?? hyyw.cs
字號:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
namespace bggl.fm
{
/// <summary>
/// hyyw 的摘要說明。
/// </summary>
public class hyyw : System.Windows.Forms.Form
{
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.TextBox textBox2;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Button button5;
private System.Windows.Forms.GroupBox groupBox3;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.GroupBox groupBox4;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.Button button3;
private System.Windows.Forms.Button button4;
private System.Windows.Forms.TextBox textBox3;
private System.Windows.Forms.TextBox textBox4;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.ComboBox comboBox1;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.TextBox textBox5;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.TextBox textBox6;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.TextBox textBox7;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.TextBox textBox8;
private System.Windows.Forms.Label label10;
private System.Windows.Forms.DateTimePicker dateTimePicker1;
private System.Windows.Forms.ListView listView1;
private System.Windows.Forms.ColumnHeader columnHeader1;
private System.Windows.Forms.ColumnHeader columnHeader2;
private System.Windows.Forms.ColumnHeader columnHeader3;
private System.Windows.Forms.ColumnHeader columnHeader4;
private System.Windows.Forms.ColumnHeader columnHeader5;
private System.Windows.Forms.ColumnHeader columnHeader6;
private System.Windows.Forms.ColumnHeader columnHeader7;
private System.Windows.Forms.ColumnHeader columnHeader8;
private System.Windows.Forms.ColumnHeader columnHeader9;
private System.Windows.Forms.ColumnHeader columnHeader10;
private System.Windows.Forms.Label label11;
private System.Windows.Forms.TextBox textBox9;
string zhi="";
private System.Windows.Forms.Button button6;
/// <summary>
/// 必需的設計器變量。
/// </summary>
private System.ComponentModel.Container components = null;
public hyyw()
{
//
// 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()
{
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.button5 = new System.Windows.Forms.Button();
this.textBox2 = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.textBox1 = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.listView1 = new System.Windows.Forms.ListView();
this.columnHeader1 = new System.Windows.Forms.ColumnHeader();
this.columnHeader2 = new System.Windows.Forms.ColumnHeader();
this.columnHeader3 = new System.Windows.Forms.ColumnHeader();
this.columnHeader4 = new System.Windows.Forms.ColumnHeader();
this.columnHeader5 = new System.Windows.Forms.ColumnHeader();
this.columnHeader6 = new System.Windows.Forms.ColumnHeader();
this.columnHeader7 = new System.Windows.Forms.ColumnHeader();
this.columnHeader8 = new System.Windows.Forms.ColumnHeader();
this.columnHeader9 = new System.Windows.Forms.ColumnHeader();
this.columnHeader10 = new System.Windows.Forms.ColumnHeader();
this.groupBox3 = new System.Windows.Forms.GroupBox();
this.textBox9 = new System.Windows.Forms.TextBox();
this.label11 = new System.Windows.Forms.Label();
this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker();
this.label10 = new System.Windows.Forms.Label();
this.textBox8 = new System.Windows.Forms.TextBox();
this.label9 = new System.Windows.Forms.Label();
this.textBox7 = new System.Windows.Forms.TextBox();
this.label8 = new System.Windows.Forms.Label();
this.textBox6 = new System.Windows.Forms.TextBox();
this.label7 = new System.Windows.Forms.Label();
this.textBox5 = new System.Windows.Forms.TextBox();
this.label6 = new System.Windows.Forms.Label();
this.comboBox1 = new System.Windows.Forms.ComboBox();
this.label5 = new System.Windows.Forms.Label();
this.textBox4 = new System.Windows.Forms.TextBox();
this.label4 = new System.Windows.Forms.Label();
this.textBox3 = new System.Windows.Forms.TextBox();
this.label3 = new System.Windows.Forms.Label();
this.groupBox4 = new System.Windows.Forms.GroupBox();
this.button1 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.button3 = new System.Windows.Forms.Button();
this.button4 = new System.Windows.Forms.Button();
this.button6 = new System.Windows.Forms.Button();
this.groupBox1.SuspendLayout();
this.groupBox2.SuspendLayout();
this.groupBox3.SuspendLayout();
this.groupBox4.SuspendLayout();
this.SuspendLayout();
//
// groupBox1
//
this.groupBox1.Controls.Add(this.button5);
this.groupBox1.Controls.Add(this.textBox2);
this.groupBox1.Controls.Add(this.label2);
this.groupBox1.Controls.Add(this.textBox1);
this.groupBox1.Controls.Add(this.label1);
this.groupBox1.Location = new System.Drawing.Point(8, 16);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(768, 56);
this.groupBox1.TabIndex = 0;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "查詢";
//
// button5
//
this.button5.Location = new System.Drawing.Point(688, 24);
this.button5.Name = "button5";
this.button5.Size = new System.Drawing.Size(64, 24);
this.button5.TabIndex = 4;
this.button5.Text = "查詢";
this.button5.Click += new System.EventHandler(this.button5_Click);
//
// textBox2
//
this.textBox2.Location = new System.Drawing.Point(328, 18);
this.textBox2.Name = "textBox2";
this.textBox2.Size = new System.Drawing.Size(136, 21);
this.textBox2.TabIndex = 3;
this.textBox2.Text = "";
this.textBox2.TextChanged += new System.EventHandler(this.textBox2_TextChanged);
//
// label2
//
this.label2.Location = new System.Drawing.Point(256, 20);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(72, 16);
this.label2.TabIndex = 2;
this.label2.Text = "按卡號查找";
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(104, 22);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(136, 21);
this.textBox1.TabIndex = 1;
this.textBox1.Text = "";
//
// label1
//
this.label1.Location = new System.Drawing.Point(24, 24);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(72, 16);
this.label1.TabIndex = 0;
this.label1.Text = "按姓名查找";
//
// groupBox2
//
this.groupBox2.Controls.Add(this.listView1);
this.groupBox2.Location = new System.Drawing.Point(8, 80);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(768, 256);
this.groupBox2.TabIndex = 1;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "顯示操作";
//
// listView1
//
this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.columnHeader1,
this.columnHeader2,
this.columnHeader3,
this.columnHeader4,
this.columnHeader5,
this.columnHeader6,
this.columnHeader7,
this.columnHeader8,
this.columnHeader9,
this.columnHeader10});
this.listView1.FullRowSelect = true;
this.listView1.GridLines = true;
this.listView1.Location = new System.Drawing.Point(8, 24);
this.listView1.Name = "listView1";
this.listView1.Size = new System.Drawing.Size(752, 224);
this.listView1.TabIndex = 0;
this.listView1.View = System.Windows.Forms.View.Details;
this.listView1.Click += new System.EventHandler(this.listView1_Click);
//
// columnHeader1
//
this.columnHeader1.Text = "會員卡號";
this.columnHeader1.Width = 100;
//
// columnHeader2
//
this.columnHeader2.Text = "會員級別";
//
// columnHeader3
//
this.columnHeader3.Text = "會員姓名";
this.columnHeader3.Width = 80;
//
// columnHeader4
//
this.columnHeader4.Text = "會員性別";
//
// columnHeader5
//
this.columnHeader5.Text = "會員年齡";
//
// columnHeader6
//
this.columnHeader6.Text = "會員電話";
this.columnHeader6.Width = 100;
//
// columnHeader7
//
this.columnHeader7.Text = "會員身份證號碼";
this.columnHeader7.Width = 150;
//
// columnHeader8
//
this.columnHeader8.Text = "會員折扣";
//
// columnHeader9
//
this.columnHeader9.Text = "辦卡日期";
this.columnHeader9.Width = 100;
//
// columnHeader10
//
this.columnHeader10.Text = "注釋";
this.columnHeader10.Width = 100;
//
// groupBox3
//
this.groupBox3.Controls.Add(this.textBox9);
this.groupBox3.Controls.Add(this.label11);
this.groupBox3.Controls.Add(this.dateTimePicker1);
this.groupBox3.Controls.Add(this.label10);
this.groupBox3.Controls.Add(this.textBox8);
this.groupBox3.Controls.Add(this.label9);
this.groupBox3.Controls.Add(this.textBox7);
this.groupBox3.Controls.Add(this.label8);
this.groupBox3.Controls.Add(this.textBox6);
this.groupBox3.Controls.Add(this.label7);
this.groupBox3.Controls.Add(this.textBox5);
this.groupBox3.Controls.Add(this.label6);
this.groupBox3.Controls.Add(this.comboBox1);
this.groupBox3.Controls.Add(this.label5);
this.groupBox3.Controls.Add(this.textBox4);
this.groupBox3.Controls.Add(this.label4);
this.groupBox3.Controls.Add(this.textBox3);
this.groupBox3.Controls.Add(this.label3);
this.groupBox3.Location = new System.Drawing.Point(8, 344);
this.groupBox3.Name = "groupBox3";
this.groupBox3.Size = new System.Drawing.Size(672, 248);
this.groupBox3.TabIndex = 2;
this.groupBox3.TabStop = false;
this.groupBox3.Text = "輸入";
//
// textBox9
//
this.textBox9.Location = new System.Drawing.Point(80, 176);
this.textBox9.Multiline = true;
this.textBox9.Name = "textBox9";
this.textBox9.Size = new System.Drawing.Size(536, 56);
this.textBox9.TabIndex = 17;
this.textBox9.Text = "";
//
// label11
//
this.label11.Location = new System.Drawing.Point(16, 176);
this.label11.Name = "label11";
this.label11.Size = new System.Drawing.Size(40, 16);
this.label11.TabIndex = 16;
this.label11.Text = "注釋";
//
// dateTimePicker1
//
this.dateTimePicker1.Format = System.Windows.Forms.DateTimePickerFormat.Short;
this.dateTimePicker1.Location = new System.Drawing.Point(272, 128);
this.dateTimePicker1.Name = "dateTimePicker1";
this.dateTimePicker1.Size = new System.Drawing.Size(112, 21);
this.dateTimePicker1.TabIndex = 15;
//
// label10
//
this.label10.Location = new System.Drawing.Point(208, 136);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(56, 16);
this.label10.TabIndex = 14;
this.label10.Text = "辦卡日期";
//
// textBox8
//
this.textBox8.Location = new System.Drawing.Point(80, 128);
this.textBox8.Name = "textBox8";
this.textBox8.Size = new System.Drawing.Size(112, 21);
this.textBox8.TabIndex = 13;
this.textBox8.Text = "";
this.textBox8.TextChanged += new System.EventHandler(this.textBox8_TextChanged);
this.textBox8.Leave += new System.EventHandler(this.textBox8_Leave);
//
// label9
//
this.label9.Location = new System.Drawing.Point(16, 136);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(56, 16);
this.label9.TabIndex = 12;
this.label9.Text = "會員折扣";
//
// textBox7
//
this.textBox7.Location = new System.Drawing.Point(504, 80);
this.textBox7.Name = "textBox7";
this.textBox7.Size = new System.Drawing.Size(136, 21);
this.textBox7.TabIndex = 11;
this.textBox7.Text = "";
this.textBox7.TextChanged += new System.EventHandler(this.textBox7_TextChanged);
//
// label8
//
this.label8.Location = new System.Drawing.Point(408, 88);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(96, 16);
this.label8.TabIndex = 10;
this.label8.Text = "會員身份證號碼";
//
// textBox6
//
this.textBox6.Location = new System.Drawing.Point(272, 80);
this.textBox6.Name = "textBox6";
this.textBox6.Size = new System.Drawing.Size(112, 21);
this.textBox6.TabIndex = 9;
this.textBox6.Text = "";
this.textBox6.TextChanged += new System.EventHandler(this.textBox6_TextChanged);
//
// label7
//
this.label7.Location = new System.Drawing.Point(208, 88);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(64, 16);
this.label7.TabIndex = 8;
this.label7.Text = "會員電話";
//
// textBox5
//
this.textBox5.Location = new System.Drawing.Point(80, 80);
this.textBox5.Name = "textBox5";
this.textBox5.Size = new System.Drawing.Size(112, 21);
this.textBox5.TabIndex = 7;
this.textBox5.Text = "";
this.textBox5.TextChanged += new System.EventHandler(this.textBox5_TextChanged);
//
// label6
//
this.label6.Location = new System.Drawing.Point(16, 88);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(72, 24);
this.label6.TabIndex = 6;
this.label6.Text = "會員年齡";
//
// comboBox1
//
this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.comboBox1.Items.AddRange(new object[] {
"男",
"女"});
this.comboBox1.Location = new System.Drawing.Point(504, 32);
this.comboBox1.Name = "comboBox1";
this.comboBox1.Size = new System.Drawing.Size(136, 20);
this.comboBox1.TabIndex = 5;
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -