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
            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
        }
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
            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
        }