Пример #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
        }
Пример #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
            serviceCalculCategorieBillet = new ImplDalCalculCategorieBillet();
            serviceGeneral = new ImplDalGeneral();
            #endregion

            #region !IsPostBack
            if (!IsPostBack)
            {
                this.initialisationGridCategorieBillet();
                this.initialiseFormulaire();
                this.initialiseErrorMessage();
            }
            #endregion
        }
Пример #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
            serviceAgent            = new ImplDalAgent();
            serviceGeneral          = new ImplDalGeneral();
            serviceObservationAgent = new ImplDalObservationAgent();
            #endregion

            #region !IsPostBack
            if (!IsPostBack)
            {
                this.initialiseFormulaire();
                this.initialiseGridObservation();
                this.initialiseErrorMessage();
                this.initialiseGridAgent();
                this.initialiseGridAgentListeNoire();
            }
            #endregion
        }
Пример #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
            serviceTypeCommission        = new ImplDalTypeCommission();
            serviceGeneral               = new ImplDalGeneral();
            serviceDesignationCommission = new ImplDalDesignationCommission();
            #endregion

            #region !IsPostBack
            if (!IsPostBack)
            {
                this.initialiseGridTypeCommission();
                this.initialiseFormulaireTypeCommission();

                this.serviceTypeCommission.loadDddlTypeCommission(ddlTypeCommission);
                this.initialiseGridDesignation();
                this.initialiseFormulaireDesigantion();
            }
            #endregion
        }
Пример #5
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
        }
Пример #6
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
            serviceAgent         = new ImplDalAgent();
            serviceSessionCaisse = new ImplDalSessionCaisse();
            serviceGeneral       = new ImplDalGeneral();
            #endregion

            #region !IsPostBack
            if (!IsPostBack)
            {
                this.afficheAgent(agent.matriculeAgent);
                if (agent.sessionCaisse != null)
                {
                    this.afficheMontantTotal(agent.sessionCaisse.NumSessionCaisse);
                }
            }
            #endregion
        }
Пример #7
0
        protected void Page_Load(object sender, EventArgs e)
        {
            #region initialisation
            serviceCA      = new ImplDalCA();
            serviceGeneral = new ImplDalGeneral();

            convertisseuse = new Convertisseuse();
            #endregion

            #region
            if (!IsPostBack)
            {
                TextDateDebut.Text = DateTime.Now.ToString("dd MMMM yyyy");
                TextDateFin.Text   = DateTime.Now.ToString("dd MMMM yyyy");

                try
                {
                    rbCAParam.SelectedValue = "0";
                }
                catch (Exception)
                {
                }

                this.initialise();
            }
            #endregion
        }
Пример #8
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
            serviceAgence        = new ImplDalAgence();
            serviceSessionAgence = new ImplDalSessionAgence();
            serviceGeneral       = new ImplDalGeneral();
            #endregion

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

                Panel_BilletMontantTotal.Visible           = false;
                Panel_CommissionMontantTotal.Visible       = false;
                Panel_DureeAbonnementMontantTotal.Visible  = false;
                Panel_MontantTotalSessionCaisse.Visible    = false;
                Panel_RecuEncaisserMontantTotal.Visible    = false;
                Panel_VoyageAbonnementMontantTotal.Visible = false;
                Panel_RecuADTotal.Visible = false;
            }
            #endregion
        }
Пример #9
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
            serviceFacture = new ImplDalFacture();
            serviceGeneral = new ImplDalGeneral();
            serviceRecuAD  = new ImplDalRecuAD();
            #endregion

            #region
            if (!IsPostBack)
            {
                this.initialiseErrorMessage();
                this.initialiseGridFacture();
                this.initialiseFormulaire();
            }
            #endregion
        }
Пример #10
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
        }
Пример #11
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());
            serviceGeneral            = new ImplDalGeneral();
            #endregion

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

                hfNumerosAV.Value = "";
            }
            #endregion
        }
Пример #12
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
        }
Пример #13
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
            serviceSessionAgence = new ImplDalSessionAgence();
            serviceAgence        = new ImplDalAgence();
            serviceGeneral       = new ImplDalGeneral();
            #endregion

            #region !IsPostBack
            if (!IsPostBack)
            {
                this.afficheAgence(agent.numAgence);
            }
            #endregion
        }
Пример #14
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
            serviceSociete        = new ImplDalSociete();
            serviceGeneral        = new ImplDalGeneral();
            serviceIndividu       = new ImplDalIndividu();
            serviceProvince       = new ImplDalProvince();
            serviceRegion         = new ImplDalRegion();
            serviceDistrict       = new ImplDalDistrict();
            serviceCommune        = new ImplDalCommune();
            serviceArrondissement = new ImplDalArrondissement();
            serviceQuartier       = new ImplDalQuartier();
            serviceIndividu       = new ImplDalIndividu();
            serviceEtatCivil      = new ImplDalEtatCivil();
            #endregion

            #region
            if (!IsPostBack)
            {
                this.initialiseCB();
                this.initialiseGridSociete();


                this.initialiseFormulaire();
            }
            #endregion
        }