Beispiel #1
0
        public override void bAdd_Click(object sender, EventArgs e)
        {
            base.bAdd_Click(sender, e);
            ShipmentEditor iEdt = new ShipmentEditor();

            if (iEdt.ShowDialog() == DialogResult.OK)
            {
                RefreshGrid();
            }
            ;
        }
Beispiel #2
0
        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();
            }
            ;
        }