diff --git a/GMW/GMW_Term/Barcode.aspx b/GMW/GMW_Term/Barcode.aspx
index 09c50611..e140abc8 100644
--- a/GMW/GMW_Term/Barcode.aspx
+++ b/GMW/GMW_Term/Barcode.aspx
@@ -1,33 +1,14 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/Compact.Master"
AutoEventWireup="true" CodeBehind="Barcode.aspx.cs" Inherits="GMW_Term.Barcode" %>
+<%@ Register src="WebUserControls/mod_userBar.ascx" tagname="mod_userBar" tagprefix="uc1" %>
+<%@ Register src="WebUserControls/mod_barcode.ascx" tagname="mod_barcode" tagprefix="uc2" %>
+
-
-
-
-
+
+
+
+
diff --git a/GMW/GMW_Term/Barcode.aspx.cs b/GMW/GMW_Term/Barcode.aspx.cs
index f01f80bf..42cb8e14 100644
--- a/GMW/GMW_Term/Barcode.aspx.cs
+++ b/GMW/GMW_Term/Barcode.aspx.cs
@@ -8,31 +8,6 @@ namespace GMW_Term
{
public partial class Barcode : System.Web.UI.Page
{
- protected void Page_Load(object sender, EventArgs e)
- {
- // scrive label e text bottoni
- lblTitle.Text = (string)(Session["loginName"]);
- if (!Page.IsPostBack)
- {
- lblData.Font.Italic = true;
- lblData.Text = "Your data here...";
- }
- }
-
- protected void txtInput_TextChanged(object sender, EventArgs e)
- {
- lblData.Font.Italic = false;
- lblData.Text = txtInput.Text;
- }
-
- protected void btn1_Click(object sender, EventArgs e)
- {
-
- }
-
- protected void btn2_Click(object sender, EventArgs e)
- {
-
- }
+
}
}
diff --git a/GMW/GMW_Term/Barcode.aspx.designer.cs b/GMW/GMW_Term/Barcode.aspx.designer.cs
index 0362d109..000f3afb 100644
--- a/GMW/GMW_Term/Barcode.aspx.designer.cs
+++ b/GMW/GMW_Term/Barcode.aspx.designer.cs
@@ -14,84 +14,21 @@ namespace GMW_Term {
public partial class Barcode {
///
- /// ScriptManager1 control.
+ /// mod_userBar1 control.
///
///
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
///
- protected global::System.Web.UI.ScriptManager ScriptManager1;
+ protected global::GMW_Term.WebUserControls.mod_userBar mod_userBar1;
///
- /// lblGMW control.
+ /// mod_barcode1 control.
///
///
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
///
- protected global::System.Web.UI.WebControls.Label lblGMW;
-
- ///
- /// lblUser control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Label lblUser;
-
- ///
- /// lblTitle control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Label lblTitle;
-
- ///
- /// lblInput control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Label lblInput;
-
- ///
- /// txtInput control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.TextBox txtInput;
-
- ///
- /// lblData control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Label lblData;
-
- ///
- /// btn1 control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Button btn1;
-
- ///
- /// btn2 control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Button btn2;
+ protected global::GMW_Term.WebUserControls.mod_barcode mod_barcode1;
}
}
diff --git a/GMW/GMW_Term/ChangeUser.aspx b/GMW/GMW_Term/ChangeUser.aspx
index a26fabff..b5fc2891 100644
--- a/GMW/GMW_Term/ChangeUser.aspx
+++ b/GMW/GMW_Term/ChangeUser.aspx
@@ -1,30 +1,14 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/Compact.Master"
AutoEventWireup="true" CodeBehind="ChangeUser.aspx.cs" Inherits="GMW_Term.ChangeUser" %>
+<%@ Register src="WebUserControls/mod_userBar.ascx" tagname="mod_userBar" tagprefix="uc1" %>
+<%@ Register src="WebUserControls/mod_changeUser.ascx" tagname="mod_changeUser" tagprefix="uc2" %>
+
-
-
-
-
+
+
+
+
diff --git a/GMW/GMW_Term/ChangeUser.aspx.cs b/GMW/GMW_Term/ChangeUser.aspx.cs
index fda18dc2..6fe7711d 100644
--- a/GMW/GMW_Term/ChangeUser.aspx.cs
+++ b/GMW/GMW_Term/ChangeUser.aspx.cs
@@ -8,28 +8,6 @@ namespace GMW_Term
{
public partial class ChangeUser : System.Web.UI.Page
{
- protected void Page_Load(object sender, EventArgs e)
- {
- lblTitle.Text = (string)(Session["loginName"]);
- }
-
- private string _nomeUtente = string.Empty;
-
- protected void txtLogin_TextChanged(object sender, EventArgs e)
- {
- // se stringa inizia con O metti via nome utente per login
- if (txtLogin.Text.StartsWith("O"))
- {
- _nomeUtente = txtLogin.Text;
- Session["loginName"] = txtLogin.Text;
- Response.Redirect("Home.aspx");
- }
- else
- {
- // comportamento in caso non di login
- lblErrore.Font.Italic = true;
- lblErrore.Text = "Errore: inserire codice username!";
- }
- }
+
}
}
diff --git a/GMW/GMW_Term/ChangeUser.aspx.designer.cs b/GMW/GMW_Term/ChangeUser.aspx.designer.cs
index a3d3cbab..d20d3b8f 100644
--- a/GMW/GMW_Term/ChangeUser.aspx.designer.cs
+++ b/GMW/GMW_Term/ChangeUser.aspx.designer.cs
@@ -14,84 +14,21 @@ namespace GMW_Term {
public partial class ChangeUser {
///
- /// ScriptManager1 control.
+ /// mod_userBar1 control.
///
///
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
///
- protected global::System.Web.UI.ScriptManager ScriptManager1;
+ protected global::GMW_Term.WebUserControls.mod_userBar mod_userBar1;
///
- /// lblGMW control.
+ /// mod_changeUser1 control.
///
///
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
///
- protected global::System.Web.UI.WebControls.Label lblGMW;
-
- ///
- /// lblUser control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Label lblUser;
-
- ///
- /// lblTitle control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Label lblTitle;
-
- ///
- /// lblInput control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Label lblInput;
-
- ///
- /// txtLogin control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.TextBox txtLogin;
-
- ///
- /// lblErrore control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Label lblErrore;
-
- ///
- /// btn1 control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Button btn1;
-
- ///
- /// btn2 control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Button btn2;
+ protected global::GMW_Term.WebUserControls.mod_changeUser mod_changeUser1;
}
}
diff --git a/GMW/GMW_Term/GMW_Term.csproj b/GMW/GMW_Term/GMW_Term.csproj
index 83c21fc4..4464e2ba 100644
--- a/GMW/GMW_Term/GMW_Term.csproj
+++ b/GMW/GMW_Term/GMW_Term.csproj
@@ -60,6 +60,55 @@
+
+ mod_barcode.ascx
+ ASPXCodeBehind
+
+
+ mod_barcode.ascx
+
+
+ mod_changeUser.ascx
+ ASPXCodeBehind
+
+
+ mod_changeUser.ascx
+
+
+ mod_home.ascx
+ ASPXCodeBehind
+
+
+ mod_home.ascx
+
+
+ mod_listePrelievo.ascx
+ ASPXCodeBehind
+
+
+ mod_listePrelievo.ascx
+
+
+ mod_login.ascx
+ ASPXCodeBehind
+
+
+ mod_login.ascx
+
+
+ mod_search.ascx
+ ASPXCodeBehind
+
+
+ mod_search.ascx
+
+
+ mod_userBar.ascx
+ ASPXCodeBehind
+
+
+ mod_userBar.ascx
+
AutoCompletamento.asmx
Component
@@ -116,6 +165,13 @@
+
+
+
+
+
+
+
diff --git a/GMW/GMW_Term/Home.aspx b/GMW/GMW_Term/Home.aspx
index 30a8f726..5d7fb399 100644
--- a/GMW/GMW_Term/Home.aspx
+++ b/GMW/GMW_Term/Home.aspx
@@ -1,31 +1,15 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/Compact.Master"
AutoEventWireup="true" CodeBehind="Home.aspx.cs" Inherits="GMW_Term.Home" %>
+<%@ Register src="WebUserControls/mod_home.ascx" tagname="mod_home" tagprefix="uc1" %>
+<%@ Register src="WebUserControls/mod_userBar.ascx" tagname="mod_userBar" tagprefix="uc2" %>
+
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
diff --git a/GMW/GMW_Term/Home.aspx.cs b/GMW/GMW_Term/Home.aspx.cs
index eb634e17..d764e194 100644
--- a/GMW/GMW_Term/Home.aspx.cs
+++ b/GMW/GMW_Term/Home.aspx.cs
@@ -8,37 +8,11 @@ namespace GMW_Term
{
public partial class Home : System.Web.UI.Page
{
- // nuovo oggetto Login
- Login loginMethods = new Login();
-
+
protected void Page_Load(object sender, EventArgs e)
{
- // scrive label e text bottoni
- lblTitle.Text = (string)(Session["loginName"]);
- btn1.Text = "Barcode";
- btn2.Text = "Ricerca";
- btn3.Text = "Liste Prelievo";
- btn4.Text = "Cambia Utente";
+
}
- protected void btn1_Click(object sender, EventArgs e)
- {
- Response.Redirect("Barcode.aspx");
- }
-
- protected void btn2_Click1(object sender, EventArgs e)
- {
- Response.Redirect("Search.aspx");
- }
-
- protected void btn3_Click1(object sender, EventArgs e)
- {
- Response.Redirect("ListePrelievo.aspx");
- }
-
- protected void btn4_Click1(object sender, EventArgs e)
- {
- Response.Redirect("ChangeUser.aspx");
- }
}
}
diff --git a/GMW/GMW_Term/Home.aspx.designer.cs b/GMW/GMW_Term/Home.aspx.designer.cs
index 933e6fab..6924e4af 100644
--- a/GMW/GMW_Term/Home.aspx.designer.cs
+++ b/GMW/GMW_Term/Home.aspx.designer.cs
@@ -14,66 +14,21 @@ namespace GMW_Term {
public partial class Home {
///
- /// lblGMW control.
+ /// mod_userBar1 control.
///
///
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
///
- protected global::System.Web.UI.WebControls.Label lblGMW;
+ protected global::GMW_Term.WebUserControls.mod_userBar mod_userBar1;
///
- /// lblUser control.
+ /// mod_home1 control.
///
///
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
///
- protected global::System.Web.UI.WebControls.Label lblUser;
-
- ///
- /// lblTitle control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Label lblTitle;
-
- ///
- /// btn1 control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Button btn1;
-
- ///
- /// btn2 control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Button btn2;
-
- ///
- /// btn3 control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Button btn3;
-
- ///
- /// btn4 control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Button btn4;
+ protected global::GMW_Term.WebUserControls.mod_home mod_home1;
}
}
diff --git a/GMW/GMW_Term/ListePrelievo.aspx b/GMW/GMW_Term/ListePrelievo.aspx
index fbe502c8..18ffd5ff 100644
--- a/GMW/GMW_Term/ListePrelievo.aspx
+++ b/GMW/GMW_Term/ListePrelievo.aspx
@@ -1,27 +1,11 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/Compact.Master" AutoEventWireup="true" CodeBehind="ListePrelievo.aspx.cs" Inherits="GMW_Term.ListePrelievo" %>
+<%@ Register src="WebUserControls/mod_userBar.ascx" tagname="mod_userBar" tagprefix="uc1" %>
+<%@ Register src="WebUserControls/mod_listePrelievo.ascx" tagname="mod_listePrelievo" tagprefix="uc2" %>
-
-
-
-
+
+
+
+
diff --git a/GMW/GMW_Term/ListePrelievo.aspx.designer.cs b/GMW/GMW_Term/ListePrelievo.aspx.designer.cs
index 6df4ccd1..3f88f26b 100644
--- a/GMW/GMW_Term/ListePrelievo.aspx.designer.cs
+++ b/GMW/GMW_Term/ListePrelievo.aspx.designer.cs
@@ -14,75 +14,21 @@ namespace GMW_Term {
public partial class ListePrelievo {
///
- /// ScriptManager1 control.
+ /// mod_userBar1 control.
///
///
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
///
- protected global::System.Web.UI.ScriptManager ScriptManager1;
+ protected global::GMW_Term.WebUserControls.mod_userBar mod_userBar1;
///
- /// lblGMW control.
+ /// mod_listePrelievo1 control.
///
///
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
///
- protected global::System.Web.UI.WebControls.Label lblGMW;
-
- ///
- /// lblUser control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Label lblUser;
-
- ///
- /// lblTitle control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Label lblTitle;
-
- ///
- /// lblInput control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Label lblInput;
-
- ///
- /// updPanel1 control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.UpdatePanel updPanel1;
-
- ///
- /// btn1 control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Button btn1;
-
- ///
- /// btn2 control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Button btn2;
+ protected global::GMW_Term.WebUserControls.mod_listePrelievo mod_listePrelievo1;
}
}
diff --git a/GMW/GMW_Term/Login.aspx b/GMW/GMW_Term/Login.aspx
index 5a5823e0..e0568291 100644
--- a/GMW/GMW_Term/Login.aspx
+++ b/GMW/GMW_Term/Login.aspx
@@ -1,23 +1,13 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/Compact.Master"
AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="GMW_Term.Login" %>
+<%@ Register src="WebUserControls/mod_login.ascx" tagname="mod_login" tagprefix="uc1" %>
+
+<%@ Register src="WebUserControls/mod_userBar.ascx" tagname="mod_userBar" tagprefix="uc2" %>
+
-
-
+
+
diff --git a/GMW/GMW_Term/Login.aspx.cs b/GMW/GMW_Term/Login.aspx.cs
index dbcb28d3..8bee1d38 100644
--- a/GMW/GMW_Term/Login.aspx.cs
+++ b/GMW/GMW_Term/Login.aspx.cs
@@ -14,50 +14,7 @@ namespace GMW_Term
}
- ///
- /// stringa da valorizzare per nome utente
- ///
- private string _nomeUtente = string.Empty;
-
- protected void txtLogin_TextChanged(object sender, EventArgs e)
- {
- // ADD!!!
- //TermClass.termin.riconosciBarcode(Convert.ToString(txtLogin.Text));
-
- // se stringa inizia con O metti via nome utente per login
- if (txtLogin.Text.StartsWith("O"))
- {
- // ADD!!!
- //TermClass.termin.doUserLogin(Convert.ToString(txtLogin.Text));
- _nomeUtente = txtLogin.Text;
- Session["loginName"] = txtLogin.Text;
- Response.Redirect("Home.aspx");
- }
- else
- {
- // comportamento in caso non di login
- lblErrore.Font.Italic = true;
- lblErrore.Text = "Errore: inserire codice username!";
- }
-
-
- }
-
- ///
- /// imposta il nome utente
- ///
- public string userName
- {
- get
- {
- return _nomeUtente;
- }
- set
- {
- _nomeUtente = value;
- }
- }
}
}
diff --git a/GMW/GMW_Term/Login.aspx.designer.cs b/GMW/GMW_Term/Login.aspx.designer.cs
index 9b2b5b45..12c40285 100644
--- a/GMW/GMW_Term/Login.aspx.designer.cs
+++ b/GMW/GMW_Term/Login.aspx.designer.cs
@@ -14,48 +14,21 @@ namespace GMW_Term {
public partial class Login {
///
- /// ScriptManager1 control.
+ /// mod_userBar1 control.
///
///
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
///
- protected global::System.Web.UI.ScriptManager ScriptManager1;
+ protected global::GMW_Term.WebUserControls.mod_userBar mod_userBar1;
///
- /// lblGMW control.
+ /// mod_login1 control.
///
///
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
///
- protected global::System.Web.UI.WebControls.Label lblGMW;
-
- ///
- /// txtLogin control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.TextBox txtLogin;
-
- ///
- /// lblLogin control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Label lblLogin;
-
- ///
- /// lblErrore control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Label lblErrore;
+ protected global::GMW_Term.WebUserControls.mod_login mod_login1;
}
}
diff --git a/GMW/GMW_Term/Search.aspx b/GMW/GMW_Term/Search.aspx
index 3f231d5f..479241e6 100644
--- a/GMW/GMW_Term/Search.aspx
+++ b/GMW/GMW_Term/Search.aspx
@@ -1,34 +1,12 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/Compact.Master"
AutoEventWireup="true" CodeBehind="Search.aspx.cs" Inherits="GMW_Term.Search" %>
-
-<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
+<%@ Register src="WebUserControls/mod_userBar.ascx" tagname="mod_userBar" tagprefix="uc1" %>
+<%@ Register src="WebUserControls/mod_search.ascx" tagname="mod_search" tagprefix="uc2" %>
-
-
-
-
+
+
+
+
diff --git a/GMW/GMW_Term/Search.aspx.cs b/GMW/GMW_Term/Search.aspx.cs
index e5dd186a..1b4984a1 100644
--- a/GMW/GMW_Term/Search.aspx.cs
+++ b/GMW/GMW_Term/Search.aspx.cs
@@ -11,9 +11,7 @@ namespace GMW_Term
{
protected void Page_Load(object sender, EventArgs e)
{
- // scrive label e text bottoni
- lblTitle.Text = (string)(Session["loginName"]);
-
+
}
diff --git a/GMW/GMW_Term/Search.aspx.designer.cs b/GMW/GMW_Term/Search.aspx.designer.cs
index 820b005a..34008bff 100644
--- a/GMW/GMW_Term/Search.aspx.designer.cs
+++ b/GMW/GMW_Term/Search.aspx.designer.cs
@@ -14,93 +14,21 @@ namespace GMW_Term {
public partial class Search {
///
- /// ScriptManager1 control.
+ /// mod_userBar1 control.
///
///
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
///
- protected global::System.Web.UI.ScriptManager ScriptManager1;
+ protected global::GMW_Term.WebUserControls.mod_userBar mod_userBar1;
///
- /// lblGMW control.
+ /// mod_search1 control.
///
///
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
///
- protected global::System.Web.UI.WebControls.Label lblGMW;
-
- ///
- /// lblUser control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Label lblUser;
-
- ///
- /// lblTitle control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Label lblTitle;
-
- ///
- /// lblInput control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Label lblInput;
-
- ///
- /// updPanel1 control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.UpdatePanel updPanel1;
-
- ///
- /// txtRicerca control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.TextBox txtRicerca;
-
- ///
- /// aceSearch control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::AjaxControlToolkit.AutoCompleteExtender aceSearch;
-
- ///
- /// btn1 control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Button btn1;
-
- ///
- /// btn2 control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Button btn2;
+ protected global::GMW_Term.WebUserControls.mod_search mod_search1;
}
}
diff --git a/GMW/GMW_Term/WebUserControls/mod_barcode.ascx b/GMW/GMW_Term/WebUserControls/mod_barcode.ascx
new file mode 100644
index 00000000..1f1db5c5
--- /dev/null
+++ b/GMW/GMW_Term/WebUserControls/mod_barcode.ascx
@@ -0,0 +1,20 @@
+<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_barcode.ascx.cs"
+ Inherits="GMW_Term.WebUserControls.mod_barcode" %>
+
+
+
diff --git a/GMW/GMW_Term/WebUserControls/mod_barcode.ascx.cs b/GMW/GMW_Term/WebUserControls/mod_barcode.ascx.cs
new file mode 100644
index 00000000..e9581884
--- /dev/null
+++ b/GMW/GMW_Term/WebUserControls/mod_barcode.ascx.cs
@@ -0,0 +1,39 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+
+namespace GMW_Term.WebUserControls
+{
+ public partial class mod_barcode : System.Web.UI.UserControl
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ // scrive label e text bottoni
+
+ if (!Page.IsPostBack)
+ {
+ lblData.Font.Italic = true;
+ lblData.Text = "Your data here...";
+ }
+ }
+
+ protected void txtInput_TextChanged(object sender, EventArgs e)
+ {
+ lblData.Font.Italic = false;
+ lblData.Text = txtInput.Text;
+ }
+
+ protected void btn1_Click(object sender, EventArgs e)
+ {
+
+ }
+
+ protected void btn2_Click(object sender, EventArgs e)
+ {
+
+ }
+ }
+}
\ No newline at end of file
diff --git a/GMW/GMW_Term/WebUserControls/mod_barcode.ascx.designer.cs b/GMW/GMW_Term/WebUserControls/mod_barcode.ascx.designer.cs
new file mode 100644
index 00000000..a2b5438a
--- /dev/null
+++ b/GMW/GMW_Term/WebUserControls/mod_barcode.ascx.designer.cs
@@ -0,0 +1,70 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:2.0.50727.4927
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace GMW_Term.WebUserControls {
+
+
+ public partial class mod_barcode {
+
+ ///
+ /// ScriptManager1 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.ScriptManager ScriptManager1;
+
+ ///
+ /// lblInput control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Label lblInput;
+
+ ///
+ /// txtInput control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.TextBox txtInput;
+
+ ///
+ /// lblData control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Label lblData;
+
+ ///
+ /// btn1 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Button btn1;
+
+ ///
+ /// btn2 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Button btn2;
+ }
+}
diff --git a/GMW/GMW_Term/WebUserControls/mod_changeUser.ascx b/GMW/GMW_Term/WebUserControls/mod_changeUser.ascx
new file mode 100644
index 00000000..6f8507cc
--- /dev/null
+++ b/GMW/GMW_Term/WebUserControls/mod_changeUser.ascx
@@ -0,0 +1,18 @@
+<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_changeUser.ascx.cs" Inherits="GMW_Term.WebUserControls.mod_changeUser" %>
+
+
+
\ No newline at end of file
diff --git a/GMW/GMW_Term/WebUserControls/mod_changeUser.ascx.cs b/GMW/GMW_Term/WebUserControls/mod_changeUser.ascx.cs
new file mode 100644
index 00000000..deb9b887
--- /dev/null
+++ b/GMW/GMW_Term/WebUserControls/mod_changeUser.ascx.cs
@@ -0,0 +1,36 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+
+namespace GMW_Term.WebUserControls
+{
+ public partial class mod_changeUser : System.Web.UI.UserControl
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+
+ }
+
+ private string _nomeUtente = string.Empty;
+
+ protected void txtLogin_TextChanged(object sender, EventArgs e)
+ {
+ // se stringa inizia con O metti via nome utente per login
+ if (txtLogin.Text.StartsWith("O"))
+ {
+ _nomeUtente = txtLogin.Text;
+ Session["loginName"] = txtLogin.Text;
+ Response.Redirect("Home.aspx");
+ }
+ else
+ {
+ // comportamento in caso non di login
+ lblErrore.Font.Italic = true;
+ lblErrore.Text = "Errore: inserire codice username!";
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/GMW/GMW_Term/WebUserControls/mod_changeUser.ascx.designer.cs b/GMW/GMW_Term/WebUserControls/mod_changeUser.ascx.designer.cs
new file mode 100644
index 00000000..e1c95e01
--- /dev/null
+++ b/GMW/GMW_Term/WebUserControls/mod_changeUser.ascx.designer.cs
@@ -0,0 +1,70 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:2.0.50727.4927
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace GMW_Term.WebUserControls {
+
+
+ public partial class mod_changeUser {
+
+ ///
+ /// ScriptManager1 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.ScriptManager ScriptManager1;
+
+ ///
+ /// lblInput control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Label lblInput;
+
+ ///
+ /// txtLogin control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.TextBox txtLogin;
+
+ ///
+ /// lblErrore control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Label lblErrore;
+
+ ///
+ /// btn1 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Button btn1;
+
+ ///
+ /// btn2 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Button btn2;
+ }
+}
diff --git a/GMW/GMW_Term/WebUserControls/mod_home.ascx b/GMW/GMW_Term/WebUserControls/mod_home.ascx
new file mode 100644
index 00000000..0eb9e9cd
--- /dev/null
+++ b/GMW/GMW_Term/WebUserControls/mod_home.ascx
@@ -0,0 +1,17 @@
+<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_home.ascx.cs" Inherits="GMW_Term.WebUserControls.mod_home" %>
+
+
+
+
+
+
diff --git a/GMW/GMW_Term/WebUserControls/mod_home.ascx.cs b/GMW/GMW_Term/WebUserControls/mod_home.ascx.cs
new file mode 100644
index 00000000..db69f585
--- /dev/null
+++ b/GMW/GMW_Term/WebUserControls/mod_home.ascx.cs
@@ -0,0 +1,44 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+
+namespace GMW_Term.WebUserControls
+{
+ public partial class mod_home : System.Web.UI.UserControl
+ {
+
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ // scrive label e text bottoni
+
+ btn1.Text = "Barcode";
+ btn2.Text = "Ricerca";
+ btn3.Text = "Liste Prelievo";
+ btn4.Text = "Cambia Utente";
+ }
+
+ protected void btn1_Click(object sender, EventArgs e)
+ {
+ Response.Redirect("Barcode.aspx");
+ }
+
+ protected void btn2_Click1(object sender, EventArgs e)
+ {
+ Response.Redirect("Search.aspx");
+ }
+
+ protected void btn3_Click1(object sender, EventArgs e)
+ {
+ Response.Redirect("ListePrelievo.aspx");
+ }
+
+ protected void btn4_Click1(object sender, EventArgs e)
+ {
+ Response.Redirect("ChangeUser.aspx");
+ }
+ }
+}
+
diff --git a/GMW/GMW_Term/WebUserControls/mod_home.ascx.designer.cs b/GMW/GMW_Term/WebUserControls/mod_home.ascx.designer.cs
new file mode 100644
index 00000000..2bf46698
--- /dev/null
+++ b/GMW/GMW_Term/WebUserControls/mod_home.ascx.designer.cs
@@ -0,0 +1,52 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:2.0.50727.4927
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace GMW_Term.WebUserControls {
+
+
+ public partial class mod_home {
+
+ ///
+ /// btn1 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Button btn1;
+
+ ///
+ /// btn2 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Button btn2;
+
+ ///
+ /// btn3 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Button btn3;
+
+ ///
+ /// btn4 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Button btn4;
+ }
+}
diff --git a/GMW/GMW_Term/WebUserControls/mod_listePrelievo.ascx b/GMW/GMW_Term/WebUserControls/mod_listePrelievo.ascx
new file mode 100644
index 00000000..0f429844
--- /dev/null
+++ b/GMW/GMW_Term/WebUserControls/mod_listePrelievo.ascx
@@ -0,0 +1,17 @@
+<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_listePrelievo.ascx.cs" Inherits="GMW_Term.WebUserControls.mod_listePrelievo" %>
+
+
+
\ No newline at end of file
diff --git a/GMW/GMW_Term/WebUserControls/mod_listePrelievo.ascx.cs b/GMW/GMW_Term/WebUserControls/mod_listePrelievo.ascx.cs
new file mode 100644
index 00000000..b01b62d4
--- /dev/null
+++ b/GMW/GMW_Term/WebUserControls/mod_listePrelievo.ascx.cs
@@ -0,0 +1,17 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+
+namespace GMW_Term.WebUserControls
+{
+ public partial class mod_listePrelievo : System.Web.UI.UserControl
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+
+ }
+ }
+}
\ No newline at end of file
diff --git a/GMW/GMW_Term/WebUserControls/mod_listePrelievo.ascx.designer.cs b/GMW/GMW_Term/WebUserControls/mod_listePrelievo.ascx.designer.cs
new file mode 100644
index 00000000..d5f986f2
--- /dev/null
+++ b/GMW/GMW_Term/WebUserControls/mod_listePrelievo.ascx.designer.cs
@@ -0,0 +1,61 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:2.0.50727.4927
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace GMW_Term.WebUserControls {
+
+
+ public partial class mod_listePrelievo {
+
+ ///
+ /// ScriptManager1 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.ScriptManager ScriptManager1;
+
+ ///
+ /// lblInput control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Label lblInput;
+
+ ///
+ /// updPanel1 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.UpdatePanel updPanel1;
+
+ ///
+ /// btn1 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Button btn1;
+
+ ///
+ /// btn2 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Button btn2;
+ }
+}
diff --git a/GMW/GMW_Term/WebUserControls/mod_login.ascx b/GMW/GMW_Term/WebUserControls/mod_login.ascx
new file mode 100644
index 00000000..3d56648a
--- /dev/null
+++ b/GMW/GMW_Term/WebUserControls/mod_login.ascx
@@ -0,0 +1,14 @@
+<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_login.ascx.cs" Inherits="GMW_Term.WebUserControls.mod_login" %>
+
+
\ No newline at end of file
diff --git a/GMW/GMW_Term/WebUserControls/mod_login.ascx.cs b/GMW/GMW_Term/WebUserControls/mod_login.ascx.cs
new file mode 100644
index 00000000..100f0db7
--- /dev/null
+++ b/GMW/GMW_Term/WebUserControls/mod_login.ascx.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 GMW_Term.WebUserControls
+{
+ public partial class mod_login : System.Web.UI.UserControl
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+
+ }
+
+ ///
+ /// stringa da valorizzare per nome utente
+ ///
+ private string _nomeUtente = string.Empty;
+
+ protected void txtLogin_TextChanged(object sender, EventArgs e)
+ {
+ // ADD!!!
+ //TermClass.termin.riconosciBarcode(Convert.ToString(txtLogin.Text));
+
+ // se stringa inizia con O metti via nome utente per login
+ if (txtLogin.Text.StartsWith("O"))
+ {
+ // ADD!!!
+ //TermClass.termin.doUserLogin(Convert.ToString(txtLogin.Text));
+ _nomeUtente = txtLogin.Text;
+ Session["loginName"] = txtLogin.Text;
+ Response.Redirect("Home.aspx");
+ }
+ else
+ {
+ // comportamento in caso non di login
+ lblErrore.Font.Italic = true;
+ lblErrore.Text = "Errore: inserire codice username!";
+ }
+
+
+ }
+
+ ///
+ /// imposta il nome utente
+ ///
+ public string userName
+ {
+ get
+ {
+ return _nomeUtente;
+ }
+ set
+ {
+ _nomeUtente = value;
+ }
+ }
+ }
+
+}
\ No newline at end of file
diff --git a/GMW/GMW_Term/WebUserControls/mod_login.ascx.designer.cs b/GMW/GMW_Term/WebUserControls/mod_login.ascx.designer.cs
new file mode 100644
index 00000000..05d8f9bb
--- /dev/null
+++ b/GMW/GMW_Term/WebUserControls/mod_login.ascx.designer.cs
@@ -0,0 +1,52 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:2.0.50727.4927
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace GMW_Term.WebUserControls {
+
+
+ public partial class mod_login {
+
+ ///
+ /// ScriptManager1 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.ScriptManager ScriptManager1;
+
+ ///
+ /// txtLogin control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.TextBox txtLogin;
+
+ ///
+ /// lblLogin control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Label lblLogin;
+
+ ///
+ /// lblErrore control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Label lblErrore;
+ }
+}
diff --git a/GMW/GMW_Term/WebUserControls/mod_search.ascx b/GMW/GMW_Term/WebUserControls/mod_search.ascx
new file mode 100644
index 00000000..4c9d633d
--- /dev/null
+++ b/GMW/GMW_Term/WebUserControls/mod_search.ascx
@@ -0,0 +1,22 @@
+<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_search.ascx.cs" Inherits="GMW_Term.WebUserControls.mod_search" %>
+<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
+
+
+
\ No newline at end of file
diff --git a/GMW/GMW_Term/WebUserControls/mod_search.ascx.cs b/GMW/GMW_Term/WebUserControls/mod_search.ascx.cs
new file mode 100644
index 00000000..533dab8e
--- /dev/null
+++ b/GMW/GMW_Term/WebUserControls/mod_search.ascx.cs
@@ -0,0 +1,19 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+
+namespace GMW_Term.WebUserControls
+{
+ public partial class mod_search : System.Web.UI.UserControl
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ // scrive label e text bottoni
+ //lblTitle.Text = (string)(Session["loginName"]);
+
+ }
+ }
+}
\ No newline at end of file
diff --git a/GMW/GMW_Term/WebUserControls/mod_search.ascx.designer.cs b/GMW/GMW_Term/WebUserControls/mod_search.ascx.designer.cs
new file mode 100644
index 00000000..7911a369
--- /dev/null
+++ b/GMW/GMW_Term/WebUserControls/mod_search.ascx.designer.cs
@@ -0,0 +1,79 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:2.0.50727.4927
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace GMW_Term.WebUserControls {
+
+
+ public partial class mod_search {
+
+ ///
+ /// ScriptManager1 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.ScriptManager ScriptManager1;
+
+ ///
+ /// lblInput control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Label lblInput;
+
+ ///
+ /// updPanel1 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.UpdatePanel updPanel1;
+
+ ///
+ /// txtRicerca control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.TextBox txtRicerca;
+
+ ///
+ /// aceSearch control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::AjaxControlToolkit.AutoCompleteExtender aceSearch;
+
+ ///
+ /// btn1 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Button btn1;
+
+ ///
+ /// btn2 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Button btn2;
+ }
+}
diff --git a/GMW/GMW_Term/WebUserControls/mod_userBar.ascx b/GMW/GMW_Term/WebUserControls/mod_userBar.ascx
new file mode 100644
index 00000000..05367abe
--- /dev/null
+++ b/GMW/GMW_Term/WebUserControls/mod_userBar.ascx
@@ -0,0 +1,8 @@
+<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_userBar.ascx.cs"
+ Inherits="GMW_Term.WebUserControls.mod_userBar" %>
+
+
diff --git a/GMW/GMW_Term/WebUserControls/mod_userBar.ascx.cs b/GMW/GMW_Term/WebUserControls/mod_userBar.ascx.cs
new file mode 100644
index 00000000..c4b70cde
--- /dev/null
+++ b/GMW/GMW_Term/WebUserControls/mod_userBar.ascx.cs
@@ -0,0 +1,27 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+
+namespace GMW_Term.WebUserControls
+{
+ public partial class mod_userBar : System.Web.UI.UserControl
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ lblUserLabel.Visible = false;
+
+ // ricava dalla sessione il valore nome utente
+ string nomeUtente = (string)(Session["loginName"]);
+
+ // se non vuoto scrive altrimenti no
+ if (!(String.IsNullOrEmpty(nomeUtente)))
+ {
+ lblUserLabel.Visible = true;
+ lblUser.Text = nomeUtente;
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/GMW/GMW_Term/WebUserControls/mod_userBar.ascx.designer.cs b/GMW/GMW_Term/WebUserControls/mod_userBar.ascx.designer.cs
new file mode 100644
index 00000000..e43cf1d3
--- /dev/null
+++ b/GMW/GMW_Term/WebUserControls/mod_userBar.ascx.designer.cs
@@ -0,0 +1,43 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:2.0.50727.4927
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace GMW_Term.WebUserControls {
+
+
+ public partial class mod_userBar {
+
+ ///
+ /// lblGMW control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Label lblGMW;
+
+ ///
+ /// lblUserLabel control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Label lblUserLabel;
+
+ ///
+ /// lblUser control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Label lblUser;
+ }
+}
diff --git a/GMW/GMW_Term/bin/GMW_Term.dll b/GMW/GMW_Term/bin/GMW_Term.dll
index 6412189b..1f730c47 100644
Binary files a/GMW/GMW_Term/bin/GMW_Term.dll and b/GMW/GMW_Term/bin/GMW_Term.dll differ
diff --git a/GMW/GMW_Term/bin/GMW_data.dll b/GMW/GMW_Term/bin/GMW_data.dll
index cb5f8f7d..1d98eb56 100644
Binary files a/GMW/GMW_Term/bin/GMW_data.dll and b/GMW/GMW_Term/bin/GMW_data.dll differ
diff --git a/GMW/GMW_Term/bin/SteamWare.dll b/GMW/GMW_Term/bin/SteamWare.dll
index 6494d5ac..763adb52 100644
Binary files a/GMW/GMW_Term/bin/SteamWare.dll and b/GMW/GMW_Term/bin/SteamWare.dll differ
diff --git a/GMW/GMW_Term/obj/Debug/GMW_Term.csproj.FileListAbsolute.txt b/GMW/GMW_Term/obj/Debug/GMW_Term.csproj.FileListAbsolute.txt
index 22d52e9c..01bf7c96 100644
--- a/GMW/GMW_Term/obj/Debug/GMW_Term.csproj.FileListAbsolute.txt
+++ b/GMW/GMW_Term/obj/Debug/GMW_Term.csproj.FileListAbsolute.txt
@@ -5,17 +5,14 @@ C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term
C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\obj\Debug\GMW_Term.pdb
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\bin\GMW_Term.dll
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\bin\GMW_Term.pdb
+C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\bin\AjaxControlToolkit.dll
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\bin\GMW_data.dll
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\bin\SteamWare.dll
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\bin\ICSharpCode.SharpZipLib.dll
+C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\bin\AjaxControlToolkit.pdb
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\bin\GMW_data.pdb
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\bin\SteamWare.pdb
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\bin\SteamWare.xml
-C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\obj\Debug\ResolveAssemblyReference.cache
-C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\obj\Debug\GMW_Term.dll
-C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\obj\Debug\GMW_Term.pdb
-C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\bin\AjaxControlToolkit.dll
-C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\bin\AjaxControlToolkit.pdb
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\bin\ar\AjaxControlToolkit.resources.dll
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\bin\cs\AjaxControlToolkit.resources.dll
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\bin\de\AjaxControlToolkit.resources.dll
@@ -32,3 +29,6 @@ C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\bin\tr-TR\AjaxControlToolkit.resources.dll
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\bin\zh-CHS\AjaxControlToolkit.resources.dll
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\bin\zh-CHT\AjaxControlToolkit.resources.dll
+C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\obj\Debug\ResolveAssemblyReference.cache
+C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\obj\Debug\GMW_Term.dll
+C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\obj\Debug\GMW_Term.pdb
diff --git a/GMW/GMW_Term/obj/Debug/GMW_Term.dll b/GMW/GMW_Term/obj/Debug/GMW_Term.dll
index 6412189b..1f730c47 100644
Binary files a/GMW/GMW_Term/obj/Debug/GMW_Term.dll and b/GMW/GMW_Term/obj/Debug/GMW_Term.dll differ
diff --git a/GMW/GMW_Term/obj/Debug/ResolveAssemblyReference.cache b/GMW/GMW_Term/obj/Debug/ResolveAssemblyReference.cache
index 11ecb9cd..dd94c98c 100644
Binary files a/GMW/GMW_Term/obj/Debug/ResolveAssemblyReference.cache and b/GMW/GMW_Term/obj/Debug/ResolveAssemblyReference.cache differ