private void OnThemeChanged(ColorChangedEventArgs e) { ToolBar.ChangeColor(e.getBrush0()); MenuBar.ChangeColor(e.getBrush1()); SidePanel.ChangeColor(e.getBrush2()); MainBrowser.ChangeColor(e.getBrush3()); }
public void LoanShark_Clicked() { var handler = LoanShark; if (handler != null) { var e = new ColorChangedEventArgs(Brushes.PowderBlue, Brushes.Tan, Brushes.Navy, Brushes.LightSkyBlue); } }
public void Cyclone_Clicked() { var handler = Cyclone_Pride; if (handler != null) { var e = new ColorChangedEventArgs(Brushes.IndianRed, Brushes.PaleGoldenrod, Brushes.Red, Brushes.Yellow); handler(this, e); } }