Example #1
0
 public IntermediaryInboundForm()
 {
     InitializeComponent();
     iiepFunc = new Functionality.EndPoints.Intermediary.IntermediaryInboundEndPointFunctionality();
     iiepFunc.ReturnMessageXml += ReturnMessageXmlHandler;
     IIShipment   = new Classes.Shipments.IntermediaryInboundShipment();
     SignShipment = new Classes.Shipments.IntermediarySignShipment();
     IIShipment.FormTaskShipment            = new FormTaskShipmentBE();
     IIShipment.FormTaskShipment.FormTasks  = new FormTask();
     IIShipment.FormTaskShipment.Signatures = new Signature1();
     SetupObjectsForPropertyGrid();
     TestShipment = new Classes.BaseShipment();
 }
Example #2
0
        public IntermediaryInboundForm()
        {
            InitializeComponent();
            IiepFunc   = new Functionality.EndPoints.Intermediary.IntermediaryInboundEndPointFunctionality();
            IiShipment = new IntermediaryInboundShipment();
            IiShipment.FormTaskShipment            = new FormTaskShipmentBE();
            IiShipment.FormTaskShipment.FormTasks  = new FormTask();
            IiShipment.FormTaskShipment.Signatures = new Signature1();
            FormTaskUpdate = new UpdateFormDataInput();
            FormTaskUpdate.FormTaskUpdate = new FormTaskUpdate();
            FormTaskUpdate.FormTaskUpdate.FormUpdateList = new FormUpdateList();
            IiepFunc.ReturnMessageXml += ReturnMessageXmlHandler;
            SetupObjectsForPropertyGrid();

            AssignAction(controllerGetSubmissionStatus, IiepFunc.GetAltinnSubmissionStatusEc, SubmissionStatusShipment, SubmissionStatus, "Submission Status");
            AssignAction(controllerCompleteAndSign, IiepFunc.CompleteAndSignShipment, SignShipment, SignReceipt, "Complete/Sign Shipment");
            AssignAction(actionHolder_UpdateFormData, IiepFunc.UpdateFormData, FormTaskUpdate, FormTaskUpdateReceipt, "Update Form Data");
        }