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