public static FormToolbox GetInstance() { if (ftb == null || ftb.IsDisposed) { ftb = new FormToolbox(); ftb.MdiParent = Form1.ActiveForm; ftb.Show(); } return(ftb); }
private void ToolStripMenuItem_Click(object sender, EventArgs e) { //OpenToolbox(); FormToolbox.GetInstance().Show(); }