📄 frmsickroom.cs
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace Hospital_Manage
{
/// <summary>
/// frmSickroom 的摘要说明。
/// </summary>
public class frmSickroom : System.Windows.Forms.Form
{
private System.Windows.Forms.Label lblRoomID;
private System.Windows.Forms.Label lblBed;
private System.Windows.Forms.Label lblDep;
private System.Windows.Forms.TextBox tbRoomID;
private System.Windows.Forms.TextBox tbBed;
private System.Windows.Forms.TextBox tbDep;
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.Container components = null;
public frmSickroom()
{
//
// 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.lblRoomID = new System.Windows.Forms.Label();
this.lblBed = new System.Windows.Forms.Label();
this.lblDep = new System.Windows.Forms.Label();
this.tbRoomID = new System.Windows.Forms.TextBox();
this.tbBed = new System.Windows.Forms.TextBox();
this.tbDep = new System.Windows.Forms.TextBox();
this.SuspendLayout();
//
// lblRoomID
//
this.lblRoomID.AutoSize = true;
this.lblRoomID.Location = new System.Drawing.Point(40, 44);
this.lblRoomID.Name = "lblRoomID";
this.lblRoomID.Size = new System.Drawing.Size(54, 17);
this.lblRoomID.TabIndex = 0;
this.lblRoomID.Text = "病房号:";
//
// lblBed
//
this.lblBed.AutoSize = true;
this.lblBed.Location = new System.Drawing.Point(40, 92);
this.lblBed.Name = "lblBed";
this.lblBed.Size = new System.Drawing.Size(54, 17);
this.lblBed.TabIndex = 1;
this.lblBed.Text = "床位号:";
//
// lblDep
//
this.lblDep.AutoSize = true;
this.lblDep.Location = new System.Drawing.Point(40, 140);
this.lblDep.Name = "lblDep";
this.lblDep.Size = new System.Drawing.Size(66, 17);
this.lblDep.TabIndex = 2;
this.lblDep.Text = "所属科室:";
//
// tbRoomID
//
this.tbRoomID.Location = new System.Drawing.Point(128, 40);
this.tbRoomID.Name = "tbRoomID";
this.tbRoomID.TabIndex = 3;
this.tbRoomID.Text = "";
//
// tbBed
//
this.tbBed.Location = new System.Drawing.Point(128, 88);
this.tbBed.Name = "tbBed";
this.tbBed.TabIndex = 4;
this.tbBed.Text = "";
//
// tbDep
//
this.tbDep.Location = new System.Drawing.Point(128, 136);
this.tbDep.Name = "tbDep";
this.tbDep.TabIndex = 5;
this.tbDep.Text = "";
//
// frmSickroom
//
this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
this.ClientSize = new System.Drawing.Size(400, 273);
this.Controls.Add(this.tbDep);
this.Controls.Add(this.tbBed);
this.Controls.Add(this.tbRoomID);
this.Controls.Add(this.lblDep);
this.Controls.Add(this.lblBed);
this.Controls.Add(this.lblRoomID);
this.Name = "frmSickroom";
this.Text = "病房信息管理";
this.ResumeLayout(false);
}
#endregion
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -