Exemplo n.º 1
0
        private void ToolStripMenuItemTraPhong_Click(object sender, EventArgs e)
        {
            frmChiTietHoaDon hd = new frmChiTietHoaDon();

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