public CorrespondenceForm() { InitializeComponent(); _cepFunc = new CorrespondenceEndPointFunction(); _cepFunc.ReturnMessageXml += ReturnMessageXmlHandler; ShipmentAc = new CorrespondenceShipmentBase(); ShipmentGetCorr = new GetCorrespondenceShipment(); ResultGetCorr = new CorrespondenceForEndUserSystemV2(); ShipmentSaveCorrConf = new CorrespondenceShipmentBase(); }
private void GetCorrespondence() { SetBasicShipmentSettings(ShipmentGetCorr); try { ResultGetCorr = _cepFunc.GetCorrespondence(ShipmentGetCorr); SetViewedItem(ShipmentGetCorr, "Result from GetCorrespondence"); } catch (Exception ex) { SetViewedItem(ex, "Error during GetCorrespondence"); } }