Exemplo n.º 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();
     }
 }
Exemplo n.º 4
0
 private void ToolStripMenuItemToolbox_Click(object sender, EventArgs e)
 {
     if (ftb==null||ftb.IsDisposed)
     {
         ftb = new FormToolbox();
         ftb.MdiParent = this;
         ftb.Show();
     }
 }
Exemplo n.º 5
0
 public static FormToolbox GetInstance()
 {
     if (ftb == null || ftb.IsDisposed)
     {
         ftb = new FormToolbox();
         ftb.MdiParent=Form1.ActiveForm;
     }
     return ftb;
 }
Exemplo n.º 6
0
 public static FormToolbox GetInstance()
 {
     if (ftb == null || ftb.IsDisposed)
     {
         ftb           = new FormToolbox();
         ftb.MdiParent = Form1.ActiveForm;
     }
     return(ftb);
 }
Exemplo n.º 7
0
 private void toolStripButton1_Click(object sender, EventArgs e)
 {
     FormToolbox.GetInstance().Show();
 }
Exemplo n.º 8
0
 private void ToolStripMenuItemToolbox_Click(object sender, EventArgs e)
 {
     FormToolbox.GetInstance().Show();
 }