请大神帮忙看看
private void RPTX_DAICHOUTANI_ReportEnd(object sender, EventArgs e)
{
try
{
if (oPrintArgs.iPrintMode == 1)
{
//印刷ダイアログを表示
////20200227
//this.Document.Print(false,false);
this.Document.Print(true, true);
}
}
catch (Exception ex)
{
GeneralLog oLog = new GeneralLog();
oLog.Fatal(ex);
}
}