Exemple #1
0
 private void DataGridview_DoubleClick(object sender, EventArgs e)
 {
     if (nhanphong == null || nhanphong.IsDisposed)
     {
         nhanphong = new PhieuNhanPhong();
         nhanphong.Show();
     }
     else
     {
         nhanphong.Activate();
     }
 }
Exemple #2
0
 private void bindingNavigatorAddNewItem_Click(object sender, EventArgs e)
 {
     if (nhanphong == null || nhanphong.IsDisposed)
     {
         nhanphong = new PhieuNhanPhong();
         nhanphong.Show();
     }
     else
     {
         nhanphong.Activate();
     }
 }
Exemple #3
0
 private void btnMaPhieuNhan_Click(object sender, EventArgs e)
 {
     QUANLYKHACHSAN.UserInterface.PhieuNhanPhong pn = new PhieuNhanPhong();
     pn.ShowDialog();
     pnctrl.HienthiComboBoxMaPhieuNhan(cmbMaCTNhanPhong);
 }
Exemple #4
0
        private void btnTimMaNPhong_Click(object sender, EventArgs e)
        {
            PhieuNhanPhong dsnp = new PhieuNhanPhong();

            dsnp.ShowDialog();
        }
Exemple #5
0
        private void buttonX2_Click(object sender, EventArgs e)
        {
            PhieuNhanPhong pn = new PhieuNhanPhong();

            pn.ShowDialog();
        }