Exemplo n.º 1
0
        public App(string[] args)
        {
            //SetTheme("luna", "normalcolor");
            //ThemeHelper.SetTheme("luna", "normalcolor");

            if (args.Length >= 2)
            {
                string theme = args[1], color = null;

                if (args.Length >= 3)
                {
                    color = args[2];
                }

                ThemeHelper.SetTheme(theme, color);
            }
        }
 private void OnApplyButtonClicked(object sender, RoutedEventArgs e)
 {
     ThemeHelper.SetTheme(ThemeNameTextBox.Text, ThemeColorTextBox.Text);
 }