赞
踩
代码:
public string select_paper_file(InputField input)
{
string path = string.Empty;
System.Windows.Forms.FolderBrowserDialog fbd = new System.Windows.Forms.FolderBrowserDialog();
if (fbd.ShowDialog() == System.Windows.Forms.DialogResult.OK)
{
path = fbd.SelectedPath;
input.text = path;
// return path;
}
return path;
}
效果图:
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。