Example #1
0
 public void SetBackgroundColor(Button button, WPFColor color)
 {
     button.Background = (SolidColorBrush)FindResource(color.ToString());
 }
Example #2
0
 internal void SetColor(WPFColor color)
 {
     MainWindow.SetBackgroundColor(WPFButton, color);
 }