/// <summary> /// Initializes the 'SIU_create_instanceIT' instance form. /// </summary> /// <param name="exchangeInfo">Exchange information</param> /// <returns>IUServiceController</returns> public IUServiceController Initialize(ExchangeInfo exchangeInfo) { Controller = ControllerFactory.Revision.Service_create_instanceInbound(exchangeInfo, null); // Scenario. Controller.Scenario = new ScenarioPresentation(this, ScenarioType.Service); ArgumentDVController lArgumentDataValued = null; // p_atrid_RevisarAeronave lArgumentDataValued = Controller.InputFields["p_atrid_RevisarAeronave"] as ArgumentDVController; lArgumentDataValued.Label = new LabelPresentation(this.lp_atrid_RevisarAeronave); lArgumentDataValued.Editor = new AutonumericPresentation(this.maskedTextBoxp_atrid_RevisarAeronave, this.lp_atrid_RevisarAeronaveAuto, this.checkBoxp_atrid_RevisarAeronaveAuto); // p_atrFechaRevision lArgumentDataValued = Controller.InputFields["p_atrFechaRevision"] as ArgumentDVController; lArgumentDataValued.Label = new LabelPresentation(this.lp_atrFechaRevision); lArgumentDataValued.Editor = new DateTimePickerPresentation(this.maskedTextBoxp_atrFechaRevision, this.dtpp_atrFechaRevision); // p_atrNombreRevisor lArgumentDataValued = Controller.InputFields["p_atrNombreRevisor"] as ArgumentDVController; lArgumentDataValued.Label = new LabelPresentation(this.lp_atrNombreRevisor); lArgumentDataValued.Editor = new TextBoxPresentation(this.textBoxp_atrNombreRevisor); // p_atrId_Aeronave lArgumentDataValued = Controller.InputFields["p_atrId_Aeronave"] as ArgumentDVController; lArgumentDataValued.Label = new LabelPresentation(this.lp_atrId_Aeronave); lArgumentDataValued.Editor = new TextBoxPresentation(this.textBoxp_atrId_Aeronave); // Ok. Controller.OkTrigger = new ButtonPresentation(this.bOk); // Cancel. Controller.CancelTrigger = new ButtonPresentation(this.bCancel); Controller.Initialize(); return Controller; }
/// <summary> /// Initializes the 'SIU_create_instanceIT' instance form. /// </summary> /// <param name="exchangeInfo">Exchange information</param> /// <returns>IUServiceController</returns> public IUServiceController Initialize(ExchangeInfo exchangeInfo) { Controller = ControllerFactory.RevisionPasajero.Service_create_instanceInbound(exchangeInfo, null); // Scenario. Controller.Scenario = new ScenarioPresentation(this, ScenarioType.Service); ArgumentDVController lArgumentDataValued = null; ArgumentOVController lArgumentObjectValued = null; // p_atrid_RevisionPasajero lArgumentDataValued = Controller.InputFields["p_atrid_RevisionPasajero"] as ArgumentDVController; lArgumentDataValued.Label = new LabelPresentation(this.lp_atrid_RevisionPasajero); lArgumentDataValued.Editor = new AutonumericPresentation(this.maskedTextBoxp_atrid_RevisionPasajero, this.lp_atrid_RevisionPasajeroAuto, this.checkBoxp_atrid_RevisionPasajeroAuto); // p_agrPasajeroAeronave lArgumentObjectValued = Controller.InputFields["p_agrPasajeroAeronave"] as ArgumentOVController; lArgumentObjectValued.Label = new LabelPresentation(this.lp_agrPasajeroAeronave); lArgumentObjectValued.Editors[0] = new MaskedTextBoxPresentation(this.maskedTextBoxp_agrPasajeroAeronaveid_PasajeroAeronave1); lArgumentObjectValued.Trigger = new ButtonPresentation(this.bp_agrPasajeroAeronave); if (lArgumentObjectValued.SupplementaryInfo != null) { lArgumentObjectValued.SupplementaryInfo.Viewer = new LabelDisplaySetPresentation(this.lp_agrPasajeroAeronaveSupInfo); } // p_agrRevision lArgumentObjectValued = Controller.InputFields["p_agrRevision"] as ArgumentOVController; lArgumentObjectValued.Label = new LabelPresentation(this.lp_agrRevision); lArgumentObjectValued.Editors[0] = new MaskedTextBoxPresentation(this.maskedTextBoxp_agrRevisionid_RevisarAeronave1); lArgumentObjectValued.Trigger = new ButtonPresentation(this.bp_agrRevision); if (lArgumentObjectValued.SupplementaryInfo != null) { lArgumentObjectValued.SupplementaryInfo.Viewer = new LabelDisplaySetPresentation(this.lp_agrRevisionSupInfo); } // Ok. Controller.OkTrigger = new ButtonPresentation(this.bOk); // Cancel. Controller.CancelTrigger = new ButtonPresentation(this.bCancel); Controller.Initialize(); return Controller; }
/// <summary> /// Initializes the 'SIU_delete_instanceIT' instance form. /// </summary> /// <param name="exchangeInfo">Exchange information</param> /// <returns>IUServiceController</returns> public IUServiceController Initialize(ExchangeInfo exchangeInfo) { Controller = ControllerFactory.NaveNodriza.Service_delete_instanceInbound(exchangeInfo, null); // Scenario. Controller.Scenario = new ScenarioPresentation(this, ScenarioType.Service); ArgumentOVController lArgumentObjectValued = null; // p_thisNaveNodriza lArgumentObjectValued = Controller.InputFields["p_thisNaveNodriza"] as ArgumentOVController; lArgumentObjectValued.Label = new LabelPresentation(this.lp_thisNaveNodriza); lArgumentObjectValued.Editors[0] = new MaskedTextBoxPresentation(this.maskedTextBoxp_thisNaveNodrizaid_NaveNodriza1); lArgumentObjectValued.Trigger = new ButtonPresentation(this.bp_thisNaveNodriza); if (lArgumentObjectValued.SupplementaryInfo != null) { lArgumentObjectValued.SupplementaryInfo.Viewer = new LabelDisplaySetPresentation(this.lp_thisNaveNodrizaSupInfo); } // Next-Previous triggers. Controller.NextTrigger = new ButtonPresentation(this.bNext); Controller.PreviousTrigger = new ButtonPresentation(this.bPrevious); Controller.ApplyTrigger = new ButtonPresentation(this.bApply); // Ok. Controller.OkTrigger = new ButtonPresentation(this.bOk); // Cancel. Controller.CancelTrigger = new ButtonPresentation(this.bCancel); Controller.Initialize(); return Controller; }
/// <summary> /// Initializes the 'Crear_NaveNodrizaIT' instance form. /// </summary> /// <param name="exchangeInfo">Exchange information</param> /// <returns>IUServiceController</returns> public IUServiceController Initialize(ExchangeInfo exchangeInfo) { Controller = ControllerFactory.NaveNodriza.Service_create_instanceInbound(exchangeInfo, null); // Scenario. Controller.Scenario = new ScenarioPresentation(this, ScenarioType.Service); ArgumentDVController lArgumentDataValued = null; // p_atrid_NaveNodriza lArgumentDataValued = Controller.InputFields["p_atrid_NaveNodriza"] as ArgumentDVController; lArgumentDataValued.Label = new LabelPresentation(this.lp_atrid_NaveNodriza); lArgumentDataValued.Editor = new AutonumericPresentation(this.maskedTextBoxp_atrid_NaveNodriza, this.lp_atrid_NaveNodrizaAuto, this.checkBoxp_atrid_NaveNodrizaAuto); // p_atrNombre_NaveNodriza lArgumentDataValued = Controller.InputFields["p_atrNombre_NaveNodriza"] as ArgumentDVController; lArgumentDataValued.Label = new LabelPresentation(this.lp_atrNombre_NaveNodriza); lArgumentDataValued.Editor = new TextBoxPresentation(this.textBoxp_atrNombre_NaveNodriza); // Ok. Controller.OkTrigger = new ButtonPresentation(this.bOk); // Cancel. Controller.CancelTrigger = new ButtonPresentation(this.bCancel); Controller.Initialize(); return Controller; }