frmredeployprint.cs

来自「随着我国市场经济的快速发展」· CS 代码 · 共 28 行

CS
28
字号
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace PMS.PrintForm
{
    public partial class frmRedeployPrint : Form
    {
        public frmRedeployPrint()
        {
            InitializeComponent();
        }

        private void frmRedeployPrint_Load(object sender, EventArgs e)
        {
            string strg = Application.StartupPath.ToString();
            strg = strg.Substring(0, strg.LastIndexOf("\\"));
            strg = strg.Substring(0, strg.LastIndexOf("\\"));
            strg += @"\CrystalReport";
            strg += @"\UserRedeploy.rpt";
            crystalReportViewer1.ReportSource = strg;
        }
    }
}

⌨️ 快捷键说明

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