private void btnKho_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { Form form = IsActive12(typeof(QuanLy_DienThoai.Views.frmHangHoa)); if (form == null) { frmHangHoa Child = new frmHangHoa(); Child.MdiParent = this; Child.Show(); } else { form.Activate(); } }
public frmImportHangHoa(frmHangHoa _frm) { InitializeComponent(); gridView1.Invalidate(); gridView1.IndicatorWidth = 40; InitLookUp_KhoHang(); InitLookUp_PhanLoai(); dtable.Columns.Add("Product_ID", typeof(string)); dtable.Columns.Add("Product_Name", typeof(string)); dtable.Columns.Add("Barcode", typeof(string)); dtable.Columns.Add("Unit", typeof(string)); dtable.Columns.Add("Product_Group_ID", typeof(string)); dtable.Columns.Add("TEN_NGANH", typeof(string)); dtable.Columns.Add("Org_Price", typeof(string)); dtable.Columns.Add("Sale_Price", typeof(string)); dtable.Columns.Add("Retail_Price", typeof(string)); frmhanghoa = _frm; }
private void MnStripSp_Click(object sender, EventArgs e) { frmHangHoa frmSP = new frmHangHoa(); frmSP.Show(); }
private void btnHangHoa_Click(object sender, EventArgs e) { frmHangHoa hh = new frmHangHoa(); hh.Show(); }
private void hàngHoáToolStripMenuItem_Click(object sender, EventArgs e) { frmHangHoa hh = new frmHangHoa(); hh.ShowDialog(); }
private void frmHangHoa_Click(object sender, EventArgs e) { frmHangHoa f = new frmHangHoa(); f.Show(); }
private void hàngHóaToolStripMenuItem1_Click(object sender, EventArgs e) { frmHangHoa HH = new frmHangHoa(); HH.ShowDialog(); }