Click here to Skip to main content
15,899,679 members
Home / Discussions / C#
   

C#

 
AnswerRe: Switching Panels on a Form with Control.Remove Control.Add Pin
Darren_1-Jun-06 22:18
Darren_1-Jun-06 22:18 
GeneralRe: Switching Panels on a Form with Control.Remove Control.Add Pin
stancrm1-Jun-06 23:26
stancrm1-Jun-06 23:26 
GeneralRe: Switching Panels on a Form with Control.Remove Control.Add Pin
Darren_1-Jun-06 23:31
Darren_1-Jun-06 23:31 
AnswerRe: Switching Panels on a Form with Control.Remove Control.Add Pin
Darren_2-Jun-06 0:23
Darren_2-Jun-06 0:23 
QuestionWhich method is used to get IP's of nodes on LAN? Pin
amber hussain1-Jun-06 21:25
amber hussain1-Jun-06 21:25 
AnswerRe: Which method is used to get IP's of nodes on LAN? Pin
Darren_1-Jun-06 23:14
Darren_1-Jun-06 23:14 
GeneralRe: Which method is used to get IP's of nodes on LAN? Pin
Darren_1-Jun-06 23:17
Darren_1-Jun-06 23:17 
Questionclosing a windows form by itself Pin
aakar1-Jun-06 21:17
aakar1-Jun-06 21:17 
Hi
I am writing a windows application using C# for performing a task as scheduled. Now I am calling a method which does the needful inside the form1 constructor
which is inside the main method like this:

static void Main()
{
System.Windows.Forms.Application.Run(new Form1());
System.Windows.Forms.Application.Exit();
}
now what is happenning is that the control does not reach this statement
System.Windows.Forms.Application.Exit();
and I need to manually close the form which is not what I want.
I want the application (and the form) to close by itself.

How can i do this.

Thanks in advance,
Aryan.


AnswerRe: closing a windows form by itself Pin
albCode1-Jun-06 21:21
albCode1-Jun-06 21:21 
AnswerRe: closing a windows form by itself Pin
Darren_1-Jun-06 22:08
Darren_1-Jun-06 22:08 
QuestionHow to call a function from windows service Pin
krishna191-Jun-06 20:59
krishna191-Jun-06 20:59 
AnswerRe: How to call a function from windows service Pin
stancrm1-Jun-06 21:33
stancrm1-Jun-06 21:33 
Questioncreate report receive data from xml file by crystal report Pin
ltxuan1-Jun-06 20:51
ltxuan1-Jun-06 20:51 
QuestionListView : grid without horizontal lines Pin
olivierbalagizi1-Jun-06 20:41
olivierbalagizi1-Jun-06 20:41 
AnswerRe: ListView : grid without horizontal lines Pin
Mairaaj Khan1-Jun-06 23:09
professionalMairaaj Khan1-Jun-06 23:09 
GeneralRe: ListView : grid without horizontal lines Pin
Darren_1-Jun-06 23:44
Darren_1-Jun-06 23:44 
QuestionTesting of app by remote control Pin
Tomerland1-Jun-06 20:18
Tomerland1-Jun-06 20:18 
QuestionDelete Image File From folder after save in DataBase Pin
senthiluduuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu1-Jun-06 20:17
senthiluduuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu1-Jun-06 20:17 
AnswerRe: Delete Image File From folder after save in DataBase Pin
krishna191-Jun-06 20:43
krishna191-Jun-06 20:43 
AnswerRe: Delete Image File From folder after save in DataBase Pin
S. Senthil Kumar1-Jun-06 20:52
S. Senthil Kumar1-Jun-06 20:52 
AnswerRe: Delete Image File From folder after save in DataBase Pin
ranandbe2-Jun-06 0:35
ranandbe2-Jun-06 0:35 
QuestionConnection problem Pin
Jijo BP1-Jun-06 19:55
Jijo BP1-Jun-06 19:55 
AnswerRe: Connection problem Pin
leppie1-Jun-06 20:52
leppie1-Jun-06 20:52 
Questionstore word document into sql server Pin
ayyp1-Jun-06 19:55
ayyp1-Jun-06 19:55 
QuestionGet the properties of the application [modified] Pin
Maddie from Dartford1-Jun-06 19:14
Maddie from Dartford1-Jun-06 19:14 

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.