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