Example #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 };
 }
Example #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
            };
        }