private void FolderViewerGoHome() { Gtk.Widget page = notebookViewer.CurrentPageWidget; if (page.GetType() == typeof(FolderViewer)) { // Go Home if is Folder Viewer FolderViewer folderViewer = page as FolderViewer; folderViewer.GoHome(); } }
public void FolderViewerGoHome() { // Skif Network Viewer if (this.notebookViewer.CurrentPage == 0) { return; } // Go Up FolderViewer folderViewer = notebookViewer.CurrentPageWidget as FolderViewer; folderViewer.GoHome(); }