Files
MoonPro.net/MP-ADM/BCode.aspx.cs
T
Samuele E. Locatelli 9e8e194839 Fix naming parametro
2018-12-20 09:32:03 +01:00

28 lines
785 B
C#

using SteamWare;
using System;
namespace MP_ADM
{
public partial class BCode : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
checkEnabled();
string codPre = memLayer.ML.CRS("OptAdmBCode_CodPre");
mod_barcode.codOrdPre = codPre != "" ? codPre : "OPR";
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;
}
}
}