Fix naming parametro

This commit is contained in:
Samuele E. Locatelli
2018-12-20 09:32:03 +01:00
parent 08c79e41bf
commit 9e8e194839
4 changed files with 13 additions and 13 deletions
+3 -3
View File
@@ -15,10 +15,10 @@ namespace MP_ADM
}
private void checkEnabled()
{
bool OptAdmBCodeEnabled = memLayer.ML.CRB("OptAdmBCodeEnabled");
divContent.Visible = OptAdmBCodeEnabled;
bool optPar = memLayer.ML.CRB("OptAdmBCodeEnabled");
divContent.Visible = optPar;
string messaggio = "";
if (!OptAdmBCodeEnabled)
if (!optPar)
{
messaggio = "Attenzione: Gestione BarCode disabilitata";
}
+3 -3
View File
@@ -17,10 +17,10 @@ namespace MP_ADM
}
private void checkEnabled()
{
bool OptAdmBCodeEnabled = memLayer.ML.CRB("OptAdmCTrackEnabled");
divContent.Visible = OptAdmBCodeEnabled;
bool optPar = memLayer.ML.CRB("OptAdmCTrackEnabled");
divContent.Visible = optPar;
string messaggio = "";
if (!OptAdmBCodeEnabled)
if (!optPar)
{
messaggio = "Attenzione: Gestione CTrack disabilitata";
}
+3 -3
View File
@@ -13,10 +13,10 @@ namespace MP_ADM
private void checkEnabled()
{
bool OptAdmDB_IS_EnabFileImp = memLayer.ML.CRB("OptAdmDB_IS_EnabFileImp");
lbtProImportIS.Visible = OptAdmDB_IS_EnabFileImp;
bool optPar = memLayer.ML.CRB("OptAdmDB_IS_EnabFileImp");
lbtProImportIS.Visible = optPar;
string messaggio = "";
if (!OptAdmDB_IS_EnabFileImp)
if (!optPar)
{
messaggio = "Attenzione: import disabilitato";
}
+4 -4
View File
@@ -19,11 +19,11 @@ namespace MP_ADM
private void checkEnabled()
{
bool OptAdmKitEnabled = memLayer.ML.CRB("OptAdmKitEnabled");
divContent.Visible = OptAdmKitEnabled;
lblDataImportOut.Visible = !OptAdmKitEnabled;
bool optPar = memLayer.ML.CRB("OptAdmKitEnabled");
divContent.Visible = optPar;
lblDataImportOut.Visible = !optPar;
string messaggio = "";
if (!OptAdmKitEnabled)
if (!optPar)
{
messaggio = "Attenzione: Gestione KIT disabilitata";
lblDataImportOut.Text = messaggio;