FolderBrowserDialog组件选择文件夹时间:2023-03-09 15:03:24 1、选择路径 this.folderBrowserDialog1.ShowDialog(); if (this.folderBrowserDialog1.ShowDialog() == DialogResult.OK) { textBox1.Text = this.folderBrowserDialog1.SelectedPath; } 2、设置默认路劲 this.folderBrowserDialog1.SelectedPath = @"d:\123456\xxx";