public void SetNotice(SetNoticeShipmentEC2 shipment)
        {
            var client = GenerateProxy(shipment);

            OperationContext = "CaseAgencySetNotice";
            client.SetNoticeAgencySystemEC(shipment.Username, shipment.Password, shipment.ReporteeElementId, shipment.NoticeInfo);
        }
 public CaseAgencyFormEC2()
 {
     InitializeComponent();
     FuncCasep = new CaseAgencySystemEndPointFunctionEC2();
     FuncCasep.ReturnMessageXml += ReturnMessageXmlHandler;
     ShipmentTest        = new BaseShipment();
     ShipmentCaseList    = new CaseListShipment();
     ShipmentSetNotice   = new SetNoticeShipmentEC2();
     ShipmentNotifyEvent = new NotifyEventShipmentEC2();
     ShipmentInstantiateCollaboration = new InstantiateCollaborationShipment();
     SetupObjForPropGrid();
 }
 private void btn_SetNoticeLoadShipment_Click(object sender, EventArgs e)
 {
     ShipmentSetNotice = Functionality.IoFunctionality.GeneralizedLoadFile(ShipmentSetNotice);
 }