diff --git a/MP-TAB/Dichiarazioni.aspx.cs b/MP-TAB/Dichiarazioni.aspx.cs
index c4fd43df..3d64d96f 100644
--- a/MP-TAB/Dichiarazioni.aspx.cs
+++ b/MP-TAB/Dichiarazioni.aspx.cs
@@ -4,74 +4,14 @@ namespace MoonProTablet
{
public partial class Dichiarazioni : BasePage
{
- #region Private Methods
-
- ///
- /// richiesta ins nuovo evento...
- ///
- ///
- ///
- private void mod_commenti1_eh_newVal(object sender, EventArgs e)
- {
- showPnlDichiaraz(true);
- }
-
- private void mod_commenti1_eh_reqEdit(object sender, EventArgs e)
- {
- mod_insComm1.caricaCommento();
- }
-
- private void mod_commenti1_eh_reset(object sender, EventArgs e)
- {
- showPnlDichiaraz(false);
- }
-
- private void mod_dichiarazione1_eh_newVal(object sender, EventArgs e)
- {
- // ricarico tutto!
- Response.Redirect("Commenti.aspx");
- }
-
- private void mod_fermate1_eh_reqEdit(object sender, EventArgs e)
- {
- // avendo in sessione inizio fermata DEVO andare a pagina DichFermi, in modalità "ritroso", precompilare data/ora ed eventuale descizione...
- Response.Redirect("Fermate.aspx");
- }
-
- private void mod_insComm1_eh_inserting(object sender, EventArgs e)
- {
- }
-
- private void mod_insComm1_eh_newVal(object sender, EventArgs e)
- {
- mod_commenti1.doUpdate();
- }
-
- private void mod_insComm1_eh_reset(object sender, EventArgs e)
- {
- showPnlDichiaraz(false);
- mod_commenti1.doUpdate();
- }
-
- private void showPnlDichiaraz(bool showDich)
- {
- pnlEventi.Visible = !showDich;
- }
-
- #endregion Private Methods
-
- #region Protected Methods
-
protected void Page_Load(object sender, EventArgs e)
{
- Session["TipoLink"] = "EditMacch";
- mod_insComm1.eh_newVal += mod_insComm1_eh_newVal;
- mod_insComm1.eh_reset += mod_insComm1_eh_reset;
- mod_insComm1.eh_inserting += mod_insComm1_eh_inserting;
- mod_commenti1.eh_reqEdit += mod_commenti1_eh_reqEdit;
- mod_fermate1.eh_reqEdit += mod_fermate1_eh_reqEdit;
+ cmp_dichiarInsert.eh_newVal += cmp_dichiarInsert_eh_newVal;
}
- #endregion Protected Methods
+ private void cmp_dichiarInsert_eh_newVal(object sender, EventArgs e)
+ {
+ cmp_dichiarList.doUpdate();
+ }
}
}
\ No newline at end of file
diff --git a/MP-TAB/Dichiarazioni.aspx.designer.cs b/MP-TAB/Dichiarazioni.aspx.designer.cs
index 3a089838..03a8c776 100644
--- a/MP-TAB/Dichiarazioni.aspx.designer.cs
+++ b/MP-TAB/Dichiarazioni.aspx.designer.cs
@@ -24,40 +24,31 @@ namespace MoonProTablet
protected global::MoonProTablet.WebUserControls.mod_dettMacchina mod_dettMacchina1;
///
- /// mod_insComm1 control.
+ /// cmp_dichiarInsert control.
///
///
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
///
- protected global::MoonProTablet.WebUserControls.mod_insComm mod_insComm1;
+ protected global::MoonProTablet.WebUserControls.cmp_dichiarInsert cmp_dichiarInsert;
///
- /// pnlEventi control.
+ /// updtRicerca control.
///
///
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
///
- protected global::System.Web.UI.HtmlControls.HtmlGenericControl pnlEventi;
+ protected global::System.Web.UI.UpdateProgress updtRicerca;
///
- /// mod_fermate1 control.
+ /// cmp_dichiarList control.
///
///
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
///
- protected global::MoonProTablet.WebUserControls.mod_fermate mod_fermate1;
-
- ///
- /// mod_commenti1 control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::MoonProTablet.WebUserControls.mod_commenti mod_commenti1;
+ protected global::MoonProTablet.WebUserControls.cmp_dichiarList cmp_dichiarList;
///
/// mod_directLinks control.
diff --git a/MP-TAB/MP-TAB.csproj b/MP-TAB/MP-TAB.csproj
index 3dabfe6a..799a6c37 100644
--- a/MP-TAB/MP-TAB.csproj
+++ b/MP-TAB/MP-TAB.csproj
@@ -704,6 +704,8 @@
+
+
@@ -1015,6 +1017,20 @@
cmp_dettPODL.ascx
+
+ cmp_dichiarInsert.ascx
+ ASPXCodeBehind
+
+
+ cmp_dichiarInsert.ascx
+
+
+ cmp_dichiarList.ascx
+ ASPXCodeBehind
+
+
+ cmp_dichiarList.ascx
+
cmp_disabled.ascx
ASPXCodeBehind