Skip to content

Commit

Permalink
Fix bugs.
Browse files Browse the repository at this point in the history
  • Loading branch information
oybab committed Jul 27, 2020
1 parent da51ec4 commit d74b42f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion TradingSystem/OybabReport/Common/BackstageReport.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ private void xrcProductName_BeforePrint(object sender, System.Drawing.Printing.P

long lang = Printer.Lang;

if (9 == lang)
if (-1 == lang)
{
lang = Order.Lang;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ private void xrcProductName_BeforePrint(object sender, System.Drawing.Printing.P

long lang = Printer.Lang;

if (9 == lang)
if (-1 == lang)
{
lang = Order.Lang;
}
Expand Down
2 changes: 1 addition & 1 deletion TradingSystem/OybabServicePC/SubWindow/PrinterWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ private bool IgnoreOperateForSave()
/// </summary>
private void Add(){
OpenPageTo(1);
AddToGrid("*", "-1", "", "", "", "", GetPrintType(0), 0, 0, GetLanguage(9), 0, 1);
AddToGrid("*", "-1", "", "", "", "", GetPrintType(0), 0, 0, GetLanguage(-1), 0, 1);
krpdgList.FirstDisplayedScrollingRowIndex = 0;
}

Expand Down

0 comments on commit d74b42f

Please sign in to comment.