TuShuYanShowForm2.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;
using System.Drawing.Drawing2D;
namespace MF借书系统
{
public partial class TuShuYanShowForm2 : Form
{
private string str_ISBN;
public TuShuYanShowForm2()
{
InitializeComponent();
}
private void button2_Click(object sender, EventArgs e)
{
this.Close();
}
private void TuShuYanShowForm2_Load(object sender, EventArgs e)
{
operato_Text.Text = Form1.YONG_HU_MING;
ZhongJianChen.Class_TuShuYanShow yanshou = new ZhongJianChen.Class_TuShuYanShow();
dataGridView1.DataSource = yanshou.getDataGiadView().Tables[0];
typeName_combo.DataSource = yanshou.getCombo().Tables[0];
typeName_combo.DisplayMember = "TypeName";
typeName_combo.ValueMember = "TypeName";
}
private void ISBN_Text_TextChanged(object sender, EventArgs e)
{
ZhongJianChen.Class_TuShuYanShow yanshou = new ZhongJianChen.Class_TuShuYanShow();
string[] str = yanshou.getString2(ISBN_Text.Text);
for (int i = 0; i < typeName_combo.Items.Count; i++)
{
typeName_combo.SelectedIndex = i;
if (typeName_combo.SelectedValue.ToString() == str[4])
{
Date_Text.Text = str[1];
number_Text.Text = str[2];
if ("是" == str[5])
shi_radio.Checked = true;
else
fou_radio.Checked = true;
zk_Text.Text = str[6];
price2_Text.Text = str[7];
price1_Text.Text = ((double)int.Parse(price2_Text.Text) *
(1 - double.Parse(zk_Text.Text))+ int.Parse(price2_Text.Text)).ToString();
str_ISBN = ISBN_Text.Text;
break;
}
}
}
后面还有 64 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。