Пример #1
0
        protected virtual void OnApplyingThemes(ApplyThemesEventArgs args)
        {
            EventHandler <ApplyThemesEventArgs> eventHandler = this.applyingThemes;

            if (eventHandler == null)
            {
                return;
            }
            eventHandler((object)this, args);
        }
Пример #2
0
 protected virtual void OnApplyingThemes(ApplyThemesEventArgs args)
 {
     EventHandler<ApplyThemesEventArgs> eventHandler = this.applyingThemes;
     if (eventHandler == null)
         return;
     eventHandler((object)this, args);
 }