public void Inks_Click(object sender, EventArgs e) { if (IsformOpen(iink_form) == false) { iink_form = new Inks(this); iink_form.MdiParent = this; iink_form.Show(); iink_form.BringToFront(); } else { iink_form.BringToFront(); } }