예제 #1
0
 public ShipmentAdd(ShipmentParam shipmentAddResult)
 {
     InitializeComponent();
     _context = DataService.context;
     //_shipment = shipment;
     _shipmentAddResult = shipmentAddResult;
 }
예제 #2
0
        private void tbtnMoveItemEdit_Click(object sender, EventArgs e)
        {
            ShipmentParam shipmentAddResult = new ShipmentParam();

            shipmentAddResult.IsShipment = false;
            shipmentAddResult.Result     = _movement;
            ShipmentAdd frmShipmentAdd = new ShipmentAdd(shipmentAddResult);

            if (frmShipmentAdd.ShowDialog() == DialogResult.OK)
            {
                _context.SaveChanges();
                PopulateMovementItem();
            }
        }