Click here to Skip to main content
15,917,329 members
Home / Discussions / C#
   

C#

 
GeneralRe: why update data is wrong.. Pin
angels7776-Dec-07 18:55
angels7776-Dec-07 18:55 
GeneralRe: why update data is wrong.. Pin
Jacky Yiu6-Dec-07 22:07
Jacky Yiu6-Dec-07 22:07 
General[Message Deleted] Pin
rameshdontagani6-Dec-07 16:27
rameshdontagani6-Dec-07 16:27 
GeneralRe: simple selec tquery Pin
Michael Sync6-Dec-07 16:38
Michael Sync6-Dec-07 16:38 
GeneralC# Image Processing library Pin
peterchen6-Dec-07 15:38
peterchen6-Dec-07 15:38 
GeneralRe: C# Image Processing library Pin
Michael Sync6-Dec-07 16:33
Michael Sync6-Dec-07 16:33 
GeneralClose 'X' Pin
RussBus6-Dec-07 12:22
RussBus6-Dec-07 12:22 
GeneralRe: Close 'X' Pin
Justin Perez6-Dec-07 12:34
Justin Perez6-Dec-07 12:34 
Did you look in the MSDN documentation for what FormClosingEventArgs e is? I'm not trying to be a dick but are you that helpess that you can't do a little research on your own before you start asking questions here? If you did, you would have seen after one second of searching that all you need to do to cancel is e.Cancel = true;

Just doing F1(in case you didn't know this is the built in MSDN library) in the ide on FormClosingEventArgs would bring you to this[^] page. It has the cancel property right there. In the time that it took you to post that question, you could have already found it with a little bit of willingness to try to find the answer yourself. Here is the code, since you are probably too lazy to figure it out yourself.

void Find_FormClosing(object sender, FormClosingEventArgs e)
{
   e.Cancel = true;
   this.Visible = false;
}


"If an Indian asked a programming question in the forest, would it still be urgent?" - John Simmons / outlaw programmer

I get all the news I need from the weather report - Paul Simon (from "The Only Living Boy in New York")

GeneralRe: Close 'X' [modified] Pin
RussBus7-Dec-07 4:59
RussBus7-Dec-07 4:59 
GeneralUsing NPlot .NET component in Access VBA Pin
Thanks for all the fish6-Dec-07 11:59
Thanks for all the fish6-Dec-07 11:59 
GeneralRe: Using NPlot .NET component in Access VBA Pin
NassosReyzidis6-Dec-07 23:06
NassosReyzidis6-Dec-07 23:06 
QuestionUniqueness, authentication, licensing oh my Pin
askey6-Dec-07 10:46
askey6-Dec-07 10:46 
GeneralRe: Uniqueness, authentication, licensing oh my Pin
martin_hughes6-Dec-07 11:00
martin_hughes6-Dec-07 11:00 
GeneralRe: Uniqueness, authentication, licensing oh my Pin
DaveyM696-Dec-07 13:43
professionalDaveyM696-Dec-07 13:43 
GeneralRe: Uniqueness, authentication, licensing oh my Pin
askey6-Dec-07 17:05
askey6-Dec-07 17:05 
GeneralFile (XmlDocument) Encryption / Decryption improvements Pin
DaveyM696-Dec-07 8:21
professionalDaveyM696-Dec-07 8:21 
GeneralRe: File (XmlDocument) Encryption / Decryption improvements Pin
led mike6-Dec-07 8:57
led mike6-Dec-07 8:57 
GeneralRe: File (XmlDocument) Encryption / Decryption improvements Pin
DaveyM696-Dec-07 9:03
professionalDaveyM696-Dec-07 9:03 
GeneralRe: File (XmlDocument) Encryption / Decryption improvements Pin
Ennis Ray Lynch, Jr.6-Dec-07 9:12
Ennis Ray Lynch, Jr.6-Dec-07 9:12 
GeneralRe: File (XmlDocument) Encryption / Decryption improvements Pin
DaveyM696-Dec-07 9:23
professionalDaveyM696-Dec-07 9:23 
GeneralRe: File (XmlDocument) Encryption / Decryption improvements Pin
led mike6-Dec-07 9:49
led mike6-Dec-07 9:49 
GeneralRe: File (XmlDocument) Encryption / Decryption improvements Pin
DaveyM696-Dec-07 11:39
professionalDaveyM696-Dec-07 11:39 
GeneralRe: File (XmlDocument) Encryption / Decryption improvements Pin
Skippums7-Dec-07 5:36
Skippums7-Dec-07 5:36 
GeneralRe: File (XmlDocument) Encryption / Decryption improvements Pin
DaveyM699-Dec-07 23:43
professionalDaveyM699-Dec-07 23:43 
GeneralRe: File (XmlDocument) Encryption / Decryption improvements Pin
Skippums10-Dec-07 4:34
Skippums10-Dec-07 4:34 

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.