37 lines
1.2 KiB
C#
37 lines
1.2 KiB
C#
using System;
|
|
using System.Web.UI;
|
|
|
|
namespace MP_SITE.WebUserControls
|
|
{
|
|
public partial class mod_mainMap : baseUserControl
|
|
{
|
|
#region Protected Methods
|
|
|
|
protected override void Page_Load(object sender, EventArgs e)
|
|
{
|
|
// blocco button della pagina corrente...
|
|
if (Page.Title.Contains("Stato"))
|
|
{
|
|
hlStato.Enabled = false;
|
|
hlStato.CssClass = "btn btn-primary text-light w-100 py-0";
|
|
}
|
|
else if (Page.Title.Contains("Sequencer"))
|
|
{
|
|
hlSequencer.Enabled = false;
|
|
hlSequencer.CssClass = "btn btn-primary text-light w-100 py-0";
|
|
}
|
|
else if (Page.Title.Contains("Statistiche"))
|
|
{
|
|
hlStatistiche.Enabled = false;
|
|
hlStatistiche.CssClass = "btn btn-primary text-light w-100 py-0";
|
|
}
|
|
else if (Page.Title.Contains("Produzione"))
|
|
{
|
|
hlProduzione.Enabled = false;
|
|
hlProduzione.CssClass = "btn btn-primary text-light w-100 py-0";
|
|
}
|
|
}
|
|
|
|
#endregion Protected Methods
|
|
}
|
|
} |