Click here to Skip to main content
15,900,108 members
Home / Discussions / C#
   

C#

 
GeneralRe: load big image in program Pin
MicroVirus12-Aug-11 8:55
MicroVirus12-Aug-11 8:55 
AnswerRe: load big image in program Pin
Oludayo Alli20-Aug-11 7:06
Oludayo Alli20-Aug-11 7:06 
Question1st year IT student seeking mentor Pin
Njabulo Mpungose12-Aug-11 3:40
Njabulo Mpungose12-Aug-11 3:40 
AnswerRe: 1st year IT student seeking mentor Pin
Not Active12-Aug-11 4:21
mentorNot Active12-Aug-11 4:21 
AnswerRe: 1st year IT student seeking mentor Pin
Blue_Boy12-Aug-11 4:22
Blue_Boy12-Aug-11 4:22 
AnswerRe: 1st year IT student seeking mentor Pin
OriginalGriff12-Aug-11 8:53
mveOriginalGriff12-Aug-11 8:53 
Questionhow to connect biometric device in c# .net Pin
harshal4patil11-Aug-11 23:27
harshal4patil11-Aug-11 23:27 
AnswerRe: how to connect biometric device in c# .net Pin
Pete O'Hanlon12-Aug-11 0:08
mvePete O'Hanlon12-Aug-11 0:08 
QuestionGoal Seek Pin
vmaxp11-Aug-11 22:46
vmaxp11-Aug-11 22:46 
SuggestionPlease explain Pin
MicroVirus12-Aug-11 4:47
MicroVirus12-Aug-11 4:47 
AnswerRe: Goal Seek Pin
Ravi Bhavnani14-Aug-11 4:32
professionalRavi Bhavnani14-Aug-11 4:32 
Questionhaving problem to translate from WinForm to Windows-CE C# program - FTP transfer [modified] Pin
Gali197811-Aug-11 21:27
Gali197811-Aug-11 21:27 
AnswerRe: having problem to translate from WinForm to Windows-CE C# program - FTP transfer Pin
OriginalGriff11-Aug-11 21:34
mveOriginalGriff11-Aug-11 21:34 
QuestionEnterprise library log to Oracle Pin
V.11-Aug-11 21:17
professionalV.11-Aug-11 21:17 
QuestionSelecting parts of an uint so always the same size? Pin
stephen.darling11-Aug-11 19:11
stephen.darling11-Aug-11 19:11 
AnswerRe: Selecting parts of an uint so always the same size? Pin
Peter_in_278011-Aug-11 19:38
professionalPeter_in_278011-Aug-11 19:38 
GeneralRe: Selecting parts of an uint so always the same size? Pin
stephen.darling11-Aug-11 19:45
stephen.darling11-Aug-11 19:45 
AnswerRe: Selecting parts of an uint so always the same size? Pin
David198711-Aug-11 22:24
David198711-Aug-11 22:24 
AnswerRe: Selecting parts of an uint so always the same size? Pin
BobJanova11-Aug-11 23:19
BobJanova11-Aug-11 23:19 
AnswerRe: Selecting parts of an uint so always the same size? Pin
Lutosław11-Aug-11 23:40
Lutosław11-Aug-11 23:40 
GeneralRe: Selecting parts of an uint so always the same size? Pin
stephen.darling12-Aug-11 0:21
stephen.darling12-Aug-11 0:21 
GeneralRe: Selecting parts of an uint so always the same size? Pin
jschell12-Aug-11 8:44
jschell12-Aug-11 8:44 
GeneralRe: Selecting parts of an uint so always the same size? Pin
stephen.darling12-Aug-11 9:04
stephen.darling12-Aug-11 9:04 
QuestionOnClosing event doesn't work Pin
MAW3011-Aug-11 11:28
MAW3011-Aug-11 11:28 
AnswerRe: OnClosing event doesn't work Pin
Alan N11-Aug-11 12:50
Alan N11-Aug-11 12:50 
I find your code confusing for two reasons

1) you override OnClosing instead of the preferred OnFormClosing method. Are you targetting .Net 1.1?
2) you cast the CancelEventArgs to FormClosingEventArgs. Surely this will never work and the resultant value will always be null.

The breakpoint problem might be explained by the cautionary note regarding the Application.Exit method in http://msdn.microsoft.com/en-us/library/system.windows.forms.form.onclosing.aspx[^].

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.