Beispiel #1
0
 private void btn_Canho_Click(object sender, EventArgs e)
 {
     SetbtnColor(sender as Button);
     if (!CheckExistForm("Form_Canho"))
     {
         Form_Canho f = new Form_Canho();
         f.MdiParent     = this;
         f.StartPosition = FormStartPosition.Manual;
         f.Width         = 1156;
         f.Height        = 802;
         f.Show();
     }
     else
     {
         ActiveChildForm("Form_Canho");
     }
 }
Beispiel #2
0
 private void btn_Canho_Click(object sender, EventArgs e)
 {
     SetbtnColor(sender as Button);
     if (!CheckExistForm("Form_Canho"))
     {
         Canho.MdiParent     = this;
         Canho.StartPosition = FormStartPosition.Manual;
         Canho.Width         = 1156;
         Canho.Height        = 802;
         Canho.mydel        += new Form_Canho.Mydel(ChoThue.LoadCanho);
         Canho.Show();
     }
     else
     {
         ActiveChildForm("Form_Canho");
     }
 }