コード例 #1
0
 public static void ApplyGlobalThemeResource(string themeName = null)
 {
     if (messageFilter == null)
     {
         messageFilter = new ThemeMessageFilter(themeName, true);
         //Application.AddMessageFilter(messageFilter);
     }
 }
コード例 #2
0
 public static void ApplyGlobalTheme(string themeName = "default.theme")
 {
     if (messageFilter == null)
     {
         messageFilter = new ThemeMessageFilter(themeName, false);
         //Application.AddMessageFilter(messageFilter);
     }
 }