public MainWindowViewModel() { OpenConnectionCommand = new RelayCommand(OpenConnection); OpenLogsCommand = new EventCommand<IList>(open_logs, x => x.Count > 0); ManagerWebsitesCommand = new EventCommand<IList>(ManageWebsites, x => x.Count > 0); TabItemsViewModelCollection = new ObservableCollection<TabItemViewModel>(); CloseTabCommand = new EventCommand<TabItemViewModel>(close_tabs); DeploymentSelectionChangedCommand = new EventCommand<object>(k => { OpenLogsCommand.RaiseCanExecuteChanged(); }); // public RelayCommand CloseTabCommand { get; set; } //TODO Fix the watermarks. StorageAccount = "Azure Storage Account"; StorageKey = "Key"; ConfigurationFolder = "Not Used"; //LogViewer = new TextEditorWrapper(); LoadConnectionInfo(); }