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