Click here to Skip to main content
15,896,557 members
Home / Discussions / C#
   

C#

 
QuestionMath/Algebra library: parsing and proccessing functions Pin
Maverickx895-Jun-07 5:51
Maverickx895-Jun-07 5:51 
AnswerRe: Math/Algebra library: parsing and proccessing functions Pin
originSH5-Jun-07 6:08
originSH5-Jun-07 6:08 
GeneralRe: Math/Algebra library: parsing and proccessing functions Pin
Maverickx895-Jun-07 6:36
Maverickx895-Jun-07 6:36 
QuestionSetting a variable value from an array. Pin
jblouir5-Jun-07 5:42
jblouir5-Jun-07 5:42 
AnswerRe: Setting a variable value from an array. Pin
Giorgi Dalakishvili5-Jun-07 5:56
mentorGiorgi Dalakishvili5-Jun-07 5:56 
GeneralRe: Setting a variable value from an array. Pin
jblouir5-Jun-07 6:21
jblouir5-Jun-07 6:21 
AnswerRe: Setting a variable value from an array. Pin
Hesham Yassin6-Jun-07 8:06
Hesham Yassin6-Jun-07 8:06 
QuestionApplication is closing when i hide it...! Pin
Affan Toor5-Jun-07 5:37
Affan Toor5-Jun-07 5:37 
Hi!
i am facing a problem in hiding the main form. I am using notifyicon control to show the application in system tray. When user minimizes the application it hides the main form and displays the notifyicon in system tray, and on clicking the notifyicon, maximize & unhide the main form...

all this was working fine until i added a splash form at start. On load event of splash form i am performing some functions and then hide the splash form and show the main form using frmMain.ShowDialog() and after it close the application.

now when i minimize the main form it hides the form as expected but soon after hiding the form it closes the application.

after debugging it showed that when i hide the main form, it closes the form and returns to the place from where it was called (load event of splash form) and then close the splash form.

Please tell me how to handle this situation?

Thanks in advance...

Regards,
Affan Ahmad Toor



..................
QUAIDIAN FOR ONCE, QUAIDIAN FOR EVER!

AnswerRe: Application is closing when i hide it...! Pin
blakey4045-Jun-07 5:50
blakey4045-Jun-07 5:50 
AnswerRe: Application is closing when i hide it...! Pin
Luc Pattyn5-Jun-07 6:06
sitebuilderLuc Pattyn5-Jun-07 6:06 
GeneralRe: Application is closing when i hide it...! Pin
Affan Toor5-Jun-07 6:23
Affan Toor5-Jun-07 6:23 
GeneralRe: Application is closing when i hide it...! Pin
Ian Shlasko5-Jun-07 7:06
Ian Shlasko5-Jun-07 7:06 
GeneralRe: Application is closing when i hide it...! Pin
Luc Pattyn5-Jun-07 7:44
sitebuilderLuc Pattyn5-Jun-07 7:44 
GeneralRe: Application is closing when i hide it...! Pin
Affan Toor6-Jun-07 2:03
Affan Toor6-Jun-07 2:03 
QuestionReagrding Xml serialization Pin
ksrs5-Jun-07 5:10
ksrs5-Jun-07 5:10 
AnswerRe: Reagrding Xml serialization Pin
Giorgi Dalakishvili5-Jun-07 5:40
mentorGiorgi Dalakishvili5-Jun-07 5:40 
QuestionRe: Reagrding Xml serialization Pin
ksrs5-Jun-07 6:45
ksrs5-Jun-07 6:45 
Questionvc++ to c# .NET Pin
Kabirdas Jaunjare5-Jun-07 5:05
Kabirdas Jaunjare5-Jun-07 5:05 
AnswerRe: vc++ to c# .NET Pin
originSH5-Jun-07 5:35
originSH5-Jun-07 5:35 
QuestionNewbie trying very hard not to pull my hair out!!! Pin
allan.gagnon5-Jun-07 4:59
allan.gagnon5-Jun-07 4:59 
AnswerRe: Newbie trying very hard not to pull my hair out!!! Pin
kubben5-Jun-07 5:36
kubben5-Jun-07 5:36 
Questionhow to sort an unbound column in datagridview Pin
ChupaChupa5-Jun-07 4:57
ChupaChupa5-Jun-07 4:57 
QuestionCheck type of object Pin
SVb.net5-Jun-07 4:18
SVb.net5-Jun-07 4:18 
AnswerRe: Check type of object Pin
Not Active5-Jun-07 4:25
mentorNot Active5-Jun-07 4:25 
AnswerRe: Check type of object Pin
Seishin#5-Jun-07 4:31
Seishin#5-Jun-07 4:31 

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.