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

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