Click here to Skip to main content
15,915,160 members
Home / Discussions / C#
   

C#

 
AnswerRe: Another problem with two forms [modified] Pin
Sean8927-May-06 4:35
Sean8927-May-06 4:35 
GeneralRe: Another problem with two forms [modified] Pin
mariuszfryta27-May-06 4:52
mariuszfryta27-May-06 4:52 
GeneralRe: Another problem with two forms [modified] Pin
Sean8927-May-06 6:33
Sean8927-May-06 6:33 
GeneralRe: Another problem with two forms [modified] Pin
mariuszfryta27-May-06 7:08
mariuszfryta27-May-06 7:08 
QuestionHow can I close one form Pin
mariuszfryta27-May-06 3:41
mariuszfryta27-May-06 3:41 
AnswerRe: How can I close one form Pin
Sean8927-May-06 3:48
Sean8927-May-06 3:48 
GeneralRe: How can I close one form Pin
mariuszfryta27-May-06 3:49
mariuszfryta27-May-06 3:49 
AnswerRe: How can I close one form Pin
Stefan Troschuetz27-May-06 3:48
Stefan Troschuetz27-May-06 3:48 
Instead of Application.Exit call the Close method of your Form inside the click event handler of your button.
Another way would be setting the DialogResult property of your button to something else than None. This way you don't even need the click event handler.


"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

www.troschuetz.de
QuestionHow do I use line endings in a class? Pin
WCup27-May-06 3:23
WCup27-May-06 3:23 
GeneralRe: How do I use line endings in a class? Pin
Guffa27-May-06 3:57
Guffa27-May-06 3:57 
GeneralRe: How do I use line endings in a class? Pin
WCup27-May-06 4:20
WCup27-May-06 4:20 
AnswerRe: How do I use line endings in a class? Pin
Guffa27-May-06 5:17
Guffa27-May-06 5:17 
QuestionComboBox in C# Pin
AbdulRahmanOfpk27-May-06 3:00
AbdulRahmanOfpk27-May-06 3:00 
AnswerRe: ComboBox in C# Pin
MoustafaS27-May-06 3:29
MoustafaS27-May-06 3:29 
QuestionHow can I do a simple alarm clock in c# Pin
mariuszfryta27-May-06 1:27
mariuszfryta27-May-06 1:27 
AnswerRe: How can I do a simple alarm clock in c# [modified] Pin
User 665827-May-06 1:49
User 665827-May-06 1:49 
GeneralRe: How can I do a simple alarm clock in c# [modified] Pin
mariuszfryta27-May-06 1:52
mariuszfryta27-May-06 1:52 
GeneralRe: How can I do a simple alarm clock in c# [modified] Pin
User 665827-May-06 2:01
User 665827-May-06 2:01 
GeneralRe: How can I do a simple alarm clock in c# [modified] Pin
mariuszfryta27-May-06 3:02
mariuszfryta27-May-06 3:02 
QuestionRead and Execute bunch of .Sql file using C# Pin
Shiv527-May-06 1:05
Shiv527-May-06 1:05 
AnswerRe: Read and Execute bunch of .Sql file using C# Pin
User 665827-May-06 1:52
User 665827-May-06 1:52 
AnswerRe: Read and Execute bunch of .Sql file using C# Pin
Colin Angus Mackay27-May-06 2:13
Colin Angus Mackay27-May-06 2:13 
GeneralRe: Read and Execute bunch of .Sql file using C# Pin
Paul Conrad27-May-06 8:59
professionalPaul Conrad27-May-06 8:59 
QuestionC# - How to separate configuration files and core? Pin
haiaw27-May-06 0:29
haiaw27-May-06 0:29 
AnswerRe: C# - How to separate configuration files and core? Pin
Colin Angus Mackay27-May-06 2:16
Colin Angus Mackay27-May-06 2:16 

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.