📄 form_storage.cs
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace 图书管理系统
{
/// <summary>
/// Form_Storage 的摘要说明。
/// </summary>
public class Form_Storage : System.Windows.Forms.Form
{
private System.Windows.Forms.Label label7;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Button butLast;
private System.Windows.Forms.Button butFirst;
private System.Windows.Forms.Button butNext;
private System.Windows.Forms.Button butPrev;
private System.Windows.Forms.TextBox pressname;
private System.Windows.Forms.TextBox bookquantity;
private System.Windows.Forms.TextBox bookname;
private System.Windows.Forms.TextBox bookISBN;
private System.Windows.Forms.TextBox bookinfo;
private System.Windows.Forms.TextBox bookoutprice;
private System.Windows.Forms.Button butSearch;
private System.Windows.Forms.TextBox textForSearch;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.ComboBox comboBox1;
private System.Windows.Forms.ComboBox comboBox2;
private System.Windows.Forms.TextBox bookinprice;
private System.Windows.Forms.TextBox bookpublishdate;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.Button butShowAll;
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.Container components = null;
public Form_Storage()
{
//
// Windows 窗体设计器支持所必需的
//
InitializeComponent();
//
// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
//
}
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows 窗体设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要使用代码编辑器修改
/// 此方法的内容。
/// </summary>
private void InitializeComponent()
{
System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form_Storage));
this.pressname = new System.Windows.Forms.TextBox();
this.bookinprice = new System.Windows.Forms.TextBox();
this.bookquantity = new System.Windows.Forms.TextBox();
this.bookname = new System.Windows.Forms.TextBox();
this.bookISBN = new System.Windows.Forms.TextBox();
this.bookinfo = new System.Windows.Forms.TextBox();
this.bookoutprice = new System.Windows.Forms.TextBox();
this.label7 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.butSearch = new System.Windows.Forms.Button();
this.butLast = new System.Windows.Forms.Button();
this.butFirst = new System.Windows.Forms.Button();
this.butNext = new System.Windows.Forms.Button();
this.butPrev = new System.Windows.Forms.Button();
this.textForSearch = new System.Windows.Forms.TextBox();
this.label8 = new System.Windows.Forms.Label();
this.comboBox1 = new System.Windows.Forms.ComboBox();
this.comboBox2 = new System.Windows.Forms.ComboBox();
this.bookpublishdate = new System.Windows.Forms.TextBox();
this.label9 = new System.Windows.Forms.Label();
this.butShowAll = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// pressname
//
this.pressname.Location = new System.Drawing.Point(164, 119);
this.pressname.Name = "pressname";
this.pressname.ReadOnly = true;
this.pressname.Size = new System.Drawing.Size(248, 21);
this.pressname.TabIndex = 30;
this.pressname.Text = "pressname";
//
// bookinprice
//
this.bookinprice.Location = new System.Drawing.Point(164, 183);
this.bookinprice.Name = "bookinprice";
this.bookinprice.ReadOnly = true;
this.bookinprice.Size = new System.Drawing.Size(248, 21);
this.bookinprice.TabIndex = 28;
this.bookinprice.Text = "bookinprice";
//
// bookquantity
//
this.bookquantity.Location = new System.Drawing.Point(164, 247);
this.bookquantity.Name = "bookquantity";
this.bookquantity.ReadOnly = true;
this.bookquantity.Size = new System.Drawing.Size(248, 21);
this.bookquantity.TabIndex = 26;
this.bookquantity.Text = "bookquantity";
//
// bookname
//
this.bookname.Location = new System.Drawing.Point(164, 55);
this.bookname.Name = "bookname";
this.bookname.ReadOnly = true;
this.bookname.Size = new System.Drawing.Size(248, 21);
this.bookname.TabIndex = 25;
this.bookname.Text = "bookname";
//
// bookISBN
//
this.bookISBN.Location = new System.Drawing.Point(164, 23);
this.bookISBN.Name = "bookISBN";
this.bookISBN.ReadOnly = true;
this.bookISBN.Size = new System.Drawing.Size(248, 21);
this.bookISBN.TabIndex = 24;
this.bookISBN.Text = "bookISBN";
//
// bookinfo
//
this.bookinfo.Location = new System.Drawing.Point(164, 87);
this.bookinfo.Name = "bookinfo";
this.bookinfo.ReadOnly = true;
this.bookinfo.Size = new System.Drawing.Size(248, 21);
this.bookinfo.TabIndex = 27;
this.bookinfo.Text = "bookinfo";
//
// bookoutprice
//
this.bookoutprice.Location = new System.Drawing.Point(164, 215);
this.bookoutprice.Name = "bookoutprice";
this.bookoutprice.ReadOnly = true;
this.bookoutprice.Size = new System.Drawing.Size(248, 21);
this.bookoutprice.TabIndex = 29;
this.bookoutprice.Text = "bookoutprice";
//
// label7
//
this.label7.BackColor = System.Drawing.Color.Transparent;
this.label7.Location = new System.Drawing.Point(60, 247);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(72, 16);
this.label7.TabIndex = 23;
this.label7.Text = "存货量";
//
// label6
//
this.label6.BackColor = System.Drawing.Color.Transparent;
this.label6.Location = new System.Drawing.Point(60, 215);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(72, 16);
this.label6.TabIndex = 22;
this.label6.Text = "预定售价";
//
// label5
//
this.label5.BackColor = System.Drawing.Color.Transparent;
this.label5.Location = new System.Drawing.Point(60, 183);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(72, 16);
this.label5.TabIndex = 21;
this.label5.Text = "进价";
//
// label4
//
this.label4.BackColor = System.Drawing.Color.Transparent;
this.label4.Location = new System.Drawing.Point(60, 119);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(72, 16);
this.label4.TabIndex = 20;
this.label4.Text = "出版社";
//
// label3
//
this.label3.BackColor = System.Drawing.Color.Transparent;
this.label3.Location = new System.Drawing.Point(60, 87);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(72, 16);
this.label3.TabIndex = 19;
this.label3.Text = "图书简介";
//
// label2
//
this.label2.BackColor = System.Drawing.Color.Transparent;
this.label2.Location = new System.Drawing.Point(60, 55);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(72, 16);
this.label2.TabIndex = 18;
this.label2.Text = "图书名称";
//
// label1
//
this.label1.BackColor = System.Drawing.Color.Transparent;
this.label1.Location = new System.Drawing.Point(60, 23);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(72, 16);
this.label1.TabIndex = 17;
this.label1.Text = "图书ISBN";
//
// butSearch
//
this.butSearch.BackColor = System.Drawing.Color.Transparent;
this.butSearch.Location = new System.Drawing.Point(364, 295);
this.butSearch.Name = "butSearch";
this.butSearch.Size = new System.Drawing.Size(64, 24);
this.butSearch.TabIndex = 32;
this.butSearch.Text = "查找图书";
this.butSearch.Click += new System.EventHandler(this.butSearch_Click);
//
// butLast
//
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -