K
KelsMckin
Hello, I was wondering if there was a way to check there was already a
form open before opening a new one, sorry that doesnt seem clear, here
is an example:
The following button opens a new form
private void btnAbout_Click(object sender, EventArgs e)
{
avernusAbout About = new avernusAbout();
About.StartPosition = FormStartPosition.Manual;
About.Location = new Point(this.Location.X,
this.Location.Y);
About.Show();
this.Hide();
}
is there a way to check if the form is already open before It opens the
new form?
Any help would be greatly appreciated
form open before opening a new one, sorry that doesnt seem clear, here
is an example:
The following button opens a new form
private void btnAbout_Click(object sender, EventArgs e)
{
avernusAbout About = new avernusAbout();
About.StartPosition = FormStartPosition.Manual;
About.Location = new Point(this.Location.X,
this.Location.Y);
About.Show();
this.Hide();
}
is there a way to check if the form is already open before It opens the
new form?
Any help would be greatly appreciated