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"); } }