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(); serviceSessionCaisse = new ImplDalSessionCaisse(); #endregion #region !IsPostBack if (!IsPostBack) { hfAutorisationDepart.Value = ""; hfPrelevement.Value = ""; serviceRecuAD.loadDdlLibelle(ddlLibelle); this.initialiseGridAD(); } #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 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 }
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.initialiseGridAgent(); 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; Panel_AbonnementNbVoyageUS.Visible = false; Panel_BilletUS.Visible = false; } #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 }