コード例 #1
0
ファイル: App.xaml.cs プロジェクト: XIV-Tools/XIVBrowser
        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);
        }
コード例 #2
0
 protected override void OnLoad(EventArgs e)
 {
     Workbench.Instance.ApplyThemeTo(toolStrip1);
     Themes.Apply(trvRestExplorer);
     base.OnLoad(e);
 }
コード例 #3
0
 public void ThemesGetClick(IRibbonControl control)
 {
     Themes.Apply(control.Tag);
 }