Beispiel #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
            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
        }
Beispiel #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
            serviceItineraire = new ImplDalItineraire();
            serviceFicheBord  = new ImplDalFicheBord();
            #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);

                try
                {
                    ddlHeure.SelectedValue = DateTime.Now.ToString("HH");
                }
                catch (Exception)
                {
                }

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

            convertisseuse = new Convertisseuse();
            #endregion

            #region !isPostBack
            if (!IsPostBack)
            {
                this.initialiseGridVehicule();
            }
            #endregion
        }
Beispiel #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
            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
        }
        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
        }
Beispiel #7
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
        }
Beispiel #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
        }
Beispiel #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
            serviceRouteNationale = new ImplDalRouteNationale();
            serviceVille          = new ImplDalVille();
            #endregion

            #region !IsPostBack
            if (!IsPostBack)
            {
                this.initialiseFormulaire();
                this.initialiseErrorMassage();
                this.initialiseGridRN();

                this.initialiseGridVille();
            }
            #endregion
        }
Beispiel #10
0
        protected void Page_Load(object sender, EventArgs e)
        {
            #region initialiseRessource
            serviceRessource = new ImplDalServiceRessource();
            serviceLien      = new ImplDalLien();
            #endregion

            #region verification
            this.verification();
            #endregion

            #region initialisation
            servicePage               = new ImplDalServicePage();
            serviceChauffeur          = new ImplDalChauffeur();
            serviceCooperative        = new ImplDalCooperative();
            serviceSituationFamiliale = new ImplDalSituationFamiliale();
            #endregion

            #region !IsPostBack
            if (!IsPostBack)
            {
                serviceSituationFamiliale.loadDddlSituationFamiliale(ddlSituationFamiliale);
                serviceCooperative.loadDdlCooperative(ddlCooperative);
                this.serviceChauffeur.loadDdlTri(ddlTriChauffeur);
                this.initialiseFormulaire();
                this.initialiseGridView();
                this.initialiseErreurMessage();
            }
            #endregion
        }
Beispiel #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
            serviceProvince = new ImplDalProvince();
            serviceRegion   = new ImplDalRegion();
            serviceVille    = new ImplDalVille();
            #endregion

            #region !IsPostBack
            if (!IsPostBack)
            {
                this.initialiseErrorMessage();
                serviceProvince.loadDddlProvince(ddlProvince);
                serviceRegion.loadDddlRegion(ddlRegion);
                this.initialiseGridVille();
                this.initialiseFormulaire();
                hfNumVille.Value = "";
            }
            #endregion
        }
Beispiel #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
            serviceFacture = new ImplDalFacture();
            serviceGeneral = new ImplDalGeneral();
            serviceRecuAD  = new ImplDalRecuAD();
            #endregion

            #region
            if (!IsPostBack)
            {
                this.initialiseErrorMessage();
                this.initialiseGridFacture();
                this.initialiseFormulaire();
            }
            #endregion
        }
Beispiel #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
            serviceCalculCategorieBillet = new ImplDalCalculCategorieBillet();
            serviceGeneral = new ImplDalGeneral();
            #endregion

            #region !IsPostBack
            if (!IsPostBack)
            {
                this.initialisationGridCategorieBillet();
                this.initialiseFormulaire();
                this.initialiseErrorMessage();
            }
            #endregion
        }
Beispiel #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
            serviceAgence     = new ImplDalAgence();
            serviceTypeAgence = new ImplDalTypeAgence();
            serviceVille      = new ImplDalVille();
            #endregion

            #region !IsPostBack
            if (!IsPostBack)
            {
                serviceVille.loadDdlVilleA(ddlVille);
                serviceTypeAgence.loadDddlTypeAgence(ddlTypeAgence);
                this.initialiseGridAgence();
                this.initialiseFormulaireAgence();
                this.initialiseErrorMessage();
            }
            #endregion
        }
        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
        }
Beispiel #16
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
        }
Beispiel #17
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
        }
Beispiel #18
0
        protected void Page_Load(object sender, EventArgs e)
        {
            #region initialisation ressource
            serviceRessource = new ImplDalServiceRessource();
            serviceLien      = new ImplDalLien();
            #endregion

            #region verification
            this.verification();
            #endregion
        }
Beispiel #19
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
        }
Beispiel #20
0
        protected void Page_Load(object sender, EventArgs e)
        {
            #region isSession
            this.isSession();
            #endregion

            #region initialisation
            serviceLien = new ImplDalLien();
            #endregion

            #region initialiseMenu
            this.initialiseMenu();
            #endregion

            #region
            if (!IsPostBack)
            {
                //this.secteur();
            }
            #endregion
        }
        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
            serviceModePaiement = new ImplDalModePaiement();
            //serviceRecu = new ImplDalRecu();
            serviceRecuEncaisser = new ImplDalRecuEncaisser();
            serviceSessionCaisse = new ImplDalSessionCaisse();
            #endregion

            #region
            if (!IsPostBack)
            {
                this.initialiseErrorMessage();
                TextLibelleRecu.Text = ReLibeleRecu.libeleRecuExedendBagage;

                //serviceModePaiement.loadDddlModePaiement(ddlModePaiement);
                serviceModePaiement.loadDddlModePaiement(ddlModePaiement, "Abonnement;Bon de commande;Chèque;Commande");

                try
                {
                    ddlModePaiement.SelectedValue = "Espèce";
                }
                catch (Exception)
                {
                }

                this.initialiseGridRecu();
            }
            #endregion
        }
Beispiel #22
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
        }
Beispiel #23
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
        }