TuShuYanShowForm.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 TushuDingGuoGuanLiForm : Form
    {
        private string TypeId;
        public TushuDingGuoGuanLiForm()
        {
            InitializeComponent();
            operato.Text = Form1.YONG_HU_MING;
        }

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

        private void button1_Click(object sender, EventArgs e)
        {
            //判断是否为空.如果为空则不合法
            if(ISBN_Text.Text == "" &&ISBN_Text.Text == null)
            {
                MessageBox.Show("填写的书籍编号不能为空");
                return;
            }
            if(bookName_Text.Text == "" && bookName_Text.Text == null)
            {
                MessageBox.Show("填写的书籍名称不能为空");
                return;
            }
            if(TypeName_combo.SelectedValue.ToString() == "" && TypeName_combo.SelectedValue.ToString() == null)
            {
                MessageBox.Show("还未选择图书类别");
                return;
            }
            if( translator_combo.SelectedItem.ToString() == "" &&  translator_combo.SelectedItem.ToString() == null)
            {
                MessageBox.Show("还未选择图书出版社");
                return;
            }
           if(Price_Text.Text == "" && Price_Text.Text == null)
            {
                MessageBox.Show("填写的图书价格不能为空");
                return;
            }
            if(Data_Text.Text == "" &&Data_Text.Text == null)
            {
                MessageBox.Show("填写的订购时间不能为空.请注意输入格式!");
                return;
            }
             if(number_Text.Text == "" &&number_Text.Text == null)
            {
后面还有 63 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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