private void btnMove_Click(object sender, EventArgs e)
{
string path1 = txtPath1.Text.Trim();
string path2 = txtPath2.Text.Trim();
if (Directory.Exists(path1))
{
Directory.Move(path1,path2);
MessageBox.Show("移动成功");
}
else
{
MessageBox.Show("源文件路径不存在");
}
}