Example #1
0
 private void openToolbox()
 {
     if (ftb == null || ftb.IsDisposed)
     {
         ftb = new FormToolbox();
         ftb.MdiParent = this;
         ftb.Show();
     }
 }
 private void openToolbox()
 {
     if (ftb == null || ftb.IsDisposed)
     {
         ftb           = new FormToolbox();
         ftb.MdiParent = this;
         ftb.Show();
     }
 }
 private void ToolStripMenuItemToolbox_Click(object sender, EventArgs e)
 {
     if (ftb == null || ftb.IsDisposed)
     {
         ftb           = new FormToolbox();
         ftb.MdiParent = this;
         ftb.Show();
     }
 }
Example #4
0
 private void ToolStripMenuItemToolbox_Click(object sender, EventArgs e)
 {
     if (ftb==null||ftb.IsDisposed)
     {
         ftb = new FormToolbox();
         ftb.MdiParent = this;
         ftb.Show();
     }
 }
Example #5
0
 public static FormToolbox GetInstance()
 {
     if (ftb == null || ftb.IsDisposed)
     {
         ftb = new FormToolbox();
         ftb.MdiParent=Form1.ActiveForm;
     }
     return ftb;
 }
Example #6
0
 public static FormToolbox GetInstance()
 {
     if (ftb == null || ftb.IsDisposed)
     {
         ftb           = new FormToolbox();
         ftb.MdiParent = Form1.ActiveForm;
     }
     return(ftb);
 }
Example #7
0
 private void toolStripButton1_Click(object sender, EventArgs e)
 {
     FormToolbox.GetInstance().Show();
 }
Example #8
0
 private void ToolStripMenuItemToolbox_Click(object sender, EventArgs e)
 {
     FormToolbox.GetInstance().Show();
 }