358 lines
16 KiB
C#
358 lines
16 KiB
C#
namespace AntdUIDemo.Views
|
||
{
|
||
partial class SliderDemo
|
||
{
|
||
/// <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()
|
||
{
|
||
AntdUI.SliderMarkItem sliderMarkItem1 = new AntdUI.SliderMarkItem();
|
||
AntdUI.SliderMarkItem sliderMarkItem2 = new AntdUI.SliderMarkItem();
|
||
AntdUI.SliderMarkItem sliderMarkItem3 = new AntdUI.SliderMarkItem();
|
||
AntdUI.SliderMarkItem sliderMarkItem4 = new AntdUI.SliderMarkItem();
|
||
AntdUI.SliderMarkItem sliderMarkItem5 = new AntdUI.SliderMarkItem();
|
||
AntdUI.SliderMarkItem sliderMarkItem6 = new AntdUI.SliderMarkItem();
|
||
AntdUI.SliderMarkItem sliderMarkItem7 = new AntdUI.SliderMarkItem();
|
||
AntdUI.SliderMarkItem sliderMarkItem8 = new AntdUI.SliderMarkItem();
|
||
this.stackPanel1 = new AntdUI.StackPanel();
|
||
this.flowPanel4 = new AntdUI.FlowPanel();
|
||
this.slider7 = new AntdUI.Slider();
|
||
this.slider6 = new AntdUI.Slider();
|
||
this.label6 = new AntdUI.Label();
|
||
this.flowPanel3 = new AntdUI.FlowPanel();
|
||
this.slider_formmat = new AntdUI.Slider();
|
||
this.label5 = new AntdUI.Label();
|
||
this.flowPanel2 = new AntdUI.FlowPanel();
|
||
this.slider8 = new AntdUI.Slider();
|
||
this.slider5 = new AntdUI.Slider();
|
||
this.slider4 = new AntdUI.Slider();
|
||
this.label4 = new AntdUI.Label();
|
||
this.flowPanel1 = new AntdUI.FlowPanel();
|
||
this.slider3 = new AntdUI.Slider();
|
||
this.slider2 = new AntdUI.Slider();
|
||
this.slider1 = new AntdUI.Slider();
|
||
this.label3 = new AntdUI.Label();
|
||
this.divider1 = new AntdUI.Divider();
|
||
this.label2 = new AntdUI.Label();
|
||
this.label1 = new AntdUI.Label();
|
||
this.stackPanel1.SuspendLayout();
|
||
this.flowPanel4.SuspendLayout();
|
||
this.flowPanel3.SuspendLayout();
|
||
this.flowPanel2.SuspendLayout();
|
||
this.flowPanel1.SuspendLayout();
|
||
this.SuspendLayout();
|
||
//
|
||
// stackPanel1
|
||
//
|
||
this.stackPanel1.Controls.Add(this.flowPanel4);
|
||
this.stackPanel1.Controls.Add(this.label6);
|
||
this.stackPanel1.Controls.Add(this.flowPanel3);
|
||
this.stackPanel1.Controls.Add(this.label5);
|
||
this.stackPanel1.Controls.Add(this.flowPanel2);
|
||
this.stackPanel1.Controls.Add(this.label4);
|
||
this.stackPanel1.Controls.Add(this.flowPanel1);
|
||
this.stackPanel1.Controls.Add(this.label3);
|
||
this.stackPanel1.Controls.Add(this.divider1);
|
||
this.stackPanel1.Controls.Add(this.label2);
|
||
this.stackPanel1.Controls.Add(this.label1);
|
||
this.stackPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||
this.stackPanel1.Location = new System.Drawing.Point(0, 0);
|
||
this.stackPanel1.Name = "stackPanel1";
|
||
this.stackPanel1.Size = new System.Drawing.Size(750, 519);
|
||
this.stackPanel1.TabIndex = 0;
|
||
this.stackPanel1.Text = "stackPanel1";
|
||
this.stackPanel1.Vertical = true;
|
||
//
|
||
// flowPanel4
|
||
//
|
||
this.flowPanel4.Controls.Add(this.slider7);
|
||
this.flowPanel4.Controls.Add(this.slider6);
|
||
this.flowPanel4.Gap = 6;
|
||
this.flowPanel4.Location = new System.Drawing.Point(3, 372);
|
||
this.flowPanel4.Name = "flowPanel4";
|
||
this.flowPanel4.Size = new System.Drawing.Size(744, 167);
|
||
this.flowPanel4.TabIndex = 24;
|
||
this.flowPanel4.Text = "flowPanel4";
|
||
//
|
||
// slider7
|
||
//
|
||
this.slider7.Align = AntdUI.TAlignMini.Top;
|
||
this.slider7.Location = new System.Drawing.Point(56, 3);
|
||
this.slider7.Name = "slider7";
|
||
this.slider7.ShowValue = true;
|
||
this.slider7.Size = new System.Drawing.Size(41, 161);
|
||
this.slider7.TabIndex = 1;
|
||
this.slider7.Text = "slider8";
|
||
this.slider7.Value = 50;
|
||
//
|
||
// slider6
|
||
//
|
||
this.slider6.Align = AntdUI.TAlignMini.Bottom;
|
||
this.slider6.Location = new System.Drawing.Point(3, 3);
|
||
this.slider6.Name = "slider6";
|
||
this.slider6.ShowValue = true;
|
||
this.slider6.Size = new System.Drawing.Size(41, 161);
|
||
this.slider6.TabIndex = 0;
|
||
this.slider6.Text = "slider8";
|
||
this.slider6.Value = 50;
|
||
//
|
||
// label6
|
||
//
|
||
this.label6.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||
this.label6.Location = new System.Drawing.Point(3, 342);
|
||
this.label6.Name = "label6";
|
||
this.label6.Size = new System.Drawing.Size(744, 24);
|
||
this.label6.TabIndex = 23;
|
||
this.label6.Text = "垂直方向";
|
||
//
|
||
// flowPanel3
|
||
//
|
||
this.flowPanel3.Controls.Add(this.slider_formmat);
|
||
this.flowPanel3.Gap = 6;
|
||
this.flowPanel3.Location = new System.Drawing.Point(3, 298);
|
||
this.flowPanel3.Name = "flowPanel3";
|
||
this.flowPanel3.Size = new System.Drawing.Size(744, 38);
|
||
this.flowPanel3.TabIndex = 22;
|
||
this.flowPanel3.Text = "flowPanel3";
|
||
//
|
||
// slider_formmat
|
||
//
|
||
this.slider_formmat.Location = new System.Drawing.Point(3, 3);
|
||
this.slider_formmat.Name = "slider_formmat";
|
||
this.slider_formmat.ShowValue = true;
|
||
this.slider_formmat.Size = new System.Drawing.Size(200, 32);
|
||
this.slider_formmat.TabIndex = 0;
|
||
this.slider_formmat.Text = "slider8";
|
||
this.slider_formmat.Value = 50;
|
||
//
|
||
// label5
|
||
//
|
||
this.label5.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||
this.label5.Location = new System.Drawing.Point(3, 268);
|
||
this.label5.Name = "label5";
|
||
this.label5.Size = new System.Drawing.Size(744, 24);
|
||
this.label5.TabIndex = 21;
|
||
this.label5.Text = "格式化显示";
|
||
//
|
||
// flowPanel2
|
||
//
|
||
this.flowPanel2.Controls.Add(this.slider8);
|
||
this.flowPanel2.Controls.Add(this.slider5);
|
||
this.flowPanel2.Controls.Add(this.slider4);
|
||
this.flowPanel2.Gap = 6;
|
||
this.flowPanel2.Location = new System.Drawing.Point(3, 201);
|
||
this.flowPanel2.Name = "flowPanel2";
|
||
this.flowPanel2.Size = new System.Drawing.Size(744, 61);
|
||
this.flowPanel2.TabIndex = 20;
|
||
this.flowPanel2.Text = "flowPanel2";
|
||
//
|
||
// slider8
|
||
//
|
||
this.slider8.DotSize = 15;
|
||
this.slider8.DotSizeActive = 20;
|
||
this.slider8.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
|
||
this.slider8.Location = new System.Drawing.Point(427, 3);
|
||
sliderMarkItem1.Fore = System.Drawing.Color.Orange;
|
||
sliderMarkItem1.Text = "上海";
|
||
sliderMarkItem1.Value = 2;
|
||
sliderMarkItem2.Text = "北京";
|
||
sliderMarkItem2.Value = 8;
|
||
this.slider8.Marks.Add(sliderMarkItem1);
|
||
this.slider8.Marks.Add(sliderMarkItem2);
|
||
this.slider8.MaxValue = 10;
|
||
this.slider8.Name = "slider8";
|
||
this.slider8.ShowValue = true;
|
||
this.slider8.Size = new System.Drawing.Size(200, 55);
|
||
this.slider8.TabIndex = 2;
|
||
this.slider8.Text = "slider8";
|
||
this.slider8.Value = 5;
|
||
//
|
||
// slider5
|
||
//
|
||
this.slider5.Dots = true;
|
||
this.slider5.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||
this.slider5.Location = new System.Drawing.Point(215, 3);
|
||
sliderMarkItem3.Text = "2℃";
|
||
sliderMarkItem3.Value = 2;
|
||
sliderMarkItem4.Text = "5℃";
|
||
sliderMarkItem4.Value = 5;
|
||
sliderMarkItem5.Text = "8℃";
|
||
sliderMarkItem5.Value = 8;
|
||
this.slider5.Marks.Add(sliderMarkItem3);
|
||
this.slider5.Marks.Add(sliderMarkItem4);
|
||
this.slider5.Marks.Add(sliderMarkItem5);
|
||
this.slider5.MaxValue = 10;
|
||
this.slider5.Name = "slider5";
|
||
this.slider5.ShowValue = true;
|
||
this.slider5.Size = new System.Drawing.Size(200, 55);
|
||
this.slider5.TabIndex = 1;
|
||
this.slider5.Text = "slider5";
|
||
this.slider5.Value = 5;
|
||
//
|
||
// slider4
|
||
//
|
||
this.slider4.Location = new System.Drawing.Point(3, 3);
|
||
sliderMarkItem6.Value = 20;
|
||
sliderMarkItem7.Value = 50;
|
||
sliderMarkItem8.Value = 75;
|
||
this.slider4.Marks.Add(sliderMarkItem6);
|
||
this.slider4.Marks.Add(sliderMarkItem7);
|
||
this.slider4.Marks.Add(sliderMarkItem8);
|
||
this.slider4.Name = "slider4";
|
||
this.slider4.ShowValue = true;
|
||
this.slider4.Size = new System.Drawing.Size(200, 55);
|
||
this.slider4.TabIndex = 0;
|
||
this.slider4.Text = "slider4";
|
||
this.slider4.Value = 10;
|
||
//
|
||
// label4
|
||
//
|
||
this.label4.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||
this.label4.Location = new System.Drawing.Point(3, 171);
|
||
this.label4.Name = "label4";
|
||
this.label4.Size = new System.Drawing.Size(744, 24);
|
||
this.label4.TabIndex = 19;
|
||
this.label4.Text = "固定点";
|
||
//
|
||
// flowPanel1
|
||
//
|
||
this.flowPanel1.Controls.Add(this.slider3);
|
||
this.flowPanel1.Controls.Add(this.slider2);
|
||
this.flowPanel1.Controls.Add(this.slider1);
|
||
this.flowPanel1.Gap = 6;
|
||
this.flowPanel1.Location = new System.Drawing.Point(3, 127);
|
||
this.flowPanel1.Name = "flowPanel1";
|
||
this.flowPanel1.Size = new System.Drawing.Size(744, 38);
|
||
this.flowPanel1.TabIndex = 18;
|
||
this.flowPanel1.Text = "flowPanel1";
|
||
//
|
||
// slider3
|
||
//
|
||
this.slider3.Align = AntdUI.TAlignMini.Right;
|
||
this.slider3.Location = new System.Drawing.Point(427, 3);
|
||
this.slider3.MaxValue = 10;
|
||
this.slider3.Name = "slider3";
|
||
this.slider3.ShowValue = true;
|
||
this.slider3.Size = new System.Drawing.Size(200, 32);
|
||
this.slider3.TabIndex = 2;
|
||
this.slider3.Text = "slider3";
|
||
this.slider3.Value = 2;
|
||
//
|
||
// slider2
|
||
//
|
||
this.slider2.Fill = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(87)))), ((int)(((byte)(34)))));
|
||
this.slider2.FillActive = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(87)))), ((int)(((byte)(34)))));
|
||
this.slider2.FillHover = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(133)))), ((int)(((byte)(34)))));
|
||
this.slider2.Location = new System.Drawing.Point(215, 3);
|
||
this.slider2.Name = "slider2";
|
||
this.slider2.ShowValue = true;
|
||
this.slider2.Size = new System.Drawing.Size(200, 32);
|
||
this.slider2.TabIndex = 1;
|
||
this.slider2.Text = "slider2";
|
||
this.slider2.Value = 50;
|
||
//
|
||
// slider1
|
||
//
|
||
this.slider1.Location = new System.Drawing.Point(3, 3);
|
||
this.slider1.Name = "slider1";
|
||
this.slider1.Size = new System.Drawing.Size(200, 32);
|
||
this.slider1.TabIndex = 0;
|
||
this.slider1.Text = "slider1";
|
||
//
|
||
// label3
|
||
//
|
||
this.label3.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||
this.label3.Location = new System.Drawing.Point(3, 97);
|
||
this.label3.Name = "label3";
|
||
this.label3.Size = new System.Drawing.Size(744, 24);
|
||
this.label3.TabIndex = 17;
|
||
this.label3.Text = "基本用法";
|
||
//
|
||
// divider1
|
||
//
|
||
this.divider1.Location = new System.Drawing.Point(3, 79);
|
||
this.divider1.Name = "divider1";
|
||
this.divider1.Size = new System.Drawing.Size(744, 12);
|
||
this.divider1.TabIndex = 16;
|
||
//
|
||
// label2
|
||
//
|
||
this.label2.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||
this.label2.Location = new System.Drawing.Point(3, 49);
|
||
this.label2.Name = "label2";
|
||
this.label2.Size = new System.Drawing.Size(744, 24);
|
||
this.label2.TabIndex = 15;
|
||
this.label2.Text = "滑动型输入器,展示当前值和可选范围。";
|
||
//
|
||
// label1
|
||
//
|
||
this.label1.Font = new System.Drawing.Font("Microsoft YaHei UI", 26.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||
this.label1.Location = new System.Drawing.Point(3, 3);
|
||
this.label1.Name = "label1";
|
||
this.label1.Size = new System.Drawing.Size(744, 40);
|
||
this.label1.TabIndex = 14;
|
||
this.label1.Text = "Slider 滑动输入条";
|
||
//
|
||
// SliderDemo
|
||
//
|
||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
|
||
this.Controls.Add(this.stackPanel1);
|
||
this.Name = "SliderDemo";
|
||
this.Size = new System.Drawing.Size(750, 519);
|
||
this.stackPanel1.ResumeLayout(false);
|
||
this.flowPanel4.ResumeLayout(false);
|
||
this.flowPanel3.ResumeLayout(false);
|
||
this.flowPanel2.ResumeLayout(false);
|
||
this.flowPanel1.ResumeLayout(false);
|
||
this.ResumeLayout(false);
|
||
|
||
}
|
||
|
||
#endregion
|
||
|
||
private AntdUI.StackPanel stackPanel1;
|
||
private AntdUI.Divider divider1;
|
||
private AntdUI.Label label2;
|
||
private AntdUI.Label label1;
|
||
private AntdUI.Label label3;
|
||
private AntdUI.FlowPanel flowPanel1;
|
||
private AntdUI.Slider slider1;
|
||
private AntdUI.Slider slider2;
|
||
private AntdUI.Label label4;
|
||
private AntdUI.FlowPanel flowPanel2;
|
||
private AntdUI.Slider slider4;
|
||
private AntdUI.Slider slider3;
|
||
private AntdUI.Slider slider5;
|
||
private AntdUI.Label label5;
|
||
private AntdUI.FlowPanel flowPanel3;
|
||
private AntdUI.Slider slider_formmat;
|
||
private AntdUI.Label label6;
|
||
private AntdUI.FlowPanel flowPanel4;
|
||
private AntdUI.Slider slider6;
|
||
private AntdUI.Slider slider7;
|
||
private AntdUI.Slider slider8;
|
||
}
|
||
}
|