You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
91 lines
3.7 KiB
91 lines
3.7 KiB
namespace CK.SCP.Common
|
|
{
|
|
partial class CktSwitchButton
|
|
{
|
|
/// <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.Lbl = new DevComponents.DotNetBar.LabelX();
|
|
this.switchValue = new DevComponents.DotNetBar.Controls.SwitchButton();
|
|
this.SuspendLayout();
|
|
//
|
|
// Lbl
|
|
//
|
|
//
|
|
//
|
|
//
|
|
this.Lbl.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
|
this.Lbl.Dock = System.Windows.Forms.DockStyle.Left;
|
|
this.Lbl.Location = new System.Drawing.Point(0, 0);
|
|
this.Lbl.Margin = new System.Windows.Forms.Padding(2);
|
|
this.Lbl.Name = "Lbl";
|
|
this.Lbl.Size = new System.Drawing.Size(80, 24);
|
|
this.Lbl.TabIndex = 0;
|
|
this.Lbl.Text = "标签";
|
|
this.Lbl.TextAlignment = System.Drawing.StringAlignment.Far;
|
|
//
|
|
// switchValue
|
|
//
|
|
//
|
|
//
|
|
//
|
|
this.switchValue.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
|
this.switchValue.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.switchValue.Location = new System.Drawing.Point(80, 0);
|
|
this.switchValue.Name = "switchValue";
|
|
this.switchValue.OffBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
|
this.switchValue.OffText = "关闭";
|
|
this.switchValue.OffTextColor = System.Drawing.Color.White;
|
|
this.switchValue.OnBackColor = System.Drawing.Color.Green;
|
|
this.switchValue.OnText = "开启";
|
|
this.switchValue.OnTextColor = System.Drawing.Color.White;
|
|
this.switchValue.ReadOnlyMarkerColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
|
|
this.switchValue.Size = new System.Drawing.Size(160, 24);
|
|
this.switchValue.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
|
this.switchValue.SwitchWidth = 50;
|
|
this.switchValue.TabIndex = 2;
|
|
//
|
|
// CktSwitchButton
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
|
this.BackColor = System.Drawing.Color.Transparent;
|
|
this.Controls.Add(this.switchValue);
|
|
this.Controls.Add(this.Lbl);
|
|
this.Margin = new System.Windows.Forms.Padding(2);
|
|
this.Name = "CktSwitchButton";
|
|
this.Size = new System.Drawing.Size(240, 24);
|
|
this.SizeChanged += new System.EventHandler(this.UcLabelTextBox_SizeChanged);
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private DevComponents.DotNetBar.LabelX Lbl;
|
|
private DevComponents.DotNetBar.Controls.SwitchButton switchValue;
|
|
}
|
|
}
|
|
|