37 lines
882 B
C#
37 lines
882 B
C#
using SteamWare;
|
|
using System;
|
|
|
|
namespace MP_ADM
|
|
{
|
|
public partial class approvazioneProd : BasePage
|
|
{
|
|
#region Private Methods
|
|
|
|
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;
|
|
}
|
|
|
|
#endregion Private Methods
|
|
|
|
#region Protected Methods
|
|
|
|
protected void Page_Load(object sender, EventArgs e)
|
|
{
|
|
if (!Page.IsPostBack)
|
|
{
|
|
((MoonPro)this.Master).showSearch = false;
|
|
}
|
|
checkEnabled();
|
|
}
|
|
|
|
#endregion Protected Methods
|
|
}
|
|
} |