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

📄 frmaddclassinfo.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>
	/// frmAddClassInfo 的摘要说明。
	/// </summary>
	public class frmAddClassInfo : System.Windows.Forms.Form
	{
		private System.Windows.Forms.GroupBox groupBox1;
		private System.Windows.Forms.Label label1;
		private System.Windows.Forms.Label label2;
		private System.Windows.Forms.Label label3;
		private System.Windows.Forms.Label label4;
		private System.Windows.Forms.Label label5;
		private System.Windows.Forms.Label label6;
		private System.Windows.Forms.Label label7;
		private System.Windows.Forms.Label label8;
		private System.Windows.Forms.ListBox lstRemark;
		private System.Windows.Forms.TextBox txtclaStudentNumber;
		private System.Windows.Forms.TextBox txtclaHours;
		private System.Windows.Forms.TextBox txtclaMonitorID;
		private System.Windows.Forms.TextBox txtTeaID;
		private System.Windows.Forms.ComboBox cboCrID;
		private System.Windows.Forms.Button btnAdd;
		private System.Windows.Forms.Button btnExit;
		private System.Windows.Forms.ImageList imageList1;
		private System.Windows.Forms.DateTimePicker dateTimePicker1;
		private System.Windows.Forms.DateTimePicker dateTimePicker2;
		private System.ComponentModel.IContainer components;

		public frmAddClassInfo()
		{
			//
			// 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.components = new System.ComponentModel.Container();
			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmAddClassInfo));
			this.groupBox1 = new System.Windows.Forms.GroupBox();
			this.lstRemark = new System.Windows.Forms.ListBox();
			this.txtclaStudentNumber = new System.Windows.Forms.TextBox();
			this.txtclaHours = new System.Windows.Forms.TextBox();
			this.txtclaMonitorID = new System.Windows.Forms.TextBox();
			this.txtTeaID = new System.Windows.Forms.TextBox();
			this.cboCrID = new System.Windows.Forms.ComboBox();
			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.btnAdd = new System.Windows.Forms.Button();
			this.btnExit = new System.Windows.Forms.Button();
			this.imageList1 = new System.Windows.Forms.ImageList(this.components);
			this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker();
			this.dateTimePicker2 = new System.Windows.Forms.DateTimePicker();
			this.groupBox1.SuspendLayout();
			this.SuspendLayout();
			// 
			// groupBox1
			// 
			this.groupBox1.Controls.Add(this.dateTimePicker2);
			this.groupBox1.Controls.Add(this.dateTimePicker1);
			this.groupBox1.Controls.Add(this.lstRemark);
			this.groupBox1.Controls.Add(this.txtclaStudentNumber);
			this.groupBox1.Controls.Add(this.txtclaHours);
			this.groupBox1.Controls.Add(this.txtclaMonitorID);
			this.groupBox1.Controls.Add(this.txtTeaID);
			this.groupBox1.Controls.Add(this.cboCrID);
			this.groupBox1.Controls.Add(this.label8);
			this.groupBox1.Controls.Add(this.label7);
			this.groupBox1.Controls.Add(this.label6);
			this.groupBox1.Controls.Add(this.label5);
			this.groupBox1.Controls.Add(this.label4);
			this.groupBox1.Controls.Add(this.label3);
			this.groupBox1.Controls.Add(this.label2);
			this.groupBox1.Controls.Add(this.label1);
			this.groupBox1.Location = new System.Drawing.Point(0, 0);
			this.groupBox1.Name = "groupBox1";
			this.groupBox1.Size = new System.Drawing.Size(544, 192);
			this.groupBox1.TabIndex = 0;
			this.groupBox1.TabStop = false;
			// 
			// lstRemark
			// 
			this.lstRemark.ItemHeight = 12;
			this.lstRemark.Location = new System.Drawing.Point(64, 112);
			this.lstRemark.Name = "lstRemark";
			this.lstRemark.Size = new System.Drawing.Size(448, 64);
			this.lstRemark.TabIndex = 15;
			// 
			// txtclaStudentNumber
			// 
			this.txtclaStudentNumber.Location = new System.Drawing.Point(64, 80);
			this.txtclaStudentNumber.Name = "txtclaStudentNumber";
			this.txtclaStudentNumber.Size = new System.Drawing.Size(112, 21);
			this.txtclaStudentNumber.TabIndex = 14;
			this.txtclaStudentNumber.Text = "";
			// 
			// txtclaHours
			// 
			this.txtclaHours.Location = new System.Drawing.Point(440, 48);
			this.txtclaHours.Name = "txtclaHours";
			this.txtclaHours.Size = new System.Drawing.Size(88, 21);
			this.txtclaHours.TabIndex = 13;
			this.txtclaHours.Text = "";
			// 
			// txtclaMonitorID
			// 
			this.txtclaMonitorID.Location = new System.Drawing.Point(440, 16);
			this.txtclaMonitorID.Name = "txtclaMonitorID";
			this.txtclaMonitorID.Size = new System.Drawing.Size(88, 21);
			this.txtclaMonitorID.TabIndex = 10;
			this.txtclaMonitorID.Text = "textBox2";
			// 
			// txtTeaID
			// 
			this.txtTeaID.Location = new System.Drawing.Point(256, 16);
			this.txtTeaID.Name = "txtTeaID";
			this.txtTeaID.Size = new System.Drawing.Size(112, 21);
			this.txtTeaID.TabIndex = 9;
			this.txtTeaID.Text = "";
			// 
			// cboCrID
			// 
			this.cboCrID.Location = new System.Drawing.Point(64, 16);
			this.cboCrID.Name = "cboCrID";
			this.cboCrID.Size = new System.Drawing.Size(112, 20);
			this.cboCrID.TabIndex = 8;
			// 
			// label8
			// 
			this.label8.Location = new System.Drawing.Point(8, 120);
			this.label8.Name = "label8";
			this.label8.Size = new System.Drawing.Size(48, 23);
			this.label8.TabIndex = 7;
			this.label8.Text = "备注";
			// 
			// label7
			// 
			this.label7.Location = new System.Drawing.Point(8, 88);
			this.label7.Name = "label7";
			this.label7.Size = new System.Drawing.Size(64, 23);
			this.label7.TabIndex = 6;
			this.label7.Text = "学生总数";
			// 
			// label6
			// 
			this.label6.Location = new System.Drawing.Point(384, 56);
			this.label6.Name = "label6";
			this.label6.TabIndex = 5;
			this.label6.Text = "总课时数";
			// 
			// label5
			// 
			this.label5.Location = new System.Drawing.Point(187, 56);
			this.label5.Name = "label5";
			this.label5.Size = new System.Drawing.Size(61, 23);
			this.label5.TabIndex = 4;
			this.label5.Text = "结业日期";
			// 
			// label4
			// 
			this.label4.Location = new System.Drawing.Point(8, 56);
			this.label4.Name = "label4";
			this.label4.Size = new System.Drawing.Size(64, 23);
			this.label4.TabIndex = 3;
			this.label4.Text = "开课时期";
			// 
			// label3
			// 
			this.label3.Location = new System.Drawing.Point(384, 24);
			this.label3.Name = "label3";
			this.label3.TabIndex = 2;
			this.label3.Text = "班长编号";
			// 
			// label2
			// 
			this.label2.Location = new System.Drawing.Point(187, 24);
			this.label2.Name = "label2";
			this.label2.Size = new System.Drawing.Size(61, 23);
			this.label2.TabIndex = 1;
			this.label2.Text = "教师编号";
			// 
			// label1
			// 
			this.label1.Location = new System.Drawing.Point(8, 24);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(64, 23);
			this.label1.TabIndex = 0;
			this.label1.Text = "班级编号";
			// 
			// btnAdd
			// 
			this.btnAdd.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
			this.btnAdd.ImageIndex = 0;
			this.btnAdd.ImageList = this.imageList1;
			this.btnAdd.Location = new System.Drawing.Point(296, 208);
			this.btnAdd.Name = "btnAdd";
			this.btnAdd.Size = new System.Drawing.Size(112, 40);
			this.btnAdd.TabIndex = 1;
			this.btnAdd.Text = "增加(&A)";
			// 
			// btnExit
			// 
			this.btnExit.Location = new System.Drawing.Point(408, 208);
			this.btnExit.Name = "btnExit";
			this.btnExit.Size = new System.Drawing.Size(112, 40);
			this.btnExit.TabIndex = 2;
			this.btnExit.Text = "取消(&E)";
			// 
			// imageList1
			// 
			this.imageList1.ImageSize = new System.Drawing.Size(16, 16);
			this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
			this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
			// 
			// dateTimePicker1
			// 
			this.dateTimePicker1.Location = new System.Drawing.Point(64, 48);
			this.dateTimePicker1.Name = "dateTimePicker1";
			this.dateTimePicker1.Size = new System.Drawing.Size(112, 21);
			this.dateTimePicker1.TabIndex = 16;
			// 
			// dateTimePicker2
			// 
			this.dateTimePicker2.Location = new System.Drawing.Point(256, 48);
			this.dateTimePicker2.Name = "dateTimePicker2";
			this.dateTimePicker2.Size = new System.Drawing.Size(112, 21);
			this.dateTimePicker2.TabIndex = 17;
			// 
			// frmAddClassInfo
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
			this.ClientSize = new System.Drawing.Size(544, 261);
			this.Controls.Add(this.btnExit);
			this.Controls.Add(this.btnAdd);
			this.Controls.Add(this.groupBox1);
			this.Name = "frmAddClassInfo";
			this.Text = "增加班级信息";
			this.Load += new System.EventHandler(this.frmAddClassInfo_Load);
			this.groupBox1.ResumeLayout(false);
			this.ResumeLayout(false);

		}
		#endregion

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

⌨️ 快捷键说明

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