Files
MoonPro.net/MP-Tablet/DettaglioMacchina.aspx.cs
T
2016-11-14 11:10:03 +01:00

47 lines
1.3 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace MoonProTablet
{
public partial class DettaglioMacchina : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
Session["TipoLink"] = "DetMacc";
}
mod_confProd1.eh_inserting += mod_confProd1_eh_inserting;
mod_confProd1.eh_newVal += mod_confProd1_eh_newVal;
mod_confProd1.eh_reset += mod_confProd1_eh_reset;
}
void mod_confProd1_eh_reset(object sender, EventArgs e)
{
mod_dettMacchina1.detailLevel(true);
}
void mod_confProd1_eh_newVal(object sender, EventArgs e)
{
mod_dettMacchina1.detailLevel(true);
}
void mod_confProd1_eh_inserting(object sender, EventArgs e)
{
mod_dettMacchina1.detailLevel(false);
}
/// <summary>
/// evento timer
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void Timer1_Tick(object sender, EventArgs e)
{
mod_dettMacchina1.doUpdate();
}
}
}