⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 repwarrtid.cs

📁 财务凭证管理系统,主要是从事公司或部门的财务方面的管理。此系统给会计人员带来很大的帮助!
💻 CS
字号:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using property.control.warrantInfo;
using CrystalDecisions.CrystalReports.Engine;
namespace property.view.WarrantInfo.CrRepotr
{
    public partial class RepWarrtID : Form
    {
        public RepWarrtID()
        {
            InitializeComponent();
        }
        public int P_int_report;
        public RepWarrtID(int P_int_sele)
        {
            InitializeComponent();
            P_int_report = P_int_sele;
        }
        private void RepWarrtID_Load(object sender, EventArgs e)
        {
            GetWarInfo getwar=new GetWarInfo();
            if (P_int_report != 0)
            {
                string reportPath = Application.StartupPath.Substring(0, Application.StartupPath.Substring(0,
               Application.StartupPath.LastIndexOf("\\")).LastIndexOf("\\"));
                reportPath += @"\view\hinderInfo\CRsujectsum.rpt";
                ReportDocument rd = new ReportDocument();
                rd.Load(reportPath);
                rd.SetDataSource(getwar.getWarRepot(P_int_report).Tables[0].DefaultView);
                this.crystalReportViewer1.ReportSource = rd;
            
            }
        }

      
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -