spostato funzioni di test in Test.aspx

git-svn-id: https://keyhammer.ath.cx/svn/GMW/trunk@109 365432ac-a1b5-4ffd-bb28-6d3099d32164
This commit is contained in:
ermanno
2010-06-29 08:10:59 +00:00
parent c2bab769b3
commit 8d0c50a6b9
9 changed files with 144 additions and 8 deletions
BIN
View File
Binary file not shown.
+8 -8
View File
@@ -141,13 +141,6 @@
<Compile Include="Test.aspx.designer.cs">
<DependentUpon>Test.aspx</DependentUpon>
</Compile>
<Compile Include="testFunzioni.aspx.cs">
<DependentUpon>testFunzioni.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="testFunzioni.aspx.designer.cs">
<DependentUpon>testFunzioni.aspx</DependentUpon>
</Compile>
<Compile Include="unauthorized.aspx.cs">
<DependentUpon>unauthorized.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
@@ -365,6 +358,13 @@
<Compile Include="WebUserControls\mod_filtro.ascx.designer.cs">
<DependentUpon>mod_filtro.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\mod_funzioniVarieTest.ascx.cs">
<DependentUpon>mod_funzioniVarieTest.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="WebUserControls\mod_funzioniVarieTest.ascx.designer.cs">
<DependentUpon>mod_funzioniVarieTest.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\mod_lemmiVocab.ascx.cs">
<DependentUpon>mod_lemmiVocab.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
@@ -781,10 +781,10 @@
<ItemGroup>
<None Include="images\Thumbs.db" />
<Content Include="forceUser.aspx" />
<Content Include="testFunzioni.aspx" />
<Content Include="unauthorized.aspx" />
<Content Include="WebMasterPages\TermPageAjax.Master" />
<Content Include="WebMasterPages\TermPage.Master" />
<Content Include="WebUserControls\mod_funzioniVarieTest.ascx" />
<Content Include="WebUserControls\mod_operazioniUdc.ascx" />
<Content Include="WebUserControls\mod_unauthorized.ascx" />
</ItemGroup>
+6
View File
@@ -5,6 +5,8 @@
<%@ Register src="WebUserControls/mod_creaDatiTest.ascx" tagname="mod_creaDatiTest" tagprefix="uc2" %>
<%@ Register src="WebUserControls/mod_funzioniVarieTest.ascx" tagname="mod_funzioniVarieTest" tagprefix="uc3" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
@@ -13,4 +15,8 @@
<uc3:mod_funzioniVarieTest ID="mod_funzioniVarieTest1" runat="server" />
</asp:Content>
+9
View File
@@ -21,5 +21,14 @@ namespace GMW {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::GMW.WebUserControls.mod_creaDatiTest mod_creaDatiTest1;
/// <summary>
/// mod_funzioniVarieTest1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::GMW.WebUserControls.mod_funzioniVarieTest mod_funzioniVarieTest1;
}
}
@@ -0,0 +1,20 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_funzioniVarieTest.ascx.cs" Inherits="GMW.WebUserControls.mod_funzioniVarieTest" %>
<div>
<asp:Label ID="lblTest" runat="server" Text="Test funzionalità MagClass"></asp:Label>
<br />
</div>
<asp:Button ID="Button1" runat="server" onclick="Button1_Click"
Text="Test Insert Liste Prelievo" />
<br />
<asp:Button ID="Button2" runat="server" Text="Test Modifica Lista"
onclick="Button2_Click" />
<br />
<asp:Button ID="Button3" runat="server" onclick="Button3_Click"
Text="Test Scarica lista Prelievo" />
<p>
<asp:Button ID="Button4" runat="server" onclick="Button4_Click"
Text="foreach" />
</p>
@@ -0,0 +1,40 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using GMW_data;
namespace GMW.WebUserControls
{
public partial class mod_funzioniVarieTest : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Button1_Click(object sender, EventArgs e)
{
// testa la creazione lista prelievo
MagClass.magazzino.creaListaPrelievo("MA", "20", "P00505005162", "NEUTRO", "10", 200, "I0054");
}
protected void Button2_Click(object sender, EventArgs e)
{
// testa inizio lista prelievo
MagClass.magazzino.iniziaListaPrelievo("MA", "KMA100600005", "0000000000000080");
}
protected void Button3_Click(object sender, EventArgs e)
{
// testa fine e scaricamento - indicando completata - lista prelievo
MagClass.magazzino.scaricaListaPrelievo("MA", "KMA100600019");
}
protected void Button4_Click(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.WebUserControls {
public partial class mod_funzioniVarieTest {
/// <summary>
/// lblTest 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 lblTest;
/// <summary>
/// Button1 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 Button1;
/// <summary>
/// Button2 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 Button2;
/// <summary>
/// Button3 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 Button3;
/// <summary>
/// Button4 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 Button4;
}
}
Binary file not shown.
Binary file not shown.