Click here to Skip to main content
15,891,375 members
Articles / Programming Languages / C# 4.0

Regarding Windows Form opening and closing

Rate me:
Please Sign up or sign in to vote.
1.00/5 (1 vote)
3 Oct 2012CPOL 0  
Take three formsFormmain, Formfirst,Formsecondpublic partial class FormMain : Form { public FormMain() { InitializeComponent(); FormFirst frs = new FormFirst(); frs.Show(); } private void...

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

Please Sign up or sign in to vote.
3 Oct 2012GB_1114 1 alternative  
Hi,I am calling a form1 show function at a menu item click. When the form1 opens, on OK button click, I am opening another form2 using an instance and closing the form1.But the problem is that when form2 opens and form1 closes, the form2 gets minimized. I dont want that to happen, I even...

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
India India
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions