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

📄 frmteacherwelcome.cs

📁 本论文叙述了联机考试系统的现状以及C#语言的概况。重点介绍了联机考试系统的实现过程:包括系统分析、 系统调查、 数据流程分析、功能设计、 数据库设计、 系统物理配置方案、 系统实现、 系统测试和调试。
💻 CS
📖 第 1 页 / 共 2 页
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;

namespace OES
{
	/// <summary>
	/// Summary description for frmTeacherWelcome.
	/// </summary>
	public class frmTeacherWelcome : System.Windows.Forms.Form
	{
		private System.Windows.Forms.Label label3;
		private System.Windows.Forms.Label label6;
		private System.Windows.Forms.Button btnLogout;
		private System.Windows.Forms.Label lblWelcomeTeacher;
		private System.Windows.Forms.Button btnHelp;
		private System.Windows.Forms.Button btnExamMgmt;
		/// <summary>
		/// Required designer variable.
		/// </summary>
		private System.ComponentModel.Container components = null;

		public static int flag=0;
		frmLogin objLogin;
		public frmQuestion quest;
		public frmExamMgmt exammgt;
		private System.Windows.Forms.Button btnCreateQuestions;
		private System.Windows.Forms.Button btnModifyQuestion;
		public frmQuestionSearch objQuestSearch;
		private System.Windows.Forms.Label lblText5;
		private System.Windows.Forms.Label lblText4;
		private System.Windows.Forms.Label lblText2;
		private System.Windows.Forms.Label lblText1;
		private System.Windows.Forms.Label lblText3;
		private System.Windows.Forms.HelpProvider hlpOES;
		


		public frmTeacherWelcome(frmLogin login)
		{
			
			InitializeComponent();
           objLogin=login;
			
		}

		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		protected override void Dispose( bool disposing )
		{
			if( disposing )
			{
				if(components != null)
				{
					components.Dispose();
				}
			}
			base.Dispose( disposing );
		}

		#region Windows Form Designer generated code
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmTeacherWelcome));
			this.lblText5 = new System.Windows.Forms.Label();
			this.lblText4 = new System.Windows.Forms.Label();
			this.lblWelcomeTeacher = new System.Windows.Forms.Label();
			this.btnHelp = new System.Windows.Forms.Button();
			this.label3 = new System.Windows.Forms.Label();
			this.lblText2 = new System.Windows.Forms.Label();
			this.label6 = new System.Windows.Forms.Label();
			this.lblText1 = new System.Windows.Forms.Label();
			this.btnLogout = new System.Windows.Forms.Button();
			this.btnCreateQuestions = new System.Windows.Forms.Button();
			this.btnExamMgmt = new System.Windows.Forms.Button();
			this.btnModifyQuestion = new System.Windows.Forms.Button();
			this.lblText3 = new System.Windows.Forms.Label();
			this.hlpOES = new System.Windows.Forms.HelpProvider();
			this.SuspendLayout();
			// 
			// lblText5
			// 
			this.lblText5.AutoSize = true;
			this.lblText5.BackColor = System.Drawing.Color.Transparent;
			this.lblText5.Font = new System.Drawing.Font("Verdana", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.lblText5.ForeColor = System.Drawing.Color.FromArgb(((System.Byte)(192)), ((System.Byte)(192)), ((System.Byte)(255)));
			this.lblText5.Location = new System.Drawing.Point(230, 498);
			this.lblText5.Name = "lblText5";
			this.lblText5.Size = new System.Drawing.Size(241, 22);
			this.lblText5.TabIndex = 79;
			this.lblText5.Text = "要获取更多信息,请单击“帮助”";
			// 
			// lblText4
			// 
			this.lblText4.AutoSize = true;
			this.lblText4.BackColor = System.Drawing.Color.Transparent;
			this.lblText4.Font = new System.Drawing.Font("Verdana", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.lblText4.ForeColor = System.Drawing.Color.FromArgb(((System.Byte)(192)), ((System.Byte)(192)), ((System.Byte)(255)));
			this.lblText4.Location = new System.Drawing.Point(230, 435);
			this.lblText4.Name = "lblText4";
			this.lblText4.Size = new System.Drawing.Size(207, 22);
			this.lblText4.TabIndex = 75;
			this.lblText4.Text = "要退出系统,请单击“退出”";
			// 
			// lblWelcomeTeacher
			// 
			this.lblWelcomeTeacher.AutoSize = true;
			this.lblWelcomeTeacher.BackColor = System.Drawing.Color.Transparent;
			this.lblWelcomeTeacher.Font = new System.Drawing.Font("Century Gothic", 27.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.lblWelcomeTeacher.ForeColor = System.Drawing.Color.FromArgb(((System.Byte)(192)), ((System.Byte)(192)), ((System.Byte)(255)));
			this.lblWelcomeTeacher.Location = new System.Drawing.Point(324, 60);
			this.lblWelcomeTeacher.Name = "lblWelcomeTeacher";
			this.lblWelcomeTeacher.Size = new System.Drawing.Size(244, 49);
			this.lblWelcomeTeacher.TabIndex = 72;
			this.lblWelcomeTeacher.Text = "欢  迎  教  师";
			// 
			// btnHelp
			// 
			this.btnHelp.BackColor = System.Drawing.Color.Transparent;
			this.btnHelp.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
			this.btnHelp.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.btnHelp.ForeColor = System.Drawing.SystemColors.ActiveCaptionText;
			this.btnHelp.Location = new System.Drawing.Point(48, 502);
			this.btnHelp.Name = "btnHelp";
			this.btnHelp.Size = new System.Drawing.Size(86, 26);
			this.btnHelp.TabIndex = 78;
			this.btnHelp.Text = "帮助(&H)";
			this.btnHelp.Click += new System.EventHandler(this.btnHelp_Click);
			// 
			// label3
			// 
			this.label3.AutoSize = true;
			this.label3.BackColor = System.Drawing.Color.Transparent;
			this.label3.Font = new System.Drawing.Font("Verdana", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.label3.ForeColor = System.Drawing.Color.FromArgb(((System.Byte)(192)), ((System.Byte)(192)), ((System.Byte)(255)));
			this.label3.Location = new System.Drawing.Point(230, 362);
			this.label3.Name = "label3";
			this.label3.Size = new System.Drawing.Size(0, 22);
			this.label3.TabIndex = 77;
			// 
			// lblText2
			// 
			this.lblText2.BackColor = System.Drawing.Color.Transparent;
			this.lblText2.Font = new System.Drawing.Font("Verdana", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.lblText2.ForeColor = System.Drawing.Color.FromArgb(((System.Byte)(192)), ((System.Byte)(192)), ((System.Byte)(255)));
			this.lblText2.Location = new System.Drawing.Point(230, 271);
			this.lblText2.Name = "lblText2";
			this.lblText2.Size = new System.Drawing.Size(624, 43);
			this.lblText2.TabIndex = 76;
			this.lblText2.Text = "要添加新试题,请单击本窗口左边的“创建试题”选项";
			// 
			// label6
			// 
			this.label6.AutoSize = true;
			this.label6.BackColor = System.Drawing.Color.Transparent;
			this.label6.Font = new System.Drawing.Font("Verdana", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.label6.ForeColor = System.Drawing.Color.FromArgb(((System.Byte)(192)), ((System.Byte)(192)), ((System.Byte)(255)));
			this.label6.Location = new System.Drawing.Point(230, 276);
			this.label6.Name = "label6";
			this.label6.Size = new System.Drawing.Size(0, 22);
			this.label6.TabIndex = 74;
			// 
			// lblText1
			// 
			this.lblText1.BackColor = System.Drawing.Color.Transparent;
			this.lblText1.Font = new System.Drawing.Font("Verdana", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.lblText1.ForeColor = System.Drawing.Color.FromArgb(((System.Byte)(192)), ((System.Byte)(192)), ((System.Byte)(255)));
			this.lblText1.Location = new System.Drawing.Point(230, 172);
			this.lblText1.Name = "lblText1";
			this.lblText1.Size = new System.Drawing.Size(530, 61);
			this.lblText1.TabIndex = 73;
			this.lblText1.Text = "要创建考试、搜索和查看考试详细信息以及查看考试报告,请单击本窗口左边的“考试管理”选项";
			// 
			// btnLogout
			// 
			this.btnLogout.BackColor = System.Drawing.Color.Transparent;
			this.btnLogout.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
			this.btnLogout.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.btnLogout.ForeColor = System.Drawing.SystemColors.ActiveCaptionText;
			this.btnLogout.Location = new System.Drawing.Point(38, 436);
			this.btnLogout.Name = "btnLogout";
			this.btnLogout.Size = new System.Drawing.Size(106, 26);
			this.btnLogout.TabIndex = 71;
			this.btnLogout.Text = "退出(&O)";
			this.btnLogout.Click += new System.EventHandler(this.btnLogout_Click);
			// 
			// btnCreateQuestions
			// 
			this.btnCreateQuestions.AllowDrop = true;
			this.btnCreateQuestions.BackColor = System.Drawing.Color.Transparent;
			this.btnCreateQuestions.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
			this.btnCreateQuestions.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.btnCreateQuestions.ForeColor = System.Drawing.SystemColors.ActiveCaptionText;
			this.btnCreateQuestions.Location = new System.Drawing.Point(10, 264);
			this.btnCreateQuestions.Name = "btnCreateQuestions";
			this.btnCreateQuestions.Size = new System.Drawing.Size(153, 46);
			this.btnCreateQuestions.TabIndex = 70;
			this.btnCreateQuestions.Text = "创建试题(&C)";
			this.btnCreateQuestions.Click += new System.EventHandler(this.btnCreateQuestions_Click);
			// 
			// btnExamMgmt
			// 
			this.btnExamMgmt.BackColor = System.Drawing.Color.Transparent;
			this.btnExamMgmt.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
			this.btnExamMgmt.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.btnExamMgmt.ForeColor = System.Drawing.SystemColors.ActiveCaptionText;
			this.btnExamMgmt.Location = new System.Drawing.Point(10, 172);
			this.btnExamMgmt.Name = "btnExamMgmt";
			this.btnExamMgmt.Size = new System.Drawing.Size(153, 52);
			this.btnExamMgmt.TabIndex = 69;
			this.btnExamMgmt.Text = "考试管理(&E)";
			this.btnExamMgmt.Click += new System.EventHandler(this.btnExamMgmt_Click);
			// 
			// btnModifyQuestion
			// 
			this.btnModifyQuestion.AllowDrop = true;
			this.btnModifyQuestion.BackColor = System.Drawing.Color.Transparent;
			this.btnModifyQuestion.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
			this.btnModifyQuestion.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.btnModifyQuestion.ForeColor = System.Drawing.SystemColors.ActiveCaptionText;
			this.btnModifyQuestion.Location = new System.Drawing.Point(10, 350);
			this.btnModifyQuestion.Name = "btnModifyQuestion";
			this.btnModifyQuestion.Size = new System.Drawing.Size(153, 46);
			this.btnModifyQuestion.TabIndex = 80;
			this.btnModifyQuestion.Text = "修改试题(&M)";
			this.btnModifyQuestion.Click += new System.EventHandler(this.btnModifyQuestion_Click);

⌨️ 快捷键说明

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