コード例 #1
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
            serviceTarifDeveloppement = new ImplDalTarifDeveloppement();
            serviceZone = new ImplDalZone();
            #endregion

            #region !IsPostBack
            if (!IsPostBack)
            {
                this.initialiseFormulaire();
                this.initialiseGridTD();
                serviceZone.loadDDLAllZone(ddlZone);
                this.initialiseErrorMessage();
            }
            #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
            serviceFicheBord          = new ImplDalFicheBord();
            serviceVoyage             = new ImplDalVoyage();
            serviceCommission         = new ImplDalCommission();
            serviceAutorisationDepart = new ImplDalAutorisationDepart();
            serviceTarifDeveloppement = new ImplDalTarifDeveloppement();
            servicePrelevement        = new ImplDalPrelevement();
            serviceRecuAD             = new ImplDalRecuAD();
            serviceGeneral            = new ImplDalGeneral();
            #endregion

            #region !IsPostBack
            if (!IsPostBack)
            {
                this.initialiseGVListeFB();

                numerosFB = Request.QueryString["numerosFB"];

                if (numerosFB != null)
                {
                    this.afficheAutorisationVoyage(numerosFB);
                    hfNumerosFB.Value = numerosFB;

                    this.initialiseGridPassager();
                    this.initialiseGridCommission();
                    this.initialiseLabel();
                }
                else
                {
                    hfNumerosFB.Value = "";
                }
            }
            #endregion
        }