优化项目结构,修复部分问题
This commit is contained in:
parent
b5425d3177
commit
49f6f7ea52
17
MainWindow.Designer.cs
generated
17
MainWindow.Designer.cs
generated
@ -36,9 +36,7 @@
|
||||
this.divider = new AntdUI.Divider();
|
||||
this.menu = new AntdUI.Menu();
|
||||
this.panel_content = new AntdUI.StackPanel();
|
||||
this.label1 = new AntdUI.Label();
|
||||
this.titlebar.SuspendLayout();
|
||||
this.panel_content.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// titlebar
|
||||
@ -116,7 +114,6 @@
|
||||
// panel_content
|
||||
//
|
||||
this.panel_content.AutoScroll = true;
|
||||
this.panel_content.Controls.Add(this.label1);
|
||||
this.panel_content.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel_content.Location = new System.Drawing.Point(283, 52);
|
||||
this.panel_content.Name = "panel_content";
|
||||
@ -125,18 +122,6 @@
|
||||
this.panel_content.Text = "stackPanel1";
|
||||
this.panel_content.Vertical = true;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.label1.Font = new System.Drawing.Font("Microsoft YaHei UI", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label1.Location = new System.Drawing.Point(3, 3);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(735, 505);
|
||||
this.label1.TabIndex = 14;
|
||||
this.label1.Text = "欢迎使用 AntdUI Demo";
|
||||
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.label1.TooltipConfig = null;
|
||||
//
|
||||
// MainWindow
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
@ -154,7 +139,6 @@
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "AntdUI Demo";
|
||||
this.titlebar.ResumeLayout(false);
|
||||
this.panel_content.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
@ -168,6 +152,5 @@
|
||||
private AntdUI.Button button_color;
|
||||
private AntdUI.Input input_search;
|
||||
private AntdUI.StackPanel panel_content;
|
||||
private AntdUI.Label label1;
|
||||
}
|
||||
}
|
||||
@ -1,15 +1,12 @@
|
||||
using AntdUI;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using AntdUIDemo.Controls;
|
||||
using AntdUIDemo.Models;
|
||||
using AntdUIDemo.Utils;
|
||||
using AntdUIDemo.Views;
|
||||
using AntdUIDemo.Views.SubView;
|
||||
using Microsoft.Win32;
|
||||
using System;
|
||||
using System.Configuration;
|
||||
using System.Drawing;
|
||||
using System.Windows.Forms;
|
||||
using System.IO;
|
||||
|
||||
namespace AntdUIDemo
|
||||
{
|
||||
@ -23,10 +20,19 @@ namespace AntdUIDemo
|
||||
LoadAppConfig();
|
||||
//加载菜单
|
||||
LoadMenu();
|
||||
//加载欢迎页
|
||||
InitData();
|
||||
//绑定事件
|
||||
BindEventHandler();
|
||||
}
|
||||
|
||||
private void InitData()
|
||||
{
|
||||
var control = new Wellcome();
|
||||
AutoDpi(control);
|
||||
panel_content.Controls.Add(control);
|
||||
}
|
||||
|
||||
private void BindEventHandler()
|
||||
{
|
||||
buttonSZ.Click += ButtonSZ_Click;
|
||||
|
||||
@ -1,8 +1,5 @@
|
||||
using AntdUIDemo.Utils;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AntdUIDemo
|
||||
|
||||
@ -1,11 +1,5 @@
|
||||
using Newtonsoft.Json.Linq;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Configuration;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace AntdUIDemo.Utils
|
||||
{
|
||||
|
||||
@ -1,9 +1,4 @@
|
||||
using NLog;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace AntdUIDemo.Utils
|
||||
{
|
||||
|
||||
@ -1,11 +1,5 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Microsoft.Win32;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.Win32;
|
||||
|
||||
namespace AntdUIDemo.Utils
|
||||
{
|
||||
|
||||
@ -1,12 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AntdUIDemo.Views
|
||||
{
|
||||
|
||||
@ -1,12 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AntdUIDemo.Views
|
||||
{
|
||||
|
||||
@ -1,12 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AntdUIDemo.Views
|
||||
{
|
||||
|
||||
@ -1,12 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AntdUIDemo.Views
|
||||
{
|
||||
|
||||
@ -1,12 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AntdUIDemo.Views
|
||||
{
|
||||
|
||||
141
Views/CalendarDemo.Designer.cs
generated
141
Views/CalendarDemo.Designer.cs
generated
@ -29,16 +29,16 @@
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.stackPanel1 = new AntdUI.StackPanel();
|
||||
this.calendar = new AntdUI.Calendar();
|
||||
this.flowPanel1 = new AntdUI.FlowPanel();
|
||||
this.switch_showchinese = new AntdUI.Switch();
|
||||
this.label4 = new AntdUI.Label();
|
||||
this.switch_showtoday = new AntdUI.Switch();
|
||||
this.label6 = new AntdUI.Label();
|
||||
this.label3 = new AntdUI.Label();
|
||||
this.divider1 = new AntdUI.Divider();
|
||||
this.label2 = new AntdUI.Label();
|
||||
this.label1 = new AntdUI.Label();
|
||||
this.flowPanel1 = new AntdUI.FlowPanel();
|
||||
this.calendar = new AntdUI.Calendar();
|
||||
this.switch_showtoday = new AntdUI.Switch();
|
||||
this.label6 = new AntdUI.Label();
|
||||
this.switch_showchinese = new AntdUI.Switch();
|
||||
this.label4 = new AntdUI.Label();
|
||||
this.stackPanel1.SuspendLayout();
|
||||
this.flowPanel1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
@ -59,6 +59,70 @@
|
||||
this.stackPanel1.Text = "stackPanel1";
|
||||
this.stackPanel1.Vertical = true;
|
||||
//
|
||||
// calendar
|
||||
//
|
||||
this.calendar.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F);
|
||||
this.calendar.Full = true;
|
||||
this.calendar.Location = new System.Drawing.Point(3, 165);
|
||||
this.calendar.Name = "calendar";
|
||||
this.calendar.ShowChinese = true;
|
||||
this.calendar.Size = new System.Drawing.Size(694, 376);
|
||||
this.calendar.TabIndex = 26;
|
||||
this.calendar.Text = "calendar1";
|
||||
this.calendar.Value = new System.DateTime(2024, 8, 30, 8, 41, 9, 706);
|
||||
//
|
||||
// flowPanel1
|
||||
//
|
||||
this.flowPanel1.Controls.Add(this.switch_showchinese);
|
||||
this.flowPanel1.Controls.Add(this.label4);
|
||||
this.flowPanel1.Controls.Add(this.switch_showtoday);
|
||||
this.flowPanel1.Controls.Add(this.label6);
|
||||
this.flowPanel1.Location = new System.Drawing.Point(3, 127);
|
||||
this.flowPanel1.Name = "flowPanel1";
|
||||
this.flowPanel1.Size = new System.Drawing.Size(694, 32);
|
||||
this.flowPanel1.TabIndex = 25;
|
||||
this.flowPanel1.Text = "flowPanel1";
|
||||
//
|
||||
// switch_showchinese
|
||||
//
|
||||
this.switch_showchinese.AutoCheck = true;
|
||||
this.switch_showchinese.Checked = true;
|
||||
this.switch_showchinese.Location = new System.Drawing.Point(381, 3);
|
||||
this.switch_showchinese.Name = "switch_showchinese";
|
||||
this.switch_showchinese.Size = new System.Drawing.Size(50, 26);
|
||||
this.switch_showchinese.TabIndex = 13;
|
||||
this.switch_showchinese.Text = "switch1";
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label4.Location = new System.Drawing.Point(220, 3);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(155, 26);
|
||||
this.label4.TabIndex = 12;
|
||||
this.label4.Text = "ShowChinese";
|
||||
this.label4.TooltipConfig = null;
|
||||
//
|
||||
// switch_showtoday
|
||||
//
|
||||
this.switch_showtoday.AutoCheck = true;
|
||||
this.switch_showtoday.Checked = true;
|
||||
this.switch_showtoday.Location = new System.Drawing.Point(164, 3);
|
||||
this.switch_showtoday.Name = "switch_showtoday";
|
||||
this.switch_showtoday.Size = new System.Drawing.Size(50, 26);
|
||||
this.switch_showtoday.TabIndex = 11;
|
||||
this.switch_showtoday.Text = "switch1";
|
||||
//
|
||||
// label6
|
||||
//
|
||||
this.label6.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label6.Location = new System.Drawing.Point(3, 3);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(155, 26);
|
||||
this.label6.TabIndex = 10;
|
||||
this.label6.Text = "ShowButtonToday";
|
||||
this.label6.TooltipConfig = null;
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
@ -67,6 +131,7 @@
|
||||
this.label3.Size = new System.Drawing.Size(694, 24);
|
||||
this.label3.TabIndex = 23;
|
||||
this.label3.Text = "基本用法";
|
||||
this.label3.TooltipConfig = null;
|
||||
//
|
||||
// divider1
|
||||
//
|
||||
@ -83,6 +148,7 @@
|
||||
this.label2.Size = new System.Drawing.Size(694, 24);
|
||||
this.label2.TabIndex = 21;
|
||||
this.label2.Text = "按照日历形式展示数据的容器。";
|
||||
this.label2.TooltipConfig = null;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
@ -92,68 +158,7 @@
|
||||
this.label1.Size = new System.Drawing.Size(694, 40);
|
||||
this.label1.TabIndex = 20;
|
||||
this.label1.Text = "Calendar 日历";
|
||||
//
|
||||
// flowPanel1
|
||||
//
|
||||
this.flowPanel1.Controls.Add(this.switch_showchinese);
|
||||
this.flowPanel1.Controls.Add(this.label4);
|
||||
this.flowPanel1.Controls.Add(this.switch_showtoday);
|
||||
this.flowPanel1.Controls.Add(this.label6);
|
||||
this.flowPanel1.Location = new System.Drawing.Point(3, 127);
|
||||
this.flowPanel1.Name = "flowPanel1";
|
||||
this.flowPanel1.Size = new System.Drawing.Size(694, 38);
|
||||
this.flowPanel1.TabIndex = 25;
|
||||
this.flowPanel1.Text = "flowPanel1";
|
||||
//
|
||||
// calendar
|
||||
//
|
||||
this.calendar.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F);
|
||||
this.calendar.Full = true;
|
||||
this.calendar.Location = new System.Drawing.Point(3, 171);
|
||||
this.calendar.Name = "calendar";
|
||||
this.calendar.ShowChinese = true;
|
||||
this.calendar.Size = new System.Drawing.Size(694, 376);
|
||||
this.calendar.TabIndex = 26;
|
||||
this.calendar.Text = "calendar1";
|
||||
this.calendar.Value = new System.DateTime(2024, 8, 30, 8, 41, 9, 706);
|
||||
//
|
||||
// switch_showtoday
|
||||
//
|
||||
this.switch_showtoday.AutoCheck = true;
|
||||
this.switch_showtoday.Checked = true;
|
||||
this.switch_showtoday.Location = new System.Drawing.Point(164, 3);
|
||||
this.switch_showtoday.Name = "switch_showtoday";
|
||||
this.switch_showtoday.Size = new System.Drawing.Size(60, 32);
|
||||
this.switch_showtoday.TabIndex = 11;
|
||||
this.switch_showtoday.Text = "switch1";
|
||||
//
|
||||
// label6
|
||||
//
|
||||
this.label6.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label6.Location = new System.Drawing.Point(3, 3);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(155, 32);
|
||||
this.label6.TabIndex = 10;
|
||||
this.label6.Text = "ShowButtonToday";
|
||||
//
|
||||
// switch_showchinese
|
||||
//
|
||||
this.switch_showchinese.AutoCheck = true;
|
||||
this.switch_showchinese.Checked = true;
|
||||
this.switch_showchinese.Location = new System.Drawing.Point(391, 3);
|
||||
this.switch_showchinese.Name = "switch_showchinese";
|
||||
this.switch_showchinese.Size = new System.Drawing.Size(60, 32);
|
||||
this.switch_showchinese.TabIndex = 13;
|
||||
this.switch_showchinese.Text = "switch1";
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label4.Location = new System.Drawing.Point(230, 3);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(155, 32);
|
||||
this.label4.TabIndex = 12;
|
||||
this.label4.Text = "ShowChinese";
|
||||
this.label1.TooltipConfig = null;
|
||||
//
|
||||
// CalendarDemo
|
||||
//
|
||||
|
||||
@ -1,5 +1,4 @@
|
||||
using AntdUI;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Windows.Forms;
|
||||
|
||||
@ -1,12 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AntdUIDemo.Views
|
||||
{
|
||||
|
||||
@ -1,10 +1,5 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
@ -1,13 +1,4 @@
|
||||
using AntdUI;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AntdUIDemo.Views
|
||||
{
|
||||
|
||||
@ -1,12 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AntdUIDemo.Views
|
||||
{
|
||||
|
||||
@ -1,12 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AntdUIDemo.Views
|
||||
{
|
||||
|
||||
@ -1,12 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Diagnostics;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AntdUIDemo.Views
|
||||
|
||||
@ -1,11 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AntdUIDemo.Views
|
||||
|
||||
@ -1,12 +1,5 @@
|
||||
using AntdUI;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AntdUIDemo.Views
|
||||
|
||||
@ -1,12 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AntdUIDemo.Views
|
||||
{
|
||||
|
||||
201
Views/DrawerDemo.Designer.cs
generated
201
Views/DrawerDemo.Designer.cs
generated
@ -29,23 +29,23 @@
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.stackPanel1 = new AntdUI.StackPanel();
|
||||
this.stackPanel3 = new AntdUI.StackPanel();
|
||||
this.select_align = new AntdUI.Select();
|
||||
this.label10 = new AntdUI.Label();
|
||||
this.label4 = new AntdUI.Label();
|
||||
this.flowPanel1 = new AntdUI.FlowPanel();
|
||||
this.label3 = new AntdUI.Label();
|
||||
this.divider1 = new AntdUI.Divider();
|
||||
this.label2 = new AntdUI.Label();
|
||||
this.label1 = new AntdUI.Label();
|
||||
this.flowPanel1 = new AntdUI.FlowPanel();
|
||||
this.button = new AntdUI.Button();
|
||||
this.label4 = new AntdUI.Label();
|
||||
this.stackPanel3 = new AntdUI.StackPanel();
|
||||
this.select_align = new AntdUI.Select();
|
||||
this.label10 = new AntdUI.Label();
|
||||
this.switch_mask = new AntdUI.Switch();
|
||||
this.label5 = new AntdUI.Label();
|
||||
this.switch_mc = new AntdUI.Switch();
|
||||
this.label6 = new AntdUI.Label();
|
||||
this.button = new AntdUI.Button();
|
||||
this.stackPanel1.SuspendLayout();
|
||||
this.flowPanel1.SuspendLayout();
|
||||
this.stackPanel3.SuspendLayout();
|
||||
this.flowPanel1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// stackPanel1
|
||||
@ -65,6 +65,60 @@
|
||||
this.stackPanel1.Text = "stackPanel1";
|
||||
this.stackPanel1.Vertical = true;
|
||||
//
|
||||
// stackPanel3
|
||||
//
|
||||
this.stackPanel3.Controls.Add(this.switch_mc);
|
||||
this.stackPanel3.Controls.Add(this.label6);
|
||||
this.stackPanel3.Controls.Add(this.switch_mask);
|
||||
this.stackPanel3.Controls.Add(this.label5);
|
||||
this.stackPanel3.Controls.Add(this.select_align);
|
||||
this.stackPanel3.Controls.Add(this.label10);
|
||||
this.stackPanel3.Gap = 4;
|
||||
this.stackPanel3.Location = new System.Drawing.Point(3, 201);
|
||||
this.stackPanel3.Name = "stackPanel3";
|
||||
this.stackPanel3.Size = new System.Drawing.Size(694, 32);
|
||||
this.stackPanel3.TabIndex = 32;
|
||||
this.stackPanel3.Text = "stackPanel3";
|
||||
//
|
||||
// select_align
|
||||
//
|
||||
this.select_align.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
|
||||
this.select_align.List = true;
|
||||
this.select_align.Location = new System.Drawing.Point(88, 3);
|
||||
this.select_align.Name = "select_align";
|
||||
this.select_align.Size = new System.Drawing.Size(90, 26);
|
||||
this.select_align.TabIndex = 5;
|
||||
this.select_align.WaveSize = 0;
|
||||
//
|
||||
// label10
|
||||
//
|
||||
this.label10.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label10.Location = new System.Drawing.Point(3, 3);
|
||||
this.label10.Name = "label10";
|
||||
this.label10.Size = new System.Drawing.Size(75, 26);
|
||||
this.label10.TabIndex = 4;
|
||||
this.label10.Text = "Align";
|
||||
this.label10.TooltipConfig = null;
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F);
|
||||
this.label4.Location = new System.Drawing.Point(3, 171);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(694, 24);
|
||||
this.label4.TabIndex = 31;
|
||||
this.label4.Text = "控件配置";
|
||||
this.label4.TooltipConfig = null;
|
||||
//
|
||||
// flowPanel1
|
||||
//
|
||||
this.flowPanel1.Controls.Add(this.button);
|
||||
this.flowPanel1.Location = new System.Drawing.Point(3, 127);
|
||||
this.flowPanel1.Name = "flowPanel1";
|
||||
this.flowPanel1.Size = new System.Drawing.Size(694, 38);
|
||||
this.flowPanel1.TabIndex = 29;
|
||||
this.flowPanel1.Text = "flowPanel1";
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
@ -73,6 +127,7 @@
|
||||
this.label3.Size = new System.Drawing.Size(694, 24);
|
||||
this.label3.TabIndex = 28;
|
||||
this.label3.Text = "基本用法";
|
||||
this.label3.TooltipConfig = null;
|
||||
//
|
||||
// divider1
|
||||
//
|
||||
@ -89,6 +144,7 @@
|
||||
this.label2.Size = new System.Drawing.Size(694, 24);
|
||||
this.label2.TabIndex = 26;
|
||||
this.label2.Text = "屏幕边缘滑出的浮层面板。";
|
||||
this.label2.TooltipConfig = null;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
@ -98,15 +154,45 @@
|
||||
this.label1.Size = new System.Drawing.Size(694, 40);
|
||||
this.label1.TabIndex = 25;
|
||||
this.label1.Text = "Drawer 抽屉";
|
||||
this.label1.TooltipConfig = null;
|
||||
//
|
||||
// flowPanel1
|
||||
// switch_mask
|
||||
//
|
||||
this.flowPanel1.Controls.Add(this.button);
|
||||
this.flowPanel1.Location = new System.Drawing.Point(3, 127);
|
||||
this.flowPanel1.Name = "flowPanel1";
|
||||
this.flowPanel1.Size = new System.Drawing.Size(694, 38);
|
||||
this.flowPanel1.TabIndex = 29;
|
||||
this.flowPanel1.Text = "flowPanel1";
|
||||
this.switch_mask.AutoCheck = true;
|
||||
this.switch_mask.Location = new System.Drawing.Point(273, 3);
|
||||
this.switch_mask.Name = "switch_mask";
|
||||
this.switch_mask.Size = new System.Drawing.Size(50, 26);
|
||||
this.switch_mask.TabIndex = 11;
|
||||
this.switch_mask.Text = "switch1";
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label5.Location = new System.Drawing.Point(188, 3);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(75, 26);
|
||||
this.label5.TabIndex = 10;
|
||||
this.label5.Text = "Mask";
|
||||
this.label5.TooltipConfig = null;
|
||||
//
|
||||
// switch_mc
|
||||
//
|
||||
this.switch_mc.AutoCheck = true;
|
||||
this.switch_mc.Location = new System.Drawing.Point(463, 3);
|
||||
this.switch_mc.Name = "switch_mc";
|
||||
this.switch_mc.Size = new System.Drawing.Size(50, 26);
|
||||
this.switch_mc.TabIndex = 13;
|
||||
this.switch_mc.Text = "switch1";
|
||||
//
|
||||
// label6
|
||||
//
|
||||
this.label6.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label6.Location = new System.Drawing.Point(333, 3);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(120, 26);
|
||||
this.label6.TabIndex = 12;
|
||||
this.label6.Text = "MaskClosable";
|
||||
this.label6.TooltipConfig = null;
|
||||
//
|
||||
// button
|
||||
//
|
||||
@ -119,85 +205,6 @@
|
||||
this.button.Type = AntdUI.TTypeMini.Primary;
|
||||
this.button.WaveSize = 0;
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F);
|
||||
this.label4.Location = new System.Drawing.Point(3, 171);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(694, 24);
|
||||
this.label4.TabIndex = 31;
|
||||
this.label4.Text = "控件配置";
|
||||
//
|
||||
// stackPanel3
|
||||
//
|
||||
this.stackPanel3.Controls.Add(this.switch_mc);
|
||||
this.stackPanel3.Controls.Add(this.label6);
|
||||
this.stackPanel3.Controls.Add(this.switch_mask);
|
||||
this.stackPanel3.Controls.Add(this.label5);
|
||||
this.stackPanel3.Controls.Add(this.select_align);
|
||||
this.stackPanel3.Controls.Add(this.label10);
|
||||
this.stackPanel3.Gap = 6;
|
||||
this.stackPanel3.Location = new System.Drawing.Point(3, 201);
|
||||
this.stackPanel3.Name = "stackPanel3";
|
||||
this.stackPanel3.Size = new System.Drawing.Size(694, 38);
|
||||
this.stackPanel3.TabIndex = 32;
|
||||
this.stackPanel3.Text = "stackPanel3";
|
||||
//
|
||||
// select_align
|
||||
//
|
||||
this.select_align.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
|
||||
this.select_align.List = true;
|
||||
this.select_align.Location = new System.Drawing.Point(135, 3);
|
||||
this.select_align.Name = "select_align";
|
||||
this.select_align.Size = new System.Drawing.Size(75, 32);
|
||||
this.select_align.TabIndex = 5;
|
||||
this.select_align.WaveSize = 0;
|
||||
//
|
||||
// label10
|
||||
//
|
||||
this.label10.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label10.Location = new System.Drawing.Point(3, 3);
|
||||
this.label10.Name = "label10";
|
||||
this.label10.Size = new System.Drawing.Size(120, 32);
|
||||
this.label10.TabIndex = 4;
|
||||
this.label10.Text = "Align";
|
||||
//
|
||||
// switch_mask
|
||||
//
|
||||
this.switch_mask.AutoCheck = true;
|
||||
this.switch_mask.Location = new System.Drawing.Point(354, 3);
|
||||
this.switch_mask.Name = "switch_mask";
|
||||
this.switch_mask.Size = new System.Drawing.Size(60, 32);
|
||||
this.switch_mask.TabIndex = 7;
|
||||
this.switch_mask.Text = "switch1";
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label5.Location = new System.Drawing.Point(222, 3);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(120, 32);
|
||||
this.label5.TabIndex = 6;
|
||||
this.label5.Text = "Mask";
|
||||
//
|
||||
// switch_mc
|
||||
//
|
||||
this.switch_mc.AutoCheck = true;
|
||||
this.switch_mc.Location = new System.Drawing.Point(558, 3);
|
||||
this.switch_mc.Name = "switch_mc";
|
||||
this.switch_mc.Size = new System.Drawing.Size(60, 32);
|
||||
this.switch_mc.TabIndex = 9;
|
||||
this.switch_mc.Text = "switch1";
|
||||
//
|
||||
// label6
|
||||
//
|
||||
this.label6.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label6.Location = new System.Drawing.Point(426, 3);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(120, 32);
|
||||
this.label6.TabIndex = 8;
|
||||
this.label6.Text = "MaskClosable";
|
||||
//
|
||||
// DrawerDemo
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
|
||||
@ -205,8 +212,8 @@
|
||||
this.Name = "DrawerDemo";
|
||||
this.Size = new System.Drawing.Size(700, 327);
|
||||
this.stackPanel1.ResumeLayout(false);
|
||||
this.flowPanel1.ResumeLayout(false);
|
||||
this.stackPanel3.ResumeLayout(false);
|
||||
this.flowPanel1.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
@ -219,14 +226,14 @@
|
||||
private AntdUI.Label label2;
|
||||
private AntdUI.Label label1;
|
||||
private AntdUI.FlowPanel flowPanel1;
|
||||
private AntdUI.Button button;
|
||||
private AntdUI.Label label4;
|
||||
private AntdUI.StackPanel stackPanel3;
|
||||
private AntdUI.Select select_align;
|
||||
private AntdUI.Label label10;
|
||||
private AntdUI.Switch switch_mask;
|
||||
private AntdUI.Label label5;
|
||||
private AntdUI.Switch switch_mc;
|
||||
private AntdUI.Label label6;
|
||||
private AntdUI.Switch switch_mask;
|
||||
private AntdUI.Label label5;
|
||||
private AntdUI.Button button;
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,13 +1,7 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using AntdUI;
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using AntdUI;
|
||||
|
||||
namespace AntdUIDemo.Views
|
||||
{
|
||||
|
||||
@ -1,11 +1,5 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AntdUIDemo.Views
|
||||
|
||||
709
Views/FloatButtonDemo.Designer.cs
generated
709
Views/FloatButtonDemo.Designer.cs
generated
@ -29,28 +29,6 @@
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.stackPanel1 = new AntdUI.StackPanel();
|
||||
this.stackPanel4 = new AntdUI.StackPanel();
|
||||
this.input_my = new AntdUI.InputNumber();
|
||||
this.label8 = new AntdUI.Label();
|
||||
this.input_mx = new AntdUI.InputNumber();
|
||||
this.label7 = new AntdUI.Label();
|
||||
this.input_size = new AntdUI.InputNumber();
|
||||
this.label9 = new AntdUI.Label();
|
||||
this.stackPanel3 = new AntdUI.StackPanel();
|
||||
this.select_vertical = new AntdUI.Select();
|
||||
this.label5 = new AntdUI.Label();
|
||||
this.select_topmost = new AntdUI.Select();
|
||||
this.label6 = new AntdUI.Label();
|
||||
this.select_align = new AntdUI.Select();
|
||||
this.label10 = new AntdUI.Label();
|
||||
this.label4 = new AntdUI.Label();
|
||||
this.divider1 = new AntdUI.Divider();
|
||||
this.label3 = new AntdUI.Label();
|
||||
this.label2 = new AntdUI.Label();
|
||||
this.label1 = new AntdUI.Label();
|
||||
this.stackPanel7 = new AntdUI.StackPanel();
|
||||
this.input_gap = new AntdUI.InputNumber();
|
||||
this.label20 = new AntdUI.Label();
|
||||
this.stackPanel2 = new AntdUI.StackPanel();
|
||||
this.buttonCZ = new AntdUI.Button();
|
||||
this.buttonClose = new AntdUI.Button();
|
||||
@ -62,20 +40,42 @@
|
||||
this.input_badge = new AntdUI.Input();
|
||||
this.label17 = new AntdUI.Label();
|
||||
this.stackPanel5 = new AntdUI.StackPanel();
|
||||
this.label11 = new AntdUI.Label();
|
||||
this.stackPanel7 = new AntdUI.StackPanel();
|
||||
this.input_gap = new AntdUI.InputNumber();
|
||||
this.label20 = new AntdUI.Label();
|
||||
this.stackPanel4 = new AntdUI.StackPanel();
|
||||
this.input_my = new AntdUI.InputNumber();
|
||||
this.label8 = new AntdUI.Label();
|
||||
this.input_size = new AntdUI.InputNumber();
|
||||
this.label9 = new AntdUI.Label();
|
||||
this.stackPanel3 = new AntdUI.StackPanel();
|
||||
this.select_align = new AntdUI.Select();
|
||||
this.label10 = new AntdUI.Label();
|
||||
this.label4 = new AntdUI.Label();
|
||||
this.divider1 = new AntdUI.Divider();
|
||||
this.label3 = new AntdUI.Label();
|
||||
this.label2 = new AntdUI.Label();
|
||||
this.label1 = new AntdUI.Label();
|
||||
this.input_radius = new AntdUI.InputNumber();
|
||||
this.label12 = new AntdUI.Label();
|
||||
this.switch_topmost = new AntdUI.Switch();
|
||||
this.label6 = new AntdUI.Label();
|
||||
this.input_mx = new AntdUI.InputNumber();
|
||||
this.label7 = new AntdUI.Label();
|
||||
this.switch_vertical = new AntdUI.Switch();
|
||||
this.label5 = new AntdUI.Label();
|
||||
this.select_type = new AntdUI.Select();
|
||||
this.label13 = new AntdUI.Label();
|
||||
this.select_round = new AntdUI.Select();
|
||||
this.switch_round = new AntdUI.Switch();
|
||||
this.label14 = new AntdUI.Label();
|
||||
this.label11 = new AntdUI.Label();
|
||||
this.stackPanel1.SuspendLayout();
|
||||
this.stackPanel4.SuspendLayout();
|
||||
this.stackPanel3.SuspendLayout();
|
||||
this.stackPanel7.SuspendLayout();
|
||||
this.stackPanel2.SuspendLayout();
|
||||
this.stackPanel6.SuspendLayout();
|
||||
this.stackPanel5.SuspendLayout();
|
||||
this.stackPanel7.SuspendLayout();
|
||||
this.stackPanel4.SuspendLayout();
|
||||
this.stackPanel3.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// stackPanel1
|
||||
@ -100,271 +100,6 @@
|
||||
this.stackPanel1.Text = "stackPanel1";
|
||||
this.stackPanel1.Vertical = true;
|
||||
//
|
||||
// stackPanel4
|
||||
//
|
||||
this.stackPanel4.Controls.Add(this.input_my);
|
||||
this.stackPanel4.Controls.Add(this.label8);
|
||||
this.stackPanel4.Controls.Add(this.input_mx);
|
||||
this.stackPanel4.Controls.Add(this.label7);
|
||||
this.stackPanel4.Controls.Add(this.input_size);
|
||||
this.stackPanel4.Controls.Add(this.label9);
|
||||
this.stackPanel4.Location = new System.Drawing.Point(3, 195);
|
||||
this.stackPanel4.Name = "stackPanel4";
|
||||
this.stackPanel4.Size = new System.Drawing.Size(694, 32);
|
||||
this.stackPanel4.TabIndex = 17;
|
||||
this.stackPanel4.Text = "stackPanel4";
|
||||
//
|
||||
// input_my
|
||||
//
|
||||
this.input_my.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
|
||||
this.input_my.Location = new System.Drawing.Point(459, 3);
|
||||
this.input_my.Minimum = new decimal(new int[] {
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.input_my.Name = "input_my";
|
||||
this.input_my.Size = new System.Drawing.Size(100, 26);
|
||||
this.input_my.TabIndex = 9;
|
||||
this.input_my.Text = "24";
|
||||
this.input_my.Value = new decimal(new int[] {
|
||||
24,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.input_my.WaveSize = 0;
|
||||
//
|
||||
// label8
|
||||
//
|
||||
this.label8.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label8.Location = new System.Drawing.Point(361, 3);
|
||||
this.label8.Name = "label8";
|
||||
this.label8.Size = new System.Drawing.Size(92, 26);
|
||||
this.label8.TabIndex = 8;
|
||||
this.label8.Text = "MarginY";
|
||||
//
|
||||
// input_mx
|
||||
//
|
||||
this.input_mx.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
|
||||
this.input_mx.Location = new System.Drawing.Point(280, 3);
|
||||
this.input_mx.Minimum = new decimal(new int[] {
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.input_mx.Name = "input_mx";
|
||||
this.input_mx.Size = new System.Drawing.Size(75, 26);
|
||||
this.input_mx.TabIndex = 7;
|
||||
this.input_mx.Text = "24";
|
||||
this.input_mx.Value = new decimal(new int[] {
|
||||
24,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.input_mx.WaveSize = 0;
|
||||
//
|
||||
// label7
|
||||
//
|
||||
this.label7.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label7.Location = new System.Drawing.Point(182, 3);
|
||||
this.label7.Name = "label7";
|
||||
this.label7.Size = new System.Drawing.Size(92, 26);
|
||||
this.label7.TabIndex = 6;
|
||||
this.label7.Text = "MarginX";
|
||||
//
|
||||
// input_size
|
||||
//
|
||||
this.input_size.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
|
||||
this.input_size.Location = new System.Drawing.Point(101, 3);
|
||||
this.input_size.Minimum = new decimal(new int[] {
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.input_size.Name = "input_size";
|
||||
this.input_size.Size = new System.Drawing.Size(75, 26);
|
||||
this.input_size.TabIndex = 5;
|
||||
this.input_size.Text = "40";
|
||||
this.input_size.Value = new decimal(new int[] {
|
||||
40,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.input_size.WaveSize = 0;
|
||||
//
|
||||
// label9
|
||||
//
|
||||
this.label9.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label9.Location = new System.Drawing.Point(3, 3);
|
||||
this.label9.Name = "label9";
|
||||
this.label9.Size = new System.Drawing.Size(92, 26);
|
||||
this.label9.TabIndex = 4;
|
||||
this.label9.Text = "Size";
|
||||
//
|
||||
// stackPanel3
|
||||
//
|
||||
this.stackPanel3.Controls.Add(this.select_vertical);
|
||||
this.stackPanel3.Controls.Add(this.label5);
|
||||
this.stackPanel3.Controls.Add(this.select_topmost);
|
||||
this.stackPanel3.Controls.Add(this.label6);
|
||||
this.stackPanel3.Controls.Add(this.select_align);
|
||||
this.stackPanel3.Controls.Add(this.label10);
|
||||
this.stackPanel3.Location = new System.Drawing.Point(3, 157);
|
||||
this.stackPanel3.Name = "stackPanel3";
|
||||
this.stackPanel3.Size = new System.Drawing.Size(694, 32);
|
||||
this.stackPanel3.TabIndex = 16;
|
||||
this.stackPanel3.Text = "stackPanel3";
|
||||
//
|
||||
// select_vertical
|
||||
//
|
||||
this.select_vertical.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.select_vertical.Items.AddRange(new object[] {
|
||||
"True",
|
||||
"False"});
|
||||
this.select_vertical.List = true;
|
||||
this.select_vertical.Location = new System.Drawing.Point(459, 3);
|
||||
this.select_vertical.Name = "select_vertical";
|
||||
this.select_vertical.SelectedIndex = 0;
|
||||
this.select_vertical.SelectedValue = "True";
|
||||
this.select_vertical.Size = new System.Drawing.Size(100, 26);
|
||||
this.select_vertical.TabIndex = 11;
|
||||
this.select_vertical.Text = "True";
|
||||
this.select_vertical.WaveSize = 0;
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label5.Location = new System.Drawing.Point(361, 3);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(92, 26);
|
||||
this.label5.TabIndex = 10;
|
||||
this.label5.Text = "Vertical";
|
||||
//
|
||||
// select_topmost
|
||||
//
|
||||
this.select_topmost.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.select_topmost.Items.AddRange(new object[] {
|
||||
"True",
|
||||
"False"});
|
||||
this.select_topmost.List = true;
|
||||
this.select_topmost.Location = new System.Drawing.Point(280, 3);
|
||||
this.select_topmost.Name = "select_topmost";
|
||||
this.select_topmost.SelectedValue = "是";
|
||||
this.select_topmost.Size = new System.Drawing.Size(75, 26);
|
||||
this.select_topmost.TabIndex = 9;
|
||||
this.select_topmost.Text = "True";
|
||||
this.select_topmost.WaveSize = 0;
|
||||
//
|
||||
// label6
|
||||
//
|
||||
this.label6.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label6.Location = new System.Drawing.Point(182, 3);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(92, 26);
|
||||
this.label6.TabIndex = 8;
|
||||
this.label6.Text = "TopMost";
|
||||
//
|
||||
// select_align
|
||||
//
|
||||
this.select_align.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
|
||||
this.select_align.List = true;
|
||||
this.select_align.Location = new System.Drawing.Point(101, 3);
|
||||
this.select_align.Name = "select_align";
|
||||
this.select_align.Size = new System.Drawing.Size(75, 26);
|
||||
this.select_align.TabIndex = 5;
|
||||
this.select_align.WaveSize = 0;
|
||||
//
|
||||
// label10
|
||||
//
|
||||
this.label10.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label10.Location = new System.Drawing.Point(3, 3);
|
||||
this.label10.Name = "label10";
|
||||
this.label10.Size = new System.Drawing.Size(92, 26);
|
||||
this.label10.TabIndex = 4;
|
||||
this.label10.Text = "Align";
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F);
|
||||
this.label4.Location = new System.Drawing.Point(3, 127);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(694, 24);
|
||||
this.label4.TabIndex = 15;
|
||||
this.label4.Text = "控件配置";
|
||||
//
|
||||
// divider1
|
||||
//
|
||||
this.divider1.Location = new System.Drawing.Point(3, 109);
|
||||
this.divider1.Name = "divider1";
|
||||
this.divider1.Size = new System.Drawing.Size(694, 12);
|
||||
this.divider1.TabIndex = 13;
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
|
||||
this.label3.Location = new System.Drawing.Point(3, 79);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(694, 24);
|
||||
this.label3.TabIndex = 4;
|
||||
this.label3.Text = "FloatButton没有工具箱控件,使用代码方式调用。";
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label2.Location = new System.Drawing.Point(3, 49);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(694, 24);
|
||||
this.label2.TabIndex = 3;
|
||||
this.label2.Text = "悬浮于页面上方的按钮。";
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.Font = new System.Drawing.Font("Microsoft YaHei UI", 26.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label1.Location = new System.Drawing.Point(3, 3);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(694, 40);
|
||||
this.label1.TabIndex = 2;
|
||||
this.label1.Text = "FloatButton 悬浮按钮";
|
||||
//
|
||||
// stackPanel7
|
||||
//
|
||||
this.stackPanel7.Controls.Add(this.input_gap);
|
||||
this.stackPanel7.Controls.Add(this.label20);
|
||||
this.stackPanel7.Location = new System.Drawing.Point(3, 233);
|
||||
this.stackPanel7.Name = "stackPanel7";
|
||||
this.stackPanel7.Size = new System.Drawing.Size(694, 32);
|
||||
this.stackPanel7.TabIndex = 22;
|
||||
this.stackPanel7.Text = "stackPanel7";
|
||||
//
|
||||
// input_gap
|
||||
//
|
||||
this.input_gap.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
|
||||
this.input_gap.Location = new System.Drawing.Point(101, 3);
|
||||
this.input_gap.Minimum = new decimal(new int[] {
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.input_gap.Name = "input_gap";
|
||||
this.input_gap.Size = new System.Drawing.Size(75, 26);
|
||||
this.input_gap.TabIndex = 5;
|
||||
this.input_gap.Text = "40";
|
||||
this.input_gap.Value = new decimal(new int[] {
|
||||
40,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.input_gap.WaveSize = 0;
|
||||
//
|
||||
// label20
|
||||
//
|
||||
this.label20.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label20.Location = new System.Drawing.Point(3, 3);
|
||||
this.label20.Name = "label20";
|
||||
this.label20.Size = new System.Drawing.Size(92, 26);
|
||||
this.label20.TabIndex = 4;
|
||||
this.label20.Text = "Gap";
|
||||
//
|
||||
// stackPanel2
|
||||
//
|
||||
this.stackPanel2.Controls.Add(this.buttonCZ);
|
||||
@ -405,6 +140,7 @@
|
||||
this.stackPanel6.Controls.Add(this.label15);
|
||||
this.stackPanel6.Controls.Add(this.input_badge);
|
||||
this.stackPanel6.Controls.Add(this.label17);
|
||||
this.stackPanel6.Gap = 4;
|
||||
this.stackPanel6.Location = new System.Drawing.Point(3, 339);
|
||||
this.stackPanel6.Name = "stackPanel6";
|
||||
this.stackPanel6.Size = new System.Drawing.Size(694, 32);
|
||||
@ -414,7 +150,7 @@
|
||||
// colorPicker
|
||||
//
|
||||
this.colorPicker.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
|
||||
this.colorPicker.Location = new System.Drawing.Point(459, 3);
|
||||
this.colorPicker.Location = new System.Drawing.Point(492, 3);
|
||||
this.colorPicker.Name = "colorPicker";
|
||||
this.colorPicker.ShowText = true;
|
||||
this.colorPicker.Size = new System.Drawing.Size(100, 26);
|
||||
@ -426,24 +162,25 @@
|
||||
// label16
|
||||
//
|
||||
this.label16.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label16.Location = new System.Drawing.Point(361, 3);
|
||||
this.label16.Location = new System.Drawing.Point(390, 3);
|
||||
this.label16.Name = "label16";
|
||||
this.label16.Size = new System.Drawing.Size(92, 26);
|
||||
this.label16.TabIndex = 14;
|
||||
this.label16.Text = "BadgeBack";
|
||||
this.label16.TooltipConfig = null;
|
||||
//
|
||||
// input_badgesize
|
||||
//
|
||||
this.input_badgesize.DecimalPlaces = 2;
|
||||
this.input_badgesize.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
|
||||
this.input_badgesize.Location = new System.Drawing.Point(280, 3);
|
||||
this.input_badgesize.Location = new System.Drawing.Point(292, 3);
|
||||
this.input_badgesize.Minimum = new decimal(new int[] {
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.input_badgesize.Name = "input_badgesize";
|
||||
this.input_badgesize.Size = new System.Drawing.Size(75, 26);
|
||||
this.input_badgesize.Size = new System.Drawing.Size(88, 26);
|
||||
this.input_badgesize.TabIndex = 13;
|
||||
this.input_badgesize.Text = "6.00";
|
||||
this.input_badgesize.Value = new decimal(new int[] {
|
||||
@ -456,16 +193,17 @@
|
||||
// label15
|
||||
//
|
||||
this.label15.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label15.Location = new System.Drawing.Point(182, 3);
|
||||
this.label15.Location = new System.Drawing.Point(190, 3);
|
||||
this.label15.Name = "label15";
|
||||
this.label15.Size = new System.Drawing.Size(92, 26);
|
||||
this.label15.TabIndex = 12;
|
||||
this.label15.Text = "BadgeSize";
|
||||
this.label15.TooltipConfig = null;
|
||||
//
|
||||
// input_badge
|
||||
//
|
||||
this.input_badge.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
|
||||
this.input_badge.Location = new System.Drawing.Point(101, 3);
|
||||
this.input_badge.Location = new System.Drawing.Point(105, 3);
|
||||
this.input_badge.Name = "input_badge";
|
||||
this.input_badge.Size = new System.Drawing.Size(75, 26);
|
||||
this.input_badge.TabIndex = 5;
|
||||
@ -479,33 +217,243 @@
|
||||
this.label17.Size = new System.Drawing.Size(92, 26);
|
||||
this.label17.TabIndex = 4;
|
||||
this.label17.Text = "Badge";
|
||||
this.label17.TooltipConfig = null;
|
||||
//
|
||||
// stackPanel5
|
||||
//
|
||||
this.stackPanel5.Controls.Add(this.input_radius);
|
||||
this.stackPanel5.Controls.Add(this.label12);
|
||||
this.stackPanel5.Controls.Add(this.switch_round);
|
||||
this.stackPanel5.Controls.Add(this.label14);
|
||||
this.stackPanel5.Controls.Add(this.select_type);
|
||||
this.stackPanel5.Controls.Add(this.label13);
|
||||
this.stackPanel5.Controls.Add(this.select_round);
|
||||
this.stackPanel5.Controls.Add(this.label14);
|
||||
this.stackPanel5.Controls.Add(this.input_radius);
|
||||
this.stackPanel5.Controls.Add(this.label12);
|
||||
this.stackPanel5.Gap = 4;
|
||||
this.stackPanel5.Location = new System.Drawing.Point(3, 301);
|
||||
this.stackPanel5.Name = "stackPanel5";
|
||||
this.stackPanel5.Size = new System.Drawing.Size(694, 32);
|
||||
this.stackPanel5.TabIndex = 24;
|
||||
this.stackPanel5.Text = "stackPanel5";
|
||||
//
|
||||
// label11
|
||||
//
|
||||
this.label11.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F);
|
||||
this.label11.Location = new System.Drawing.Point(3, 271);
|
||||
this.label11.Name = "label11";
|
||||
this.label11.Size = new System.Drawing.Size(694, 24);
|
||||
this.label11.TabIndex = 23;
|
||||
this.label11.Text = "按钮配置";
|
||||
this.label11.TooltipConfig = null;
|
||||
//
|
||||
// stackPanel7
|
||||
//
|
||||
this.stackPanel7.Controls.Add(this.input_gap);
|
||||
this.stackPanel7.Controls.Add(this.label20);
|
||||
this.stackPanel7.Gap = 4;
|
||||
this.stackPanel7.Location = new System.Drawing.Point(3, 233);
|
||||
this.stackPanel7.Name = "stackPanel7";
|
||||
this.stackPanel7.Size = new System.Drawing.Size(694, 32);
|
||||
this.stackPanel7.TabIndex = 22;
|
||||
this.stackPanel7.Text = "stackPanel7";
|
||||
//
|
||||
// input_gap
|
||||
//
|
||||
this.input_gap.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
|
||||
this.input_gap.Location = new System.Drawing.Point(105, 3);
|
||||
this.input_gap.Minimum = new decimal(new int[] {
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.input_gap.Name = "input_gap";
|
||||
this.input_gap.Size = new System.Drawing.Size(75, 26);
|
||||
this.input_gap.TabIndex = 5;
|
||||
this.input_gap.Text = "40";
|
||||
this.input_gap.Value = new decimal(new int[] {
|
||||
40,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.input_gap.WaveSize = 0;
|
||||
//
|
||||
// label20
|
||||
//
|
||||
this.label20.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label20.Location = new System.Drawing.Point(3, 3);
|
||||
this.label20.Name = "label20";
|
||||
this.label20.Size = new System.Drawing.Size(92, 26);
|
||||
this.label20.TabIndex = 4;
|
||||
this.label20.Text = "Gap";
|
||||
this.label20.TooltipConfig = null;
|
||||
//
|
||||
// stackPanel4
|
||||
//
|
||||
this.stackPanel4.Controls.Add(this.switch_topmost);
|
||||
this.stackPanel4.Controls.Add(this.label6);
|
||||
this.stackPanel4.Controls.Add(this.input_my);
|
||||
this.stackPanel4.Controls.Add(this.label8);
|
||||
this.stackPanel4.Controls.Add(this.input_size);
|
||||
this.stackPanel4.Controls.Add(this.label9);
|
||||
this.stackPanel4.Gap = 4;
|
||||
this.stackPanel4.Location = new System.Drawing.Point(3, 195);
|
||||
this.stackPanel4.Name = "stackPanel4";
|
||||
this.stackPanel4.Size = new System.Drawing.Size(694, 32);
|
||||
this.stackPanel4.TabIndex = 17;
|
||||
this.stackPanel4.Text = "stackPanel4";
|
||||
//
|
||||
// input_my
|
||||
//
|
||||
this.input_my.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
|
||||
this.input_my.Location = new System.Drawing.Point(292, 3);
|
||||
this.input_my.Minimum = new decimal(new int[] {
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.input_my.Name = "input_my";
|
||||
this.input_my.Size = new System.Drawing.Size(88, 26);
|
||||
this.input_my.TabIndex = 9;
|
||||
this.input_my.Text = "24";
|
||||
this.input_my.Value = new decimal(new int[] {
|
||||
24,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.input_my.WaveSize = 0;
|
||||
//
|
||||
// label8
|
||||
//
|
||||
this.label8.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label8.Location = new System.Drawing.Point(190, 3);
|
||||
this.label8.Name = "label8";
|
||||
this.label8.Size = new System.Drawing.Size(92, 26);
|
||||
this.label8.TabIndex = 8;
|
||||
this.label8.Text = "MarginY";
|
||||
this.label8.TooltipConfig = null;
|
||||
//
|
||||
// input_size
|
||||
//
|
||||
this.input_size.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
|
||||
this.input_size.Location = new System.Drawing.Point(105, 3);
|
||||
this.input_size.Minimum = new decimal(new int[] {
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.input_size.Name = "input_size";
|
||||
this.input_size.Size = new System.Drawing.Size(75, 26);
|
||||
this.input_size.TabIndex = 5;
|
||||
this.input_size.Text = "40";
|
||||
this.input_size.Value = new decimal(new int[] {
|
||||
40,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.input_size.WaveSize = 0;
|
||||
//
|
||||
// label9
|
||||
//
|
||||
this.label9.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label9.Location = new System.Drawing.Point(3, 3);
|
||||
this.label9.Name = "label9";
|
||||
this.label9.Size = new System.Drawing.Size(92, 26);
|
||||
this.label9.TabIndex = 4;
|
||||
this.label9.Text = "Size";
|
||||
this.label9.TooltipConfig = null;
|
||||
//
|
||||
// stackPanel3
|
||||
//
|
||||
this.stackPanel3.Controls.Add(this.switch_vertical);
|
||||
this.stackPanel3.Controls.Add(this.label5);
|
||||
this.stackPanel3.Controls.Add(this.input_mx);
|
||||
this.stackPanel3.Controls.Add(this.label7);
|
||||
this.stackPanel3.Controls.Add(this.select_align);
|
||||
this.stackPanel3.Controls.Add(this.label10);
|
||||
this.stackPanel3.Gap = 4;
|
||||
this.stackPanel3.Location = new System.Drawing.Point(3, 157);
|
||||
this.stackPanel3.Name = "stackPanel3";
|
||||
this.stackPanel3.Size = new System.Drawing.Size(694, 32);
|
||||
this.stackPanel3.TabIndex = 16;
|
||||
this.stackPanel3.Text = "stackPanel3";
|
||||
//
|
||||
// select_align
|
||||
//
|
||||
this.select_align.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
|
||||
this.select_align.List = true;
|
||||
this.select_align.Location = new System.Drawing.Point(105, 3);
|
||||
this.select_align.Name = "select_align";
|
||||
this.select_align.Size = new System.Drawing.Size(75, 26);
|
||||
this.select_align.TabIndex = 5;
|
||||
this.select_align.WaveSize = 0;
|
||||
//
|
||||
// label10
|
||||
//
|
||||
this.label10.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label10.Location = new System.Drawing.Point(3, 3);
|
||||
this.label10.Name = "label10";
|
||||
this.label10.Size = new System.Drawing.Size(92, 26);
|
||||
this.label10.TabIndex = 4;
|
||||
this.label10.Text = "Align";
|
||||
this.label10.TooltipConfig = null;
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F);
|
||||
this.label4.Location = new System.Drawing.Point(3, 127);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(694, 24);
|
||||
this.label4.TabIndex = 15;
|
||||
this.label4.Text = "控件配置";
|
||||
this.label4.TooltipConfig = null;
|
||||
//
|
||||
// divider1
|
||||
//
|
||||
this.divider1.Location = new System.Drawing.Point(3, 109);
|
||||
this.divider1.Name = "divider1";
|
||||
this.divider1.Size = new System.Drawing.Size(694, 12);
|
||||
this.divider1.TabIndex = 13;
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
|
||||
this.label3.Location = new System.Drawing.Point(3, 79);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(694, 24);
|
||||
this.label3.TabIndex = 4;
|
||||
this.label3.Text = "FloatButton没有工具箱控件,使用代码方式调用。";
|
||||
this.label3.TooltipConfig = null;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label2.Location = new System.Drawing.Point(3, 49);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(694, 24);
|
||||
this.label2.TabIndex = 3;
|
||||
this.label2.Text = "悬浮于页面上方的按钮。";
|
||||
this.label2.TooltipConfig = null;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.Font = new System.Drawing.Font("Microsoft YaHei UI", 26.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label1.Location = new System.Drawing.Point(3, 3);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(694, 40);
|
||||
this.label1.TabIndex = 2;
|
||||
this.label1.Text = "FloatButton 悬浮按钮";
|
||||
this.label1.TooltipConfig = null;
|
||||
//
|
||||
// input_radius
|
||||
//
|
||||
this.input_radius.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
|
||||
this.input_radius.Location = new System.Drawing.Point(459, 3);
|
||||
this.input_radius.Location = new System.Drawing.Point(105, 3);
|
||||
this.input_radius.Minimum = new decimal(new int[] {
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.input_radius.Name = "input_radius";
|
||||
this.input_radius.Size = new System.Drawing.Size(100, 26);
|
||||
this.input_radius.TabIndex = 11;
|
||||
this.input_radius.Size = new System.Drawing.Size(75, 26);
|
||||
this.input_radius.TabIndex = 18;
|
||||
this.input_radius.Text = "6";
|
||||
this.input_radius.Value = new decimal(new int[] {
|
||||
6,
|
||||
@ -517,64 +465,121 @@
|
||||
// label12
|
||||
//
|
||||
this.label12.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label12.Location = new System.Drawing.Point(361, 3);
|
||||
this.label12.Location = new System.Drawing.Point(3, 3);
|
||||
this.label12.Name = "label12";
|
||||
this.label12.Size = new System.Drawing.Size(92, 26);
|
||||
this.label12.TabIndex = 10;
|
||||
this.label12.TabIndex = 17;
|
||||
this.label12.Text = "Radius";
|
||||
this.label12.TooltipConfig = null;
|
||||
//
|
||||
// switch_topmost
|
||||
//
|
||||
this.switch_topmost.AutoCheck = true;
|
||||
this.switch_topmost.Checked = true;
|
||||
this.switch_topmost.Location = new System.Drawing.Point(492, 3);
|
||||
this.switch_topmost.Name = "switch_topmost";
|
||||
this.switch_topmost.Size = new System.Drawing.Size(50, 26);
|
||||
this.switch_topmost.TabIndex = 15;
|
||||
this.switch_topmost.Text = "switch1";
|
||||
//
|
||||
// label6
|
||||
//
|
||||
this.label6.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label6.Location = new System.Drawing.Point(390, 3);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(92, 26);
|
||||
this.label6.TabIndex = 14;
|
||||
this.label6.Text = "TopMost";
|
||||
this.label6.TooltipConfig = null;
|
||||
//
|
||||
// input_mx
|
||||
//
|
||||
this.input_mx.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
|
||||
this.input_mx.Location = new System.Drawing.Point(292, 3);
|
||||
this.input_mx.Minimum = new decimal(new int[] {
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.input_mx.Name = "input_mx";
|
||||
this.input_mx.Size = new System.Drawing.Size(88, 26);
|
||||
this.input_mx.TabIndex = 17;
|
||||
this.input_mx.Text = "24";
|
||||
this.input_mx.Value = new decimal(new int[] {
|
||||
24,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.input_mx.WaveSize = 0;
|
||||
//
|
||||
// label7
|
||||
//
|
||||
this.label7.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label7.Location = new System.Drawing.Point(190, 3);
|
||||
this.label7.Name = "label7";
|
||||
this.label7.Size = new System.Drawing.Size(92, 26);
|
||||
this.label7.TabIndex = 16;
|
||||
this.label7.Text = "MarginX";
|
||||
this.label7.TooltipConfig = null;
|
||||
//
|
||||
// switch_vertical
|
||||
//
|
||||
this.switch_vertical.AutoCheck = true;
|
||||
this.switch_vertical.Checked = true;
|
||||
this.switch_vertical.Location = new System.Drawing.Point(492, 3);
|
||||
this.switch_vertical.Name = "switch_vertical";
|
||||
this.switch_vertical.Size = new System.Drawing.Size(50, 26);
|
||||
this.switch_vertical.TabIndex = 19;
|
||||
this.switch_vertical.Text = "switch1";
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label5.Location = new System.Drawing.Point(390, 3);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(92, 26);
|
||||
this.label5.TabIndex = 18;
|
||||
this.label5.Text = "Vertical";
|
||||
this.label5.TooltipConfig = null;
|
||||
//
|
||||
// select_type
|
||||
//
|
||||
this.select_type.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.select_type.List = true;
|
||||
this.select_type.Location = new System.Drawing.Point(280, 3);
|
||||
this.select_type.Location = new System.Drawing.Point(292, 3);
|
||||
this.select_type.Name = "select_type";
|
||||
this.select_type.Size = new System.Drawing.Size(75, 26);
|
||||
this.select_type.TabIndex = 9;
|
||||
this.select_type.Size = new System.Drawing.Size(88, 26);
|
||||
this.select_type.TabIndex = 22;
|
||||
this.select_type.WaveSize = 0;
|
||||
//
|
||||
// label13
|
||||
//
|
||||
this.label13.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label13.Location = new System.Drawing.Point(182, 3);
|
||||
this.label13.Location = new System.Drawing.Point(190, 3);
|
||||
this.label13.Name = "label13";
|
||||
this.label13.Size = new System.Drawing.Size(92, 26);
|
||||
this.label13.TabIndex = 8;
|
||||
this.label13.TabIndex = 21;
|
||||
this.label13.Text = "Type";
|
||||
this.label13.TooltipConfig = null;
|
||||
//
|
||||
// select_round
|
||||
// switch_round
|
||||
//
|
||||
this.select_round.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
|
||||
this.select_round.Items.AddRange(new object[] {
|
||||
"True",
|
||||
"False"});
|
||||
this.select_round.List = true;
|
||||
this.select_round.Location = new System.Drawing.Point(101, 3);
|
||||
this.select_round.Name = "select_round";
|
||||
this.select_round.SelectedIndex = 1;
|
||||
this.select_round.SelectedValue = "False";
|
||||
this.select_round.Size = new System.Drawing.Size(75, 26);
|
||||
this.select_round.TabIndex = 5;
|
||||
this.select_round.Text = "False";
|
||||
this.select_round.WaveSize = 0;
|
||||
this.switch_round.AutoCheck = true;
|
||||
this.switch_round.Location = new System.Drawing.Point(492, 3);
|
||||
this.switch_round.Name = "switch_round";
|
||||
this.switch_round.Size = new System.Drawing.Size(50, 26);
|
||||
this.switch_round.TabIndex = 24;
|
||||
this.switch_round.Text = "switch1";
|
||||
//
|
||||
// label14
|
||||
//
|
||||
this.label14.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label14.Location = new System.Drawing.Point(3, 3);
|
||||
this.label14.Location = new System.Drawing.Point(390, 3);
|
||||
this.label14.Name = "label14";
|
||||
this.label14.Size = new System.Drawing.Size(92, 26);
|
||||
this.label14.TabIndex = 4;
|
||||
this.label14.TabIndex = 23;
|
||||
this.label14.Text = "Round";
|
||||
//
|
||||
// label11
|
||||
//
|
||||
this.label11.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F);
|
||||
this.label11.Location = new System.Drawing.Point(3, 271);
|
||||
this.label11.Name = "label11";
|
||||
this.label11.Size = new System.Drawing.Size(694, 24);
|
||||
this.label11.TabIndex = 23;
|
||||
this.label11.Text = "按钮配置";
|
||||
this.label14.TooltipConfig = null;
|
||||
//
|
||||
// FloatButtonDemo
|
||||
//
|
||||
@ -584,12 +589,12 @@
|
||||
this.Size = new System.Drawing.Size(700, 434);
|
||||
this.Load += new System.EventHandler(this.FloatButtonDemo_Load);
|
||||
this.stackPanel1.ResumeLayout(false);
|
||||
this.stackPanel4.ResumeLayout(false);
|
||||
this.stackPanel3.ResumeLayout(false);
|
||||
this.stackPanel7.ResumeLayout(false);
|
||||
this.stackPanel2.ResumeLayout(false);
|
||||
this.stackPanel6.ResumeLayout(false);
|
||||
this.stackPanel5.ResumeLayout(false);
|
||||
this.stackPanel7.ResumeLayout(false);
|
||||
this.stackPanel4.ResumeLayout(false);
|
||||
this.stackPanel3.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
@ -603,15 +608,9 @@
|
||||
private AntdUI.StackPanel stackPanel4;
|
||||
private AntdUI.InputNumber input_my;
|
||||
private AntdUI.Label label8;
|
||||
private AntdUI.InputNumber input_mx;
|
||||
private AntdUI.Label label7;
|
||||
private AntdUI.InputNumber input_size;
|
||||
private AntdUI.Label label9;
|
||||
private AntdUI.StackPanel stackPanel3;
|
||||
private AntdUI.Select select_vertical;
|
||||
private AntdUI.Label label5;
|
||||
private AntdUI.Select select_topmost;
|
||||
private AntdUI.Label label6;
|
||||
private AntdUI.Select select_align;
|
||||
private AntdUI.Label label10;
|
||||
private AntdUI.Label label4;
|
||||
@ -627,15 +626,21 @@
|
||||
private AntdUI.Input input_badge;
|
||||
private AntdUI.Label label17;
|
||||
private AntdUI.StackPanel stackPanel5;
|
||||
private AntdUI.InputNumber input_radius;
|
||||
private AntdUI.Label label12;
|
||||
private AntdUI.Select select_type;
|
||||
private AntdUI.Label label13;
|
||||
private AntdUI.Select select_round;
|
||||
private AntdUI.Label label14;
|
||||
private AntdUI.Label label11;
|
||||
private AntdUI.StackPanel stackPanel7;
|
||||
private AntdUI.InputNumber input_gap;
|
||||
private AntdUI.Label label20;
|
||||
private AntdUI.InputNumber input_radius;
|
||||
private AntdUI.Label label12;
|
||||
private AntdUI.Switch switch_topmost;
|
||||
private AntdUI.Label label6;
|
||||
private AntdUI.Switch switch_vertical;
|
||||
private AntdUI.Label label5;
|
||||
private AntdUI.InputNumber input_mx;
|
||||
private AntdUI.Label label7;
|
||||
private AntdUI.Switch switch_round;
|
||||
private AntdUI.Label label14;
|
||||
private AntdUI.Select select_type;
|
||||
private AntdUI.Label label13;
|
||||
}
|
||||
}
|
||||
|
||||
@ -33,11 +33,12 @@ namespace AntdUIDemo.Views
|
||||
buttonCZ.Click += buttonCZ_Click;
|
||||
|
||||
select_align.SelectedIndexChanged += select_intvalue_SelectedIndexChanged;
|
||||
select_round.SelectedIndexChanged += select_intvalue_SelectedIndexChanged;
|
||||
select_topmost.SelectedIndexChanged += select_intvalue_SelectedIndexChanged;
|
||||
select_vertical.SelectedIndexChanged += select_intvalue_SelectedIndexChanged;
|
||||
select_type.SelectedIndexChanged += select_intvalue_SelectedIndexChanged;
|
||||
|
||||
switch_round.CheckedChanged += Switch_CheckedChanged;
|
||||
switch_vertical.CheckedChanged += Switch_CheckedChanged;
|
||||
switch_topmost.CheckedChanged += Switch_CheckedChanged;
|
||||
|
||||
input_size.ValueChanged += input_decimalvalue_ValeChanged;
|
||||
input_mx.ValueChanged += input_decimalvalue_ValeChanged;
|
||||
input_my.ValueChanged += input_decimalvalue_ValeChanged;
|
||||
@ -71,10 +72,11 @@ namespace AntdUIDemo.Views
|
||||
private void InitData()
|
||||
{
|
||||
select_align.SelectedIndex = 7;
|
||||
select_round.SelectedIndex = 1;
|
||||
select_type.SelectedIndex = 0;
|
||||
select_topmost.SelectedIndex = 1;
|
||||
select_vertical.SelectedIndex = 0;
|
||||
|
||||
switch_round.Checked = false;
|
||||
switch_vertical.Checked = true;
|
||||
switch_topmost.Checked = false;
|
||||
|
||||
input_size.Value = 40;
|
||||
input_mx.Value = 24;
|
||||
@ -101,7 +103,7 @@ namespace AntdUIDemo.Views
|
||||
Text = "SVG图片",
|
||||
IconSvg = "<svg viewBox=\"0 0 1024 1024\"><path d=\"M511.878001 1023.989c-62.999385 0-124.098788-11.699886-181.698225-34.999658-55.699456-22.49978-105.798967-54.499468-148.798547-95.599067-43.099579-40.9996-76.899249-88.899132-100.599018-142.198611-24.59976-55.29946-36.999639-114.098886-36.999639-174.698294 0-76.79925 20.699798-152.498511 59.899415-219.197859 37.799631-64.099374 92.299099-119.098837 157.498462-158.598451 14.699856-8.999912 33.899669-4.299958 42.899581 10.499897 8.999912 14.699856 4.299958 33.899669-10.499897 42.899581-56.399449 34.199666-103.498989 81.599203-136.19867 137.098661-33.599672 56.999443-51.1995 121.798811-51.1995 187.39817 0 102.498999 41.99959 199.098056 118.298845 271.697347 76.699251 73.099286 178.798254 113.298894 287.497192 113.298893s210.797941-40.299606 287.497193-113.298893c76.299255-72.799289 118.298845-169.198348 118.298844-271.797346 0-130.298728-68.699329-250.797551-183.798205-322.296852-14.599857-9.099911-19.099813-28.299724-9.999902-42.99958 9.099911-14.599857 28.299724-19.099813 42.99958-9.999903 64.099374 39.799611 117.498853 94.599076 154.59849 158.398453 38.399625 66.099354 58.699427 140.998623 58.699427 217.09788 0 60.599408-12.499878 119.398834-36.999639 174.698294-23.699769 53.299479-57.499438 101.199012-100.599017 142.198612-42.99958 40.899601-93.099091 73.099286-148.798547 95.599066-57.799436 23.099774-118.998838 34.79966-181.998223 34.79966zM511.878001 506.394055c-17.199832 0-31.199695-13.899864-31.199695-31.199696v-443.995664c0-17.199832 13.899864-31.199695 31.199695-31.199695 17.199832 0 31.199695 13.899864 31.199696 31.199695v443.895665c0.099999 17.199832-13.999863 31.299694-31.199696 31.299695z\"></path></svg>",
|
||||
Tooltip = "SVG图片按钮",
|
||||
Round = select_round.SelectedIndex == 0,
|
||||
Round = switch_round.Checked,
|
||||
Type = (TTypeMini)select_type.SelectedValue,
|
||||
Radius = (int)input_radius.Value,
|
||||
Badge = input_badge.Text,
|
||||
@ -113,7 +115,7 @@ namespace AntdUIDemo.Views
|
||||
{
|
||||
Text = "资源图片",
|
||||
Tooltip = "资源图片按钮",
|
||||
Round = select_round.SelectedIndex == 0,
|
||||
Round = switch_round.Checked,
|
||||
Type = (TTypeMini)select_type.SelectedValue,
|
||||
Radius = (int)input_radius.Value,
|
||||
Badge = input_badge.Text,
|
||||
@ -124,7 +126,7 @@ namespace AntdUIDemo.Views
|
||||
new FloatButton.ConfigBtn("button3", "文本")
|
||||
{
|
||||
Tooltip = "文本按钮",
|
||||
Round = select_round.SelectedIndex == 0,
|
||||
Round = switch_round.Checked,
|
||||
Type = (TTypeMini)select_type.SelectedValue,
|
||||
Radius = (int)input_radius.Value,
|
||||
Badge = input_badge.Text,
|
||||
@ -146,9 +148,9 @@ namespace AntdUIDemo.Views
|
||||
//位置
|
||||
Align = (TAlign)select_align.SelectedIndex,
|
||||
//是否垂直方向
|
||||
Vertical = select_vertical.SelectedIndex == 0,
|
||||
Vertical = switch_vertical.Checked,
|
||||
//是否置顶
|
||||
TopMost = select_topmost.SelectedIndex == 0,
|
||||
TopMost = switch_topmost.Checked,
|
||||
//尺寸大小
|
||||
Size = (int)input_size.Value,
|
||||
//相对于Align位置X轴偏移
|
||||
@ -187,6 +189,12 @@ namespace AntdUIDemo.Views
|
||||
LoadFloatButton();
|
||||
}
|
||||
|
||||
private void Switch_CheckedChanged(object sender, BoolEventArgs e)
|
||||
{
|
||||
CloseFloatButtonForm();
|
||||
LoadFloatButton();
|
||||
}
|
||||
|
||||
private void colorPicker_ValueChanged(object sender, ColorEventArgs e)
|
||||
{
|
||||
CloseFloatButtonForm();
|
||||
|
||||
@ -1,11 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AntdUIDemo.Views
|
||||
|
||||
@ -1,11 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AntdUIDemo.Views
|
||||
|
||||
108
Views/InputDemo.Designer.cs
generated
108
Views/InputDemo.Designer.cs
generated
@ -30,6 +30,10 @@
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(InputDemo));
|
||||
this.stackPanel1 = new AntdUI.StackPanel();
|
||||
this.flowPanel9 = new AntdUI.FlowPanel();
|
||||
this.input18 = new AntdUI.Input();
|
||||
this.input20 = new AntdUI.Input();
|
||||
this.label11 = new AntdUI.Label();
|
||||
this.flowPanel8 = new AntdUI.FlowPanel();
|
||||
this.input_status = new AntdUI.Input();
|
||||
this.input15 = new AntdUI.Input();
|
||||
@ -72,11 +76,8 @@
|
||||
this.label2 = new AntdUI.Label();
|
||||
this.label1 = new AntdUI.Label();
|
||||
this.tooltipComponent1 = new AntdUI.TooltipComponent();
|
||||
this.label11 = new AntdUI.Label();
|
||||
this.flowPanel9 = new AntdUI.FlowPanel();
|
||||
this.input20 = new AntdUI.Input();
|
||||
this.input18 = new AntdUI.Input();
|
||||
this.stackPanel1.SuspendLayout();
|
||||
this.flowPanel9.SuspendLayout();
|
||||
this.flowPanel8.SuspendLayout();
|
||||
this.flowPanel7.SuspendLayout();
|
||||
this.flowPanel3.SuspendLayout();
|
||||
@ -87,7 +88,6 @@
|
||||
this.flowPanel4.SuspendLayout();
|
||||
this.flowPanel2.SuspendLayout();
|
||||
this.flowPanel1.SuspendLayout();
|
||||
this.flowPanel9.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// stackPanel1
|
||||
@ -121,6 +121,49 @@
|
||||
this.stackPanel1.Text = "stackPanel1";
|
||||
this.stackPanel1.Vertical = true;
|
||||
//
|
||||
// flowPanel9
|
||||
//
|
||||
this.flowPanel9.Controls.Add(this.input18);
|
||||
this.flowPanel9.Controls.Add(this.input20);
|
||||
this.flowPanel9.Location = new System.Drawing.Point(3, 757);
|
||||
this.flowPanel9.Name = "flowPanel9";
|
||||
this.flowPanel9.Size = new System.Drawing.Size(694, 38);
|
||||
this.flowPanel9.TabIndex = 28;
|
||||
this.flowPanel9.Text = "flowPanel9";
|
||||
//
|
||||
// input18
|
||||
//
|
||||
this.input18.Badge = "";
|
||||
this.input18.CaretColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(87)))), ((int)(((byte)(34)))));
|
||||
this.input18.CaretSpeed = 500;
|
||||
this.input18.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.input18.Location = new System.Drawing.Point(209, 3);
|
||||
this.input18.Name = "input18";
|
||||
this.input18.Size = new System.Drawing.Size(200, 32);
|
||||
this.input18.TabIndex = 1;
|
||||
this.input18.WaveSize = 0;
|
||||
//
|
||||
// input20
|
||||
//
|
||||
this.input20.Badge = "";
|
||||
this.input20.CaretColor = System.Drawing.Color.FromArgb(((int)(((byte)(76)))), ((int)(((byte)(175)))), ((int)(((byte)(80)))));
|
||||
this.input20.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.input20.Location = new System.Drawing.Point(3, 3);
|
||||
this.input20.Name = "input20";
|
||||
this.input20.Size = new System.Drawing.Size(200, 32);
|
||||
this.input20.TabIndex = 0;
|
||||
this.input20.WaveSize = 0;
|
||||
//
|
||||
// label11
|
||||
//
|
||||
this.label11.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label11.Location = new System.Drawing.Point(3, 727);
|
||||
this.label11.Name = "label11";
|
||||
this.label11.Size = new System.Drawing.Size(694, 24);
|
||||
this.label11.TabIndex = 27;
|
||||
this.label11.Text = "光标颜色速度";
|
||||
this.label11.TooltipConfig = null;
|
||||
//
|
||||
// flowPanel8
|
||||
//
|
||||
this.flowPanel8.Controls.Add(this.input_status);
|
||||
@ -175,6 +218,7 @@
|
||||
this.label10.Size = new System.Drawing.Size(694, 24);
|
||||
this.label10.TabIndex = 25;
|
||||
this.label10.Text = "状态";
|
||||
this.label10.TooltipConfig = null;
|
||||
//
|
||||
// flowPanel7
|
||||
//
|
||||
@ -205,6 +249,7 @@
|
||||
this.label9.Size = new System.Drawing.Size(694, 24);
|
||||
this.label9.TabIndex = 23;
|
||||
this.label9.Text = "提示组合";
|
||||
this.label9.TooltipConfig = null;
|
||||
//
|
||||
// flowPanel3
|
||||
//
|
||||
@ -298,6 +343,7 @@
|
||||
this.label7.Size = new System.Drawing.Size(694, 24);
|
||||
this.label7.TabIndex = 21;
|
||||
this.label7.Text = "按钮组合";
|
||||
this.label7.TooltipConfig = null;
|
||||
//
|
||||
// flowPanel6
|
||||
//
|
||||
@ -341,6 +387,7 @@
|
||||
this.label8.Size = new System.Drawing.Size(694, 24);
|
||||
this.label8.TabIndex = 19;
|
||||
this.label8.Text = "边框显示";
|
||||
this.label8.TooltipConfig = null;
|
||||
//
|
||||
// flowPanel5
|
||||
//
|
||||
@ -361,6 +408,7 @@
|
||||
this.input17.Name = "input17";
|
||||
this.input17.PasswordChar = '*';
|
||||
this.input17.PasswordCopy = true;
|
||||
this.input17.PasswordPaste = false;
|
||||
this.input17.PlaceholderText = "密码不可粘贴";
|
||||
this.input17.Size = new System.Drawing.Size(200, 32);
|
||||
this.input17.TabIndex = 2;
|
||||
@ -401,6 +449,7 @@
|
||||
this.label6.Size = new System.Drawing.Size(694, 24);
|
||||
this.label6.TabIndex = 15;
|
||||
this.label6.Text = "密码框";
|
||||
this.label6.TooltipConfig = null;
|
||||
//
|
||||
// flowPanel4
|
||||
//
|
||||
@ -444,6 +493,7 @@
|
||||
this.label5.Size = new System.Drawing.Size(694, 24);
|
||||
this.label5.TabIndex = 13;
|
||||
this.label5.Text = "多行文本";
|
||||
this.label5.TooltipConfig = null;
|
||||
//
|
||||
// flowPanel2
|
||||
//
|
||||
@ -490,6 +540,7 @@
|
||||
this.label4.Size = new System.Drawing.Size(694, 24);
|
||||
this.label4.TabIndex = 10;
|
||||
this.label4.Text = "前/后标签";
|
||||
this.label4.TooltipConfig = null;
|
||||
//
|
||||
// flowPanel1
|
||||
//
|
||||
@ -544,6 +595,7 @@
|
||||
this.label3.Size = new System.Drawing.Size(694, 24);
|
||||
this.label3.TabIndex = 8;
|
||||
this.label3.Text = "基本类型";
|
||||
this.label3.TooltipConfig = null;
|
||||
//
|
||||
// divider1
|
||||
//
|
||||
@ -560,6 +612,7 @@
|
||||
this.label2.Size = new System.Drawing.Size(694, 24);
|
||||
this.label2.TabIndex = 6;
|
||||
this.label2.Text = "通过鼠标或键盘输入内容,是最基础的表单域的包装。";
|
||||
this.label2.TooltipConfig = null;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
@ -569,54 +622,13 @@
|
||||
this.label1.Size = new System.Drawing.Size(694, 40);
|
||||
this.label1.TabIndex = 5;
|
||||
this.label1.Text = "Input 输入框";
|
||||
this.label1.TooltipConfig = null;
|
||||
//
|
||||
// tooltipComponent1
|
||||
//
|
||||
this.tooltipComponent1.ArrowAlign = AntdUI.TAlign.TL;
|
||||
this.tooltipComponent1.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
//
|
||||
// label11
|
||||
//
|
||||
this.label11.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label11.Location = new System.Drawing.Point(3, 727);
|
||||
this.label11.Name = "label11";
|
||||
this.label11.Size = new System.Drawing.Size(694, 24);
|
||||
this.label11.TabIndex = 27;
|
||||
this.label11.Text = "光标颜色速度";
|
||||
//
|
||||
// flowPanel9
|
||||
//
|
||||
this.flowPanel9.Controls.Add(this.input18);
|
||||
this.flowPanel9.Controls.Add(this.input20);
|
||||
this.flowPanel9.Location = new System.Drawing.Point(3, 757);
|
||||
this.flowPanel9.Name = "flowPanel9";
|
||||
this.flowPanel9.Size = new System.Drawing.Size(694, 38);
|
||||
this.flowPanel9.TabIndex = 28;
|
||||
this.flowPanel9.Text = "flowPanel9";
|
||||
//
|
||||
// input20
|
||||
//
|
||||
this.input20.Badge = "";
|
||||
this.input20.CaretColor = System.Drawing.Color.FromArgb(((int)(((byte)(76)))), ((int)(((byte)(175)))), ((int)(((byte)(80)))));
|
||||
this.input20.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.input20.Location = new System.Drawing.Point(3, 3);
|
||||
this.input20.Name = "input20";
|
||||
this.input20.Size = new System.Drawing.Size(200, 32);
|
||||
this.input20.TabIndex = 0;
|
||||
this.input20.WaveSize = 0;
|
||||
//
|
||||
// input18
|
||||
//
|
||||
this.input18.Badge = "";
|
||||
this.input18.CaretColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(87)))), ((int)(((byte)(34)))));
|
||||
this.input18.CaretSpeed = 500;
|
||||
this.input18.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.input18.Location = new System.Drawing.Point(209, 3);
|
||||
this.input18.Name = "input18";
|
||||
this.input18.Size = new System.Drawing.Size(200, 32);
|
||||
this.input18.TabIndex = 1;
|
||||
this.input18.WaveSize = 0;
|
||||
//
|
||||
// InputDemo
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
|
||||
@ -624,6 +636,7 @@
|
||||
this.Name = "InputDemo";
|
||||
this.Size = new System.Drawing.Size(700, 821);
|
||||
this.stackPanel1.ResumeLayout(false);
|
||||
this.flowPanel9.ResumeLayout(false);
|
||||
this.flowPanel8.ResumeLayout(false);
|
||||
this.flowPanel7.ResumeLayout(false);
|
||||
this.flowPanel3.ResumeLayout(false);
|
||||
@ -634,7 +647,6 @@
|
||||
this.flowPanel4.ResumeLayout(false);
|
||||
this.flowPanel2.ResumeLayout(false);
|
||||
this.flowPanel1.ResumeLayout(false);
|
||||
this.flowPanel9.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
@ -1,11 +1,5 @@
|
||||
using AntdUI;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
@ -132,7 +132,4 @@
|
||||
<data name="input2.SuffixSvg" xml:space="preserve">
|
||||
<value><svg viewBox="64 64 896 896" focusable="false" data-icon="poweroff" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M705.6 124.9a8 8 0 00-11.6 7.2v64.2c0 5.5 2.9 10.6 7.5 13.6a352.2 352.2 0 0162.2 49.8c32.7 32.8 58.4 70.9 76.3 113.3a355 355 0 0127.9 138.7c0 48.1-9.4 94.8-27.9 138.7a355.92 355.92 0 01-76.3 113.3 353.06 353.06 0 01-113.2 76.4c-43.8 18.6-90.5 28-138.5 28s-94.7-9.4-138.5-28a353.06 353.06 0 01-113.2-76.4A355.92 355.92 0 01184 650.4a355 355 0 01-27.9-138.7c0-48.1 9.4-94.8 27.9-138.7 17.9-42.4 43.6-80.5 76.3-113.3 19-19 39.8-35.6 62.2-49.8 4.7-2.9 7.5-8.1 7.5-13.6V132c0-6-6.3-9.8-11.6-7.2C178.5 195.2 82 339.3 80 506.3 77.2 745.1 272.5 943.5 511.2 944c239 .5 432.8-193.3 432.8-432.4 0-169.2-97-315.7-238.4-386.7zM480 560h64c4.4 0 8-3.6 8-8V88c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z"></path></svg></value>
|
||||
</data>
|
||||
<metadata name="tooltipComponent1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
</root>
|
||||
@ -1,12 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AntdUIDemo.Views
|
||||
{
|
||||
|
||||
@ -1,12 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AntdUIDemo.Views
|
||||
{
|
||||
|
||||
@ -1,13 +1,6 @@
|
||||
using AntdUI;
|
||||
using AntdUIDemo.Utils;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AntdUIDemo.Views
|
||||
|
||||
@ -1,13 +1,7 @@
|
||||
using AntdUI;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AntdUIDemo.Views
|
||||
|
||||
@ -1,14 +1,8 @@
|
||||
using AntdUI;
|
||||
using AntdUIDemo.Controls;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AntdUIDemo.Views
|
||||
|
||||
@ -1,10 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
@ -1,12 +1,6 @@
|
||||
using AntdUI;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AntdUIDemo.Views
|
||||
|
||||
@ -1,11 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AntdUIDemo.Views
|
||||
|
||||
20
Views/PaginationDemo.Designer.cs
generated
20
Views/PaginationDemo.Designer.cs
generated
@ -82,6 +82,7 @@
|
||||
this.label1.Size = new System.Drawing.Size(694, 40);
|
||||
this.label1.TabIndex = 3;
|
||||
this.label1.Text = "Pagination 分页";
|
||||
this.label1.TooltipConfig = null;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
@ -91,6 +92,7 @@
|
||||
this.label2.Size = new System.Drawing.Size(694, 24);
|
||||
this.label2.TabIndex = 4;
|
||||
this.label2.Text = "采用分页的形式分隔长列表,每次只加载一个页面。";
|
||||
this.label2.TooltipConfig = null;
|
||||
//
|
||||
// divider1
|
||||
//
|
||||
@ -107,6 +109,7 @@
|
||||
this.label12.Size = new System.Drawing.Size(694, 24);
|
||||
this.label12.TabIndex = 41;
|
||||
this.label12.Text = "控件配置";
|
||||
this.label12.TooltipConfig = null;
|
||||
//
|
||||
// stackPanel1
|
||||
//
|
||||
@ -181,7 +184,6 @@
|
||||
this.switch_right.TabIndex = 15;
|
||||
this.switch_right.Text = "switch1";
|
||||
this.switch_right.UnCheckedText = "No";
|
||||
this.switch_right.WaveSize = 0;
|
||||
//
|
||||
// label15
|
||||
//
|
||||
@ -191,6 +193,7 @@
|
||||
this.label15.Size = new System.Drawing.Size(120, 26);
|
||||
this.label15.TabIndex = 14;
|
||||
this.label15.Text = "RightToLeft";
|
||||
this.label15.TooltipConfig = null;
|
||||
//
|
||||
// stackPanel5
|
||||
//
|
||||
@ -232,6 +235,7 @@
|
||||
this.label13.Size = new System.Drawing.Size(155, 26);
|
||||
this.label13.TabIndex = 17;
|
||||
this.label13.Text = "SizeChangerWidth";
|
||||
this.label13.TooltipConfig = null;
|
||||
//
|
||||
// selectMultiple
|
||||
//
|
||||
@ -258,6 +262,7 @@
|
||||
this.label14.Size = new System.Drawing.Size(150, 26);
|
||||
this.label14.TabIndex = 8;
|
||||
this.label14.Text = "PageSizeOptions";
|
||||
this.label14.TooltipConfig = null;
|
||||
//
|
||||
// stackPanel4
|
||||
//
|
||||
@ -281,11 +286,10 @@
|
||||
this.switch_show.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.switch_show.Location = new System.Drawing.Point(588, 3);
|
||||
this.switch_show.Name = "switch_show";
|
||||
this.switch_show.Size = new System.Drawing.Size(60, 26);
|
||||
this.switch_show.Size = new System.Drawing.Size(50, 26);
|
||||
this.switch_show.TabIndex = 13;
|
||||
this.switch_show.Text = "switch1";
|
||||
this.switch_show.UnCheckedText = "";
|
||||
this.switch_show.WaveSize = 0;
|
||||
//
|
||||
// label9
|
||||
//
|
||||
@ -295,6 +299,7 @@
|
||||
this.label9.Size = new System.Drawing.Size(155, 26);
|
||||
this.label9.TabIndex = 12;
|
||||
this.label9.Text = "ShowSizeChanger";
|
||||
this.label9.TooltipConfig = null;
|
||||
//
|
||||
// input_textdesc
|
||||
//
|
||||
@ -313,6 +318,7 @@
|
||||
this.label10.Size = new System.Drawing.Size(120, 26);
|
||||
this.label10.TabIndex = 10;
|
||||
this.label10.Text = "TextDesc";
|
||||
this.label10.TooltipConfig = null;
|
||||
//
|
||||
// input_radius
|
||||
//
|
||||
@ -342,6 +348,7 @@
|
||||
this.label11.Size = new System.Drawing.Size(120, 26);
|
||||
this.label11.TabIndex = 8;
|
||||
this.label11.Text = "Radius";
|
||||
this.label11.TooltipConfig = null;
|
||||
//
|
||||
// stackPanel3
|
||||
//
|
||||
@ -385,6 +392,7 @@
|
||||
this.label5.Size = new System.Drawing.Size(155, 26);
|
||||
this.label5.TabIndex = 15;
|
||||
this.label5.Text = "Gap";
|
||||
this.label5.TooltipConfig = null;
|
||||
//
|
||||
// colorPicker
|
||||
//
|
||||
@ -395,6 +403,7 @@
|
||||
this.colorPicker.Size = new System.Drawing.Size(100, 26);
|
||||
this.colorPicker.TabIndex = 14;
|
||||
this.colorPicker.Text = "colorPicker1";
|
||||
this.colorPicker.Value = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(119)))), ((int)(((byte)(255)))));
|
||||
this.colorPicker.WaveSize = 0;
|
||||
//
|
||||
// label6
|
||||
@ -405,6 +414,7 @@
|
||||
this.label6.Size = new System.Drawing.Size(120, 26);
|
||||
this.label6.TabIndex = 10;
|
||||
this.label6.Text = "Fill";
|
||||
this.label6.TooltipConfig = null;
|
||||
//
|
||||
// input_max
|
||||
//
|
||||
@ -429,6 +439,7 @@
|
||||
this.label8.Size = new System.Drawing.Size(120, 26);
|
||||
this.label8.TabIndex = 8;
|
||||
this.label8.Text = "MaxPageTotal";
|
||||
this.label8.TooltipConfig = null;
|
||||
//
|
||||
// stackPanel2
|
||||
//
|
||||
@ -472,6 +483,7 @@
|
||||
this.label4.Size = new System.Drawing.Size(155, 26);
|
||||
this.label4.TabIndex = 12;
|
||||
this.label4.Text = "Total";
|
||||
this.label4.TooltipConfig = null;
|
||||
//
|
||||
// input_pagesize
|
||||
//
|
||||
@ -501,6 +513,7 @@
|
||||
this.label3.Size = new System.Drawing.Size(120, 26);
|
||||
this.label3.TabIndex = 10;
|
||||
this.label3.Text = "PageSize";
|
||||
this.label3.TooltipConfig = null;
|
||||
//
|
||||
// input_current
|
||||
//
|
||||
@ -530,6 +543,7 @@
|
||||
this.label7.Size = new System.Drawing.Size(120, 26);
|
||||
this.label7.TabIndex = 8;
|
||||
this.label7.Text = "Current";
|
||||
this.label7.TooltipConfig = null;
|
||||
//
|
||||
// PaginationDemo
|
||||
//
|
||||
|
||||
@ -1,12 +1,5 @@
|
||||
using AntdUI;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AntdUIDemo.Views
|
||||
|
||||
47
Views/PanelDemo.Designer.cs
generated
47
Views/PanelDemo.Designer.cs
generated
@ -36,7 +36,6 @@
|
||||
this.input_shadowOH = new AntdUI.InputNumber();
|
||||
this.label12 = new AntdUI.Label();
|
||||
this.stackPanel14 = new AntdUI.StackPanel();
|
||||
this.select_shadowOA = new AntdUI.Select();
|
||||
this.label13 = new AntdUI.Label();
|
||||
this.stackPanel3 = new AntdUI.StackPanel();
|
||||
this.buttonCZ = new AntdUI.Button();
|
||||
@ -76,6 +75,7 @@
|
||||
this.divider1 = new AntdUI.Divider();
|
||||
this.label2 = new AntdUI.Label();
|
||||
this.label1 = new AntdUI.Label();
|
||||
this.switch_shadowOA = new AntdUI.Switch();
|
||||
this.stackPanel1.SuspendLayout();
|
||||
this.stackPanel2.SuspendLayout();
|
||||
this.stackPanel15.SuspendLayout();
|
||||
@ -191,10 +191,11 @@
|
||||
this.label12.Size = new System.Drawing.Size(220, 26);
|
||||
this.label12.TabIndex = 4;
|
||||
this.label12.Text = "ShadowOpacityHover";
|
||||
this.label12.TooltipConfig = null;
|
||||
//
|
||||
// stackPanel14
|
||||
//
|
||||
this.stackPanel14.Controls.Add(this.select_shadowOA);
|
||||
this.stackPanel14.Controls.Add(this.switch_shadowOA);
|
||||
this.stackPanel14.Controls.Add(this.label13);
|
||||
this.stackPanel14.Location = new System.Drawing.Point(3, 3);
|
||||
this.stackPanel14.Name = "stackPanel14";
|
||||
@ -202,22 +203,6 @@
|
||||
this.stackPanel14.TabIndex = 29;
|
||||
this.stackPanel14.Text = "stackPanel14";
|
||||
//
|
||||
// select_shadowOA
|
||||
//
|
||||
this.select_shadowOA.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.select_shadowOA.Items.AddRange(new object[] {
|
||||
"True",
|
||||
"False"});
|
||||
this.select_shadowOA.List = true;
|
||||
this.select_shadowOA.Location = new System.Drawing.Point(229, 3);
|
||||
this.select_shadowOA.Name = "select_shadowOA";
|
||||
this.select_shadowOA.SelectedIndex = 0;
|
||||
this.select_shadowOA.SelectedValue = "True";
|
||||
this.select_shadowOA.Size = new System.Drawing.Size(75, 26);
|
||||
this.select_shadowOA.TabIndex = 11;
|
||||
this.select_shadowOA.Text = "True";
|
||||
this.select_shadowOA.WaveSize = 0;
|
||||
//
|
||||
// label13
|
||||
//
|
||||
this.label13.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
@ -226,6 +211,7 @@
|
||||
this.label13.Size = new System.Drawing.Size(220, 26);
|
||||
this.label13.TabIndex = 4;
|
||||
this.label13.Text = "ShadowOpacityAnimation";
|
||||
this.label13.TooltipConfig = null;
|
||||
//
|
||||
// stackPanel3
|
||||
//
|
||||
@ -308,6 +294,7 @@
|
||||
this.label11.Size = new System.Drawing.Size(130, 26);
|
||||
this.label11.TabIndex = 4;
|
||||
this.label11.Text = "ShadowOpacity";
|
||||
this.label11.TooltipConfig = null;
|
||||
//
|
||||
// stackPanel11
|
||||
//
|
||||
@ -342,6 +329,7 @@
|
||||
this.label9.Size = new System.Drawing.Size(130, 26);
|
||||
this.label9.TabIndex = 4;
|
||||
this.label9.Text = "ShadowOffsetY";
|
||||
this.label9.TooltipConfig = null;
|
||||
//
|
||||
// stackPanel10
|
||||
//
|
||||
@ -376,6 +364,7 @@
|
||||
this.label8.Size = new System.Drawing.Size(130, 26);
|
||||
this.label8.TabIndex = 4;
|
||||
this.label8.Text = "ShadowOffsetX";
|
||||
this.label8.TooltipConfig = null;
|
||||
//
|
||||
// stackPanel9
|
||||
//
|
||||
@ -407,6 +396,7 @@
|
||||
this.label7.Size = new System.Drawing.Size(130, 26);
|
||||
this.label7.TabIndex = 4;
|
||||
this.label7.Text = "ShadowColor";
|
||||
this.label7.TooltipConfig = null;
|
||||
//
|
||||
// stackPanel8
|
||||
//
|
||||
@ -436,6 +426,7 @@
|
||||
this.label6.Size = new System.Drawing.Size(130, 26);
|
||||
this.label6.TabIndex = 4;
|
||||
this.label6.Text = "ShadowAlign";
|
||||
this.label6.TooltipConfig = null;
|
||||
//
|
||||
// stackPanel7
|
||||
//
|
||||
@ -475,6 +466,7 @@
|
||||
this.label5.Size = new System.Drawing.Size(130, 26);
|
||||
this.label5.TabIndex = 4;
|
||||
this.label5.Text = "Shadow";
|
||||
this.label5.TooltipConfig = null;
|
||||
//
|
||||
// stackPanel17
|
||||
//
|
||||
@ -510,6 +502,7 @@
|
||||
this.label15.Size = new System.Drawing.Size(130, 26);
|
||||
this.label15.TabIndex = 4;
|
||||
this.label15.Text = "BorderWidth";
|
||||
this.label15.TooltipConfig = null;
|
||||
//
|
||||
// stackPanel16
|
||||
//
|
||||
@ -541,6 +534,7 @@
|
||||
this.label14.Size = new System.Drawing.Size(130, 26);
|
||||
this.label14.TabIndex = 4;
|
||||
this.label14.Text = "BorderColor";
|
||||
this.label14.TooltipConfig = null;
|
||||
//
|
||||
// stackPanel6
|
||||
//
|
||||
@ -580,6 +574,7 @@
|
||||
this.label4.Size = new System.Drawing.Size(130, 26);
|
||||
this.label4.TabIndex = 4;
|
||||
this.label4.Text = "Radius";
|
||||
this.label4.TooltipConfig = null;
|
||||
//
|
||||
// stackPanel5
|
||||
//
|
||||
@ -619,6 +614,7 @@
|
||||
this.label3.Size = new System.Drawing.Size(130, 26);
|
||||
this.label3.TabIndex = 4;
|
||||
this.label3.Text = "ArrowSize";
|
||||
this.label3.TooltipConfig = null;
|
||||
//
|
||||
// stackPanel4
|
||||
//
|
||||
@ -648,6 +644,7 @@
|
||||
this.label10.Size = new System.Drawing.Size(130, 26);
|
||||
this.label10.TabIndex = 4;
|
||||
this.label10.Text = "ArrowAlign";
|
||||
this.label10.TooltipConfig = null;
|
||||
//
|
||||
// divider1
|
||||
//
|
||||
@ -664,6 +661,7 @@
|
||||
this.label2.Size = new System.Drawing.Size(694, 24);
|
||||
this.label2.TabIndex = 7;
|
||||
this.label2.Text = "普通布局面板";
|
||||
this.label2.TooltipConfig = null;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
@ -673,6 +671,17 @@
|
||||
this.label1.Size = new System.Drawing.Size(694, 40);
|
||||
this.label1.TabIndex = 6;
|
||||
this.label1.Text = "Panel 面板";
|
||||
this.label1.TooltipConfig = null;
|
||||
//
|
||||
// switch_shadowOA
|
||||
//
|
||||
this.switch_shadowOA.AutoCheck = true;
|
||||
this.switch_shadowOA.Checked = true;
|
||||
this.switch_shadowOA.Location = new System.Drawing.Point(229, 3);
|
||||
this.switch_shadowOA.Name = "switch_shadowOA";
|
||||
this.switch_shadowOA.Size = new System.Drawing.Size(50, 26);
|
||||
this.switch_shadowOA.TabIndex = 12;
|
||||
this.switch_shadowOA.Text = "switch1";
|
||||
//
|
||||
// PanelDemo
|
||||
//
|
||||
@ -714,7 +723,6 @@
|
||||
private AntdUI.InputNumber input_shadowOH;
|
||||
private AntdUI.Label label12;
|
||||
private AntdUI.StackPanel stackPanel14;
|
||||
private AntdUI.Select select_shadowOA;
|
||||
private AntdUI.Label label13;
|
||||
private AntdUI.StackPanel stackPanel3;
|
||||
private AntdUI.StackPanel stackPanel17;
|
||||
@ -751,5 +759,6 @@
|
||||
private AntdUI.InputNumber input_shadow;
|
||||
private AntdUI.Label label5;
|
||||
private AntdUI.Button buttonCZ;
|
||||
private AntdUI.Switch switch_shadowOA;
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
using AntdUI;
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AntdUIDemo.Views
|
||||
@ -24,7 +23,8 @@ namespace AntdUIDemo.Views
|
||||
|
||||
select_arrowalign.SelectedIndexChanged += select_intvalue_SelectedIndexChanged;
|
||||
select_shadowalign.SelectedIndexChanged += select_intvalue_SelectedIndexChanged;
|
||||
select_shadowOA.SelectedIndexChanged += select_intvalue_SelectedIndexChanged;
|
||||
|
||||
switch_shadowOA.CheckedChanged += switch_CheckedChanged;
|
||||
|
||||
input_arrowsize.ValueChanged += input_decimalvalue_ValueChanged;
|
||||
input_radius.ValueChanged += input_decimalvalue_ValueChanged;
|
||||
@ -61,7 +61,8 @@ namespace AntdUIDemo.Views
|
||||
{
|
||||
select_arrowalign.SelectedIndex = 0;
|
||||
select_shadowalign.SelectedIndex = 0;
|
||||
select_shadowOA.SelectedIndex = 0;
|
||||
|
||||
switch_shadowOA.Checked = true;
|
||||
|
||||
input_arrowsize.Value = 8;
|
||||
input_radius.Value = 6;
|
||||
@ -94,7 +95,7 @@ namespace AntdUIDemo.Views
|
||||
panel.ShadowOffsetX = (int)input_shadowX.Value;
|
||||
panel.ShadowOffsetY = (int)input_shadowY.Value;
|
||||
panel.ShadowOpacity = (float)input_shadowO.Value;
|
||||
panel.ShadowOpacityAnimation = select_shadowOA.SelectedIndex == 0;
|
||||
panel.ShadowOpacityAnimation = switch_shadowOA.Checked;
|
||||
panel.ShadowOpacityHover = (float)input_shadowOH.Value;
|
||||
}
|
||||
|
||||
@ -105,6 +106,11 @@ namespace AntdUIDemo.Views
|
||||
LoadPanel();
|
||||
}
|
||||
|
||||
private void switch_CheckedChanged(object sender, BoolEventArgs e)
|
||||
{
|
||||
LoadPanel();
|
||||
}
|
||||
|
||||
private void input_decimalvalue_ValueChanged(object sender, DecimalEventArgs e)
|
||||
{
|
||||
LoadPanel();
|
||||
|
||||
@ -1,12 +1,6 @@
|
||||
using AntdUI;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AntdUIDemo.Views
|
||||
|
||||
@ -1,12 +1,7 @@
|
||||
using AntdUI;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AntdUIDemo.Views
|
||||
|
||||
@ -1,12 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AntdUIDemo.Views
|
||||
{
|
||||
|
||||
@ -1,12 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AntdUIDemo.Views
|
||||
{
|
||||
|
||||
@ -1,12 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AntdUIDemo.Views
|
||||
{
|
||||
|
||||
@ -1,12 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AntdUIDemo.Views
|
||||
{
|
||||
|
||||
@ -1,12 +1,5 @@
|
||||
using AntdUI;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AntdUIDemo.Views
|
||||
|
||||
@ -1,12 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AntdUIDemo.Views
|
||||
{
|
||||
|
||||
@ -1,12 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AntdUIDemo.Views
|
||||
{
|
||||
|
||||
@ -1,12 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AntdUIDemo.Views
|
||||
{
|
||||
|
||||
@ -1,12 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AntdUIDemo.Views
|
||||
{
|
||||
|
||||
@ -1,13 +1,6 @@
|
||||
using AntdUI;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AntdUIDemo.Views
|
||||
|
||||
214
Views/StackPanelDemo.Designer.cs
generated
214
Views/StackPanelDemo.Designer.cs
generated
@ -32,15 +32,6 @@
|
||||
this.stackPanel2 = new AntdUI.StackPanel();
|
||||
this.stackPanel = new AntdUI.StackPanel();
|
||||
this.stackPanel3 = new AntdUI.StackPanel();
|
||||
this.stackPanel7 = new AntdUI.StackPanel();
|
||||
this.input_itemsize = new AntdUI.Input();
|
||||
this.label5 = new AntdUI.Label();
|
||||
this.stackPanel5 = new AntdUI.StackPanel();
|
||||
this.input_gap = new AntdUI.InputNumber();
|
||||
this.label3 = new AntdUI.Label();
|
||||
this.divider1 = new AntdUI.Divider();
|
||||
this.label2 = new AntdUI.Label();
|
||||
this.label1 = new AntdUI.Label();
|
||||
this.buttonCZ = new AntdUI.Button();
|
||||
this.buttonDEL = new AntdUI.Button();
|
||||
this.buttonADD = new AntdUI.Button();
|
||||
@ -50,13 +41,22 @@
|
||||
this.stackPanel6 = new AntdUI.StackPanel();
|
||||
this.switch_autoscroll = new AntdUI.Switch();
|
||||
this.label4 = new AntdUI.Label();
|
||||
this.stackPanel7 = new AntdUI.StackPanel();
|
||||
this.input_itemsize = new AntdUI.Input();
|
||||
this.label5 = new AntdUI.Label();
|
||||
this.stackPanel5 = new AntdUI.StackPanel();
|
||||
this.input_gap = new AntdUI.InputNumber();
|
||||
this.label3 = new AntdUI.Label();
|
||||
this.divider1 = new AntdUI.Divider();
|
||||
this.label2 = new AntdUI.Label();
|
||||
this.label1 = new AntdUI.Label();
|
||||
this.stackPanel1.SuspendLayout();
|
||||
this.stackPanel2.SuspendLayout();
|
||||
this.stackPanel3.SuspendLayout();
|
||||
this.stackPanel7.SuspendLayout();
|
||||
this.stackPanel5.SuspendLayout();
|
||||
this.stackPanel8.SuspendLayout();
|
||||
this.stackPanel6.SuspendLayout();
|
||||
this.stackPanel7.SuspendLayout();
|
||||
this.stackPanel5.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// stackPanel1
|
||||
@ -108,94 +108,6 @@
|
||||
this.stackPanel3.Text = "stackPanel3";
|
||||
this.stackPanel3.Vertical = true;
|
||||
//
|
||||
// stackPanel7
|
||||
//
|
||||
this.stackPanel7.Controls.Add(this.input_itemsize);
|
||||
this.stackPanel7.Controls.Add(this.label5);
|
||||
this.stackPanel7.Location = new System.Drawing.Point(3, 41);
|
||||
this.stackPanel7.Name = "stackPanel7";
|
||||
this.stackPanel7.Size = new System.Drawing.Size(214, 32);
|
||||
this.stackPanel7.TabIndex = 20;
|
||||
this.stackPanel7.Text = "stackPanel7";
|
||||
//
|
||||
// input_itemsize
|
||||
//
|
||||
this.input_itemsize.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.input_itemsize.Location = new System.Drawing.Point(97, 3);
|
||||
this.input_itemsize.Name = "input_itemsize";
|
||||
this.input_itemsize.PlaceholderText = "数值或百分比";
|
||||
this.input_itemsize.Size = new System.Drawing.Size(115, 26);
|
||||
this.input_itemsize.TabIndex = 5;
|
||||
this.input_itemsize.WaveSize = 0;
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label5.Location = new System.Drawing.Point(3, 3);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(88, 26);
|
||||
this.label5.TabIndex = 4;
|
||||
this.label5.Text = "ItemSize";
|
||||
//
|
||||
// stackPanel5
|
||||
//
|
||||
this.stackPanel5.Controls.Add(this.input_gap);
|
||||
this.stackPanel5.Controls.Add(this.label3);
|
||||
this.stackPanel5.Location = new System.Drawing.Point(3, 3);
|
||||
this.stackPanel5.Name = "stackPanel5";
|
||||
this.stackPanel5.Size = new System.Drawing.Size(214, 32);
|
||||
this.stackPanel5.TabIndex = 19;
|
||||
this.stackPanel5.Text = "stackPanel5";
|
||||
//
|
||||
// input_gap
|
||||
//
|
||||
this.input_gap.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
|
||||
this.input_gap.Location = new System.Drawing.Point(97, 3);
|
||||
this.input_gap.Minimum = new decimal(new int[] {
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.input_gap.Name = "input_gap";
|
||||
this.input_gap.Size = new System.Drawing.Size(115, 26);
|
||||
this.input_gap.TabIndex = 5;
|
||||
this.input_gap.Text = "0";
|
||||
this.input_gap.WaveSize = 0;
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label3.Location = new System.Drawing.Point(3, 3);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(88, 26);
|
||||
this.label3.TabIndex = 4;
|
||||
this.label3.Text = "Gap";
|
||||
//
|
||||
// divider1
|
||||
//
|
||||
this.divider1.Location = new System.Drawing.Point(3, 79);
|
||||
this.divider1.Name = "divider1";
|
||||
this.divider1.Size = new System.Drawing.Size(694, 12);
|
||||
this.divider1.TabIndex = 10;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label2.Location = new System.Drawing.Point(3, 49);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(694, 24);
|
||||
this.label2.TabIndex = 9;
|
||||
this.label2.Text = "将子元素排列成水平或垂直的一行。";
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.Font = new System.Drawing.Font("Microsoft YaHei UI", 26.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label1.Location = new System.Drawing.Point(3, 3);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(694, 40);
|
||||
this.label1.TabIndex = 8;
|
||||
this.label1.Text = "StackPanel 堆叠布局";
|
||||
//
|
||||
// buttonCZ
|
||||
//
|
||||
this.buttonCZ.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
@ -245,10 +157,9 @@
|
||||
this.switch_vertical.Checked = true;
|
||||
this.switch_vertical.Location = new System.Drawing.Point(97, 3);
|
||||
this.switch_vertical.Name = "switch_vertical";
|
||||
this.switch_vertical.Size = new System.Drawing.Size(60, 26);
|
||||
this.switch_vertical.Size = new System.Drawing.Size(50, 26);
|
||||
this.switch_vertical.TabIndex = 6;
|
||||
this.switch_vertical.Text = "switch1";
|
||||
this.switch_vertical.WaveSize = 0;
|
||||
//
|
||||
// label6
|
||||
//
|
||||
@ -258,6 +169,7 @@
|
||||
this.label6.Size = new System.Drawing.Size(88, 26);
|
||||
this.label6.TabIndex = 4;
|
||||
this.label6.Text = "Vertical";
|
||||
this.label6.TooltipConfig = null;
|
||||
//
|
||||
// stackPanel6
|
||||
//
|
||||
@ -274,10 +186,9 @@
|
||||
this.switch_autoscroll.AutoCheck = true;
|
||||
this.switch_autoscroll.Location = new System.Drawing.Point(97, 3);
|
||||
this.switch_autoscroll.Name = "switch_autoscroll";
|
||||
this.switch_autoscroll.Size = new System.Drawing.Size(60, 26);
|
||||
this.switch_autoscroll.Size = new System.Drawing.Size(50, 26);
|
||||
this.switch_autoscroll.TabIndex = 5;
|
||||
this.switch_autoscroll.Text = "switch1";
|
||||
this.switch_autoscroll.WaveSize = 0;
|
||||
//
|
||||
// label4
|
||||
//
|
||||
@ -287,6 +198,99 @@
|
||||
this.label4.Size = new System.Drawing.Size(88, 26);
|
||||
this.label4.TabIndex = 4;
|
||||
this.label4.Text = "AutoScroll";
|
||||
this.label4.TooltipConfig = null;
|
||||
//
|
||||
// stackPanel7
|
||||
//
|
||||
this.stackPanel7.Controls.Add(this.input_itemsize);
|
||||
this.stackPanel7.Controls.Add(this.label5);
|
||||
this.stackPanel7.Location = new System.Drawing.Point(3, 41);
|
||||
this.stackPanel7.Name = "stackPanel7";
|
||||
this.stackPanel7.Size = new System.Drawing.Size(214, 32);
|
||||
this.stackPanel7.TabIndex = 20;
|
||||
this.stackPanel7.Text = "stackPanel7";
|
||||
//
|
||||
// input_itemsize
|
||||
//
|
||||
this.input_itemsize.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.input_itemsize.Location = new System.Drawing.Point(97, 3);
|
||||
this.input_itemsize.Name = "input_itemsize";
|
||||
this.input_itemsize.PlaceholderText = "数值或百分比";
|
||||
this.input_itemsize.Size = new System.Drawing.Size(115, 26);
|
||||
this.input_itemsize.TabIndex = 5;
|
||||
this.input_itemsize.WaveSize = 0;
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label5.Location = new System.Drawing.Point(3, 3);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(88, 26);
|
||||
this.label5.TabIndex = 4;
|
||||
this.label5.Text = "ItemSize";
|
||||
this.label5.TooltipConfig = null;
|
||||
//
|
||||
// stackPanel5
|
||||
//
|
||||
this.stackPanel5.Controls.Add(this.input_gap);
|
||||
this.stackPanel5.Controls.Add(this.label3);
|
||||
this.stackPanel5.Location = new System.Drawing.Point(3, 3);
|
||||
this.stackPanel5.Name = "stackPanel5";
|
||||
this.stackPanel5.Size = new System.Drawing.Size(214, 32);
|
||||
this.stackPanel5.TabIndex = 19;
|
||||
this.stackPanel5.Text = "stackPanel5";
|
||||
//
|
||||
// input_gap
|
||||
//
|
||||
this.input_gap.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
|
||||
this.input_gap.Location = new System.Drawing.Point(97, 3);
|
||||
this.input_gap.Minimum = new decimal(new int[] {
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.input_gap.Name = "input_gap";
|
||||
this.input_gap.Size = new System.Drawing.Size(115, 26);
|
||||
this.input_gap.TabIndex = 5;
|
||||
this.input_gap.Text = "0";
|
||||
this.input_gap.WaveSize = 0;
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label3.Location = new System.Drawing.Point(3, 3);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(88, 26);
|
||||
this.label3.TabIndex = 4;
|
||||
this.label3.Text = "Gap";
|
||||
this.label3.TooltipConfig = null;
|
||||
//
|
||||
// divider1
|
||||
//
|
||||
this.divider1.Location = new System.Drawing.Point(3, 79);
|
||||
this.divider1.Name = "divider1";
|
||||
this.divider1.Size = new System.Drawing.Size(694, 12);
|
||||
this.divider1.TabIndex = 10;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label2.Location = new System.Drawing.Point(3, 49);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(694, 24);
|
||||
this.label2.TabIndex = 9;
|
||||
this.label2.Text = "将子元素排列成水平或垂直的一行。";
|
||||
this.label2.TooltipConfig = null;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.Font = new System.Drawing.Font("Microsoft YaHei UI", 26.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label1.Location = new System.Drawing.Point(3, 3);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(694, 40);
|
||||
this.label1.TabIndex = 8;
|
||||
this.label1.Text = "StackPanel 堆叠布局";
|
||||
this.label1.TooltipConfig = null;
|
||||
//
|
||||
// StackPanelDemo
|
||||
//
|
||||
@ -298,10 +302,10 @@
|
||||
this.stackPanel1.ResumeLayout(false);
|
||||
this.stackPanel2.ResumeLayout(false);
|
||||
this.stackPanel3.ResumeLayout(false);
|
||||
this.stackPanel7.ResumeLayout(false);
|
||||
this.stackPanel5.ResumeLayout(false);
|
||||
this.stackPanel8.ResumeLayout(false);
|
||||
this.stackPanel6.ResumeLayout(false);
|
||||
this.stackPanel7.ResumeLayout(false);
|
||||
this.stackPanel5.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
@ -1,12 +1,6 @@
|
||||
using AntdUI;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AntdUIDemo.Views
|
||||
|
||||
7
Views/StepsDemo.Designer.cs
generated
7
Views/StepsDemo.Designer.cs
generated
@ -129,7 +129,7 @@
|
||||
this.select_Status.List = true;
|
||||
this.select_Status.Location = new System.Drawing.Point(280, 3);
|
||||
this.select_Status.Name = "select_Status";
|
||||
this.select_Status.Size = new System.Drawing.Size(75, 26);
|
||||
this.select_Status.Size = new System.Drawing.Size(90, 26);
|
||||
this.select_Status.TabIndex = 13;
|
||||
this.select_Status.WaveSize = 0;
|
||||
//
|
||||
@ -141,6 +141,7 @@
|
||||
this.label3.Size = new System.Drawing.Size(92, 26);
|
||||
this.label3.TabIndex = 12;
|
||||
this.label3.Text = "Status";
|
||||
this.label3.TooltipConfig = null;
|
||||
//
|
||||
// input_current
|
||||
//
|
||||
@ -175,6 +176,7 @@
|
||||
this.label8.Size = new System.Drawing.Size(92, 26);
|
||||
this.label8.TabIndex = 10;
|
||||
this.label8.Text = "Current";
|
||||
this.label8.TooltipConfig = null;
|
||||
//
|
||||
// label12
|
||||
//
|
||||
@ -184,6 +186,7 @@
|
||||
this.label12.Size = new System.Drawing.Size(694, 24);
|
||||
this.label12.TabIndex = 42;
|
||||
this.label12.Text = "控件配置";
|
||||
this.label12.TooltipConfig = null;
|
||||
//
|
||||
// divider1
|
||||
//
|
||||
@ -200,6 +203,7 @@
|
||||
this.label2.Size = new System.Drawing.Size(694, 24);
|
||||
this.label2.TabIndex = 6;
|
||||
this.label2.Text = "引导用户按照流程完成任务的导航条。";
|
||||
this.label2.TooltipConfig = null;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
@ -209,6 +213,7 @@
|
||||
this.label1.Size = new System.Drawing.Size(694, 40);
|
||||
this.label1.TabIndex = 5;
|
||||
this.label1.Text = "Steps 步骤条";
|
||||
this.label1.TooltipConfig = null;
|
||||
//
|
||||
// StepsDemo
|
||||
//
|
||||
|
||||
@ -1,12 +1,5 @@
|
||||
using AntdUI;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AntdUIDemo.Views
|
||||
|
||||
@ -1,12 +1,4 @@
|
||||
using AntdUI;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AntdUIDemo.Views
|
||||
@ -1,17 +1,9 @@
|
||||
using AntdUI;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using AntdUIDemo.Utils;
|
||||
using System;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Configuration;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using System.IO;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AntdUIDemo.Controls
|
||||
{
|
||||
@ -1,12 +1,5 @@
|
||||
using AntdUIDemo.Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AntdUIDemo.Views.Table
|
||||
61
Views/SubView/Wellcome.Designer.cs
generated
Normal file
61
Views/SubView/Wellcome.Designer.cs
generated
Normal file
@ -0,0 +1,61 @@
|
||||
namespace AntdUIDemo.Views.SubView
|
||||
{
|
||||
partial class Wellcome
|
||||
{
|
||||
/// <summary>
|
||||
/// 必需的设计器变量。
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// 清理所有正在使用的资源。
|
||||
/// </summary>
|
||||
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region 组件设计器生成的代码
|
||||
|
||||
/// <summary>
|
||||
/// 设计器支持所需的方法 - 不要修改
|
||||
/// 使用代码编辑器修改此方法的内容。
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.label1 = new AntdUI.Label();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.label1.Font = new System.Drawing.Font("Microsoft YaHei UI", 20F);
|
||||
this.label1.Location = new System.Drawing.Point(0, 0);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(750, 150);
|
||||
this.label1.TabIndex = 0;
|
||||
this.label1.Text = "欢迎使用 AntdUI Demo";
|
||||
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.label1.TooltipConfig = null;
|
||||
//
|
||||
// Wellcome
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.Controls.Add(this.label1);
|
||||
this.Name = "Wellcome";
|
||||
this.Size = new System.Drawing.Size(750, 150);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private AntdUI.Label label1;
|
||||
}
|
||||
}
|
||||
12
Views/SubView/Wellcome.cs
Normal file
12
Views/SubView/Wellcome.cs
Normal file
@ -0,0 +1,12 @@
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AntdUIDemo.Views.SubView
|
||||
{
|
||||
public partial class Wellcome : UserControl
|
||||
{
|
||||
public Wellcome()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
120
Views/SubView/Wellcome.resx
Normal file
120
Views/SubView/Wellcome.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>
|
||||
@ -1,12 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AntdUIDemo.Views
|
||||
{
|
||||
|
||||
@ -51,8 +51,11 @@ namespace AntdUIDemo.Views
|
||||
},
|
||||
new Column("CellProgress", "进度条",ColumnAlign.Center),
|
||||
new Column("CellDivider", "分割线",ColumnAlign.Center),
|
||||
new Column("CellLinks", "链接",ColumnAlign.Center),
|
||||
};
|
||||
new Column("CellLinks", "链接", ColumnAlign.Center)
|
||||
{
|
||||
Fixed = true,//冻结列
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
private void BindEventHandler()
|
||||
|
||||
@ -1,12 +1,5 @@
|
||||
using AntdUI;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AntdUIDemo.Views
|
||||
|
||||
@ -1,12 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AntdUIDemo.Views
|
||||
{
|
||||
|
||||
@ -1,12 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AntdUIDemo.Views
|
||||
{
|
||||
|
||||
@ -1,12 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AntdUIDemo.Views
|
||||
{
|
||||
|
||||
@ -1,11 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Drawing;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AntdUIDemo.Views
|
||||
|
||||
@ -1,12 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AntdUIDemo.Views
|
||||
{
|
||||
|
||||
@ -1,12 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AntdUIDemo.Views
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user