public CorrespondenceAgencyNoSystemForm() { InitializeComponent(); InitializeComponent(); _caepFunc = new CorrespondenceAgencyNoSystemEndPointFunction(); _caepFunc.ReturnMessageXml += ReturnMessageXmlHandler; ShipmentTest = new BaseShipment(); ShipmentIc = new InsertCorrespondenceShipmentAec { InsertCorrespondence = new InsertCorrespondenceV2() }; ShipmentIc.InsertCorrespondence.SdpOptions = new SdpOptions(); Notifications = new NotificationBEList(); ShipmentIc.InsertCorrespondence.Notifications = Notifications; ShipmentIc.InsertCorrespondence.ReplyOptions = new CorrespondenceInsertLinkBEList(); ShipmentIc.InsertCorrespondence.Content = new ExternalContentV2(); ShipmentIc.InsertCorrespondence.Content.Attachments = new AttachmentsV2(); Filter = new GetCorrespondenceStatus(); CorrespondenceStatus = new CorrespondenceStatusResultV3(); Filter.CorrespondenceStatusFilter = new CorrespondenceStatusFilterV3(); Filter.CorrespondenceStatusFilter.SdpSearchOptions = new SdpStatusSearchOptions(); GchShipment = new GetCorrespondenceStatusHistoryAecShipment(); SetUpObjForPropGrid(); tb_userName.Enabled = false; tb_password.Enabled = false; }
public CorrespondenceAgencyFormEC2() { InitializeComponent(); MyCollectionEditor.MyFormClosed += MyCollectionEditor_MyFormClosed; _caepFunc = new CorrespondenceAgencyEndPointFunctionEC2(); _caepFunc.ReturnMessageXml += ReturnMessageXmlHandler; ShipmentTest = new BaseShipment(); Notifications = new NotificationBEList(); ShipmentIc = new InsertCorrespondenceShipmentEC2 { InsertCorrespondence = new InsertCorrespondenceV2() }; ShipmentIc.InsertCorrespondence.Notifications = Notifications; ShipmentIc.InsertCorrespondence.ReplyOptions = new CorrespondenceInsertLinkBEList(); ShipmentIc.InsertCorrespondence.Content = new ExternalContentV2 { Attachments = new AttachmentsV2() }; GchShipment = new GetCorrespondenceStatusHistoryShipmentEC2(); GcdShipment = new GetCorrespondenceStatusDetailsShipmentEC2(); _gchResult = new CorrespondenceStatusHistoryResultExEC2(); // InvokeAssignTypeDescriptor(this.GetType()); SetUpObjForPropGrid(); }