2025-03-16 13:11:08 +08:00
|
|
|
|
namespace XKRS.UI.Model.Winform
|
|
|
|
|
{
|
|
|
|
|
partial class IOIndicatorCtrl
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2025-03-18 14:20:11 +08:00
|
|
|
|
/// 必需的设计器变量
|
2025-03-16 13:11:08 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2025-03-18 14:20:11 +08:00
|
|
|
|
/// 清理所有正在使用的资源
|
2025-03-16 13:11:08 +08:00
|
|
|
|
/// </summary>
|
2025-03-18 14:20:11 +08:00
|
|
|
|
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false </param>
|
2025-03-16 13:11:08 +08:00
|
|
|
|
protected override void Dispose(bool disposing)
|
|
|
|
|
{
|
|
|
|
|
if (disposing && (components != null))
|
|
|
|
|
{
|
|
|
|
|
components.Dispose();
|
|
|
|
|
}
|
|
|
|
|
base.Dispose(disposing);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#region 组件设计器生成的代码
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 设计器支持所需的方法 - 不要修改
|
2025-03-18 14:20:11 +08:00
|
|
|
|
/// 使用代码编辑器修改此方法的内容
|
2025-03-16 13:11:08 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
private void InitializeComponent()
|
|
|
|
|
{
|
|
|
|
|
plStatus = new Panel();
|
|
|
|
|
lblDesc = new Label();
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// plStatus
|
|
|
|
|
//
|
|
|
|
|
plStatus.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left;
|
|
|
|
|
plStatus.Location = new Point(0, 0);
|
|
|
|
|
plStatus.Margin = new Padding(4);
|
|
|
|
|
plStatus.Name = "plStatus";
|
|
|
|
|
plStatus.Size = new Size(28, 34);
|
|
|
|
|
plStatus.TabIndex = 0;
|
|
|
|
|
plStatus.Paint += plStatus_Paint;
|
|
|
|
|
plStatus.DoubleClick += plStatus_DoubleClick;
|
|
|
|
|
//
|
|
|
|
|
// lblDesc
|
|
|
|
|
//
|
|
|
|
|
lblDesc.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
|
|
|
lblDesc.AutoSize = true;
|
|
|
|
|
lblDesc.Font = new Font("Tahoma", 11F, FontStyle.Regular, GraphicsUnit.World);
|
|
|
|
|
lblDesc.Location = new Point(36, 11);
|
|
|
|
|
lblDesc.Margin = new Padding(4, 0, 4, 0);
|
|
|
|
|
lblDesc.Name = "lblDesc";
|
|
|
|
|
lblDesc.Size = new Size(31, 13);
|
|
|
|
|
lblDesc.TabIndex = 1;
|
|
|
|
|
lblDesc.Text = "XXXX";
|
|
|
|
|
lblDesc.TextAlign = ContentAlignment.MiddleLeft;
|
|
|
|
|
lblDesc.DoubleClick += lblDesc_DoubleClick;
|
|
|
|
|
//
|
|
|
|
|
// IOIndicatorCtrl
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(7F, 17F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
Controls.Add(lblDesc);
|
|
|
|
|
Controls.Add(plStatus);
|
|
|
|
|
Margin = new Padding(4);
|
|
|
|
|
Name = "IOIndicatorCtrl";
|
|
|
|
|
Size = new Size(138, 34);
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
PerformLayout();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private Panel plStatus;
|
|
|
|
|
private Label lblDesc;
|
|
|
|
|
}
|
|
|
|
|
}
|