renaming mod --> cmp stats
This commit is contained in:
@@ -633,7 +633,7 @@
|
||||
<Content Include="WebUserControls\mod_newPromessaODL.ascx" />
|
||||
<Content Include="WebUserControls\mod_pageTitleAndSearch.ascx" />
|
||||
<Content Include="WebUserControls\mod_planCreate.ascx" />
|
||||
<Content Include="WebUserControls\mod_planStats.ascx" />
|
||||
<Content Include="WebUserControls\cmp_planStats.ascx" />
|
||||
<Content Include="WebUserControls\mod_ricercaGenerica.ascx" />
|
||||
<Content Include="WebUserControls\mod_storicoTC.ascx" />
|
||||
<Content Include="WebUserControls\mod_unauthorized.ascx" />
|
||||
@@ -1172,12 +1172,12 @@
|
||||
<Compile Include="WebUserControls\mod_planCreate.ascx.designer.cs">
|
||||
<DependentUpon>mod_planCreate.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_planStats.ascx.cs">
|
||||
<DependentUpon>mod_planStats.ascx</DependentUpon>
|
||||
<Compile Include="WebUserControls\cmp_planStats.ascx.cs">
|
||||
<DependentUpon>cmp_planStats.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_planStats.ascx.designer.cs">
|
||||
<DependentUpon>mod_planStats.ascx</DependentUpon>
|
||||
<Compile Include="WebUserControls\cmp_planStats.ascx.designer.cs">
|
||||
<DependentUpon>cmp_planStats.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_ricercaGenerica.ascx.cs">
|
||||
<DependentUpon>mod_ricercaGenerica.ascx</DependentUpon>
|
||||
|
||||
+2
-2
@@ -1,13 +1,13 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/MoonPro.master" AutoEventWireup="true" CodeBehind="Planner.aspx.cs" Inherits="MP_ADM.Planner" %>
|
||||
|
||||
<%@ Register Src="~/WebUserControls/mod_planStats.ascx" TagPrefix="uc1" TagName="mod_planStats" %>
|
||||
<%@ Register Src="~/WebUserControls/cmp_planStats.ascx" TagPrefix="uc1" TagName="cmp_planStats" %>
|
||||
<%@ Register Src="~/WebUserControls/mod_planCreate.ascx" TagPrefix="uc1" TagName="mod_planCreate" %>
|
||||
<%@ Register Src="~/WebUserControls/mod_gestPromODL_OUT.ascx" TagPrefix="uc1" TagName="mod_gestPromODL_OUT" %>
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
<asp:Label runat="server" ID="lblDataImportOut" CssClass="text-danger" />
|
||||
<div runat="server" id="divContent">
|
||||
<uc1:mod_planStats runat="server" ID="mod_planStats" />
|
||||
<uc1:cmp_planStats runat="server" ID="cmp_planStats" />
|
||||
<uc1:mod_planCreate runat="server" ID="mod_planCreate" />
|
||||
<div class="card">
|
||||
<div class="card-header bg-success text-light">
|
||||
|
||||
+17
-17
@@ -20,6 +20,16 @@ namespace MP_ADM
|
||||
}
|
||||
}
|
||||
|
||||
private void cmp_planStats_eh_reset(object sender, EventArgs e)
|
||||
{
|
||||
doRefreshChild();
|
||||
}
|
||||
|
||||
private void cmp_planStats_eh_selVal(object sender, EventArgs e)
|
||||
{
|
||||
doRefreshChild();
|
||||
}
|
||||
|
||||
private void Mod_planCreate_eh_ucev(object sender, EventArgs e)
|
||||
{
|
||||
// se trovo evento select/reset mostro/nascondo dettagli...
|
||||
@@ -27,7 +37,7 @@ namespace MP_ADM
|
||||
switch (evento.tipoEvento)
|
||||
{
|
||||
case ucEvType.ReqUpdateParent:
|
||||
mod_planStats.doReset();
|
||||
cmp_planStats.doReset();
|
||||
mod_gestPromODL_OUT.resetSelezione();
|
||||
break;
|
||||
|
||||
@@ -36,16 +46,6 @@ namespace MP_ADM
|
||||
}
|
||||
}
|
||||
|
||||
private void Mod_planStats_eh_reset(object sender, EventArgs e)
|
||||
{
|
||||
doRefreshChild();
|
||||
}
|
||||
|
||||
private void Mod_planStats_eh_selVal(object sender, EventArgs e)
|
||||
{
|
||||
doRefreshChild();
|
||||
}
|
||||
|
||||
private void toggleVisibility()
|
||||
{
|
||||
divPromOUT.Visible = !divPromOUT.Visible;
|
||||
@@ -58,10 +58,10 @@ namespace MP_ADM
|
||||
|
||||
protected void doRefreshChild()
|
||||
{
|
||||
mod_planCreate.CodGruppo = mod_planStats.CodFase;
|
||||
mod_planCreate.IdxMacchina = mod_planStats.IdxMacchina;
|
||||
mod_planCreate.CodCliente = mod_planStats.CodCliente;
|
||||
mod_planCreate.CodArticolo = mod_planStats.CodArticolo;
|
||||
mod_planCreate.CodGruppo = cmp_planStats.CodFase;
|
||||
mod_planCreate.IdxMacchina = cmp_planStats.IdxMacchina;
|
||||
mod_planCreate.CodCliente = cmp_planStats.CodCliente;
|
||||
mod_planCreate.CodArticolo = cmp_planStats.CodArticolo;
|
||||
mod_planCreate.doUpdate();
|
||||
}
|
||||
|
||||
@@ -78,8 +78,8 @@ namespace MP_ADM
|
||||
}
|
||||
checkEnabled();
|
||||
string codPre = memLayer.ML.CRS("OptAdmKit_CodPre");
|
||||
mod_planStats.eh_reset += Mod_planStats_eh_reset;
|
||||
mod_planStats.eh_selVal += Mod_planStats_eh_selVal;
|
||||
cmp_planStats.eh_reset += cmp_planStats_eh_reset;
|
||||
cmp_planStats.eh_selVal += cmp_planStats_eh_selVal;
|
||||
mod_planCreate.eh_ucev += Mod_planCreate_eh_ucev;
|
||||
}
|
||||
|
||||
|
||||
Generated
+2
-2
@@ -31,13 +31,13 @@ namespace MP_ADM {
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divContent;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo mod_planStats.
|
||||
/// Controllo cmp_planStats.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::MP_ADM.WebUserControls.mod_planStats mod_planStats;
|
||||
protected global::MP_ADM.WebUserControls.cmp_planStats cmp_planStats;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo mod_planCreate.
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_planStats.ascx.cs" Inherits="MP_ADM.WebUserControls.mod_planStats" %>
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_planStats.ascx.cs" Inherits="MP_ADM.WebUserControls.cmp_planStats" %>
|
||||
<%@ Register Src="~/WebUserControls/cmp_planStats_Fasi.ascx" TagPrefix="uc1" TagName="cmp_planStats_Fasi" %>
|
||||
<%@ Register Src="~/WebUserControls/cmp_planStats_Mac.ascx" TagPrefix="uc1" TagName="cmp_planStats_Mac" %>
|
||||
<%@ Register Src="~/WebUserControls/cmp_planStats_Art.ascx" TagPrefix="uc1" TagName="cmp_planStats_Art" %>
|
||||
+1
-1
@@ -4,7 +4,7 @@ using System;
|
||||
|
||||
namespace MP_ADM.WebUserControls
|
||||
{
|
||||
public partial class mod_planStats : SteamWare.UserControl
|
||||
public partial class cmp_planStats : SteamWare.UserControl
|
||||
{
|
||||
#region Public Events
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@ namespace MP_ADM.WebUserControls
|
||||
{
|
||||
|
||||
|
||||
public partial class mod_planStats
|
||||
public partial class cmp_planStats
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
Reference in New Issue
Block a user