public MainWindow() { _vm = new MainWindowViewModel(this); Application.Instance.ApplicationViewModel = this.VM; InitializeComponent(); this.AllowsTransparency = true; this.DataContext = this.VM; this.VM.showSolutionExplorer(false); this.dockingManager.Theme = new MetroTheme(); }
public CloseCommand(MainWindowViewModel vm) { this._vm = vm; }
public NewJavaSourceCommand(MainWindowViewModel vm) { // Set the vm to the one injected in the contructor. this._vm = vm; }
public OpenFileCommand(MainWindowViewModel vm) { _vm = vm; }
public SaveAllCommand(MainWindowViewModel vm) { this._vm = vm; }
public ShowSolutionExplorerCommand(MainWindowViewModel vm) { this._vm = vm; }
public OpenProjectSolutionCommand(MainWindowViewModel vm) { // Inject the main window viewmodel (Sometimes called Shell) this._vm = vm; }
public NewProjectCommand(MainWindowViewModel vm) { this._vm = vm; }