public override void OnAfterDelete() { if (_Timer != null) { _Timer.Stop(); } _Timer = null; base.OnAfterDelete(); }
public void StopMessageWatching() { MessageTimer.Stop(); }
private void MessageTimer_Tick(object sender, EventArgs e) { lblError.Visible = false; lblSuccess.Visible = false; MessageTimer.Stop(); }