Ancora conversione a BasePage x WebForms
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ApplicationInsights xmlns="http://schemas.microsoft.com/ApplicationInsights/2013/Settings">
|
||||
</ApplicationInsights>
|
||||
+24
-24
@@ -3,30 +3,30 @@ using System;
|
||||
|
||||
namespace MP_ADM
|
||||
{
|
||||
public partial class BCode : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
public partial class BCode : BasePage
|
||||
{
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
checkEnabled();
|
||||
string codPre = memLayer.ML.CRS("OptAdmBCode_CodPre");
|
||||
mod_barcode.codOrdPre = codPre != "" ? codPre : "OPR";
|
||||
mod_gestPromODL.codOrdPre = mod_barcode.codOrdPre;
|
||||
mod_gestPromODL.enableSelFase = memLayer.ML.CRB("OptBCode_enbSelFase");
|
||||
mod_gestPromODL.CodGruppo = memLayer.ML.CRS("OptBCode_CodGruppo");
|
||||
}
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
checkEnabled();
|
||||
string codPre = memLayer.ML.CRS("OptAdmBCode_CodPre");
|
||||
mod_barcode.codOrdPre = codPre != "" ? codPre : "OPR";
|
||||
mod_gestPromODL.codOrdPre = mod_barcode.codOrdPre;
|
||||
mod_gestPromODL.enableSelFase = memLayer.ML.CRB("OptBCode_enbSelFase");
|
||||
mod_gestPromODL.CodGruppo = memLayer.ML.CRS("OptBCode_CodGruppo");
|
||||
}
|
||||
}
|
||||
private void checkEnabled()
|
||||
{
|
||||
bool optPar = memLayer.ML.CRB("OptAdmBCodeEnabled");
|
||||
divContent.Visible = optPar;
|
||||
string messaggio = "";
|
||||
if (!optPar)
|
||||
{
|
||||
messaggio = "Attenzione: Gestione BarCode disabilitata";
|
||||
}
|
||||
lblDataImportOut.Text = messaggio;
|
||||
}
|
||||
}
|
||||
private void checkEnabled()
|
||||
{
|
||||
bool optPar = memLayer.ML.CRB("OptAdmBCodeEnabled");
|
||||
divContent.Visible = optPar;
|
||||
string messaggio = "";
|
||||
if (!optPar)
|
||||
{
|
||||
messaggio = "Attenzione: Gestione BarCode disabilitata";
|
||||
}
|
||||
lblDataImportOut.Text = messaggio;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace MP_ADM
|
||||
{
|
||||
public partial class Barcode : System.Web.UI.Page
|
||||
public partial class Barcode : BasePage
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
+22
-22
@@ -3,28 +3,28 @@ using System;
|
||||
|
||||
namespace MP_ADM
|
||||
{
|
||||
public partial class CTrackBCode : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
public partial class CTrackBCode : BasePage
|
||||
{
|
||||
((MoonPro)this.Master).headCssClass = "bg-secondary text-warning";
|
||||
((MoonPro)this.Master).mainCssClass = "table-secondary";
|
||||
checkEnabled();
|
||||
string codPre = memLayer.ML.CRS("OptAdmCTrack_CodPre");
|
||||
mod_barcode.codOrdPre = codPre != "" ? codPre : "OPR";
|
||||
mod_gestPromODL.enableSelFase = memLayer.ML.CRB("OptCTrack_enbSelFase");
|
||||
mod_gestPromODL.CodGruppo = memLayer.ML.CRS("OptCTrack_CodGruppo");
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
((MoonPro)this.Master).headCssClass = "bg-secondary text-warning";
|
||||
((MoonPro)this.Master).mainCssClass = "table-secondary";
|
||||
checkEnabled();
|
||||
string codPre = memLayer.ML.CRS("OptAdmCTrack_CodPre");
|
||||
mod_barcode.codOrdPre = codPre != "" ? codPre : "OPR";
|
||||
mod_gestPromODL.enableSelFase = memLayer.ML.CRB("OptCTrack_enbSelFase");
|
||||
mod_gestPromODL.CodGruppo = memLayer.ML.CRS("OptCTrack_CodGruppo");
|
||||
}
|
||||
private void checkEnabled()
|
||||
{
|
||||
bool optPar = memLayer.ML.CRB("OptAdmCTrackEnabled");
|
||||
divContent.Visible = optPar;
|
||||
string messaggio = "";
|
||||
if (!optPar)
|
||||
{
|
||||
messaggio = "Attenzione: Gestione CTrack disabilitata";
|
||||
}
|
||||
lblDataImportOut.Text = messaggio;
|
||||
}
|
||||
}
|
||||
private void checkEnabled()
|
||||
{
|
||||
bool optPar = memLayer.ML.CRB("OptAdmCTrackEnabled");
|
||||
divContent.Visible = optPar;
|
||||
string messaggio = "";
|
||||
if (!optPar)
|
||||
{
|
||||
messaggio = "Attenzione: Gestione CTrack disabilitata";
|
||||
}
|
||||
lblDataImportOut.Text = messaggio;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -282,9 +282,6 @@
|
||||
<Content Include="GestKIT.aspx" />
|
||||
<Content Include="gestPromesseODL.aspx" />
|
||||
<Content Include="Global.asax" />
|
||||
<Content Include="ApplicationInsights.config">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="help\content_style\content.css" />
|
||||
<Content Include="help\content_style\images\accordion_arrow.gif" />
|
||||
<Content Include="help\content_style\images\ExcursusBack.gif" />
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace MP_ADM
|
||||
{
|
||||
public partial class anagArticoli : System.Web.UI.Page
|
||||
public partial class anagArticoli : BasePage
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<%@ Page Title="MPADM | apertura impianti" Language="C#" MasterPageFile="~/WebMasterPages/MoonPro.master" AutoEventWireup="true" Inherits="aperturaImpianti" Codebehind="aperturaImpianti.aspx.cs" %>
|
||||
<%@ Page Title="MPADM | apertura impianti" Language="C#" MasterPageFile="~/WebMasterPages/MoonPro.master" AutoEventWireup="true" Inherits="MP_ADM.aperturaImpianti" Codebehind="aperturaImpianti.aspx.cs" %>
|
||||
|
||||
<%@ Register Src="~/WebUserControls/mod_aperturaImpianti.ascx" tagname="mod_aperturaImpianti" tagprefix="uc1" %>
|
||||
|
||||
|
||||
@@ -1,9 +1,12 @@
|
||||
using System;
|
||||
|
||||
public partial class aperturaImpianti : System.Web.UI.Page
|
||||
namespace MP_ADM
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
public partial class aperturaImpianti : BasePage
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Generated
+14
-10
@@ -7,16 +7,20 @@
|
||||
// </generato automaticamente>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace MP_ADM
|
||||
{
|
||||
|
||||
|
||||
public partial class aperturaImpianti {
|
||||
|
||||
/// <summary>
|
||||
/// Controllo mod_aperturaImpianti1.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::mod_aperturaImpianti mod_aperturaImpianti1;
|
||||
public partial class aperturaImpianti
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Controllo mod_aperturaImpianti1.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::mod_aperturaImpianti mod_aperturaImpianti1;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,23 +3,22 @@ using System;
|
||||
|
||||
namespace MP_ADM
|
||||
{
|
||||
public partial class approvazioneProd : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
public partial class approvazioneProd : BasePage
|
||||
{
|
||||
|
||||
checkEnabled();
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
checkEnabled();
|
||||
}
|
||||
private void checkEnabled()
|
||||
{
|
||||
bool optPar = memLayer.ML.CRB("OptAdmApprProdEnabled");
|
||||
divContent.Visible = optPar;
|
||||
string messaggio = "";
|
||||
if (!optPar)
|
||||
{
|
||||
messaggio = "Attenzione: gestione approvazione produzione disabilitata";
|
||||
}
|
||||
lblDataImportOut.Text = messaggio;
|
||||
}
|
||||
}
|
||||
private void checkEnabled()
|
||||
{
|
||||
bool optPar = memLayer.ML.CRB("OptAdmApprProdEnabled");
|
||||
divContent.Visible = optPar;
|
||||
string messaggio = "";
|
||||
if (!optPar)
|
||||
{
|
||||
messaggio = "Attenzione: gestione approvazione produzione disabilitata";
|
||||
}
|
||||
lblDataImportOut.Text = messaggio;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,9 +1,12 @@
|
||||
using System;
|
||||
|
||||
public partial class calendChiusura : System.Web.UI.Page
|
||||
namespace MP_ADM
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
public partial class calendChiusura : BasePage
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user