private void btnAddCustomer_Click(object sender, EventArgs e) { var customer = new FormCustomer(); customer.Show(); LoadGirdLookUpCustomers(); }
private void gridLookUpEditCustomer_ButtonPressed(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e) { if (e.Button.Index >= 1) { var customer = new FormCustomer(); customer.Show(); LoadGirdLookUpCustomers(); } }