这是登录
//登录成功,关闭窗体
this.Close();
new System.Threading.Thread(() =>
{
Application.Run(new 新窗体());
}).Start();
在新窗体内 为什么无法使用下面代码
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;
}
运行上面的代码 程序总是提示无响应 然后退出