private void ucToolbar1_NewEventHandler(object sender, EventArgs e) { frmExchange f = new frmExchange(); f.ShowDialog(); RefreshGrid(); }
private void ucToolbar1_EditEventHandler(object sender, EventArgs e) { if (this.grdQuery.ActiveRow != null) { frmExchange f = new frmExchange(); f.ExSysId = this.grdQuery.ActiveRow.Cells["exsysid"].Value.ToString(); f.ShowDialog(this); RefreshGrid(); } }