WageView/frmQuery.cs

(开头部分) 1KB

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

using System;
using System.Windows.Forms;

/// <summary>
/// 查询窗口
/// </summary>
/// <remarks></remarks>
namespace WageView
{
    partial class frmQuery
    {
        public frmQuery()
        {
            InitializeComponent();
        }
        /// <summary>
        /// 显示年
        /// </summary>
        /// <remarks></remarks>
        private void ShowYear()
        {
            this.cboYear.Items.Clear();
            this.cboYear.DropDownStyle = ComboBoxStyle.DropDownList;
            for (int i = 1950; i <= 2100; i++)
            {
                this.cboYear.Items.Add(i);
            }
            this.cboYear.Text = User.LoginInfo.LoginDate.Year.ToString();
        }
        /// <summary>
        /// 显示月
        /// </summary>
        /// <remarks></remarks>
        private void ShowMonth()
        {
            this.cboMonth.Items.Clear();
            this.cboMonth.DropDownStyle = ComboBoxStyle.DropDownList;
            for (int i = 1; i <= 12; i++)
            {
                this.cboMonth.Items.Add(i);
            }
            this.cboMonth.Text = User.LoginInfo.LoginDate.Month.ToString();
        }

        public void frmQuery_Load(System.Object sender, System.EventArgs e)
        {
            this.ShowYear();
            this.ShowMonth();
            ChooseForm.Base.BaseRecord.addHandlers(this.txtWTCode, ChooseForm.ShowWay.Code, Model.Constant.BaseRecordType.A04_工资类别);
        }

        public void btnOK_Click(System.Object sender, System.EventArgs e)
        {
            if (txtWTCode.Text.Trim() == "")
            {
                Common.Debug.myMsg("请输入工资类别", "");
                return;
            }
            this.DialogResult = System.Windows.Forms.DialogResult.OK;
            this.Close();
后面还有 8 行代码,购买后查看完整代码

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

AI 解读

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

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