};
InvokeUtil.Invoke(this, invokeDelegate);
DateTime t1 = DateTime.Now;
DirectoryEncrypt.EncryptDirectory(folderBrowserDialog1.SelectedPath, txtPwd.Text, RefreshDirProgress, RefreshFileProgress);
DateTime t2 = DateTime.Now;
string t = t2.Subtract(t1).TotalSeconds.ToString("0.00");
if (MessageBox.Show("加密成功,耗时" + t + "秒", "提示") == DialogResult.OK)
{
invokeDelegate = delegate()
{
EnableBtns();
};
InvokeUtil.Invoke(this, invokeDelegate);
}
}
catch (Exception ex)
{










