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