private void LkueNCC_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e) { if (e.Button.Index == 1) { frmThemNhaCungCap ncc = new frmThemNhaCungCap(); ncc.ThemThanhCong += FillCbNCC; ncc.ShowDialog(); } }
private void LkueTenNCC_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e) { frmThemNhaCungCap ncc = new frmThemNhaCungCap(); ncc.ThemThanhCong += NapDuLieu; ncc.ThemThanhCong += NhatKyThemNCC; ncc.ShowDialog(); NapDuLieu(); }