Exemplo 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
            serviceAutorisationDepart = new ImplDalAutorisationDepart();
            serviceRecuAD             = new ImplDalRecuAD();
            serviceTypeRecuAD         = new ImplDalTypeRecuAD();
            serviceFicheBord          = new ImplDalFicheBord();
            serviceGeneral            = new ImplDalGeneral();
            servicePrelevement        = new ImplDalPrelevement();
            serviceTypePrelevement    = new ImplDalTypePrelevement();
            #endregion

            #region !IsPostBack
            if (!IsPostBack)
            {
                this.initialiseErrorMessage();
                hfAutorisationDepart.Value = "";
                hfPrelevement.Value        = "";

                serviceTypePrelevement.loadDddlTypePrelevement(ddlTypeRecuAD);

                this.initialiseGridAD();
            }
            #endregion
        }
Exemplo 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
            serviceAutorisationDepart = new ImplDalAutorisationDepart();
            serviceFacture            = new ImplDalFacture();
            serviceGeneral            = new ImplDalGeneral();
            serviceVehicule           = new ImplDalVehicule();

            convertisseuse = new Convertisseuse();
            #endregion

            #region !isPostBack
            if (!IsPostBack)
            {
                this.initialiseGridVehicule();
            }
            #endregion
        }
Exemplo 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
            serviceCalendar           = new ImplDalCalendar();
            serviceFicheBord          = new ImplDalFicheBord();
            servicePlaceFB            = new ImplDalPlaceFB();
            serviceAutorisationDepart = new ImplDalAutorisationDepart();
            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
        }
Exemplo n.º 4
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();
            serviceRecuAD             = new ImplDalRecuAD();
            serviceGeneral            = new ImplDalGeneral();
            servicePrelevement        = new ImplDalPrelevement();
            #endregion

            #region !IsPostBack
            if (!IsPostBack)
            {
                numAutorisationDepart = Request.QueryString["numerosAD"];

                if (numAutorisationDepart != null)
                {
                    this.afficheAutorisationVoyage(numAutorisationDepart);
                    this.initialiseGridCommission();
                    this.initialiseGridPassager();
                    this.initialiseGridRecuAD();
                    this.initialiseGridPrelevement();
                    this.initialiseLabel();

                    this.initialiseGridAD();
                }
                else
                {
                    hfAutorisationDepart.Value = "";

                    this.initialiseGridAD();
                }
            }
            #endregion
        }