YongHuXinXiTianJiaForm.cs

(开头部分) 4KB

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

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

namespace MF借书系统
{
    public partial class YongHuXinXiTianJiaForm : Form
    {
        public YongHuXinXiTianJiaForm()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {

        }

        private void button2_Click(object sender, EventArgs e)
        {
            DuzheIdText.Text = "";
            DuzheNameText.Text = "";
            numberText.Text = "";
            MoneyText.Text = "";
        }

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

        private void button1_Click_1(object sender, EventArgs e)
        {
            //判断是否输入为空,如果为空则不合法!
            if (DuzheIdText.Text == "")
            {
                DuzheIdText.Focus();
                MessageBox.Show("填写的读者ID不能为空!");
                return;
            }
            if (DuzheNameText.Text == "")
            {
                DuzheNameText.Focus();
                MessageBox.Show("填写的读者姓名不能为空!");
                return;
            }
            if (numberText.Text == "")
            {
                numberText.Focus();
                MessageBox.Show("填写的可读数量不能为空!");
                return;
            }
            if (MoneyText.Text == "")
            {
                MoneyText.Focus();
后面还有 69 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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