public DirectoryPicker()
        {
            InitializeComponent();

            cancelInfoGatherTaskTokenSource = new CancellationTokenSource();

            infoGatherTask = new InfoGatherTask(cancelInfoGatherTaskTokenSource.Token);
            RootLocation root = new RootLocation(infoGatherTask, MediaFileWatcher.Instance.MediaFileState);

            treeView.Root              = root;
            treeView.IsVisibleChanged += treeView_IsVisibleChanged;
            root.NodePropertyChanged  += root_NodePropertyChanged;

            scrollToNodeOnTreeViewVisible = null;
            //SharpTreeView temp;
        }
        public DirectoryPicker()
        {
            InitializeComponent();

            cancelInfoGatherTaskTokenSource = new CancellationTokenSource();

            infoGatherTask = new InfoGatherTask(cancelInfoGatherTaskTokenSource.Token);
            RootLocation root = new RootLocation(infoGatherTask, MediaFileWatcher.Instance.MediaFileState);
            treeView.Root = root;
            treeView.IsVisibleChanged += treeView_IsVisibleChanged;
            root.NodePropertyChanged += root_NodePropertyChanged;
           
            scrollToNodeOnTreeViewVisible = null;
            //SharpTreeView temp;
         
            
        }