private MainWindowFile CreateNewFile(IFileSystemObject fileSystemObject)
        {
            MainWindowFile file = new MainWindowFile(fileSystemObject, IconCache);

            file.PropertyChanged += (sender, eventArgs) =>
            {
                if (eventArgs.PropertyName == "Selected")
                {
                    _SelectedFile = sender as MainWindowFile;
                    NotifyPropertyChanged("SelectedFile");
                }
            };
            return(file);
        }
 internal void SetSelected(MainWindowFile itemToSelect)
 {
     SelectedFile = itemToSelect;
 }
		internal void SetSelected(MainWindowFile itemToSelect)
		{
			SelectedFile = itemToSelect;
		}
		private MainWindowFile CreateNewFile(IFileSystemObject fileSystemObject)
		{
			MainWindowFile file = new MainWindowFile(fileSystemObject, IconCache);
			file.PropertyChanged += (sender, eventArgs) =>
			{
				if (eventArgs.PropertyName == "Selected")
				{
					_SelectedFile = sender as MainWindowFile;
					NotifyPropertyChanged("SelectedFile");
				}
			};
			return file;
		}