public ShippingForm(TNTConnectorShipRequest tntCon, BusinessCentralConnector ECon) { InitializeComponent(); _busy = false; //_thisShipment = thisShipment; _tntCon = tntCon; _ECon = ECon; _register_tntCon_listeners(); }
public MDIParent1(Mode mode = Mode.FullDebug) { InitializeComponent(); //initialize the 2 needed connectors TNTCon = new TNTConnectorShipRequest(Debug: mode == Mode.FullDebug || mode == Mode.TNTDebugBCSerious); ECon = BusinessCentralConnector.GetEntocareBCConnector(Debug: mode == Mode.FullDebug); ECon.Ectx.Timeout = 100; //100 seconds //show the orders form _ordersForm = new OrdersForm(this); _ordersForm.MdiParent = this; _ordersForm.Show(); }