-
diff --git a/NKC_WF/site/Painting.aspx.cs b/NKC_WF/site/Painting.aspx.cs
index 6cebd41..14c5ae8 100644
--- a/NKC_WF/site/Painting.aspx.cs
+++ b/NKC_WF/site/Painting.aspx.cs
@@ -6,7 +6,10 @@ namespace NKC_WF
{
protected void Page_Load(object sender, EventArgs e)
{
- ((SiteContent)this.Master).showSearch = false;
+ if (!Page.IsPostBack)
+ {
+ ((SiteContent)this.Master).showSearch = false;
+ }
}
}
}
\ No newline at end of file
diff --git a/NKC_WF/site/PaintingSmart.aspx b/NKC_WF/site/PaintingSmart.aspx
new file mode 100644
index 0000000..005aefe
--- /dev/null
+++ b/NKC_WF/site/PaintingSmart.aspx
@@ -0,0 +1,9 @@
+<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="PaintingSmart.aspx.cs" Inherits="NKC_WF.site.PaintingSmart" %>
+
+<%@ Register Src="~/WebUserControls/cmp_paintingSmart.ascx" TagPrefix="uc1" TagName="cmp_paintingSmart" %>
+
+
+
+
+
+
diff --git a/NKC_WF/site/PaintingSmart.aspx.cs b/NKC_WF/site/PaintingSmart.aspx.cs
new file mode 100644
index 0000000..6180106
--- /dev/null
+++ b/NKC_WF/site/PaintingSmart.aspx.cs
@@ -0,0 +1,62 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+
+namespace NKC_WF.site
+{
+ public partial class PaintingSmart : BasePage
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!Page.IsPostBack)
+ {
+ ((SiteMaster)this.Master).showSearch = false;
+#if false
+ doUpdate();
+#endif
+ }
+ }
+#if false
+ ///
+ /// Batch corrente...
+ ///
+ public int BatchId
+ {
+ set
+ {
+ hfBatchID.Value = value.ToString();
+ }
+ get
+ {
+ int answ = 0;
+ int.TryParse(hfBatchID.Value, out answ);
+ return answ;
+ }
+ }
+ ///
+ /// Aggiorna componente principale e child components
+ ///
+ private void doUpdate()
+ {
+ setCurrData();
+ // aggiorno child
+ cmp_unloadSmart.BatchId = BatchId;
+ }
+ ///
+ /// Imposta dati correnti (Bunk / Sheet)
+ ///
+ private void setCurrData()
+ {
+ // recupero bunk corrente...
+ DS_App.StackListRow currBunk = ComLib.getCurrBunk();
+ if (currBunk != null)
+ {
+ BatchId = currBunk.BatchID;
+ }
+ }
+#endif
+ }
+}
\ No newline at end of file
diff --git a/NKC_WF/site/PaintingSmart.aspx.designer.cs b/NKC_WF/site/PaintingSmart.aspx.designer.cs
new file mode 100644
index 0000000..84b07b1
--- /dev/null
+++ b/NKC_WF/site/PaintingSmart.aspx.designer.cs
@@ -0,0 +1,26 @@
+//------------------------------------------------------------------------------
+//
+// Codice generato da uno strumento.
+//
+// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
+// il codice viene rigenerato.
+//
+//------------------------------------------------------------------------------
+
+namespace NKC_WF.site
+{
+
+
+ public partial class PaintingSmart
+ {
+
+ ///
+ /// Controllo cmp_paintingSmart.
+ ///
+ ///
+ /// Campo generato automaticamente.
+ /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
+ ///
+ protected global::NKC_WF.WebUserControls.cmp_paintingSmart cmp_paintingSmart;
+ }
+}