Exemplo n.º 1
0
 // ============================================
 // PRIVATE Methods (Notebook, Folder, Network Viewer)
 // ============================================
 private void FolderViewerGoUp()
 {
     Gtk.Widget page = notebookViewer.CurrentPageWidget;
     if (page.GetType() == typeof(FolderViewer))
     {
         // Go Up if is Folder Viewer
         FolderViewer folderViewer = page as FolderViewer;
         folderViewer.GoUp();
     }
 }
        public void FolderViewerGoUp()
        {
            // Skif Network Viewer
            if (this.notebookViewer.CurrentPage == 0)
            {
                return;
            }

            // Go Up
            FolderViewer folderViewer = notebookViewer.CurrentPageWidget as FolderViewer;

            folderViewer.GoUp();
        }