private void ToolStripMenuItemTraPhong_Click(object sender, EventArgs e) { frmChiTietHoaDon hd = new frmChiTietHoaDon(); hd.maphong = this.mahphong; hd.ShowDialog(); }
private void bindingNavigatorAddNewItem_Click(object sender, EventArgs e) { if (chitiet == null || chitiet.IsDisposed) { chitiet = new frmChiTietHoaDon(); chitiet.Show(); } else { chitiet.Activate(); } }
private void dataGridViewX1_DoubleClick(object sender, EventArgs e) { if (chitiet == null || chitiet.IsDisposed) { chitiet = new frmChiTietHoaDon(); chitiet.Show(); } else { chitiet.Activate(); } }