Esempio n. 1
0
 private void ucToolbar1_NewEventHandler(object sender, EventArgs e)
 {
     frmExchange f = new frmExchange();
     f.ShowDialog();
     RefreshGrid();
 }
Esempio n. 2
0
 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();
     }
 }