ab3ba0881e
- refresh dettaglio macchina - gestione eventi disposed
40 lines
875 B
C#
40 lines
875 B
C#
using System;
|
|
using System.Web.UI;
|
|
|
|
namespace MoonProTablet
|
|
{
|
|
public partial class Scarti : BasePage
|
|
{
|
|
#region Public Methods
|
|
|
|
public override void Dispose()
|
|
{
|
|
mod_regScarti1.eh_newVal -= Mod_regScarti1_eh_newVal;
|
|
base.Dispose();
|
|
}
|
|
|
|
#endregion Public Methods
|
|
|
|
#region Protected Methods
|
|
|
|
protected void Page_Load(object sender, EventArgs e)
|
|
{
|
|
if (!Page.IsPostBack)
|
|
{
|
|
mod_dettMacchina1.doUpdate();
|
|
}
|
|
mod_regScarti1.eh_newVal += Mod_regScarti1_eh_newVal;
|
|
}
|
|
|
|
#endregion Protected Methods
|
|
|
|
#region Private Methods
|
|
|
|
private void Mod_regScarti1_eh_newVal(object sender, EventArgs e)
|
|
{
|
|
mod_elencoScarti.doUpdate();
|
|
}
|
|
|
|
#endregion Private Methods
|
|
}
|
|
} |