/* Useful Functions */ private void RefreshTabs() { ListViewView leftList = leftTabControl.SelectedContent as ListViewView; ListViewView rightList = rightTabControl.SelectedContent as ListViewView; TreeListView leftTreeList = leftTabControl.SelectedContent as TreeListView; TreeListView rightTreeList = rightTabControl.SelectedContent as TreeListView; if (leftList != null) { leftList.PathManager.RefreshList(); } if (rightList != null) { rightList.PathManager.RefreshList(); } if (leftTreeList != null) { leftTreeList.LoadFromPath(leftTreeList.Driver); } if (rightTreeList != null) { rightTreeList.LoadFromPath(rightTreeList.Driver); } UpdatePathDisplays(); }