{
MessageBox.Show("密码不能为空", "提示");
return;
}
if (txtPwdCfm.Text == "")
{
MessageBox.Show("确认密码不能为空", "提示");
return;
}
if (txtPwdCfm.Text != txtPwd.Text)
{
MessageBox.Show("两次输入的密码不相同", "提示");
return;
}
#endregion
if (openFileDialog1.ShowDialog() == DialogResult.OK)
{
Thread thread = new Thread(new ParameterizedThreadStart(delegate(object obj)
{
try
{
InvokeDelegate invokeDelegate = delegate()
{
pbFile.Value = 0;
lblProgressFile.Text = "0%";










