1:folderBrowserDialog 与
{
string[] mystring = (this.textBox1.Text, "*.*", SearchOption.AllDirectories);
之间的关系;用file.copy
2;对于第二个问题,利用 openFileDialog 并设置其属性是否多选;具体的用file.copy
if (openFileDialog1.ShowDialog() == DialogResult.OK)
{
foreach (string my in this.openFileDialog1.FileNames)
{
string path = my.Substring(my.LastIndexOf("\\") + 1);
(this.openfiledialog1.filename,"要复制到那个路径下")
}
}