using SteamWare; using System; using System.Web.UI; namespace GIM_site { public partial class ConsumoRic : UserPage { protected void Page_Load(object sender, EventArgs e) { mod_ricercaItem.eh_newrecord += Mod_ricercaItem_eh_newrecord; if (!Page.IsPostBack) { // leggo numInt da sessione ed imposto idxMacchina x ricambi... int numIntMtz = 0; try { numIntMtz = memLayer.ML.IntSessionObj("numIntMtz_sel"); mod_ricercaItem.idxMacchina = TA_app.obj.taInterventiMtz.getByIdx(numIntMtz)[0].idxMacchina; } catch { } } } private void Mod_ricercaItem_eh_newrecord(object sender, EventArgs e) { mod_MovMag2Int.doUpdate(); } } }