From 485cd8cd6ff0958a011daf498ad87bc807e4c9ef Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Mon, 7 Sep 2020 11:03:21 +0200 Subject: [PATCH] update rimozione warnings vari --- .editorconfig | 12 + GPW_Admin/BaseUserControl.cs | 20 +- GPW_Admin/GPW_Admin.csproj | 3 + GPW_Admin/GlobalSuppressions.cs | 1 + GPW_Admin/Web.config | 4 + .../WebUserControls/mod_adminProgetti.ascx.cs | 12 +- .../WebUserControls/mod_autocomplete.ascx.cs | 11 +- .../mod_commAttivitaDesk.ascx.cs | 1180 +++++++++-------- .../mod_dettaglioProgetto.ascx.cs | 15 +- .../WebUserControls/mod_spostaOre.ascx.cs | 62 +- .../WebUserControls/mod_timbrMensili.ascx.cs | 7 +- GPW_Barcode/GPW_Barcode.csproj | 3 + GPW_Barcode/Web.config | 4 + ...gnTimeResolveAssemblyReferencesInput.cache | Bin 72565 -> 72642 bytes GPW_Commesse/GPW_Commesse.csproj | 3 + GPW_Commesse/Web.config | 262 ++-- GPW_Smart/GPW_Smart.csproj | 3 + GPW_data/GPW_data.csproj | 2 - HOME/HOME.csproj | 3 + 19 files changed, 834 insertions(+), 773 deletions(-) diff --git a/.editorconfig b/.editorconfig index 41a918e..a262d56 100644 --- a/.editorconfig +++ b/.editorconfig @@ -17,3 +17,15 @@ dotnet_code_quality_unused_parameters = all:none # CA1305: Specificare IFormatProvider dotnet_diagnostic.CA1305.severity = none + +# CA1305: Specificare IFormatProvider +dotnet_diagnostic.CA1305.severity = none + +# CA1051: Non dichiarare campi di istanza visibili +dotnet_diagnostic.CA1051.severity = none + +# CA1044: Le proprietà non devono essere di sola scrittura +dotnet_diagnostic.CA1044.severity = none + +# CA1304: Specificare CultureInfo +dotnet_diagnostic.CA1304.severity = silent diff --git a/GPW_Admin/BaseUserControl.cs b/GPW_Admin/BaseUserControl.cs index a43a0d4..26a5f6a 100644 --- a/GPW_Admin/BaseUserControl.cs +++ b/GPW_Admin/BaseUserControl.cs @@ -24,6 +24,18 @@ namespace GPW_Admin return user_std.UtSn.Traduci(lemma); } /// + /// wrapper traduzione + /// + /// + /// + public string traduci(object lemma) + { + string answ = ""; + if (lemma != null) + answ = traduci(lemma.ToString()); + return answ; + } + /// /// Verifica se il valore sia > 0 /// /// @@ -31,11 +43,11 @@ namespace GPW_Admin public bool gtZero(object _valore) { bool answ = false; - if(_valore!=null) + if (_valore != null) { - decimal valore = 0; - _ = decimal.TryParse(_valore.ToString(), out valore); - answ = valore > 0; + decimal valore = 0; + _ = decimal.TryParse(_valore.ToString(), out valore); + answ = valore > 0; } return answ; } diff --git a/GPW_Admin/GPW_Admin.csproj b/GPW_Admin/GPW_Admin.csproj index efb4439..90604f3 100644 --- a/GPW_Admin/GPW_Admin.csproj +++ b/GPW_Admin/GPW_Admin.csproj @@ -391,6 +391,9 @@ + + .editorconfig + diff --git a/GPW_Admin/GlobalSuppressions.cs b/GPW_Admin/GlobalSuppressions.cs index 76cd624..99fc7bb 100644 --- a/GPW_Admin/GlobalSuppressions.cs +++ b/GPW_Admin/GlobalSuppressions.cs @@ -13,3 +13,4 @@ using System.Diagnostics.CodeAnalysis; [assembly: SuppressMessage("Design", "CA1051:Non dichiarare campi di istanza visibili", Justification = "", Scope = "member", Target = "~F:GPW_Admin.ExportTimbZucchetti.idxDipendente")] [assembly: SuppressMessage("Naming", "CA1716:Gli identificatori non devono corrispondere a parole chiave", Justification = "", Scope = "type", Target = "~T:GPW_Admin.Global")] [assembly: SuppressMessage("Globalization", "CA1303:Non passare valori letterali come parametri localizzati", Justification = "", Scope = "member", Target = "~M:GPW_Admin.infoPage.setupPanels(System.Boolean)")] +[assembly: SuppressMessage("Design", "CA1051:Non dichiarare campi di istanza visibili", Justification = "", Scope = "member", Target = "~F:mod_filtro._css")] diff --git a/GPW_Admin/Web.config b/GPW_Admin/Web.config index f9f39e7..b4bd390 100644 --- a/GPW_Admin/Web.config +++ b/GPW_Admin/Web.config @@ -191,6 +191,10 @@ + + + + diff --git a/GPW_Admin/WebUserControls/mod_adminProgetti.ascx.cs b/GPW_Admin/WebUserControls/mod_adminProgetti.ascx.cs index 72e5e27..a5efe53 100644 --- a/GPW_Admin/WebUserControls/mod_adminProgetti.ascx.cs +++ b/GPW_Admin/WebUserControls/mod_adminProgetti.ascx.cs @@ -7,6 +7,7 @@ using System.Web.UI.WebControls; using System.Data; using SteamWare; using GPW_data; +using System.ServiceModel; namespace GPW_Admin.WebUserControls { @@ -515,10 +516,13 @@ namespace GPW_Admin.WebUserControls { if (!licenzeGPW.checkLicenze) { - // annullo insert se licenze sforate... - e.Cancel = true; - grView.EditIndex = -1; - grView.DataBind(); + if (e != null) + { + // annullo insert se licenze sforate... + e.Cancel = true; + grView.EditIndex = -1; + grView.DataBind(); + } } } diff --git a/GPW_Admin/WebUserControls/mod_autocomplete.ascx.cs b/GPW_Admin/WebUserControls/mod_autocomplete.ascx.cs index f87c8b6..302210b 100644 --- a/GPW_Admin/WebUserControls/mod_autocomplete.ascx.cs +++ b/GPW_Admin/WebUserControls/mod_autocomplete.ascx.cs @@ -9,7 +9,7 @@ using GPW_data; namespace GPW_Admin.WebUserControls { - public partial class mod_autocomplete : System.Web.UI.UserControl + public partial class mod_autocomplete : BaseUserControl { /// /// evento valore selezionato @@ -49,15 +49,6 @@ namespace GPW_Admin.WebUserControls txtSel.Attributes["placeholder"] = placeholder; } } - /// - /// wrapper traduzione - /// - /// - /// - public string traduci(object lemma) - { - return user_std.UtSn.Traduci(lemma.ToString()); - } protected void txtSel_TextChanged(object sender, EventArgs e) { diff --git a/GPW_Admin/WebUserControls/mod_commAttivitaDesk.ascx.cs b/GPW_Admin/WebUserControls/mod_commAttivitaDesk.ascx.cs index 6c7f734..ed5ca9b 100644 --- a/GPW_Admin/WebUserControls/mod_commAttivitaDesk.ascx.cs +++ b/GPW_Admin/WebUserControls/mod_commAttivitaDesk.ascx.cs @@ -7,626 +7,630 @@ using System.Web.UI.WebControls; using SteamWare; using GPW_data; using System.Data; +using System.ServiceModel; namespace GPW_Admin.WebUserControls { - public partial class mod_commAttivitaDesk : System.Web.UI.UserControl - { + public partial class mod_commAttivitaDesk : System.Web.UI.UserControl + { - #region area protected / private + #region area protected / private - protected void Page_Load(object sender, EventArgs e) - { - if (!Page.IsPostBack) - { - refreshControlli(); - pnlHeader.Visible = enableFull; - lblTitle.Text = string.Format("{0:dddd dd/MM/yyyy}", valoreDateTime); - } - } - /// - /// minuti selezionati nel controllo radio in testa - /// - protected int minutiSel - { - get - { - return memLayer.ML.IntSessionObj("stdMinDurata"); - } - set - { - memLayer.ML.setSessionVal("stdMinDurata", value); - } - } - /// - /// refresh dei controlli - /// - private void refreshControlli() - { - bool doDataBound = true; - switch (stato) - { - case statoControllo.edit: - doDataBound = true; - //grView.ShowFooter = false; - //grView.SelectedIndex = grView.EditIndex; - //int idxRASel = Convert.ToInt32(grView.SelectedDataKey["idxRA"]); - //// pre-seleziono idx progetto x ods fase... - //idxFaseSel = DataProxy.DP.taRA.getByKey(idxRASel)[0].idxFase; - //idxProjSel = idxPrjByFase(idxFaseSel); - break; - case statoControllo.insert: - grView.ShowFooter = true; - grView.DataBind(); - // imposto arrotondato ad ora... - DateTime inizio = valoreDateTime.Date.AddHours(DateTime.Now.Hour); - // imposto durate standard! - int minuti = minutiSel; - if (minuti < 0) - { - minuti = 60; - } - // cerco ultimo valore inserito odierno (se c'è) - try - { - DS_Applicazione.RegAttivitaDataTable tabRA = DataProxy.DP.taRA.getByDipData(idxDipCurr, inizio.Date, inizio.Date.AddDays(1)); - inizio = tabRA[tabRA.Rows.Count - 1].fine; - } - catch - { - } - // cerco di impostare inizio/fine - try - { - ((mod_dateTime)grView.FooterRow.FindControl("dtInizio")).valoreDateTime = inizio; - ((mod_dateTime)grView.FooterRow.FindControl("dtFine")).valoreDateTime = inizio.AddMinutes(minuti); - } - catch - { } - doDataBound = false; - break; - case statoControllo.item: - grView.ShowFooter = false; - // cerco di impostare inizio/fine - if (grView.EditIndex >= 0) - { - if (minutiSel > 0) + protected void Page_Load(object sender, EventArgs e) + { + if (!Page.IsPostBack) { - try - { - //salvo valori selezionati - string descrizione = ((TextBox)grView.Rows[grView.EditIndex].FindControl("txtDescrizione")).Text; - DateTime inizioEdit = ((mod_dateTime)grView.Rows[grView.EditIndex].FindControl("dtInizio")).valoreDateTime; - grView.DataBind(); - // reimposto! con durata calcolata - ((mod_dateTime)grView.Rows[grView.EditIndex].FindControl("dtInizio")).valoreDateTime = inizioEdit; - ((mod_dateTime)grView.Rows[grView.EditIndex].FindControl("dtFine")).valoreDateTime = inizioEdit.AddMinutes(minutiSel); - ((TextBox)grView.Rows[grView.EditIndex].FindControl("txtDescrizione")).Text = descrizione; - // DISATTIVO COLLEGAMENTO A DATI... - doDataBound = false; - } - catch - { } + refreshControlli(); + pnlHeader.Visible = enableFull; + lblTitle.Text = string.Format("{0:dddd dd/MM/yyyy}", valoreDateTime); } - } - break; - default: - break; - } - if (doDataBound) - { - grView.DataBind(); - } - } - /// - /// salvo in session che il prox comando è clonare... - /// - /// - /// - protected void imgClona_Click(object sender, ImageClickEventArgs e) - { - ImageButton lbtn = (ImageButton)sender; - int idxRa = 0; - try - { - idxRa = Convert.ToInt32(lbtn.CommandArgument); - } - catch - { } - // chiamo clona! - DataProxy.DP.taRA.clonaRecord(idxRa); - updateControl(); - } - /// - /// fa update del controllo e chiama evento update esterno - /// - private void updateControl() - { - grView.SelectedIndex = -1; - refreshControlli(); - // sollevo evento nuovo valore... - if (eh_nuovoValore != null) - { - eh_nuovoValore(this, new EventArgs()); - } - } - /// - /// completato insert! aggiorno! - /// - /// - /// - protected void odsRA_Inserted(object sender, ObjectDataSourceStatusEventArgs e) - { - stato = statoControllo.item; - refreshControlli(); - } - /// - /// effettuato update - /// - /// - /// - protected void grView_RowUpdated(object sender, GridViewUpdatedEventArgs e) - { - updateControl(); - } - /// - /// riga eliminata - /// - /// - /// - protected void grView_RowDeleted(object sender, GridViewDeletedEventArgs e) - { - updateControl(); - } - /// - /// recupera i dati di un nuovo record contenuti nel footer di un gridView; - /// questi devono esses opportunamente nominati (es: txt{0}, dl{0}, ...) - /// - /// - /// - protected void doInsert() - { - //recupero la riga footer... - int idxDip = DataProxy.idxDipendente; - int idxFase = 0; - DateTime inizio = DateTime.Now; - DateTime fine = DateTime.Now; - string descr = ""; - try - { - idxFase = Convert.ToInt32(((DropDownList)grView.FooterRow.FindControl("ddlFase")).SelectedValue); - inizio = ((mod_dateTime)grView.FooterRow.FindControl("dtInizio")).valoreDateTime; - fine = ((mod_dateTime)grView.FooterRow.FindControl("dtFine")).valoreDateTime; - descr = ((TextBox)grView.FooterRow.FindControl("txtDescrizione")).Text; - } - catch - { } - DataProxy.DP.taRA.Insert(idxDip, idxFase, inizio, fine, descr, 0); - } - /// - /// riga in edit - /// - /// - /// - protected void grView_RowEditing(object sender, GridViewEditEventArgs e) - { - grView.SelectedIndex = e.NewEditIndex; - int idxRASel = Convert.ToInt32(grView.SelectedDataKey["idxRA"]); - // salvo in sessione valori selezionati - idxFaseSel = DataProxy.DP.taRA.getByKey(idxRASel)[0].idxFase; - idxProjSel = idxPrjByFase(idxFaseSel); - } - /// - /// riga popolata - /// - /// - /// - protected void grView_RowDataBound(object sender, GridViewRowEventArgs e) - { - // controllo la riga - GridViewRow riga = e.Row; - if (grView.EditIndex >= 0 || grView.ShowFooter) - { - try - { - //pre-seleziono idx progetto x ods fase... - DropDownList ddlProj_int = (DropDownList)riga.FindControl("ddlProgetto"); - if (idxProjSel >= 0 && (ddlProj_int != null)) - { - ddlProj_int.SelectedValue = idxProjSel.ToString(); - } - DropDownList ddlFase_int = (DropDownList)riga.FindControl("ddlFase"); - if (idxFaseSel >= 0 && (ddlFase_int != null)) - { - ddlFase_int.SelectedValue = idxFaseSel.ToString(); - } } - catch - { } - } - } - /// - /// intercetto update! - /// - /// - /// - protected void odsRA_Updating(object sender, ObjectDataSourceMethodEventArgs e) - { - if (e != null) - { - DropDownList ddlfase_int = (DropDownList)grView.Rows[grView.EditIndex].FindControl("ddlFase"); - e.InputParameters["idxFase"] = ddlfase_int.SelectedValue; - } - } - /// - /// aggiorno ods fasi... - /// - /// - /// - protected void ddlProgetto_SelectedIndexChanged(object sender, EventArgs e) - { - // salvo in session idxProjSel! - DropDownList ddlProj_int = (DropDownList)sender; - idxProjSel = Convert.ToInt32(ddlProj_int.SelectedValue); - // ricarico dati fasi - odsFase.DataBind(); - // se in insert salvo orari e testo... - DateTime inizio = DateTime.Now; - DateTime fine = DateTime.Now; - string descr = ""; - if (stato == statoControllo.insert) - { - inizio = ((mod_dateTime)grView.FooterRow.FindControl("dtInizio")).valoreDateTime; - fine = ((mod_dateTime)grView.FooterRow.FindControl("dtFine")).valoreDateTime; - descr = ((TextBox)grView.FooterRow.FindControl("txtDescrizione")).Text; - } - else - { - // se è edit... - int idx = grView.EditIndex; - inizio = ((mod_dateTime)grView.Rows[idx].FindControl("dtInizio")).valoreDateTime; - fine = ((mod_dateTime)grView.Rows[idx].FindControl("dtFine")).valoreDateTime; - descr = ((TextBox)grView.Rows[idx].FindControl("txtDescrizione")).Text; - } - refreshControlli(); - // se in insert riporto orari e testo... - if (stato == statoControllo.insert) - { - ((mod_dateTime)grView.FooterRow.FindControl("dtInizio")).valoreDateTime = inizio; - ((mod_dateTime)grView.FooterRow.FindControl("dtFine")).valoreDateTime = fine; - ((TextBox)grView.FooterRow.FindControl("txtDescrizione")).Text = descr; - try + /// + /// minuti selezionati nel controllo radio in testa + /// + protected int minutiSel { - DropDownList ddlFase_int = (DropDownList)grView.FooterRow.FindControl("ddlFase"); - ddlFase_int.SelectedIndex = 1; + get + { + return memLayer.ML.IntSessionObj("stdMinDurata"); + } + set + { + memLayer.ML.setSessionVal("stdMinDurata", value); + } } - catch - { } - } - else - { - // se è edit... - int idx = grView.EditIndex; - ((mod_dateTime)grView.Rows[idx].FindControl("dtInizio")).valoreDateTime = inizio; - ((mod_dateTime)grView.Rows[idx].FindControl("dtFine")).valoreDateTime = fine; - ((TextBox)grView.Rows[idx].FindControl("txtDescrizione")).Text = descr; - try + /// + /// refresh dei controlli + /// + private void refreshControlli() { - DropDownList ddlFase_int = (DropDownList)grView.Rows[idx].FindControl("ddlFase"); - ddlFase_int.SelectedIndex = 1; + bool doDataBound = true; + switch (stato) + { + case statoControllo.edit: + doDataBound = true; + //grView.ShowFooter = false; + //grView.SelectedIndex = grView.EditIndex; + //int idxRASel = Convert.ToInt32(grView.SelectedDataKey["idxRA"]); + //// pre-seleziono idx progetto x ods fase... + //idxFaseSel = DataProxy.DP.taRA.getByKey(idxRASel)[0].idxFase; + //idxProjSel = idxPrjByFase(idxFaseSel); + break; + case statoControllo.insert: + grView.ShowFooter = true; + grView.DataBind(); + // imposto arrotondato ad ora... + DateTime inizio = valoreDateTime.Date.AddHours(DateTime.Now.Hour); + // imposto durate standard! + int minuti = minutiSel; + if (minuti < 0) + { + minuti = 60; + } + // cerco ultimo valore inserito odierno (se c'è) + try + { + DS_Applicazione.RegAttivitaDataTable tabRA = DataProxy.DP.taRA.getByDipData(idxDipCurr, inizio.Date, inizio.Date.AddDays(1)); + inizio = tabRA[tabRA.Rows.Count - 1].fine; + } + catch + { + } + // cerco di impostare inizio/fine + try + { + ((mod_dateTime)grView.FooterRow.FindControl("dtInizio")).valoreDateTime = inizio; + ((mod_dateTime)grView.FooterRow.FindControl("dtFine")).valoreDateTime = inizio.AddMinutes(minuti); + } + catch + { } + doDataBound = false; + break; + case statoControllo.item: + grView.ShowFooter = false; + // cerco di impostare inizio/fine + if (grView.EditIndex >= 0) + { + if (minutiSel > 0) + { + try + { + //salvo valori selezionati + string descrizione = ((TextBox)grView.Rows[grView.EditIndex].FindControl("txtDescrizione")).Text; + DateTime inizioEdit = ((mod_dateTime)grView.Rows[grView.EditIndex].FindControl("dtInizio")).valoreDateTime; + grView.DataBind(); + // reimposto! con durata calcolata + ((mod_dateTime)grView.Rows[grView.EditIndex].FindControl("dtInizio")).valoreDateTime = inizioEdit; + ((mod_dateTime)grView.Rows[grView.EditIndex].FindControl("dtFine")).valoreDateTime = inizioEdit.AddMinutes(minutiSel); + ((TextBox)grView.Rows[grView.EditIndex].FindControl("txtDescrizione")).Text = descrizione; + // DISATTIVO COLLEGAMENTO A DATI... + doDataBound = false; + } + catch + { } + } + } + break; + default: + break; + } + if (doDataBound) + { + grView.DataBind(); + } + } + /// + /// salvo in session che il prox comando è clonare... + /// + /// + /// + protected void imgClona_Click(object sender, ImageClickEventArgs e) + { + ImageButton lbtn = (ImageButton)sender; + int idxRa = 0; + try + { + idxRa = Convert.ToInt32(lbtn.CommandArgument); + } + catch + { } + // chiamo clona! + DataProxy.DP.taRA.clonaRecord(idxRa); + updateControl(); + } + /// + /// fa update del controllo e chiama evento update esterno + /// + private void updateControl() + { + grView.SelectedIndex = -1; + refreshControlli(); + // sollevo evento nuovo valore... + if (eh_nuovoValore != null) + { + eh_nuovoValore(this, new EventArgs()); + } + } + /// + /// completato insert! aggiorno! + /// + /// + /// + protected void odsRA_Inserted(object sender, ObjectDataSourceStatusEventArgs e) + { + stato = statoControllo.item; + refreshControlli(); + } + /// + /// effettuato update + /// + /// + /// + protected void grView_RowUpdated(object sender, GridViewUpdatedEventArgs e) + { + updateControl(); + } + /// + /// riga eliminata + /// + /// + /// + protected void grView_RowDeleted(object sender, GridViewDeletedEventArgs e) + { + updateControl(); + } + /// + /// recupera i dati di un nuovo record contenuti nel footer di un gridView; + /// questi devono esses opportunamente nominati (es: txt{0}, dl{0}, ...) + /// + /// + /// + protected void doInsert() + { + //recupero la riga footer... + int idxDip = DataProxy.idxDipendente; + int idxFase = 0; + DateTime inizio = DateTime.Now; + DateTime fine = DateTime.Now; + string descr = ""; + try + { + idxFase = Convert.ToInt32(((DropDownList)grView.FooterRow.FindControl("ddlFase")).SelectedValue); + inizio = ((mod_dateTime)grView.FooterRow.FindControl("dtInizio")).valoreDateTime; + fine = ((mod_dateTime)grView.FooterRow.FindControl("dtFine")).valoreDateTime; + descr = ((TextBox)grView.FooterRow.FindControl("txtDescrizione")).Text; + } + catch + { } + DataProxy.DP.taRA.Insert(idxDip, idxFase, inizio, fine, descr, 0); + } + /// + /// riga in edit + /// + /// + /// + protected void grView_RowEditing(object sender, GridViewEditEventArgs e) + { + if (e != null) + { + grView.SelectedIndex = e.NewEditIndex; + int idxRASel = Convert.ToInt32(grView.SelectedDataKey["idxRA"]); + // salvo in sessione valori selezionati + idxFaseSel = DataProxy.DP.taRA.getByKey(idxRASel)[0].idxFase; + idxProjSel = idxPrjByFase(idxFaseSel); + } + } + /// + /// riga popolata + /// + /// + /// + protected void grView_RowDataBound(object sender, GridViewRowEventArgs e) + { + // controllo la riga + GridViewRow riga = e.Row; + if (grView.EditIndex >= 0 || grView.ShowFooter) + { + try + { + //pre-seleziono idx progetto x ods fase... + DropDownList ddlProj_int = (DropDownList)riga.FindControl("ddlProgetto"); + if (idxProjSel >= 0 && (ddlProj_int != null)) + { + ddlProj_int.SelectedValue = idxProjSel.ToString(); + } + DropDownList ddlFase_int = (DropDownList)riga.FindControl("ddlFase"); + if (idxFaseSel >= 0 && (ddlFase_int != null)) + { + ddlFase_int.SelectedValue = idxFaseSel.ToString(); + } + } + catch + { } + } + } + /// + /// intercetto update! + /// + /// + /// + protected void odsRA_Updating(object sender, ObjectDataSourceMethodEventArgs e) + { + if (e != null) + { + DropDownList ddlfase_int = (DropDownList)grView.Rows[grView.EditIndex].FindControl("ddlFase"); + e.InputParameters["idxFase"] = ddlfase_int.SelectedValue; + } + } + /// + /// aggiorno ods fasi... + /// + /// + /// + protected void ddlProgetto_SelectedIndexChanged(object sender, EventArgs e) + { + // salvo in session idxProjSel! + DropDownList ddlProj_int = (DropDownList)sender; + idxProjSel = Convert.ToInt32(ddlProj_int.SelectedValue); + // ricarico dati fasi + odsFase.DataBind(); + // se in insert salvo orari e testo... + DateTime inizio = DateTime.Now; + DateTime fine = DateTime.Now; + string descr = ""; + if (stato == statoControllo.insert) + { + inizio = ((mod_dateTime)grView.FooterRow.FindControl("dtInizio")).valoreDateTime; + fine = ((mod_dateTime)grView.FooterRow.FindControl("dtFine")).valoreDateTime; + descr = ((TextBox)grView.FooterRow.FindControl("txtDescrizione")).Text; + } + else + { + // se è edit... + int idx = grView.EditIndex; + inizio = ((mod_dateTime)grView.Rows[idx].FindControl("dtInizio")).valoreDateTime; + fine = ((mod_dateTime)grView.Rows[idx].FindControl("dtFine")).valoreDateTime; + descr = ((TextBox)grView.Rows[idx].FindControl("txtDescrizione")).Text; + } + refreshControlli(); + // se in insert riporto orari e testo... + if (stato == statoControllo.insert) + { + ((mod_dateTime)grView.FooterRow.FindControl("dtInizio")).valoreDateTime = inizio; + ((mod_dateTime)grView.FooterRow.FindControl("dtFine")).valoreDateTime = fine; + ((TextBox)grView.FooterRow.FindControl("txtDescrizione")).Text = descr; + try + { + DropDownList ddlFase_int = (DropDownList)grView.FooterRow.FindControl("ddlFase"); + ddlFase_int.SelectedIndex = 1; + } + catch + { } + } + else + { + // se è edit... + int idx = grView.EditIndex; + ((mod_dateTime)grView.Rows[idx].FindControl("dtInizio")).valoreDateTime = inizio; + ((mod_dateTime)grView.Rows[idx].FindControl("dtFine")).valoreDateTime = fine; + ((TextBox)grView.Rows[idx].FindControl("txtDescrizione")).Text = descr; + try + { + DropDownList ddlFase_int = (DropDownList)grView.Rows[idx].FindControl("ddlFase"); + ddlFase_int.SelectedIndex = 1; + } + catch + { } + } + } + /// + /// progetto selezionato + /// + protected int idxProjSel + { + get + { + return memLayer.ML.IntSessionObj("idxProjSel"); + } + set + { + memLayer.ML.setSessionVal("idxProjSel", value); + } + } + /// + /// fase selezionata + /// + protected int idxFaseSel + { + get + { + return memLayer.ML.IntSessionObj("idxFaseSel"); + } + set + { + memLayer.ML.setSessionVal("idxFaseSel", value); + } + } + /// + /// generico comando riga + /// + /// + /// + protected void grView_RowCommand(object sender, GridViewCommandEventArgs e) + { + switch (e.CommandName) + { + case "Cancel": + stato = statoControllo.item; + updateControl(); + break; + case "Insert": + doInsert(); + stato = statoControllo.item; + updateControl(); + break; + default: + break; + } } - catch - { } - } - } - /// - /// progetto selezionato - /// - protected int idxProjSel - { - get - { - return memLayer.ML.IntSessionObj("idxProjSel"); - } - set - { - memLayer.ML.setSessionVal("idxProjSel", value); - } - } - /// - /// fase selezionata - /// - protected int idxFaseSel - { - get - { - return memLayer.ML.IntSessionObj("idxFaseSel"); - } - set - { - memLayer.ML.setSessionVal("idxFaseSel", value); - } - } - /// - /// generico comando riga - /// - /// - /// - protected void grView_RowCommand(object sender, GridViewCommandEventArgs e) - { - switch (e.CommandName) - { - case "Cancel": - stato = statoControllo.item; - updateControl(); - break; - case "Insert": - doInsert(); - stato = statoControllo.item; - updateControl(); - break; - default: - break; - } - } - #endregion + #endregion - #region area public + #region area public - /// - /// idxDipendente selezionato (0=tutti) - /// - public int idxDipCurr - { - get - { - return memLayer.ML.IntSessionObj("idxDipCurr"); - } - set - { - memLayer.ML.setSessionVal("idxDipCurr", value); - } - } - /// - /// progetto selezionato.. - /// - public string idxProgetto - { - get - { - return idxProjSel.ToString(); - } - } - /// - /// abilitato editing + nuovo + delete + clona - /// - public bool enableFull - { - get - { - bool answ = false; - try + /// + /// idxDipendente selezionato (0=tutti) + /// + public int idxDipCurr { - answ = memLayer.ML.BoolSessionObj("enableEditComm"); + get + { + return memLayer.ML.IntSessionObj("idxDipCurr"); + } + set + { + memLayer.ML.setSessionVal("idxDipCurr", value); + } } - catch - { } - return answ; - } - set - { - memLayer.ML.setSessionVal("enableEditComm", value); - } - } - /// - /// stato attuale del controllo - /// - public statoControllo stato - { - get - { - statoControllo answ = statoControllo.item; - try + /// + /// progetto selezionato.. + /// + public string idxProgetto { - answ = (statoControllo)memLayer.ML.objSessionObj("statoControlloRA"); + get + { + return idxProjSel.ToString(); + } } - catch - { } - return answ; - } - set - { - memLayer.ML.setSessionVal("statoControlloRA", value); - } - } - /// - /// valore datetime selezionato! - /// - public DateTime valoreDateTime - { - get - { - DateTime answ = DateTime.Now; - try + /// + /// abilitato editing + nuovo + delete + clona + /// + public bool enableFull { - answ = Convert.ToDateTime(memLayer.ML.objSessionObj("dataRif")); + get + { + bool answ = false; + try + { + answ = memLayer.ML.BoolSessionObj("enableEditComm"); + } + catch + { } + return answ; + } + set + { + memLayer.ML.setSessionVal("enableEditComm", value); + } + } + /// + /// stato attuale del controllo + /// + public statoControllo stato + { + get + { + statoControllo answ = statoControllo.item; + try + { + answ = (statoControllo)memLayer.ML.objSessionObj("statoControlloRA"); + } + catch + { } + return answ; + } + set + { + memLayer.ML.setSessionVal("statoControlloRA", value); + } + } + /// + /// valore datetime selezionato! + /// + public DateTime valoreDateTime + { + get + { + DateTime answ = DateTime.Now; + try + { + answ = Convert.ToDateTime(memLayer.ML.objSessionObj("dataRif")); + } + catch + { } + return answ; + } + set + { + memLayer.ML.setSessionVal("dataRif", value); + lblTitle.Text = string.Format("{0:dddd dd/MM/yyyy}", value); + } + } + /// + /// evento update valori + /// + public event EventHandler eh_nuovoValore; + /// + /// effettua traduzione del lemma + /// + /// + /// + public string traduci(string lemma) + { + return user_std.UtSn.Traduci(lemma); + } + /// + /// aggiorna + /// + public void doUpdate() + { + refreshControlli(); } - catch - { } - return answ; - } - set - { - memLayer.ML.setSessionVal("dataRif", value); - lblTitle.Text = string.Format("{0:dddd dd/MM/yyyy}", value); - } - } - /// - /// evento update valori - /// - public event EventHandler eh_nuovoValore; - /// - /// effettua traduzione del lemma - /// - /// - /// - public string traduci(string lemma) - { - return user_std.UtSn.Traduci(lemma); - } - /// - /// aggiorna - /// - public void doUpdate() - { - refreshControlli(); - } - /// - /// calcola idxProgetto da idxFase - /// - /// - /// - public int idxPrjByFase(object idxFase) - { - int answ = 0; - try - { - answ = DataProxy.DP.taAF.getByIdx(Convert.ToInt32(idxFase))[0].idxProgetto; - } - catch - { } - return answ; - } - /// - /// sistemo eventuali "headers" - /// - /// - /// - protected void ddlFase_DataBound(object sender, EventArgs e) - { - if (sender != null) - { - // cerco eventuali controlli tipo "ancestor" e li disattivo! - DropDownList ddlFase_int = (DropDownList)sender; - ListItem li = new ListItem(); - while (li != null) + /// + /// calcola idxProgetto da idxFase + /// + /// + /// + public int idxPrjByFase(object idxFase) { - li = ddlFase_int.Items.FindByValue("0"); - try - { - li.Attributes.Add("style", "color:gray;"); - li.Attributes.Add("disabled", "true"); - li.Value = "-1"; - li.Text = string.Format("[ {0} ]", li.Text); - } - catch - { } + int answ = 0; + try + { + answ = DataProxy.DP.taAF.getByIdx(Convert.ToInt32(idxFase))[0].idxProgetto; + } + catch + { } + return answ; } - try + /// + /// sistemo eventuali "headers" + /// + /// + /// + protected void ddlFase_DataBound(object sender, EventArgs e) { - ddlFase_int.SelectedIndex = 1; + if (sender != null) + { + // cerco eventuali controlli tipo "ancestor" e li disattivo! + DropDownList ddlFase_int = (DropDownList)sender; + ListItem li = new ListItem(); + while (li != null) + { + li = ddlFase_int.Items.FindByValue("0"); + try + { + li.Attributes.Add("style", "color:gray;"); + li.Attributes.Add("disabled", "true"); + li.Value = "-1"; + li.Text = string.Format("[ {0} ]", li.Text); + } + catch + { } + } + try + { + ddlFase_int.SelectedIndex = 1; + } + catch + { } + } } - catch - { } - } - } - /// - /// richiesta creazioen nuovo record - /// - /// - /// - protected void btnNew_Click(object sender, EventArgs e) - { - if (grView.Rows.Count > 0) - { - // controllo: se ho righe mostro il footer... - stato = statoControllo.insert; - refreshControlli(); - } - else - { - // default: inizia ora la dichiarazione - double oraStart = DateTime.Now.Hour; - int durataMinuti = memLayer.ML.IntSessionObj("stdMinDurata"); - // se c'è timbratura ingresso prendo quella come ora inizio... - try + /// + /// richiesta creazioen nuovo record + /// + /// + /// + protected void btnNew_Click(object sender, EventArgs e) { - DS_Applicazione.TimbratureRow riga = DataProxy.DP.taTimb.getByIdxDipPeriodo(DataProxy.idxDipendente, valoreDateTime, valoreDateTime.AddDays(1))[0]; - oraStart = Convert.ToDouble(riga.dataOra.Hour + riga.dataOra.Minute / 60); + if (grView.Rows.Count > 0) + { + // controllo: se ho righe mostro il footer... + stato = statoControllo.insert; + refreshControlli(); + } + else + { + // default: inizia ora la dichiarazione + double oraStart = DateTime.Now.Hour; + int durataMinuti = memLayer.ML.IntSessionObj("stdMinDurata"); + // se c'è timbratura ingresso prendo quella come ora inizio... + try + { + DS_Applicazione.TimbratureRow riga = DataProxy.DP.taTimb.getByIdxDipPeriodo(DataProxy.idxDipendente, valoreDateTime, valoreDateTime.AddDays(1))[0]; + oraStart = Convert.ToDouble(riga.dataOra.Hour + riga.dataOra.Minute / 60); + } + catch + { } + // altrimenti duplico ultima entry utente.. + DataProxy.DP.taRA.clonaLastRA_Utente(DataProxy.idxDipendente, valoreDateTime.AddHours(oraStart), durataMinuti); + updateControl(); + } } - catch - { } - // altrimenti duplico ultima entry utente.. - DataProxy.DP.taRA.clonaLastRA_Utente(DataProxy.idxDipendente, valoreDateTime.AddHours(oraStart), durataMinuti); - updateControl(); - } - } - /// - /// esegue ricerca progetto/fase x sovrascrivere - /// - /// - /// - protected void txtSearchFase_TextChanged(object sender, EventArgs e) - { - if (sender != null) - { - // recupero testo... - string search = ""; - try + /// + /// esegue ricerca progetto/fase x sovrascrivere + /// + /// + /// + protected void txtSearchFase_TextChanged(object sender, EventArgs e) { - search = ((TextBox)sender).Text.Trim(); + if (sender != null) + { + // recupero testo... + string search = ""; + try + { + search = ((TextBox)sender).Text.Trim(); + } + catch + { } + if (!string.IsNullOrEmpty(search)) + { + // faccio ricerca x progetto e fase... + GPW_data.DS_Utility.stp_VSProjFasi_searchDataTable tabRes = DataProxy.DP.taVSProjFasiSearch.GetData(search); + if (tabRes.Rows.Count > 0) + { + idxFaseSel = tabRes[0].idxFase; + idxProjSel = tabRes[0].idxProgetto; + } + } + //stato = statoControllo.edit; + //refreshControlli(); + //stato = statoControllo.item; + //minutiSel = -1; + } + refreshControlli(); } - catch - { } - if (!string.IsNullOrEmpty(search)) - { - // faccio ricerca x progetto e fase... - GPW_data.DS_Utility.stp_VSProjFasi_searchDataTable tabRes = DataProxy.DP.taVSProjFasiSearch.GetData(search); - if (tabRes.Rows.Count > 0) - { - idxFaseSel = tabRes[0].idxFase; - idxProjSel = tabRes[0].idxProgetto; - } - } - //stato = statoControllo.edit; - //refreshControlli(); - //stato = statoControllo.item; - //minutiSel = -1; - } - refreshControlli(); - } - /// - /// formatta la durata in ore secondo web.config (centesimale/ore:min) - /// - /// - /// - public string formatDurata(object oreCent) - { - decimal ore = 0; - try - { - ore = Convert.ToDecimal(oreCent); - } - catch - { } - string answ = ""; - if (memLayer.ML.confReadBool("reviewShowOreMin")) - { - answ = utils.formOreMin(ore); - } - else - { - answ = ore.ToString("0.00"); - } - return answ; + /// + /// formatta la durata in ore secondo web.config (centesimale/ore:min) + /// + /// + /// + public string formatDurata(object oreCent) + { + decimal ore = 0; + try + { + ore = Convert.ToDecimal(oreCent); + } + catch + { } + string answ = ""; + if (memLayer.ML.confReadBool("reviewShowOreMin")) + { + answ = utils.formOreMin(ore); + } + else + { + answ = ore.ToString("0.00"); + } + return answ; + } + + #endregion + } - - #endregion - - } } \ No newline at end of file diff --git a/GPW_Admin/WebUserControls/mod_dettaglioProgetto.ascx.cs b/GPW_Admin/WebUserControls/mod_dettaglioProgetto.ascx.cs index e36126e..d4568ad 100644 --- a/GPW_Admin/WebUserControls/mod_dettaglioProgetto.ascx.cs +++ b/GPW_Admin/WebUserControls/mod_dettaglioProgetto.ascx.cs @@ -105,13 +105,16 @@ namespace GPW_Admin.WebUserControls /// protected void chkStarred_CheckedChanged(object sender, EventArgs e) { - // chiamo update attivo/non attivo... - CheckBox chkBox = (CheckBox)sender; - DataProxy.DP.taAP.updateStarred(chkBox.Checked, memLayer.ML.IntSessionObj("idxProgetto_sel")); - fmView.DataBind(); - if (eh_nuovoValore != null) + if (sender != null) { - eh_nuovoValore(this, new EventArgs()); + // chiamo update attivo/non attivo... + CheckBox chkBox = (CheckBox)sender; + DataProxy.DP.taAP.updateStarred(chkBox.Checked, memLayer.ML.IntSessionObj("idxProgetto_sel")); + fmView.DataBind(); + if (eh_nuovoValore != null) + { + eh_nuovoValore(this, new EventArgs()); + } } } /// diff --git a/GPW_Admin/WebUserControls/mod_spostaOre.ascx.cs b/GPW_Admin/WebUserControls/mod_spostaOre.ascx.cs index be623e7..98a00c0 100644 --- a/GPW_Admin/WebUserControls/mod_spostaOre.ascx.cs +++ b/GPW_Admin/WebUserControls/mod_spostaOre.ascx.cs @@ -386,20 +386,23 @@ namespace GPW_Admin.WebUserControls /// protected void btnSelAll_Click(object sender, EventArgs e) { - // seleziono tutti i valori visibili nel datagrid - CheckBox chkbox = ((CheckBox)sender); - bool isChecked = chkbox.Checked; - if (!isChecked) + if (sender != null) { - chkbox.ToolTip = "Seleziona tutti"; - } - else - { - chkbox.ToolTip = "Deseleziona tutti"; - } - foreach (GridViewRow riga in grView.Rows) - { - ((CheckBox)riga.FindControl("chkSelect")).Checked = isChecked; + // seleziono tutti i valori visibili nel datagrid + CheckBox chkbox = ((CheckBox)sender); + bool isChecked = chkbox.Checked; + if (!isChecked) + { + chkbox.ToolTip = "Seleziona tutti"; + } + else + { + chkbox.ToolTip = "Deseleziona tutti"; + } + foreach (GridViewRow riga in grView.Rows) + { + ((CheckBox)riga.FindControl("chkSelect")).Checked = isChecked; + } } } /// @@ -486,28 +489,31 @@ namespace GPW_Admin.WebUserControls /// protected void ddlFase_DataBound(object sender, EventArgs e) { - // cerco eventuali controlli tipo "ancestor" e li disattivo! - DropDownList ddlFase_int = (DropDownList)sender; - ListItem li = new ListItem(); - while (li != null) + if (sender != null) { - li = ddlFase_int.Items.FindByValue("0"); + // cerco eventuali controlli tipo "ancestor" e li disattivo! + DropDownList ddlFase_int = (DropDownList)sender; + ListItem li = new ListItem(); + while (li != null) + { + li = ddlFase_int.Items.FindByValue("0"); + try + { + li.Attributes.Add("style", "color:gray;"); + li.Attributes.Add("disabled", "true"); + li.Value = "-1"; + li.Text = string.Format("[ {0} ]", li.Text); + } + catch + { } + } try { - li.Attributes.Add("style", "color:gray;"); - li.Attributes.Add("disabled", "true"); - li.Value = "-1"; - li.Text = string.Format("[ {0} ]", li.Text); + ddlFase_int.SelectedIndex = 1; } catch { } } - try - { - ddlFase_int.SelectedIndex = 1; - } - catch - { } } protected void grView_PageIndexChanged(object sender, EventArgs e) diff --git a/GPW_Admin/WebUserControls/mod_timbrMensili.ascx.cs b/GPW_Admin/WebUserControls/mod_timbrMensili.ascx.cs index a9affe7..2b398c2 100644 --- a/GPW_Admin/WebUserControls/mod_timbrMensili.ascx.cs +++ b/GPW_Admin/WebUserControls/mod_timbrMensili.ascx.cs @@ -154,8 +154,11 @@ namespace GPW_Admin.WebUserControls /// protected DataColumnCollection colonneObj() { - DS_Applicazione.TimbMeseExplDataTable tabella = new DS_Applicazione.TimbMeseExplDataTable(); - DataColumnCollection colonne = tabella.Columns; + DataColumnCollection colonne = null; + using (DS_Applicazione.TimbMeseExplDataTable tabella = new DS_Applicazione.TimbMeseExplDataTable()) + { + colonne = tabella.Columns; + } return colonne; } /// diff --git a/GPW_Barcode/GPW_Barcode.csproj b/GPW_Barcode/GPW_Barcode.csproj index 3d92e42..59fcf19 100644 --- a/GPW_Barcode/GPW_Barcode.csproj +++ b/GPW_Barcode/GPW_Barcode.csproj @@ -518,6 +518,9 @@ + + .editorconfig + diff --git a/GPW_Barcode/Web.config b/GPW_Barcode/Web.config index 70fa3b5..8ebae2c 100644 --- a/GPW_Barcode/Web.config +++ b/GPW_Barcode/Web.config @@ -182,6 +182,10 @@ + + + + diff --git a/GPW_Barcode/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/GPW_Barcode/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache index bd5cceaeb809a45033c65205273ed62e9d3f7b28..e07a605f4768f4f773d2836d19eb037dd9c93965 100644 GIT binary patch delta 4479 zcmY*c30Ra>7xsK|KW1eXKoHj~wMf|LweJ>7odL^oxVkBR{GM6r5@5$l zF9y9?)6>%b&$KI`#hZ+I^BPI=OSomu0CdfcmR<(jXGq55vm;qNg*Y0^=B8r&`{w#` zg33QWTZ3QC)uC~2XvnyHxf@xIlezTNoF_6hDaRjjTUr65-pS+fc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4mWHJBp;vESnViSxM$;JNG zis^~BRs^cK+X9dM7Q+mLtnwn8@2IfiP9J6@bd4KLV^uzlrWSNq z+2G3p2wKF2cY@_ChUH%H*4XsfQRmxAP5_uj>ORW zFF-K1`#oJndsXDsQchqLe&~ITIkF_zl4Hw^v^Xt-)rt&Epb*lHQMpc=vqXTc3C!gn zDjpcv^F&pOsdYREgEqM7!6ax)_Q$h!#1Uo0o4@O%_7XkAUB@WwVMpkI=?`Z@N4YQ1 zgEQ`t5njNwN3+@ANN2J*AAKKpWSxkbg_cK7JpVWlUX;tVBz*pc)-b@4>&&-g(gUA& zzcV&Iak5BjM&UTLKPlBDI~;Zw=OxU0S`IH$;!~k3HEBGa`NN-eBeN6SP7K;XLxqv< z1lm2IKF*dqNx&fl7kgmr@uwMH;dX+A06kqTcDvOsBtuEk6S@JrJqv(WvEQ?q?6v0j zqHYiXJr?zY681XbWgg3NM}X&{Coe}a>qVS=FQ>f(2Ix&GjF;(CqmIh4IfcVFi z$-)UP^}4S11Et(kLH_#+|C~0(SaP%YyN*}BABi{RK~93u#x%Z+EtAqw!LGh&pF z`auBePYiE0Wnn%}2|6}_@EJ`C^4CfTVvz*S{wt^tOvtxU{PDp;VpT(0cJrW zrwa7qMa8*Eq|{Wc+eR=$GC3=SVLalU*G-^hkRmsC Zz@wOj&@^{plyYfHP(#YjcUnT2^goH>uz3Ig diff --git a/GPW_Commesse/GPW_Commesse.csproj b/GPW_Commesse/GPW_Commesse.csproj index 3d5efad..88192ca 100644 --- a/GPW_Commesse/GPW_Commesse.csproj +++ b/GPW_Commesse/GPW_Commesse.csproj @@ -258,6 +258,9 @@ + + .editorconfig + BuildBlocks.less diff --git a/GPW_Commesse/Web.config b/GPW_Commesse/Web.config index 2d6c07f..562c1c2 100644 --- a/GPW_Commesse/Web.config +++ b/GPW_Commesse/Web.config @@ -1,4 +1,4 @@ - + - - + + - + - - + + - - + + - - - + + + - + - + - - - - + + + + - - - + + + - + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - + + + - + - + - - - - + + + + - - - - + + + + - - - + + + - + - - + + - + - - + + - - + + - + - - - - - + + + + + - + - - - - - + + + + + - + - - - - - + + + + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + + + + + - + - - - - - + + + + + - - - - - - - - + + + + + + + + - - - - + + + + - - + + - + - + diff --git a/GPW_Smart/GPW_Smart.csproj b/GPW_Smart/GPW_Smart.csproj index c367624..a338d57 100644 --- a/GPW_Smart/GPW_Smart.csproj +++ b/GPW_Smart/GPW_Smart.csproj @@ -544,6 +544,9 @@ + + .editorconfig + diff --git a/GPW_data/GPW_data.csproj b/GPW_data/GPW_data.csproj index bce3075..49ff9d7 100644 --- a/GPW_data/GPW_data.csproj +++ b/GPW_data/GPW_data.csproj @@ -105,8 +105,6 @@ ..\packages\System.IO.Compression.4.3.0\lib\net46\System.IO.Compression.dll - True - True ..\packages\System.IO.Pipelines.4.7.2\lib\net461\System.IO.Pipelines.dll diff --git a/HOME/HOME.csproj b/HOME/HOME.csproj index 334d441..57a0cb2 100644 --- a/HOME/HOME.csproj +++ b/HOME/HOME.csproj @@ -171,6 +171,9 @@ + + .editorconfig + compilerconfig.json