mirror of
https://gitee.com/AntdUI/AntdUI.git
synced 2026-03-28 08:30:43 +08:00
🦄 Beautiful AntdUI
This commit is contained in:
4
example/ChatUI/Main.Designer.cs
generated
4
example/ChatUI/Main.Designer.cs
generated
@@ -22,10 +22,6 @@
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
AntdUI.Chat.MsgItem msgItem1 = new AntdUI.Chat.MsgItem();
|
||||
|
||||
18
example/Demo/Colors.Designer.cs
generated
18
example/Demo/Colors.Designer.cs
generated
@@ -43,10 +43,6 @@ namespace Demo
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
panel_primary = new AntdUI.Panel();
|
||||
@@ -85,7 +81,6 @@ namespace Demo
|
||||
// color_primary
|
||||
//
|
||||
color_primary.Dock = DockStyle.Fill;
|
||||
color_primary.Font = new Font("Microsoft YaHei UI", 14F);
|
||||
color_primary.Location = new Point(0, 0);
|
||||
color_primary.Name = "color_primary";
|
||||
color_primary.Padding = new Padding(13, 0, 0, 0);
|
||||
@@ -128,7 +123,6 @@ namespace Demo
|
||||
// colorPanel10
|
||||
//
|
||||
colorPanel10.Dock = DockStyle.Fill;
|
||||
colorPanel10.Font = new Font("Microsoft YaHei UI", 14F);
|
||||
colorPanel10.Location = new Point(864, 20);
|
||||
colorPanel10.Margin = new Padding(0, 20, 0, 0);
|
||||
colorPanel10.Name = "colorPanel10";
|
||||
@@ -143,7 +137,6 @@ namespace Demo
|
||||
// colorPanel9
|
||||
//
|
||||
colorPanel9.Dock = DockStyle.Fill;
|
||||
colorPanel9.Font = new Font("Microsoft YaHei UI", 14F);
|
||||
colorPanel9.Location = new Point(768, 20);
|
||||
colorPanel9.Margin = new Padding(0, 20, 0, 0);
|
||||
colorPanel9.Name = "colorPanel9";
|
||||
@@ -158,7 +151,6 @@ namespace Demo
|
||||
// colorPanel8
|
||||
//
|
||||
colorPanel8.Dock = DockStyle.Fill;
|
||||
colorPanel8.Font = new Font("Microsoft YaHei UI", 14F);
|
||||
colorPanel8.Location = new Point(672, 20);
|
||||
colorPanel8.Margin = new Padding(0, 20, 0, 0);
|
||||
colorPanel8.Name = "colorPanel8";
|
||||
@@ -173,7 +165,6 @@ namespace Demo
|
||||
// colorPanel7
|
||||
//
|
||||
colorPanel7.Dock = DockStyle.Fill;
|
||||
colorPanel7.Font = new Font("Microsoft YaHei UI", 14F);
|
||||
colorPanel7.Location = new Point(576, 20);
|
||||
colorPanel7.Margin = new Padding(0, 20, 0, 0);
|
||||
colorPanel7.Name = "colorPanel7";
|
||||
@@ -188,7 +179,6 @@ namespace Demo
|
||||
// colorPanel6
|
||||
//
|
||||
colorPanel6.Dock = DockStyle.Fill;
|
||||
colorPanel6.Font = new Font("Microsoft YaHei UI", 14F);
|
||||
colorPanel6.Location = new Point(480, 20);
|
||||
colorPanel6.Margin = new Padding(0, 20, 0, 0);
|
||||
colorPanel6.Name = "colorPanel6";
|
||||
@@ -203,7 +193,6 @@ namespace Demo
|
||||
// colorPanel5
|
||||
//
|
||||
colorPanel5.Dock = DockStyle.Fill;
|
||||
colorPanel5.Font = new Font("Microsoft YaHei UI", 14F);
|
||||
colorPanel5.Location = new Point(384, 20);
|
||||
colorPanel5.Margin = new Padding(0, 20, 0, 0);
|
||||
colorPanel5.Name = "colorPanel5";
|
||||
@@ -218,7 +207,6 @@ namespace Demo
|
||||
// colorPanel4
|
||||
//
|
||||
colorPanel4.Dock = DockStyle.Fill;
|
||||
colorPanel4.Font = new Font("Microsoft YaHei UI", 14F);
|
||||
colorPanel4.Location = new Point(288, 20);
|
||||
colorPanel4.Margin = new Padding(0, 20, 0, 0);
|
||||
colorPanel4.Name = "colorPanel4";
|
||||
@@ -233,7 +221,6 @@ namespace Demo
|
||||
// colorPanel3
|
||||
//
|
||||
colorPanel3.Dock = DockStyle.Fill;
|
||||
colorPanel3.Font = new Font("Microsoft YaHei UI", 14F);
|
||||
colorPanel3.Location = new Point(192, 20);
|
||||
colorPanel3.Margin = new Padding(0, 20, 0, 0);
|
||||
colorPanel3.Name = "colorPanel3";
|
||||
@@ -248,7 +235,6 @@ namespace Demo
|
||||
// colorPanel2
|
||||
//
|
||||
colorPanel2.Dock = DockStyle.Fill;
|
||||
colorPanel2.Font = new Font("Microsoft YaHei UI", 14F);
|
||||
colorPanel2.Location = new Point(96, 20);
|
||||
colorPanel2.Margin = new Padding(0, 20, 0, 0);
|
||||
colorPanel2.Name = "colorPanel2";
|
||||
@@ -263,7 +249,6 @@ namespace Demo
|
||||
// colorPanel1
|
||||
//
|
||||
colorPanel1.Dock = DockStyle.Fill;
|
||||
colorPanel1.Font = new Font("Microsoft YaHei UI", 14F);
|
||||
colorPanel1.Location = new Point(0, 20);
|
||||
colorPanel1.Margin = new Padding(0, 20, 0, 0);
|
||||
colorPanel1.Name = "colorPanel1";
|
||||
@@ -277,7 +262,6 @@ namespace Demo
|
||||
//
|
||||
// textBox1
|
||||
//
|
||||
textBox1.Font = new Font("Microsoft YaHei UI", 14F);
|
||||
textBox1.Location = new Point(13, 100);
|
||||
textBox1.Name = "textBox1";
|
||||
textBox1.Size = new Size(114, 38);
|
||||
@@ -301,7 +285,6 @@ namespace Demo
|
||||
// color_dark
|
||||
//
|
||||
color_dark.Dock = DockStyle.Fill;
|
||||
color_dark.Font = new Font("Microsoft YaHei UI", 14F);
|
||||
color_dark.Location = new Point(0, 0);
|
||||
color_dark.Name = "color_dark";
|
||||
color_dark.Padding = new Padding(13, 0, 0, 0);
|
||||
@@ -316,6 +299,7 @@ namespace Demo
|
||||
Controls.Add(tablePanel);
|
||||
Controls.Add(panel11);
|
||||
Controls.Add(panel_primary);
|
||||
Font = new Font("Microsoft YaHei UI", 14F);
|
||||
MinimumSize = new Size(980, 310);
|
||||
Name = "Colors";
|
||||
StartPosition = FormStartPosition.CenterScreen;
|
||||
|
||||
108
example/Demo/Controls/Alert.Designer.cs
generated
108
example/Demo/Controls/Alert.Designer.cs
generated
@@ -43,10 +43,6 @@ namespace Demo.Controls
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
header1 = new AntdUI.PageHeader();
|
||||
@@ -55,19 +51,19 @@ namespace Demo.Controls
|
||||
alert13 = new AntdUI.Alert();
|
||||
divider3 = new AntdUI.Divider();
|
||||
panel3 = new System.Windows.Forms.Panel();
|
||||
alert9 = new AntdUI.Alert();
|
||||
alert12 = new AntdUI.Alert();
|
||||
alert10 = new AntdUI.Alert();
|
||||
alert11 = new AntdUI.Alert();
|
||||
alert10 = new AntdUI.Alert();
|
||||
alert9 = new AntdUI.Alert();
|
||||
divider2 = new AntdUI.Divider();
|
||||
panel2 = new System.Windows.Forms.Panel();
|
||||
alert8 = new AntdUI.Alert();
|
||||
alert4 = new AntdUI.Alert();
|
||||
alert7 = new AntdUI.Alert();
|
||||
alert3 = new AntdUI.Alert();
|
||||
alert6 = new AntdUI.Alert();
|
||||
alert2 = new AntdUI.Alert();
|
||||
alert5 = new AntdUI.Alert();
|
||||
alert4 = new AntdUI.Alert();
|
||||
alert3 = new AntdUI.Alert();
|
||||
alert2 = new AntdUI.Alert();
|
||||
alert1 = new AntdUI.Alert();
|
||||
divider1 = new AntdUI.Divider();
|
||||
panel1.SuspendLayout();
|
||||
@@ -158,17 +154,6 @@ namespace Demo.Controls
|
||||
panel3.Size = new Size(614, 251);
|
||||
panel3.TabIndex = 2;
|
||||
//
|
||||
// alert9
|
||||
//
|
||||
alert9.BorderWidth = 1F;
|
||||
alert9.Icon = AntdUI.TType.Success;
|
||||
alert9.Location = new Point(16, 6);
|
||||
alert9.Name = "alert9";
|
||||
alert9.Size = new Size(264, 111);
|
||||
alert9.TabIndex = 0;
|
||||
alert9.Text = "Success Description Success Description Success Description";
|
||||
alert9.TextTitle = "Success Text";
|
||||
//
|
||||
// alert12
|
||||
//
|
||||
alert12.BorderWidth = 1F;
|
||||
@@ -180,6 +165,17 @@ namespace Demo.Controls
|
||||
alert12.Text = "Error Description Error Description Error Description Error Description";
|
||||
alert12.TextTitle = "Error Text";
|
||||
//
|
||||
// alert11
|
||||
//
|
||||
alert11.BorderWidth = 1F;
|
||||
alert11.Icon = AntdUI.TType.Warn;
|
||||
alert11.Location = new Point(293, 6);
|
||||
alert11.Name = "alert11";
|
||||
alert11.Size = new Size(264, 111);
|
||||
alert11.TabIndex = 1;
|
||||
alert11.Text = "Warning Description Warning Description Warning Description ";
|
||||
alert11.TextTitle = "Warning Text";
|
||||
//
|
||||
// alert10
|
||||
//
|
||||
alert10.BorderWidth = 1F;
|
||||
@@ -191,16 +187,16 @@ namespace Demo.Controls
|
||||
alert10.Text = "Info Description Info Description Info Description Info Description";
|
||||
alert10.TextTitle = "Info Text";
|
||||
//
|
||||
// alert11
|
||||
// alert9
|
||||
//
|
||||
alert11.BorderWidth = 1F;
|
||||
alert11.Icon = AntdUI.TType.Warn;
|
||||
alert11.Location = new Point(293, 6);
|
||||
alert11.Name = "alert11";
|
||||
alert11.Size = new Size(264, 111);
|
||||
alert11.TabIndex = 1;
|
||||
alert11.Text = "Warning Description Warning Description Warning Description ";
|
||||
alert11.TextTitle = "Warning Text";
|
||||
alert9.BorderWidth = 1F;
|
||||
alert9.Icon = AntdUI.TType.Success;
|
||||
alert9.Location = new Point(16, 6);
|
||||
alert9.Name = "alert9";
|
||||
alert9.Size = new Size(264, 111);
|
||||
alert9.TabIndex = 0;
|
||||
alert9.Text = "Success Description Success Description Success Description";
|
||||
alert9.TextTitle = "Success Text";
|
||||
//
|
||||
// divider2
|
||||
//
|
||||
@@ -239,6 +235,33 @@ namespace Demo.Controls
|
||||
alert8.TabIndex = 7;
|
||||
alert8.Text = "Error Text";
|
||||
//
|
||||
// alert7
|
||||
//
|
||||
alert7.Icon = AntdUI.TType.Warn;
|
||||
alert7.Location = new Point(301, 43);
|
||||
alert7.Name = "alert7";
|
||||
alert7.Size = new Size(148, 31);
|
||||
alert7.TabIndex = 6;
|
||||
alert7.Text = "Warning Text";
|
||||
//
|
||||
// alert6
|
||||
//
|
||||
alert6.Icon = AntdUI.TType.Info;
|
||||
alert6.Location = new Point(454, 6);
|
||||
alert6.Name = "alert6";
|
||||
alert6.Size = new Size(122, 31);
|
||||
alert6.TabIndex = 3;
|
||||
alert6.Text = "Info Text";
|
||||
//
|
||||
// alert5
|
||||
//
|
||||
alert5.Icon = AntdUI.TType.Success;
|
||||
alert5.Location = new Point(301, 6);
|
||||
alert5.Name = "alert5";
|
||||
alert5.Size = new Size(148, 31);
|
||||
alert5.TabIndex = 2;
|
||||
alert5.Text = "Success Text";
|
||||
//
|
||||
// alert4
|
||||
//
|
||||
alert4.BorderWidth = 1F;
|
||||
@@ -249,15 +272,6 @@ namespace Demo.Controls
|
||||
alert4.TabIndex = 5;
|
||||
alert4.Text = "Error Text";
|
||||
//
|
||||
// alert7
|
||||
//
|
||||
alert7.Icon = AntdUI.TType.Warn;
|
||||
alert7.Location = new Point(301, 43);
|
||||
alert7.Name = "alert7";
|
||||
alert7.Size = new Size(148, 31);
|
||||
alert7.TabIndex = 6;
|
||||
alert7.Text = "Warning Text";
|
||||
//
|
||||
// alert3
|
||||
//
|
||||
alert3.BorderWidth = 1F;
|
||||
@@ -268,15 +282,6 @@ namespace Demo.Controls
|
||||
alert3.TabIndex = 4;
|
||||
alert3.Text = "Warning Text";
|
||||
//
|
||||
// alert6
|
||||
//
|
||||
alert6.Icon = AntdUI.TType.Info;
|
||||
alert6.Location = new Point(454, 6);
|
||||
alert6.Name = "alert6";
|
||||
alert6.Size = new Size(122, 31);
|
||||
alert6.TabIndex = 3;
|
||||
alert6.Text = "Info Text";
|
||||
//
|
||||
// alert2
|
||||
//
|
||||
alert2.BorderWidth = 1F;
|
||||
@@ -287,15 +292,6 @@ namespace Demo.Controls
|
||||
alert2.TabIndex = 1;
|
||||
alert2.Text = "Info Text";
|
||||
//
|
||||
// alert5
|
||||
//
|
||||
alert5.Icon = AntdUI.TType.Success;
|
||||
alert5.Location = new Point(301, 6);
|
||||
alert5.Name = "alert5";
|
||||
alert5.Size = new Size(148, 31);
|
||||
alert5.TabIndex = 2;
|
||||
alert5.Text = "Success Text";
|
||||
//
|
||||
// alert1
|
||||
//
|
||||
alert1.BorderWidth = 1F;
|
||||
|
||||
7
example/Demo/Controls/Avatar.Designer.cs
generated
7
example/Demo/Controls/Avatar.Designer.cs
generated
@@ -43,10 +43,6 @@ namespace Demo.Controls
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
header1 = new AntdUI.PageHeader();
|
||||
@@ -172,7 +168,6 @@ namespace Demo.Controls
|
||||
//
|
||||
avatar5.BackColor = Color.FromArgb(0, 144, 255);
|
||||
avatar5.Badge = " ";
|
||||
avatar5.Font = new Font("Microsoft YaHei UI", 14F);
|
||||
avatar5.ForeColor = Color.White;
|
||||
avatar5.LocalizationText = "Avatar.{id}";
|
||||
avatar5.Location = new Point(248, 6);
|
||||
@@ -228,7 +223,7 @@ namespace Demo.Controls
|
||||
//
|
||||
Controls.Add(panel1);
|
||||
Controls.Add(header1);
|
||||
Font = new Font("Microsoft YaHei UI", 16F);
|
||||
Font = new Font("Microsoft YaHei UI", 14F);
|
||||
Name = "Avatar";
|
||||
Size = new Size(614, 446);
|
||||
panel1.ResumeLayout(false);
|
||||
|
||||
4
example/Demo/Controls/Badge.Designer.cs
generated
4
example/Demo/Controls/Badge.Designer.cs
generated
@@ -43,10 +43,6 @@ namespace Demo.Controls
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
header1 = new AntdUI.PageHeader();
|
||||
|
||||
125
example/Demo/Controls/Battery.Designer.cs
generated
125
example/Demo/Controls/Battery.Designer.cs
generated
@@ -16,19 +16,21 @@
|
||||
// CSDN: https://blog.csdn.net/v_132
|
||||
// QQ: 17379620
|
||||
|
||||
using System.Drawing;
|
||||
|
||||
namespace Demo.Controls
|
||||
{
|
||||
partial class Battery
|
||||
{
|
||||
/// <summary>
|
||||
/// 必需的设计器变量。
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// 清理所有正在使用的资源。
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
@@ -38,12 +40,8 @@ namespace Demo.Controls
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region 组件设计器生成的代码
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// 设计器支持所需的方法 - 不要修改
|
||||
/// 使用代码编辑器修改此方法的内容。
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
header1 = new AntdUI.PageHeader();
|
||||
@@ -81,38 +79,38 @@ namespace Demo.Controls
|
||||
//
|
||||
header1.Description = "展示设备电量。";
|
||||
header1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
header1.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F);
|
||||
header1.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
header1.LocalizationDescription = "Battery.Description";
|
||||
header1.LocalizationText = "Battery.Text";
|
||||
header1.Location = new System.Drawing.Point(0, 0);
|
||||
header1.Location = new Point(0, 0);
|
||||
header1.Name = "header1";
|
||||
header1.Padding = new System.Windows.Forms.Padding(0, 0, 0, 10);
|
||||
header1.Size = new System.Drawing.Size(596, 74);
|
||||
header1.Size = new Size(596, 74);
|
||||
header1.TabIndex = 0;
|
||||
header1.Text = "Battery 电量";
|
||||
header1.UseTitleFont = true;
|
||||
//
|
||||
// battery1
|
||||
//
|
||||
battery1.Location = new System.Drawing.Point(91, 3);
|
||||
battery1.Location = new Point(91, 3);
|
||||
battery1.Name = "battery1";
|
||||
battery1.Size = new System.Drawing.Size(82, 30);
|
||||
battery1.Size = new Size(82, 30);
|
||||
battery1.TabIndex = 1;
|
||||
battery1.Value = 30;
|
||||
//
|
||||
// battery4
|
||||
//
|
||||
battery4.Location = new System.Drawing.Point(179, 3);
|
||||
battery4.Location = new Point(179, 3);
|
||||
battery4.Name = "battery4";
|
||||
battery4.Size = new System.Drawing.Size(82, 30);
|
||||
battery4.Size = new Size(82, 30);
|
||||
battery4.TabIndex = 2;
|
||||
battery4.Value = 60;
|
||||
//
|
||||
// battery5
|
||||
//
|
||||
battery5.Location = new System.Drawing.Point(3, 3);
|
||||
battery5.Location = new Point(3, 3);
|
||||
battery5.Name = "battery5";
|
||||
battery5.Size = new System.Drawing.Size(82, 30);
|
||||
battery5.Size = new Size(82, 30);
|
||||
battery5.TabIndex = 0;
|
||||
battery5.Value = 15;
|
||||
//
|
||||
@@ -120,9 +118,9 @@ namespace Demo.Controls
|
||||
//
|
||||
button1.AutoSizeMode = AntdUI.TAutoSize.Width;
|
||||
button1.LocalizationText = "Battery.Add";
|
||||
button1.Location = new System.Drawing.Point(3, 7);
|
||||
button1.Location = new Point(3, 7);
|
||||
button1.Name = "button1";
|
||||
button1.Size = new System.Drawing.Size(70, 38);
|
||||
button1.Size = new Size(83, 38);
|
||||
button1.TabIndex = 0;
|
||||
button1.Text = "加电量";
|
||||
button1.Type = AntdUI.TTypeMini.Primary;
|
||||
@@ -132,9 +130,9 @@ namespace Demo.Controls
|
||||
//
|
||||
button2.AutoSizeMode = AntdUI.TAutoSize.Width;
|
||||
button2.LocalizationText = "Battery.Subtract";
|
||||
button2.Location = new System.Drawing.Point(79, 7);
|
||||
button2.Location = new Point(92, 7);
|
||||
button2.Name = "button2";
|
||||
button2.Size = new System.Drawing.Size(70, 38);
|
||||
button2.Size = new Size(83, 38);
|
||||
button2.TabIndex = 1;
|
||||
button2.Text = "减电量";
|
||||
button2.Type = AntdUI.TTypeMini.Success;
|
||||
@@ -143,12 +141,12 @@ namespace Demo.Controls
|
||||
// divider1
|
||||
//
|
||||
divider1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
divider1.Font = new System.Drawing.Font("Microsoft YaHei UI", 10F);
|
||||
divider1.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider1.LocalizationText = "Battery.{id}";
|
||||
divider1.Location = new System.Drawing.Point(0, 74);
|
||||
divider1.Location = new Point(0, 74);
|
||||
divider1.Name = "divider1";
|
||||
divider1.Orientation = AntdUI.TOrientation.Left;
|
||||
divider1.Size = new System.Drawing.Size(596, 28);
|
||||
divider1.Size = new Size(596, 28);
|
||||
divider1.TabIndex = 0;
|
||||
divider1.Text = "基本用法";
|
||||
//
|
||||
@@ -160,24 +158,24 @@ namespace Demo.Controls
|
||||
stackPanel1.Controls.Add(battery1);
|
||||
stackPanel1.Controls.Add(battery5);
|
||||
stackPanel1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
stackPanel1.Location = new System.Drawing.Point(0, 102);
|
||||
stackPanel1.Location = new Point(0, 102);
|
||||
stackPanel1.Name = "stackPanel1";
|
||||
stackPanel1.Size = new System.Drawing.Size(596, 36);
|
||||
stackPanel1.Size = new Size(596, 36);
|
||||
stackPanel1.TabIndex = 1;
|
||||
//
|
||||
// battery3
|
||||
//
|
||||
battery3.Location = new System.Drawing.Point(355, 3);
|
||||
battery3.Location = new Point(355, 3);
|
||||
battery3.Name = "battery3";
|
||||
battery3.Size = new System.Drawing.Size(82, 30);
|
||||
battery3.Size = new Size(82, 30);
|
||||
battery3.TabIndex = 4;
|
||||
battery3.Value = 100;
|
||||
//
|
||||
// battery2
|
||||
//
|
||||
battery2.Location = new System.Drawing.Point(267, 3);
|
||||
battery2.Location = new Point(267, 3);
|
||||
battery2.Name = "battery2";
|
||||
battery2.Size = new System.Drawing.Size(82, 30);
|
||||
battery2.Size = new Size(82, 30);
|
||||
battery2.TabIndex = 3;
|
||||
battery2.Value = 80;
|
||||
//
|
||||
@@ -189,65 +187,65 @@ namespace Demo.Controls
|
||||
stackPanel2.Controls.Add(battery9);
|
||||
stackPanel2.Controls.Add(battery10);
|
||||
stackPanel2.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
stackPanel2.Location = new System.Drawing.Point(0, 166);
|
||||
stackPanel2.Location = new Point(0, 166);
|
||||
stackPanel2.Name = "stackPanel2";
|
||||
stackPanel2.Size = new System.Drawing.Size(596, 36);
|
||||
stackPanel2.Size = new Size(596, 36);
|
||||
stackPanel2.TabIndex = 2;
|
||||
//
|
||||
// battery6
|
||||
//
|
||||
battery6.Location = new System.Drawing.Point(355, 3);
|
||||
battery6.Location = new Point(355, 3);
|
||||
battery6.Name = "battery6";
|
||||
battery6.ShowText = false;
|
||||
battery6.Size = new System.Drawing.Size(82, 30);
|
||||
battery6.Size = new Size(82, 30);
|
||||
battery6.TabIndex = 4;
|
||||
battery6.Value = 100;
|
||||
//
|
||||
// battery7
|
||||
//
|
||||
battery7.Location = new System.Drawing.Point(267, 3);
|
||||
battery7.Location = new Point(267, 3);
|
||||
battery7.Name = "battery7";
|
||||
battery7.ShowText = false;
|
||||
battery7.Size = new System.Drawing.Size(82, 30);
|
||||
battery7.Size = new Size(82, 30);
|
||||
battery7.TabIndex = 3;
|
||||
battery7.Value = 80;
|
||||
//
|
||||
// battery8
|
||||
//
|
||||
battery8.Location = new System.Drawing.Point(179, 3);
|
||||
battery8.Location = new Point(179, 3);
|
||||
battery8.Name = "battery8";
|
||||
battery8.ShowText = false;
|
||||
battery8.Size = new System.Drawing.Size(82, 30);
|
||||
battery8.Size = new Size(82, 30);
|
||||
battery8.TabIndex = 2;
|
||||
battery8.Value = 60;
|
||||
//
|
||||
// battery9
|
||||
//
|
||||
battery9.Location = new System.Drawing.Point(91, 3);
|
||||
battery9.Location = new Point(91, 3);
|
||||
battery9.Name = "battery9";
|
||||
battery9.ShowText = false;
|
||||
battery9.Size = new System.Drawing.Size(82, 30);
|
||||
battery9.Size = new Size(82, 30);
|
||||
battery9.TabIndex = 1;
|
||||
battery9.Value = 30;
|
||||
//
|
||||
// battery10
|
||||
//
|
||||
battery10.Location = new System.Drawing.Point(3, 3);
|
||||
battery10.Location = new Point(3, 3);
|
||||
battery10.Name = "battery10";
|
||||
battery10.ShowText = false;
|
||||
battery10.Size = new System.Drawing.Size(82, 30);
|
||||
battery10.Size = new Size(82, 30);
|
||||
battery10.TabIndex = 0;
|
||||
battery10.Value = 15;
|
||||
//
|
||||
// divider2
|
||||
//
|
||||
divider2.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
divider2.Font = new System.Drawing.Font("Microsoft YaHei UI", 10F);
|
||||
divider2.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider2.LocalizationText = "Battery.{id}";
|
||||
divider2.Location = new System.Drawing.Point(0, 138);
|
||||
divider2.Location = new Point(0, 138);
|
||||
divider2.Name = "divider2";
|
||||
divider2.Orientation = AntdUI.TOrientation.Left;
|
||||
divider2.Size = new System.Drawing.Size(596, 28);
|
||||
divider2.Size = new Size(596, 28);
|
||||
divider2.TabIndex = 0;
|
||||
divider2.Text = "无文字";
|
||||
//
|
||||
@@ -259,64 +257,64 @@ namespace Demo.Controls
|
||||
stackPanel3.Controls.Add(battery14);
|
||||
stackPanel3.Controls.Add(battery15);
|
||||
stackPanel3.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
stackPanel3.Location = new System.Drawing.Point(0, 230);
|
||||
stackPanel3.Location = new Point(0, 230);
|
||||
stackPanel3.Name = "stackPanel3";
|
||||
stackPanel3.Size = new System.Drawing.Size(596, 36);
|
||||
stackPanel3.Size = new Size(596, 36);
|
||||
stackPanel3.TabIndex = 3;
|
||||
//
|
||||
// battery11
|
||||
//
|
||||
battery11.Location = new System.Drawing.Point(355, 3);
|
||||
battery11.Location = new Point(355, 3);
|
||||
battery11.Name = "battery11";
|
||||
battery11.Size = new System.Drawing.Size(82, 30);
|
||||
battery11.Size = new Size(82, 30);
|
||||
battery11.TabIndex = 4;
|
||||
battery11.Value = 100;
|
||||
//
|
||||
// battery12
|
||||
//
|
||||
battery12.DotSize = 6;
|
||||
battery12.Location = new System.Drawing.Point(267, 3);
|
||||
battery12.Location = new Point(267, 3);
|
||||
battery12.Name = "battery12";
|
||||
battery12.Size = new System.Drawing.Size(82, 30);
|
||||
battery12.Size = new Size(82, 30);
|
||||
battery12.TabIndex = 3;
|
||||
battery12.Value = 80;
|
||||
//
|
||||
// battery13
|
||||
//
|
||||
battery13.DotSize = 4;
|
||||
battery13.Location = new System.Drawing.Point(179, 3);
|
||||
battery13.Location = new Point(179, 3);
|
||||
battery13.Name = "battery13";
|
||||
battery13.Size = new System.Drawing.Size(82, 30);
|
||||
battery13.Size = new Size(82, 30);
|
||||
battery13.TabIndex = 2;
|
||||
battery13.Value = 60;
|
||||
//
|
||||
// battery14
|
||||
//
|
||||
battery14.DotSize = 2;
|
||||
battery14.Location = new System.Drawing.Point(91, 3);
|
||||
battery14.Location = new Point(91, 3);
|
||||
battery14.Name = "battery14";
|
||||
battery14.Size = new System.Drawing.Size(82, 30);
|
||||
battery14.Size = new Size(82, 30);
|
||||
battery14.TabIndex = 1;
|
||||
battery14.Value = 30;
|
||||
//
|
||||
// battery15
|
||||
//
|
||||
battery15.DotSize = 0;
|
||||
battery15.Location = new System.Drawing.Point(3, 3);
|
||||
battery15.Location = new Point(3, 3);
|
||||
battery15.Name = "battery15";
|
||||
battery15.Size = new System.Drawing.Size(82, 30);
|
||||
battery15.Size = new Size(82, 30);
|
||||
battery15.TabIndex = 0;
|
||||
battery15.Value = 15;
|
||||
//
|
||||
// divider3
|
||||
//
|
||||
divider3.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
divider3.Font = new System.Drawing.Font("Microsoft YaHei UI", 10F);
|
||||
divider3.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider3.LocalizationText = "Battery.{id}";
|
||||
divider3.Location = new System.Drawing.Point(0, 202);
|
||||
divider3.Location = new Point(0, 202);
|
||||
divider3.Name = "divider3";
|
||||
divider3.Orientation = AntdUI.TOrientation.Left;
|
||||
divider3.Size = new System.Drawing.Size(596, 28);
|
||||
divider3.Size = new Size(596, 28);
|
||||
divider3.TabIndex = 0;
|
||||
divider3.Text = "点形状";
|
||||
//
|
||||
@@ -325,10 +323,10 @@ namespace Demo.Controls
|
||||
stackPanel4.Controls.Add(button2);
|
||||
stackPanel4.Controls.Add(button1);
|
||||
stackPanel4.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
stackPanel4.Location = new System.Drawing.Point(0, 266);
|
||||
stackPanel4.Location = new Point(0, 266);
|
||||
stackPanel4.Name = "stackPanel4";
|
||||
stackPanel4.Padding = new System.Windows.Forms.Padding(0, 4, 0, 0);
|
||||
stackPanel4.Size = new System.Drawing.Size(596, 48);
|
||||
stackPanel4.Size = new Size(596, 48);
|
||||
stackPanel4.TabIndex = 10;
|
||||
//
|
||||
// Battery
|
||||
@@ -341,8 +339,9 @@ namespace Demo.Controls
|
||||
Controls.Add(stackPanel1);
|
||||
Controls.Add(divider1);
|
||||
Controls.Add(header1);
|
||||
Font = new Font("Microsoft YaHei UI", 12F);
|
||||
Name = "Battery";
|
||||
Size = new System.Drawing.Size(596, 445);
|
||||
Size = new Size(596, 445);
|
||||
stackPanel1.ResumeLayout(false);
|
||||
stackPanel2.ResumeLayout(false);
|
||||
stackPanel3.ResumeLayout(false);
|
||||
|
||||
6
example/Demo/Controls/Breadcrumb.Designer.cs
generated
6
example/Demo/Controls/Breadcrumb.Designer.cs
generated
@@ -43,10 +43,6 @@ namespace Demo.Controls
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
AntdUI.BreadcrumbItem breadcrumbItem1 = new AntdUI.BreadcrumbItem();
|
||||
@@ -114,7 +110,7 @@ namespace Demo.Controls
|
||||
Controls.Add(breadcrumb2);
|
||||
Controls.Add(breadcrumb1);
|
||||
Controls.Add(header1);
|
||||
Font = new Font("Microsoft YaHei UI", 11F);
|
||||
Font = new Font("Microsoft YaHei UI", 12F);
|
||||
Name = "Breadcrumb";
|
||||
Size = new Size(740, 402);
|
||||
ResumeLayout(false);
|
||||
|
||||
4
example/Demo/Controls/Button.Designer.cs
generated
4
example/Demo/Controls/Button.Designer.cs
generated
@@ -43,10 +43,6 @@ namespace Demo.Controls
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
header1 = new AntdUI.PageHeader();
|
||||
|
||||
12
example/Demo/Controls/Calendar.Designer.cs
generated
12
example/Demo/Controls/Calendar.Designer.cs
generated
@@ -6,14 +6,14 @@ namespace Demo.Controls
|
||||
partial class Calendar
|
||||
{
|
||||
/// <summary>
|
||||
/// 必需的设计器变量。
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// 清理所有正在使用的资源。
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
@@ -23,12 +23,8 @@ namespace Demo.Controls
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region 组件设计器生成的代码
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// 设计器支持所需的方法 - 不要修改
|
||||
/// 使用代码编辑器修改此方法的内容。
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
header1 = new AntdUI.PageHeader();
|
||||
|
||||
6
example/Demo/Controls/Carousel.Designer.cs
generated
6
example/Demo/Controls/Carousel.Designer.cs
generated
@@ -43,10 +43,6 @@ namespace Demo.Controls
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
AntdUI.CarouselItem carouselItem1 = new AntdUI.CarouselItem();
|
||||
@@ -213,7 +209,7 @@ namespace Demo.Controls
|
||||
//
|
||||
Controls.Add(flowLayoutPanel1);
|
||||
Controls.Add(header1);
|
||||
Font = new Font("Microsoft YaHei UI", 16F);
|
||||
Font = new Font("Microsoft YaHei UI", 12F);
|
||||
Name = "Carousel";
|
||||
Size = new Size(1300, 676);
|
||||
flowLayoutPanel1.ResumeLayout(false);
|
||||
|
||||
5
example/Demo/Controls/Checkbox.Designer.cs
generated
5
example/Demo/Controls/Checkbox.Designer.cs
generated
@@ -43,10 +43,6 @@ namespace Demo.Controls
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
header1 = new AntdUI.PageHeader();
|
||||
@@ -329,6 +325,7 @@ namespace Demo.Controls
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private AntdUI.PageHeader header1;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.Panel panel3;
|
||||
|
||||
4
example/Demo/Controls/Collapse.Designer.cs
generated
4
example/Demo/Controls/Collapse.Designer.cs
generated
@@ -43,10 +43,6 @@ namespace Demo.Controls
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
header1 = new AntdUI.PageHeader();
|
||||
|
||||
4
example/Demo/Controls/ColorPicker.Designer.cs
generated
4
example/Demo/Controls/ColorPicker.Designer.cs
generated
@@ -43,10 +43,6 @@ namespace Demo.Controls
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
header1 = new AntdUI.PageHeader();
|
||||
|
||||
31
example/Demo/Controls/ContextMenuStrip.Designer.cs
generated
31
example/Demo/Controls/ContextMenuStrip.Designer.cs
generated
@@ -16,19 +16,21 @@
|
||||
// CSDN: https://blog.csdn.net/v_132
|
||||
// QQ: 17379620
|
||||
|
||||
using System.Drawing;
|
||||
|
||||
namespace Demo.Controls
|
||||
{
|
||||
partial class ContextMenuStrip
|
||||
{
|
||||
/// <summary>
|
||||
/// 必需的设计器变量。
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// 清理所有正在使用的资源。
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
@@ -38,12 +40,8 @@ namespace Demo.Controls
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region 组件设计器生成的代码
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// 设计器支持所需的方法 - 不要修改
|
||||
/// 使用代码编辑器修改此方法的内容。
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
components = new System.ComponentModel.Container();
|
||||
@@ -57,13 +55,13 @@ namespace Demo.Controls
|
||||
//
|
||||
header1.Description = "任意点击当前页面的右键";
|
||||
header1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
header1.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F);
|
||||
header1.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
header1.LocalizationDescription = "ContextMenuStrip.Description";
|
||||
header1.LocalizationText = "ContextMenuStrip.Text";
|
||||
header1.Location = new System.Drawing.Point(0, 0);
|
||||
header1.Location = new Point(0, 0);
|
||||
header1.Name = "header1";
|
||||
header1.Padding = new System.Windows.Forms.Padding(0, 0, 0, 10);
|
||||
header1.Size = new System.Drawing.Size(596, 74);
|
||||
header1.Size = new Size(596, 74);
|
||||
header1.TabIndex = 1;
|
||||
header1.Text = "ContextMenuStrip 右键菜单";
|
||||
header1.UseTitleFont = true;
|
||||
@@ -71,9 +69,9 @@ namespace Demo.Controls
|
||||
// button1
|
||||
//
|
||||
button1.AutoSizeMode = AntdUI.TAutoSize.Auto;
|
||||
button1.Location = new System.Drawing.Point(14, 93);
|
||||
button1.Location = new Point(14, 93);
|
||||
button1.Name = "button1";
|
||||
button1.Size = new System.Drawing.Size(60, 41);
|
||||
button1.Size = new Size(71, 47);
|
||||
button1.TabIndex = 2;
|
||||
button1.Text = "Click";
|
||||
button1.Type = AntdUI.TTypeMini.Primary;
|
||||
@@ -88,9 +86,9 @@ namespace Demo.Controls
|
||||
// button2
|
||||
//
|
||||
button2.AutoSizeMode = AntdUI.TAutoSize.Auto;
|
||||
button2.Location = new System.Drawing.Point(100, 93);
|
||||
button2.Location = new Point(100, 93);
|
||||
button2.Name = "button2";
|
||||
button2.Size = new System.Drawing.Size(94, 41);
|
||||
button2.Size = new Size(116, 47);
|
||||
button2.TabIndex = 2;
|
||||
button2.Text = "NotifyIcon";
|
||||
button2.Type = AntdUI.TTypeMini.Primary;
|
||||
@@ -101,8 +99,9 @@ namespace Demo.Controls
|
||||
Controls.Add(button2);
|
||||
Controls.Add(button1);
|
||||
Controls.Add(header1);
|
||||
Font = new Font("Microsoft YaHei UI", 12F);
|
||||
Name = "ContextMenuStrip";
|
||||
Size = new System.Drawing.Size(596, 445);
|
||||
Size = new Size(596, 445);
|
||||
MouseClick += ContextMenuStrip_MouseClick;
|
||||
ResumeLayout(false);
|
||||
PerformLayout();
|
||||
|
||||
@@ -147,7 +147,7 @@ namespace Demo.Controls
|
||||
if (e.Button == MouseButtons.Right)
|
||||
{
|
||||
AntdUI.ContextMenuStrip.Config config = new AntdUI.ContextMenuStrip.Config(this, RightKey, menulist);
|
||||
config.Font = new System.Drawing.Font("Microsoft YaHei UI", 10f, FontStyle.Bold);
|
||||
config.Font = new Font("Microsoft YaHei UI", 10f, FontStyle.Bold);
|
||||
AntdUI.ContextMenuStrip.open(config);
|
||||
}
|
||||
}
|
||||
|
||||
5
example/Demo/Controls/DatePicker.Designer.cs
generated
5
example/Demo/Controls/DatePicker.Designer.cs
generated
@@ -43,10 +43,6 @@ namespace Demo.Controls
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
header1 = new AntdUI.PageHeader();
|
||||
@@ -276,6 +272,7 @@ namespace Demo.Controls
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private AntdUI.PageHeader header1;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private AntdUI.Divider divider1;
|
||||
|
||||
9
example/Demo/Controls/Divider.Designer.cs
generated
9
example/Demo/Controls/Divider.Designer.cs
generated
@@ -43,10 +43,6 @@ namespace Demo.Controls
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
header1 = new AntdUI.PageHeader();
|
||||
@@ -93,7 +89,6 @@ namespace Demo.Controls
|
||||
panel1.Controls.Add(label2);
|
||||
panel1.Controls.Add(divider1);
|
||||
panel1.Controls.Add(label1);
|
||||
panel1.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
panel1.Location = new Point(3, 3);
|
||||
panel1.Name = "panel1";
|
||||
panel1.Size = new Size(512, 213);
|
||||
@@ -105,7 +100,7 @@ namespace Demo.Controls
|
||||
divider2.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Bold);
|
||||
divider2.Location = new Point(0, 116);
|
||||
divider2.Name = "divider2";
|
||||
divider2.Size = new Size(512, 20);
|
||||
divider2.Size = new Size(512, 26);
|
||||
divider2.TabIndex = 3;
|
||||
divider2.Text = "With Text";
|
||||
divider2.Thickness = 2F;
|
||||
@@ -151,7 +146,7 @@ namespace Demo.Controls
|
||||
//
|
||||
Controls.Add(flowLayoutPanel1);
|
||||
Controls.Add(header1);
|
||||
Font = new Font("Microsoft YaHei UI", 16F);
|
||||
Font = new Font("Microsoft YaHei UI", 12F);
|
||||
Name = "Divider";
|
||||
Size = new Size(740, 402);
|
||||
flowLayoutPanel1.ResumeLayout(false);
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
|
||||
Example:
|
||||
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
@@ -26,36 +26,36 @@
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
|
||||
4
example/Demo/Controls/Drawer.Designer.cs
generated
4
example/Demo/Controls/Drawer.Designer.cs
generated
@@ -43,10 +43,6 @@ namespace Demo.Controls
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
header1 = new AntdUI.PageHeader();
|
||||
|
||||
4
example/Demo/Controls/Dropdown.Designer.cs
generated
4
example/Demo/Controls/Dropdown.Designer.cs
generated
@@ -43,10 +43,6 @@ namespace Demo.Controls
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
header1 = new AntdUI.PageHeader();
|
||||
|
||||
89
example/Demo/Controls/GridPanel.Designer.cs
generated
89
example/Demo/Controls/GridPanel.Designer.cs
generated
@@ -16,19 +16,21 @@
|
||||
// CSDN: https://blog.csdn.net/v_132
|
||||
// QQ: 17379620
|
||||
|
||||
using System.Drawing;
|
||||
|
||||
namespace Demo.Controls
|
||||
{
|
||||
partial class GridPanel
|
||||
{
|
||||
/// <summary>
|
||||
/// 必需的设计器变量。
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// 清理所有正在使用的资源。
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
@@ -38,12 +40,8 @@ namespace Demo.Controls
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region 组件设计器生成的代码
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// 设计器支持所需的方法 - 不要修改
|
||||
/// 使用代码编辑器修改此方法的内容。
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
header1 = new AntdUI.PageHeader();
|
||||
@@ -71,13 +69,13 @@ namespace Demo.Controls
|
||||
//
|
||||
header1.Description = "精准划分区域的格栅布局容器。";
|
||||
header1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
header1.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F);
|
||||
header1.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
header1.LocalizationDescription = "GridPanel.Description";
|
||||
header1.LocalizationText = "GridPanel.Text";
|
||||
header1.Location = new System.Drawing.Point(0, 0);
|
||||
header1.Location = new Point(0, 0);
|
||||
header1.Name = "header1";
|
||||
header1.Padding = new System.Windows.Forms.Padding(0, 0, 0, 10);
|
||||
header1.Size = new System.Drawing.Size(1000, 75);
|
||||
header1.Size = new Size(1000, 75);
|
||||
header1.TabIndex = 0;
|
||||
header1.Text = "GridPanel 格栅布局";
|
||||
header1.UseTitleFont = true;
|
||||
@@ -86,9 +84,9 @@ namespace Demo.Controls
|
||||
//
|
||||
label1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
label1.LocalizationText = "GridPanel.Describe";
|
||||
label1.Location = new System.Drawing.Point(503, 3);
|
||||
label1.Location = new Point(503, 3);
|
||||
label1.Name = "label1";
|
||||
label1.Size = new System.Drawing.Size(494, 60);
|
||||
label1.Size = new Size(494, 60);
|
||||
label1.TabIndex = 1;
|
||||
label1.Text = "以-为分解。-前为列宽属性,-后为行高属性列宽以;分组。每一组代表一行\r\n行高属性个数要与行数对应,每个数之间用空格间隔";
|
||||
//
|
||||
@@ -96,12 +94,12 @@ namespace Demo.Controls
|
||||
//
|
||||
input1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
input1.LocalizationPrefixText = "GridPanel.Prefix";
|
||||
input1.Location = new System.Drawing.Point(0, 0);
|
||||
input1.Location = new Point(0, 0);
|
||||
input1.Margin = new System.Windows.Forms.Padding(0);
|
||||
input1.Multiline = true;
|
||||
input1.Name = "input1";
|
||||
input1.PrefixText = "Span属性";
|
||||
input1.Size = new System.Drawing.Size(500, 66);
|
||||
input1.Size = new Size(500, 66);
|
||||
input1.SuffixText = "";
|
||||
input1.TabIndex = 0;
|
||||
input1.Text = "100%;25% 25% 25% 25%;33.33% 33.33% 33.33%;50% 50%;66.66% 33.33%;-20% 20% 18% 21% 21%";
|
||||
@@ -115,11 +113,11 @@ namespace Demo.Controls
|
||||
tableLayoutPanel1.Controls.Add(label1, 1, 0);
|
||||
tableLayoutPanel1.Controls.Add(input1, 0, 0);
|
||||
tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
tableLayoutPanel1.Location = new System.Drawing.Point(0, 75);
|
||||
tableLayoutPanel1.Location = new Point(0, 75);
|
||||
tableLayoutPanel1.Name = "tableLayoutPanel1";
|
||||
tableLayoutPanel1.RowCount = 1;
|
||||
tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
||||
tableLayoutPanel1.Size = new System.Drawing.Size(1000, 66);
|
||||
tableLayoutPanel1.Size = new Size(1000, 66);
|
||||
tableLayoutPanel1.TabIndex = 1;
|
||||
//
|
||||
// gridPanel1
|
||||
@@ -137,10 +135,10 @@ namespace Demo.Controls
|
||||
gridPanel1.Controls.Add(button2);
|
||||
gridPanel1.Controls.Add(button1);
|
||||
gridPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
gridPanel1.Font = new System.Drawing.Font("Microsoft YaHei UI", 22F);
|
||||
gridPanel1.Location = new System.Drawing.Point(0, 141);
|
||||
gridPanel1.Font = new Font("Microsoft YaHei UI", 22F);
|
||||
gridPanel1.Location = new Point(0, 141);
|
||||
gridPanel1.Name = "gridPanel1";
|
||||
gridPanel1.Size = new System.Drawing.Size(1000, 659);
|
||||
gridPanel1.Size = new Size(1000, 659);
|
||||
gridPanel1.Span = "100%;25% 25% 25% 25%;33.33% 33.33% 33.33%;50% 50%;66.66% 33.33%;-20% 20% 18% 21% 21%";
|
||||
gridPanel1.TabIndex = 3;
|
||||
gridPanel1.Paint += gridPanel1_Paint;
|
||||
@@ -148,22 +146,22 @@ namespace Demo.Controls
|
||||
// button12
|
||||
//
|
||||
button12.Ghost = true;
|
||||
button12.Location = new System.Drawing.Point(667, 523);
|
||||
button12.Location = new Point(667, 523);
|
||||
button12.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
button12.Name = "button12";
|
||||
button12.Radius = 0;
|
||||
button12.Size = new System.Drawing.Size(333, 134);
|
||||
button12.Size = new Size(333, 134);
|
||||
button12.TabIndex = 12;
|
||||
button12.Text = "33.33%";
|
||||
button12.WaveSize = 0;
|
||||
//
|
||||
// button11
|
||||
//
|
||||
button11.Location = new System.Drawing.Point(0, 523);
|
||||
button11.Location = new Point(0, 523);
|
||||
button11.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
button11.Name = "button11";
|
||||
button11.Radius = 0;
|
||||
button11.Size = new System.Drawing.Size(667, 134);
|
||||
button11.Size = new Size(667, 134);
|
||||
button11.TabIndex = 11;
|
||||
button11.Text = "66.66%";
|
||||
button11.Type = AntdUI.TTypeMini.Primary;
|
||||
@@ -172,22 +170,22 @@ namespace Demo.Controls
|
||||
// button10
|
||||
//
|
||||
button10.Ghost = true;
|
||||
button10.Location = new System.Drawing.Point(500, 385);
|
||||
button10.Location = new Point(500, 385);
|
||||
button10.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
button10.Name = "button10";
|
||||
button10.Radius = 0;
|
||||
button10.Size = new System.Drawing.Size(500, 134);
|
||||
button10.Size = new Size(500, 134);
|
||||
button10.TabIndex = 10;
|
||||
button10.Text = "50%";
|
||||
button10.WaveSize = 0;
|
||||
//
|
||||
// button9
|
||||
//
|
||||
button9.Location = new System.Drawing.Point(0, 385);
|
||||
button9.Location = new Point(0, 385);
|
||||
button9.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
button9.Name = "button9";
|
||||
button9.Radius = 0;
|
||||
button9.Size = new System.Drawing.Size(500, 134);
|
||||
button9.Size = new Size(500, 134);
|
||||
button9.TabIndex = 9;
|
||||
button9.Text = "50%";
|
||||
button9.Type = AntdUI.TTypeMini.Primary;
|
||||
@@ -195,11 +193,11 @@ namespace Demo.Controls
|
||||
//
|
||||
// button8
|
||||
//
|
||||
button8.Location = new System.Drawing.Point(666, 266);
|
||||
button8.Location = new Point(666, 266);
|
||||
button8.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
button8.Name = "button8";
|
||||
button8.Radius = 0;
|
||||
button8.Size = new System.Drawing.Size(333, 115);
|
||||
button8.Size = new Size(333, 115);
|
||||
button8.TabIndex = 8;
|
||||
button8.Text = "33.33%";
|
||||
button8.Type = AntdUI.TTypeMini.Primary;
|
||||
@@ -208,22 +206,22 @@ namespace Demo.Controls
|
||||
// button7
|
||||
//
|
||||
button7.Ghost = true;
|
||||
button7.Location = new System.Drawing.Point(333, 266);
|
||||
button7.Location = new Point(333, 266);
|
||||
button7.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
button7.Name = "button7";
|
||||
button7.Radius = 0;
|
||||
button7.Size = new System.Drawing.Size(333, 115);
|
||||
button7.Size = new Size(333, 115);
|
||||
button7.TabIndex = 7;
|
||||
button7.Text = "33.33%";
|
||||
button7.WaveSize = 0;
|
||||
//
|
||||
// button6
|
||||
//
|
||||
button6.Location = new System.Drawing.Point(0, 266);
|
||||
button6.Location = new Point(0, 266);
|
||||
button6.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
button6.Name = "button6";
|
||||
button6.Radius = 0;
|
||||
button6.Size = new System.Drawing.Size(333, 115);
|
||||
button6.Size = new Size(333, 115);
|
||||
button6.TabIndex = 6;
|
||||
button6.Text = "33.33%";
|
||||
button6.Type = AntdUI.TTypeMini.Primary;
|
||||
@@ -232,22 +230,22 @@ namespace Demo.Controls
|
||||
// button5
|
||||
//
|
||||
button5.Ghost = true;
|
||||
button5.Location = new System.Drawing.Point(750, 134);
|
||||
button5.Location = new Point(750, 134);
|
||||
button5.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
button5.Name = "button5";
|
||||
button5.Radius = 0;
|
||||
button5.Size = new System.Drawing.Size(250, 128);
|
||||
button5.Size = new Size(250, 128);
|
||||
button5.TabIndex = 5;
|
||||
button5.Text = "25%";
|
||||
button5.WaveSize = 0;
|
||||
//
|
||||
// button4
|
||||
//
|
||||
button4.Location = new System.Drawing.Point(500, 134);
|
||||
button4.Location = new Point(500, 134);
|
||||
button4.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
button4.Name = "button4";
|
||||
button4.Radius = 0;
|
||||
button4.Size = new System.Drawing.Size(250, 128);
|
||||
button4.Size = new Size(250, 128);
|
||||
button4.TabIndex = 4;
|
||||
button4.Text = "25%";
|
||||
button4.Type = AntdUI.TTypeMini.Primary;
|
||||
@@ -256,22 +254,22 @@ namespace Demo.Controls
|
||||
// button3
|
||||
//
|
||||
button3.Ghost = true;
|
||||
button3.Location = new System.Drawing.Point(250, 134);
|
||||
button3.Location = new Point(250, 134);
|
||||
button3.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
button3.Name = "button3";
|
||||
button3.Radius = 0;
|
||||
button3.Size = new System.Drawing.Size(250, 128);
|
||||
button3.Size = new Size(250, 128);
|
||||
button3.TabIndex = 3;
|
||||
button3.Text = "25%";
|
||||
button3.WaveSize = 0;
|
||||
//
|
||||
// button2
|
||||
//
|
||||
button2.Location = new System.Drawing.Point(0, 134);
|
||||
button2.Location = new Point(0, 134);
|
||||
button2.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
button2.Name = "button2";
|
||||
button2.Radius = 0;
|
||||
button2.Size = new System.Drawing.Size(250, 128);
|
||||
button2.Size = new Size(250, 128);
|
||||
button2.TabIndex = 2;
|
||||
button2.Text = "25%";
|
||||
button2.Type = AntdUI.TTypeMini.Primary;
|
||||
@@ -279,11 +277,11 @@ namespace Demo.Controls
|
||||
//
|
||||
// button1
|
||||
//
|
||||
button1.Location = new System.Drawing.Point(0, 2);
|
||||
button1.Location = new Point(0, 2);
|
||||
button1.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
button1.Name = "button1";
|
||||
button1.Radius = 0;
|
||||
button1.Size = new System.Drawing.Size(1000, 128);
|
||||
button1.Size = new Size(1000, 128);
|
||||
button1.TabIndex = 1;
|
||||
button1.Text = "100%";
|
||||
button1.Type = AntdUI.TTypeMini.Primary;
|
||||
@@ -294,8 +292,9 @@ namespace Demo.Controls
|
||||
Controls.Add(gridPanel1);
|
||||
Controls.Add(tableLayoutPanel1);
|
||||
Controls.Add(header1);
|
||||
Font = new Font("Microsoft YaHei UI", 12F);
|
||||
Name = "GridPanel";
|
||||
Size = new System.Drawing.Size(1000, 800);
|
||||
Size = new Size(1000, 800);
|
||||
tableLayoutPanel1.ResumeLayout(false);
|
||||
gridPanel1.ResumeLayout(false);
|
||||
ResumeLayout(false);
|
||||
|
||||
34
example/Demo/Controls/Icon.Designer.cs
generated
34
example/Demo/Controls/Icon.Designer.cs
generated
@@ -43,14 +43,10 @@ namespace Demo.Controls
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
AntdUI.SegmentedItem segmentedItem3 = new AntdUI.SegmentedItem();
|
||||
AntdUI.SegmentedItem segmentedItem4 = new AntdUI.SegmentedItem();
|
||||
AntdUI.SegmentedItem segmentedItem1 = new AntdUI.SegmentedItem();
|
||||
AntdUI.SegmentedItem segmentedItem2 = new AntdUI.SegmentedItem();
|
||||
header1 = new AntdUI.PageHeader();
|
||||
segmented1 = new AntdUI.Segmented();
|
||||
panel1 = new System.Windows.Forms.Panel();
|
||||
@@ -78,11 +74,27 @@ namespace Demo.Controls
|
||||
//
|
||||
segmented1.Dock = DockStyle.Left;
|
||||
segmented1.IconAlign = AntdUI.TAlignMini.Left;
|
||||
segmentedItem3.Text = "线框风格";
|
||||
segmentedItem4.IconSvg = "<svg viewBox=\"0 0 1024 1024\"><path d=\"M864 64H160C107 64 64 107 64 160v704c0 53 43 96 96 96h704c53 0 96-43 96-96V160c0-53-43-96-96-96z\"></path></svg>";
|
||||
segmentedItem4.Text = "实底风格";
|
||||
segmented1.Items.Add(segmentedItem3);
|
||||
segmented1.Items.Add(segmentedItem4);
|
||||
segmentedItem1.Badge = null;
|
||||
segmentedItem1.BadgeAlign = AntdUI.TAlign.TR;
|
||||
segmentedItem1.BadgeBack = null;
|
||||
segmentedItem1.BadgeMode = false;
|
||||
segmentedItem1.BadgeOffsetX = 0;
|
||||
segmentedItem1.BadgeOffsetY = 0;
|
||||
segmentedItem1.BadgeSize = 0.6F;
|
||||
segmentedItem1.BadgeSvg = null;
|
||||
segmentedItem1.Text = "线框风格";
|
||||
segmentedItem2.Badge = null;
|
||||
segmentedItem2.BadgeAlign = AntdUI.TAlign.TR;
|
||||
segmentedItem2.BadgeBack = null;
|
||||
segmentedItem2.BadgeMode = false;
|
||||
segmentedItem2.BadgeOffsetX = 0;
|
||||
segmentedItem2.BadgeOffsetY = 0;
|
||||
segmentedItem2.BadgeSize = 0.6F;
|
||||
segmentedItem2.BadgeSvg = null;
|
||||
segmentedItem2.IconSvg = "<svg viewBox=\"0 0 1024 1024\"><path d=\"M864 64H160C107 64 64 107 64 160v704c0 53 43 96 96 96h704c53 0 96-43 96-96V160c0-53-43-96-96-96z\"></path></svg>";
|
||||
segmentedItem2.Text = "实底风格";
|
||||
segmented1.Items.Add(segmentedItem1);
|
||||
segmented1.Items.Add(segmentedItem2);
|
||||
segmented1.Location = new Point(10, 0);
|
||||
segmented1.Name = "segmented1";
|
||||
segmented1.SelectIndex = 0;
|
||||
|
||||
14
example/Demo/Controls/Input.Designer.cs
generated
14
example/Demo/Controls/Input.Designer.cs
generated
@@ -43,10 +43,6 @@ namespace Demo.Controls
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
input1 = new AntdUI.Input();
|
||||
@@ -169,7 +165,7 @@ namespace Demo.Controls
|
||||
label1.LocalizationText = "Input.Code";
|
||||
label1.Location = new Point(262, 71);
|
||||
label1.Name = "label1";
|
||||
label1.Size = new Size(105, 23);
|
||||
label1.Size = new Size(96, 23);
|
||||
label1.TabIndex = 0;
|
||||
label1.Text = "请输入验证码";
|
||||
//
|
||||
@@ -201,8 +197,8 @@ namespace Demo.Controls
|
||||
ic4.Size = new Size(46, 44);
|
||||
ic4.TabIndex = 4;
|
||||
ic4.TextAlign = HorizontalAlignment.Center;
|
||||
ic4.TextChanged += CodeTextChanged;
|
||||
ic4.VerifyKeyboard += VerifyKeyboard;
|
||||
ic4.TextChanged += CodeTextChanged;
|
||||
ic4.KeyPress += CodeKeyPress;
|
||||
//
|
||||
// ic3
|
||||
@@ -214,8 +210,8 @@ namespace Demo.Controls
|
||||
ic3.Size = new Size(46, 44);
|
||||
ic3.TabIndex = 3;
|
||||
ic3.TextAlign = HorizontalAlignment.Center;
|
||||
ic3.TextChanged += CodeTextChanged;
|
||||
ic3.VerifyKeyboard += VerifyKeyboard;
|
||||
ic3.TextChanged += CodeTextChanged;
|
||||
ic3.KeyPress += CodeKeyPress;
|
||||
//
|
||||
// ic2
|
||||
@@ -227,8 +223,8 @@ namespace Demo.Controls
|
||||
ic2.Size = new Size(46, 44);
|
||||
ic2.TabIndex = 2;
|
||||
ic2.TextAlign = HorizontalAlignment.Center;
|
||||
ic2.TextChanged += CodeTextChanged;
|
||||
ic2.VerifyKeyboard += VerifyKeyboard;
|
||||
ic2.TextChanged += CodeTextChanged;
|
||||
ic2.KeyPress += CodeKeyPress;
|
||||
//
|
||||
// ic1
|
||||
@@ -240,8 +236,8 @@ namespace Demo.Controls
|
||||
ic1.Size = new Size(46, 44);
|
||||
ic1.TabIndex = 1;
|
||||
ic1.TextAlign = HorizontalAlignment.Center;
|
||||
ic1.TextChanged += CodeTextChanged;
|
||||
ic1.VerifyKeyboard += VerifyKeyboard;
|
||||
ic1.TextChanged += CodeTextChanged;
|
||||
ic1.KeyPress += CodeKeyPress;
|
||||
//
|
||||
// panel5
|
||||
|
||||
4
example/Demo/Controls/InputNumber.Designer.cs
generated
4
example/Demo/Controls/InputNumber.Designer.cs
generated
@@ -43,10 +43,6 @@ namespace Demo.Controls
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
header1 = new AntdUI.PageHeader();
|
||||
|
||||
7
example/Demo/Controls/Menu.Designer.cs
generated
7
example/Demo/Controls/Menu.Designer.cs
generated
@@ -43,10 +43,6 @@ namespace Demo.Controls
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
AntdUI.MenuItem menuItem1 = new AntdUI.MenuItem();
|
||||
@@ -187,6 +183,8 @@ namespace Demo.Controls
|
||||
//
|
||||
menu2.Dock = DockStyle.Left;
|
||||
menuItem8.IconSvg = "MailOutlined";
|
||||
menuItem8.Select = true;
|
||||
menuItem9.Select = true;
|
||||
menuItem10.Select = true;
|
||||
menuItem10.Text = "Option 1";
|
||||
menuItem11.Text = "Option 2";
|
||||
@@ -399,6 +397,7 @@ namespace Demo.Controls
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private AntdUI.PageHeader header1;
|
||||
private AntdUI.Divider divider1;
|
||||
private AntdUI.Menu menu1;
|
||||
|
||||
4
example/Demo/Controls/Message.Designer.cs
generated
4
example/Demo/Controls/Message.Designer.cs
generated
@@ -43,10 +43,6 @@ namespace Demo.Controls
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
header1 = new AntdUI.PageHeader();
|
||||
|
||||
4
example/Demo/Controls/Modal.Designer.cs
generated
4
example/Demo/Controls/Modal.Designer.cs
generated
@@ -43,10 +43,6 @@ namespace Demo.Controls
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
header1 = new AntdUI.PageHeader();
|
||||
|
||||
4
example/Demo/Controls/Notification.Designer.cs
generated
4
example/Demo/Controls/Notification.Designer.cs
generated
@@ -43,10 +43,6 @@ namespace Demo.Controls
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
header1 = new AntdUI.PageHeader();
|
||||
|
||||
6
example/Demo/Controls/PageHeader.Designer.cs
generated
6
example/Demo/Controls/PageHeader.Designer.cs
generated
@@ -43,10 +43,6 @@ namespace Demo.Controls
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
header1 = new AntdUI.PageHeader();
|
||||
@@ -171,7 +167,7 @@ namespace Demo.Controls
|
||||
Controls.Add(pageHeader1);
|
||||
Controls.Add(divider1);
|
||||
Controls.Add(header1);
|
||||
Font = new Font("Microsoft YaHei UI", 11F);
|
||||
Font = new Font("Microsoft YaHei UI", 12F);
|
||||
Name = "PageHeader";
|
||||
Size = new Size(740, 402);
|
||||
pageHeader1.ResumeLayout(false);
|
||||
|
||||
9
example/Demo/Controls/Pagination.Designer.cs
generated
9
example/Demo/Controls/Pagination.Designer.cs
generated
@@ -43,10 +43,6 @@ namespace Demo.Controls
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
header1 = new AntdUI.PageHeader();
|
||||
@@ -88,7 +84,7 @@ namespace Demo.Controls
|
||||
pagination2.Name = "pagination2";
|
||||
pagination2.Padding = new Padding(4);
|
||||
pagination2.ShowSizeChanger = true;
|
||||
pagination2.Size = new Size(359, 46);
|
||||
pagination2.Size = new Size(397, 46);
|
||||
pagination2.TabIndex = 12;
|
||||
pagination2.Total = 100;
|
||||
//
|
||||
@@ -106,7 +102,7 @@ namespace Demo.Controls
|
||||
//
|
||||
Controls.Add(panel1);
|
||||
Controls.Add(header1);
|
||||
Font = new Font("Microsoft YaHei UI", 10F);
|
||||
Font = new Font("Microsoft YaHei UI", 12F);
|
||||
Name = "Pagination";
|
||||
Size = new Size(1300, 676);
|
||||
panel1.ResumeLayout(false);
|
||||
@@ -114,6 +110,7 @@ namespace Demo.Controls
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private AntdUI.PageHeader header1;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private AntdUI.Pagination pagination2;
|
||||
|
||||
17
example/Demo/Controls/Panel.Designer.cs
generated
17
example/Demo/Controls/Panel.Designer.cs
generated
@@ -43,10 +43,6 @@ namespace Demo.Controls
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
header1 = new AntdUI.PageHeader();
|
||||
@@ -83,10 +79,10 @@ namespace Demo.Controls
|
||||
header1.Description = "内容区域。";
|
||||
header1.Dock = DockStyle.Top;
|
||||
header1.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
header1.Location = new Point(0, 0);
|
||||
header1.Name = "header1";
|
||||
header1.LocalizationDescription = "Panel.Description";
|
||||
header1.LocalizationText = "Panel.Text";
|
||||
header1.Location = new Point(0, 0);
|
||||
header1.Name = "header1";
|
||||
header1.Padding = new Padding(0, 0, 0, 10);
|
||||
header1.Size = new Size(835, 74);
|
||||
header1.TabIndex = 0;
|
||||
@@ -129,10 +125,11 @@ namespace Demo.Controls
|
||||
label5.Font = new Font("Microsoft YaHei UI", 11F);
|
||||
label5.Location = new Point(24, 73);
|
||||
label5.Name = "label5";
|
||||
label5.Padding = new Padding(20, 10, 0, 0);
|
||||
label5.Padding = new Padding(20, 0, 0, 0);
|
||||
label5.Size = new Size(221, 124);
|
||||
label5.TabIndex = 2;
|
||||
label5.Text = "Card content\r\n\r\nCard content\r\n\r\nCard content";
|
||||
label5.TextAlign = ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// divider1
|
||||
//
|
||||
@@ -180,10 +177,11 @@ namespace Demo.Controls
|
||||
label1.Font = new Font("Microsoft YaHei UI", 11F);
|
||||
label1.Location = new Point(24, 73);
|
||||
label1.Name = "label1";
|
||||
label1.Padding = new Padding(20, 10, 0, 0);
|
||||
label1.Padding = new Padding(20, 0, 0, 0);
|
||||
label1.Size = new Size(221, 124);
|
||||
label1.TabIndex = 2;
|
||||
label1.Text = "Card content\r\n\r\nCard content\r\n\r\nCard content";
|
||||
label1.TextAlign = ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// divider3
|
||||
//
|
||||
@@ -352,7 +350,7 @@ namespace Demo.Controls
|
||||
//
|
||||
Controls.Add(flowLayoutPanel1);
|
||||
Controls.Add(header1);
|
||||
Font = new Font("Microsoft YaHei UI", 16F);
|
||||
Font = new Font("Microsoft YaHei UI", 12F);
|
||||
Name = "Panel";
|
||||
Size = new Size(835, 634);
|
||||
flowLayoutPanel1.ResumeLayout(false);
|
||||
@@ -365,6 +363,7 @@ namespace Demo.Controls
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private AntdUI.PageHeader header1;
|
||||
private FlowLayoutPanel flowLayoutPanel1;
|
||||
private AntdUI.Panel panel9;
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
|
||||
Example:
|
||||
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
@@ -26,36 +26,36 @@
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
|
||||
5
example/Demo/Controls/Popover.Designer.cs
generated
5
example/Demo/Controls/Popover.Designer.cs
generated
@@ -43,10 +43,6 @@ namespace Demo.Controls
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
header1 = new AntdUI.PageHeader();
|
||||
@@ -315,6 +311,7 @@ namespace Demo.Controls
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private AntdUI.PageHeader header1;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.Panel panel3;
|
||||
|
||||
5
example/Demo/Controls/Preview.Designer.cs
generated
5
example/Demo/Controls/Preview.Designer.cs
generated
@@ -43,10 +43,6 @@ namespace Demo.Controls
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
header1 = new AntdUI.PageHeader();
|
||||
@@ -160,6 +156,7 @@ namespace Demo.Controls
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private AntdUI.PageHeader header1;
|
||||
private System.Windows.Forms.FlowLayoutPanel panel1;
|
||||
private AntdUI.Divider divider1;
|
||||
|
||||
5
example/Demo/Controls/Progress.Designer.cs
generated
5
example/Demo/Controls/Progress.Designer.cs
generated
@@ -43,10 +43,6 @@ namespace Demo.Controls
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
header1 = new AntdUI.PageHeader();
|
||||
@@ -477,6 +473,7 @@ namespace Demo.Controls
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private AntdUI.PageHeader header1;
|
||||
private AntdUI.Progress progress1;
|
||||
private System.Windows.Forms.Panel panel_l;
|
||||
|
||||
5
example/Demo/Controls/Radio.Designer.cs
generated
5
example/Demo/Controls/Radio.Designer.cs
generated
@@ -43,10 +43,6 @@ namespace Demo.Controls
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
header1 = new AntdUI.PageHeader();
|
||||
@@ -329,6 +325,7 @@ namespace Demo.Controls
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private AntdUI.PageHeader header1;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.Panel panel2;
|
||||
|
||||
7
example/Demo/Controls/Rate.Designer.cs
generated
7
example/Demo/Controls/Rate.Designer.cs
generated
@@ -43,10 +43,6 @@ namespace Demo.Controls
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
header1 = new AntdUI.PageHeader();
|
||||
@@ -163,7 +159,7 @@ namespace Demo.Controls
|
||||
//
|
||||
Controls.Add(panel1);
|
||||
Controls.Add(header1);
|
||||
Font = new Font("Microsoft YaHei UI", 16F);
|
||||
Font = new Font("Microsoft YaHei UI", 12F);
|
||||
Name = "Rate";
|
||||
Size = new Size(614, 446);
|
||||
panel1.ResumeLayout(false);
|
||||
@@ -171,6 +167,7 @@ namespace Demo.Controls
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private AntdUI.PageHeader header1;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private AntdUI.Rate rate4;
|
||||
|
||||
6
example/Demo/Controls/Result.Designer.cs
generated
6
example/Demo/Controls/Result.Designer.cs
generated
@@ -43,10 +43,6 @@ namespace Demo.Controls
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
header1 = new AntdUI.PageHeader();
|
||||
@@ -128,8 +124,8 @@ namespace Demo.Controls
|
||||
Controls.Add(button1);
|
||||
Controls.Add(label2);
|
||||
Controls.Add(label1);
|
||||
Controls.Add(header1);
|
||||
Controls.Add(iconState);
|
||||
Controls.Add(header1);
|
||||
Font = new Font("Microsoft YaHei UI", 12F);
|
||||
Name = "Result";
|
||||
Size = new Size(677, 450);
|
||||
|
||||
337
example/Demo/Controls/Segmented.Designer.cs
generated
337
example/Demo/Controls/Segmented.Designer.cs
generated
@@ -43,25 +43,26 @@ namespace Demo.Controls
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
AntdUI.SegmentedItem segmentedItem1 = new AntdUI.SegmentedItem();
|
||||
AntdUI.SegmentedItem segmentedItem2 = new AntdUI.SegmentedItem();
|
||||
AntdUI.SegmentedItem segmentedItem3 = new AntdUI.SegmentedItem();
|
||||
AntdUI.SegmentedItem segmentedItem4 = new AntdUI.SegmentedItem();
|
||||
AntdUI.SegmentedItem segmentedItem5 = new AntdUI.SegmentedItem();
|
||||
AntdUI.SegmentedItem segmentedItem6 = new AntdUI.SegmentedItem();
|
||||
AntdUI.SegmentedItem segmentedItem7 = new AntdUI.SegmentedItem();
|
||||
AntdUI.SegmentedItem segmentedItem8 = new AntdUI.SegmentedItem();
|
||||
AntdUI.SegmentedItem segmentedItem9 = new AntdUI.SegmentedItem();
|
||||
AntdUI.SegmentedItem segmentedItem10 = new AntdUI.SegmentedItem();
|
||||
AntdUI.SegmentedItem segmentedItem11 = new AntdUI.SegmentedItem();
|
||||
AntdUI.SegmentedItem segmentedItem12 = new AntdUI.SegmentedItem();
|
||||
AntdUI.SegmentedItem segmentedItem13 = new AntdUI.SegmentedItem();
|
||||
AntdUI.SegmentedItem segmentedItem19 = new AntdUI.SegmentedItem();
|
||||
AntdUI.SegmentedItem segmentedItem20 = new AntdUI.SegmentedItem();
|
||||
AntdUI.SegmentedItem segmentedItem21 = new AntdUI.SegmentedItem();
|
||||
AntdUI.SegmentedItem segmentedItem22 = new AntdUI.SegmentedItem();
|
||||
AntdUI.SegmentedItem segmentedItem23 = new AntdUI.SegmentedItem();
|
||||
AntdUI.SegmentedItem segmentedItem24 = new AntdUI.SegmentedItem();
|
||||
AntdUI.SegmentedItem segmentedItem25 = new AntdUI.SegmentedItem();
|
||||
AntdUI.SegmentedItem segmentedItem26 = new AntdUI.SegmentedItem();
|
||||
AntdUI.SegmentedItem segmentedItem27 = new AntdUI.SegmentedItem();
|
||||
AntdUI.SegmentedItem segmentedItem28 = new AntdUI.SegmentedItem();
|
||||
AntdUI.SegmentedItem segmentedItem29 = new AntdUI.SegmentedItem();
|
||||
AntdUI.SegmentedItem segmentedItem30 = new AntdUI.SegmentedItem();
|
||||
AntdUI.SegmentedItem segmentedItem31 = new AntdUI.SegmentedItem();
|
||||
AntdUI.SegmentedItem segmentedItem32 = new AntdUI.SegmentedItem();
|
||||
AntdUI.SegmentedItem segmentedItem33 = new AntdUI.SegmentedItem();
|
||||
AntdUI.SegmentedItem segmentedItem34 = new AntdUI.SegmentedItem();
|
||||
AntdUI.SegmentedItem segmentedItem35 = new AntdUI.SegmentedItem();
|
||||
AntdUI.SegmentedItem segmentedItem36 = new AntdUI.SegmentedItem();
|
||||
header1 = new AntdUI.PageHeader();
|
||||
panel1 = new System.Windows.Forms.Panel();
|
||||
segmented3 = new AntdUI.Segmented();
|
||||
@@ -69,6 +70,10 @@ namespace Demo.Controls
|
||||
segmented2 = new AntdUI.Segmented();
|
||||
divider1 = new AntdUI.Divider();
|
||||
segmented1 = new AntdUI.Segmented();
|
||||
divider3 = new AntdUI.Divider();
|
||||
segmented4 = new AntdUI.Segmented();
|
||||
divider4 = new AntdUI.Divider();
|
||||
segmented5 = new AntdUI.Segmented();
|
||||
panel1.SuspendLayout();
|
||||
SuspendLayout();
|
||||
//
|
||||
@@ -90,6 +95,10 @@ namespace Demo.Controls
|
||||
// panel1
|
||||
//
|
||||
panel1.AutoScroll = true;
|
||||
panel1.Controls.Add(segmented5);
|
||||
panel1.Controls.Add(divider4);
|
||||
panel1.Controls.Add(segmented4);
|
||||
panel1.Controls.Add(divider3);
|
||||
panel1.Controls.Add(segmented3);
|
||||
panel1.Controls.Add(divider2);
|
||||
panel1.Controls.Add(segmented2);
|
||||
@@ -105,88 +114,277 @@ namespace Demo.Controls
|
||||
//
|
||||
segmented3.Dock = DockStyle.Top;
|
||||
segmented3.IconAlign = AntdUI.TAlignMini.Left;
|
||||
segmentedItem1.IconSvg = "GiftFilled";
|
||||
segmentedItem1.Text = "Daily";
|
||||
segmentedItem2.IconSvg = "TrophyFilled";
|
||||
segmentedItem2.Text = "Weekly";
|
||||
segmentedItem3.IconSvg = "DashboardFilled";
|
||||
segmentedItem3.Text = "Monthly";
|
||||
segmentedItem4.IconActiveSvg = "HeartFilled";
|
||||
segmentedItem4.IconSvg = "LikeFilled";
|
||||
segmentedItem4.Text = "Quarterly";
|
||||
segmented3.Items.Add(segmentedItem1);
|
||||
segmented3.Items.Add(segmentedItem2);
|
||||
segmented3.Items.Add(segmentedItem3);
|
||||
segmented3.Items.Add(segmentedItem4);
|
||||
segmented3.Location = new Point(0, 149);
|
||||
segmentedItem19.Badge = null;
|
||||
segmentedItem19.BadgeAlign = AntdUI.TAlign.TR;
|
||||
segmentedItem19.BadgeBack = null;
|
||||
segmentedItem19.BadgeMode = false;
|
||||
segmentedItem19.BadgeOffsetX = 0;
|
||||
segmentedItem19.BadgeOffsetY = 0;
|
||||
segmentedItem19.BadgeSize = 0.6F;
|
||||
segmentedItem19.BadgeSvg = null;
|
||||
segmentedItem19.IconSvg = "GiftFilled";
|
||||
segmentedItem19.Text = "Daily";
|
||||
segmentedItem20.Badge = null;
|
||||
segmentedItem20.BadgeAlign = AntdUI.TAlign.TR;
|
||||
segmentedItem20.BadgeBack = null;
|
||||
segmentedItem20.BadgeMode = false;
|
||||
segmentedItem20.BadgeOffsetX = 0;
|
||||
segmentedItem20.BadgeOffsetY = 0;
|
||||
segmentedItem20.BadgeSize = 0.6F;
|
||||
segmentedItem20.BadgeSvg = null;
|
||||
segmentedItem20.IconSvg = "TrophyFilled";
|
||||
segmentedItem20.Text = "Weekly";
|
||||
segmentedItem21.Badge = null;
|
||||
segmentedItem21.BadgeAlign = AntdUI.TAlign.TR;
|
||||
segmentedItem21.BadgeBack = null;
|
||||
segmentedItem21.BadgeMode = false;
|
||||
segmentedItem21.BadgeOffsetX = 0;
|
||||
segmentedItem21.BadgeOffsetY = 0;
|
||||
segmentedItem21.BadgeSize = 0.6F;
|
||||
segmentedItem21.BadgeSvg = null;
|
||||
segmentedItem21.IconSvg = "DashboardFilled";
|
||||
segmentedItem21.Text = "Monthly";
|
||||
segmentedItem22.Badge = null;
|
||||
segmentedItem22.BadgeAlign = AntdUI.TAlign.TR;
|
||||
segmentedItem22.BadgeBack = null;
|
||||
segmentedItem22.BadgeMode = false;
|
||||
segmentedItem22.BadgeOffsetX = 0;
|
||||
segmentedItem22.BadgeOffsetY = 0;
|
||||
segmentedItem22.BadgeSize = 0.6F;
|
||||
segmentedItem22.BadgeSvg = null;
|
||||
segmentedItem22.IconActiveSvg = "HeartFilled";
|
||||
segmentedItem22.IconSvg = "LikeFilled";
|
||||
segmentedItem22.Text = "Quarterly";
|
||||
segmented3.Items.Add(segmentedItem19);
|
||||
segmented3.Items.Add(segmentedItem20);
|
||||
segmented3.Items.Add(segmentedItem21);
|
||||
segmented3.Items.Add(segmentedItem22);
|
||||
segmented3.Location = new Point(0, 168);
|
||||
segmented3.Name = "segmented3";
|
||||
segmented3.SelectIndex = 0;
|
||||
segmented3.Size = new Size(1300, 36);
|
||||
segmented3.TabIndex = 12;
|
||||
segmented3.Size = new Size(1300, 45);
|
||||
segmented3.TabIndex = 2;
|
||||
//
|
||||
// divider2
|
||||
//
|
||||
divider2.Dock = DockStyle.Top;
|
||||
divider2.Location = new Point(0, 129);
|
||||
divider2.Location = new Point(0, 148);
|
||||
divider2.Name = "divider2";
|
||||
divider2.Size = new Size(1300, 20);
|
||||
divider2.TabIndex = 15;
|
||||
divider2.TabIndex = 0;
|
||||
//
|
||||
// segmented2
|
||||
//
|
||||
segmented2.Dock = DockStyle.Top;
|
||||
segmentedItem5.IconSvg = "GiftFilled";
|
||||
segmentedItem5.Text = "Daily";
|
||||
segmentedItem6.IconSvg = "TrophyFilled";
|
||||
segmentedItem6.Text = "Weekly";
|
||||
segmentedItem7.IconSvg = "DashboardFilled";
|
||||
segmentedItem7.Text = "Monthly";
|
||||
segmentedItem8.IconActiveSvg = "HeartFilled";
|
||||
segmentedItem8.IconSvg = "LikeFilled";
|
||||
segmentedItem8.Text = "Quarterly";
|
||||
segmented2.Items.Add(segmentedItem5);
|
||||
segmented2.Items.Add(segmentedItem6);
|
||||
segmented2.Items.Add(segmentedItem7);
|
||||
segmented2.Items.Add(segmentedItem8);
|
||||
segmented2.Location = new Point(0, 56);
|
||||
segmentedItem23.Badge = null;
|
||||
segmentedItem23.BadgeAlign = AntdUI.TAlign.TR;
|
||||
segmentedItem23.BadgeBack = null;
|
||||
segmentedItem23.BadgeMode = false;
|
||||
segmentedItem23.BadgeOffsetX = 0;
|
||||
segmentedItem23.BadgeOffsetY = 0;
|
||||
segmentedItem23.BadgeSize = 0.6F;
|
||||
segmentedItem23.BadgeSvg = null;
|
||||
segmentedItem23.IconSvg = "GiftFilled";
|
||||
segmentedItem23.Text = "Daily";
|
||||
segmentedItem24.Badge = null;
|
||||
segmentedItem24.BadgeAlign = AntdUI.TAlign.TR;
|
||||
segmentedItem24.BadgeBack = null;
|
||||
segmentedItem24.BadgeMode = false;
|
||||
segmentedItem24.BadgeOffsetX = 0;
|
||||
segmentedItem24.BadgeOffsetY = 0;
|
||||
segmentedItem24.BadgeSize = 0.6F;
|
||||
segmentedItem24.BadgeSvg = null;
|
||||
segmentedItem24.IconSvg = "TrophyFilled";
|
||||
segmentedItem24.Text = "Weekly";
|
||||
segmentedItem25.Badge = null;
|
||||
segmentedItem25.BadgeAlign = AntdUI.TAlign.TR;
|
||||
segmentedItem25.BadgeBack = null;
|
||||
segmentedItem25.BadgeMode = false;
|
||||
segmentedItem25.BadgeOffsetX = 0;
|
||||
segmentedItem25.BadgeOffsetY = 0;
|
||||
segmentedItem25.BadgeSize = 0.6F;
|
||||
segmentedItem25.BadgeSvg = null;
|
||||
segmentedItem25.IconSvg = "DashboardFilled";
|
||||
segmentedItem25.Text = "Monthly";
|
||||
segmentedItem26.Badge = null;
|
||||
segmentedItem26.BadgeAlign = AntdUI.TAlign.TR;
|
||||
segmentedItem26.BadgeBack = null;
|
||||
segmentedItem26.BadgeMode = false;
|
||||
segmentedItem26.BadgeOffsetX = 0;
|
||||
segmentedItem26.BadgeOffsetY = 0;
|
||||
segmentedItem26.BadgeSize = 0.6F;
|
||||
segmentedItem26.BadgeSvg = null;
|
||||
segmentedItem26.IconActiveSvg = "HeartFilled";
|
||||
segmentedItem26.IconSvg = "LikeFilled";
|
||||
segmentedItem26.Text = "Quarterly";
|
||||
segmented2.Items.Add(segmentedItem23);
|
||||
segmented2.Items.Add(segmentedItem24);
|
||||
segmented2.Items.Add(segmentedItem25);
|
||||
segmented2.Items.Add(segmentedItem26);
|
||||
segmented2.Location = new Point(0, 59);
|
||||
segmented2.Margin = new Padding(1);
|
||||
segmented2.Name = "segmented2";
|
||||
segmented2.SelectIndex = 0;
|
||||
segmented2.Size = new Size(1300, 73);
|
||||
segmented2.TabIndex = 12;
|
||||
segmented2.Size = new Size(1300, 89);
|
||||
segmented2.TabIndex = 1;
|
||||
//
|
||||
// divider1
|
||||
//
|
||||
divider1.Dock = DockStyle.Top;
|
||||
divider1.Location = new Point(0, 36);
|
||||
divider1.Location = new Point(0, 39);
|
||||
divider1.Name = "divider1";
|
||||
divider1.Size = new Size(1300, 20);
|
||||
divider1.TabIndex = 14;
|
||||
divider1.TabIndex = 0;
|
||||
//
|
||||
// segmented1
|
||||
//
|
||||
segmented1.Dock = DockStyle.Top;
|
||||
segmentedItem9.Text = "Daily";
|
||||
segmentedItem10.Text = "Weekly";
|
||||
segmentedItem11.Text = "Monthly";
|
||||
segmentedItem12.Text = "Quarterly";
|
||||
segmentedItem13.Text = "Yearly";
|
||||
segmented1.Items.Add(segmentedItem9);
|
||||
segmented1.Items.Add(segmentedItem10);
|
||||
segmented1.Items.Add(segmentedItem11);
|
||||
segmented1.Items.Add(segmentedItem12);
|
||||
segmented1.Items.Add(segmentedItem13);
|
||||
segmentedItem27.Badge = null;
|
||||
segmentedItem27.BadgeAlign = AntdUI.TAlign.TR;
|
||||
segmentedItem27.BadgeBack = null;
|
||||
segmentedItem27.BadgeMode = false;
|
||||
segmentedItem27.BadgeOffsetX = 0;
|
||||
segmentedItem27.BadgeOffsetY = 0;
|
||||
segmentedItem27.BadgeSize = 0.6F;
|
||||
segmentedItem27.BadgeSvg = null;
|
||||
segmentedItem27.Text = "Daily";
|
||||
segmentedItem28.Badge = null;
|
||||
segmentedItem28.BadgeAlign = AntdUI.TAlign.TR;
|
||||
segmentedItem28.BadgeBack = null;
|
||||
segmentedItem28.BadgeMode = false;
|
||||
segmentedItem28.BadgeOffsetX = 0;
|
||||
segmentedItem28.BadgeOffsetY = 0;
|
||||
segmentedItem28.BadgeSize = 0.6F;
|
||||
segmentedItem28.BadgeSvg = null;
|
||||
segmentedItem28.Text = "Weekly";
|
||||
segmentedItem29.Badge = null;
|
||||
segmentedItem29.BadgeAlign = AntdUI.TAlign.TR;
|
||||
segmentedItem29.BadgeBack = null;
|
||||
segmentedItem29.BadgeMode = false;
|
||||
segmentedItem29.BadgeOffsetX = 0;
|
||||
segmentedItem29.BadgeOffsetY = 0;
|
||||
segmentedItem29.BadgeSize = 0.6F;
|
||||
segmentedItem29.BadgeSvg = null;
|
||||
segmentedItem29.Text = "Monthly";
|
||||
segmentedItem30.Badge = null;
|
||||
segmentedItem30.BadgeAlign = AntdUI.TAlign.TR;
|
||||
segmentedItem30.BadgeBack = null;
|
||||
segmentedItem30.BadgeMode = false;
|
||||
segmentedItem30.BadgeOffsetX = 0;
|
||||
segmentedItem30.BadgeOffsetY = 0;
|
||||
segmentedItem30.BadgeSize = 0.6F;
|
||||
segmentedItem30.BadgeSvg = null;
|
||||
segmentedItem30.Text = "Quarterly";
|
||||
segmentedItem31.Badge = null;
|
||||
segmentedItem31.BadgeAlign = AntdUI.TAlign.TR;
|
||||
segmentedItem31.BadgeBack = null;
|
||||
segmentedItem31.BadgeMode = false;
|
||||
segmentedItem31.BadgeOffsetX = 0;
|
||||
segmentedItem31.BadgeOffsetY = 0;
|
||||
segmentedItem31.BadgeSize = 0.6F;
|
||||
segmentedItem31.BadgeSvg = null;
|
||||
segmentedItem31.Text = "Yearly";
|
||||
segmented1.Items.Add(segmentedItem27);
|
||||
segmented1.Items.Add(segmentedItem28);
|
||||
segmented1.Items.Add(segmentedItem29);
|
||||
segmented1.Items.Add(segmentedItem30);
|
||||
segmented1.Items.Add(segmentedItem31);
|
||||
segmented1.Location = new Point(0, 0);
|
||||
segmented1.Name = "segmented1";
|
||||
segmented1.Size = new Size(1300, 36);
|
||||
segmented1.TabIndex = 13;
|
||||
segmented1.Text = "segmented1";
|
||||
segmented1.Size = new Size(1300, 39);
|
||||
segmented1.TabIndex = 0;
|
||||
//
|
||||
// divider3
|
||||
//
|
||||
divider3.Dock = DockStyle.Top;
|
||||
divider3.Location = new Point(0, 213);
|
||||
divider3.Name = "divider3";
|
||||
divider3.Size = new Size(1300, 20);
|
||||
divider3.TabIndex = 0;
|
||||
//
|
||||
// segmented4
|
||||
//
|
||||
segmented4.Dock = DockStyle.Top;
|
||||
segmentedItem32.Badge = null;
|
||||
segmentedItem32.BadgeAlign = AntdUI.TAlign.TR;
|
||||
segmentedItem32.BadgeBack = null;
|
||||
segmentedItem32.BadgeMode = false;
|
||||
segmentedItem32.BadgeOffsetX = 0;
|
||||
segmentedItem32.BadgeOffsetY = 0;
|
||||
segmentedItem32.BadgeSize = 0.6F;
|
||||
segmentedItem32.BadgeSvg = null;
|
||||
segmentedItem32.Text = "small";
|
||||
segmentedItem33.Badge = null;
|
||||
segmentedItem33.BadgeAlign = AntdUI.TAlign.TR;
|
||||
segmentedItem33.BadgeBack = null;
|
||||
segmentedItem33.BadgeMode = false;
|
||||
segmentedItem33.BadgeOffsetX = 0;
|
||||
segmentedItem33.BadgeOffsetY = 0;
|
||||
segmentedItem33.BadgeSize = 0.6F;
|
||||
segmentedItem33.BadgeSvg = null;
|
||||
segmentedItem33.Text = "middle";
|
||||
segmentedItem34.Badge = null;
|
||||
segmentedItem34.BadgeAlign = AntdUI.TAlign.TR;
|
||||
segmentedItem34.BadgeBack = null;
|
||||
segmentedItem34.BadgeMode = false;
|
||||
segmentedItem34.BadgeOffsetX = 0;
|
||||
segmentedItem34.BadgeOffsetY = 0;
|
||||
segmentedItem34.BadgeSize = 0.6F;
|
||||
segmentedItem34.BadgeSvg = null;
|
||||
segmentedItem34.Text = "large";
|
||||
segmented4.Items.Add(segmentedItem32);
|
||||
segmented4.Items.Add(segmentedItem33);
|
||||
segmented4.Items.Add(segmentedItem34);
|
||||
segmented4.Location = new Point(0, 233);
|
||||
segmented4.Name = "segmented4";
|
||||
segmented4.SelectIndex = 1;
|
||||
segmented4.Size = new Size(1300, 39);
|
||||
segmented4.TabIndex = 3;
|
||||
//
|
||||
// divider4
|
||||
//
|
||||
divider4.Dock = DockStyle.Top;
|
||||
divider4.Location = new Point(0, 272);
|
||||
divider4.Name = "divider4";
|
||||
divider4.Size = new Size(1300, 20);
|
||||
divider4.TabIndex = 0;
|
||||
//
|
||||
// segmented5
|
||||
//
|
||||
segmented5.Dock = DockStyle.Top;
|
||||
segmented5.IconRatio = 0.8F;
|
||||
segmentedItem35.Badge = null;
|
||||
segmentedItem35.BadgeAlign = AntdUI.TAlign.TR;
|
||||
segmentedItem35.BadgeBack = null;
|
||||
segmentedItem35.BadgeMode = false;
|
||||
segmentedItem35.BadgeOffsetX = 0;
|
||||
segmentedItem35.BadgeOffsetY = 0;
|
||||
segmentedItem35.BadgeSize = 0.6F;
|
||||
segmentedItem35.BadgeSvg = null;
|
||||
segmentedItem35.IconSvg = "SunOutlined";
|
||||
segmentedItem36.Badge = null;
|
||||
segmentedItem36.BadgeAlign = AntdUI.TAlign.TR;
|
||||
segmentedItem36.BadgeBack = null;
|
||||
segmentedItem36.BadgeMode = false;
|
||||
segmentedItem36.BadgeOffsetX = 0;
|
||||
segmentedItem36.BadgeOffsetY = 0;
|
||||
segmentedItem36.BadgeSize = 0.6F;
|
||||
segmentedItem36.BadgeSvg = null;
|
||||
segmentedItem36.IconSvg = "MoonOutlined";
|
||||
segmented5.Items.Add(segmentedItem35);
|
||||
segmented5.Items.Add(segmentedItem36);
|
||||
segmented5.Location = new Point(0, 292);
|
||||
segmented5.Name = "segmented5";
|
||||
segmented5.Round = true;
|
||||
segmented5.SelectIndex = 0;
|
||||
segmented5.Size = new Size(1300, 39);
|
||||
segmented5.TabIndex = 4;
|
||||
//
|
||||
// Segmented
|
||||
//
|
||||
Controls.Add(panel1);
|
||||
Controls.Add(header1);
|
||||
Font = new Font("Microsoft YaHei UI", 10F);
|
||||
Font = new Font("Microsoft YaHei UI", 12F);
|
||||
Name = "Segmented";
|
||||
Size = new Size(1300, 676);
|
||||
panel1.ResumeLayout(false);
|
||||
@@ -194,6 +392,7 @@ namespace Demo.Controls
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private AntdUI.PageHeader header1;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private AntdUI.Segmented segmented2;
|
||||
@@ -201,5 +400,9 @@ namespace Demo.Controls
|
||||
private AntdUI.Segmented segmented3;
|
||||
private AntdUI.Divider divider2;
|
||||
private AntdUI.Divider divider1;
|
||||
private AntdUI.Segmented segmented4;
|
||||
private AntdUI.Divider divider3;
|
||||
private AntdUI.Segmented segmented5;
|
||||
private AntdUI.Divider divider4;
|
||||
}
|
||||
}
|
||||
5
example/Demo/Controls/Select.Designer.cs
generated
5
example/Demo/Controls/Select.Designer.cs
generated
@@ -43,10 +43,6 @@ namespace Demo.Controls
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
header1 = new AntdUI.PageHeader();
|
||||
@@ -349,6 +345,7 @@ namespace Demo.Controls
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private AntdUI.PageHeader header1;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.Panel panel2;
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
|
||||
Example:
|
||||
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
@@ -26,36 +26,36 @@
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
|
||||
125
example/Demo/Controls/Signal.Designer.cs
generated
125
example/Demo/Controls/Signal.Designer.cs
generated
@@ -16,19 +16,21 @@
|
||||
// CSDN: https://blog.csdn.net/v_132
|
||||
// QQ: 17379620
|
||||
|
||||
using System.Drawing;
|
||||
|
||||
namespace Demo.Controls
|
||||
{
|
||||
partial class Signal
|
||||
{
|
||||
/// <summary>
|
||||
/// 必需的设计器变量。
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// 清理所有正在使用的资源。
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
@@ -38,12 +40,8 @@ namespace Demo.Controls
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region 组件设计器生成的代码
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// 设计器支持所需的方法 - 不要修改
|
||||
/// 使用代码编辑器修改此方法的内容。
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
header1 = new AntdUI.PageHeader();
|
||||
@@ -80,38 +78,38 @@ namespace Demo.Controls
|
||||
//
|
||||
header1.Description = "展示设备信号。";
|
||||
header1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
header1.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F);
|
||||
header1.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
header1.LocalizationDescription = "Signal.Description";
|
||||
header1.LocalizationText = "Signal.Text";
|
||||
header1.Location = new System.Drawing.Point(0, 0);
|
||||
header1.Location = new Point(0, 0);
|
||||
header1.Name = "header1";
|
||||
header1.Padding = new System.Windows.Forms.Padding(0, 0, 0, 10);
|
||||
header1.Size = new System.Drawing.Size(596, 74);
|
||||
header1.Size = new Size(596, 74);
|
||||
header1.TabIndex = 0;
|
||||
header1.Text = "Signal 信号强度";
|
||||
header1.UseTitleFont = true;
|
||||
//
|
||||
// signal1
|
||||
//
|
||||
signal1.Location = new System.Drawing.Point(3, 3);
|
||||
signal1.Location = new Point(3, 3);
|
||||
signal1.Name = "signal1";
|
||||
signal1.Size = new System.Drawing.Size(74, 42);
|
||||
signal1.Size = new Size(74, 42);
|
||||
signal1.TabIndex = 0;
|
||||
signal1.Value = 1;
|
||||
//
|
||||
// signal2
|
||||
//
|
||||
signal2.Location = new System.Drawing.Point(83, 3);
|
||||
signal2.Location = new Point(83, 3);
|
||||
signal2.Name = "signal2";
|
||||
signal2.Size = new System.Drawing.Size(74, 42);
|
||||
signal2.Size = new Size(74, 42);
|
||||
signal2.TabIndex = 1;
|
||||
signal2.Value = 2;
|
||||
//
|
||||
// signal3
|
||||
//
|
||||
signal3.Location = new System.Drawing.Point(163, 3);
|
||||
signal3.Location = new Point(163, 3);
|
||||
signal3.Name = "signal3";
|
||||
signal3.Size = new System.Drawing.Size(74, 42);
|
||||
signal3.Size = new Size(74, 42);
|
||||
signal3.TabIndex = 2;
|
||||
signal3.Value = 3;
|
||||
//
|
||||
@@ -119,9 +117,9 @@ namespace Demo.Controls
|
||||
//
|
||||
button2.AutoSizeMode = AntdUI.TAutoSize.Width;
|
||||
button2.LocalizationText = "Signal.Subtract";
|
||||
button2.Location = new System.Drawing.Point(54, 7);
|
||||
button2.Location = new Point(59, 7);
|
||||
button2.Name = "button2";
|
||||
button2.Size = new System.Drawing.Size(45, 38);
|
||||
button2.Size = new Size(50, 38);
|
||||
button2.TabIndex = 10;
|
||||
button2.Text = "减";
|
||||
button2.Type = AntdUI.TTypeMini.Success;
|
||||
@@ -131,9 +129,9 @@ namespace Demo.Controls
|
||||
//
|
||||
button1.AutoSizeMode = AntdUI.TAutoSize.Width;
|
||||
button1.LocalizationText = "Signal.Add";
|
||||
button1.Location = new System.Drawing.Point(3, 7);
|
||||
button1.Location = new Point(3, 7);
|
||||
button1.Name = "button1";
|
||||
button1.Size = new System.Drawing.Size(45, 38);
|
||||
button1.Size = new Size(50, 38);
|
||||
button1.TabIndex = 9;
|
||||
button1.Text = "加";
|
||||
button1.Type = AntdUI.TTypeMini.Primary;
|
||||
@@ -147,36 +145,36 @@ namespace Demo.Controls
|
||||
stackPanel1.Controls.Add(signal2);
|
||||
stackPanel1.Controls.Add(signal1);
|
||||
stackPanel1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
stackPanel1.Location = new System.Drawing.Point(0, 102);
|
||||
stackPanel1.Location = new Point(0, 102);
|
||||
stackPanel1.Name = "stackPanel1";
|
||||
stackPanel1.Size = new System.Drawing.Size(596, 48);
|
||||
stackPanel1.Size = new Size(596, 48);
|
||||
stackPanel1.TabIndex = 1;
|
||||
//
|
||||
// signal5
|
||||
//
|
||||
signal5.Location = new System.Drawing.Point(323, 3);
|
||||
signal5.Location = new Point(323, 3);
|
||||
signal5.Name = "signal5";
|
||||
signal5.Size = new System.Drawing.Size(74, 42);
|
||||
signal5.Size = new Size(74, 42);
|
||||
signal5.TabIndex = 4;
|
||||
signal5.Value = 5;
|
||||
//
|
||||
// signal4
|
||||
//
|
||||
signal4.Location = new System.Drawing.Point(243, 3);
|
||||
signal4.Location = new Point(243, 3);
|
||||
signal4.Name = "signal4";
|
||||
signal4.Size = new System.Drawing.Size(74, 42);
|
||||
signal4.Size = new Size(74, 42);
|
||||
signal4.TabIndex = 3;
|
||||
signal4.Value = 4;
|
||||
//
|
||||
// divider1
|
||||
//
|
||||
divider1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
divider1.Font = new System.Drawing.Font("Microsoft YaHei UI", 10F);
|
||||
divider1.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider1.LocalizationText = "Signal.{id}";
|
||||
divider1.Location = new System.Drawing.Point(0, 74);
|
||||
divider1.Location = new Point(0, 74);
|
||||
divider1.Name = "divider1";
|
||||
divider1.Orientation = AntdUI.TOrientation.Left;
|
||||
divider1.Size = new System.Drawing.Size(596, 28);
|
||||
divider1.Size = new Size(596, 28);
|
||||
divider1.TabIndex = 0;
|
||||
divider1.Text = "基本用法";
|
||||
//
|
||||
@@ -188,57 +186,57 @@ namespace Demo.Controls
|
||||
stackPanel2.Controls.Add(signal9);
|
||||
stackPanel2.Controls.Add(signal10);
|
||||
stackPanel2.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
stackPanel2.Location = new System.Drawing.Point(0, 178);
|
||||
stackPanel2.Location = new Point(0, 178);
|
||||
stackPanel2.Name = "stackPanel2";
|
||||
stackPanel2.Size = new System.Drawing.Size(596, 48);
|
||||
stackPanel2.Size = new Size(596, 48);
|
||||
stackPanel2.TabIndex = 2;
|
||||
//
|
||||
// signal6
|
||||
//
|
||||
signal6.Location = new System.Drawing.Point(323, 3);
|
||||
signal6.Location = new Point(323, 3);
|
||||
signal6.Name = "signal6";
|
||||
signal6.Padding = new System.Windows.Forms.Padding(24, 0, 24, 0);
|
||||
signal6.Size = new System.Drawing.Size(74, 42);
|
||||
signal6.Size = new Size(74, 42);
|
||||
signal6.StyleLine = true;
|
||||
signal6.TabIndex = 4;
|
||||
signal6.Value = 5;
|
||||
//
|
||||
// signal7
|
||||
//
|
||||
signal7.Location = new System.Drawing.Point(243, 3);
|
||||
signal7.Location = new Point(243, 3);
|
||||
signal7.Name = "signal7";
|
||||
signal7.Padding = new System.Windows.Forms.Padding(24, 0, 24, 0);
|
||||
signal7.Size = new System.Drawing.Size(74, 42);
|
||||
signal7.Size = new Size(74, 42);
|
||||
signal7.StyleLine = true;
|
||||
signal7.TabIndex = 3;
|
||||
signal7.Value = 4;
|
||||
//
|
||||
// signal8
|
||||
//
|
||||
signal8.Location = new System.Drawing.Point(163, 3);
|
||||
signal8.Location = new Point(163, 3);
|
||||
signal8.Name = "signal8";
|
||||
signal8.Padding = new System.Windows.Forms.Padding(24, 0, 24, 0);
|
||||
signal8.Size = new System.Drawing.Size(74, 42);
|
||||
signal8.Size = new Size(74, 42);
|
||||
signal8.StyleLine = true;
|
||||
signal8.TabIndex = 2;
|
||||
signal8.Value = 3;
|
||||
//
|
||||
// signal9
|
||||
//
|
||||
signal9.Location = new System.Drawing.Point(83, 3);
|
||||
signal9.Location = new Point(83, 3);
|
||||
signal9.Name = "signal9";
|
||||
signal9.Padding = new System.Windows.Forms.Padding(24, 0, 24, 0);
|
||||
signal9.Size = new System.Drawing.Size(74, 42);
|
||||
signal9.Size = new Size(74, 42);
|
||||
signal9.StyleLine = true;
|
||||
signal9.TabIndex = 1;
|
||||
signal9.Value = 2;
|
||||
//
|
||||
// signal10
|
||||
//
|
||||
signal10.Location = new System.Drawing.Point(3, 3);
|
||||
signal10.Location = new Point(3, 3);
|
||||
signal10.Name = "signal10";
|
||||
signal10.Padding = new System.Windows.Forms.Padding(24, 0, 24, 0);
|
||||
signal10.Size = new System.Drawing.Size(74, 42);
|
||||
signal10.Size = new Size(74, 42);
|
||||
signal10.StyleLine = true;
|
||||
signal10.TabIndex = 0;
|
||||
signal10.Value = 1;
|
||||
@@ -246,12 +244,12 @@ namespace Demo.Controls
|
||||
// divider2
|
||||
//
|
||||
divider2.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
divider2.Font = new System.Drawing.Font("Microsoft YaHei UI", 10F);
|
||||
divider2.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider2.LocalizationText = "Signal.{id}";
|
||||
divider2.Location = new System.Drawing.Point(0, 150);
|
||||
divider2.Location = new Point(0, 150);
|
||||
divider2.Name = "divider2";
|
||||
divider2.Orientation = AntdUI.TOrientation.Left;
|
||||
divider2.Size = new System.Drawing.Size(596, 28);
|
||||
divider2.Size = new Size(596, 28);
|
||||
divider2.TabIndex = 0;
|
||||
divider2.Text = "线条样式";
|
||||
//
|
||||
@@ -262,58 +260,58 @@ namespace Demo.Controls
|
||||
stackPanel3.Controls.Add(signal14);
|
||||
stackPanel3.Controls.Add(signal15);
|
||||
stackPanel3.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
stackPanel3.Location = new System.Drawing.Point(0, 254);
|
||||
stackPanel3.Location = new Point(0, 254);
|
||||
stackPanel3.Name = "stackPanel3";
|
||||
stackPanel3.Size = new System.Drawing.Size(596, 48);
|
||||
stackPanel3.Size = new Size(596, 48);
|
||||
stackPanel3.TabIndex = 3;
|
||||
//
|
||||
// signal12
|
||||
//
|
||||
signal12.FillFully = System.Drawing.Color.Orange;
|
||||
signal12.FillFully = Color.Orange;
|
||||
signal12.Loading = true;
|
||||
signal12.Location = new System.Drawing.Point(243, 3);
|
||||
signal12.Location = new Point(243, 3);
|
||||
signal12.Name = "signal12";
|
||||
signal12.Padding = new System.Windows.Forms.Padding(24, 0, 24, 0);
|
||||
signal12.Size = new System.Drawing.Size(74, 42);
|
||||
signal12.Size = new Size(74, 42);
|
||||
signal12.StyleLine = true;
|
||||
signal12.TabIndex = 3;
|
||||
//
|
||||
// signal13
|
||||
//
|
||||
signal13.FillFully = System.Drawing.Color.Orange;
|
||||
signal13.FillFully = Color.Orange;
|
||||
signal13.Loading = true;
|
||||
signal13.Location = new System.Drawing.Point(163, 3);
|
||||
signal13.Location = new Point(163, 3);
|
||||
signal13.Name = "signal13";
|
||||
signal13.Size = new System.Drawing.Size(74, 42);
|
||||
signal13.Size = new Size(74, 42);
|
||||
signal13.TabIndex = 2;
|
||||
//
|
||||
// signal14
|
||||
//
|
||||
signal14.Loading = true;
|
||||
signal14.Location = new System.Drawing.Point(83, 3);
|
||||
signal14.Location = new Point(83, 3);
|
||||
signal14.Name = "signal14";
|
||||
signal14.Padding = new System.Windows.Forms.Padding(24, 0, 24, 0);
|
||||
signal14.Size = new System.Drawing.Size(74, 42);
|
||||
signal14.Size = new Size(74, 42);
|
||||
signal14.StyleLine = true;
|
||||
signal14.TabIndex = 1;
|
||||
//
|
||||
// signal15
|
||||
//
|
||||
signal15.Loading = true;
|
||||
signal15.Location = new System.Drawing.Point(3, 3);
|
||||
signal15.Location = new Point(3, 3);
|
||||
signal15.Name = "signal15";
|
||||
signal15.Size = new System.Drawing.Size(74, 42);
|
||||
signal15.Size = new Size(74, 42);
|
||||
signal15.TabIndex = 0;
|
||||
//
|
||||
// divider3
|
||||
//
|
||||
divider3.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
divider3.Font = new System.Drawing.Font("Microsoft YaHei UI", 10F);
|
||||
divider3.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider3.LocalizationText = "Signal.{id}";
|
||||
divider3.Location = new System.Drawing.Point(0, 226);
|
||||
divider3.Location = new Point(0, 226);
|
||||
divider3.Name = "divider3";
|
||||
divider3.Orientation = AntdUI.TOrientation.Left;
|
||||
divider3.Size = new System.Drawing.Size(596, 28);
|
||||
divider3.Size = new Size(596, 28);
|
||||
divider3.TabIndex = 0;
|
||||
divider3.Text = "动画";
|
||||
//
|
||||
@@ -322,10 +320,10 @@ namespace Demo.Controls
|
||||
stackPanel4.Controls.Add(button2);
|
||||
stackPanel4.Controls.Add(button1);
|
||||
stackPanel4.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
stackPanel4.Location = new System.Drawing.Point(0, 302);
|
||||
stackPanel4.Location = new Point(0, 302);
|
||||
stackPanel4.Name = "stackPanel4";
|
||||
stackPanel4.Padding = new System.Windows.Forms.Padding(0, 4, 0, 0);
|
||||
stackPanel4.Size = new System.Drawing.Size(596, 48);
|
||||
stackPanel4.Size = new Size(596, 48);
|
||||
stackPanel4.TabIndex = 10;
|
||||
//
|
||||
// Signal
|
||||
@@ -338,8 +336,9 @@ namespace Demo.Controls
|
||||
Controls.Add(stackPanel1);
|
||||
Controls.Add(divider1);
|
||||
Controls.Add(header1);
|
||||
Font = new Font("Microsoft YaHei UI", 12F);
|
||||
Name = "Signal";
|
||||
Size = new System.Drawing.Size(596, 445);
|
||||
Size = new Size(596, 445);
|
||||
stackPanel1.ResumeLayout(false);
|
||||
stackPanel2.ResumeLayout(false);
|
||||
stackPanel3.ResumeLayout(false);
|
||||
|
||||
4
example/Demo/Controls/Slider.Designer.cs
generated
4
example/Demo/Controls/Slider.Designer.cs
generated
@@ -43,10 +43,6 @@ namespace Demo.Controls
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
AntdUI.SliderMarkItem sliderMarkItem1 = new AntdUI.SliderMarkItem();
|
||||
|
||||
85
example/Demo/Controls/Spin.Designer.cs
generated
85
example/Demo/Controls/Spin.Designer.cs
generated
@@ -16,19 +16,21 @@
|
||||
// CSDN: https://blog.csdn.net/v_132
|
||||
// QQ: 17379620
|
||||
|
||||
using System.Drawing;
|
||||
|
||||
namespace Demo.Controls
|
||||
{
|
||||
partial class Spin
|
||||
{
|
||||
/// <summary>
|
||||
/// 必需的设计器变量。
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// 清理所有正在使用的资源。
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
@@ -38,12 +40,8 @@ namespace Demo.Controls
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region 组件设计器生成的代码
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// 设计器支持所需的方法 - 不要修改
|
||||
/// 使用代码编辑器修改此方法的内容。
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
btnPanel = new AntdUI.Button();
|
||||
@@ -69,9 +67,9 @@ namespace Demo.Controls
|
||||
//
|
||||
btnPanel.AutoSizeMode = AntdUI.TAutoSize.Width;
|
||||
btnPanel.LocalizationText = "Spin.{id}";
|
||||
btnPanel.Location = new System.Drawing.Point(3, 3);
|
||||
btnPanel.Location = new Point(3, 3);
|
||||
btnPanel.Name = "btnPanel";
|
||||
btnPanel.Size = new System.Drawing.Size(82, 42);
|
||||
btnPanel.Size = new Size(100, 42);
|
||||
btnPanel.TabIndex = 1;
|
||||
btnPanel.Text = "当前容器";
|
||||
btnPanel.Type = AntdUI.TTypeMini.Primary;
|
||||
@@ -81,13 +79,13 @@ namespace Demo.Controls
|
||||
//
|
||||
header1.Description = "用于页面和区块的加载中状态。";
|
||||
header1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
header1.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F);
|
||||
header1.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
header1.LocalizationDescription = "Spin.Description";
|
||||
header1.LocalizationText = "Spin.Text";
|
||||
header1.Location = new System.Drawing.Point(0, 0);
|
||||
header1.Location = new Point(0, 0);
|
||||
header1.Name = "header1";
|
||||
header1.Padding = new System.Windows.Forms.Padding(0, 0, 0, 10);
|
||||
header1.Size = new System.Drawing.Size(596, 81);
|
||||
header1.Size = new Size(596, 81);
|
||||
header1.TabIndex = 12;
|
||||
header1.Text = "Spin 加载中";
|
||||
header1.UseTitleFont = true;
|
||||
@@ -95,12 +93,12 @@ namespace Demo.Controls
|
||||
// divider1
|
||||
//
|
||||
divider1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
divider1.Font = new System.Drawing.Font("Microsoft YaHei UI", 10F);
|
||||
divider1.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider1.LocalizationText = "Spin.{id}";
|
||||
divider1.Location = new System.Drawing.Point(0, 81);
|
||||
divider1.Location = new Point(0, 81);
|
||||
divider1.Name = "divider1";
|
||||
divider1.Orientation = AntdUI.TOrientation.Left;
|
||||
divider1.Size = new System.Drawing.Size(596, 28);
|
||||
divider1.Size = new Size(596, 28);
|
||||
divider1.TabIndex = 0;
|
||||
divider1.Text = "直接使用";
|
||||
//
|
||||
@@ -109,24 +107,24 @@ namespace Demo.Controls
|
||||
stackPanel1.Controls.Add(spin2);
|
||||
stackPanel1.Controls.Add(spin1);
|
||||
stackPanel1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
stackPanel1.Location = new System.Drawing.Point(0, 109);
|
||||
stackPanel1.Location = new Point(0, 109);
|
||||
stackPanel1.Name = "stackPanel1";
|
||||
stackPanel1.Size = new System.Drawing.Size(596, 48);
|
||||
stackPanel1.Size = new Size(596, 48);
|
||||
stackPanel1.TabIndex = 1;
|
||||
//
|
||||
// spin2
|
||||
//
|
||||
spin2.Fill = System.Drawing.Color.FromArgb(255, 87, 34);
|
||||
spin2.Location = new System.Drawing.Point(83, 3);
|
||||
spin2.Fill = Color.FromArgb(255, 87, 34);
|
||||
spin2.Location = new Point(83, 3);
|
||||
spin2.Name = "spin2";
|
||||
spin2.Size = new System.Drawing.Size(74, 42);
|
||||
spin2.Size = new Size(74, 42);
|
||||
spin2.TabIndex = 1;
|
||||
//
|
||||
// spin1
|
||||
//
|
||||
spin1.Location = new System.Drawing.Point(3, 3);
|
||||
spin1.Location = new Point(3, 3);
|
||||
spin1.Name = "spin1";
|
||||
spin1.Size = new System.Drawing.Size(74, 42);
|
||||
spin1.Size = new Size(74, 42);
|
||||
spin1.TabIndex = 0;
|
||||
//
|
||||
// stackPanel2
|
||||
@@ -134,51 +132,51 @@ namespace Demo.Controls
|
||||
stackPanel2.Controls.Add(spin3);
|
||||
stackPanel2.Controls.Add(spin4);
|
||||
stackPanel2.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
stackPanel2.Location = new System.Drawing.Point(0, 185);
|
||||
stackPanel2.Location = new Point(0, 185);
|
||||
stackPanel2.Name = "stackPanel2";
|
||||
stackPanel2.Size = new System.Drawing.Size(596, 100);
|
||||
stackPanel2.Size = new Size(596, 100);
|
||||
stackPanel2.TabIndex = 2;
|
||||
//
|
||||
// spin3
|
||||
//
|
||||
spin3.Fill = System.Drawing.Color.FromArgb(255, 87, 34);
|
||||
spin3.Fill = Color.FromArgb(255, 87, 34);
|
||||
spin3.LocalizationText = "Loading";
|
||||
spin3.Location = new System.Drawing.Point(129, 3);
|
||||
spin3.Location = new Point(129, 3);
|
||||
spin3.Name = "spin3";
|
||||
spin3.Size = new System.Drawing.Size(120, 94);
|
||||
spin3.Size = new Size(120, 94);
|
||||
spin3.TabIndex = 1;
|
||||
spin3.Text = "加载中";
|
||||
//
|
||||
// spin4
|
||||
//
|
||||
spin4.LocalizationText = "Loading";
|
||||
spin4.Location = new System.Drawing.Point(3, 3);
|
||||
spin4.Location = new Point(3, 3);
|
||||
spin4.Name = "spin4";
|
||||
spin4.Size = new System.Drawing.Size(120, 94);
|
||||
spin4.Size = new Size(120, 94);
|
||||
spin4.TabIndex = 0;
|
||||
spin4.Text = "加载中";
|
||||
//
|
||||
// divider2
|
||||
//
|
||||
divider2.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
divider2.Font = new System.Drawing.Font("Microsoft YaHei UI", 10F);
|
||||
divider2.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider2.LocalizationText = "Spin.{id}";
|
||||
divider2.Location = new System.Drawing.Point(0, 157);
|
||||
divider2.Location = new Point(0, 157);
|
||||
divider2.Name = "divider2";
|
||||
divider2.Orientation = AntdUI.TOrientation.Left;
|
||||
divider2.Size = new System.Drawing.Size(596, 28);
|
||||
divider2.Size = new Size(596, 28);
|
||||
divider2.TabIndex = 0;
|
||||
divider2.Text = "显示文字";
|
||||
//
|
||||
// divider3
|
||||
//
|
||||
divider3.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
divider3.Font = new System.Drawing.Font("Microsoft YaHei UI", 10F);
|
||||
divider3.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider3.LocalizationText = "Spin.{id}";
|
||||
divider3.Location = new System.Drawing.Point(0, 285);
|
||||
divider3.Location = new Point(0, 285);
|
||||
divider3.Name = "divider3";
|
||||
divider3.Orientation = AntdUI.TOrientation.Left;
|
||||
divider3.Size = new System.Drawing.Size(596, 28);
|
||||
divider3.Size = new Size(596, 28);
|
||||
divider3.TabIndex = 0;
|
||||
divider3.Text = "基本用法";
|
||||
//
|
||||
@@ -188,18 +186,18 @@ namespace Demo.Controls
|
||||
stackPanel3.Controls.Add(btnControl);
|
||||
stackPanel3.Controls.Add(btnPanel);
|
||||
stackPanel3.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
stackPanel3.Location = new System.Drawing.Point(0, 313);
|
||||
stackPanel3.Location = new Point(0, 313);
|
||||
stackPanel3.Name = "stackPanel3";
|
||||
stackPanel3.Size = new System.Drawing.Size(596, 48);
|
||||
stackPanel3.Size = new Size(596, 48);
|
||||
stackPanel3.TabIndex = 3;
|
||||
//
|
||||
// btnWindow
|
||||
//
|
||||
btnWindow.AutoSizeMode = AntdUI.TAutoSize.Width;
|
||||
btnWindow.LocalizationText = "Spin.{id}";
|
||||
btnWindow.Location = new System.Drawing.Point(179, 3);
|
||||
btnWindow.Location = new Point(215, 3);
|
||||
btnWindow.Name = "btnWindow";
|
||||
btnWindow.Size = new System.Drawing.Size(82, 42);
|
||||
btnWindow.Size = new Size(100, 42);
|
||||
btnWindow.TabIndex = 3;
|
||||
btnWindow.Text = "整个窗口";
|
||||
btnWindow.Type = AntdUI.TTypeMini.Primary;
|
||||
@@ -209,9 +207,9 @@ namespace Demo.Controls
|
||||
//
|
||||
btnControl.AutoSizeMode = AntdUI.TAutoSize.Width;
|
||||
btnControl.LocalizationText = "Spin.{id}";
|
||||
btnControl.Location = new System.Drawing.Point(91, 3);
|
||||
btnControl.Location = new Point(109, 3);
|
||||
btnControl.Name = "btnControl";
|
||||
btnControl.Size = new System.Drawing.Size(82, 42);
|
||||
btnControl.Size = new Size(100, 42);
|
||||
btnControl.TabIndex = 2;
|
||||
btnControl.Text = "上面控件";
|
||||
btnControl.Type = AntdUI.TTypeMini.Primary;
|
||||
@@ -226,8 +224,9 @@ namespace Demo.Controls
|
||||
Controls.Add(stackPanel1);
|
||||
Controls.Add(divider1);
|
||||
Controls.Add(header1);
|
||||
Font = new Font("Microsoft YaHei UI", 12F);
|
||||
Name = "Spin";
|
||||
Size = new System.Drawing.Size(596, 445);
|
||||
Size = new Size(596, 445);
|
||||
stackPanel1.ResumeLayout(false);
|
||||
stackPanel2.ResumeLayout(false);
|
||||
stackPanel3.ResumeLayout(false);
|
||||
|
||||
4
example/Demo/Controls/Splitter.Designer.cs
generated
4
example/Demo/Controls/Splitter.Designer.cs
generated
@@ -43,10 +43,6 @@ namespace Demo.Controls
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
header1 = new AntdUI.PageHeader();
|
||||
|
||||
5
example/Demo/Controls/Steps.Designer.cs
generated
5
example/Demo/Controls/Steps.Designer.cs
generated
@@ -43,10 +43,6 @@ namespace Demo.Controls
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
AntdUI.StepsItem stepsItem1 = new AntdUI.StepsItem();
|
||||
@@ -278,6 +274,7 @@ namespace Demo.Controls
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private AntdUI.PageHeader header1;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private AntdUI.Steps steps1;
|
||||
|
||||
4
example/Demo/Controls/Switch.Designer.cs
generated
4
example/Demo/Controls/Switch.Designer.cs
generated
@@ -43,10 +43,6 @@ namespace Demo.Controls
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
header1 = new AntdUI.PageHeader();
|
||||
|
||||
47
example/Demo/Controls/Table.Designer.cs
generated
47
example/Demo/Controls/Table.Designer.cs
generated
@@ -43,10 +43,6 @@ namespace Demo.Controls
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
header1 = new AntdUI.PageHeader();
|
||||
@@ -85,7 +81,6 @@ namespace Demo.Controls
|
||||
// pagination1
|
||||
//
|
||||
pagination1.Dock = DockStyle.Bottom;
|
||||
pagination1.Font = new Font("Microsoft YaHei UI", 11F);
|
||||
pagination1.Location = new Point(4, 562);
|
||||
pagination1.Name = "pagination1";
|
||||
pagination1.RightToLeft = RightToLeft.Yes;
|
||||
@@ -99,8 +94,9 @@ namespace Demo.Controls
|
||||
// table1
|
||||
//
|
||||
table1.AutoSizeColumnsMode = AntdUI.ColumnsMode.Fill;
|
||||
table1.CellImpactHeight = false;
|
||||
table1.Dock = DockStyle.Fill;
|
||||
table1.Font = new Font("Microsoft YaHei UI", 11F);
|
||||
table1.GapCell = 6;
|
||||
table1.Location = new Point(4, 43);
|
||||
table1.Name = "table1";
|
||||
table1.Radius = 6;
|
||||
@@ -122,7 +118,7 @@ namespace Demo.Controls
|
||||
panel1.Controls.Add(checkColumnDragSort);
|
||||
panel1.Controls.Add(checkFixedHeader);
|
||||
panel1.Dock = DockStyle.Top;
|
||||
panel1.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
panel1.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
panel1.Location = new Point(4, 0);
|
||||
panel1.Name = "panel1";
|
||||
panel1.Radius = 0;
|
||||
@@ -134,9 +130,9 @@ namespace Demo.Controls
|
||||
checkAddressLineBreak.AutoSizeMode = AntdUI.TAutoSize.Width;
|
||||
checkAddressLineBreak.Dock = DockStyle.Left;
|
||||
checkAddressLineBreak.LocalizationText = "Table.{id}";
|
||||
checkAddressLineBreak.Location = new Point(1017, 0);
|
||||
checkAddressLineBreak.Location = new Point(875, 0);
|
||||
checkAddressLineBreak.Name = "checkAddressLineBreak";
|
||||
checkAddressLineBreak.Size = new Size(115, 43);
|
||||
checkAddressLineBreak.Size = new Size(99, 43);
|
||||
checkAddressLineBreak.TabIndex = 8;
|
||||
checkAddressLineBreak.Text = "地址换行";
|
||||
checkAddressLineBreak.CheckedChanged += checkAddressLineBreak_CheckedChanged;
|
||||
@@ -147,9 +143,9 @@ namespace Demo.Controls
|
||||
checkVisibleHeader.Checked = true;
|
||||
checkVisibleHeader.Dock = DockStyle.Left;
|
||||
checkVisibleHeader.LocalizationText = "Table.{id}";
|
||||
checkVisibleHeader.Location = new Point(902, 0);
|
||||
checkVisibleHeader.Location = new Point(776, 0);
|
||||
checkVisibleHeader.Name = "checkVisibleHeader";
|
||||
checkVisibleHeader.Size = new Size(115, 43);
|
||||
checkVisibleHeader.Size = new Size(99, 43);
|
||||
checkVisibleHeader.TabIndex = 7;
|
||||
checkVisibleHeader.Text = "显示表头";
|
||||
checkVisibleHeader.CheckedChanged += checkVisibleHeader_CheckedChanged;
|
||||
@@ -159,9 +155,9 @@ namespace Demo.Controls
|
||||
checkEnableHeaderResizing.AutoSizeMode = AntdUI.TAutoSize.Width;
|
||||
checkEnableHeaderResizing.Dock = DockStyle.Left;
|
||||
checkEnableHeaderResizing.LocalizationText = "Table.{id}";
|
||||
checkEnableHeaderResizing.Location = new Point(721, 0);
|
||||
checkEnableHeaderResizing.Location = new Point(622, 0);
|
||||
checkEnableHeaderResizing.Name = "checkEnableHeaderResizing";
|
||||
checkEnableHeaderResizing.Size = new Size(181, 43);
|
||||
checkEnableHeaderResizing.Size = new Size(154, 43);
|
||||
checkEnableHeaderResizing.TabIndex = 6;
|
||||
checkEnableHeaderResizing.Text = "手动调整列头宽度";
|
||||
checkEnableHeaderResizing.CheckedChanged += checkEnableHeaderResizing_CheckedChanged;
|
||||
@@ -171,9 +167,9 @@ namespace Demo.Controls
|
||||
checkSortOrder.AutoSizeMode = AntdUI.TAutoSize.Width;
|
||||
checkSortOrder.Dock = DockStyle.Left;
|
||||
checkSortOrder.LocalizationText = "Table.{id}";
|
||||
checkSortOrder.Location = new Point(606, 0);
|
||||
checkSortOrder.Location = new Point(523, 0);
|
||||
checkSortOrder.Name = "checkSortOrder";
|
||||
checkSortOrder.Size = new Size(115, 43);
|
||||
checkSortOrder.Size = new Size(99, 43);
|
||||
checkSortOrder.TabIndex = 5;
|
||||
checkSortOrder.Text = "年龄排序";
|
||||
checkSortOrder.CheckedChanged += checkSortOrder_CheckedChanged;
|
||||
@@ -183,9 +179,9 @@ namespace Demo.Controls
|
||||
checkSetRowStyle.AutoSizeMode = AntdUI.TAutoSize.Width;
|
||||
checkSetRowStyle.Dock = DockStyle.Left;
|
||||
checkSetRowStyle.LocalizationText = "Table.{id}";
|
||||
checkSetRowStyle.Location = new Point(508, 0);
|
||||
checkSetRowStyle.Location = new Point(438, 0);
|
||||
checkSetRowStyle.Name = "checkSetRowStyle";
|
||||
checkSetRowStyle.Size = new Size(98, 43);
|
||||
checkSetRowStyle.Size = new Size(85, 43);
|
||||
checkSetRowStyle.TabIndex = 4;
|
||||
checkSetRowStyle.Text = "奇偶列";
|
||||
checkSetRowStyle.CheckedChanged += checkSetRowStyle_CheckedChanged;
|
||||
@@ -195,9 +191,9 @@ namespace Demo.Controls
|
||||
checkBordered.AutoSizeMode = AntdUI.TAutoSize.Width;
|
||||
checkBordered.Dock = DockStyle.Left;
|
||||
checkBordered.LocalizationText = "Table.{id}";
|
||||
checkBordered.Location = new Point(377, 0);
|
||||
checkBordered.Location = new Point(325, 0);
|
||||
checkBordered.Name = "checkBordered";
|
||||
checkBordered.Size = new Size(131, 43);
|
||||
checkBordered.Size = new Size(113, 43);
|
||||
checkBordered.TabIndex = 3;
|
||||
checkBordered.Text = "显示列边框";
|
||||
checkBordered.CheckedChanged += checkBordered_CheckedChanged;
|
||||
@@ -207,9 +203,9 @@ namespace Demo.Controls
|
||||
checkRowsDragSort.AutoSizeMode = AntdUI.TAutoSize.Width;
|
||||
checkRowsDragSort.Dock = DockStyle.Left;
|
||||
checkRowsDragSort.LocalizationText = "Table.{id}";
|
||||
checkRowsDragSort.Location = new Point(246, 0);
|
||||
checkRowsDragSort.Location = new Point(212, 0);
|
||||
checkRowsDragSort.Name = "checkRowsDragSort";
|
||||
checkRowsDragSort.Size = new Size(131, 43);
|
||||
checkRowsDragSort.Size = new Size(113, 43);
|
||||
checkRowsDragSort.TabIndex = 2;
|
||||
checkRowsDragSort.Text = "行拖拽排序";
|
||||
checkRowsDragSort.CheckedChanged += checkRowsDragSort_CheckedChanged;
|
||||
@@ -219,9 +215,9 @@ namespace Demo.Controls
|
||||
checkColumnDragSort.AutoSizeMode = AntdUI.TAutoSize.Width;
|
||||
checkColumnDragSort.Dock = DockStyle.Left;
|
||||
checkColumnDragSort.LocalizationText = "Table.{id}";
|
||||
checkColumnDragSort.Location = new Point(115, 0);
|
||||
checkColumnDragSort.Location = new Point(99, 0);
|
||||
checkColumnDragSort.Name = "checkColumnDragSort";
|
||||
checkColumnDragSort.Size = new Size(131, 43);
|
||||
checkColumnDragSort.Size = new Size(113, 43);
|
||||
checkColumnDragSort.TabIndex = 1;
|
||||
checkColumnDragSort.Text = "列拖拽排序";
|
||||
checkColumnDragSort.CheckedChanged += checkColumnDragSort_CheckedChanged;
|
||||
@@ -234,7 +230,7 @@ namespace Demo.Controls
|
||||
checkFixedHeader.LocalizationText = "Table.{id}";
|
||||
checkFixedHeader.Location = new Point(0, 0);
|
||||
checkFixedHeader.Name = "checkFixedHeader";
|
||||
checkFixedHeader.Size = new Size(115, 43);
|
||||
checkFixedHeader.Size = new Size(99, 43);
|
||||
checkFixedHeader.TabIndex = 0;
|
||||
checkFixedHeader.Text = "固定表头";
|
||||
checkFixedHeader.CheckedChanged += checkFixedHeader_CheckedChanged;
|
||||
@@ -257,7 +253,7 @@ namespace Demo.Controls
|
||||
//
|
||||
Controls.Add(panel_main);
|
||||
Controls.Add(header1);
|
||||
Font = new Font("Microsoft YaHei UI", 16F);
|
||||
Font = new Font("Microsoft YaHei UI", 12F);
|
||||
Name = "Table";
|
||||
Size = new Size(1300, 676);
|
||||
panel1.ResumeLayout(false);
|
||||
@@ -267,6 +263,7 @@ namespace Demo.Controls
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private AntdUI.PageHeader header1;
|
||||
private AntdUI.Table table1;
|
||||
private AntdUI.Pagination pagination1;
|
||||
|
||||
51
example/Demo/Controls/TableAOT.Designer.cs
generated
51
example/Demo/Controls/TableAOT.Designer.cs
generated
@@ -43,10 +43,6 @@ namespace Demo.Controls
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
header1 = new AntdUI.PageHeader();
|
||||
@@ -85,7 +81,6 @@ namespace Demo.Controls
|
||||
// pagination1
|
||||
//
|
||||
pagination1.Dock = DockStyle.Bottom;
|
||||
pagination1.Font = new Font("Microsoft YaHei UI", 11F);
|
||||
pagination1.Location = new Point(4, 562);
|
||||
pagination1.Name = "pagination1";
|
||||
pagination1.RightToLeft = RightToLeft.Yes;
|
||||
@@ -99,8 +94,9 @@ namespace Demo.Controls
|
||||
// table1
|
||||
//
|
||||
table1.AutoSizeColumnsMode = AntdUI.ColumnsMode.Fill;
|
||||
table1.CellImpactHeight = false;
|
||||
table1.Dock = DockStyle.Fill;
|
||||
table1.Font = new Font("Microsoft YaHei UI", 11F);
|
||||
table1.GapCell = 6;
|
||||
table1.Location = new Point(4, 43);
|
||||
table1.Name = "table1";
|
||||
table1.Radius = 6;
|
||||
@@ -122,7 +118,7 @@ namespace Demo.Controls
|
||||
panel1.Controls.Add(checkColumnDragSort);
|
||||
panel1.Controls.Add(checkFixedHeader);
|
||||
panel1.Dock = DockStyle.Top;
|
||||
panel1.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
panel1.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
panel1.Location = new Point(4, 0);
|
||||
panel1.Name = "panel1";
|
||||
panel1.Radius = 0;
|
||||
@@ -134,9 +130,9 @@ namespace Demo.Controls
|
||||
checkAddressLineBreak.AutoSizeMode = AntdUI.TAutoSize.Width;
|
||||
checkAddressLineBreak.Dock = DockStyle.Left;
|
||||
checkAddressLineBreak.LocalizationText = "Table.{id}";
|
||||
checkAddressLineBreak.Location = new Point(1017, 0);
|
||||
checkAddressLineBreak.Location = new Point(875, 0);
|
||||
checkAddressLineBreak.Name = "checkAddressLineBreak";
|
||||
checkAddressLineBreak.Size = new Size(115, 43);
|
||||
checkAddressLineBreak.Size = new Size(99, 43);
|
||||
checkAddressLineBreak.TabIndex = 8;
|
||||
checkAddressLineBreak.Text = "地址换行";
|
||||
checkAddressLineBreak.CheckedChanged += checkAddressLineBreak_CheckedChanged;
|
||||
@@ -147,9 +143,9 @@ namespace Demo.Controls
|
||||
checkVisibleHeader.Checked = true;
|
||||
checkVisibleHeader.Dock = DockStyle.Left;
|
||||
checkVisibleHeader.LocalizationText = "Table.{id}";
|
||||
checkVisibleHeader.Location = new Point(902, 0);
|
||||
checkVisibleHeader.Location = new Point(776, 0);
|
||||
checkVisibleHeader.Name = "checkVisibleHeader";
|
||||
checkVisibleHeader.Size = new Size(115, 43);
|
||||
checkVisibleHeader.Size = new Size(99, 43);
|
||||
checkVisibleHeader.TabIndex = 7;
|
||||
checkVisibleHeader.Text = "显示表头";
|
||||
checkVisibleHeader.CheckedChanged += checkVisibleHeader_CheckedChanged;
|
||||
@@ -159,9 +155,9 @@ namespace Demo.Controls
|
||||
checkEnableHeaderResizing.AutoSizeMode = AntdUI.TAutoSize.Width;
|
||||
checkEnableHeaderResizing.Dock = DockStyle.Left;
|
||||
checkEnableHeaderResizing.LocalizationText = "Table.{id}";
|
||||
checkEnableHeaderResizing.Location = new Point(721, 0);
|
||||
checkEnableHeaderResizing.Location = new Point(622, 0);
|
||||
checkEnableHeaderResizing.Name = "checkEnableHeaderResizing";
|
||||
checkEnableHeaderResizing.Size = new Size(181, 43);
|
||||
checkEnableHeaderResizing.Size = new Size(154, 43);
|
||||
checkEnableHeaderResizing.TabIndex = 6;
|
||||
checkEnableHeaderResizing.Text = "手动调整列头宽度";
|
||||
checkEnableHeaderResizing.CheckedChanged += checkEnableHeaderResizing_CheckedChanged;
|
||||
@@ -171,9 +167,9 @@ namespace Demo.Controls
|
||||
checkSortOrder.AutoSizeMode = AntdUI.TAutoSize.Width;
|
||||
checkSortOrder.Dock = DockStyle.Left;
|
||||
checkSortOrder.LocalizationText = "Table.{id}";
|
||||
checkSortOrder.Location = new Point(606, 0);
|
||||
checkSortOrder.Location = new Point(523, 0);
|
||||
checkSortOrder.Name = "checkSortOrder";
|
||||
checkSortOrder.Size = new Size(115, 43);
|
||||
checkSortOrder.Size = new Size(99, 43);
|
||||
checkSortOrder.TabIndex = 5;
|
||||
checkSortOrder.Text = "年龄排序";
|
||||
checkSortOrder.CheckedChanged += checkSortOrder_CheckedChanged;
|
||||
@@ -183,9 +179,9 @@ namespace Demo.Controls
|
||||
checkSetRowStyle.AutoSizeMode = AntdUI.TAutoSize.Width;
|
||||
checkSetRowStyle.Dock = DockStyle.Left;
|
||||
checkSetRowStyle.LocalizationText = "Table.{id}";
|
||||
checkSetRowStyle.Location = new Point(508, 0);
|
||||
checkSetRowStyle.Location = new Point(438, 0);
|
||||
checkSetRowStyle.Name = "checkSetRowStyle";
|
||||
checkSetRowStyle.Size = new Size(98, 43);
|
||||
checkSetRowStyle.Size = new Size(85, 43);
|
||||
checkSetRowStyle.TabIndex = 4;
|
||||
checkSetRowStyle.Text = "奇偶列";
|
||||
checkSetRowStyle.CheckedChanged += checkSetRowStyle_CheckedChanged;
|
||||
@@ -195,9 +191,9 @@ namespace Demo.Controls
|
||||
checkBordered.AutoSizeMode = AntdUI.TAutoSize.Width;
|
||||
checkBordered.Dock = DockStyle.Left;
|
||||
checkBordered.LocalizationText = "Table.{id}";
|
||||
checkBordered.Location = new Point(377, 0);
|
||||
checkBordered.Location = new Point(325, 0);
|
||||
checkBordered.Name = "checkBordered";
|
||||
checkBordered.Size = new Size(131, 43);
|
||||
checkBordered.Size = new Size(113, 43);
|
||||
checkBordered.TabIndex = 3;
|
||||
checkBordered.Text = "显示列边框";
|
||||
checkBordered.CheckedChanged += checkBordered_CheckedChanged;
|
||||
@@ -207,9 +203,9 @@ namespace Demo.Controls
|
||||
checkRowsDragSort.AutoSizeMode = AntdUI.TAutoSize.Width;
|
||||
checkRowsDragSort.Dock = DockStyle.Left;
|
||||
checkRowsDragSort.LocalizationText = "Table.{id}";
|
||||
checkRowsDragSort.Location = new Point(246, 0);
|
||||
checkRowsDragSort.Location = new Point(212, 0);
|
||||
checkRowsDragSort.Name = "checkRowsDragSort";
|
||||
checkRowsDragSort.Size = new Size(131, 43);
|
||||
checkRowsDragSort.Size = new Size(113, 43);
|
||||
checkRowsDragSort.TabIndex = 2;
|
||||
checkRowsDragSort.Text = "行拖拽排序";
|
||||
checkRowsDragSort.CheckedChanged += checkRowsDragSort_CheckedChanged;
|
||||
@@ -219,9 +215,9 @@ namespace Demo.Controls
|
||||
checkColumnDragSort.AutoSizeMode = AntdUI.TAutoSize.Width;
|
||||
checkColumnDragSort.Dock = DockStyle.Left;
|
||||
checkColumnDragSort.LocalizationText = "Table.{id}";
|
||||
checkColumnDragSort.Location = new Point(115, 0);
|
||||
checkColumnDragSort.Location = new Point(99, 0);
|
||||
checkColumnDragSort.Name = "checkColumnDragSort";
|
||||
checkColumnDragSort.Size = new Size(131, 43);
|
||||
checkColumnDragSort.Size = new Size(113, 43);
|
||||
checkColumnDragSort.TabIndex = 1;
|
||||
checkColumnDragSort.Text = "列拖拽排序";
|
||||
checkColumnDragSort.CheckedChanged += checkColumnDragSort_CheckedChanged;
|
||||
@@ -234,7 +230,7 @@ namespace Demo.Controls
|
||||
checkFixedHeader.LocalizationText = "Table.{id}";
|
||||
checkFixedHeader.Location = new Point(0, 0);
|
||||
checkFixedHeader.Name = "checkFixedHeader";
|
||||
checkFixedHeader.Size = new Size(115, 43);
|
||||
checkFixedHeader.Size = new Size(99, 43);
|
||||
checkFixedHeader.TabIndex = 0;
|
||||
checkFixedHeader.Text = "固定表头";
|
||||
checkFixedHeader.CheckedChanged += checkFixedHeader_CheckedChanged;
|
||||
@@ -253,12 +249,12 @@ namespace Demo.Controls
|
||||
panel_main.TabIndex = 4;
|
||||
panel_main.Text = "panel2";
|
||||
//
|
||||
// Table
|
||||
// TableAOT
|
||||
//
|
||||
Controls.Add(panel_main);
|
||||
Controls.Add(header1);
|
||||
Font = new Font("Microsoft YaHei UI", 16F);
|
||||
Name = "Table";
|
||||
Font = new Font("Microsoft YaHei UI", 12F);
|
||||
Name = "TableAOT";
|
||||
Size = new Size(1300, 676);
|
||||
panel1.ResumeLayout(false);
|
||||
panel1.PerformLayout();
|
||||
@@ -267,6 +263,7 @@ namespace Demo.Controls
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private AntdUI.PageHeader header1;
|
||||
private AntdUI.Table table1;
|
||||
private AntdUI.Pagination pagination1;
|
||||
|
||||
607
example/Demo/Controls/Tabs.Designer.cs
generated
607
example/Demo/Controls/Tabs.Designer.cs
generated
@@ -23,12 +23,12 @@ namespace Demo.Controls
|
||||
{
|
||||
partial class Tabs
|
||||
{
|
||||
/// <summary>
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
@@ -43,46 +43,70 @@ namespace Demo.Controls
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
AntdUI.Tabs.StyleLine styleLine1 = new AntdUI.Tabs.StyleLine();
|
||||
AntdUI.CarouselItem carouselItem1 = new AntdUI.CarouselItem();
|
||||
AntdUI.CarouselItem carouselItem2 = new AntdUI.CarouselItem();
|
||||
AntdUI.CarouselItem carouselItem3 = new AntdUI.CarouselItem();
|
||||
AntdUI.CarouselItem carouselItem4 = new AntdUI.CarouselItem();
|
||||
AntdUI.Tabs.StyleCard styleCard1 = new AntdUI.Tabs.StyleCard();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Tabs));
|
||||
AntdUI.Tabs.StyleLine styleLine2 = new AntdUI.Tabs.StyleLine();
|
||||
header1 = new AntdUI.PageHeader();
|
||||
panel1 = new System.Windows.Forms.Panel();
|
||||
tabs3 = new AntdUI.Tabs();
|
||||
divider3 = new AntdUI.Divider();
|
||||
tabs_close = new AntdUI.Tabs();
|
||||
divider2 = new AntdUI.Divider();
|
||||
tabs1 = new AntdUI.Tabs();
|
||||
tabPage1 = new AntdUI.TabPage();
|
||||
carousel2 = new AntdUI.Carousel();
|
||||
label1 = new Label();
|
||||
label1 = new AntdUI.Label();
|
||||
tabPage2 = new AntdUI.TabPage();
|
||||
label2 = new Label();
|
||||
label2 = new AntdUI.Label();
|
||||
tabPage3 = new AntdUI.TabPage();
|
||||
label3 = new Label();
|
||||
label3 = new AntdUI.Label();
|
||||
tabPage4 = new AntdUI.TabPage();
|
||||
label4 = new Label();
|
||||
tabs2 = new AntdUI.Tabs();
|
||||
label4 = new AntdUI.Label();
|
||||
tabPage5 = new AntdUI.TabPage();
|
||||
label5 = new Label();
|
||||
label5 = new AntdUI.Label();
|
||||
tabPage6 = new AntdUI.TabPage();
|
||||
label6 = new Label();
|
||||
label6 = new AntdUI.Label();
|
||||
tabPage7 = new AntdUI.TabPage();
|
||||
label7 = new Label();
|
||||
label7 = new AntdUI.Label();
|
||||
tabPage8 = new AntdUI.TabPage();
|
||||
label8 = new AntdUI.Label();
|
||||
tabPage9 = new AntdUI.TabPage();
|
||||
label9 = new AntdUI.Label();
|
||||
tabPage10 = new AntdUI.TabPage();
|
||||
label10 = new AntdUI.Label();
|
||||
tabPage11 = new AntdUI.TabPage();
|
||||
label11 = new AntdUI.Label();
|
||||
tabPage12 = new AntdUI.TabPage();
|
||||
label12 = new AntdUI.Label();
|
||||
tabPage13 = new AntdUI.TabPage();
|
||||
label13 = new AntdUI.Label();
|
||||
tabPage14 = new AntdUI.TabPage();
|
||||
label14 = new AntdUI.Label();
|
||||
tabPage15 = new AntdUI.TabPage();
|
||||
label15 = new AntdUI.Label();
|
||||
divider1 = new AntdUI.Divider();
|
||||
tabPage16 = new AntdUI.TabPage();
|
||||
tabPage17 = new AntdUI.TabPage();
|
||||
tabPage18 = new AntdUI.TabPage();
|
||||
panel1.SuspendLayout();
|
||||
tabs3.SuspendLayout();
|
||||
tabs1.SuspendLayout();
|
||||
tabPage1.SuspendLayout();
|
||||
tabPage2.SuspendLayout();
|
||||
tabPage3.SuspendLayout();
|
||||
tabPage4.SuspendLayout();
|
||||
tabs2.SuspendLayout();
|
||||
tabPage5.SuspendLayout();
|
||||
tabPage6.SuspendLayout();
|
||||
tabPage7.SuspendLayout();
|
||||
tabPage8.SuspendLayout();
|
||||
tabPage9.SuspendLayout();
|
||||
tabPage10.SuspendLayout();
|
||||
tabPage11.SuspendLayout();
|
||||
tabPage12.SuspendLayout();
|
||||
tabPage13.SuspendLayout();
|
||||
tabPage14.SuspendLayout();
|
||||
tabPage15.SuspendLayout();
|
||||
SuspendLayout();
|
||||
//
|
||||
// header1
|
||||
@@ -95,254 +119,521 @@ namespace Demo.Controls
|
||||
header1.Location = new Point(0, 0);
|
||||
header1.Name = "header1";
|
||||
header1.Padding = new Padding(0, 0, 0, 10);
|
||||
header1.Size = new Size(663, 74);
|
||||
header1.Size = new Size(750, 74);
|
||||
header1.TabIndex = 0;
|
||||
header1.Text = "Tabs 标签页";
|
||||
header1.UseTitleFont = true;
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
panel1.AutoScroll = true;
|
||||
panel1.Controls.Add(tabs3);
|
||||
panel1.Controls.Add(divider3);
|
||||
panel1.Controls.Add(tabs_close);
|
||||
panel1.Controls.Add(divider2);
|
||||
panel1.Controls.Add(tabs1);
|
||||
panel1.Controls.Add(divider1);
|
||||
panel1.Dock = DockStyle.Fill;
|
||||
panel1.Location = new Point(0, 74);
|
||||
panel1.Name = "panel1";
|
||||
panel1.Size = new Size(750, 670);
|
||||
panel1.TabIndex = 0;
|
||||
panel1.Text = "stackPanel1";
|
||||
//
|
||||
// tabs3
|
||||
//
|
||||
tabs3.Centered = true;
|
||||
tabs3.Controls.Add(tabPage16);
|
||||
tabs3.Controls.Add(tabPage17);
|
||||
tabs3.Controls.Add(tabPage18);
|
||||
tabs3.Cursor = Cursors.Hand;
|
||||
tabs3.Dock = DockStyle.Top;
|
||||
tabs3.Gap = 12;
|
||||
tabs3.Location = new Point(0, 324);
|
||||
tabs3.Name = "tabs3";
|
||||
tabs3.Pages.Add(tabPage16);
|
||||
tabs3.Pages.Add(tabPage17);
|
||||
tabs3.Pages.Add(tabPage18);
|
||||
tabs3.Size = new Size(750, 120);
|
||||
tabs3.Style = styleLine1;
|
||||
tabs3.TabIndex = 3;
|
||||
tabs3.Text = "tabs3";
|
||||
//
|
||||
// divider3
|
||||
//
|
||||
divider3.Dock = DockStyle.Top;
|
||||
divider3.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider3.LocalizationText = "Tabs.{id}";
|
||||
divider3.Location = new Point(0, 296);
|
||||
divider3.Name = "divider3";
|
||||
divider3.Orientation = AntdUI.TOrientation.Left;
|
||||
divider3.Size = new Size(750, 28);
|
||||
divider3.TabIndex = 0;
|
||||
divider3.Text = "居中位置";
|
||||
//
|
||||
// tabs_close
|
||||
//
|
||||
tabs_close.Cursor = Cursors.Hand;
|
||||
tabs_close.Dock = DockStyle.Top;
|
||||
tabs_close.Gap = 12;
|
||||
tabs_close.Location = new Point(0, 176);
|
||||
tabs_close.Name = "tabs_close";
|
||||
tabs_close.Size = new Size(750, 120);
|
||||
styleCard1.Closable = true;
|
||||
styleCard1.Gap = 6;
|
||||
tabs_close.Style = styleCard1;
|
||||
tabs_close.TabIndex = 2;
|
||||
tabs_close.Text = "tabs2";
|
||||
tabs_close.Type = AntdUI.TabType.Card;
|
||||
//
|
||||
// divider2
|
||||
//
|
||||
divider2.Dock = DockStyle.Top;
|
||||
divider2.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider2.LocalizationText = "Tabs.{id}";
|
||||
divider2.Location = new Point(0, 148);
|
||||
divider2.Name = "divider2";
|
||||
divider2.Orientation = AntdUI.TOrientation.Left;
|
||||
divider2.Size = new Size(750, 28);
|
||||
divider2.TabIndex = 0;
|
||||
divider2.Text = "卡片样式";
|
||||
//
|
||||
// tabs1
|
||||
//
|
||||
tabs1.Controls.Add(tabPage1);
|
||||
tabs1.Controls.Add(tabPage2);
|
||||
tabs1.Controls.Add(tabPage3);
|
||||
tabs1.Controls.Add(tabPage4);
|
||||
tabs1.Controls.Add(tabPage5);
|
||||
tabs1.Controls.Add(tabPage6);
|
||||
tabs1.Controls.Add(tabPage7);
|
||||
tabs1.Controls.Add(tabPage8);
|
||||
tabs1.Controls.Add(tabPage9);
|
||||
tabs1.Controls.Add(tabPage10);
|
||||
tabs1.Controls.Add(tabPage11);
|
||||
tabs1.Controls.Add(tabPage12);
|
||||
tabs1.Controls.Add(tabPage13);
|
||||
tabs1.Controls.Add(tabPage14);
|
||||
tabs1.Controls.Add(tabPage15);
|
||||
tabs1.Dock = DockStyle.Top;
|
||||
tabs1.Location = new Point(0, 74);
|
||||
tabs1.Gap = 12;
|
||||
tabs1.Location = new Point(0, 28);
|
||||
tabs1.Name = "tabs1";
|
||||
tabs1.Padding = new Padding(4);
|
||||
tabs1.Pages.Add(tabPage1);
|
||||
tabs1.Pages.Add(tabPage2);
|
||||
tabs1.Pages.Add(tabPage3);
|
||||
tabs1.Pages.Add(tabPage4);
|
||||
tabs1.Size = new Size(663, 314);
|
||||
tabs1.Style = styleLine1;
|
||||
tabs1.TabIndex = 5;
|
||||
tabs1.Pages.Add(tabPage5);
|
||||
tabs1.Pages.Add(tabPage6);
|
||||
tabs1.Pages.Add(tabPage7);
|
||||
tabs1.Pages.Add(tabPage8);
|
||||
tabs1.Pages.Add(tabPage9);
|
||||
tabs1.Pages.Add(tabPage10);
|
||||
tabs1.Pages.Add(tabPage11);
|
||||
tabs1.Pages.Add(tabPage12);
|
||||
tabs1.Pages.Add(tabPage13);
|
||||
tabs1.Pages.Add(tabPage14);
|
||||
tabs1.Pages.Add(tabPage15);
|
||||
tabs1.Size = new Size(750, 120);
|
||||
tabs1.Style = styleLine2;
|
||||
tabs1.TabIndex = 1;
|
||||
tabs1.Text = "tabs1";
|
||||
//
|
||||
// tabPage1
|
||||
//
|
||||
tabPage1.Controls.Add(carousel2);
|
||||
tabPage1.Controls.Add(label1);
|
||||
tabPage1.Dock = DockStyle.Fill;
|
||||
tabPage1.Location = new Point(7, 36);
|
||||
tabPage1.IconSvg = "AppleFilled";
|
||||
tabPage1.Location = new Point(3, 38);
|
||||
tabPage1.Name = "tabPage1";
|
||||
tabPage1.Padding = new Padding(3);
|
||||
tabPage1.Size = new Size(649, 271);
|
||||
tabPage1.Size = new Size(744, 79);
|
||||
tabPage1.TabIndex = 0;
|
||||
tabPage1.Text = "Tab 1";
|
||||
//
|
||||
// carousel2
|
||||
//
|
||||
carousel2.DotPosition = AntdUI.TAlignMini.Top;
|
||||
carouselItem1.Img = Properties.Resources.img1;
|
||||
carouselItem2.Img = Properties.Resources.bg1;
|
||||
carouselItem3.Img = Properties.Resources.bg7;
|
||||
carouselItem4.Img = Properties.Resources.bg2;
|
||||
carousel2.Image.Add(carouselItem1);
|
||||
carousel2.Image.Add(carouselItem2);
|
||||
carousel2.Image.Add(carouselItem3);
|
||||
carousel2.Image.Add(carouselItem4);
|
||||
carousel2.Location = new Point(22, 43);
|
||||
carousel2.Name = "carousel2";
|
||||
carousel2.Radius = 8;
|
||||
carousel2.Size = new Size(393, 211);
|
||||
carousel2.TabIndex = 2;
|
||||
tabPage1.Text = "Tab1";
|
||||
//
|
||||
// label1
|
||||
//
|
||||
label1.AutoSize = true;
|
||||
label1.Dock = DockStyle.Top;
|
||||
label1.Location = new Point(3, 3);
|
||||
label1.Dock = DockStyle.Fill;
|
||||
label1.Location = new Point(0, 0);
|
||||
label1.Name = "label1";
|
||||
label1.Size = new Size(49, 20);
|
||||
label1.Size = new Size(744, 79);
|
||||
label1.TabIndex = 0;
|
||||
label1.Text = "Tab 1";
|
||||
label1.Text = "Content of Tab Pane 1";
|
||||
label1.TextAlign = ContentAlignment.TopLeft;
|
||||
//
|
||||
// tabPage2
|
||||
//
|
||||
tabPage2.Controls.Add(label2);
|
||||
tabPage2.Dock = DockStyle.Fill;
|
||||
tabPage2.Location = new Point(4, 29);
|
||||
tabPage2.Location = new Point(0, 0);
|
||||
tabPage2.Name = "tabPage2";
|
||||
tabPage2.Padding = new Padding(3);
|
||||
tabPage2.Size = new Size(192, 67);
|
||||
tabPage2.Size = new Size(0, 0);
|
||||
tabPage2.TabIndex = 1;
|
||||
tabPage2.Text = "Tab 2";
|
||||
tabPage2.Text = "Tab2";
|
||||
//
|
||||
// label2
|
||||
//
|
||||
label2.AutoSize = true;
|
||||
label2.Dock = DockStyle.Top;
|
||||
label2.Location = new Point(3, 3);
|
||||
label2.Dock = DockStyle.Fill;
|
||||
label2.Location = new Point(0, 0);
|
||||
label2.Name = "label2";
|
||||
label2.Size = new Size(41, 17);
|
||||
label2.Size = new Size(0, 0);
|
||||
label2.TabIndex = 1;
|
||||
label2.Text = "Tab 2";
|
||||
label2.Text = "Content of Tab Pane 2";
|
||||
label2.TextAlign = ContentAlignment.TopLeft;
|
||||
//
|
||||
// tabPage3
|
||||
//
|
||||
tabPage3.Controls.Add(label3);
|
||||
tabPage3.Dock = DockStyle.Fill;
|
||||
tabPage3.Location = new Point(4, 29);
|
||||
tabPage3.Location = new Point(0, 0);
|
||||
tabPage3.Name = "tabPage3";
|
||||
tabPage3.Padding = new Padding(3);
|
||||
tabPage3.Size = new Size(192, 67);
|
||||
tabPage3.Size = new Size(0, 0);
|
||||
tabPage3.TabIndex = 2;
|
||||
tabPage3.Text = "TabPage3";
|
||||
tabPage3.Text = "Tab3";
|
||||
//
|
||||
// label3
|
||||
//
|
||||
label3.AutoSize = true;
|
||||
label3.Dock = DockStyle.Top;
|
||||
label3.Location = new Point(3, 3);
|
||||
label3.Dock = DockStyle.Fill;
|
||||
label3.Location = new Point(0, 0);
|
||||
label3.Name = "label3";
|
||||
label3.Size = new Size(41, 17);
|
||||
label3.Size = new Size(0, 0);
|
||||
label3.TabIndex = 1;
|
||||
label3.Text = "Tab 3";
|
||||
label3.Text = "Content of Tab Pane 3";
|
||||
label3.TextAlign = ContentAlignment.TopLeft;
|
||||
//
|
||||
// tabPage4
|
||||
//
|
||||
tabPage4.Controls.Add(label4);
|
||||
tabPage4.Dock = DockStyle.Fill;
|
||||
tabPage4.Location = new Point(4, 29);
|
||||
tabPage4.Location = new Point(0, 0);
|
||||
tabPage4.Name = "tabPage4";
|
||||
tabPage4.Padding = new Padding(3);
|
||||
tabPage4.Size = new Size(192, 67);
|
||||
tabPage4.Size = new Size(0, 0);
|
||||
tabPage4.TabIndex = 3;
|
||||
tabPage4.Text = "TabPage4 233";
|
||||
tabPage4.Text = "Tab4";
|
||||
//
|
||||
// label4
|
||||
//
|
||||
label4.AutoSize = true;
|
||||
label4.Dock = DockStyle.Top;
|
||||
label4.Location = new Point(3, 3);
|
||||
label4.Dock = DockStyle.Fill;
|
||||
label4.Location = new Point(0, 0);
|
||||
label4.Name = "label4";
|
||||
label4.Size = new Size(41, 17);
|
||||
label4.Size = new Size(0, 0);
|
||||
label4.TabIndex = 1;
|
||||
label4.Text = "Tab 4";
|
||||
//
|
||||
// tabs2
|
||||
//
|
||||
tabs2.Alignment = TabAlignment.Left;
|
||||
tabs2.Dock = DockStyle.Fill;
|
||||
tabs2.Location = new Point(0, 388);
|
||||
tabs2.Margin = new Padding(8);
|
||||
tabs2.Name = "tabs2";
|
||||
tabs2.Pages.Add(tabPage5);
|
||||
tabs2.Pages.Add(tabPage6);
|
||||
tabs2.Pages.Add(tabPage7);
|
||||
tabs2.Size = new Size(663, 167);
|
||||
styleCard1.Gap = 8;
|
||||
tabs2.Style = styleCard1;
|
||||
tabs2.TabIndex = 7;
|
||||
tabs2.Type = AntdUI.TabType.Card;
|
||||
label4.Text = "Content of Tab Pane 4";
|
||||
label4.TextAlign = ContentAlignment.TopLeft;
|
||||
//
|
||||
// tabPage5
|
||||
//
|
||||
tabPage5.Controls.Add(label5);
|
||||
tabPage5.Dock = DockStyle.Fill;
|
||||
tabPage5.Location = new Point(83, 8);
|
||||
tabPage5.Location = new Point(0, 0);
|
||||
tabPage5.Name = "tabPage5";
|
||||
tabPage5.Padding = new Padding(3);
|
||||
tabPage5.Size = new Size(572, 151);
|
||||
tabPage5.TabIndex = 6;
|
||||
tabPage5.Text = "Tab 1";
|
||||
tabPage5.Size = new Size(0, 0);
|
||||
tabPage5.TabIndex = 4;
|
||||
tabPage5.Text = "Tab5";
|
||||
//
|
||||
// label5
|
||||
//
|
||||
label5.AutoSize = true;
|
||||
label5.Dock = DockStyle.Top;
|
||||
label5.Location = new Point(3, 3);
|
||||
label5.Dock = DockStyle.Fill;
|
||||
label5.Location = new Point(0, 0);
|
||||
label5.Name = "label5";
|
||||
label5.Size = new Size(49, 20);
|
||||
label5.TabIndex = 0;
|
||||
label5.Text = "Tab 1";
|
||||
label5.Size = new Size(0, 0);
|
||||
label5.TabIndex = 1;
|
||||
label5.Text = "Content of Tab Pane 5";
|
||||
label5.TextAlign = ContentAlignment.TopLeft;
|
||||
//
|
||||
// tabPage6
|
||||
//
|
||||
tabPage6.Controls.Add(label6);
|
||||
tabPage6.Dock = DockStyle.Fill;
|
||||
tabPage6.IconSvg = resources.GetString("tabPage6.IconSvg");
|
||||
tabPage6.Location = new Point(85, 3);
|
||||
tabPage6.Location = new Point(0, 0);
|
||||
tabPage6.Name = "tabPage6";
|
||||
tabPage6.Padding = new Padding(3);
|
||||
tabPage6.Size = new Size(575, 156);
|
||||
tabPage6.TabIndex = 0;
|
||||
tabPage6.Text = "Tab 2";
|
||||
tabPage6.Size = new Size(0, 0);
|
||||
tabPage6.TabIndex = 5;
|
||||
tabPage6.Text = "Tab6";
|
||||
//
|
||||
// label6
|
||||
//
|
||||
label6.AutoSize = true;
|
||||
label6.Dock = DockStyle.Top;
|
||||
label6.Location = new Point(3, 3);
|
||||
label6.Dock = DockStyle.Fill;
|
||||
label6.Location = new Point(0, 0);
|
||||
label6.Name = "label6";
|
||||
label6.Size = new Size(41, 17);
|
||||
label6.Size = new Size(0, 0);
|
||||
label6.TabIndex = 1;
|
||||
label6.Text = "Tab 2";
|
||||
label6.Text = "Content of Tab Pane 6";
|
||||
label6.TextAlign = ContentAlignment.TopLeft;
|
||||
//
|
||||
// tabPage7
|
||||
//
|
||||
tabPage7.Controls.Add(label7);
|
||||
tabPage7.Dock = DockStyle.Fill;
|
||||
tabPage7.IconSvg = resources.GetString("tabPage7.IconSvg");
|
||||
tabPage7.Location = new Point(85, 3);
|
||||
tabPage7.Location = new Point(0, 0);
|
||||
tabPage7.Name = "tabPage7";
|
||||
tabPage7.Padding = new Padding(3);
|
||||
tabPage7.Size = new Size(575, 156);
|
||||
tabPage7.TabIndex = 0;
|
||||
tabPage7.Text = "Tab 3";
|
||||
tabPage7.Size = new Size(0, 0);
|
||||
tabPage7.TabIndex = 6;
|
||||
tabPage7.Text = "Tab7";
|
||||
//
|
||||
// label7
|
||||
//
|
||||
label7.AutoSize = true;
|
||||
label7.Dock = DockStyle.Top;
|
||||
label7.Location = new Point(3, 3);
|
||||
label7.Dock = DockStyle.Fill;
|
||||
label7.Location = new Point(0, 0);
|
||||
label7.Name = "label7";
|
||||
label7.Size = new Size(41, 17);
|
||||
label7.Size = new Size(0, 0);
|
||||
label7.TabIndex = 1;
|
||||
label7.Text = "Tab 3";
|
||||
label7.Text = "Content of Tab Pane 7";
|
||||
label7.TextAlign = ContentAlignment.TopLeft;
|
||||
//
|
||||
// tabPage8
|
||||
//
|
||||
tabPage8.Controls.Add(label8);
|
||||
tabPage8.Location = new Point(0, 0);
|
||||
tabPage8.Name = "tabPage8";
|
||||
tabPage8.Size = new Size(0, 0);
|
||||
tabPage8.TabIndex = 7;
|
||||
tabPage8.Text = "Tab8";
|
||||
//
|
||||
// label8
|
||||
//
|
||||
label8.Dock = DockStyle.Fill;
|
||||
label8.Location = new Point(0, 0);
|
||||
label8.Name = "label8";
|
||||
label8.Size = new Size(0, 0);
|
||||
label8.TabIndex = 1;
|
||||
label8.Text = "Content of Tab Pane 8";
|
||||
label8.TextAlign = ContentAlignment.TopLeft;
|
||||
//
|
||||
// tabPage9
|
||||
//
|
||||
tabPage9.Controls.Add(label9);
|
||||
tabPage9.Location = new Point(0, 0);
|
||||
tabPage9.Name = "tabPage9";
|
||||
tabPage9.Size = new Size(0, 0);
|
||||
tabPage9.TabIndex = 8;
|
||||
tabPage9.Text = "Tab9";
|
||||
//
|
||||
// label9
|
||||
//
|
||||
label9.Dock = DockStyle.Fill;
|
||||
label9.Location = new Point(0, 0);
|
||||
label9.Name = "label9";
|
||||
label9.Size = new Size(0, 0);
|
||||
label9.TabIndex = 1;
|
||||
label9.Text = "Content of Tab Pane 9";
|
||||
label9.TextAlign = ContentAlignment.TopLeft;
|
||||
//
|
||||
// tabPage10
|
||||
//
|
||||
tabPage10.Controls.Add(label10);
|
||||
tabPage10.Location = new Point(0, 0);
|
||||
tabPage10.Name = "tabPage10";
|
||||
tabPage10.Size = new Size(0, 0);
|
||||
tabPage10.TabIndex = 9;
|
||||
tabPage10.Text = "Tab10";
|
||||
//
|
||||
// label10
|
||||
//
|
||||
label10.Dock = DockStyle.Fill;
|
||||
label10.Location = new Point(0, 0);
|
||||
label10.Name = "label10";
|
||||
label10.Size = new Size(0, 0);
|
||||
label10.TabIndex = 1;
|
||||
label10.Text = "Content of Tab Pane 10";
|
||||
label10.TextAlign = ContentAlignment.TopLeft;
|
||||
//
|
||||
// tabPage11
|
||||
//
|
||||
tabPage11.Controls.Add(label11);
|
||||
tabPage11.Location = new Point(0, 0);
|
||||
tabPage11.Name = "tabPage11";
|
||||
tabPage11.Size = new Size(0, 0);
|
||||
tabPage11.TabIndex = 10;
|
||||
tabPage11.Text = "Tab11";
|
||||
//
|
||||
// label11
|
||||
//
|
||||
label11.Dock = DockStyle.Fill;
|
||||
label11.Location = new Point(0, 0);
|
||||
label11.Name = "label11";
|
||||
label11.Size = new Size(0, 0);
|
||||
label11.TabIndex = 1;
|
||||
label11.Text = "Content of Tab Pane 11";
|
||||
label11.TextAlign = ContentAlignment.TopLeft;
|
||||
//
|
||||
// tabPage12
|
||||
//
|
||||
tabPage12.Controls.Add(label12);
|
||||
tabPage12.Location = new Point(0, 0);
|
||||
tabPage12.Name = "tabPage12";
|
||||
tabPage12.Size = new Size(0, 0);
|
||||
tabPage12.TabIndex = 11;
|
||||
tabPage12.Text = "Tab12";
|
||||
//
|
||||
// label12
|
||||
//
|
||||
label12.Dock = DockStyle.Fill;
|
||||
label12.Location = new Point(0, 0);
|
||||
label12.Name = "label12";
|
||||
label12.Size = new Size(0, 0);
|
||||
label12.TabIndex = 1;
|
||||
label12.Text = "Content of Tab Pane 12";
|
||||
label12.TextAlign = ContentAlignment.TopLeft;
|
||||
//
|
||||
// tabPage13
|
||||
//
|
||||
tabPage13.Controls.Add(label13);
|
||||
tabPage13.Location = new Point(0, 0);
|
||||
tabPage13.Name = "tabPage13";
|
||||
tabPage13.Size = new Size(0, 0);
|
||||
tabPage13.TabIndex = 12;
|
||||
tabPage13.Text = "Tab13";
|
||||
//
|
||||
// label13
|
||||
//
|
||||
label13.Dock = DockStyle.Fill;
|
||||
label13.Location = new Point(0, 0);
|
||||
label13.Name = "label13";
|
||||
label13.Size = new Size(0, 0);
|
||||
label13.TabIndex = 1;
|
||||
label13.Text = "Content of Tab Pane 13";
|
||||
label13.TextAlign = ContentAlignment.TopLeft;
|
||||
//
|
||||
// tabPage14
|
||||
//
|
||||
tabPage14.Controls.Add(label14);
|
||||
tabPage14.Location = new Point(0, 0);
|
||||
tabPage14.Name = "tabPage14";
|
||||
tabPage14.Size = new Size(0, 0);
|
||||
tabPage14.TabIndex = 13;
|
||||
tabPage14.Text = "Tab14";
|
||||
//
|
||||
// label14
|
||||
//
|
||||
label14.Dock = DockStyle.Fill;
|
||||
label14.Location = new Point(0, 0);
|
||||
label14.Name = "label14";
|
||||
label14.Size = new Size(0, 0);
|
||||
label14.TabIndex = 1;
|
||||
label14.Text = "Content of Tab Pane 14";
|
||||
label14.TextAlign = ContentAlignment.TopLeft;
|
||||
//
|
||||
// tabPage15
|
||||
//
|
||||
tabPage15.Controls.Add(label15);
|
||||
tabPage15.Location = new Point(0, 0);
|
||||
tabPage15.Name = "tabPage15";
|
||||
tabPage15.Size = new Size(0, 0);
|
||||
tabPage15.TabIndex = 14;
|
||||
tabPage15.Text = "Tab15";
|
||||
//
|
||||
// label15
|
||||
//
|
||||
label15.Dock = DockStyle.Fill;
|
||||
label15.Location = new Point(0, 0);
|
||||
label15.Name = "label15";
|
||||
label15.Size = new Size(0, 0);
|
||||
label15.TabIndex = 1;
|
||||
label15.Text = "Content of Tab Pane 15";
|
||||
label15.TextAlign = ContentAlignment.TopLeft;
|
||||
//
|
||||
// divider1
|
||||
//
|
||||
divider1.Dock = DockStyle.Top;
|
||||
divider1.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider1.LocalizationText = "Tabs.{id}";
|
||||
divider1.Location = new Point(0, 0);
|
||||
divider1.Name = "divider1";
|
||||
divider1.Orientation = AntdUI.TOrientation.Left;
|
||||
divider1.Size = new Size(750, 28);
|
||||
divider1.TabIndex = 0;
|
||||
divider1.Text = "基本用法";
|
||||
//
|
||||
// tabPage16
|
||||
//
|
||||
tabPage16.Badge = "99";
|
||||
tabPage16.IconSvg = "AppleFilled";
|
||||
tabPage16.Location = new Point(3, 38);
|
||||
tabPage16.Name = "tabPage16";
|
||||
tabPage16.Size = new Size(744, 79);
|
||||
tabPage16.TabIndex = 0;
|
||||
tabPage16.Text = "Tab1";
|
||||
//
|
||||
// tabPage17
|
||||
//
|
||||
tabPage17.Location = new Point(0, 0);
|
||||
tabPage17.Name = "tabPage17";
|
||||
tabPage17.Size = new Size(0, 0);
|
||||
tabPage17.TabIndex = 1;
|
||||
tabPage17.Text = "Tab2";
|
||||
//
|
||||
// tabPage18
|
||||
//
|
||||
tabPage18.Location = new Point(0, 0);
|
||||
tabPage18.Name = "tabPage18";
|
||||
tabPage18.Size = new Size(0, 0);
|
||||
tabPage18.TabIndex = 2;
|
||||
tabPage18.Text = "Tab3";
|
||||
//
|
||||
// Tabs
|
||||
//
|
||||
Controls.Add(tabs2);
|
||||
Controls.Add(tabs1);
|
||||
Controls.Add(panel1);
|
||||
Controls.Add(header1);
|
||||
Font = new Font("Microsoft YaHei UI", 11F);
|
||||
Font = new Font("Microsoft YaHei UI", 12F);
|
||||
Name = "Tabs";
|
||||
Size = new Size(663, 555);
|
||||
Size = new Size(750, 744);
|
||||
panel1.ResumeLayout(false);
|
||||
tabs3.ResumeLayout(false);
|
||||
tabs1.ResumeLayout(false);
|
||||
tabPage1.ResumeLayout(false);
|
||||
tabPage1.PerformLayout();
|
||||
tabPage2.ResumeLayout(false);
|
||||
tabPage2.PerformLayout();
|
||||
tabPage3.ResumeLayout(false);
|
||||
tabPage3.PerformLayout();
|
||||
tabPage4.ResumeLayout(false);
|
||||
tabPage4.PerformLayout();
|
||||
tabs2.ResumeLayout(false);
|
||||
tabPage5.ResumeLayout(false);
|
||||
tabPage5.PerformLayout();
|
||||
tabPage6.ResumeLayout(false);
|
||||
tabPage6.PerformLayout();
|
||||
tabPage7.ResumeLayout(false);
|
||||
tabPage7.PerformLayout();
|
||||
tabPage8.ResumeLayout(false);
|
||||
tabPage9.ResumeLayout(false);
|
||||
tabPage10.ResumeLayout(false);
|
||||
tabPage11.ResumeLayout(false);
|
||||
tabPage12.ResumeLayout(false);
|
||||
tabPage13.ResumeLayout(false);
|
||||
tabPage14.ResumeLayout(false);
|
||||
tabPage15.ResumeLayout(false);
|
||||
ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private AntdUI.PageHeader header1;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private AntdUI.Divider divider1;
|
||||
private AntdUI.Tabs tabs1;
|
||||
private AntdUI.Divider divider2;
|
||||
private AntdUI.Tabs tabs_close;
|
||||
private AntdUI.Tabs tabs3;
|
||||
private AntdUI.Divider divider3;
|
||||
private AntdUI.Label label1;
|
||||
private AntdUI.TabPage tabPage1;
|
||||
private AntdUI.Carousel carousel2;
|
||||
private Label label1;
|
||||
private AntdUI.TabPage tabPage2;
|
||||
private Label label2;
|
||||
private AntdUI.TabPage tabPage3;
|
||||
private Label label3;
|
||||
private AntdUI.TabPage tabPage4;
|
||||
private Label label4;
|
||||
private AntdUI.Tabs tabs2;
|
||||
private AntdUI.TabPage tabPage5;
|
||||
private Label label5;
|
||||
private AntdUI.TabPage tabPage6;
|
||||
private AntdUI.TabPage tabPage7;
|
||||
private Label label6;
|
||||
private Label label7;
|
||||
private AntdUI.TabPage tabPage8;
|
||||
private AntdUI.TabPage tabPage9;
|
||||
private AntdUI.TabPage tabPage10;
|
||||
private AntdUI.TabPage tabPage11;
|
||||
private AntdUI.TabPage tabPage12;
|
||||
private AntdUI.TabPage tabPage13;
|
||||
private AntdUI.TabPage tabPage14;
|
||||
private AntdUI.TabPage tabPage15;
|
||||
private AntdUI.Label label2;
|
||||
private AntdUI.Label label3;
|
||||
private AntdUI.Label label4;
|
||||
private AntdUI.Label label5;
|
||||
private AntdUI.Label label6;
|
||||
private AntdUI.Label label7;
|
||||
private AntdUI.Label label8;
|
||||
private AntdUI.Label label9;
|
||||
private AntdUI.Label label10;
|
||||
private AntdUI.Label label11;
|
||||
private AntdUI.Label label12;
|
||||
private AntdUI.Label label13;
|
||||
private AntdUI.Label label14;
|
||||
private AntdUI.Label label15;
|
||||
private AntdUI.TabPage tabPage16;
|
||||
private AntdUI.TabPage tabPage17;
|
||||
private AntdUI.TabPage tabPage18;
|
||||
}
|
||||
}
|
||||
@@ -16,6 +16,7 @@
|
||||
// CSDN: https://blog.csdn.net/v_132
|
||||
// QQ: 17379620
|
||||
|
||||
using System.Drawing;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace Demo.Controls
|
||||
@@ -27,6 +28,23 @@ namespace Demo.Controls
|
||||
{
|
||||
form = _form;
|
||||
InitializeComponent();
|
||||
|
||||
for (int i = 0; i < 30; i++)
|
||||
{
|
||||
var it = new AntdUI.TabPage
|
||||
{
|
||||
ReadOnly = i == 0,
|
||||
IconSvg = i == 0 ? "AppleFilled" : null,
|
||||
Text = "Tab" + (i + 1).ToString(),
|
||||
};
|
||||
it.Controls.Add(new AntdUI.Label
|
||||
{
|
||||
Dock = DockStyle.Fill,
|
||||
TextAlign = ContentAlignment.TopLeft,
|
||||
Text = "Content of Tab Pane " + (i + 1)
|
||||
});
|
||||
tabs_close.Pages.Add(it);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -117,10 +117,4 @@
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="tabPage6.IconSvg" xml:space="preserve">
|
||||
<value><svg viewBox="64 64 896 896"><path d="M747.4 535.7c-.4-68.2 30.5-119.6 92.9-157.5-34.9-50-87.7-77.5-157.3-82.8-65.9-5.2-138 38.4-164.4 38.4-27.9 0-91.7-36.6-141.9-36.6C273.1 298.8 163 379.8 163 544.6c0 48.7 8.9 99 26.7 150.8 23.8 68.2 109.6 235.3 199.1 232.6 46.8-1.1 79.9-33.2 140.8-33.2 59.1 0 89.7 33.2 141.9 33.2 90.3-1.3 167.9-153.2 190.5-221.6-121.1-57.1-114.6-167.2-114.6-170.7zm-10.6 267c-14.3 19.9-28.7 35.6-41.9 45.7-10.5 8-18.6 11.4-24 11.6-9-.1-17.7-2.3-34.7-8.8-1.2-.5-2.5-1-4.2-1.6l-4.4-1.7c-17.4-6.7-27.8-10.3-41.1-13.8-18.6-4.8-37.1-7.4-56.9-7.4-20.2 0-39.2 2.5-58.1 7.2-13.9 3.5-25.6 7.4-42.7 13.8-.7.3-8.1 3.1-10.2 3.9-3.5 1.3-6.2 2.3-8.7 3.2-10.4 3.6-17 5.1-22.9 5.2-.7 0-1.3-.1-1.8-.2-1.1-.2-2.5-.6-4.1-1.3-4.5-1.8-9.9-5.1-16-9.8-14-10.9-29.4-28-45.1-49.9-27.5-38.6-53.5-89.8-66-125.7-15.4-44.8-23-87.7-23-128.6 0-60.2 17.8-106 48.4-137.1 26.3-26.6 61.7-41.5 97.8-42.3 5.9.1 14.5 1.5 25.4 4.5 8.6 2.3 18 5.4 30.7 9.9 3.8 1.4 16.9 6.1 18.5 6.7 7.7 2.8 13.5 4.8 19.2 6.6 18.2 5.8 32.3 9 47.6 9 15.5 0 28.8-3.3 47.7-9.8 7.1-2.4 32.9-12 37.5-13.6 25.6-9.1 44.5-14 60.8-15.2 4.8-.4 9.1-.4 13.2-.1 22.7 1.8 42.1 6.3 58.6 13.8-37.6 43.4-57 96.5-56.9 158.4-.3 14.7.9 31.7 5.1 51.8 6.4 30.5 18.6 60.7 37.9 89 14.7 21.5 32.9 40.9 54.7 57.8-11.5 23.7-25.6 48.2-40.4 68.8zm-94.5-572c50.7-60.2 46.1-115 44.6-134.7-44.8 2.6-96.6 30.5-126.1 64.8-32.5 36.8-51.6 82.3-47.5 133.6 48.4 3.7 92.6-21.2 129-63.7z"></path></svg></value>
|
||||
</data>
|
||||
<data name="tabPage7.IconSvg" xml:space="preserve">
|
||||
<value><svg viewBox="64 64 896 896"><path d="M448.3 225.2c-18.6 0-32 13.4-32 31.9s13.5 31.9 32 31.9c18.6 0 32-13.4 32-31.9.1-18.4-13.4-31.9-32-31.9zm393.9 96.4c-13.8-13.8-32.7-21.5-53.2-21.5-3.9 0-7.4.4-10.7 1v-1h-3.6c-5.5-30.6-18.6-60.5-38.1-87.4-18.7-25.7-43-47.9-70.8-64.9l25.1-35.8v-3.3c0-.8.4-2.3.7-3.8.6-2.4 1.4-5.5 1.4-8.9 0-18.5-13.5-31.9-32-31.9-9.8 0-19.5 5.7-25.9 15.4l-29.3 42.1c-30-9.8-62.4-15-93.8-15-31.3 0-63.7 5.2-93.8 15L389 79.4c-6.6-9.6-16.1-15.4-26-15.4-18.6 0-32 13.4-32 31.9 0 6.2 2.5 12.8 6.7 17.4l22.6 32.3c-28.7 17-53.5 39.4-72.2 65.1-19.4 26.9-32 56.8-36.7 87.4h-5.5v1c-3.2-.6-6.7-1-10.7-1-20.3 0-39.2 7.5-53.1 21.3-13.8 13.8-21.5 32.6-21.5 53v235c0 20.3 7.5 39.1 21.4 52.9 13.8 13.8 32.8 21.5 53.2 21.5 3.9 0 7.4-.4 10.7-1v93.5c0 29.2 23.9 53.1 53.2 53.1H331v58.3c0 20.3 7.5 39.1 21.4 52.9 13.8 13.8 32.8 21.5 53.2 21.5 20.3 0 39.2-7.5 53.1-21.3 13.8-13.8 21.5-32.6 21.5-53v-58.2H544v58.1c0 20.3 7.5 39.1 21.4 52.9 13.8 13.8 32.8 21.5 53.2 21.5 20.4 0 39.2-7.5 53.1-21.6 13.8-13.8 21.5-32.6 21.5-53v-58.2h31.9c29.3 0 53.2-23.8 53.2-53.1v-91.4c3.2.6 6.7 1 10.7 1 20.3 0 39.2-7.5 53.1-21.3 13.8-13.8 21.5-32.6 21.5-53v-235c-.1-20.3-7.6-39-21.4-52.9zM246 609.6c0 6.8-3.9 10.6-10.7 10.6-6.8 0-10.7-3.8-10.7-10.6V374.5c0-6.8 3.9-10.6 10.7-10.6 6.8 0 10.7 3.8 10.7 10.6v235.1zm131.1-396.8c37.5-27.3 85.3-42.3 135-42.3s97.5 15.1 135 42.5c32.4 23.7 54.2 54.2 62.7 87.5H314.4c8.5-33.4 30.5-64 62.7-87.7zm39.3 674.7c-.6 5.6-4.4 8.7-10.5 8.7-6.8 0-10.7-3.8-10.7-10.6v-58.2h21.2v60.1zm202.3 8.7c-6.8 0-10.7-3.8-10.7-10.6v-58.2h21.2v60.1c-.6 5.6-4.3 8.7-10.5 8.7zm95.8-132.6H309.9V364h404.6v399.6zm85.2-154c0 6.8-3.9 10.6-10.7 10.6-6.8 0-10.7-3.8-10.7-10.6V374.5c0-6.8 3.9-10.6 10.7-10.6 6.8 0 10.7 3.8 10.7 10.6v235.1zM576.1 225.2c-18.6 0-32 13.4-32 31.9s13.5 31.9 32 31.9c18.6 0 32.1-13.4 32.1-32-.1-18.6-13.4-31.8-32.1-31.8z"></path></svg></value>
|
||||
</data>
|
||||
</root>
|
||||
4
example/Demo/Controls/Tag.Designer.cs
generated
4
example/Demo/Controls/Tag.Designer.cs
generated
@@ -43,10 +43,6 @@ namespace Demo.Controls
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
header1 = new AntdUI.PageHeader();
|
||||
|
||||
5
example/Demo/Controls/TimePicker.Designer.cs
generated
5
example/Demo/Controls/TimePicker.Designer.cs
generated
@@ -43,10 +43,6 @@ namespace Demo.Controls
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
header1 = new AntdUI.PageHeader();
|
||||
@@ -153,6 +149,7 @@ namespace Demo.Controls
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private AntdUI.PageHeader header1;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private AntdUI.Divider divider1;
|
||||
|
||||
5
example/Demo/Controls/Timeline.Designer.cs
generated
5
example/Demo/Controls/Timeline.Designer.cs
generated
@@ -43,10 +43,6 @@ namespace Demo.Controls
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
AntdUI.TimelineItem timelineItem1 = new AntdUI.TimelineItem();
|
||||
@@ -151,6 +147,7 @@ namespace Demo.Controls
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private AntdUI.PageHeader header1;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private AntdUI.Timeline timeline1;
|
||||
|
||||
7
example/Demo/Controls/Tooltip.Designer.cs
generated
7
example/Demo/Controls/Tooltip.Designer.cs
generated
@@ -43,10 +43,6 @@ namespace Demo.Controls
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
header1 = new AntdUI.PageHeader();
|
||||
@@ -293,7 +289,7 @@ namespace Demo.Controls
|
||||
label4.LocalizationText = "Tooltip.{id}";
|
||||
label4.Location = new Point(12, 10);
|
||||
label4.Name = "label4";
|
||||
label4.Size = new Size(105, 23);
|
||||
label4.Size = new Size(96, 21);
|
||||
label4.TabIndex = 0;
|
||||
label4.Text = "最简单的用法";
|
||||
tooltipComponent1.SetTip(label4, "prompt text");
|
||||
@@ -388,6 +384,7 @@ namespace Demo.Controls
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private AntdUI.PageHeader header1;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private AntdUI.Divider divider1;
|
||||
|
||||
4
example/Demo/Controls/Tour.Designer.cs
generated
4
example/Demo/Controls/Tour.Designer.cs
generated
@@ -43,10 +43,6 @@ namespace Demo.Controls
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
header1 = new AntdUI.PageHeader();
|
||||
|
||||
4
example/Demo/Controls/TourPopover.Designer.cs
generated
4
example/Demo/Controls/TourPopover.Designer.cs
generated
@@ -43,10 +43,6 @@ namespace Demo.Controls
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
label1 = new AntdUI.Label();
|
||||
|
||||
120
example/Demo/Controls/TourPopover.resx
Normal file
120
example/Demo/Controls/TourPopover.resx
Normal file
@@ -0,0 +1,120 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
||||
4
example/Demo/Controls/Tree.Designer.cs
generated
4
example/Demo/Controls/Tree.Designer.cs
generated
@@ -43,10 +43,6 @@ namespace Demo.Controls
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
header1 = new AntdUI.PageHeader();
|
||||
|
||||
5
example/Demo/Controls/VirtualPanel.Designer.cs
generated
5
example/Demo/Controls/VirtualPanel.Designer.cs
generated
@@ -43,10 +43,6 @@ namespace Demo.Controls
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
header1 = new AntdUI.PageHeader();
|
||||
@@ -158,6 +154,7 @@ namespace Demo.Controls
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private AntdUI.PageHeader header1;
|
||||
private AntdUI.VirtualPanel vpanel;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
|
||||
@@ -540,6 +540,12 @@ namespace Demo
|
||||
return "Tabs";
|
||||
case "Tabs.Description":
|
||||
return "Tabs make it easy to explore and switch between different views.";
|
||||
case "Tabs.divider1":
|
||||
return "Basic";
|
||||
case "Tabs.divider2":
|
||||
return "Card style";
|
||||
case "Tabs.divider3":
|
||||
return "Center position";
|
||||
|
||||
//Tag ----------------------------
|
||||
case "Tag.Text":
|
||||
|
||||
4
example/Demo/Main.Designer.cs
generated
4
example/Demo/Main.Designer.cs
generated
@@ -43,10 +43,6 @@ namespace Demo
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
AntdUI.CarouselItem carouselItem1 = new AntdUI.CarouselItem();
|
||||
|
||||
6
example/Demo/Overview.Designer.cs
generated
6
example/Demo/Overview.Designer.cs
generated
@@ -43,10 +43,6 @@ namespace Demo
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
btn_mode = new AntdUI.Button();
|
||||
@@ -125,7 +121,6 @@ namespace Demo
|
||||
windowBar.DividerMargin = 3;
|
||||
windowBar.DividerShow = true;
|
||||
windowBar.Dock = DockStyle.Top;
|
||||
windowBar.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
windowBar.Icon = Properties.Resources.logo;
|
||||
windowBar.Location = new Point(0, 0);
|
||||
windowBar.Name = "windowBar";
|
||||
@@ -178,6 +173,7 @@ namespace Demo
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private AntdUI.Button btn_mode;
|
||||
private AntdUI.Dropdown btn_global;
|
||||
private AntdUI.Button btn_setting;
|
||||
|
||||
4
example/Demo/Setting.Designer.cs
generated
4
example/Demo/Setting.Designer.cs
generated
@@ -40,10 +40,6 @@ namespace Demo
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
tablePanel = new System.Windows.Forms.TableLayoutPanel();
|
||||
|
||||
14
example/FontTest/UserControl1.Designer.cs
generated
14
example/FontTest/UserControl1.Designer.cs
generated
@@ -21,14 +21,14 @@ namespace FontTest
|
||||
partial class UserControl1
|
||||
{
|
||||
/// <summary>
|
||||
/// 必需的设计器变量。
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// 清理所有正在使用的资源。
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
@@ -38,12 +38,8 @@ namespace FontTest
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region 组件设计器生成的代码
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// 设计器支持所需的方法 - 不要修改
|
||||
/// 使用代码编辑器修改此方法的内容。
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
panel1 = new Panel();
|
||||
|
||||
Reference in New Issue
Block a user