AGS.Editor.GUIController.ShowSelectFolderOrNoneDialog C# (CSharp) 메소드

ShowSelectFolderOrNoneDialog() 공개 메소드

public ShowSelectFolderOrNoneDialog ( string title, string initialPath, bool allowNewFolder ) : string
title string
initialPath string
allowNewFolder bool
리턴 string
        public string ShowSelectFolderOrNoneDialog(string title, string initialPath, bool allowNewFolder)
        {
            FolderBrowserDialog dialog = new FolderBrowserDialog();
            dialog.Description = title;
            dialog.SelectedPath = initialPath;
            dialog.ShowNewFolderButton = allowNewFolder;
            if (dialog.ShowDialog() == DialogResult.OK)
            {
                return dialog.SelectedPath;
            }
            return null;
        }

Same methods

GUIController::ShowSelectFolderOrNoneDialog ( string title, string initialPath ) : string
GUIController