Пример #1
0
 private void SelectDisk()
 {
     while (true)
     {
         AnswerClient();
         var(allDirectoriesAndFiles, diskFound) = manager.SelectDisk(data.ToString());
         if (diskFound)
         {
             SendMessage($"{allDirectoriesAndFiles}If you want to select a different folder or file, click C else if you want return to previous folder click P");
             return;
         }
         else
         {
             SendMessage("Have`t this disk, write name your disk");
         }
     }
 }