GG_DPS/Forderset.cs

(完整代码) 1KB

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

namespace GG_DPS
{
    public partial class Forderset : Form
    {
        public Forderset()
        {
            InitializeComponent();
        }
        public string _billid = "";
        private void button1_Click(object sender, EventArgs e)
        {
            if (textBox1.Text.Trim() == "")
            {
                MessageBox.Show("请输入优先级权重。", "提示信息", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
                textBox1.Focus();
            }
            else
            {
                DPS_WorkTask wk = new DPS_WorkTask();
                wk.pri = int.Parse(textBox1.Text);
                wk.billId = _billid;
                wk.userId = Login.userId;
                if (wk.Update(2) > 0)
                    this.DialogResult = DialogResult.OK;
                else
                    this.DialogResult = DialogResult.No;
            }
        }

        private void button2_Click(object sender, EventArgs e)
        {
            Close();
        }
    }
}

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

AI 解读

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

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