void ShowFormDialog(DataTable dt) { frmLookUpSurveyor ifrm = new frmLookUpSurveyor(dt); ifrm.ShowDialog(); if (ifrm.DialogResult == DialogResult.OK) { _Surveyor = ifrm.Surveyor; RefreshData(); } }
public void SetByRowID(Guid t_rowID) { try { _Surveyor = new Class.clsSurveyor(t_rowID); RefreshData(); } catch (Exception ex) { Error.LogError(ex); } }
private void frmLookUpSurveyor_Load(object sender, EventArgs e) { Surveyor = new Class.clsSurveyor(); RefreshGrid(); }