📄 form4.cs
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.Data.SqlClient;
namespace book
{
/// <summary>
/// Summary description for Form4.
/// </summary>
public class Form4 : System.Windows.Forms.Form
{
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.CheckBox checkBox5;
private System.Windows.Forms.CheckBox checkBox4;
private System.Windows.Forms.CheckBox checkBox3;
private System.Windows.Forms.CheckBox checkBox2;
private System.Windows.Forms.CheckBox checkBox1;
private System.Windows.Forms.TextBox textBox5;
private System.Windows.Forms.TextBox textBox4;
private System.Windows.Forms.TextBox textBox3;
private System.Windows.Forms.TextBox textBox2;
private System.Windows.Forms.TextBox textBox1;
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 button1;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.TextBox textBox6;
private System.Windows.Forms.CheckBox checkBox6;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
public Form4()
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
//
// TODO: Add any constructor code after InitializeComponent call
//
}
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.textBox4 = new System.Windows.Forms.TextBox();
this.textBox5 = new System.Windows.Forms.TextBox();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.checkBox5 = new System.Windows.Forms.CheckBox();
this.checkBox4 = new System.Windows.Forms.CheckBox();
this.checkBox3 = new System.Windows.Forms.CheckBox();
this.checkBox2 = new System.Windows.Forms.CheckBox();
this.checkBox1 = new System.Windows.Forms.CheckBox();
this.textBox3 = new System.Windows.Forms.TextBox();
this.textBox2 = new System.Windows.Forms.TextBox();
this.textBox1 = new System.Windows.Forms.TextBox();
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.button1 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.label6 = new System.Windows.Forms.Label();
this.textBox6 = new System.Windows.Forms.TextBox();
this.checkBox6 = new System.Windows.Forms.CheckBox();
this.groupBox1.SuspendLayout();
this.SuspendLayout();
//
// textBox4
//
this.textBox4.Location = new System.Drawing.Point(176, 96);
this.textBox4.Name = "textBox4";
this.textBox4.TabIndex = 12;
this.textBox4.Text = "";
//
// textBox5
//
this.textBox5.Location = new System.Drawing.Point(176, 120);
this.textBox5.Name = "textBox5";
this.textBox5.TabIndex = 13;
this.textBox5.Text = "";
//
// groupBox1
//
this.groupBox1.Controls.AddRange(new System.Windows.Forms.Control[] {
this.checkBox6,
this.label6,
this.textBox6,
this.checkBox5,
this.checkBox4,
this.checkBox3,
this.checkBox2,
this.checkBox1,
this.textBox5,
this.textBox4,
this.textBox3,
this.textBox2,
this.textBox1,
this.label5,
this.label4,
this.label3,
this.label2,
this.label1});
this.groupBox1.Location = new System.Drawing.Point(8, 24);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(288, 176);
this.groupBox1.TabIndex = 1;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "查询方式";
//
// checkBox5
//
this.checkBox5.Location = new System.Drawing.Point(8, 112);
this.checkBox5.Name = "checkBox5";
this.checkBox5.Size = new System.Drawing.Size(80, 24);
this.checkBox5.TabIndex = 18;
this.checkBox5.Text = "逻辑与";
//
// checkBox4
//
this.checkBox4.Location = new System.Drawing.Point(8, 88);
this.checkBox4.Name = "checkBox4";
this.checkBox4.Size = new System.Drawing.Size(80, 24);
this.checkBox4.TabIndex = 17;
this.checkBox4.Text = "逻辑与";
//
// checkBox3
//
this.checkBox3.Location = new System.Drawing.Point(8, 64);
this.checkBox3.Name = "checkBox3";
this.checkBox3.Size = new System.Drawing.Size(80, 24);
this.checkBox3.TabIndex = 16;
this.checkBox3.Text = "逻辑与";
//
// checkBox2
//
this.checkBox2.Location = new System.Drawing.Point(8, 40);
this.checkBox2.Name = "checkBox2";
this.checkBox2.Size = new System.Drawing.Size(80, 24);
this.checkBox2.TabIndex = 15;
this.checkBox2.Text = "逻辑与";
//
// checkBox1
//
this.checkBox1.Location = new System.Drawing.Point(8, 17);
this.checkBox1.Name = "checkBox1";
this.checkBox1.Size = new System.Drawing.Size(80, 24);
this.checkBox1.TabIndex = 14;
this.checkBox1.Text = "逻辑与";
//
// textBox3
//
this.textBox3.Location = new System.Drawing.Point(176, 72);
this.textBox3.Name = "textBox3";
this.textBox3.TabIndex = 11;
this.textBox3.Text = "";
//
// textBox2
//
this.textBox2.Location = new System.Drawing.Point(176, 48);
this.textBox2.Name = "textBox2";
this.textBox2.TabIndex = 10;
this.textBox2.Text = "";
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(176, 24);
this.textBox1.Name = "textBox1";
this.textBox1.TabIndex = 9;
this.textBox1.Text = "";
//
// label5
//
this.label5.Location = new System.Drawing.Point(104, 120);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(72, 23);
this.label5.TabIndex = 8;
this.label5.Text = "定价:";
//
// label4
//
this.label4.Location = new System.Drawing.Point(104, 96);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(72, 23);
this.label4.TabIndex = 7;
this.label4.Text = "出版日期:";
//
// label3
//
this.label3.Location = new System.Drawing.Point(104, 72);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(72, 23);
this.label3.TabIndex = 6;
this.label3.Text = "出版社:";
//
// label2
//
this.label2.Location = new System.Drawing.Point(104, 48);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(72, 23);
this.label2.TabIndex = 5;
this.label2.Text = "作者:";
//
// label1
//
this.label1.Location = new System.Drawing.Point(104, 24);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(72, 23);
this.label1.TabIndex = 4;
this.label1.Text = "书名 :";
//
// button1
//
this.button1.Location = new System.Drawing.Point(48, 216);
this.button1.Name = "button1";
this.button1.TabIndex = 2;
this.button1.Text = "删除";
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// button2
//
this.button2.Location = new System.Drawing.Point(168, 216);
this.button2.Name = "button2";
this.button2.TabIndex = 3;
this.button2.Text = "关闭";
this.button2.Click += new System.EventHandler(this.button2_Click);
//
// label6
//
this.label6.Location = new System.Drawing.Point(104, 144);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(56, 23);
this.label6.TabIndex = 20;
this.label6.Text = "ISBN:";
//
// textBox6
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -