📄 form_publisher.cs
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace 图书管理系统
{
/// <summary>
/// Form_Publisher 的摘要说明。
/// </summary>
public class Form_Publisher : System.Windows.Forms.Form
{
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.TextBox pressname;
private System.Windows.Forms.TextBox presslinkman;
private System.Windows.Forms.TextBox pressaddress;
private System.Windows.Forms.TextBox presstelephone;
private System.Windows.Forms.Button butPrev;
private System.Windows.Forms.Button butNext;
private System.Windows.Forms.Button butLast;
private System.Windows.Forms.Button butFirst;
private System.Windows.Forms.Button butShowAll;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.ComboBox comboBox1;
private System.Windows.Forms.ComboBox comboBox2;
private System.Windows.Forms.Button butSearch;
private System.Windows.Forms.Button butDelete;
private System.Windows.Forms.Button butAdd;
private System.Windows.Forms.Button butAlter;
private System.Windows.Forms.Button butBookManagement;
private System.Windows.Forms.TextBox textForSearch;
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.Container components = null;
public Form_Publisher()
{
//
// 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_Publisher));
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.pressname = new System.Windows.Forms.TextBox();
this.presslinkman = new System.Windows.Forms.TextBox();
this.pressaddress = new System.Windows.Forms.TextBox();
this.presstelephone = new System.Windows.Forms.TextBox();
this.butBookManagement = new System.Windows.Forms.Button();
this.butPrev = new System.Windows.Forms.Button();
this.butNext = new System.Windows.Forms.Button();
this.butLast = new System.Windows.Forms.Button();
this.butFirst = new System.Windows.Forms.Button();
this.butShowAll = new System.Windows.Forms.Button();
this.label5 = new System.Windows.Forms.Label();
this.comboBox1 = new System.Windows.Forms.ComboBox();
this.butSearch = new System.Windows.Forms.Button();
this.textForSearch = new System.Windows.Forms.TextBox();
this.comboBox2 = new System.Windows.Forms.ComboBox();
this.butDelete = new System.Windows.Forms.Button();
this.butAdd = new System.Windows.Forms.Button();
this.butAlter = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// label1
//
this.label1.BackColor = System.Drawing.Color.Transparent;
this.label1.Location = new System.Drawing.Point(72, 48);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(112, 24);
this.label1.TabIndex = 0;
this.label1.Text = "出版社名称";
//
// label2
//
this.label2.BackColor = System.Drawing.Color.Transparent;
this.label2.Location = new System.Drawing.Point(72, 96);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(112, 24);
this.label2.TabIndex = 1;
this.label2.Text = "联系人姓名";
//
// label3
//
this.label3.BackColor = System.Drawing.Color.Transparent;
this.label3.Location = new System.Drawing.Point(72, 144);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(112, 24);
this.label3.TabIndex = 2;
this.label3.Text = "出版社地址";
//
// label4
//
this.label4.BackColor = System.Drawing.Color.Transparent;
this.label4.Location = new System.Drawing.Point(72, 192);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(112, 24);
this.label4.TabIndex = 3;
this.label4.Text = "联系电话";
//
// pressname
//
this.pressname.Location = new System.Drawing.Point(200, 48);
this.pressname.Name = "pressname";
this.pressname.ReadOnly = true;
this.pressname.Size = new System.Drawing.Size(200, 21);
this.pressname.TabIndex = 4;
this.pressname.Text = "pressname";
//
// presslinkman
//
this.presslinkman.Location = new System.Drawing.Point(200, 96);
this.presslinkman.Name = "presslinkman";
this.presslinkman.ReadOnly = true;
this.presslinkman.Size = new System.Drawing.Size(200, 21);
this.presslinkman.TabIndex = 5;
this.presslinkman.Text = "presslinkman";
//
// pressaddress
//
this.pressaddress.Location = new System.Drawing.Point(200, 136);
this.pressaddress.Name = "pressaddress";
this.pressaddress.ReadOnly = true;
this.pressaddress.Size = new System.Drawing.Size(200, 21);
this.pressaddress.TabIndex = 6;
this.pressaddress.Text = "pressaddress";
//
// presstelephone
//
this.presstelephone.Location = new System.Drawing.Point(200, 192);
this.presstelephone.Name = "presstelephone";
this.presstelephone.ReadOnly = true;
this.presstelephone.Size = new System.Drawing.Size(200, 21);
this.presstelephone.TabIndex = 7;
this.presstelephone.Text = "presstelephone";
//
// butBookManagement
//
this.butBookManagement.BackColor = System.Drawing.Color.Transparent;
this.butBookManagement.Location = new System.Drawing.Point(312, 256);
this.butBookManagement.Name = "butBookManagement";
this.butBookManagement.Size = new System.Drawing.Size(104, 24);
this.butBookManagement.TabIndex = 8;
this.butBookManagement.Text = "书目信息管理";
this.butBookManagement.Click += new System.EventHandler(this.butBookManagement_Click);
//
// butPrev
//
this.butPrev.BackColor = System.Drawing.Color.Transparent;
this.butPrev.Location = new System.Drawing.Point(180, 344);
this.butPrev.Name = "butPrev";
this.butPrev.Size = new System.Drawing.Size(56, 24);
this.butPrev.TabIndex = 9;
this.butPrev.Text = "<";
this.butPrev.Click += new System.EventHandler(this.butPrev_Click);
//
// butNext
//
this.butNext.BackColor = System.Drawing.Color.Transparent;
this.butNext.Location = new System.Drawing.Point(236, 344);
this.butNext.Name = "butNext";
this.butNext.Size = new System.Drawing.Size(56, 24);
this.butNext.TabIndex = 10;
this.butNext.Text = ">";
this.butNext.Click += new System.EventHandler(this.butNext_Click);
//
// butLast
//
this.butLast.BackColor = System.Drawing.Color.Transparent;
this.butLast.Location = new System.Drawing.Point(292, 344);
this.butLast.Name = "butLast";
this.butLast.Size = new System.Drawing.Size(56, 24);
this.butLast.TabIndex = 12;
this.butLast.Text = ">|";
this.butLast.Click += new System.EventHandler(this.butLast_Click);
//
// butFirst
//
this.butFirst.BackColor = System.Drawing.Color.Transparent;
this.butFirst.Location = new System.Drawing.Point(124, 344);
this.butFirst.Name = "butFirst";
this.butFirst.Size = new System.Drawing.Size(56, 24);
this.butFirst.TabIndex = 11;
this.butFirst.Text = "|<";
this.butFirst.Click += new System.EventHandler(this.butFirst_Click);
//
// butShowAll
//
this.butShowAll.BackColor = System.Drawing.Color.Transparent;
this.butShowAll.Location = new System.Drawing.Point(224, 256);
this.butShowAll.Name = "butShowAll";
this.butShowAll.Size = new System.Drawing.Size(88, 24);
this.butShowAll.TabIndex = 13;
this.butShowAll.Text = "查看全部";
this.butShowAll.Click += new System.EventHandler(this.butShowAll_Click);
//
// label5
//
this.label5.BackColor = System.Drawing.Color.Transparent;
this.label5.Location = new System.Drawing.Point(36, 304);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(56, 16);
this.label5.TabIndex = 14;
this.label5.Text = "查找方式";
//
// comboBox1
//
this.comboBox1.Items.AddRange(new object[] {
"出版社名称",
"联系电话"});
this.comboBox1.Location = new System.Drawing.Point(108, 304);
this.comboBox1.MaxDropDownItems = 2;
this.comboBox1.Name = "comboBox1";
this.comboBox1.Size = new System.Drawing.Size(88, 20);
this.comboBox1.TabIndex = 15;
this.comboBox1.Text = "出版社名称";
//
// butSearch
//
this.butSearch.BackColor = System.Drawing.Color.Transparent;
this.butSearch.Location = new System.Drawing.Point(372, 304);
this.butSearch.Name = "butSearch";
this.butSearch.Size = new System.Drawing.Size(64, 24);
this.butSearch.TabIndex = 16;
this.butSearch.Text = "查找";
this.butSearch.Click += new System.EventHandler(this.butSearch_Click);
//
// textForSearch
//
this.textForSearch.Location = new System.Drawing.Point(268, 304);
this.textForSearch.Name = "textForSearch";
this.textForSearch.Size = new System.Drawing.Size(96, 21);
this.textForSearch.TabIndex = 17;
this.textForSearch.Text = "";
//
// comboBox2
//
this.comboBox2.Items.AddRange(new object[] {
"模糊",
"精确"});
this.comboBox2.Location = new System.Drawing.Point(212, 304);
this.comboBox2.MaxDropDownItems = 2;
this.comboBox2.Name = "comboBox2";
this.comboBox2.Size = new System.Drawing.Size(48, 20);
this.comboBox2.TabIndex = 18;
this.comboBox2.Text = "模糊";
//
// butDelete
//
this.butDelete.BackColor = System.Drawing.Color.Transparent;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -