I did when the user click the Options on the menustrip it will load new form window but its opening

Trips

Well-known member
Joined
Aug 7, 2010
Messages
2,788
private void optionsToolStripMenuItem_Click(object sender, EventArgs e)<br/>
{<br/>
Options myOptions = new Options();<br/>
myOptions.Show();<br/>
}
How do i make so that first time the user click Options it will Show() the new form but second time he click on Options if the new form is allready opened dont create new istance and open new window of the options just leave the current window of the options
open.
Cuz now each time the user click Options its opening a new window.

Thanks. <hr class="sig danieli

View the full article
 
Back
Top