public void SetByRowID(Guid t_rowID) { try { _customer = new Class.clsCostumer(t_rowID, "ALL"); RefreshData(); } catch (Exception ex) { Error.LogError(ex); } }
void ShowFormDialog(DataTable dt) { frmLookUpCustomerALL ifrm = new frmLookUpCustomerALL(dt); ifrm.ShowDialog(); if (ifrm.DialogResult == DialogResult.OK) { _customer = ifrm.Customer; RefreshData(); if (this.SelectData != null) { this.SelectData(this, new EventArgs()); } } }
private void frmLookUpCustomerALL_Load(object sender, EventArgs e) { Customer = new Class.clsCostumer(); cboFilterNameInitial.Text = "TOP 200"; RefreshGrid(); }