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

📄 frmsubject.cs

📁 简单的学生成绩管理系统。实现学生成绩学号管理
💻 CS
📖 第 1 页 / 共 2 页
字号:
using System;using System.Collections;using System.ComponentModel;using System.Drawing;using System.Windows.Forms;using System.Data;using System.Data.SqlClient;namespace 教务管理系统{	public class frmSubject : 教务管理系统.frmBase	{
		internal System.Windows.Forms.GroupBox GroupBox1;
		internal System.Windows.Forms.GroupBox GroupBox2;
		internal System.Windows.Forms.ComboBox cbbSubject;
		internal System.Windows.Forms.TextBox txbCreditHour;
		internal System.Windows.Forms.Label Label10;
		internal System.Windows.Forms.TextBox txbDept;
		internal System.Windows.Forms.Label Label9;
		internal System.Windows.Forms.TextBox txbTeacher;
		internal System.Windows.Forms.Label Label8;
		internal System.Windows.Forms.TextBox txbPY;
		internal System.Windows.Forms.Label Label7;
		internal System.Windows.Forms.TextBox txbCourseSName;
		internal System.Windows.Forms.Label Label6;
		internal System.Windows.Forms.TextBox txbCourseName;
		internal System.Windows.Forms.Label Label5;
		internal System.Windows.Forms.TextBox txbCourseId;
		internal System.Windows.Forms.Label Label4;
		private System.Data.SqlClient.SqlDataAdapter sqlDataAdapter1;
		private System.Data.SqlClient.SqlCommand sqlSelectCommand1;
		private System.Data.SqlClient.SqlCommand sqlInsertCommand1;
		private System.Data.SqlClient.SqlCommand sqlUpdateCommand1;
		private System.Data.SqlClient.SqlCommand sqlDeleteCommand1;
		private System.Data.SqlClient.SqlConnection sqlConnection1;
		private 教务管理系统.DataSet1 dataSet11;		private System.ComponentModel.IContainer components = null;		public frmSubject()		{			// 该调用是 Windows 窗体设计器所必需的。			InitializeComponent();			// TODO: 在 InitializeComponent 调用后添加任何初始化		}		/// <summary>		/// 清理所有正在使用的资源。		/// </summary>		protected override void Dispose( bool disposing )		{			if( disposing )			{				if (components != null) 				{					components.Dispose();				}			}			base.Dispose( disposing );		}		#region 设计器生成的代码		/// <summary>		/// 设计器支持所需的方法 - 不要使用代码编辑器修改		/// 此方法的内容。		/// </summary>		private void InitializeComponent()		{			this.GroupBox1 = new System.Windows.Forms.GroupBox();
			this.GroupBox2 = new System.Windows.Forms.GroupBox();
			this.cbbSubject = new System.Windows.Forms.ComboBox();
			this.txbCreditHour = new System.Windows.Forms.TextBox();
			this.Label10 = new System.Windows.Forms.Label();
			this.txbDept = new System.Windows.Forms.TextBox();
			this.Label9 = new System.Windows.Forms.Label();
			this.txbTeacher = new System.Windows.Forms.TextBox();
			this.Label8 = new System.Windows.Forms.Label();
			this.txbPY = new System.Windows.Forms.TextBox();
			this.Label7 = new System.Windows.Forms.Label();
			this.txbCourseSName = new System.Windows.Forms.TextBox();
			this.Label6 = new System.Windows.Forms.Label();
			this.txbCourseName = new System.Windows.Forms.TextBox();
			this.Label5 = new System.Windows.Forms.Label();
			this.txbCourseId = new System.Windows.Forms.TextBox();
			this.Label4 = new System.Windows.Forms.Label();
			this.sqlDataAdapter1 = new System.Data.SqlClient.SqlDataAdapter();
			this.sqlSelectCommand1 = new System.Data.SqlClient.SqlCommand();
			this.sqlInsertCommand1 = new System.Data.SqlClient.SqlCommand();
			this.sqlUpdateCommand1 = new System.Data.SqlClient.SqlCommand();
			this.sqlDeleteCommand1 = new System.Data.SqlClient.SqlCommand();
			this.sqlConnection1 = new System.Data.SqlClient.SqlConnection();
			this.dataSet11 = new 教务管理系统.DataSet1();
			((System.ComponentModel.ISupportInitialize)(this.dgdList)).BeginInit();
			this.GroupBox1.SuspendLayout();
			this.GroupBox2.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)(this.dataSet11)).BeginInit();
			this.SuspendLayout();
			// 
			// dgdList
			// 
			this.dgdList.Name = "dgdList";
			// 
			// txbOne
			// 
			this.txbOne.Name = "txbOne";
			// 
			// GroupBox1
			// 
			this.GroupBox1.Controls.Add(this.GroupBox2);
			this.GroupBox1.Controls.Add(this.txbCreditHour);
			this.GroupBox1.Controls.Add(this.Label10);
			this.GroupBox1.Controls.Add(this.txbDept);
			this.GroupBox1.Controls.Add(this.Label9);
			this.GroupBox1.Controls.Add(this.txbTeacher);
			this.GroupBox1.Controls.Add(this.Label8);
			this.GroupBox1.Controls.Add(this.txbPY);
			this.GroupBox1.Controls.Add(this.Label7);
			this.GroupBox1.Controls.Add(this.txbCourseSName);
			this.GroupBox1.Controls.Add(this.Label6);
			this.GroupBox1.Controls.Add(this.txbCourseName);
			this.GroupBox1.Controls.Add(this.Label5);
			this.GroupBox1.Controls.Add(this.txbCourseId);
			this.GroupBox1.Controls.Add(this.Label4);
			this.GroupBox1.Dock = System.Windows.Forms.DockStyle.Bottom;
			this.GroupBox1.Location = new System.Drawing.Point(0, 241);
			this.GroupBox1.Name = "GroupBox1";
			this.GroupBox1.Size = new System.Drawing.Size(600, 100);
			this.GroupBox1.TabIndex = 7;
			this.GroupBox1.TabStop = false;
			// 
			// GroupBox2
			// 
			this.GroupBox2.Controls.Add(this.cbbSubject);
			this.GroupBox2.Location = new System.Drawing.Point(416, 24);
			this.GroupBox2.Name = "GroupBox2";
			this.GroupBox2.Size = new System.Drawing.Size(168, 72);
			this.GroupBox2.TabIndex = 32;
			this.GroupBox2.TabStop = false;
			this.GroupBox2.Text = "本学期课程";
			// 
			// cbbSubject
			// 
			this.cbbSubject.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.cbbSubject.Location = new System.Drawing.Point(24, 32);
			this.cbbSubject.Name = "cbbSubject";
			this.cbbSubject.Size = new System.Drawing.Size(121, 20);
			this.cbbSubject.TabIndex = 0;
			// 
			// txbCreditHour
			// 
			this.txbCreditHour.Location = new System.Drawing.Point(320, 72);
			this.txbCreditHour.Name = "txbCreditHour";
			this.txbCreditHour.Size = new System.Drawing.Size(72, 21);
			this.txbCreditHour.TabIndex = 31;
			this.txbCreditHour.Text = "";
			// 
			// Label10
			// 
			this.Label10.Location = new System.Drawing.Point(320, 56);
			this.Label10.Name = "Label10";
			this.Label10.Size = new System.Drawing.Size(56, 16);
			this.Label10.TabIndex = 30;
			this.Label10.Text = "学分";
			// 
			// txbDept
			// 
			this.txbDept.Location = new System.Drawing.Point(184, 72);
			this.txbDept.Name = "txbDept";
			this.txbDept.Size = new System.Drawing.Size(120, 21);
			this.txbDept.TabIndex = 29;
			this.txbDept.Text = "";
			// 
			// Label9
			// 
			this.Label9.Location = new System.Drawing.Point(184, 56);
			this.Label9.Name = "Label9";
			this.Label9.Size = new System.Drawing.Size(56, 16);
			this.Label9.TabIndex = 28;
			this.Label9.Text = "开课系别";
			// 
			// txbTeacher
			// 
			this.txbTeacher.Location = new System.Drawing.Point(96, 72);
			this.txbTeacher.Name = "txbTeacher";
			this.txbTeacher.Size = new System.Drawing.Size(72, 21);
			this.txbTeacher.TabIndex = 27;
			this.txbTeacher.Text = "";
			// 
			// Label8
			// 
			this.Label8.Location = new System.Drawing.Point(96, 56);
			this.Label8.Name = "Label8";
			this.Label8.Size = new System.Drawing.Size(56, 16);
			this.Label8.TabIndex = 26;
			this.Label8.Text = "教师";
			// 
			// txbPY
			// 
			this.txbPY.Location = new System.Drawing.Point(8, 72);
			this.txbPY.Name = "txbPY";
			this.txbPY.Size = new System.Drawing.Size(72, 21);
			this.txbPY.TabIndex = 25;
			this.txbPY.Text = "";
			// 
			// Label7
			// 
			this.Label7.Location = new System.Drawing.Point(8, 56);
			this.Label7.Name = "Label7";
			this.Label7.Size = new System.Drawing.Size(56, 16);
			this.Label7.TabIndex = 24;
			this.Label7.Text = "拼音码";
			// 
			// txbCourseSName
			// 
			this.txbCourseSName.Location = new System.Drawing.Point(248, 30);
			this.txbCourseSName.Name = "txbCourseSName";
			this.txbCourseSName.Size = new System.Drawing.Size(144, 21);
			this.txbCourseSName.TabIndex = 23;
			this.txbCourseSName.Text = "";
			// 
			// Label6
			// 
			this.Label6.Location = new System.Drawing.Point(248, 14);
			this.Label6.Name = "Label6";
			this.Label6.Size = new System.Drawing.Size(56, 16);
			this.Label6.TabIndex = 22;
			this.Label6.Text = "课程简称";
			// 
			// txbCourseName
			// 
			this.txbCourseName.Location = new System.Drawing.Point(96, 30);
			this.txbCourseName.Name = "txbCourseName";
			this.txbCourseName.Size = new System.Drawing.Size(136, 21);
			this.txbCourseName.TabIndex = 21;
			this.txbCourseName.Text = "";
			// 
			// Label5
			// 
			this.Label5.Location = new System.Drawing.Point(96, 14);
			this.Label5.Name = "Label5";
			this.Label5.Size = new System.Drawing.Size(56, 16);
			this.Label5.TabIndex = 20;
			this.Label5.Text = "课程名称";
			// 
			// txbCourseId
			// 
			this.txbCourseId.Location = new System.Drawing.Point(8, 30);
			this.txbCourseId.Name = "txbCourseId";
			this.txbCourseId.Size = new System.Drawing.Size(72, 21);
			this.txbCourseId.TabIndex = 19;
			this.txbCourseId.Text = "";
			// 
			// Label4
			// 
			this.Label4.Location = new System.Drawing.Point(8, 14);
			this.Label4.Name = "Label4";
			this.Label4.Size = new System.Drawing.Size(56, 16);
			this.Label4.TabIndex = 18;
			this.Label4.Text = "课程编号";
			// 
			// sqlDataAdapter1
			// 
			this.sqlDataAdapter1.DeleteCommand = this.sqlDeleteCommand1;
			this.sqlDataAdapter1.InsertCommand = this.sqlInsertCommand1;
			this.sqlDataAdapter1.SelectCommand = this.sqlSelectCommand1;
			this.sqlDataAdapter1.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] {
																									  new System.Data.Common.DataTableMapping("Table", "课程信息", new System.Data.Common.DataColumnMapping[] {
																																																			  new System.Data.Common.DataColumnMapping("课程编号", "课程编号"),
																																																			  new System.Data.Common.DataColumnMapping("课程名称", "课程名称"),
																																																			  new System.Data.Common.DataColumnMapping("课程简称", "课程简称"),
																																																			  new System.Data.Common.DataColumnMapping("拼音码", "拼音码"),
																																																			  new System.Data.Common.DataColumnMapping("本学期课程", "本学期课程"),
																																																			  new System.Data.Common.DataColumnMapping("教师", "教师"),
																																																			  new System.Data.Common.DataColumnMapping("开课系别", "开课系别"),

⌨️ 快捷键说明

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