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 }
时间: 2024-11-08 21:30:26