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

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

            pn.ShowDialog();
        }