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