ab3ba0881e
- refresh dettaglio macchina - gestione eventi disposed
49 lines
1.2 KiB
C#
49 lines
1.2 KiB
C#
using SteamWare;
|
|
using System;
|
|
using System.Web.UI;
|
|
|
|
namespace MoonProTablet
|
|
{
|
|
public partial class Controlli : BasePage
|
|
{
|
|
#region Public Methods
|
|
|
|
public override void Dispose()
|
|
{
|
|
mod_controlliProd.eh_newVal -= Mod_controlliProd_eh_newVal;
|
|
mod_controlliProd.eh_reset -= Mod_controlliProd_eh_reset;
|
|
base.Dispose();
|
|
}
|
|
|
|
#endregion Public Methods
|
|
|
|
#region Protected Methods
|
|
|
|
protected void Page_Load(object sender, EventArgs e)
|
|
{
|
|
if (!Page.IsPostBack)
|
|
{
|
|
mod_dettMacchina1.doUpdate();
|
|
}
|
|
mod_controlliProd.eh_newVal += Mod_controlliProd_eh_newVal;
|
|
mod_controlliProd.eh_reset += Mod_controlliProd_eh_reset;
|
|
}
|
|
|
|
#endregion Protected Methods
|
|
|
|
#region Private Methods
|
|
|
|
private void Mod_controlliProd_eh_newVal(object sender, EventArgs e)
|
|
{
|
|
// ricarica pagina...
|
|
Response.Redirect(devicesAuthProxy.pagCorrente);
|
|
}
|
|
|
|
private void Mod_controlliProd_eh_reset(object sender, EventArgs e)
|
|
{
|
|
mod_elencoControlli.doUpdate();
|
|
}
|
|
|
|
#endregion Private Methods
|
|
}
|
|
} |