?? modifystudent.cs
字號:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data.OleDb;
using System.Data;
using System.IO;
namespace WindowsApplication1
{
/// <summary>
/// ModifyStudent 的摘要說明。
/// </summary>
public class ModifyStudent : System.Windows.Forms.Form
{
private System.Windows.Forms.Label label12;
private System.Windows.Forms.Label label11;
public System.Windows.Forms.TextBox textBox10;
public System.Windows.Forms.TextBox textBox8;
public System.Windows.Forms.TextBox textBox6;
public System.Windows.Forms.TextBox textBox5;
public System.Windows.Forms.TextBox textBox4;
public System.Windows.Forms.TextBox textBox2;
public System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.Label label10;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.Label label8;
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;
public System.Windows.Forms.Label label13;
public System.Windows.Forms.ComboBox comboBox4;
public System.Windows.Forms.ComboBox comboBox3;
public System.Windows.Forms.ComboBox comboBox2;
public System.Windows.Forms.ComboBox comboBox1;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.Button button1;
private System.Data.OleDb.OleDbConnection oleDbConnection1;
public System.Windows.Forms.Label label14;
private System.Windows.Forms.PictureBox pictureBox1;
private System.Windows.Forms.Label label15;
private System.Windows.Forms.OpenFileDialog openFileDialog1;
/// <summary>
/// 必需的設計器變量。
/// </summary>
private System.ComponentModel.Container components = null;
public ModifyStudent()
{
//
// 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.label12 = new System.Windows.Forms.Label();
this.label11 = new System.Windows.Forms.Label();
this.textBox10 = new System.Windows.Forms.TextBox();
this.textBox8 = new System.Windows.Forms.TextBox();
this.textBox6 = new System.Windows.Forms.TextBox();
this.textBox5 = new System.Windows.Forms.TextBox();
this.textBox4 = new System.Windows.Forms.TextBox();
this.textBox2 = new System.Windows.Forms.TextBox();
this.textBox1 = new System.Windows.Forms.TextBox();
this.label10 = new System.Windows.Forms.Label();
this.label9 = new System.Windows.Forms.Label();
this.label8 = new System.Windows.Forms.Label();
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.comboBox4 = new System.Windows.Forms.ComboBox();
this.comboBox3 = new System.Windows.Forms.ComboBox();
this.comboBox2 = new System.Windows.Forms.ComboBox();
this.comboBox1 = new System.Windows.Forms.ComboBox();
this.button2 = new System.Windows.Forms.Button();
this.button1 = new System.Windows.Forms.Button();
this.label13 = new System.Windows.Forms.Label();
this.oleDbConnection1 = new System.Data.OleDb.OleDbConnection();
this.label14 = new System.Windows.Forms.Label();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.label15 = new System.Windows.Forms.Label();
this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
this.SuspendLayout();
//
// label12
//
this.label12.AutoSize = true;
this.label12.Font = new System.Drawing.Font("宋體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
this.label12.ForeColor = System.Drawing.SystemColors.ControlText;
this.label12.Location = new System.Drawing.Point(355, 165);
this.label12.Name = "label12";
this.label12.Size = new System.Drawing.Size(36, 21);
this.label12.TabIndex = 52;
this.label12.Text = "專業";
//
// label11
//
this.label11.AutoSize = true;
this.label11.Font = new System.Drawing.Font("宋體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
this.label11.ForeColor = System.Drawing.SystemColors.ControlText;
this.label11.Location = new System.Drawing.Point(257, 10);
this.label11.Name = "label11";
this.label11.Size = new System.Drawing.Size(98, 21);
this.label11.TabIndex = 47;
this.label11.Text = "修改學生信息";
//
// textBox10
//
this.textBox10.Font = new System.Drawing.Font("宋體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
this.textBox10.ForeColor = System.Drawing.SystemColors.ControlText;
this.textBox10.Location = new System.Drawing.Point(108, 247);
this.textBox10.Multiline = true;
this.textBox10.Name = "textBox10";
this.textBox10.Size = new System.Drawing.Size(348, 82);
this.textBox10.TabIndex = 44;
this.textBox10.Text = "";
//
// textBox8
//
this.textBox8.Font = new System.Drawing.Font("宋體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
this.textBox8.ForeColor = System.Drawing.SystemColors.ControlText;
this.textBox8.Location = new System.Drawing.Point(417, 123);
this.textBox8.Name = "textBox8";
this.textBox8.Size = new System.Drawing.Size(171, 25);
this.textBox8.TabIndex = 43;
this.textBox8.Text = "";
//
// textBox6
//
this.textBox6.Font = new System.Drawing.Font("宋體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
this.textBox6.ForeColor = System.Drawing.SystemColors.ControlText;
this.textBox6.Location = new System.Drawing.Point(417, 41);
this.textBox6.Name = "textBox6";
this.textBox6.Size = new System.Drawing.Size(171, 25);
this.textBox6.TabIndex = 42;
this.textBox6.Text = "";
//
// textBox5
//
this.textBox5.Font = new System.Drawing.Font("宋體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
this.textBox5.ForeColor = System.Drawing.SystemColors.ControlText;
this.textBox5.Location = new System.Drawing.Point(108, 206);
this.textBox5.Name = "textBox5";
this.textBox5.Size = new System.Drawing.Size(235, 25);
this.textBox5.TabIndex = 41;
this.textBox5.Text = "";
//
// textBox4
//
this.textBox4.Font = new System.Drawing.Font("宋體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
this.textBox4.ForeColor = System.Drawing.SystemColors.ControlText;
this.textBox4.Location = new System.Drawing.Point(108, 165);
this.textBox4.Name = "textBox4";
this.textBox4.Size = new System.Drawing.Size(171, 25);
this.textBox4.TabIndex = 40;
this.textBox4.Text = "";
//
// textBox2
//
this.textBox2.Font = new System.Drawing.Font("宋體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
this.textBox2.ForeColor = System.Drawing.SystemColors.ControlText;
this.textBox2.Location = new System.Drawing.Point(108, 82);
this.textBox2.Name = "textBox2";
this.textBox2.Size = new System.Drawing.Size(171, 25);
this.textBox2.TabIndex = 39;
this.textBox2.Text = "";
//
// textBox1
//
this.textBox1.Font = new System.Drawing.Font("宋體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
this.textBox1.ForeColor = System.Drawing.SystemColors.ControlText;
this.textBox1.Location = new System.Drawing.Point(108, 41);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(171, 25);
this.textBox1.TabIndex = 38;
this.textBox1.Text = "";
//
// label10
//
this.label10.AutoSize = true;
this.label10.Font = new System.Drawing.Font("宋體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
this.label10.ForeColor = System.Drawing.SystemColors.ControlText;
this.label10.Location = new System.Drawing.Point(44, 247);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(36, 21);
this.label10.TabIndex = 37;
this.label10.Text = "備注";
//
// label9
//
this.label9.AutoSize = true;
this.label9.Font = new System.Drawing.Font("宋體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
this.label9.ForeColor = System.Drawing.SystemColors.ControlText;
this.label9.Location = new System.Drawing.Point(355, 206);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(36, 21);
this.label9.TabIndex = 36;
this.label9.Text = "班級";
//
// label8
//
this.label8.AutoSize = true;
this.label8.Font = new System.Drawing.Font("宋體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
this.label8.ForeColor = System.Drawing.SystemColors.ControlText;
this.label8.Location = new System.Drawing.Point(321, 123);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(67, 21);
this.label8.TabIndex = 35;
this.label8.Text = "郵政編碼";
//
// label7
//
this.label7.AutoSize = true;
this.label7.Font = new System.Drawing.Font("宋體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
this.label7.ForeColor = System.Drawing.SystemColors.ControlText;
this.label7.Location = new System.Drawing.Point(321, 82);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(67, 21);
this.label7.TabIndex = 34;
this.label7.Text = "政治面貌";
//
// label6
//
this.label6.AutoSize = true;
this.label6.Font = new System.Drawing.Font("宋體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
this.label6.ForeColor = System.Drawing.SystemColors.ControlText;
this.label6.Location = new System.Drawing.Point(321, 41);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(67, 21);
this.label6.TabIndex = 33;
this.label6.Text = "聯系方式";
//
// label5
//
this.label5.AutoSize = true;
this.label5.Font = new System.Drawing.Font("宋體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
this.label5.ForeColor = System.Drawing.SystemColors.ControlText;
this.label5.Location = new System.Drawing.Point(11, 206);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(67, 21);
this.label5.TabIndex = 32;
this.label5.Text = "家庭住址";
//
// label4
//
this.label4.AutoSize = true;
this.label4.Font = new System.Drawing.Font("宋體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
this.label4.ForeColor = System.Drawing.SystemColors.ControlText;
this.label4.Location = new System.Drawing.Point(44, 165);
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -