ShowDialog - это метод класса FolderBrowserDialog в пространстве имён System.Windows.Forms в C#, который отображает диалоговое окно "BrowserFolderDialog". Этот диалоговое окно позволяет пользователю выбрать папку на компьютере. Метод ShowDialog блокирует выполнение текущего потока до тех пор, пока пользователь не закроет диалоговое окно. Возвращаемое значение метода показывает результат диалога: если пользователь выбрал папку и нажал на кнопку "OK", то метод возвращает значение DialogResult.OK, иначе - DialogResult.Cancel. Этот метод используется для управления диалоговым окном выбора папки и получения выбранной пользователем папки в программе на C#.
C# (CSharp) System.Windows.Forms FolderBrowserDialog.ShowDialog - 60 примеров найдено. Это лучшие примеры C# (CSharp) кода для System.Windows.Forms.FolderBrowserDialog.ShowDialog, полученные из open source проектов. Вы можете ставить оценку каждому примеру, чтобы помочь нам улучшить качество примеров.