Example #1
0
 private void simpleButton1_Click(object sender, EventArgs e)
 {
     if (maHD != -1)
     {
         frmThemMonAn _frmThemMonAn = new frmThemMonAn();
         _frmThemMonAn.Mode = Mode;
         _frmThemMonAn.reloadGridViewCTHD = new frmThemMonAn.common_void_delegate(load_GridviewCTHD);
         _frmThemMonAn.maHD = maHD;
         _frmThemMonAn.Show();
     }
     else
     {
         MessageBox.Show("Vui long chon ban an de them mon an.");
     }
 }
 private void simpleButton1_Click(object sender, EventArgs e)
 {
     if (maHD != -1)
     {
         frmThemMonAn _frmThemMonAn = new frmThemMonAn();
         _frmThemMonAn.Mode = Mode;
         _frmThemMonAn.reloadGridViewCTHD = new frmThemMonAn.common_void_delegate(load_GridviewCTHD);
         _frmThemMonAn.maHD = maHD;
         _frmThemMonAn.Show();
     }
     else
         MessageBox.Show("Vui long chon ban an de them mon an.");
 }