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

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