This commit is contained in:
sc committed 2024-05-03 23:04:42 +08:00
commit 926b15bd4d
5 files changed
+1556 -22

No files matched your search

+10 -1
View File
@@ -53,7 +53,7 @@ namespace formula_manage.UserClass
for (int i = 0; i < printNum; i++)
{
report.Print();
}
}
flag = true;
msg = "打印成功";
}
@@ -79,6 +79,15 @@ namespace formula_manage.UserClass
bool flag = false;
string msg = "";
FastReport.Report report = new FastReport.Report();
try
{
string chineseSimpleFrl = AppDomain.CurrentDomain.BaseDirectory + @"FastReport\Localization\language.frl";
FastReport.Utils.Res.LoadLocale(chineseSimpleFrl);
}
catch (Exception ex)
{
}
try
{
report.Load(frxPath);