YSWL.BusinessInterfaces/FrmUgcLjSearch.cs

(开头部分) 4KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using GoldPrinter;

namespace YSWL.BusinessInterfaces
{
    public partial class FrmUgcLjSearch : Form
    {
        BusinessLayer.UseGasCondit bll_ugc = new BusinessLayer.UseGasCondit();
        //报表打印操作类初始化
        ResportPrint resportprint = new ResportPrint();
        //打印报表信息
        private Modules.Print mPrintInfo;

        public FrmUgcLjSearch()
        {
            InitializeComponent();
        }

        #region 窗体间互访(子窗体)
        private static FrmUgcLjSearch m_Form = new FrmUgcLjSearch();
        public static FrmUgcLjSearch NewForm
        {
            get
            {
                if (m_Form == null || m_Form.IsDisposed)
                {
                    m_Form = new FrmUgcLjSearch();
                }
                else
                {
                    m_Form.Activate();
                }
                return m_Form;
            }
        }
        #endregion

        /// <summary>
        /// 设置打印信息
        /// </summary>
        private void PrintInfoSet()
        {
            mPrintInfo = new YSWL.Modules.Print();
            mPrintInfo.BottomCenter = "";
            mPrintInfo.BottomLeft = "";
            mPrintInfo.BottomRight = "用气情况总计:" + this.lbCount.Text;
            mPrintInfo.Caption = "";
            mPrintInfo.Title = "地址邻近用气报表";
            mPrintInfo.TopCenter = "";
            mPrintInfo.TopLeft = "操作员:" + PublicItem.operatorItem.OperatorName;
            mPrintInfo.TopRight = "打印日期:" + DateTime.Now.ToString("yyyy-MM-dd");
        }

        private void butToExcel_Click(object sender, EventArgs e)
后面还有 69 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。