예제 #1
0
 private void PopulateFolders()
 {
     var store = _currentFile.MessageStore;
     var root = store.RootFolder;
     var folders = new ObservableCollection<FolderModel>(root.Folders.Select(f => new FolderModel(f)));
     DataContext = new PstModel { Folders = folders };
 }
예제 #2
0
        private void PopulateFolders()
        {
            var store   = _currentFile.MessageStore;
            var root    = store.RootFolder;
            var folders = new ObservableCollection <FolderModel>(root.Folders.Select(f => new FolderModel(f)));

            DataContext = new PstModel {
                Folders = folders
            };
        }