Merge branch 'master' of http://192.168.0.12:13000/sc/formula_manage
This commit is contained in:
commit
926b15bd4d
5 files changed
+1556
-22
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user