Exemplo n.º 1
0
        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 { }
        }
Exemplo n.º 2
0
 private void Button_Click(object sender, RoutedEventArgs e)
 {
     MonotoneUtils.Update();
 }
Exemplo n.º 3
0
 private void ColorPicker_SelectedColorChanged(object sender, RoutedPropertyChangedEventArgs <Color> e)
 {
     MonotoneUtils.Update(e.NewValue);
 }