?? 考試管理.cs
字號:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace 自動化考試系統
{
/// <summary>
/// 考試管理 的摘要說明。
/// </summary>
public class kaoshiguanli : System.Windows.Forms.Form
{
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.Button button3;
private System.Windows.Forms.Button button4;
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.Button guanbi;
private System.Windows.Forms.Button button5;
private System.Windows.Forms.Label label6;
/// <summary>
/// 必需的設計器變量。
/// </summary>
private System.ComponentModel.Container components = null;
public kaoshiguanli()
{
//
// 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()
{
System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(kaoshiguanli));
this.label1 = new System.Windows.Forms.Label();
this.button1 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.button3 = new System.Windows.Forms.Button();
this.button4 = new System.Windows.Forms.Button();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.guanbi = new System.Windows.Forms.Button();
this.button5 = new System.Windows.Forms.Button();
this.label6 = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// label1
//
this.label1.BackColor = System.Drawing.Color.Transparent;
this.label1.Font = new System.Drawing.Font("宋體", 26.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
this.label1.ForeColor = System.Drawing.Color.White;
this.label1.Location = new System.Drawing.Point(176, 24);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(288, 72);
this.label1.TabIndex = 0;
this.label1.Text = "考 試 管 理";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// button1
//
this.button1.BackColor = System.Drawing.Color.Transparent;
this.button1.Font = new System.Drawing.Font("宋體", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
this.button1.ForeColor = System.Drawing.Color.White;
this.button1.Location = new System.Drawing.Point(48, 104);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(120, 32);
this.button1.TabIndex = 1;
this.button1.Text = "創 建 考 試";
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// button2
//
this.button2.BackColor = System.Drawing.Color.Transparent;
this.button2.Font = new System.Drawing.Font("宋體", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
this.button2.ForeColor = System.Drawing.Color.White;
this.button2.Location = new System.Drawing.Point(48, 216);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(120, 32);
this.button2.TabIndex = 1;
this.button2.Text = "查 看 結 果";
this.button2.Click += new System.EventHandler(this.button2_Click);
//
// button3
//
this.button3.BackColor = System.Drawing.Color.Transparent;
this.button3.Font = new System.Drawing.Font("宋體", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
this.button3.ForeColor = System.Drawing.Color.White;
this.button3.Location = new System.Drawing.Point(48, 272);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(120, 32);
this.button3.TabIndex = 1;
this.button3.Text = "考 試 搜 索 ";
this.button3.Click += new System.EventHandler(this.button3_Click);
//
// button4
//
this.button4.BackColor = System.Drawing.Color.Transparent;
this.button4.Font = new System.Drawing.Font("宋體", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
this.button4.ForeColor = System.Drawing.Color.White;
this.button4.Location = new System.Drawing.Point(48, 360);
this.button4.Name = "button4";
this.button4.Size = new System.Drawing.Size(120, 32);
this.button4.TabIndex = 1;
this.button4.Text = "考 試 報 告";
this.button4.Click += new System.EventHandler(this.button4_Click);
//
// label2
//
this.label2.BackColor = System.Drawing.Color.Transparent;
this.label2.Font = new System.Drawing.Font("宋體", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
this.label2.ForeColor = System.Drawing.Color.White;
this.label2.Location = new System.Drawing.Point(208, 112);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(328, 40);
this.label2.TabIndex = 2;
this.label2.Text = "要創建考試,單擊\"創建考試\"";
this.label2.Click += new System.EventHandler(this.label2_Click);
//
// label3
//
this.label3.BackColor = System.Drawing.Color.Transparent;
this.label3.Font = new System.Drawing.Font("宋體", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
this.label3.ForeColor = System.Drawing.Color.White;
this.label3.Location = new System.Drawing.Point(208, 224);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(328, 40);
this.label3.TabIndex = 2;
this.label3.Text = "要查看進行的考試的結果,單擊\"查看結果\"";
//
// label4
//
this.label4.BackColor = System.Drawing.Color.Transparent;
this.label4.Font = new System.Drawing.Font("宋體", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
this.label4.ForeColor = System.Drawing.Color.White;
this.label4.Location = new System.Drawing.Point(208, 280);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(328, 40);
this.label4.TabIndex = 2;
this.label4.Text = "要搜索考試,單擊\"搜索考試\"";
//
// label5
//
this.label5.BackColor = System.Drawing.Color.Transparent;
this.label5.Font = new System.Drawing.Font("宋體", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
this.label5.ForeColor = System.Drawing.Color.White;
this.label5.Location = new System.Drawing.Point(208, 367);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(328, 40);
this.label5.TabIndex = 2;
this.label5.Text = "要顯示考試報告,單擊\"考試報告\"";
//
// guanbi
//
this.guanbi.BackColor = System.Drawing.Color.Transparent;
this.guanbi.Font = new System.Drawing.Font("宋體", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
this.guanbi.ForeColor = System.Drawing.Color.White;
this.guanbi.Location = new System.Drawing.Point(256, 416);
this.guanbi.Name = "guanbi";
this.guanbi.Size = new System.Drawing.Size(72, 40);
this.guanbi.TabIndex = 3;
this.guanbi.Text = "關 閉";
this.guanbi.Click += new System.EventHandler(this.button5_Click);
//
// button5
//
this.button5.BackColor = System.Drawing.Color.Transparent;
this.button5.Font = new System.Drawing.Font("宋體", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
this.button5.ForeColor = System.Drawing.Color.White;
this.button5.Location = new System.Drawing.Point(48, 154);
this.button5.Name = "button5";
this.button5.Size = new System.Drawing.Size(120, 32);
this.button5.TabIndex = 4;
this.button5.Text = "創 建 題 庫";
this.button5.Click += new System.EventHandler(this.button5_Click_1);
//
// label6
//
this.label6.BackColor = System.Drawing.Color.Transparent;
this.label6.Font = new System.Drawing.Font("宋體", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
this.label6.ForeColor = System.Drawing.Color.White;
this.label6.Location = new System.Drawing.Point(208, 163);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(328, 40);
this.label6.TabIndex = 2;
this.label6.Text = "要創建題庫,單擊\"創建題庫\"";
//
// kaoshiguanli
//
this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage")));
this.ClientSize = new System.Drawing.Size(664, 477);
this.Controls.Add(this.button5);
this.Controls.Add(this.guanbi);
this.Controls.Add(this.label2);
this.Controls.Add(this.button1);
this.Controls.Add(this.label1);
this.Controls.Add(this.button2);
this.Controls.Add(this.button3);
this.Controls.Add(this.button4);
this.Controls.Add(this.label3);
this.Controls.Add(this.label4);
this.Controls.Add(this.label5);
this.Controls.Add(this.label6);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Name = "kaoshiguanli";
this.Text = "考試管理";
this.Load += new System.EventHandler(this.kaoshiguanli_Load);
this.ResumeLayout(false);
}
#endregion
private void kaoshiguanli_Load(object sender, System.EventArgs e)
{
}
private void button5_Click(object sender, System.EventArgs e)
{
this.Hide();
}
private void button1_Click(object sender, System.EventArgs e)
{
chuangjiankaoshi num=new chuangjiankaoshi();
num.ShowDialog();
num.Close();
}
private void button2_Click(object sender, System.EventArgs e)
{
chakanjieguo su=new chakanjieguo();
su.ShowDialog();
su.Close();
}
private void button4_Click(object sender, System.EventArgs e)
{
kaoshibaogao sn=new kaoshibaogao();
sn.ShowDialog();
sn.Close();
}
private void button3_Click(object sender, System.EventArgs e)
{
kaoshisuosao ma=new kaoshisuosao();
ma.ShowDialog();
ma.Close();
}
private void label2_Click(object sender, System.EventArgs e)
{
}
private void button5_Click_1(object sender, System.EventArgs e)
{
chuangjiantiku su=new chuangjiantiku();
su.ShowDialog();
su.Close();
}
private void button6_Click(object sender, System.EventArgs e)
{
xugaitiku ia=new xugaitiku();
ia.ShowDialog();
ia.Close();
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -