Hello All,
I open several Forms in one main Form...
But my problem is that an allready opened Form is opening the second... third... fourth... time if I click on that button.
How it is possible to void a new opening of a allready opened Form?
and If possible how can I sent a warning, that the Form is allready open...?
thank you in advance
my procedure to open a form
SimFrm gsm = new SimFrm(this);
gsm.TopLevel = False;
this.Controls.Add(gsm);
gsm.Show();
Loading


VulpesRank #55 · 29.2K reputationPosted Aug 21, 2012, 2:43 AM EDT
raj kiran16 reputationPosted Aug 21, 2012, 2:00 PM EDT
Even i have the same problem but i am not having any idea about except to open a form this way and i am doing by
private void btnRoundUp_Click(object sender, EventArgs e)
{
frmRoundUp frm = new frmRoundUp();
frm.Show();
}
What should i do here to stop the other form opening for number of this if opened one this display it again on top of all forms
Thanks you for looking to my quire
VulpesRank #55 · 29.2K reputationPosted Aug 22, 2012, 12:40 AM EDT