コード例 #1
0
ファイル: CPanel.cs プロジェクト: AntonOkryb/File_Commander
        public void SelectDrive()
        {
            string[]   drvNames  = CCommon.GeAllAvaibleDrivesPaths();
            CLocalMenu localMenu = new CLocalMenu(left + 1, top + 3, 20, 5, drvNames);
            int        choice    = localMenu.Work();

            if (choice != -1)
            {
                SetPath(drvNames[choice].Trim());
            }
            else
            {
                ShowListOfItems();
            }
        }