Completata gestione x UDC caricati a magazzino

git-svn-id: https://keyhammer.ath.cx/svn/GMW/trunk@185 365432ac-a1b5-4ffd-bb28-6d3099d32164
This commit is contained in:
samuele
2010-08-03 16:13:22 +00:00
parent b3cb6e7d61
commit 156ebfdf21
16 changed files with 6336 additions and 16 deletions
@@ -7,13 +7,14 @@
<asp:Label ID="lblInput" runat="server" Text="Barcode Input" />
</div>
<div id="InputBox" style="text-align: center; padding-bottom: 10px;">
<asp:TextBox ID="txtInput" runat="server" Text="" Width="200px" OnTextChanged="txtInput_TextChanged" />
<asp:TextBox ID="txtInput" runat="server" Text="" Width="200px" OnTextChanged="txtInput_TextChanged"
AutoPostBack="True" />
</div>
<div id="Data" style="padding-bottom: 10px;">
<asp:Label ID="lblData" runat="server" Text="" />
</div>
<div id="Button">
<asp:Button ID="btnLoginPage" runat="server" OnClick="btnLoginPage_Click" />
<asp:Button ID="btnButtonsHome" runat="server" OnClick="btnButtonsHome_Click" />
<asp:Button ID="btnLoginPage" runat="server" OnClick="btnLoginPage_Click" Width="100px" />
<asp:Button ID="btnButtonsHome" runat="server" OnClick="btnButtonsHome_Click" Width="100px" />
</div>
</div>
@@ -32,14 +32,14 @@ namespace GMW_Term.WebUserControls
protected void Page_Load(object sender, EventArgs e)
{
// scrive label e text bottoni
btnLoginPage.Text = "Login";
btnButtonsHome.Text = "Home";
btnLoginPage.Text = "[7]-Login";
btnLoginPage.AccessKey = "7";
btnButtonsHome.Text = "[9]-Home";
btnButtonsHome.AccessKey = "9";
// se username è valorizzato...
verificaOperatoreInSessione();
if (_validUserInSession)
{
btnLoginPage.Text = "LogOff";
btnLoginPage.Visible = true;
btnButtonsHome.Visible = true;
lblData.Text = "Inserire Dati...";
@@ -52,7 +52,7 @@ namespace GMW_Term.WebUserControls
btnButtonsHome.Visible = false;
lblData.Text = "Effettuare Login";
}
txtInput.Focus();
}
/// <summary>
/// inserito testo nella TextBox
@@ -50,6 +50,7 @@ namespace GMW_Term.WebUserControls
traduciObj();
setupBtn();
}
txtInput.Focus();
}
/// <summary>
/// sistemo abilitazione buttons (a seconda dello stato dell'UDC)
@@ -241,6 +242,8 @@ namespace GMW_Term.WebUserControls
btnConferma.Visible = false;
// aggiorna dati
frmView.DataBind();
// sistemo buttons
setupBtn();
}
/// <summary>
/// ritorna alla home
+4 -4
View File
@@ -1,17 +1,17 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_home.ascx.cs" Inherits="GMW_Term.WebUserControls.mod_home" %>
<div id="1" class="quadro1">
&nbsp;<asp:Button ID="btn1" runat="server" Height="80px" Text="Button" Width="80px"
&nbsp;<asp:Button ID="btn1" runat="server" Height="90px" Text="Button" Width="90px"
OnClick="btn1_Click" AccessKey="1" />
</div>
<div id="2" class="quadro2">
&nbsp;<asp:Button ID="btn2" runat="server" Height="80px" Text="Button" Width="80px"
&nbsp;<asp:Button ID="btn2" runat="server" Height="90px" Text="Button" Width="90px"
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" />
<asp:Button ID="btn3" runat="server" Height="90px" Text="Button" Width="90px" OnClick="btn3_Click1" />
</div>
<div id="4" class="quadro1">
<asp:Button ID="btn4" runat="server" Height="80px" Text="Button" Width="80px" OnClick="btn4_Click1" />
<asp:Button ID="btn4" runat="server" Height="90px" Text="Button" Width="90px" OnClick="btn4_Click1" />
</div>
@@ -14,10 +14,14 @@ namespace GMW_Term.WebUserControls
{
// scrive label e text bottoni
btn1.Text = "Barcode";
btn2.Text = "Ricerca";
btn3.Text = "Liste Prelievo";
btn4.Text = "Task Attivi";
btn1.Text = "[1]-Barcode";
btn1.AccessKey = "1";
btn2.Text = "[3]-Ricerca";
btn2.AccessKey = "3";
btn3.Text = "[7]-Liste Prel";
btn3.AccessKey = "7";
btn4.Text = "[9]-Task Attivi";
btn4.AccessKey = "9";
}
protected void btn1_Click(object sender, EventArgs e)
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large Load Diff
Binary file not shown.