public static ToolFrom GetInstance() { if (tolFrom == null || tolFrom.IsDisposed) { tolFrom = new ToolFrom(); tolFrom.MdiParent = Form.ActiveForm; } return(tolFrom); }
private void toolStripButton1_Click(object sender, EventArgs e) { ToolFrom.GetInstance().Show(); }
private void ddToolStripMenuItem_Click(object sender, EventArgs e) { ToolFrom.GetInstance().Show(); }