Commit b3b34288 by Neo Turing

调整,不选中报告默认就不打印列表中的报告

parent d6b99bcf
......@@ -775,7 +775,7 @@
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Margin = new System.Windows.Forms.Padding(2);
this.Name = "FrmMain";
this.Text = "K5报告打印客户端V4.3_24.11110";
this.Text = "K5报告打印客户端V4.3_24.11130";
this.Activated += new System.EventHandler(this.FrmMain_Activated);
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmMain_FormClosing);
this.Load += new System.EventHandler(this.FrmMain_Load);
......
......@@ -392,7 +392,9 @@ namespace Kivii.Client.Lims.ReportPrinter
var selectedJobs = _printJobs.Where(o => o.IsSelected).ToList();
if (selectedJobs.IsNullOrEmpty())
{
selectedJobs = _printJobs;
MessageBox.Show("请先选择需要打印的报告!");
return;
//selectedJobs = _printJobs;
}
foreach (var job in selectedJobs)
{
......
......@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
//通过使用 "*",如下所示:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("5.4.2024.11110")]
[assembly: AssemblyFileVersion("5.4.2024.11110")]
[assembly: AssemblyVersion("5.4.2024.11130")]
[assembly: AssemblyFileVersion("5.4.2024.11130")]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment