Ejemplo n.º 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
            serviceAutorisationVoyage = new ImplAutorisationVoyage(this.serviceRessource.getDefaultStrConnection());
            serviceFicheBord          = new ImplDalFicheBord(this.serviceRessource.getDefaultStrConnection());
            servicePlaceFB            = new ImplDalPlaceFB(this.serviceRessource.getDefaultStrConnection());
            #endregion

            #region !IsPostBack
            if (!IsPostBack)
            {
                this.initialiseErrorMessage();
                this.loadDDLTriAutorisation();
                this.initialiseGridAutorisation();

                hfNumerosAV.Value = "";
            }
            #endregion
        }
Ejemplo n.º 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
            serviceCalendar   = new ImplDalCalendar();
            serviceFicheBord  = new ImplDalFicheBord();
            servicePlaceFB    = new ImplDalPlaceFB();
            serviceItineraire = new ImplDalItineraire();
            #endregion

            #region !IsPostBack
            if (!IsPostBack)
            {
                TextDateCalendar.Text = DateTime.Now.ToString("dd MMMM yyyy");
                ddlDebutItineraire.Items.Add(new ListItem(agent.agence.ville.NomVille, agent.agence.ville.NumVille));
                serviceItineraire.loadDdlItineraireForCalendar(ddlFinItineraire, ddlDebutItineraire.SelectedValue);

                this.initialiseCalendar();
            }
            #endregion
        }
Ejemplo n.º 3
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
            serviceCommission     = new ImplDalCommission();
            servicePersonne       = new ImplDalReceptionnaire();
            serviceRecu           = new ImplDalRecu();
            serviceClient         = new ImplDalClient();
            serviceTypeCommission = new ImplDalTypeCommission();
            serviceBillet         = new ImplDalBillet();
            serviceFicheBord      = new ImplDalFicheBord();
            servicePlaceFB        = new ImplDalPlaceFB();
            serviceVoyage         = new ImplDalVoyage();
            #endregion

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