示例#1
0
        public DockManagerViewModel()
        {
            DocumentManager = this;
            _editors        = new ObservableCollection <DocumentViewModelBase>();
            _tools          = new ObservableCollection <PaneViewModel>();

            Anchorables.Add(_console);
            Anchorables.Add(_powerShell);
            Anchorables.Add(_fileexpl);
            Anchorables.Add(_output);
            Anchorables.Add(_project);
            Anchorables.Add(_properties);
            Anchorables.Add(_diagramToolbox);
        }
示例#2
0
        public MainWindowViewModel()
        {
            DockManager = new DockManagerViewModel();
            Title       = "Lyzard Developer";


            _themes.Add("Aero", new AeroTheme());
            _themes.Add("VS 2010", new VS2010Theme());
            _themes.Add("VS 2013 Blue", new Vs2013BlueTheme());
            _themes.Add("VS 2013 Dark", new Vs2013DarkTheme());
            _themes.Add("VS 2013 Light", new Vs2013LightTheme());
            _themes.Add("Metro", new MetroTheme());
            _themes.Add("Generic", new GenericTheme());
            _themes.Add("Expression Dark", new ExpressionDarkTheme());
            _themes.Add("Expression Light", new ExpressionLightTheme());
            _dockManager.CurrentTheme = _themes["VS 2013 Dark"];
            RegisterHandlers();
        }