private void btnPeoples_Click(object sender, EventArgs e) { try { var frm = new frmShowPeoples(false); frm.ShowDialog(this); } catch (Exception ex) { WebErrorLog.ErrorInstence.StartErrorLog(ex); } }
private void btnSearchOwner_Click(object sender, EventArgs e) { try { var frm = new frmShowPeoples(true); if (frm.ShowDialog(this) != DialogResult.OK) { return; } asker = PeoplesBussines.Get(frm.SelectedGuid); LoadAsker(); } catch (Exception ex) { WebErrorLog.ErrorInstence.StartErrorLog(ex); } }