protected override void Activate() { try { if (OnActivate != null) { OnActivate.Execute(this, new EventParams()); } } catch (Exception exception) { this.HandleException(exception); } UpdateText(); base.Activate(); }
protected override void Activate() { base.Activate(); UpdateIconImage(); UpdateBackgroundImage(); try { if (OnActivate != null) { OnActivate.Execute(); } } catch (Exception exception) { WebSession.ErrorList.Add(exception); } }