Click here to Skip to main content
15,921,577 members
Home / Discussions / C#
   

C#

 
GeneralRe: stack issue Pin
Goncalo Oliveira11-Jan-08 4:21
Goncalo Oliveira11-Jan-08 4:21 
GeneralRe: stack issue Pin
Dave Kreskowiak11-Jan-08 4:38
mveDave Kreskowiak11-Jan-08 4:38 
GeneralRe: stack issue Pin
Goncalo Oliveira11-Jan-08 4:46
Goncalo Oliveira11-Jan-08 4:46 
GeneralRe: stack issue Pin
Dave Kreskowiak11-Jan-08 6:28
mveDave Kreskowiak11-Jan-08 6:28 
GeneralRe: stack issue Pin
Goncalo Oliveira11-Jan-08 6:39
Goncalo Oliveira11-Jan-08 6:39 
GeneralRe: stack issue Pin
Dave Kreskowiak11-Jan-08 12:22
mveDave Kreskowiak11-Jan-08 12:22 
GeneralRe: stack issue Pin
Goncalo Oliveira11-Jan-08 12:29
Goncalo Oliveira11-Jan-08 12:29 
GeneralRe: stack issue Pin
Dave Kreskowiak12-Jan-08 6:53
mveDave Kreskowiak12-Jan-08 6:53 
Kensho wrote:
Come one... you can do better than that, can't you? If I said that it wasn't relevant, it's because it wasn't


That's what YOU think. It WAS relevant. The key piece of information was, and still is, missing. I already explained to why that's the case, but you keep insisting that it's not. It's not me that has the problem, it's you. The first rule of asking a question is to listen.


Kensho wrote:
Now... you can remove the if... are you gonna answer my question or are you just gonna pretend you're so very awesome?


I already answered this in my previous post. Sure, you can remove the if. Your code would still be this:
string text;
text = "closed";
FormClosed += delegate( object sender, FormClosedEventArgs e )
        { MessageBox.Show( text ); };

text = "closing";
FormClosing += delegate( object sender, FormClosingEventArgs e )
        { MessageBox.Show( text ); };

Perhaps you're misunderstanding what the two delegate statements are doing??



A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007




GeneralRe: stack issue Pin
Dave Kreskowiak12-Jan-08 6:53
mveDave Kreskowiak12-Jan-08 6:53 
GeneralRe: stack issue Pin
Goncalo Oliveira12-Jan-08 6:58
Goncalo Oliveira12-Jan-08 6:58 
GeneralRe: stack issue Pin
Dave Kreskowiak14-Jan-08 6:06
mveDave Kreskowiak14-Jan-08 6:06 
GeneralRe: stack issue Pin
Goncalo Oliveira14-Jan-08 6:27
Goncalo Oliveira14-Jan-08 6:27 
GeneralRe: stack issue Pin
Dave Kreskowiak14-Jan-08 12:01
mveDave Kreskowiak14-Jan-08 12:01 
GeneralRe: stack issue Pin
Goncalo Oliveira14-Jan-08 12:58
Goncalo Oliveira14-Jan-08 12:58 
GeneralRe: stack issue Pin
Skippums11-Jan-08 4:49
Skippums11-Jan-08 4:49 
GeneralRe: stack issue Pin
Goncalo Oliveira11-Jan-08 4:54
Goncalo Oliveira11-Jan-08 4:54 
GeneralRe: stack issue Pin
Skippums11-Jan-08 5:03
Skippums11-Jan-08 5:03 
GeneralRe: stack issue Pin
Goncalo Oliveira11-Jan-08 5:19
Goncalo Oliveira11-Jan-08 5:19 
GeneralRe: stack issue Pin
S. Senthil Kumar12-Jan-08 23:20
S. Senthil Kumar12-Jan-08 23:20 
GeneralRe: stack issue Pin
Goncalo Oliveira13-Jan-08 5:33
Goncalo Oliveira13-Jan-08 5:33 
QuestionHow i highLight Text Box Pin
wasimsharp11-Jan-08 0:01
wasimsharp11-Jan-08 0:01 
AnswerRe: How i highLight Text Box Pin
Stu Richardson11-Jan-08 0:43
Stu Richardson11-Jan-08 0:43 
AnswerRe: How i highLight Text Box Pin
Abhijit Jana11-Jan-08 4:08
professionalAbhijit Jana11-Jan-08 4:08 
GeneralWrite line of text to a list view Pin
CodingLover10-Jan-08 23:52
CodingLover10-Jan-08 23:52 
GeneralRe: Write line of text to a list view Pin
Thomas Stockwell11-Jan-08 1:30
professionalThomas Stockwell11-Jan-08 1:30 

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.