YSWL.BusinessInterfaces/FrmAllSearch.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;

namespace YSWL.BusinessInterfaces
{
    public partial class FrmAllSearch : Form
    {
        BusinessLayer.UseGasCondit bll_ugc = new BusinessLayer.UseGasCondit();

        public FrmAllSearch()
        {
            InitializeComponent();
        }

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

        private void butClear_Click(object sender, EventArgs e)
        {
            this.tb_UserAddress.Clear();
            this.tb_UserName.Clear();
            this.tb_CMobilePhone.Clear();
            this.tb_CTelePhone.Clear();
        }

        private void butRunSearch_Click(object sender, EventArgs e)
        {
            string strKeyName, strKeyTel, strKeyAddress, strKeyMobile;
            int flag = 0;

            //检测用户的输入
            if (!ChackInputNull())
                return;

            strKeyName = this.tb_UserName.Text;
            strKeyMobile = this.tb_CMobilePhone.Text;
            strKeyTel = this.tb_CTelePhone.Text;
            strKeyAddress = this.tb_UserAddress.Text;

后面还有 59 行代码,购买后查看完整代码

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

AI 解读

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

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