コード例 #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
            serviceCooperative = new ImplDalCooperative();
            serviceGeneral     = new ImplDalGeneral();
            serviceVille       = new ImplDalVille();
            serviceZone        = new ImplDalZone();
            #endregion

            #region declaration
            if (!IsPostBack)
            {
                this.initialiseFormulaire();
                this.initialiseGridCooperative();
                this.initialiseErrorMessage();

                serviceZone.loadDDLAllZone(ddlZone);
                serviceVille.loadDdlVilleA(ddlVille);
            }
            #endregion
        }