YongHuXinXiXiuGaiYuShanChuForm.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.Windows.Forms;
namespace MF借书系统
{
public partial class YongHuXinXiXiuGaiYuShanChuForm : Form
{
bool boolean;
public YongHuXinXiXiuGaiYuShanChuForm()
{
InitializeComponent();
Tianjia.Focus();
}
private void YongHuXinXiXiuGaiYuShanChuForm_Load(object sender, EventArgs e)
{
comboBox1.SelectedIndex = 0;
ZhongJianChen.Class_DuzheXinxiShanchu shanchu = new ZhongJianChen.Class_DuzheXinxiShanchu();
dataGridView1.DataSource = shanchu.getTable();
}
private void Tianjia_TextChanged(object sender, EventArgs e)
{
ZhongJianChen.Class_DuzheXinxiShanchu shanchu = new ZhongJianChen.Class_DuzheXinxiShanchu();
//如果是合法的时候
if (shanchu.bool_Duzhe(Tianjia.Text,comboBox1.SelectedIndex))
{
boolean = true;
dataGridView1.DataSource = shanchu.getDantiao();
return;
}
boolean = false;
if (Tianjia.Text == "")
{
dataGridView1.DataSource = shanchu.getTable();
return;
}
dataGridView1.DataSource = shanchu.getKongbai();
}
private void button1_Click(object sender, EventArgs e)
{
if (Tianjia.Text == "")
{
Tianjia.Focus();
MessageBox.Show("填写的条件不能为空!");
return;
}
if (boolean)
{
ZhongJianChen.Class_DuzheXinxiShanchu shanchu = new ZhongJianChen.Class_DuzheXinxiShanchu();
if (shanchu.delete(Tianjia.Text, comboBox1.SelectedIndex))
{
dataGridView1.DataSource = shanchu.getTable();
后面还有 16 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。