1 private void btnChoosePath_Click(object sender, EventArgs e)2 {3 FolderBrowserDialog fbd = new FolderBrowserDialog();4 fbd.Description = "请选择Web程序存放路径";5 if (DialogResult.OK == fbd.ShowDialog())6 {7 tbPath.Text = fbd.SelectedPath;8 }9 }
本文共 379 字,大约阅读时间需要 1 分钟。
1 private void btnChoosePath_Click(object sender, EventArgs e)2 {3 FolderBrowserDialog fbd = new FolderBrowserDialog();4 fbd.Description = "请选择Web程序存放路径";5 if (DialogResult.OK == fbd.ShowDialog())6 {7 tbPath.Text = fbd.SelectedPath;8 }9 }
转载于:https://www.cnblogs.com/aoun/p/4200632.html