Beispiel #1
0
 private void ucToolbar1_NewEventHandler(object sender, EventArgs e)
 {
     frmReturn f = new frmReturn();
     f.ShowDialog();
     RefreshGrid();
 }
Beispiel #2
0
 private void ucToolbar1_EditEventHandler(object sender, EventArgs e)
 {
     if (this.grdQuery.ActiveRow != null)
     {
         frmReturn f = new frmReturn();
         f.retSysId = this.grdQuery.ActiveRow.Cells["retsysid"].Value.ToString();
         f.ShowDialog(this);
         RefreshGrid();
     }
 }