Exemple #1
0
        private void ToolStripMenuItemTraPhong_Click(object sender, EventArgs e)
        {
            frmChiTietHoaDon hd = new frmChiTietHoaDon();

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