private void Button_Click_1(object sender, RoutedEventArgs e)
        {
            try
            {
                ResourceDictionary colors  = (ResourceDictionary)XamlReader.Parse(coloreditor.Text);
                ResourceDictionary brushes = (ResourceDictionary)XamlReader.Parse(brusheseditor.Text);

                MonotoneUtils.Update(Application.Current.Resources, colors, brushes);
            }
            catch { }
        }
 private void Button_Click(object sender, RoutedEventArgs e)
 {
     MonotoneUtils.Update();
 }
 private void ColorPicker_SelectedColorChanged(object sender, RoutedPropertyChangedEventArgs <Color> e)
 {
     MonotoneUtils.Update(e.NewValue);
 }