8aab754767
#fixed 966 git-svn-id: https://keyhammer.ath.cx/svn/WebGIM/trunk@17 3e04ef4b-3b25-4b6c-be27-bb5389ca777b
38 lines
1.2 KiB
C#
38 lines
1.2 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Web;
|
|
using System.Web.UI;
|
|
using System.Web.UI.WebControls;
|
|
using SteamWare;
|
|
|
|
public partial class impianti : System.Web.UI.Page
|
|
{
|
|
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);
|
|
}
|
|
|
|
}
|