Пример #1
0
        public MainWindow()
        {
            InitializeComponent();

            DataContext = ShellViewModel.Instance;

            KeyBindings.AddRange(IoC.Get <ShellViewModel>().KeyBindings);

            this.AttachDevTools();
        }
Пример #2
0
        public ShellView()
        {
            InitializeComponent();

            DataContext = ShellViewModel.Instance;

            ShellViewModel.Instance.Overlay = this.FindControl <Panel>("PART_ExtensibleOverlay");

            KeyBindings.AddRange(ShellViewModel.Instance.KeyBindings);

            ColorTheme.LoadTheme(ColorTheme.VisualStudioLight);
        }
Пример #3
0
        public ShellView()
        {
            InitializeComponent();

            DataContext = ShellViewModel.Instance;

            ShellViewModel.Instance.Overlay = this.FindControl <Panel>("PART_ExtensibleOverlay");

            KeyBindings.AddRange(ShellViewModel.Instance.KeyBindings);

            var generalSettings = Settings.GetSettings <GeneralSettings>();

            ColorTheme.LoadTheme(generalSettings.Theme);
        }
Пример #4
0
        public MainWindow()
        {
            InitializeComponent();

            DataContext = ShellViewModel.Instance;

            KeyBindings.AddRange(ShellViewModel.Instance.KeyBindings);

            var generalSettings = Settings.GetSettings <GeneralSettings>();

            ColorTheme.LoadTheme(generalSettings.Theme);

            this.AttachDevTools();
        }