点击或拖拽改变大小

DirExSelectDir 方法

Sweet 开发框架
选择文件夹

命名空间:  Sweet.Common
程序集:  Sweet.Common (在 Sweet.Common.dll 中) 版本:3.10.1.0 (3.10.1.0)
语法
public static bool SelectDir(
	string desc,
	out string dir,
	bool showNewButton = true
)

参数

desc
类型:SystemString
说明
dir
类型:SystemString
返回true则path为选择文件夹路径
showNewButton (Optional)
类型:SystemBoolean
显示新建文件夹按钮

返回值

类型:Boolean
是否选择文件夹
参见
SweetUI 控件库、工具类库、扩展类库、多页面开发框架