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