⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 studentmanage.cs

📁 c#写图书管理系统 界面美观 功能齐全 配有完整的数据库
💻 CS
📖 第 1 页 / 共 4 页
字号:
			this.lblRecord.Name = "lblRecord";
			this.lblRecord.Size = new System.Drawing.Size(112, 23);
			this.lblRecord.TabIndex = 105;
			this.lblRecord.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
			// 
			// dataGrid1
			// 
			this.dataGrid1.AlternatingBackColor = System.Drawing.Color.GhostWhite;
			this.dataGrid1.BackColor = System.Drawing.Color.GhostWhite;
			this.dataGrid1.BackgroundColor = System.Drawing.Color.Lavender;
			this.dataGrid1.CaptionBackColor = System.Drawing.Color.RoyalBlue;
			this.dataGrid1.CaptionForeColor = System.Drawing.Color.White;
			this.dataGrid1.DataMember = "";
			this.dataGrid1.Enabled = false;
			this.dataGrid1.FlatMode = true;
			this.dataGrid1.Font = new System.Drawing.Font("Tahoma", 8F);
			this.dataGrid1.ForeColor = System.Drawing.Color.MidnightBlue;
			this.dataGrid1.GridLineColor = System.Drawing.Color.RoyalBlue;
			this.dataGrid1.HeaderBackColor = System.Drawing.Color.MidnightBlue;
			this.dataGrid1.HeaderFont = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
			this.dataGrid1.HeaderForeColor = System.Drawing.Color.Lavender;
			this.dataGrid1.LinkColor = System.Drawing.Color.Teal;
			this.dataGrid1.Location = new System.Drawing.Point(24, 64);
			this.dataGrid1.Name = "dataGrid1";
			this.dataGrid1.ParentRowsBackColor = System.Drawing.Color.Lavender;
			this.dataGrid1.ParentRowsForeColor = System.Drawing.Color.MidnightBlue;
			this.dataGrid1.ReadOnly = true;
			this.dataGrid1.SelectionBackColor = System.Drawing.Color.Teal;
			this.dataGrid1.SelectionForeColor = System.Drawing.Color.PaleGreen;
			this.dataGrid1.Size = new System.Drawing.Size(400, 264);
			this.dataGrid1.TabIndex = 98;
			this.dataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
																								  this.dataGridTableStyle1});
			// 
			// dataGridTableStyle1
			// 
			this.dataGridTableStyle1.DataGrid = this.dataGrid1;
			this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
																												  this.dataGridTextBoxColumn1,
																												  this.dataGridTextBoxColumn2,
																												  this.dataGridTextBoxColumn3,
																												  this.dataGridTextBoxColumn4,
																												  this.dataGridTextBoxColumn5});
			this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
			this.dataGridTableStyle1.MappingName = "Student";
			// 
			// dataGridTextBoxColumn1
			// 
			this.dataGridTextBoxColumn1.Format = "";
			this.dataGridTextBoxColumn1.FormatInfo = null;
			this.dataGridTextBoxColumn1.HeaderText = "学生号";
			this.dataGridTextBoxColumn1.MappingName = "StudentID";
			this.dataGridTextBoxColumn1.Width = 75;
			// 
			// dataGridTextBoxColumn2
			// 
			this.dataGridTextBoxColumn2.Format = "";
			this.dataGridTextBoxColumn2.FormatInfo = null;
			this.dataGridTextBoxColumn2.HeaderText = "学生姓名";
			this.dataGridTextBoxColumn2.MappingName = "StudentName";
			this.dataGridTextBoxColumn2.Width = 75;
			// 
			// dataGridTextBoxColumn3
			// 
			this.dataGridTextBoxColumn3.Format = "";
			this.dataGridTextBoxColumn3.FormatInfo = null;
			this.dataGridTextBoxColumn3.HeaderText = "性别";
			this.dataGridTextBoxColumn3.MappingName = "Sex";
			this.dataGridTextBoxColumn3.Width = 50;
			// 
			// dataGridTextBoxColumn4
			// 
			this.dataGridTextBoxColumn4.Format = "";
			this.dataGridTextBoxColumn4.FormatInfo = null;
			this.dataGridTextBoxColumn4.HeaderText = "年龄";
			this.dataGridTextBoxColumn4.MappingName = "Age";
			this.dataGridTextBoxColumn4.Width = 50;
			// 
			// dataGridTextBoxColumn5
			// 
			this.dataGridTextBoxColumn5.Format = "";
			this.dataGridTextBoxColumn5.FormatInfo = null;
			this.dataGridTextBoxColumn5.HeaderText = "入学时间";
			this.dataGridTextBoxColumn5.MappingName = "InDate";
			this.dataGridTextBoxColumn5.Width = 120;
			// 
			// groupBox1
			// 
			this.groupBox1.Controls.Add(this.lblPicture);
			this.groupBox1.Controls.Add(this.label6);
			this.groupBox1.Controls.Add(this.label2);
			this.groupBox1.Controls.Add(this.lblClass);
			this.groupBox1.Controls.Add(this.lblDepartment);
			this.groupBox1.Controls.Add(this.textID);
			this.groupBox1.Controls.Add(this.label18);
			this.groupBox1.Controls.Add(this.label16);
			this.groupBox1.Controls.Add(this.label14);
			this.groupBox1.Controls.Add(this.label13);
			this.groupBox1.Controls.Add(this.textName);
			this.groupBox1.Controls.Add(this.textNativePlace);
			this.groupBox1.Controls.Add(this.numericUpDown1);
			this.groupBox1.Controls.Add(this.label12);
			this.groupBox1.Controls.Add(this.btnPicture);
			this.groupBox1.Controls.Add(this.label11);
			this.groupBox1.Controls.Add(this.pictureBox1);
			this.groupBox1.Controls.Add(this.comboSex);
			this.groupBox1.Controls.Add(this.label9);
			this.groupBox1.Controls.Add(this.label7);
			this.groupBox1.Controls.Add(this.label3);
			this.groupBox1.Controls.Add(this.comboStatus);
			this.groupBox1.Controls.Add(this.comboNation);
			this.groupBox1.Controls.Add(this.dateTimePicker1);
			this.groupBox1.Controls.Add(this.label1);
			this.groupBox1.ForeColor = System.Drawing.SystemColors.Desktop;
			this.groupBox1.Location = new System.Drawing.Point(472, 80);
			this.groupBox1.Name = "groupBox1";
			this.groupBox1.Size = new System.Drawing.Size(352, 344);
			this.groupBox1.TabIndex = 104;
			this.groupBox1.TabStop = false;
			this.groupBox1.Text = "详细信息";
			// 
			// lblPicture
			// 
			this.lblPicture.Location = new System.Drawing.Point(48, 312);
			this.lblPicture.Name = "lblPicture";
			this.lblPicture.Size = new System.Drawing.Size(256, 23);
			this.lblPicture.TabIndex = 126;
			// 
			// label6
			// 
			this.label6.Location = new System.Drawing.Point(184, 40);
			this.label6.Name = "label6";
			this.label6.Size = new System.Drawing.Size(32, 23);
			this.label6.TabIndex = 125;
			this.label6.Text = "班级";
			// 
			// label2
			// 
			this.label2.Location = new System.Drawing.Point(32, 40);
			this.label2.Name = "label2";
			this.label2.Size = new System.Drawing.Size(32, 23);
			this.label2.TabIndex = 124;
			this.label2.Text = "院系";
			// 
			// lblClass
			// 
			this.lblClass.Location = new System.Drawing.Point(232, 32);
			this.lblClass.Name = "lblClass";
			this.lblClass.Size = new System.Drawing.Size(88, 23);
			this.lblClass.TabIndex = 123;
			// 
			// lblDepartment
			// 
			this.lblDepartment.Location = new System.Drawing.Point(80, 32);
			this.lblDepartment.Name = "lblDepartment";
			this.lblDepartment.Size = new System.Drawing.Size(80, 23);
			this.lblDepartment.TabIndex = 122;
			// 
			// textID
			// 
			this.textID.Location = new System.Drawing.Point(80, 72);
			this.textID.Name = "textID";
			this.textID.Size = new System.Drawing.Size(80, 21);
			this.textID.TabIndex = 121;
			this.textID.Text = "";
			// 
			// label18
			// 
			this.label18.Location = new System.Drawing.Point(240, 64);
			this.label18.Name = "label18";
			this.label18.Size = new System.Drawing.Size(48, 16);
			this.label18.TabIndex = 116;
			this.label18.Text = "照片";
			// 
			// label16
			// 
			this.label16.Location = new System.Drawing.Point(176, 208);
			this.label16.Name = "label16";
			this.label16.Size = new System.Drawing.Size(32, 23);
			this.label16.TabIndex = 113;
			this.label16.Text = "籍贯";
			// 
			// label14
			// 
			this.label14.Location = new System.Drawing.Point(32, 112);
			this.label14.Name = "label14";
			this.label14.Size = new System.Drawing.Size(40, 23);
			this.label14.TabIndex = 111;
			this.label14.Text = "姓名";
			// 
			// label13
			// 
			this.label13.Location = new System.Drawing.Point(32, 72);
			this.label13.Name = "label13";
			this.label13.Size = new System.Drawing.Size(48, 23);
			this.label13.TabIndex = 110;
			this.label13.Text = "学生ID";
			// 
			// textName
			// 
			this.textName.Location = new System.Drawing.Point(80, 112);
			this.textName.Name = "textName";
			this.textName.Size = new System.Drawing.Size(80, 21);
			this.textName.TabIndex = 108;
			this.textName.Text = "";
			// 
			// textNativePlace
			// 
			this.textNativePlace.Location = new System.Drawing.Point(216, 208);
			this.textNativePlace.Name = "textNativePlace";
			this.textNativePlace.Size = new System.Drawing.Size(128, 21);
			this.textNativePlace.TabIndex = 107;
			this.textNativePlace.Text = "";
			// 
			// numericUpDown1
			// 
			this.numericUpDown1.Location = new System.Drawing.Point(80, 200);
			this.numericUpDown1.Maximum = new System.Decimal(new int[] {
																		   200,
																		   0,
																		   0,
																		   0});
			this.numericUpDown1.Name = "numericUpDown1";
			this.numericUpDown1.Size = new System.Drawing.Size(72, 21);
			this.numericUpDown1.TabIndex = 105;
			// 
			// label12
			// 
			this.label12.Location = new System.Drawing.Point(32, 200);
			this.label12.Name = "label12";
			this.label12.Size = new System.Drawing.Size(40, 16);
			this.label12.TabIndex = 104;
			this.label12.Text = "年龄";
			// 
			// btnPicture
			// 
			this.btnPicture.Location = new System.Drawing.Point(312, 96);
			this.btnPicture.Name = "btnPicture";
			this.btnPicture.Size = new System.Drawing.Size(32, 72);
			this.btnPicture.TabIndex = 103;
			this.btnPicture.Text = "选择照片";
			this.btnPicture.Click += new System.EventHandler(this.btnPicture_Click);
			// 
			// label11
			// 
			this.label11.Location = new System.Drawing.Point(80, -72);
			this.label11.Name = "label11";
			this.label11.Size = new System.Drawing.Size(40, 32);
			this.label11.TabIndex = 102;
			this.label11.Text = "照片";
			// 
			// pictureBox1
			// 
			this.pictureBox1.Anchor = System.Windows.Forms.AnchorStyles.None;
			this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
			this.pictureBox1.Location = new System.Drawing.Point(224, 80);
			this.pictureBox1.Name = "pictureBox1";
			this.pictureBox1.Size = new System.Drawing.Size(72, 104);
			this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
			this.pictureBox1.TabIndex = 101;
			this.pictureBox1.TabStop = false;
			// 
			// comboSex
			// 
			this.comboSex.Items.AddRange(new object[] {
														  "男",
														  "女"});
			this.comboSex.Location = new System.Drawing.Point(80, 160);
			this.comboSex.Name = "comboSex";
			this.comboSex.Size = new System.Drawing.Size(72, 20);
			this.comboSex.TabIndex = 100;
			// 
			// label9
			// 
			this.label9.Location = new System.Drawing.Point(32, 160);
			this.label9.Name = "label9";
			this.label9.Size = new System.Drawing.Size(40, 16);
			this.label9.TabIndex = 97;
			this.label9.Text = "性别";
			// 
			// label7
			// 
			this.label7.Location = new System.Drawing.Point(32, 264);
			this.label7.Name = "label7";
			this.label7.Size = new System.Drawing.Size(40, 32);
			this.label7.TabIndex = 95;
			this.label7.Text = "政治身份";
			// 
			// label3
			// 
			this.label3.Location = new System.Drawing.Point(32, 232);
			this.label3.Name = "label3";
			this.label3.Size = new System.Drawing.Size(32, 23);
			this.label3.TabIndex = 91;
			this.label3.Text = "民族";
			// 
			// comboStatus
			// 
			this.comboStatus.Items.AddRange(new object[] {
															 "党员",
															 "团员",
															 "群众",
															 "积极分子"});
			this.comboStatus.Location = new System.Drawing.Point(80, 272);
			this.comboStatus.Name = "comboStatus";
			this.comboStatus.Size = new System.Drawing.Size(72, 20);
			this.comboStatus.TabIndex = 78;
			// 
			// comboNation
			// 
			this.comboNation.Items.AddRange(new object[] {
															 "汉族",
															 "满族",
															 "回族",
															 "傣族",
															 "藏族",
															 "布依族",
															 "蒙古族",
															 "维吾尔族",
															 "哈萨克族"});
			this.comboNation.Location = new System.Drawing.Point(80, 232);
			this.comboNation.Name = "comboNation";
			this.comboNation.Size = new System.Drawing.Size(72, 20);
			this.comboNation.TabIndex = 80;
			// 
			// dateTimePicker1
			// 
			this.dateTimePicker1.CustomFormat = "";
			this.dateTimePicker1.Format = System.Windows.Forms.DateTimePickerFormat.Short;
			this.dateTimePicker1.Location = new System.Drawing.Point(232, 256);
			this.dateTimePicker1.Name = "dateTimePicker1";
			this.dateTimePicker1.Size = new System.Drawing.Size(88, 21);
			this.dateTimePicker1.TabIndex = 87;
			// 
			// label1
			// 
			this.label1.Location = new System.Drawing.Point(160, 256);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(56, 23);
			this.label1.TabIndex = 89;
			this.label1.Text = "入学时间";
			// 
			// btnApply
			// 
			this.btnApply.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.btnApply.Image = ((System.Drawing.Image)(resources.GetObject("btnApply.Image")));
			this.btnApply.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
			this.btnApply.Location = new System.Drawing.Point(736, 32);
			this.btnApply.Name = "btnApply";
			this.btnApply.Size = new System.Drawing.Size(56, 24);
			this.btnApply.TabIndex = 95;
			this.btnApply.Text = "确定";
			this.btnApply.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			this.btnApply.Click += new System.EventHandler(this.btnApply_Click);
			// 
			// btnCancel
			// 
			this.btnCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.btnCancel.Image = ((System.Drawing.Image)(resources.GetObject("btnCancel.Image")));
			this.btnCancel.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
			this.btnCancel.Location = new System.Drawing.Point(736, 8);
			this.btnCancel.Name = "btnCancel";
			this.btnCancel.Size = new System.Drawing.Size(56, 24);
			this.btnCancel.TabIndex = 94;
			this.btnCancel.Text = "取消";
			this.btnCancel.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
			// 
			// tabPage2
			// 
			this.tabPage2.Controls.Add(this.groupBox8);
			this.tabPage2.Controls.Add(this.dataGrid2);
			this.tabPage2.Controls.Add(this.groupBox2);
			this.tabPage2.Location = new System.Drawing.Point(4, 24);
			this.tabPage2.Name = "tabPage2";
			this.tabPage2.Size = new System.Drawing.Size(832, 452);
			this.tabPage2.TabIndex = 1;
			this.tabPage2.Text = "学生信息查询";
			this.tabPage2.Visible = false;
			// 
			// groupBox8
			// 
			this.groupBox8.Controls.Add(this.btnStuSearch);
			this.groupBox8.Controls.Add(this.btnSearchCancel);
			this.groupBox8.Location = new System.Drawing.Point(480, 16);
			this.groupBox8.Name = "groupBox8";
			this.groupBox8.Size = new System.Drawing.Size(264, 72);
			this.groupBox8.TabIndex = 125;
			this.groupBox8.TabStop = false;
			// 
			// btnStuSearch
			// 
			this.btnStuSearch.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.btnStuSearch.Image = ((System.Drawing.Image)(resources.GetObject("btnStuSearch.Image")));
			this.btnStuSearch.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
			this.btnStuSearch.Location = new System.Drawing.Point(120, 24);
			this.btnStuSearch.Name = "btnStuSearch";
			this.btnStuSearch.Size = new System.Drawing.Size(56, 24);
			this.btnStuSearch.TabIndex = 121;
			this.btnStuSearch.Text = "查找";
			this.btnStuSearch.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			this.btnStuSearch.Click += new System.EventHandler(this.btnStudentSearch_Click);
			// 
			// btnSearchCancel
			// 
			this.btnSearchCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.btnSearchCancel.Image = ((System.Drawing.Image)(resources.GetObject("btnSearchCancel.Image")));
			this.btnSearchCancel.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
			this.btnSearchCancel.Location = new System.Drawing.Point(24, 24);
			this.btnSearchCancel.Name = "btnSearchCancel";
			this.btnSearchCancel.Size = new System.Drawing.Size(56, 24);
			this.btnSearchCancel.TabIndex = 115;
			this.btnSearchCancel.Text = "取消";
			this.btnSearchCancel.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			this.btnSearchCancel.Click += new System.EventHandler(this.btnSearchCancel_Click);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -