コード例 #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            #region initialiseRessource
            serviceRessource = new ImplDalServiceRessource();
            serviceLien      = new ImplDalLien();
            #endregion

            #region verification
            this.verification();
            #endregion

            #region initialisation
            servicePage               = new ImplDalServicePage();
            serviceChauffeur          = new ImplDalChauffeur();
            serviceCooperative        = new ImplDalCooperative();
            serviceSituationFamiliale = new ImplDalSituationFamiliale();
            #endregion

            #region !IsPostBack
            if (!IsPostBack)
            {
                serviceSituationFamiliale.loadDddlSituationFamiliale(ddlSituationFamiliale);
                serviceCooperative.loadDdlCooperative(ddlCooperative);
                this.serviceChauffeur.loadDdlTri(ddlTriChauffeur);
                this.initialiseFormulaire();
                this.initialiseGridView();
                this.initialiseErreurMessage();
            }
            #endregion
        }
コード例 #2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            #region initialisation ressource
            serviceRessource = new ImplDalServiceRessource();
            serviceLien      = new ImplDalLien();
            #endregion

            #region verification
            this.verification();
            #endregion

            #region initialisation
            serviceChauffeur            = new ImplDalChauffeur();
            serviceObservationChauffeur = new ImplDalObservationChauffeur();
            serviceGeneral = new ImplDalGeneral();
            #endregion

            #region !IsPostBack
            if (!IsPostBack)
            {
                this.initialiseGridChauffeur();
                this.initialiseGridListeNoireChauffeur();
                this.initialiseFormulaire();
                this.initialiseGridObservation();
                this.initialiseErrorMessage();
            }
            #endregion
        }