From 24e78dd99a11b08392fcee151e3ccaf63fafa5c6 Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Thu, 10 Sep 2020 19:20:12 +0200 Subject: [PATCH] Ancora fix namespaces vari --- MP-ADM/WebMasterPages/AjaxSimple.master | 5 +- MP-ADM/WebMasterPages/AjaxSimple.master.cs | 11 +- .../AjaxSimple.master.designer.cs | 47 ++-- MP-ADM/WebMasterPages/Bootstrap.Master.cs | 8 +- MP-ADM/WebMasterPages/MoonPro.master | 132 +++++----- MP-ADM/WebMasterPages/MoonPro.master.cs | 54 ++-- .../WebMasterPages/MoonPro.master.designer.cs | 29 +-- MP-ADM/WebUserControls/mod_calChiusura.ascx | 2 +- .../WebUserControls/mod_calChiusura.ascx.cs | 215 ++++++++-------- .../mod_calChiusura.ascx.designer.cs | 232 +++++++++--------- MP-ADM/WebUserControls/mod_fixCal.ascx | 2 +- .../mod_fixCal.ascx.designer.cs | 27 +- .../WebUserControls/mod_gestioneODL.ascx.cs | 19 +- MP-ADM/WebUserControls/mod_menuBottom.ascx | 2 +- MP-ADM/calendChiusura.aspx | 12 +- MP-ADM/calendChiusura.aspx.designer.cs | 41 ++-- 16 files changed, 418 insertions(+), 420 deletions(-) diff --git a/MP-ADM/WebMasterPages/AjaxSimple.master b/MP-ADM/WebMasterPages/AjaxSimple.master index f82afa17..6edbcedc 100644 --- a/MP-ADM/WebMasterPages/AjaxSimple.master +++ b/MP-ADM/WebMasterPages/AjaxSimple.master @@ -1,7 +1,8 @@ <%@ Master Language="C#" AutoEventWireup="True" Inherits="AjaxSimple" CodeBehind="AjaxSimple.master.cs" %> <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %> -<%@ Register Src="~/WebUserControls/mod_menuBottom.ascx" TagName="mod_menuBottom" TagPrefix="uc1" %> +<%@ Register Src="~/WebUserControls/mod_menuBottom.ascx" TagPrefix="uc1" TagName="mod_menuBottom" %> + @@ -28,7 +29,7 @@ - + diff --git a/MP-ADM/WebMasterPages/AjaxSimple.master.cs b/MP-ADM/WebMasterPages/AjaxSimple.master.cs index bc961687..eb2d6baf 100644 --- a/MP-ADM/WebMasterPages/AjaxSimple.master.cs +++ b/MP-ADM/WebMasterPages/AjaxSimple.master.cs @@ -1,11 +1,12 @@ +using SteamWare; using System; using System.Web.UI; public partial class AjaxSimple : System.Web.UI.MasterPage { - protected override void OnLoad(EventArgs e) - { - base.OnLoad(e); - Page.Title = memLayer.ML.CRS("_titoloPagina"); - } + protected override void OnLoad(EventArgs e) + { + base.OnLoad(e); + Page.Title = memLayer.ML.CRS("_titoloPagina"); + } } diff --git a/MP-ADM/WebMasterPages/AjaxSimple.master.designer.cs b/MP-ADM/WebMasterPages/AjaxSimple.master.designer.cs index 263fe0fc..2688230b 100644 --- a/MP-ADM/WebMasterPages/AjaxSimple.master.designer.cs +++ b/MP-ADM/WebMasterPages/AjaxSimple.master.designer.cs @@ -1,49 +1,50 @@ //------------------------------------------------------------------------------ -// -// This code was generated by a tool. +// +// Codice generato da uno strumento. // -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// +// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se +// il codice viene rigenerato. +// //------------------------------------------------------------------------------ -public partial class AjaxSimple { - +public partial class AjaxSimple +{ + /// - /// form1 control. + /// Controllo form1. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::System.Web.UI.HtmlControls.HtmlForm form1; - + /// - /// sm control. + /// Controllo sm. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::System.Web.UI.ScriptManager sm; - + /// - /// ContentPlaceHolder1 control. + /// Controllo ContentPlaceHolder1. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::System.Web.UI.WebControls.ContentPlaceHolder ContentPlaceHolder1; - + /// - /// Mod_menuBottom1 control. + /// Controllo mod_menuBottom. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// - protected global::mod_menuBottom Mod_menuBottom1; + protected global::MP_ADM.WebUserControls.mod_menuBottom mod_menuBottom; } diff --git a/MP-ADM/WebMasterPages/Bootstrap.Master.cs b/MP-ADM/WebMasterPages/Bootstrap.Master.cs index 6cc7a31a..1c1b2820 100644 --- a/MP-ADM/WebMasterPages/Bootstrap.Master.cs +++ b/MP-ADM/WebMasterPages/Bootstrap.Master.cs @@ -2,11 +2,11 @@ namespace MP_ADM.WebMasterPages { - public partial class Bootstrap : System.Web.UI.MasterPage - { - protected void Page_Load(object sender, EventArgs e) + public partial class Bootstrap : System.Web.UI.MasterPage { + protected void Page_Load(object sender, EventArgs e) + { + } } - } } \ No newline at end of file diff --git a/MP-ADM/WebMasterPages/MoonPro.master b/MP-ADM/WebMasterPages/MoonPro.master index 15b8d8fc..ad8ff638 100644 --- a/MP-ADM/WebMasterPages/MoonPro.master +++ b/MP-ADM/WebMasterPages/MoonPro.master @@ -3,82 +3,82 @@ <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %> <%@ Register Src="~/WebUserControls/mod_menuTop.ascx" TagName="mod_menuTop" TagPrefix="uc1" %> <%@ Register Src="~/WebUserControls/mod_pageTitleAndSearch.ascx" TagName="mod_pageTitleAndSearch" - TagPrefix="uc3" %> + TagPrefix="uc3" %> <%@ Register Src="~/WebUserControls/mod_ricercaGenerica.ascx" TagName="mod_ricercaGenerica" - TagPrefix="uc4" %> + TagPrefix="uc4" %> <%@ Register Src="~/WebUserControls/mod_menuBottom.ascx" TagName="mod_menuBottom" - TagPrefix="uc5" %> + TagPrefix="uc5" %> - MP-ADM: <%: SteamWare.devicesAuthProxy.getPage(Request.Url) %> - - - - - - - - - + MP-ADM: <%: SteamWare.devicesAuthProxy.getPage(Request.Url) %> + + + + + + + + + - <%-- - --%> - - <%: Scripts.Render("~/bundles/jquery") %> - <%: Scripts.Render("~/bundles/jqueryui") %> - - - + <%-- + --%> + + <%: Scripts.Render("~/bundles/jquery") %> + <%: Scripts.Render("~/bundles/jqueryui") %> + + + -
- - - <%--Framework Scripts--%> - - - - - - - - - - - <%--Site Scripts--%> - - - <%-- + + + + <%--Framework Scripts--%> + + + + + + + + + + + <%--Site Scripts--%> + + + <%-- --%> - -
-
-
- - -
-
-
-
- -
-
- -
-
+ +
+
+
+ + +
+
+
+
+ +
+
+ +
+
+
+
+ + +
+
+
+
-
- - -
-
- - +
-
-
- - + + diff --git a/MP-ADM/WebMasterPages/MoonPro.master.cs b/MP-ADM/WebMasterPages/MoonPro.master.cs index b45e1963..9fadd0a2 100644 --- a/MP-ADM/WebMasterPages/MoonPro.master.cs +++ b/MP-ADM/WebMasterPages/MoonPro.master.cs @@ -3,37 +3,37 @@ using System; public partial class MoonPro : System.Web.UI.MasterPage { - protected void Page_Load(object sender, EventArgs e) - { - } - protected string _mainCssClass; - /// - /// classe css area BODY - /// - public string mainCssClass - { - get + protected void Page_Load(object sender, EventArgs e) { - return _mainCssClass; } - set + protected string _mainCssClass; + /// + /// classe css area BODY + /// + public string mainCssClass { - _mainCssClass = value; + get + { + return _mainCssClass; + } + set + { + _mainCssClass = value; + } } - } - protected string _headCssClass; - /// - /// classe css area HEADER - /// - public string headCssClass - { - get + protected string _headCssClass; + /// + /// classe css area HEADER + /// + public string headCssClass { - return _headCssClass; + get + { + return _headCssClass; + } + set + { + _headCssClass = value; + } } - set - { - _headCssClass = value; - } - } } diff --git a/MP-ADM/WebMasterPages/MoonPro.master.designer.cs b/MP-ADM/WebMasterPages/MoonPro.master.designer.cs index e9d3c276..cc9cc78c 100644 --- a/MP-ADM/WebMasterPages/MoonPro.master.designer.cs +++ b/MP-ADM/WebMasterPages/MoonPro.master.designer.cs @@ -9,8 +9,9 @@ -public partial class MoonPro { - +public partial class MoonPro +{ + /// /// Controllo PlaceHolder1. /// @@ -19,7 +20,7 @@ public partial class MoonPro { /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::System.Web.UI.WebControls.PlaceHolder PlaceHolder1; - + /// /// Controllo BundleReference2. /// @@ -28,7 +29,7 @@ public partial class MoonPro { /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::Microsoft.AspNet.Web.Optimization.WebForms.BundleReference BundleReference2; - + /// /// Controllo BundleReference1. /// @@ -37,7 +38,7 @@ public partial class MoonPro { /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::Microsoft.AspNet.Web.Optimization.WebForms.BundleReference BundleReference1; - + /// /// Controllo form1. /// @@ -46,7 +47,7 @@ public partial class MoonPro { /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::System.Web.UI.HtmlControls.HtmlForm form1; - + /// /// Controllo ScriptManager1. /// @@ -55,7 +56,7 @@ public partial class MoonPro { /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::System.Web.UI.ScriptManager ScriptManager1; - + /// /// Controllo Mod_menuTop1. /// @@ -64,7 +65,7 @@ public partial class MoonPro { /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::MP_ADM.WebUserControls.mod_menuTop Mod_menuTop1; - + /// /// Controllo UpdatePanel1. /// @@ -73,7 +74,7 @@ public partial class MoonPro { /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::System.Web.UI.UpdatePanel UpdatePanel1; - + /// /// Controllo Mod_pageTitleAndSearch1. /// @@ -82,7 +83,7 @@ public partial class MoonPro { /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::mod_pageTitleAndSearch Mod_pageTitleAndSearch1; - + /// /// Controllo Mod_ricercaGenerica1. /// @@ -91,7 +92,7 @@ public partial class MoonPro { /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::mod_ricercaGenerica Mod_ricercaGenerica1; - + /// /// Controllo ContentPlaceHolder1. /// @@ -100,13 +101,13 @@ public partial class MoonPro { /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::System.Web.UI.WebControls.ContentPlaceHolder ContentPlaceHolder1; - + /// - /// Controllo Mod_menuBottom1. + /// Controllo mod_menuBottom. /// /// /// Campo generato automaticamente. /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// - protected global::mod_menuBottom Mod_menuBottom1; + protected global::MP_ADM.WebUserControls.mod_menuBottom mod_menuBottom; } diff --git a/MP-ADM/WebUserControls/mod_calChiusura.ascx b/MP-ADM/WebUserControls/mod_calChiusura.ascx index 2a1b4b4a..67b8b668 100644 --- a/MP-ADM/WebUserControls/mod_calChiusura.ascx +++ b/MP-ADM/WebUserControls/mod_calChiusura.ascx @@ -1,5 +1,5 @@ <%@ Control Language="C#" AutoEventWireup="true" - Inherits="mod_calChiusura" CodeBehind="mod_calChiusura.ascx.cs" %> + Inherits="MP_ADM.WebUserControls.mod_calChiusura" CodeBehind="mod_calChiusura.ascx.cs" %> <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> diff --git a/MP-ADM/WebUserControls/mod_calChiusura.ascx.cs b/MP-ADM/WebUserControls/mod_calChiusura.ascx.cs index 67025092..f479c29c 100644 --- a/MP-ADM/WebUserControls/mod_calChiusura.ascx.cs +++ b/MP-ADM/WebUserControls/mod_calChiusura.ascx.cs @@ -4,114 +4,117 @@ using System; using System.Web.UI; using System.Web.UI.WebControls; -public partial class mod_calChiusura : ApplicationUserControl +namespace MP_ADM.WebUserControls { - /// - /// Oggetto datalayer specifico - /// - DataLayer DataLayerObj = new DataLayer(); - public event EventHandler eh_resetSelezione; + public partial class mod_calChiusura : ApplicationUserControl + { + /// + /// Oggetto datalayer specifico + /// + DataLayer DataLayerObj = new DataLayer(); + public event EventHandler eh_resetSelezione; - protected override void Page_Load(object sender, EventArgs e) - { - base.Page_Load(sender, e); - if (!Page.IsPostBack) - { - grView.PageSize = _righeDataGridMed; - btnShowInsPeriodo.Text = traduci("btnShowInsPeriodo"); - btnInsPeriodo.Text = traduci("btnInsPeriodo"); - } - } - - /// - /// gestione evento inserimento nuovo record standard (se ZERO presenti) - /// - /// - /// - protected void btnNewFromEmpty_Click(object sender, EventArgs e) - { - // reset selezione... - resetSelezione(); - // i primi valori ("0") di default sono "ND"... li inserisco come standard... - DataLayerObj.taCalFF.Insert(DateTime.Now.Date, "-- [NUOVO] non definito --"); - grView.DataBind(); - } - /// - /// resetta la selezione dei valori in caso di modifiche su altri controlli - /// - public void resetSelezione() - { - grView.SelectedIndex = -1; - grView.DataBind(); - if (eh_resetSelezione != null) - { - eh_resetSelezione(this, new EventArgs()); - } - } - /// - /// evento dati associati a controllo - /// - /// - /// - protected void grView_DataBound(object sender, EventArgs e) - { - if (grView.Rows.Count > 0) - { - LinkButton lb; - // aggiorno gli headers - foreach (TableCell cella in grView.HeaderRow.Cells) - { - try + protected override void Page_Load(object sender, EventArgs e) { - lb = (LinkButton)cella.Controls[0]; - lb.Text = traduci(lb.Text); + base.Page_Load(sender, e); + if (!Page.IsPostBack) + { + grView.PageSize = _righeDataGridMed; + btnShowInsPeriodo.Text = traduci("btnShowInsPeriodo"); + btnInsPeriodo.Text = traduci("btnInsPeriodo"); + } + } + + /// + /// gestione evento inserimento nuovo record standard (se ZERO presenti) + /// + /// + /// + protected void btnNewFromEmpty_Click(object sender, EventArgs e) + { + // reset selezione... + resetSelezione(); + // i primi valori ("0") di default sono "ND"... li inserisco come standard... + DataLayerObj.taCalFF.Insert(DateTime.Now.Date, "-- [NUOVO] non definito --"); + grView.DataBind(); + } + /// + /// resetta la selezione dei valori in caso di modifiche su altri controlli + /// + public void resetSelezione() + { + grView.SelectedIndex = -1; + grView.DataBind(); + if (eh_resetSelezione != null) + { + eh_resetSelezione(this, new EventArgs()); + } + } + /// + /// evento dati associati a controllo + /// + /// + /// + protected void grView_DataBound(object sender, EventArgs e) + { + if (grView.Rows.Count > 0) + { + LinkButton lb; + // aggiorno gli headers + foreach (TableCell cella in grView.HeaderRow.Cells) + { + try + { + lb = (LinkButton)cella.Controls[0]; + lb.Text = traduci(lb.Text); + } + catch + { } + } + int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1); + lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord); + } + else + { + lblNumRec.Text = ""; + } + } + protected void btnShowInsPeriodo_Click(object sender, EventArgs e) + { + pnlInsPeriodo.Visible = !pnlInsPeriodo.Visible; + if (pnlInsPeriodo.Visible) + { + btnShowInsPeriodo.Text = traduci("btnHideInsPeriodo"); + } + else + { + btnShowInsPeriodo.Text = traduci("btnShowInsPeriodo"); + } + } + protected void btnInsPeriodo_Click(object sender, EventArgs e) + { + // verifico date congrue... + DateTime inizio = Convert.ToDateTime(txtDataFrom.Text); + DateTime fine = Convert.ToDateTime(txtDataTo.Text); + if (fine.CompareTo(inizio) >= 0) + { + // inserisco le voci x tutte le date nell'intervallo... + while (fine.CompareTo(inizio) >= 0) + { + DataLayerObj.taCalFF.Insert(inizio, txtDescrizione.Text); + inizio = inizio.AddDays(1); + } + // update e nascondo pannello + grView.DataBind(); + pnlInsPeriodo.Visible = false; + btnShowInsPeriodo.Text = traduci("btnShowInsPeriodo"); + lblWarning.Visible = false; + } + else + { + lblWarning.Visible = true; + lblWarning.Text = traduci("OrdineDateErrato"); + } } - catch - { } - } - int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1); - lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord); } - else - { - lblNumRec.Text = ""; - } - } - protected void btnShowInsPeriodo_Click(object sender, EventArgs e) - { - pnlInsPeriodo.Visible = !pnlInsPeriodo.Visible; - if (pnlInsPeriodo.Visible) - { - btnShowInsPeriodo.Text = traduci("btnHideInsPeriodo"); - } - else - { - btnShowInsPeriodo.Text = traduci("btnShowInsPeriodo"); - } - } - protected void btnInsPeriodo_Click(object sender, EventArgs e) - { - // verifico date congrue... - DateTime inizio = Convert.ToDateTime(txtDataFrom.Text); - DateTime fine = Convert.ToDateTime(txtDataTo.Text); - if (fine.CompareTo(inizio) >= 0) - { - // inserisco le voci x tutte le date nell'intervallo... - while (fine.CompareTo(inizio) >= 0) - { - DataLayerObj.taCalFF.Insert(inizio, txtDescrizione.Text); - inizio = inizio.AddDays(1); - } - // update e nascondo pannello - grView.DataBind(); - pnlInsPeriodo.Visible = false; - btnShowInsPeriodo.Text = traduci("btnShowInsPeriodo"); - lblWarning.Visible = false; - } - else - { - lblWarning.Visible = true; - lblWarning.Text = traduci("OrdineDateErrato"); - } - } -} +} \ No newline at end of file diff --git a/MP-ADM/WebUserControls/mod_calChiusura.ascx.designer.cs b/MP-ADM/WebUserControls/mod_calChiusura.ascx.designer.cs index 8c115f5d..f3c9b5e5 100644 --- a/MP-ADM/WebUserControls/mod_calChiusura.ascx.designer.cs +++ b/MP-ADM/WebUserControls/mod_calChiusura.ascx.designer.cs @@ -1,121 +1,125 @@ //------------------------------------------------------------------------------ -// -// This code was generated by a tool. +// +// Codice generato da uno strumento. // -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// +// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se +// il codice viene rigenerato. +// //------------------------------------------------------------------------------ +namespace MP_ADM.WebUserControls +{ -public partial class mod_calChiusura { - - /// - /// grView control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.GridView grView; - - /// - /// lblNumRec control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.Label lblNumRec; - - /// - /// ods control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.ObjectDataSource ods; - - /// - /// btnShowInsPeriodo control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.Button btnShowInsPeriodo; - - /// - /// pnlInsPeriodo control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.Panel pnlInsPeriodo; - - /// - /// txtDataFrom control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.TextBox txtDataFrom; - - /// - /// CalendarExtender2 control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::AjaxControlToolkit.CalendarExtender CalendarExtender2; - - /// - /// txtDataTo control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.TextBox txtDataTo; - - /// - /// CalendarExtender3 control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::AjaxControlToolkit.CalendarExtender CalendarExtender3; - - /// - /// txtDescrizione control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.TextBox txtDescrizione; - - /// - /// btnInsPeriodo control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.Button btnInsPeriodo; - - /// - /// lblWarning control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.Label lblWarning; + public partial class mod_calChiusura + { + + /// + /// Controllo grView. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// Controllo lblNumRec. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.Label lblNumRec; + + /// + /// Controllo ods. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; + + /// + /// Controllo btnShowInsPeriodo. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.Button btnShowInsPeriodo; + + /// + /// Controllo pnlInsPeriodo. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.Panel pnlInsPeriodo; + + /// + /// Controllo txtDataFrom. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.TextBox txtDataFrom; + + /// + /// Controllo CalendarExtender2. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::AjaxControlToolkit.CalendarExtender CalendarExtender2; + + /// + /// Controllo txtDataTo. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.TextBox txtDataTo; + + /// + /// Controllo CalendarExtender3. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::AjaxControlToolkit.CalendarExtender CalendarExtender3; + + /// + /// Controllo txtDescrizione. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.TextBox txtDescrizione; + + /// + /// Controllo btnInsPeriodo. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.Button btnInsPeriodo; + + /// + /// Controllo lblWarning. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.Label lblWarning; + } } diff --git a/MP-ADM/WebUserControls/mod_fixCal.ascx b/MP-ADM/WebUserControls/mod_fixCal.ascx index b7d3dd46..3d3a02b7 100644 --- a/MP-ADM/WebUserControls/mod_fixCal.ascx +++ b/MP-ADM/WebUserControls/mod_fixCal.ascx @@ -1,4 +1,4 @@ -<%@ Control Language="C#" AutoEventWireup="true" Inherits="mod_fixCal" Codebehind="mod_fixCal.ascx.cs" %> +<%@ Control Language="C#" AutoEventWireup="true" Inherits="MP_ADM.WebUserControls.mod_fixCal" Codebehind="mod_fixCal.ascx.cs" %> <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> diff --git a/MP-ADM/WebUserControls/mod_fixCal.ascx.designer.cs b/MP-ADM/WebUserControls/mod_fixCal.ascx.designer.cs index 2f963c8c..24a45d8d 100644 --- a/MP-ADM/WebUserControls/mod_fixCal.ascx.designer.cs +++ b/MP-ADM/WebUserControls/mod_fixCal.ascx.designer.cs @@ -1,36 +1,33 @@ //------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:2.0.50727.4927 +// +// Codice generato da uno strumento. // -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// +// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se +// il codice viene rigenerato. +// //------------------------------------------------------------------------------ - - namespace MP_ADM.WebUserControls { public partial class mod_fixCal { /// - /// TextBox1 control. + /// Controllo TextBox1. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::System.Web.UI.WebControls.TextBox TextBox1; /// - /// CalendarExtender1 control. + /// Controllo CalendarExtender1. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::AjaxControlToolkit.CalendarExtender CalendarExtender1; } -} \ No newline at end of file +} diff --git a/MP-ADM/WebUserControls/mod_gestioneODL.ascx.cs b/MP-ADM/WebUserControls/mod_gestioneODL.ascx.cs index 67710722..60ef516e 100644 --- a/MP-ADM/WebUserControls/mod_gestioneODL.ascx.cs +++ b/MP-ADM/WebUserControls/mod_gestioneODL.ascx.cs @@ -154,11 +154,7 @@ namespace MP_ADM.WebUserControls /// protected void ods_Updated(object sender, ObjectDataSourceStatusEventArgs e) { - // evento come nuovo... - if (eh_nuovoValore != null) - { - eh_nuovoValore(this, new EventArgs()); - } + raiseNewVal(); } #endregion @@ -178,24 +174,13 @@ namespace MP_ADM.WebUserControls mod_newOdl1.Visible = false; lbtNewODL.Visible = enableCreateNew; lblWarning.Visible = false; - if (eh_resetSelezione != null) - { - eh_resetSelezione(this, new EventArgs()); - } - + raiseReset(); } #endregion #endregion - #region gestione eventi - - public event EventHandler eh_resetSelezione; - public event EventHandler eh_nuovoValore; - - #endregion - #region area da modificare protected override void OnLoad(EventArgs e) diff --git a/MP-ADM/WebUserControls/mod_menuBottom.ascx b/MP-ADM/WebUserControls/mod_menuBottom.ascx index 5a5d0c25..0d65a478 100644 --- a/MP-ADM/WebUserControls/mod_menuBottom.ascx +++ b/MP-ADM/WebUserControls/mod_menuBottom.ascx @@ -1,5 +1,5 @@ <%@ Control Language="C#" AutoEventWireup="true" - Inherits="mod_menuBottom" CodeBehind="mod_menuBottom.ascx.cs" %> + Inherits="MP_ADM.WebUserControls.mod_menuBottom" CodeBehind="mod_menuBottom.ascx.cs" %>