public override void bAdd_Click(object sender, EventArgs e) { base.bAdd_Click(sender, e); ShipmentEditor iEdt = new ShipmentEditor(); if (iEdt.ShowDialog() == DialogResult.OK) { RefreshGrid(); } ; }
public override void tUpdate_Click(object sender, EventArgs e) { base.tUpdate_Click(sender, e); ShipmentEditor iEdt = new ShipmentEditor(); iEdt.ShipmentId = GetSelectedItemId(AccessGrid()); if (iEdt.ShowDialog() == DialogResult.OK) { RefreshGrid(); } ; }