void ctrl_Closed(object sender, EventArgs e) { this.IsEnabled = true; Galatee.Silverlight.Shared.FrmOptionEditon ctrs = sender as Galatee.Silverlight.Shared.FrmOptionEditon; if (ctrs.IsOptionChoisi) { if (ctrs.OptionSelect == SessionObject.EnvoiPrinter) { Utility.ActionDirectOrientation <ServicePrintings.CsHistoriquePassword, ServiceAdministration.CsHistoriquePassword>(lstHisto, param, SessionObject.CheminImpression, "ReportConnectionUser", "Administration", true); } else if (ctrs.OptionSelect == SessionObject.EnvoiExecl) { Utility.ActionExportation <ServicePrintings.CsHistoriquePassword, ServiceAdministration.CsHistoriquePassword>(lstHisto, param, string.Empty, SessionObject.CheminImpression, "ReportConnectionUser", "Administration", true, "xlsx"); } else if (ctrs.OptionSelect == SessionObject.EnvoiWord) { Utility.ActionExportation <ServicePrintings.CsHistoriquePassword, ServiceAdministration.CsHistoriquePassword>(lstHisto, param, string.Empty, SessionObject.CheminImpression, "ReportConnectionUser", "Administration", true, "doc"); } else if (ctrs.OptionSelect == SessionObject.EnvoiPdf) { Utility.ActionExportation <ServicePrintings.CsHistoriquePassword, ServiceAdministration.CsHistoriquePassword>(lstHisto, param, string.Empty, SessionObject.CheminImpression, "ReportConnectionUser", "Administration", true, "pdf"); } } }
void ctrl_Closed(object sender, EventArgs e) { this.IsEnabled = true; Galatee.Silverlight.Shared.FrmOptionEditon ctrs = sender as Galatee.Silverlight.Shared.FrmOptionEditon; if (ctrs.IsOptionChoisi) { if (ctrs.OptionSelect == SessionObject.EnvoiPrinter) { Utility.ActionDirectOrientation <ServicePrintings.CsConsommateur, ServiceParametrage.CsConsommateur>(lstDonnee, param, SessionObject.CheminImpression, "Consommateur", "Parametrage", true); } else if (ctrs.OptionSelect == SessionObject.EnvoiExecl) { Utility.ActionExportation <ServicePrintings.CsConsommateur, ServiceParametrage.CsConsommateur>(lstDonnee, param, string.Empty, SessionObject.CheminImpression, "Consommateur", "Parametrage", true, "xlsx"); } else if (ctrs.OptionSelect == SessionObject.EnvoiWord) { Utility.ActionExportation <ServicePrintings.CsConsommateur, ServiceParametrage.CsConsommateur>(lstDonnee, param, string.Empty, SessionObject.CheminImpression, "Consommateur", "Parametrage", true, "doc"); } else if (ctrs.OptionSelect == SessionObject.EnvoiPdf) { Utility.ActionExportation <ServicePrintings.CsConsommateur, ServiceParametrage.CsConsommateur>(lstDonnee, param, string.Empty, SessionObject.CheminImpression, "Consommateur", "Parametrage", true, "pdf"); } } }
void ctrl_Closed(object sender, EventArgs e) { this.IsEnabled = true; Galatee.Silverlight.Shared.FrmOptionEditon ctrs = sender as Galatee.Silverlight.Shared.FrmOptionEditon; if (ctrs.IsOptionChoisi) { if (ctrs.OptionSelect == SessionObject.EnvoiPrinter) { Utility.ActionDirectOrientation <ServicePrintings.CsHabilitationMenu, ServiceAdministration.CsHabilitationMenu>(lstAImprimer, null, SessionObject.CheminImpression, "ReportHabillitationMenu", "Administration", false); } else if (ctrs.OptionSelect == SessionObject.EnvoiExecl) { Utility.ActionExportation <ServicePrintings.CsHabilitationMenu, ServiceAdministration.CsHabilitationMenu>(lstAImprimer, null, string.Empty, SessionObject.CheminImpression, "ReportHabillitationMenu", "Administration", true, "xlsx"); } else if (ctrs.OptionSelect == SessionObject.EnvoiWord) { Utility.ActionExportation <ServicePrintings.CsHabilitationMenu, ServiceAdministration.CsHabilitationMenu>(lstAImprimer, null, string.Empty, SessionObject.CheminImpression, "ReportHabillitationMenu", "Administration", true, "doc"); } else if (ctrs.OptionSelect == SessionObject.EnvoiPdf) { Utility.ActionExportation <ServicePrintings.CsHabilitationMenu, ServiceAdministration.CsHabilitationMenu>(lstAImprimer, null, string.Empty, SessionObject.CheminImpression, "ReportHabillitationMenu", "Administration", true, "pdf"); } } }
void ctrl_Closed(object sender, EventArgs e) { this.IsEnabled = true; Galatee.Silverlight.Shared.FrmOptionEditon ctrs = sender as Galatee.Silverlight.Shared.FrmOptionEditon; if (ctrs.IsOptionChoisi) { lstClientImprimer.ForEach(t => t.ISINVITATIONEDITER = true); MiseAJoursDetailCampagne(lstClientImprimer); if (ctrs.OptionSelect == SessionObject.EnvoiPrinter) { Utility.ActionDirectOrientation <ServicePrintings.CsDetailCampagnePrecontentieux, ServiceRecouvrement.CsDetailCampagnePrecontentieux>(lstClientImprimer, null, SessionObject.CheminImpression, "LettreInvitation", "Precontentieux", true); } else if (ctrs.OptionSelect == SessionObject.EnvoiExecl) { Utility.ActionExportation <ServicePrintings.CsDetailCampagnePrecontentieux, ServiceRecouvrement.CsDetailCampagnePrecontentieux>(lstClientImprimer, null, string.Empty, SessionObject.CheminImpression, "LettreInvitation", "Precontentieux", true, "xlsx"); } else if (ctrs.OptionSelect == SessionObject.EnvoiWord) { Utility.ActionExportation <ServicePrintings.CsDetailCampagnePrecontentieux, ServiceRecouvrement.CsDetailCampagnePrecontentieux>(lstClientImprimer, null, string.Empty, SessionObject.CheminImpression, "LettreInvitation", "Precontentieux", true, "doc"); } else if (ctrs.OptionSelect == SessionObject.EnvoiPdf) { Utility.ActionExportation <ServicePrintings.CsDetailCampagnePrecontentieux, ServiceRecouvrement.CsDetailCampagnePrecontentieux>(lstClientImprimer, null, string.Empty, SessionObject.CheminImpression, "LettreInvitation", "Precontentieux", true, "pdf"); } } }
void ctrl_Closed(object sender, EventArgs e) { this.IsEnabled = true; Galatee.Silverlight.Shared.FrmOptionEditon ctrs = sender as Galatee.Silverlight.Shared.FrmOptionEditon; if (ctrs.IsOptionChoisi) { RechercherDonnee(); } }
void ctrl_Closed(object sender, EventArgs e) { this.IsEnabled = true; Galatee.Silverlight.Shared.FrmOptionEditon ctrs = sender as Galatee.Silverlight.Shared.FrmOptionEditon; if (ctrs.IsOptionChoisi) { OptionImpression = ctrs.OptionSelect; CompteurParProduit(); } }
void ctrl_Closed(object sender, EventArgs e) { this.IsEnabled = true; Galatee.Silverlight.Shared.FrmOptionEditon ctrs = sender as Galatee.Silverlight.Shared.FrmOptionEditon; if (ctrs.IsOptionChoisi) { OptionImpression = ctrs.OptionSelect; if (lesDeCentre != null && !string.IsNullOrEmpty(this.txt_Periode.Text)) { ConsoNull(); } } }
void ctrl_Closed(object sender, EventArgs e) { this.IsEnabled = true; Galatee.Silverlight.Shared.FrmOptionEditon ctrs = sender as Galatee.Silverlight.Shared.FrmOptionEditon; if (ctrs.IsOptionChoisi) { OptionImpression = ctrs.OptionSelect; if (lSiteSelect != null && !string.IsNullOrEmpty(this.txt_Periode.Text)) { NombreDeJourMoyen(lSiteSelect.CODE, Shared.ClasseMEthodeGenerique.FormatPeriodeAAAAMM(this.txt_Periode.Text)); } } }
void ctrl_Closed(object sender, EventArgs e) { this.IsEnabled = true; Galatee.Silverlight.Shared.FrmOptionEditon ctrs = sender as Galatee.Silverlight.Shared.FrmOptionEditon; if (ctrs.IsOptionChoisi) { //if (ctrs.OptionSelect == SessionObject.EnvoiPrinter ) // Utility.ActionImpressionPdf<ServicePrintings.CsHabilitationMetier, ServiceAdministration.CsHabilitationMetier>(lstAImprimer, null, "ReportHabillitationMetier", "Administration"); //else if (ctrs.OptionSelect == SessionObject.EnvoiExecl) // Utility.ActionExportation<ServicePrintings.CsHabilitationMetier, ServiceAdministration.CsHabilitationMetier>(lstAImprimer, null, "SuivieMoratoire", "Recouvrement", "xlsx"); //else if (ctrs.OptionSelect == SessionObject.EnvoiWord ) // Utility.ActionExportation<ServicePrintings.CsHabilitationMetier, ServiceAdministration.CsHabilitationMetier>(lstAImprimer, null, "SuivieMoratoire", "Recouvrement", "doc"); //else if (ctrs.OptionSelect == SessionObject.EnvoiPdf ) // Utility.ActionExportation<ServicePrintings.CsHabilitationMetier, ServiceAdministration.CsHabilitationMetier>(lstAImprimer, null, "SuivieMoratoire", "Recouvrement", "pdf"); } }
void ctrl_Closed(object sender, EventArgs e) { this.IsEnabled = true; Galatee.Silverlight.Shared.FrmOptionEditon ctrs = sender as Galatee.Silverlight.Shared.FrmOptionEditon; if (ctrs.IsOptionChoisi) { Option = ctrs.OptionSelect; lstIUSeru = new List <int?>(); lstUtilisateur.Select(u => u.PK_ID).ToList().ForEach(u => lstIUSeru.Add(u)); if (this.chk_habilitation.IsChecked == true) { RetourneHabilitationUser(lstUtilisateur.Select(u => u.PK_ID).ToList()); } if (this.chk_historiqueConnect.IsChecked == true) { RetourneHistoriqueConnectionClient(lstIUSeru); } if (this.chk_historiquePass.IsChecked == true) { RetourneHistoriquePassWordClient(lstIUSeru); } } }
void ctrl_Closed(object sender, EventArgs e) { this.IsEnabled = true; Galatee.Silverlight.Shared.FrmOptionEditon ctrs = sender as Galatee.Silverlight.Shared.FrmOptionEditon; if (ctrs.IsOptionChoisi) { OptionImpression = ctrs.OptionSelect; DateTime dateDebut = System.DateTime.Today; DateTime dateFin = dateDebut.AddYears(3); dateDebut = string.IsNullOrEmpty(this.dtp_DateDebut.Text) ? dateDebut : Convert.ToDateTime(this.dtp_DateDebut.Text); dateFin = string.IsNullOrEmpty(this.dtp_DateFin.Text) ? dateFin : Convert.ToDateTime(this.dtp_DateFin.Text); if (TypeEdition == SessionObject.FactureIsole) { RetourneFactureIsole(lstCentre, dateDebut, dateFin); } if (TypeEdition == SessionObject.FactureAnnuler) { RetourneAnnulation(lstCentre, dateDebut, dateFin); } } }