Click here to Skip to main content
15,885,216 members
Home / Discussions / C#
   

C#

 
AnswerRe: setting the source of a bitmap image in C# Pin
Eddy Vluggen1-Aug-12 22:10
professionalEddy Vluggen1-Aug-12 22:10 
GeneralRe: setting the source of a bitmap image in C# Pin
Xarzu6-Aug-12 6:40
Xarzu6-Aug-12 6:40 
Generalhi Chris Maunder Pin
mohammad-mirshahi1-Aug-12 9:43
mohammad-mirshahi1-Aug-12 9:43 
GeneralRe: hi Chris Maunder Pin
Pete O'Hanlon1-Aug-12 9:46
mvePete O'Hanlon1-Aug-12 9:46 
QuestionSetDate of system from inside of our program Pin
Fred 341-Aug-12 4:15
Fred 341-Aug-12 4:15 
AnswerRe: SetDate of system from inside of our program Pin
Pete O'Hanlon1-Aug-12 4:22
mvePete O'Hanlon1-Aug-12 4:22 
AnswerRe: SetDate of system from inside of our program Pin
Dave Kreskowiak1-Aug-12 4:47
mveDave Kreskowiak1-Aug-12 4:47 
QuestionHow to refuse changes of controls in a form ? Pin
taibc1-Aug-12 0:36
taibc1-Aug-12 0:36 
Hi friends,

Are there any methods to refuse changes of controls in a form ?

For example: I have a form that include one text box: txtNumber, and one Exit button.

At the first time, txtNumber.Text = "30" (When showing form)

Then, I changed the its value into "45". After that, I don't want to accept changes, I clicked the Exit button. Then txtNumber.Text is still "45". I want this value is "30".

Are there any method to refuse changes of TextBox in this case ?

Thanks and regards,
AnswerRe: How to refuse changes of controls in a form ? Pin
Pete O'Hanlon1-Aug-12 0:39
mvePete O'Hanlon1-Aug-12 0:39 
GeneralRe: How to refuse changes of controls in a form ? Pin
taibc1-Aug-12 0:42
taibc1-Aug-12 0:42 
AnswerRe: How to refuse changes of controls in a form ? Pin
Ed Hill _5_1-Aug-12 0:47
Ed Hill _5_1-Aug-12 0:47 
GeneralRe: How to refuse changes of controls in a form ? Pin
taibc1-Aug-12 0:50
taibc1-Aug-12 0:50 
GeneralRe: How to refuse changes of controls in a form ? Pin
Pete O'Hanlon1-Aug-12 0:54
mvePete O'Hanlon1-Aug-12 0:54 
AnswerRe: How to refuse changes of controls in a form ? Pin
Fred 341-Aug-12 4:28
Fred 341-Aug-12 4:28 
QuestionHow can convert a lit<> to a DataTable? Pin
devenv.exe31-Jul-12 22:49
professionaldevenv.exe31-Jul-12 22:49 
AnswerRe: How can convert a lit to a DataTable? Pin
Wayne Gaylard31-Jul-12 23:11
professionalWayne Gaylard31-Jul-12 23:11 
AnswerRe: How can convert a lit to a DataTable? Pin
Richard MacCutchan31-Jul-12 23:59
mveRichard MacCutchan31-Jul-12 23:59 
AnswerRe: How can convert a lit to a DataTable? Pin
devenv.exe1-Aug-12 2:56
professionaldevenv.exe1-Aug-12 2:56 
AnswerRe: How can convert a lit to a DataTable? Pin
Ramesh Muthiah3-Aug-12 1:21
Ramesh Muthiah3-Aug-12 1:21 
Questioncode doesn`t work in win xp but works win 7 Pin
Member 932688731-Jul-12 20:53
Member 932688731-Jul-12 20:53 
AnswerRe: code doesn`t work in win xp but works win 7 Pin
OriginalGriff31-Jul-12 22:25
mveOriginalGriff31-Jul-12 22:25 
GeneralRe: code doesn`t work in win xp but works win 7 Pin
Member 932688731-Jul-12 23:29
Member 932688731-Jul-12 23:29 
GeneralRe: code doesn`t work in win xp but works win 7 Pin
Pete O'Hanlon31-Jul-12 23:47
mvePete O'Hanlon31-Jul-12 23:47 
GeneralRe: code doesn`t work in win xp but works win 7 Pin
Member 93268871-Aug-12 0:08
Member 93268871-Aug-12 0:08 
GeneralRe: code doesn`t work in win xp but works win 7 Pin
Pete O'Hanlon1-Aug-12 0:33
mvePete O'Hanlon1-Aug-12 0:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.