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