提交当前本机整理版本
This commit is contained in:
@@ -326,4 +326,35 @@ namespace Lskj.Control
|
||||
}
|
||||
if (string.IsNullOrEmpty(FileName))
|
||||
{
|
||||
MessageUtil.Show("请填写下载的文件名��
|
||||
MessageUtil.Show("请填写下载的文件名称!");
|
||||
return;
|
||||
}
|
||||
if (string.IsNullOrEmpty(DownloadPath))
|
||||
{
|
||||
MessageUtil.Show("请选择下载路径!");
|
||||
return;
|
||||
}
|
||||
FrmDownload frm = new FrmDownload(URL, FileName, DownloadPath);
|
||||
frm.RightDisplay = RightDisplay;
|
||||
|
||||
if (frm.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
frm.Dispose();
|
||||
if (isBatchDownLoad)
|
||||
{
|
||||
PrintFile(labAddress.EditText);
|
||||
File.Delete(labAddress.EditText);
|
||||
}
|
||||
this.Close();
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
this.Close();
|
||||
string Message = ErrorMessage.PromptErrorMessage(ex);
|
||||
MessageUtil.Show("下载附件出错!" + Message);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user