Files
WebGIM/GIM_site/impianti.aspx.cs
Samuele E. Locatelli 7d289a3b64 Remove & Sort Using...
pulizia codice...
2017-04-14 16:33:09 +02:00

34 lines
1.0 KiB
C#

using SteamWare;
using System;
public partial class impianti : UserPage
{
protected void Page_Load(object sender, EventArgs e)
{
mod_impianti1.eh_selValore += new EventHandler(Mod_macchine1_eh_selValore);
mod_impianti1.eh_resetSelezione += new EventHandler(Mod_macchine1_eh_resetSelezione);
// abilito solo alla vista..
mod_macchine1.vistaModulo = SteamWare.tipoVistaMod.selezione;
}
void Mod_macchine1_eh_resetSelezione(object sender, EventArgs e)
{
mod_macchine1.Visible = false;
}
void Mod_macchine1_eh_selValore(object sender, EventArgs e)
{
mod_macchine1.Visible = true;
mod_macchine1.idxImpiantoSel = memLayer.ML.IntSessionObj("idxImpianto_sel");
mod_macchine1.doUpdate();
}
protected override void OnUnload(EventArgs e)
{
base.OnUnload(e);
mod_impianti1.eh_selValore -= new EventHandler(Mod_macchine1_eh_selValore);
mod_impianti1.eh_resetSelezione -= new EventHandler(Mod_macchine1_eh_resetSelezione);
}
}