aggiunti ascx
git-svn-id: https://keyhammer.ath.cx/svn/GMW/trunk@154 365432ac-a1b5-4ffd-bb28-6d3099d32164
This commit is contained in:
@@ -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" %>
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
<asp:ScriptManager ID="ScriptManager1" runat="server">
|
||||
</asp:ScriptManager>
|
||||
<div id="titleGMW" style="margin: 0px 0px 0px 0px; background-color: #6666FF; text-align:center;">
|
||||
<asp:Label ID="lblGMW" runat="server" Text="GMW" Style="color: #FFFFFF"></asp:Label>
|
||||
</div>
|
||||
<div id="contenuto" style="text-align: center;">
|
||||
<div id="title" style="padding-bottom: 10px;">
|
||||
<asp:Label ID="lblUser" runat="server" Text="Username:"></asp:Label>
|
||||
<asp:Label ID="lblTitle" runat="server" Text=""></asp:Label></div>
|
||||
<div id="InputTitle" style="padding: 0px 0px 40px 0px;">
|
||||
<asp:Label ID="lblInput" runat="server" Text="Barcode Input"></asp:Label></div>
|
||||
<div id="InputBox" style="text-align: center; padding-bottom: 20px;">
|
||||
<asp:TextBox ID="txtInput" runat="server" Text="" Height="50px" Width="200px" OnTextChanged="txtInput_TextChanged"></asp:TextBox>
|
||||
</div>
|
||||
|
||||
<div id="Data" style="padding-bottom: 10px;">
|
||||
<asp:Label ID="lblData" runat="server" Text=""></asp:Label>
|
||||
</div>
|
||||
</ContentTemplate>
|
||||
<div id="Button">
|
||||
<asp:Button ID="btn1" runat="server" Text="Button" OnClick="btn1_Click" />
|
||||
<asp:Button ID="btn2" runat="server" Text="Button" OnClick="btn2_Click" />
|
||||
</div>
|
||||
|
||||
</asp:UpdatePanel>
|
||||
</div>
|
||||
|
||||
<uc1:mod_userBar ID="mod_userBar1" runat="server" />
|
||||
<uc2:mod_barcode ID="mod_barcode1" runat="server" />
|
||||
|
||||
</asp:Content>
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Generated
+4
-67
@@ -14,84 +14,21 @@ namespace GMW_Term {
|
||||
public partial class Barcode {
|
||||
|
||||
/// <summary>
|
||||
/// ScriptManager1 control.
|
||||
/// mod_userBar1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.ScriptManager ScriptManager1;
|
||||
protected global::GMW_Term.WebUserControls.mod_userBar mod_userBar1;
|
||||
|
||||
/// <summary>
|
||||
/// lblGMW control.
|
||||
/// mod_barcode1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblGMW;
|
||||
|
||||
/// <summary>
|
||||
/// lblUser control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblUser;
|
||||
|
||||
/// <summary>
|
||||
/// lblTitle control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblTitle;
|
||||
|
||||
/// <summary>
|
||||
/// lblInput control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblInput;
|
||||
|
||||
/// <summary>
|
||||
/// txtInput control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtInput;
|
||||
|
||||
/// <summary>
|
||||
/// lblData control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblData;
|
||||
|
||||
/// <summary>
|
||||
/// btn1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Button btn1;
|
||||
|
||||
/// <summary>
|
||||
/// btn2 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Button btn2;
|
||||
protected global::GMW_Term.WebUserControls.mod_barcode mod_barcode1;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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" %>
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
<asp:ScriptManager ID="ScriptManager1" runat="server">
|
||||
</asp:ScriptManager>
|
||||
<div id="titleGMW" style="margin: 0px 0px 0px 0px; background-color: #6666FF; text-align:center;">
|
||||
<asp:Label ID="lblGMW" runat="server" Text="GMW" Style="color: #FFFFFF"></asp:Label>
|
||||
</div>
|
||||
<div id="contenuto" style="text-align: center;">
|
||||
<div id="title" style="padding-bottom: 10px;">
|
||||
<asp:Label ID="lblUser" runat="server" Text="Username:"></asp:Label>
|
||||
<asp:Label ID="lblTitle" runat="server" Text=""></asp:Label></div>
|
||||
<div id="InputTitle">
|
||||
<asp:Label ID="lblInput" runat="server" Text="Cambia utente"></asp:Label></div>
|
||||
<div id="box" style="margin: 10px 0px 0px 0px; text-align: center;">
|
||||
<asp:TextBox ID="txtLogin" runat="server" OnTextChanged="txtLogin_TextChanged" Height="50px"
|
||||
Width="200px"></asp:TextBox>
|
||||
</div>
|
||||
<div id="errore">
|
||||
<asp:Label ID="lblErrore" runat="server" Text="" style="color:Red;"></asp:Label>
|
||||
</div>
|
||||
<div id="Button">
|
||||
<asp:Button ID="btn1" runat="server" Text="Button" />
|
||||
<asp:Button ID="btn2" runat="server" Text="Button" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<uc1:mod_userBar ID="mod_userBar1" runat="server" />
|
||||
<uc2:mod_changeUser ID="mod_changeUser1" runat="server" />
|
||||
|
||||
</asp:Content>
|
||||
|
||||
@@ -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!";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Generated
+4
-67
@@ -14,84 +14,21 @@ namespace GMW_Term {
|
||||
public partial class ChangeUser {
|
||||
|
||||
/// <summary>
|
||||
/// ScriptManager1 control.
|
||||
/// mod_userBar1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.ScriptManager ScriptManager1;
|
||||
protected global::GMW_Term.WebUserControls.mod_userBar mod_userBar1;
|
||||
|
||||
/// <summary>
|
||||
/// lblGMW control.
|
||||
/// mod_changeUser1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblGMW;
|
||||
|
||||
/// <summary>
|
||||
/// lblUser control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblUser;
|
||||
|
||||
/// <summary>
|
||||
/// lblTitle control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblTitle;
|
||||
|
||||
/// <summary>
|
||||
/// lblInput control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblInput;
|
||||
|
||||
/// <summary>
|
||||
/// txtLogin control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtLogin;
|
||||
|
||||
/// <summary>
|
||||
/// lblErrore control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblErrore;
|
||||
|
||||
/// <summary>
|
||||
/// btn1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Button btn1;
|
||||
|
||||
/// <summary>
|
||||
/// btn2 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Button btn2;
|
||||
protected global::GMW_Term.WebUserControls.mod_changeUser mod_changeUser1;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -60,6 +60,55 @@
|
||||
<Content Include="Web.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="WebUserControls\mod_barcode.ascx.cs">
|
||||
<DependentUpon>mod_barcode.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_barcode.ascx.designer.cs">
|
||||
<DependentUpon>mod_barcode.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_changeUser.ascx.cs">
|
||||
<DependentUpon>mod_changeUser.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_changeUser.ascx.designer.cs">
|
||||
<DependentUpon>mod_changeUser.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_home.ascx.cs">
|
||||
<DependentUpon>mod_home.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_home.ascx.designer.cs">
|
||||
<DependentUpon>mod_home.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_listePrelievo.ascx.cs">
|
||||
<DependentUpon>mod_listePrelievo.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_listePrelievo.ascx.designer.cs">
|
||||
<DependentUpon>mod_listePrelievo.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_login.ascx.cs">
|
||||
<DependentUpon>mod_login.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_login.ascx.designer.cs">
|
||||
<DependentUpon>mod_login.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_search.ascx.cs">
|
||||
<DependentUpon>mod_search.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_search.ascx.designer.cs">
|
||||
<DependentUpon>mod_search.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_userBar.ascx.cs">
|
||||
<DependentUpon>mod_userBar.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_userBar.ascx.designer.cs">
|
||||
<DependentUpon>mod_userBar.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WS\AutoCompletamento.asmx.cs">
|
||||
<DependentUpon>AutoCompletamento.asmx</DependentUpon>
|
||||
<SubType>Component</SubType>
|
||||
@@ -116,6 +165,13 @@
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="WebUserControls\mod_barcode.ascx" />
|
||||
<Content Include="WebUserControls\mod_changeUser.ascx" />
|
||||
<Content Include="WebUserControls\mod_home.ascx" />
|
||||
<Content Include="WebUserControls\mod_listePrelievo.ascx" />
|
||||
<Content Include="WebUserControls\mod_login.ascx" />
|
||||
<Content Include="WebUserControls\mod_search.ascx" />
|
||||
<Content Include="WebUserControls\mod_userBar.ascx" />
|
||||
<Content Include="WS\AutoCompletamento.asmx" />
|
||||
<Content Include="Barcode.aspx" />
|
||||
<Content Include="ChangeUser.aspx" />
|
||||
|
||||
+10
-26
@@ -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" %>
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
<div id="titleGMW" style="margin: 0px 0px 0px 0px; background-color: #6666FF; text-align:center;">
|
||||
<asp:Label ID="lblGMW" runat="server" Text="GMW" Style="color: #FFFFFF"></asp:Label>
|
||||
</div>
|
||||
<div id="title" style="text-align: center; padding-bottom: 10px;">
|
||||
<asp:Label ID="lblUser" runat="server" Text="Username:"></asp:Label>
|
||||
<asp:Label ID="lblTitle" runat="server" Text=""></asp:Label></div>
|
||||
<div id="1" class="quadro1">
|
||||
<asp:Button ID="btn1" runat="server" Height="80px" Text="Button"
|
||||
Width="80px" onclick="btn1_Click" AccessKey="1" />
|
||||
</div>
|
||||
<div id="2" class="quadro2">
|
||||
<asp:Button ID="btn2" runat="server" Height="80px" Text="Button"
|
||||
Width="80px" onclick="btn2_Click1" AccessKey="2" />
|
||||
</div>
|
||||
<div style="clear: both;" height="0px">
|
||||
</div>
|
||||
<div id="3" class="quadro2">
|
||||
<asp:Button ID="btn3" runat="server" Height="80px" Text="Button" Width="80px"
|
||||
onclick="btn3_Click1" />
|
||||
</div>
|
||||
<div id="4" class="quadro1">
|
||||
<asp:Button ID="btn4" runat="server" Height="80px" Text="Button" Width="80px"
|
||||
onclick="btn4_Click1" />
|
||||
</div>
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
<uc2:mod_userBar ID="mod_userBar1" runat="server" />
|
||||
<uc1:mod_home ID="mod_home1" runat="server" />
|
||||
|
||||
|
||||
|
||||
</asp:Content>
|
||||
|
||||
@@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Generated
+4
-49
@@ -14,66 +14,21 @@ namespace GMW_Term {
|
||||
public partial class Home {
|
||||
|
||||
/// <summary>
|
||||
/// lblGMW control.
|
||||
/// mod_userBar1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblGMW;
|
||||
protected global::GMW_Term.WebUserControls.mod_userBar mod_userBar1;
|
||||
|
||||
/// <summary>
|
||||
/// lblUser control.
|
||||
/// mod_home1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblUser;
|
||||
|
||||
/// <summary>
|
||||
/// lblTitle control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblTitle;
|
||||
|
||||
/// <summary>
|
||||
/// btn1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Button btn1;
|
||||
|
||||
/// <summary>
|
||||
/// btn2 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Button btn2;
|
||||
|
||||
/// <summary>
|
||||
/// btn3 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Button btn3;
|
||||
|
||||
/// <summary>
|
||||
/// btn4 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Button btn4;
|
||||
protected global::GMW_Term.WebUserControls.mod_home mod_home1;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
<asp:ScriptManager ID="ScriptManager1" runat="server">
|
||||
</asp:ScriptManager>
|
||||
<div id="titleGMW" style="margin: 0px 0px 0px 0px; background-color: #6666FF; text-align:center;">
|
||||
<asp:Label ID="lblGMW" runat="server" Text="GMW" Style="color: #FFFFFF"></asp:Label>
|
||||
</div>
|
||||
<div id="contenuto" style="text-align: center;">
|
||||
<div id="title" style="padding-bottom: 10px;">
|
||||
<asp:Label ID="lblUser" runat="server" Text="Username:"></asp:Label>
|
||||
<asp:Label ID="lblTitle" runat="server" Text=""></asp:Label></div>
|
||||
<div id="InputTitle">
|
||||
<asp:Label ID="lblInput" runat="server" Text="Liste Prelievo"></asp:Label></div>
|
||||
<asp:UpdatePanel ID="updPanel1" runat="server">
|
||||
<ContentTemplate>
|
||||
<div id="Data" style="padding-bottom: 10px;">
|
||||
</div>
|
||||
</ContentTemplate>
|
||||
</asp:UpdatePanel>
|
||||
<div id="Button">
|
||||
<asp:Button ID="btn1" runat="server" Text="Button" />
|
||||
<asp:Button ID="btn2" runat="server" Text="Button" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<uc1:mod_userBar ID="mod_userBar1" runat="server" />
|
||||
<uc2:mod_listePrelievo ID="mod_listePrelievo1" runat="server" />
|
||||
|
||||
</asp:Content>
|
||||
|
||||
+4
-58
@@ -14,75 +14,21 @@ namespace GMW_Term {
|
||||
public partial class ListePrelievo {
|
||||
|
||||
/// <summary>
|
||||
/// ScriptManager1 control.
|
||||
/// mod_userBar1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.ScriptManager ScriptManager1;
|
||||
protected global::GMW_Term.WebUserControls.mod_userBar mod_userBar1;
|
||||
|
||||
/// <summary>
|
||||
/// lblGMW control.
|
||||
/// mod_listePrelievo1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblGMW;
|
||||
|
||||
/// <summary>
|
||||
/// lblUser control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblUser;
|
||||
|
||||
/// <summary>
|
||||
/// lblTitle control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblTitle;
|
||||
|
||||
/// <summary>
|
||||
/// lblInput control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblInput;
|
||||
|
||||
/// <summary>
|
||||
/// updPanel1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.UpdatePanel updPanel1;
|
||||
|
||||
/// <summary>
|
||||
/// btn1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Button btn1;
|
||||
|
||||
/// <summary>
|
||||
/// btn2 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Button btn2;
|
||||
protected global::GMW_Term.WebUserControls.mod_listePrelievo mod_listePrelievo1;
|
||||
}
|
||||
}
|
||||
|
||||
+6
-16
@@ -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" %>
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
<asp:ScriptManager ID="ScriptManager1" runat="server" />
|
||||
<div id="contenuto" style="text-align: center;">
|
||||
<div id="titleGMW" style="margin: 0px 0px 0px 0px; background-color: #6666FF;">
|
||||
<asp:Label ID="lblGMW" runat="server" Text="GMW" Style="color: #FFFFFF"></asp:Label>
|
||||
</div>
|
||||
<div id="box" style="margin: 80px 0px 0px 0px;">
|
||||
<asp:TextBox ID="txtLogin" runat="server" OnTextChanged="txtLogin_TextChanged" Height="50px"
|
||||
Width="200px"></asp:TextBox>
|
||||
</div>
|
||||
<div id="login" style="margin-top: 30px;">
|
||||
<asp:Label ID="lblLogin" runat="server" Text="LOGIN"></asp:Label>
|
||||
</div>
|
||||
<div id="errore" style="color:Red;">
|
||||
<asp:Label ID="lblErrore" runat="server" Text=""></asp:Label>
|
||||
</div>
|
||||
</div>
|
||||
<uc2:mod_userBar ID="mod_userBar1" runat="server" />
|
||||
<uc1:mod_login ID="mod_login1" runat="server" />
|
||||
</asp:Content>
|
||||
|
||||
@@ -14,50 +14,7 @@ namespace GMW_Term
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// stringa da valorizzare per nome utente
|
||||
/// </summary>
|
||||
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!";
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// imposta il nome utente
|
||||
/// </summary>
|
||||
public string userName
|
||||
{
|
||||
get
|
||||
{
|
||||
return _nomeUtente;
|
||||
}
|
||||
set
|
||||
{
|
||||
_nomeUtente = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Generated
+4
-31
@@ -14,48 +14,21 @@ namespace GMW_Term {
|
||||
public partial class Login {
|
||||
|
||||
/// <summary>
|
||||
/// ScriptManager1 control.
|
||||
/// mod_userBar1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.ScriptManager ScriptManager1;
|
||||
protected global::GMW_Term.WebUserControls.mod_userBar mod_userBar1;
|
||||
|
||||
/// <summary>
|
||||
/// lblGMW control.
|
||||
/// mod_login1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblGMW;
|
||||
|
||||
/// <summary>
|
||||
/// txtLogin control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtLogin;
|
||||
|
||||
/// <summary>
|
||||
/// lblLogin control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblLogin;
|
||||
|
||||
/// <summary>
|
||||
/// lblErrore control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblErrore;
|
||||
protected global::GMW_Term.WebUserControls.mod_login mod_login1;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
<asp:ScriptManager ID="ScriptManager1" runat="server">
|
||||
</asp:ScriptManager>
|
||||
<div id="titleGMW" style="margin: 0px 0px 0px 0px; background-color: #6666FF; text-align: center;">
|
||||
<asp:Label ID="lblGMW" runat="server" Text="GMW" Style="color: #FFFFFF"></asp:Label>
|
||||
</div>
|
||||
<div id="contenuto" style="text-align: center;">
|
||||
<div id="title" style="padding-bottom: 10px;">
|
||||
<asp:Label ID="lblUser" runat="server" Text="Username:"></asp:Label>
|
||||
<asp:Label ID="lblTitle" runat="server" Text=""></asp:Label></div>
|
||||
<div id="InputTitle" style="padding: 0px 0px 40px 0px;">
|
||||
<asp:Label ID="lblInput" runat="server" Text="Ricerca Libera"></asp:Label></div>
|
||||
<asp:UpdatePanel ID="updPanel1" runat="server">
|
||||
<ContentTemplate>
|
||||
<div id="Data" style="padding-bottom: 10px;">
|
||||
<asp:TextBox ID="txtRicerca" runat="server"></asp:TextBox>
|
||||
<cc1:AutoCompleteExtender ID="aceSearch" runat="server" TargetControlID="txtRicerca"
|
||||
ServicePath="~/WS/AutoCompletamento.asmx" ServiceMethod="elencoParticolari">
|
||||
</cc1:AutoCompleteExtender>
|
||||
</div>
|
||||
</ContentTemplate>
|
||||
</asp:UpdatePanel>
|
||||
<div id="Button">
|
||||
<asp:Button ID="btn1" runat="server" Text="Button" />
|
||||
<asp:Button ID="btn2" runat="server" Text="Button" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<uc1:mod_userBar ID="mod_userBar1" runat="server" />
|
||||
<uc2:mod_search ID="mod_search1" runat="server" />
|
||||
|
||||
</asp:Content>
|
||||
|
||||
@@ -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"]);
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Generated
+4
-76
@@ -14,93 +14,21 @@ namespace GMW_Term {
|
||||
public partial class Search {
|
||||
|
||||
/// <summary>
|
||||
/// ScriptManager1 control.
|
||||
/// mod_userBar1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.ScriptManager ScriptManager1;
|
||||
protected global::GMW_Term.WebUserControls.mod_userBar mod_userBar1;
|
||||
|
||||
/// <summary>
|
||||
/// lblGMW control.
|
||||
/// mod_search1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblGMW;
|
||||
|
||||
/// <summary>
|
||||
/// lblUser control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblUser;
|
||||
|
||||
/// <summary>
|
||||
/// lblTitle control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblTitle;
|
||||
|
||||
/// <summary>
|
||||
/// lblInput control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblInput;
|
||||
|
||||
/// <summary>
|
||||
/// updPanel1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.UpdatePanel updPanel1;
|
||||
|
||||
/// <summary>
|
||||
/// txtRicerca control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtRicerca;
|
||||
|
||||
/// <summary>
|
||||
/// aceSearch control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::AjaxControlToolkit.AutoCompleteExtender aceSearch;
|
||||
|
||||
/// <summary>
|
||||
/// btn1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Button btn1;
|
||||
|
||||
/// <summary>
|
||||
/// btn2 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Button btn2;
|
||||
protected global::GMW_Term.WebUserControls.mod_search mod_search1;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_barcode.ascx.cs"
|
||||
Inherits="GMW_Term.WebUserControls.mod_barcode" %>
|
||||
<asp:ScriptManager ID="ScriptManager1" runat="server">
|
||||
</asp:ScriptManager>
|
||||
<div id="contenuto" style="text-align: center;">
|
||||
<div id="InputTitle" style="padding: 0px 0px 40px 0px;">
|
||||
<asp:Label ID="lblInput" runat="server" Text="Barcode Input"></asp:Label></div>
|
||||
<div id="InputBox" style="text-align: center; padding-bottom: 20px;">
|
||||
<asp:TextBox ID="txtInput" runat="server" Text="" Height="50px" Width="200px" OnTextChanged="txtInput_TextChanged"></asp:TextBox>
|
||||
</div>
|
||||
<div id="Data" style="padding-bottom: 10px;">
|
||||
<asp:Label ID="lblData" runat="server" Text=""></asp:Label>
|
||||
</div>
|
||||
</ContentTemplate>
|
||||
<div id="Button">
|
||||
<asp:Button ID="btn1" runat="server" Text="Button" OnClick="btn1_Click" />
|
||||
<asp:Button ID="btn2" runat="server" Text="Button" OnClick="btn2_Click" />
|
||||
</div>
|
||||
</asp:UpdatePanel>
|
||||
</div>
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,70 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 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.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace GMW_Term.WebUserControls {
|
||||
|
||||
|
||||
public partial class mod_barcode {
|
||||
|
||||
/// <summary>
|
||||
/// ScriptManager1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.ScriptManager ScriptManager1;
|
||||
|
||||
/// <summary>
|
||||
/// lblInput control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblInput;
|
||||
|
||||
/// <summary>
|
||||
/// txtInput control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtInput;
|
||||
|
||||
/// <summary>
|
||||
/// lblData control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblData;
|
||||
|
||||
/// <summary>
|
||||
/// btn1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Button btn1;
|
||||
|
||||
/// <summary>
|
||||
/// btn2 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Button btn2;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_changeUser.ascx.cs" Inherits="GMW_Term.WebUserControls.mod_changeUser" %>
|
||||
<asp:ScriptManager ID="ScriptManager1" runat="server">
|
||||
</asp:ScriptManager>
|
||||
<div id="contenuto" style="text-align: center;">
|
||||
<div id="InputTitle">
|
||||
<asp:Label ID="lblInput" runat="server" Text="Cambia utente"></asp:Label></div>
|
||||
<div id="box" style="margin: 10px 0px 0px 0px; text-align: center;">
|
||||
<asp:TextBox ID="txtLogin" runat="server" OnTextChanged="txtLogin_TextChanged" Height="50px"
|
||||
Width="200px"></asp:TextBox>
|
||||
</div>
|
||||
<div id="errore">
|
||||
<asp:Label ID="lblErrore" runat="server" Text="" style="color:Red;"></asp:Label>
|
||||
</div>
|
||||
<div id="Button">
|
||||
<asp:Button ID="btn1" runat="server" Text="Button" />
|
||||
<asp:Button ID="btn2" runat="server" Text="Button" />
|
||||
</div>
|
||||
</div>
|
||||
@@ -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!";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,70 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 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.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace GMW_Term.WebUserControls {
|
||||
|
||||
|
||||
public partial class mod_changeUser {
|
||||
|
||||
/// <summary>
|
||||
/// ScriptManager1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.ScriptManager ScriptManager1;
|
||||
|
||||
/// <summary>
|
||||
/// lblInput control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblInput;
|
||||
|
||||
/// <summary>
|
||||
/// txtLogin control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtLogin;
|
||||
|
||||
/// <summary>
|
||||
/// lblErrore control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblErrore;
|
||||
|
||||
/// <summary>
|
||||
/// btn1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Button btn1;
|
||||
|
||||
/// <summary>
|
||||
/// btn2 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Button btn2;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_home.ascx.cs" Inherits="GMW_Term.WebUserControls.mod_home" %>
|
||||
<div id="1" class="quadro1">
|
||||
<asp:Button ID="btn1" runat="server" Height="80px" Text="Button" Width="80px"
|
||||
OnClick="btn1_Click" AccessKey="1" />
|
||||
</div>
|
||||
<div id="2" class="quadro2">
|
||||
<asp:Button ID="btn2" runat="server" Height="80px" Text="Button" Width="80px"
|
||||
OnClick="btn2_Click1" AccessKey="2" />
|
||||
</div>
|
||||
<div style="clear: both;" height="0px">
|
||||
</div>
|
||||
<div id="3" class="quadro2">
|
||||
<asp:Button ID="btn3" runat="server" Height="80px" Text="Button" Width="80px" OnClick="btn3_Click1" />
|
||||
</div>
|
||||
<div id="4" class="quadro1">
|
||||
<asp:Button ID="btn4" runat="server" Height="80px" Text="Button" Width="80px" OnClick="btn4_Click1" />
|
||||
</div>
|
||||
@@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,52 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 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.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace GMW_Term.WebUserControls {
|
||||
|
||||
|
||||
public partial class mod_home {
|
||||
|
||||
/// <summary>
|
||||
/// btn1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Button btn1;
|
||||
|
||||
/// <summary>
|
||||
/// btn2 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Button btn2;
|
||||
|
||||
/// <summary>
|
||||
/// btn3 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Button btn3;
|
||||
|
||||
/// <summary>
|
||||
/// btn4 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Button btn4;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_listePrelievo.ascx.cs" Inherits="GMW_Term.WebUserControls.mod_listePrelievo" %>
|
||||
<asp:ScriptManager ID="ScriptManager1" runat="server">
|
||||
</asp:ScriptManager>
|
||||
<div id="contenuto" style="text-align: center;">
|
||||
<div id="InputTitle">
|
||||
<asp:Label ID="lblInput" runat="server" Text="Liste Prelievo"></asp:Label></div>
|
||||
<asp:UpdatePanel ID="updPanel1" runat="server">
|
||||
<ContentTemplate>
|
||||
<div id="Data" style="padding-bottom: 10px;">
|
||||
</div>
|
||||
</ContentTemplate>
|
||||
</asp:UpdatePanel>
|
||||
<div id="Button">
|
||||
<asp:Button ID="btn1" runat="server" Text="Button" />
|
||||
<asp:Button ID="btn2" runat="server" Text="Button" />
|
||||
</div>
|
||||
</div>
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 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.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace GMW_Term.WebUserControls {
|
||||
|
||||
|
||||
public partial class mod_listePrelievo {
|
||||
|
||||
/// <summary>
|
||||
/// ScriptManager1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.ScriptManager ScriptManager1;
|
||||
|
||||
/// <summary>
|
||||
/// lblInput control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblInput;
|
||||
|
||||
/// <summary>
|
||||
/// updPanel1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.UpdatePanel updPanel1;
|
||||
|
||||
/// <summary>
|
||||
/// btn1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Button btn1;
|
||||
|
||||
/// <summary>
|
||||
/// btn2 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Button btn2;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_login.ascx.cs" Inherits="GMW_Term.WebUserControls.mod_login" %>
|
||||
<asp:ScriptManager ID="ScriptManager1" runat="server" />
|
||||
<div id="contenuto" style="text-align: center;">
|
||||
<div id="box" style="margin: 80px 0px 0px 0px;">
|
||||
<asp:TextBox ID="txtLogin" runat="server" OnTextChanged="txtLogin_TextChanged" Height="50px"
|
||||
Width="200px"></asp:TextBox>
|
||||
</div>
|
||||
<div id="login" style="margin-top: 30px;">
|
||||
<asp:Label ID="lblLogin" runat="server" Text="LOGIN"></asp:Label>
|
||||
</div>
|
||||
<div id="errore" style="color:Red;">
|
||||
<asp:Label ID="lblErrore" runat="server" Text=""></asp:Label>
|
||||
</div>
|
||||
</div>
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// stringa da valorizzare per nome utente
|
||||
/// </summary>
|
||||
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!";
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// imposta il nome utente
|
||||
/// </summary>
|
||||
public string userName
|
||||
{
|
||||
get
|
||||
{
|
||||
return _nomeUtente;
|
||||
}
|
||||
set
|
||||
{
|
||||
_nomeUtente = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 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.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace GMW_Term.WebUserControls {
|
||||
|
||||
|
||||
public partial class mod_login {
|
||||
|
||||
/// <summary>
|
||||
/// ScriptManager1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.ScriptManager ScriptManager1;
|
||||
|
||||
/// <summary>
|
||||
/// txtLogin control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtLogin;
|
||||
|
||||
/// <summary>
|
||||
/// lblLogin control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblLogin;
|
||||
|
||||
/// <summary>
|
||||
/// lblErrore control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblErrore;
|
||||
}
|
||||
}
|
||||
@@ -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" %>
|
||||
<asp:ScriptManager ID="ScriptManager1" runat="server">
|
||||
</asp:ScriptManager>
|
||||
<div id="contenuto" style="text-align: center;">
|
||||
<div id="InputTitle" style="padding: 0px 0px 40px 0px;">
|
||||
<asp:Label ID="lblInput" runat="server" Text="Ricerca Libera"></asp:Label></div>
|
||||
<asp:UpdatePanel ID="updPanel1" runat="server">
|
||||
<ContentTemplate>
|
||||
<div id="Data" style="padding-bottom: 10px;">
|
||||
<asp:TextBox ID="txtRicerca" runat="server"></asp:TextBox>
|
||||
<cc1:AutoCompleteExtender ID="aceSearch" runat="server" TargetControlID="txtRicerca"
|
||||
ServicePath="~/WS/AutoCompletamento.asmx" ServiceMethod="elencoParticolari">
|
||||
</cc1:AutoCompleteExtender>
|
||||
</div>
|
||||
</ContentTemplate>
|
||||
</asp:UpdatePanel>
|
||||
<div id="Button">
|
||||
<asp:Button ID="btn1" runat="server" Text="Button" />
|
||||
<asp:Button ID="btn2" runat="server" Text="Button" />
|
||||
</div>
|
||||
</div>
|
||||
@@ -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"]);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,79 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 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.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace GMW_Term.WebUserControls {
|
||||
|
||||
|
||||
public partial class mod_search {
|
||||
|
||||
/// <summary>
|
||||
/// ScriptManager1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.ScriptManager ScriptManager1;
|
||||
|
||||
/// <summary>
|
||||
/// lblInput control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblInput;
|
||||
|
||||
/// <summary>
|
||||
/// updPanel1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.UpdatePanel updPanel1;
|
||||
|
||||
/// <summary>
|
||||
/// txtRicerca control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtRicerca;
|
||||
|
||||
/// <summary>
|
||||
/// aceSearch control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::AjaxControlToolkit.AutoCompleteExtender aceSearch;
|
||||
|
||||
/// <summary>
|
||||
/// btn1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Button btn1;
|
||||
|
||||
/// <summary>
|
||||
/// btn2 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Button btn2;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_userBar.ascx.cs"
|
||||
Inherits="GMW_Term.WebUserControls.mod_userBar" %>
|
||||
<div id="titleGMW" style="margin: 0px 0px 0px 0px; background-color: #6666FF; text-align: center;">
|
||||
<asp:Label ID="lblGMW" runat="server" Text="GMW" Style="color: #FFFFFF"></asp:Label>
|
||||
</div>
|
||||
<div id="title" style="text-align: center; padding-bottom: 10px;">
|
||||
<asp:Label ID="lblUserLabel" runat="server" Text="Username:"></asp:Label>
|
||||
<asp:Label ID="lblUser" runat="server" Text=""></asp:Label></div>
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 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.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace GMW_Term.WebUserControls {
|
||||
|
||||
|
||||
public partial class mod_userBar {
|
||||
|
||||
/// <summary>
|
||||
/// lblGMW control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblGMW;
|
||||
|
||||
/// <summary>
|
||||
/// lblUserLabel control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblUserLabel;
|
||||
|
||||
/// <summary>
|
||||
/// lblUser control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblUser;
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -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
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user