Files
NKC/NKC_WF/WebUserControls/cmp_MU_singleStat.ascx.cs
T
2020-01-20 17:54:05 +01:00

62 lines
1.2 KiB
C#

using AppData;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace NKC_WF.WebUserControls
{
public partial class cmp_MU_singleStat : System.Web.UI.UserControl
{
/// <summary>
/// Batch corrente...
/// </summary>
public int BatchId
{
set
{
hfBatchID.Value = value.ToString();
doUpdate();
}
get
{
int answ = 0;
int.TryParse(hfBatchID.Value, out answ);
return answ;
}
}
/// <summary>
/// Tipo statistica richiesta
/// </summary>
public int statLevel
{
set
{
hfStatLevel.Value = value.ToString();
}
get
{
int answ = 0;
int.TryParse(hfStatLevel.Value, out answ);
return answ;
}
}
protected void Page_Load(object sender, EventArgs e)
{
}
/// <summary>
/// Css titolo
/// </summary>
public string titleCss { get; set; } = "bg-dark text-light";
/// <summary>
/// Valirizzazione variabili
/// </summary>
public void doUpdate()
{
frmView.DataBind();
}
}
}