客服管理模块/维修申请/UpdateWeiXiu.cs

(开头部分) 2KB

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

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace PropertyManagementSystem
{
    public partial class UpdateWeiXiu : Form
    {
        public UpdateWeiXiu()
        {
            InitializeComponent();
        }


        private DataGridView dv;
        private MaintainForm ma;

        public UpdateWeiXiu(DataGridView data, MaintainForm main)
        {
            InitializeComponent();
            dv = data;
            ma = main;
        }



        private void UpdateWeiXiu_Load(object sender, EventArgs e)
        {
            this.textBox1.Text = dv.SelectedRows[0].Cells["ID"].Value.ToString();
            this.textBox2.Text = dv.SelectedRows[0].Cells["ownerID"].Value.ToString();
            this.textBox3.Text = dv.SelectedRows[0].Cells["matter"].Value.ToString();
            this.textBox4.Text = dv.SelectedRows[0].Cells["data"].Value.ToString();
            this.comboBox1.Text = dv.SelectedRows[0].Cells["handleState"].Value.ToString(); ;
        }




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

       

        private void button1_Click_1(object sender, EventArgs e)
        {
            string id = this.textBox1.Text.ToString().Trim();
            string owner = this.textBox2.Text.ToString().Trim();
            string mtr = this.textBox3.Text.ToString().Trim();
            string shijian = this.textBox4.Text.ToString().Trim();
            string hs = this.comboBox1.Text.ToString().Trim();

            if (id != "" && owner != "" && shijian != "" && mtr != "" && hs != "")
后面还有 27 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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