📄 teacherafdinfo.cs
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace Forms
{
/// <summary>
/// Form4 的摘要说明。
/// </summary>
public class frmTeacherAFDInfo : System.Windows.Forms.Form
{
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.GroupBox groupBox1;
private System.Windows.Forms.ComboBox cboType;
private System.Windows.Forms.TextBox txtRemark;
private System.Windows.Forms.TextBox txtHours;
private System.Windows.Forms.TextBox txtTeaID;
private System.Windows.Forms.Button btnAdd;
private System.Windows.Forms.DateTimePicker dateTimePicker1;
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.Container components = null;
public frmTeacherAFDInfo()
{
//
// 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.label1 = new System.Windows.Forms.Label();
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.groupBox1 = new System.Windows.Forms.GroupBox();
this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker();
this.cboType = new System.Windows.Forms.ComboBox();
this.txtRemark = new System.Windows.Forms.TextBox();
this.txtHours = new System.Windows.Forms.TextBox();
this.txtTeaID = new System.Windows.Forms.TextBox();
this.btnAdd = new System.Windows.Forms.Button();
this.groupBox1.SuspendLayout();
this.SuspendLayout();
//
// label1
//
this.label1.Location = new System.Drawing.Point(24, 16);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(72, 23);
this.label1.TabIndex = 0;
this.label1.Text = "教师编号:";
//
// label2
//
this.label2.Location = new System.Drawing.Point(24, 48);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(72, 23);
this.label2.TabIndex = 1;
this.label2.Text = "缺勤日期:";
//
// label3
//
this.label3.Location = new System.Drawing.Point(264, 16);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(72, 23);
this.label3.TabIndex = 2;
this.label3.Text = "缺勤类型:";
//
// label4
//
this.label4.Location = new System.Drawing.Point(264, 48);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(72, 23);
this.label4.TabIndex = 3;
this.label4.Text = "缺勤工时; ";
//
// label5
//
this.label5.Location = new System.Drawing.Point(24, 80);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(72, 23);
this.label5.TabIndex = 4;
this.label5.Text = "备注:";
//
// groupBox1
//
this.groupBox1.Controls.Add(this.dateTimePicker1);
this.groupBox1.Controls.Add(this.cboType);
this.groupBox1.Controls.Add(this.label1);
this.groupBox1.Controls.Add(this.label4);
this.groupBox1.Controls.Add(this.label2);
this.groupBox1.Controls.Add(this.label3);
this.groupBox1.Controls.Add(this.label5);
this.groupBox1.Controls.Add(this.txtRemark);
this.groupBox1.Controls.Add(this.txtHours);
this.groupBox1.Controls.Add(this.txtTeaID);
this.groupBox1.Controls.Add(this.btnAdd);
this.groupBox1.Location = new System.Drawing.Point(0, 0);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(512, 128);
this.groupBox1.TabIndex = 5;
this.groupBox1.TabStop = false;
//
// dateTimePicker1
//
this.dateTimePicker1.Location = new System.Drawing.Point(112, 48);
this.dateTimePicker1.Name = "dateTimePicker1";
this.dateTimePicker1.Size = new System.Drawing.Size(128, 21);
this.dateTimePicker1.TabIndex = 12;
//
// cboType
//
this.cboType.Location = new System.Drawing.Point(344, 16);
this.cboType.Name = "cboType";
this.cboType.Size = new System.Drawing.Size(121, 20);
this.cboType.TabIndex = 11;
this.cboType.Text = "comboBox1";
//
// txtRemark
//
this.txtRemark.Location = new System.Drawing.Point(112, 80);
this.txtRemark.Multiline = true;
this.txtRemark.Name = "txtRemark";
this.txtRemark.Size = new System.Drawing.Size(352, 32);
this.txtRemark.TabIndex = 10;
this.txtRemark.Text = "";
//
// txtHours
//
this.txtHours.Location = new System.Drawing.Point(344, 48);
this.txtHours.Name = "txtHours";
this.txtHours.Size = new System.Drawing.Size(120, 21);
this.txtHours.TabIndex = 9;
this.txtHours.Text = "";
//
// txtTeaID
//
this.txtTeaID.Location = new System.Drawing.Point(112, 16);
this.txtTeaID.Name = "txtTeaID";
this.txtTeaID.Size = new System.Drawing.Size(128, 21);
this.txtTeaID.TabIndex = 6;
this.txtTeaID.Text = "";
//
// btnAdd
//
this.btnAdd.Location = new System.Drawing.Point(472, 24);
this.btnAdd.Name = "btnAdd";
this.btnAdd.Size = new System.Drawing.Size(32, 80);
this.btnAdd.TabIndex = 6;
this.btnAdd.Text = "添加(&A)";
this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
//
// frmTeacherAFDInfo
//
this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
this.ClientSize = new System.Drawing.Size(536, 141);
this.Controls.Add(this.groupBox1);
this.Name = "frmTeacherAFDInfo";
this.Text = "教师缺勤信息";
this.groupBox1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private void btnAdd_Click(object sender, System.EventArgs e)
{
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -