eran Posted June 29, 2003 Posted June 29, 2003 OK, I managed to hide the dialog form at start up. I put the main function in other class then the form init class. the problem is that the app terminate. I want to use icon in the tray-icon. is there a way to do that without causing the app to terminate? Quote
*Experts* Volte Posted June 29, 2003 *Experts* Posted June 29, 2003 Simply use the .Hide() method of the main form, rather than .Close(). The app only terminates if the application which was used to start the program (i.e. your main form) is actually destroyed. If you hide it, it just becomes invisible. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.