/// <summary> /// Class constructor /// </summary> public ApplicationViewModel() { // Create and initialize list and combobox viemodel FolderView = ExplorerFactory.CreateList(); FolderView.AddRecentFolder(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments)); FolderView.AddRecentFolder(Environment.GetFolderPath(Environment.SpecialFolder.Desktop), true); FolderView.AddFilter("Executeable files", "*.exe;*.bat"); FolderView.AddFilter("Image files", "*.png;*.jpg;*.jpeg"); FolderView.AddFilter("LaTex files", "*.tex"); FolderView.AddFilter("Text files", "*.txt"); FolderView.AddFilter("All Files", "*.*"); // Create and initialize tree, list, and combobox viemodel FolderTreeView = ExplorerFactory.CreateTreeList(); FolderTreeView.AddRecentFolder(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments)); FolderTreeView.AddRecentFolder(Environment.GetFolderPath(Environment.SpecialFolder.Desktop), true); FolderTreeView.AddFilter("Executeable files", "*.exe;*.bat"); FolderTreeView.AddFilter("Image files", "*.png;*.jpg;*.jpeg"); FolderTreeView.AddFilter("LaTex files", "*.tex"); FolderTreeView.AddFilter("Text files", "*.txt"); FolderTreeView.AddFilter("All Files", "*.*"); _SelectedControllerTestViewModel = new object[2]; _SelectedControllerTestViewModel[0] = FolderView; _SelectedControllerTestViewModel[1] = FolderTreeView; // Set this as selected test by default ... SelectedTestviewModelIndex = 1; }