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

📄 frmstudentexaminfo.cs

📁 学生类:Student 教师类:Teacher 主任:AdminTeacher 班主任:MasterTeacher 授课老师: PrelectTeacher 班级类:classTeam 班
💻 CS
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;

namespace Forms
{
	/// <summary>
	/// frmStudentExamInfo 的摘要说明。
	/// </summary>
	public class frmStudentExamInfo : System.Windows.Forms.Form
	{
		private System.Windows.Forms.DataGrid dataGrid1;
		private System.Windows.Forms.GroupBox groupBox1;
		private System.Windows.Forms.GroupBox groupBox2;
		private System.Windows.Forms.Button btnDelete;
		private System.Windows.Forms.Button btnUpdate;
		private System.Windows.Forms.TextBox txtStuName;
		private System.Windows.Forms.TextBox txtStuID;
		private System.Windows.Forms.CheckBox chkStuName;
		private System.Windows.Forms.CheckBox chkStuID;
		private System.Windows.Forms.RadioButton radFlunk;
		private System.Windows.Forms.RadioButton radPass;
		private System.Windows.Forms.ComboBox cboCrID;
		private System.Windows.Forms.CheckBox chkCrID;
		private System.Windows.Forms.Button btnExit;
		private System.Windows.Forms.CheckBox chkExam;
		private System.Windows.Forms.Button btnSelect;
		/// <summary>
		/// 必需的设计器变量。
		/// </summary>
		private System.ComponentModel.Container components = null;

		public frmStudentExamInfo()
		{
			//
			// 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.btnExit = new System.Windows.Forms.Button();
			this.btnDelete = new System.Windows.Forms.Button();
			this.btnUpdate = new System.Windows.Forms.Button();
			this.dataGrid1 = new System.Windows.Forms.DataGrid();
			this.groupBox1 = new System.Windows.Forms.GroupBox();
			this.txtStuName = new System.Windows.Forms.TextBox();
			this.txtStuID = new System.Windows.Forms.TextBox();
			this.chkStuName = new System.Windows.Forms.CheckBox();
			this.chkStuID = new System.Windows.Forms.CheckBox();
			this.groupBox2 = new System.Windows.Forms.GroupBox();
			this.radFlunk = new System.Windows.Forms.RadioButton();
			this.radPass = new System.Windows.Forms.RadioButton();
			this.cboCrID = new System.Windows.Forms.ComboBox();
			this.chkCrID = new System.Windows.Forms.CheckBox();
			this.chkExam = new System.Windows.Forms.CheckBox();
			this.btnSelect = new System.Windows.Forms.Button();
			((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
			this.groupBox1.SuspendLayout();
			this.groupBox2.SuspendLayout();
			this.SuspendLayout();
			// 
			// btnExit
			// 
			this.btnExit.Location = new System.Drawing.Point(400, 392);
			this.btnExit.Name = "btnExit";
			this.btnExit.Size = new System.Drawing.Size(88, 32);
			this.btnExit.TabIndex = 9;
			this.btnExit.Text = "退出(&E)";
			// 
			// btnDelete
			// 
			this.btnDelete.Location = new System.Drawing.Point(288, 392);
			this.btnDelete.Name = "btnDelete";
			this.btnDelete.Size = new System.Drawing.Size(88, 32);
			this.btnDelete.TabIndex = 8;
			this.btnDelete.Text = "删除记录(&D)";
			// 
			// btnUpdate
			// 
			this.btnUpdate.Location = new System.Drawing.Point(176, 392);
			this.btnUpdate.Name = "btnUpdate";
			this.btnUpdate.Size = new System.Drawing.Size(88, 32);
			this.btnUpdate.TabIndex = 7;
			this.btnUpdate.Text = "更改记录(&U)";
			// 
			// dataGrid1
			// 
			this.dataGrid1.DataMember = "";
			this.dataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
			this.dataGrid1.Location = new System.Drawing.Point(0, 120);
			this.dataGrid1.Name = "dataGrid1";
			this.dataGrid1.Size = new System.Drawing.Size(544, 256);
			this.dataGrid1.TabIndex = 6;
			// 
			// groupBox1
			// 
			this.groupBox1.Controls.Add(this.txtStuName);
			this.groupBox1.Controls.Add(this.txtStuID);
			this.groupBox1.Controls.Add(this.chkStuName);
			this.groupBox1.Controls.Add(this.chkStuID);
			this.groupBox1.Location = new System.Drawing.Point(0, 0);
			this.groupBox1.Name = "groupBox1";
			this.groupBox1.Size = new System.Drawing.Size(216, 104);
			this.groupBox1.TabIndex = 5;
			this.groupBox1.TabStop = false;
			this.groupBox1.Text = "单个";
			// 
			// txtStuName
			// 
			this.txtStuName.Location = new System.Drawing.Point(104, 56);
			this.txtStuName.Name = "txtStuName";
			this.txtStuName.TabIndex = 4;
			this.txtStuName.Text = "";
			// 
			// txtStuID
			// 
			this.txtStuID.Location = new System.Drawing.Point(104, 24);
			this.txtStuID.Name = "txtStuID";
			this.txtStuID.TabIndex = 3;
			this.txtStuID.Text = "";
			// 
			// chkStuName
			// 
			this.chkStuName.Location = new System.Drawing.Point(16, 56);
			this.chkStuName.Name = "chkStuName";
			this.chkStuName.Size = new System.Drawing.Size(80, 24);
			this.chkStuName.TabIndex = 1;
			this.chkStuName.Text = "学生姓名";
			// 
			// chkStuID
			// 
			this.chkStuID.Location = new System.Drawing.Point(16, 24);
			this.chkStuID.Name = "chkStuID";
			this.chkStuID.Size = new System.Drawing.Size(80, 24);
			this.chkStuID.TabIndex = 0;
			this.chkStuID.Text = "学生编号";
			// 
			// groupBox2
			// 
			this.groupBox2.Controls.Add(this.radFlunk);
			this.groupBox2.Controls.Add(this.radPass);
			this.groupBox2.Controls.Add(this.cboCrID);
			this.groupBox2.Controls.Add(this.chkCrID);
			this.groupBox2.Controls.Add(this.chkExam);
			this.groupBox2.Location = new System.Drawing.Point(304, 0);
			this.groupBox2.Name = "groupBox2";
			this.groupBox2.Size = new System.Drawing.Size(232, 104);
			this.groupBox2.TabIndex = 10;
			this.groupBox2.TabStop = false;
			this.groupBox2.Text = "集体";
			// 
			// radFlunk
			// 
			this.radFlunk.Location = new System.Drawing.Point(160, 64);
			this.radFlunk.Name = "radFlunk";
			this.radFlunk.Size = new System.Drawing.Size(64, 24);
			this.radFlunk.TabIndex = 7;
			this.radFlunk.Text = "不及格";
			// 
			// radPass
			// 
			this.radPass.Location = new System.Drawing.Point(104, 64);
			this.radPass.Name = "radPass";
			this.radPass.Size = new System.Drawing.Size(80, 24);
			this.radPass.TabIndex = 6;
			this.radPass.Text = "及格";
			// 
			// cboCrID
			// 
			this.cboCrID.Location = new System.Drawing.Point(104, 24);
			this.cboCrID.Name = "cboCrID";
			this.cboCrID.Size = new System.Drawing.Size(104, 20);
			this.cboCrID.TabIndex = 5;
			this.cboCrID.Text = "comboBox1";
			// 
			// chkCrID
			// 
			this.chkCrID.Location = new System.Drawing.Point(16, 24);
			this.chkCrID.Name = "chkCrID";
			this.chkCrID.Size = new System.Drawing.Size(80, 24);
			this.chkCrID.TabIndex = 0;
			this.chkCrID.Text = "班级编号";
			// 
			// chkExam
			// 
			this.chkExam.Location = new System.Drawing.Point(16, 64);
			this.chkExam.Name = "chkExam";
			this.chkExam.Size = new System.Drawing.Size(80, 24);
			this.chkExam.TabIndex = 0;
			this.chkExam.Text = "成绩";
			this.chkExam.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
			// 
			// btnSelect
			// 
			this.btnSelect.Location = new System.Drawing.Point(232, 8);
			this.btnSelect.Name = "btnSelect";
			this.btnSelect.Size = new System.Drawing.Size(48, 96);
			this.btnSelect.TabIndex = 8;
			this.btnSelect.Text = "查询(&S)";
			// 
			// frmStudentExamInfo
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
			this.ClientSize = new System.Drawing.Size(544, 437);
			this.Controls.Add(this.groupBox2);
			this.Controls.Add(this.btnExit);
			this.Controls.Add(this.btnDelete);
			this.Controls.Add(this.btnUpdate);
			this.Controls.Add(this.dataGrid1);
			this.Controls.Add(this.groupBox1);
			this.Controls.Add(this.btnSelect);
			this.Name = "frmStudentExamInfo";
			this.Text = "学生考试信息浏览";
			this.Load += new System.EventHandler(this.frmStudentExamInfo_Load);
			((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
			this.groupBox1.ResumeLayout(false);
			this.groupBox2.ResumeLayout(false);
			this.ResumeLayout(false);

		}
		#endregion

		private void frmStudentExamInfo_Load(object sender, System.EventArgs e)
		{
		
		}

		private void checkBox1_CheckedChanged(object sender, System.EventArgs e)
		{
		
		}
	}
}

⌨️ 快捷键说明

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