/// <summary> /// Обработка изменения темы /// </summary> /// <param name="theme"></param> void OnThemeChange(ITheme Theme) { IDefaultControl control = this as IDefaultControl; IAppearance appearance = control.FindAppearance(Theme); if (appearance != null) { this.SetAppearance(appearance); } }