📄 frmleavemoneyprint.cs
字号:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;
using property.control.Subject;
using CrystalDecisions.CrystalReports.Engine;
namespace property.view.HinderInfo
{
public partial class frmLeaveMoneyPrint : Form
{
public frmLeaveMoneyPrint()
{
InitializeComponent();
}
private void frmLeaveMoneyPrint_Load(object sender, EventArgs e)
{
FinSubject fr = new FinSubject();
string reportPath = Application.StartupPath.Substring(0, Application.StartupPath.Substring(0,
Application.StartupPath.LastIndexOf("\\")).LastIndexOf("\\"));
reportPath += @"\view\hinderInfo\RePortMoney.rpt";
ReportDocument rd = new ReportDocument();
rd.Load(reportPath);
rd.SetDataSource(fr.GetFindSujbectMoney().Tables[0].DefaultView);
this.crystalReportViewer1.ReportSource = rd;
return;
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -