Files
MoonPro.net/MP-Tablet/DettaglioMacchina.aspx.cs
T
2017-10-05 18:34:01 +02:00

58 lines
1.3 KiB
C#

using SteamWare;
using System;
using System.Web.UI;
namespace MoonProTablet
{
public partial class DettaglioMacchina : System.Web.UI.Page
{
/// <summary>
/// idx macchina selezionata
/// </summary>
public string idxMacchina
{
get
{
return memLayer.ML.StringSessionObj("IdxMacchina");
}
set
{
memLayer.ML.setSessionVal("IdxMacchina", value);
}
}
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();
}
}
}