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();
        }