|
|
@@ -503,7 +503,7 @@ namespace UAS_LabelMachine
|
|
|
pibid += PIBID[i];
|
|
|
}
|
|
|
if (!SingleLabelCombox.SelectedValue.ToString().Contains("System.Data.DataRowView"))
|
|
|
- SingleReport.Load(@"C:/打印标签/联讯发LP.frx");
|
|
|
+ SingleReport.Load(SingleLabelCombox.SelectedValue.ToString());
|
|
|
for (int j = 0; j < SingleReport.Parameters.Count; j++)
|
|
|
{
|
|
|
SingleReport.SetParameterValue(SingleReport.Parameters[j].Name, "");
|
|
|
@@ -710,7 +710,7 @@ namespace UAS_LabelMachine
|
|
|
if (pibid != "")
|
|
|
{
|
|
|
if (!SingleLabelCombox.SelectedValue.ToString().Contains("System.Data.DataRowView"))
|
|
|
- SingleReport.Load(@"C:/打印标签/联讯发LP.frx");
|
|
|
+ SingleReport.Load(SingleLabelCombox.SelectedValue.ToString());
|
|
|
for (int j = 0; j < SingleReport.Parameters.Count; j++)
|
|
|
{
|
|
|
SingleReport.SetParameterValue(SingleReport.Parameters[j].Name, "");
|
|
|
@@ -1312,7 +1312,7 @@ namespace UAS_LabelMachine
|
|
|
if (ComBoxClickChangeLabelDoc)
|
|
|
{
|
|
|
if (!SingleLabelCombox.SelectedValue.ToString().Contains("System.Data.DataRowView"))
|
|
|
- SingleReport.Load(@"C:/打印标签/联讯发LP.frx");
|
|
|
+ SingleReport.Load(SingleLabelCombox.SelectedValue.ToString());
|
|
|
}
|
|
|
}
|
|
|
catch (Exception) { }
|