private void nbiKhachHang_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e) { frmAddCustomer fAddCustomer = new frmAddCustomer(); AddNhatKy("Thêm", "Khách Hàng"); fAddCustomer.ShowDialog(); }
private void barAdd_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { var addCus = new frmAddCustomer(); addCus.ShowDialog(); treeListKH.ClearNodes(); LoadKhachHang(); }
private void rdmThem_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { var addCus = new frmAddCustomer(); addCus.ShowDialog(); AddNhatKy("Thêm"); LoadKhachHang(); }
private void btnAddKhachHang_Click(object sender, EventArgs e) { var addCus = new frmAddCustomer(); AddNhatKy("Thêm", "Khách hàng"); addCus.ShowDialog(); loadKhachHang(); }
private void btnCheck_Click(object sender, EventArgs e) { frmAddCustomer addCustomer = new frmAddCustomer(); this.Hide(); addCustomer.ShowDialog(); this.Show(); }
private void addToolStripMenuItem_Click(object sender, EventArgs e) { frmAddCustomer adding = new frmAddCustomer(); if (adding.ShowDialog() == DialogResult.OK) { adding.Close(); } }
private void btnAddCustomer_Click(object sender, EventArgs e) { var frmAdd = new frmAddCustomer(); var result = frmAdd.ShowDialog(); if (result == DialogResult.Cancel) { LoadData(); } }