private void btnSearDes_Click(object sender, EventArgs e) { if (SaveDir.ShowDialog(this) == DialogResult.OK) { txtDest.Text = SaveDir.SelectedPath; } }
private void btnSrc_Click(object sender, EventArgs e) { if (SaveDir.ShowDialog(this) == DialogResult.OK) { txtSrc.Text = SaveDir.SelectedPath; //FileVersionInfo version = FileVersionInfo.GetVersionInfo(ofdSrc.FileName); //name.Text = version.FileVersion; LoadFiles(); lblFileCount.Text = string.Format("已选择的文件数: {0} 个", FileList.CheckedItems.Count); } }