Beispiel #1
0
        protected override void OnStartup(StartupEventArgs e)
        {
            Themes.Apply(Brightness.Dark, Colors.DeepOrange);

            LogService.Create();

            this.MainWindow = StyledWindow.Show <MainView>();
            this.MainWindow.SizeToContent = SizeToContent.Manual;
            this.MainWindow.Width         = 1024;
            this.MainWindow.Height        = 720;

            base.OnStartup(e);
        }
 protected override void OnLoad(EventArgs e)
 {
     Workbench.Instance.ApplyThemeTo(toolStrip1);
     Themes.Apply(trvRestExplorer);
     base.OnLoad(e);
 }
Beispiel #3
0
 public void ThemesGetClick(IRibbonControl control)
 {
     Themes.Apply(control.Tag);
 }