示例#1
0
 private FileLister GetActivPanel()
 {
     FileLister ActivPanel = new FileLister() ;
     if (LeftPanel.FocusedPanel)
         ActivPanel=LeftPanel;
     if (RightPanel.FocusedPanel)
         ActivPanel =RightPanel;
     return ActivPanel;
 }
示例#2
0
 private static void SetView(string toolStripMenuItem, FileLister ActivPanel)
 {
     switch (toolStripMenuItem)
     {
         case "smallIcon":
             ActivPanel.ViewFileListe = View.SmallIcon;
             break;
         case "bigIcon":
             ActivPanel.ViewFileListe = View.LargeIcon;
             break;
         case "Details":
             ActivPanel.ViewFileListe = View.Details;
             break;
     }
 }