84 lines
3.0 KiB
C#
84 lines
3.0 KiB
C#
namespace JYControl
|
|||
|
|
{
|
||
|
|
partial class IO_Instructions
|
||
|
|
{
|
||
|
|
/// <summary>
|
||
|
|
/// 必需的设计器变量。
|
||
|
|
/// </summary>
|
||
|
|
private System.ComponentModel.IContainer components = null;
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// 清理所有正在使用的资源。
|
||
|
|
/// </summary>
|
||
|
|
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
||
|
|
protected override void Dispose(bool disposing)
|
||
|
|
{
|
||
|
|
if (disposing && (components != null))
|
||
|
|
{
|
||
|
|
components.Dispose();
|
||
|
|
}
|
||
|
|
base.Dispose(disposing);
|
||
|
|
}
|
||
|
|
|
||
|
|
#region 组件设计器生成的代码
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// 设计器支持所需的方法 - 不要修改
|
||
|
|
/// 使用代码编辑器修改此方法的内容。
|
||
|
|
/// </summary>
|
||
|
|
private void InitializeComponent()
|
||
|
|
{
|
||
|
|
this.ledControl = new JYControl.LedControl();
|
||
|
|
this.LabelX = new System.Windows.Forms.Label();
|
||
|
|
this.SuspendLayout();
|
||
|
|
//
|
||
|
|
// ledControl
|
||
|
|
//
|
||
|
|
this.ledControl.BorderWidth = 5;
|
||
|
|
this.ledControl.CenterColor = System.Drawing.Color.White;
|
||
|
|
this.ledControl.FlashInterval = 500;
|
||
|
|
this.ledControl.GapWidth = 5;
|
||
|
|
this.ledControl.IsBorder = false;
|
||
|
|
this.ledControl.IsFlash = false;
|
||
|
|
this.ledControl.IsHighLight = false;
|
||
|
|
this.ledControl.LampColor = new System.Drawing.Color[] {
|
||
|
|
System.Drawing.Color.Green,
|
||
|
|
System.Drawing.Color.Yellow};
|
||
|
|
this.ledControl.LedColor = System.Drawing.Color.Green;
|
||
|
|
this.ledControl.LedFalseColor = System.Drawing.Color.Red;
|
||
|
|
this.ledControl.LedStatus = true;
|
||
|
|
this.ledControl.LedTrueColor = System.Drawing.Color.Green;
|
||
|
|
this.ledControl.Location = new System.Drawing.Point(0, 0);
|
||
|
|
this.ledControl.Name = "ledControl";
|
||
|
|
this.ledControl.Size = new System.Drawing.Size(16, 16);
|
||
|
|
this.ledControl.TabIndex = 0;
|
||
|
|
//
|
||
|
|
// LabelX
|
||
|
|
//
|
||
|
|
this.LabelX.AutoSize = true;
|
||
|
|
this.LabelX.Location = new System.Drawing.Point(29, 3);
|
||
|
|
this.LabelX.Name = "LabelX";
|
||
|
|
this.LabelX.Size = new System.Drawing.Size(29, 12);
|
||
|
|
this.LabelX.TabIndex = 2;
|
||
|
|
this.LabelX.Text = "描述";
|
||
|
|
//
|
||
|
|
// IO_Instructions
|
||
|
|
//
|
||
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||
|
|
this.Controls.Add(this.LabelX);
|
||
|
|
this.Controls.Add(this.ledControl);
|
||
|
|
this.Name = "IO_Instructions";
|
||
|
|
this.Size = new System.Drawing.Size(72, 18);
|
||
|
|
this.ResumeLayout(false);
|
||
|
|
this.PerformLayout();
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
#endregion
|
||
|
|
|
||
|
|
private LedControl ledControl;
|
||
|
|
private System.Windows.Forms.Label LabelX;
|
||
|
|
}
|
||
|
|
}
|