Button按钮页面

This commit is contained in:
czz_y 2024-08-14 17:37:38 +08:00
parent deb8a1a533
commit bbc2e2c821
8 changed files with 1212 additions and 343 deletions

375
MainWindow.Designer.cs generated
View File

@ -29,373 +29,70 @@
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainWindow));
AntdUI.MenuItem menuItem1 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem2 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem3 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem4 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem5 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem6 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem7 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem8 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem9 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem10 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem11 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem12 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem13 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem14 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem15 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem16 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem17 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem18 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem19 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem20 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem21 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem22 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem23 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem24 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem25 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem26 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem27 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem28 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem29 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem30 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem31 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem32 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem33 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem34 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem35 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem36 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem37 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem38 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem39 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem40 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem41 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem42 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem43 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem44 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem45 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem46 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem47 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem48 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem49 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem50 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem51 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem52 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem53 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem54 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem55 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem56 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem57 = new AntdUI.MenuItem();
AntdUI.MenuItem menuItem58 = new AntdUI.MenuItem();
this.titlebar = new AntdUI.WindowBar();
this.button1 = new AntdUI.Button();
this.divider1 = new AntdUI.Divider();
this.menu1 = new AntdUI.Menu();
this.titlebar.SuspendLayout();
this.divider = new AntdUI.Divider();
this.menu = new AntdUI.Menu();
this.panel_content = new AntdUI.StackPanel();
this.SuspendLayout();
//
// titlebar
//
this.titlebar.Controls.Add(this.button1);
this.titlebar.Dock = System.Windows.Forms.DockStyle.Top;
this.titlebar.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.titlebar.Location = new System.Drawing.Point(12, 12);
this.titlebar.Location = new System.Drawing.Point(6, 0);
this.titlebar.MaximizeBox = false;
this.titlebar.Name = "titlebar";
this.titlebar.Size = new System.Drawing.Size(984, 40);
this.titlebar.Size = new System.Drawing.Size(1002, 40);
this.titlebar.SubText = "Demo";
this.titlebar.TabIndex = 0;
this.titlebar.Text = "AntdUI";
//
// button1
// divider
//
this.button1.Dock = System.Windows.Forms.DockStyle.Right;
this.button1.Ghost = true;
this.button1.ImageSvg = resources.GetString("button1.ImageSvg");
this.button1.Location = new System.Drawing.Point(838, 0);
this.button1.Name = "button1";
this.button1.Radius = 0;
this.button1.Size = new System.Drawing.Size(50, 40);
this.button1.TabIndex = 0;
this.button1.WaveSize = 0;
this.divider.Dock = System.Windows.Forms.DockStyle.Top;
this.divider.Location = new System.Drawing.Point(6, 40);
this.divider.Name = "divider";
this.divider.Size = new System.Drawing.Size(1002, 12);
this.divider.TabIndex = 8;
//
// divider1
// menu
//
this.divider1.Dock = System.Windows.Forms.DockStyle.Top;
this.divider1.Location = new System.Drawing.Point(12, 52);
this.divider1.Name = "divider1";
this.divider1.Size = new System.Drawing.Size(984, 12);
this.divider1.TabIndex = 8;
this.menu.AutoCollapse = true;
this.menu.Dock = System.Windows.Forms.DockStyle.Left;
this.menu.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.menu.Indent = true;
this.menu.Location = new System.Drawing.Point(6, 52);
this.menu.Name = "menu";
this.menu.Size = new System.Drawing.Size(277, 566);
this.menu.TabIndex = 9;
this.menu.Unique = true;
//
// menu1
// panel_content
//
this.menu1.AutoCollapse = true;
this.menu1.Dock = System.Windows.Forms.DockStyle.Left;
this.menu1.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.menu1.Indent = true;
menuItem1.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
menuItem1.PARENTITEM = null;
menuItem1.Select = false;
menuItem2.PARENTITEM = menuItem1;
menuItem2.Select = false;
menuItem2.Text = "Button 按钮";
menuItem3.PARENTITEM = menuItem1;
menuItem3.Select = false;
menuItem3.Text = "FloatButton 悬浮按钮";
menuItem1.Sub.Add(menuItem2);
menuItem1.Sub.Add(menuItem3);
menuItem1.Text = "通用";
menuItem4.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Bold);
menuItem4.PARENTITEM = null;
menuItem4.Select = false;
menuItem5.PARENTITEM = menuItem4;
menuItem5.Select = false;
menuItem5.Text = "FlowPanel 流动布局";
menuItem6.PARENTITEM = menuItem4;
menuItem6.Select = false;
menuItem6.Text = "GridPanel 格栅布局";
menuItem7.PARENTITEM = menuItem4;
menuItem7.Select = false;
menuItem7.Text = "StackPanel 堆栈布局";
menuItem4.Sub.Add(menuItem5);
menuItem4.Sub.Add(menuItem6);
menuItem4.Sub.Add(menuItem7);
menuItem4.Text = "布局";
menuItem8.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Bold);
menuItem8.PARENTITEM = null;
menuItem8.Select = false;
menuItem9.PARENTITEM = menuItem8;
menuItem9.Select = false;
menuItem9.Text = "Dropdown 下拉菜单";
menuItem10.PARENTITEM = menuItem8;
menuItem10.Select = false;
menuItem10.Text = "Menu 导航菜单";
menuItem11.PARENTITEM = menuItem8;
menuItem11.Select = false;
menuItem11.Text = "Pagination 分页";
menuItem12.PARENTITEM = menuItem8;
menuItem12.Select = false;
menuItem12.Text = "Steps 步骤条";
menuItem8.Sub.Add(menuItem9);
menuItem8.Sub.Add(menuItem10);
menuItem8.Sub.Add(menuItem11);
menuItem8.Sub.Add(menuItem12);
menuItem8.Text = "导航";
menuItem13.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Bold);
menuItem13.PARENTITEM = null;
menuItem13.Select = false;
menuItem14.PARENTITEM = menuItem13;
menuItem14.Select = false;
menuItem14.Text = "Checkbox 多选框";
menuItem15.PARENTITEM = menuItem13;
menuItem15.Select = false;
menuItem15.Text = "ColorPicker 颜色选择器";
menuItem16.PARENTITEM = menuItem13;
menuItem16.Select = false;
menuItem16.Text = "DatePicker 日期选择框";
menuItem17.PARENTITEM = menuItem13;
menuItem17.Select = false;
menuItem17.Text = "DatePickerRange 日期范围选择框";
menuItem18.PARENTITEM = menuItem13;
menuItem18.Select = false;
menuItem18.Text = "Input 输入框";
menuItem19.PARENTITEM = menuItem13;
menuItem19.Select = false;
menuItem19.Text = "InputNumber 数字输入框";
menuItem20.PARENTITEM = menuItem13;
menuItem20.Select = false;
menuItem20.Text = "Radio 单选框";
menuItem21.PARENTITEM = menuItem13;
menuItem21.Select = false;
menuItem21.Text = "Rate 评分";
menuItem22.PARENTITEM = menuItem13;
menuItem22.Select = false;
menuItem22.Text = "Select 选择器";
menuItem23.PARENTITEM = menuItem13;
menuItem23.Select = false;
menuItem23.Text = "Slider 滑动输入条";
menuItem24.PARENTITEM = menuItem13;
menuItem24.Select = false;
menuItem24.Text = "Switch 开关";
menuItem25.PARENTITEM = menuItem13;
menuItem25.Select = false;
menuItem25.Text = "TimePicker 时间选择框";
menuItem13.Sub.Add(menuItem14);
menuItem13.Sub.Add(menuItem15);
menuItem13.Sub.Add(menuItem16);
menuItem13.Sub.Add(menuItem17);
menuItem13.Sub.Add(menuItem18);
menuItem13.Sub.Add(menuItem19);
menuItem13.Sub.Add(menuItem20);
menuItem13.Sub.Add(menuItem21);
menuItem13.Sub.Add(menuItem22);
menuItem13.Sub.Add(menuItem23);
menuItem13.Sub.Add(menuItem24);
menuItem13.Sub.Add(menuItem25);
menuItem13.Text = "数据录入";
menuItem26.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Bold);
menuItem26.PARENTITEM = null;
menuItem26.Select = false;
menuItem27.PARENTITEM = menuItem26;
menuItem27.Select = false;
menuItem27.Text = "Avatar 头像";
menuItem28.PARENTITEM = menuItem26;
menuItem28.Select = false;
menuItem28.Text = "Badge 徽标数";
menuItem29.PARENTITEM = menuItem26;
menuItem29.Select = false;
menuItem29.Text = "Calendar 日历";
menuItem30.PARENTITEM = menuItem26;
menuItem30.Select = false;
menuItem30.Text = "Carousel 走马灯";
menuItem31.PARENTITEM = menuItem26;
menuItem31.Select = false;
menuItem31.Text = "Lable 标签";
menuItem32.PARENTITEM = menuItem26;
menuItem32.Select = false;
menuItem32.Text = "Panel 面板";
menuItem33.PARENTITEM = menuItem26;
menuItem33.Select = false;
menuItem33.Text = "Popover 气泡卡片";
menuItem34.PARENTITEM = menuItem26;
menuItem34.Select = false;
menuItem34.Text = "Preview 图片预览";
menuItem35.PARENTITEM = menuItem26;
menuItem35.Select = false;
menuItem35.Text = "Segmented 分段控制器";
menuItem36.PARENTITEM = menuItem26;
menuItem36.Select = false;
menuItem36.Text = "Table 表格";
menuItem37.PARENTITEM = menuItem26;
menuItem37.Select = false;
menuItem37.Text = "Tabs 标签页";
menuItem38.PARENTITEM = menuItem26;
menuItem38.Select = false;
menuItem38.Text = "Tag 标签";
menuItem39.PARENTITEM = menuItem26;
menuItem39.Select = false;
menuItem39.Text = "Timeline 时间轴";
menuItem40.PARENTITEM = menuItem26;
menuItem40.Select = false;
menuItem40.Text = "Tooltip 文字提示";
menuItem41.PARENTITEM = menuItem26;
menuItem41.Select = false;
menuItem41.Text = "Tree 树形控件";
menuItem26.Sub.Add(menuItem27);
menuItem26.Sub.Add(menuItem28);
menuItem26.Sub.Add(menuItem29);
menuItem26.Sub.Add(menuItem30);
menuItem26.Sub.Add(menuItem31);
menuItem26.Sub.Add(menuItem32);
menuItem26.Sub.Add(menuItem33);
menuItem26.Sub.Add(menuItem34);
menuItem26.Sub.Add(menuItem35);
menuItem26.Sub.Add(menuItem36);
menuItem26.Sub.Add(menuItem37);
menuItem26.Sub.Add(menuItem38);
menuItem26.Sub.Add(menuItem39);
menuItem26.Sub.Add(menuItem40);
menuItem26.Sub.Add(menuItem41);
menuItem26.Text = "数据展示";
menuItem42.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Bold);
menuItem42.PARENTITEM = null;
menuItem42.Select = false;
menuItem43.PARENTITEM = menuItem42;
menuItem43.Select = false;
menuItem43.Text = "Alert 警告提示";
menuItem44.PARENTITEM = menuItem42;
menuItem44.Select = false;
menuItem44.Text = "Drawer 抽屉";
menuItem45.PARENTITEM = menuItem42;
menuItem45.Select = false;
menuItem45.Text = "Message 全局提示";
menuItem46.PARENTITEM = menuItem42;
menuItem46.Select = false;
menuItem46.Text = "Modal 对话框";
menuItem47.PARENTITEM = menuItem42;
menuItem47.Select = false;
menuItem47.Text = "Notification 通知提醒框";
menuItem48.PARENTITEM = menuItem42;
menuItem48.Select = false;
menuItem48.Text = "Progress 进度条";
menuItem49.PARENTITEM = menuItem42;
menuItem49.Select = false;
menuItem49.Text = "Spin 加载中";
menuItem42.Sub.Add(menuItem43);
menuItem42.Sub.Add(menuItem44);
menuItem42.Sub.Add(menuItem45);
menuItem42.Sub.Add(menuItem46);
menuItem42.Sub.Add(menuItem47);
menuItem42.Sub.Add(menuItem48);
menuItem42.Sub.Add(menuItem49);
menuItem42.Text = "反馈";
menuItem50.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Bold);
menuItem50.PARENTITEM = null;
menuItem50.Select = false;
menuItem51.PARENTITEM = menuItem50;
menuItem51.Select = false;
menuItem51.Text = "MsgList 好友消息列表";
menuItem52.PARENTITEM = menuItem50;
menuItem52.Select = false;
menuItem52.Text = "ChatList 气泡聊天列表";
menuItem50.Sub.Add(menuItem51);
menuItem50.Sub.Add(menuItem52);
menuItem50.Text = "聊天";
menuItem53.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Bold);
menuItem53.PARENTITEM = null;
menuItem53.Select = false;
menuItem54.PARENTITEM = menuItem53;
menuItem54.Select = false;
menuItem54.Text = "Battery 电量";
menuItem55.PARENTITEM = menuItem53;
menuItem55.Select = false;
menuItem55.Text = "ContextMenuStrip 右键菜单";
menuItem56.PARENTITEM = menuItem53;
menuItem56.Select = false;
menuItem56.Text = "Divider 分割线";
menuItem57.PARENTITEM = menuItem53;
menuItem57.Select = false;
menuItem57.Text = "Image3D 图片3D";
menuItem58.PARENTITEM = menuItem53;
menuItem58.Select = false;
menuItem58.Text = "WindowBar 窗口栏";
menuItem53.Sub.Add(menuItem54);
menuItem53.Sub.Add(menuItem55);
menuItem53.Sub.Add(menuItem56);
menuItem53.Sub.Add(menuItem57);
menuItem53.Sub.Add(menuItem58);
menuItem53.Text = "其他";
this.menu1.Items.Add(menuItem1);
this.menu1.Items.Add(menuItem4);
this.menu1.Items.Add(menuItem8);
this.menu1.Items.Add(menuItem13);
this.menu1.Items.Add(menuItem26);
this.menu1.Items.Add(menuItem42);
this.menu1.Items.Add(menuItem50);
this.menu1.Items.Add(menuItem53);
this.menu1.Location = new System.Drawing.Point(12, 64);
this.menu1.Name = "menu1";
this.menu1.Size = new System.Drawing.Size(277, 548);
this.menu1.TabIndex = 9;
this.menu1.Text = "menu1";
this.menu1.Unique = true;
this.panel_content.AutoScroll = true;
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";
this.panel_content.Size = new System.Drawing.Size(725, 566);
this.panel_content.TabIndex = 10;
this.panel_content.Vertical = true;
//
// MainWindow
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(1008, 624);
this.ControlBox = false;
this.Controls.Add(this.menu1);
this.Controls.Add(this.divider1);
this.Controls.Add(this.panel_content);
this.Controls.Add(this.menu);
this.Controls.Add(this.divider);
this.Controls.Add(this.titlebar);
this.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "MainWindow";
this.Opacity = 0.96D;
this.Padding = new System.Windows.Forms.Padding(12);
this.Padding = new System.Windows.Forms.Padding(6, 0, 0, 6);
this.Resizable = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.titlebar.ResumeLayout(false);
this.ResumeLayout(false);
}
@ -403,8 +100,8 @@
#endregion
private AntdUI.WindowBar titlebar;
private AntdUI.Button button1;
private AntdUI.Divider divider1;
private AntdUI.Menu menu1;
private AntdUI.Divider divider;
private AntdUI.Menu menu;
private AntdUI.StackPanel panel_content;
}
}

View File

@ -1,4 +1,6 @@
using System;
using AntdUIDemo.Models;
using AntdUIDemo.Views;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
@ -12,9 +14,55 @@ namespace AntdUIDemo
{
public partial class MainWindow : AntdUI.Window
{
private UserControl control;
public MainWindow()
{
InitializeComponent();
//加载菜单
LoadMenu();
menu.SelectChanged += Menu_SelectChanged;
}
private void LoadMenu()
{
menu.Items.Clear();
foreach (var rootItem in DataUtil.MenuItems)
{
var rootMenu = new AntdUI.MenuItem { Text = rootItem.Key };
foreach (var item in rootItem.Value)
{
var menuItem = new AntdUI.MenuItem
{
Text = item.Text,
IconSvg = item.IconSvg,
Tag = item.Tag,
};
rootMenu.Sub.Add(menuItem);
}
menu.Items.Add(rootMenu);
}
}
private void Menu_SelectChanged(object sender, AntdUI.MenuItem item)
{
var name = item.Tag;
if (control != null)
{
panel_content.Controls.Clear();
control.Dispose();
control = null;
}
switch (name)
{
case "Button":
control = new ButtonDemo();
break;
}
if (control != null)
{
panel_content.Controls.Add(control);
}
}
}
}

View File

@ -117,9 +117,6 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="button1.ImageSvg" xml:space="preserve">
<value>&lt;svg t="1723187006509" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2546" width="200" height="200"&gt;&lt;path d="M512 807.3c-162.8 0-295.3-132.5-295.3-295.3 0-78.9 30.7-153 86.5-208.8 55.8-55.8 129.9-86.5 208.8-86.5s153 30.7 208.8 86.5c55.8 55.8 86.5 129.9 86.6 208.8 0 162.8-132.5 295.3-295.4 295.3z m0-568.9c-150.8 0-273.6 122.7-273.6 273.6S361.2 785.6 512 785.6c150.9 0 273.7-122.7 273.7-273.6-0.1-150.8-122.9-273.6-273.7-273.6z" p-id="2547"&gt;&lt;/path&gt;&lt;path d="M512 186.3c22.4 0 40.8-18.2 40.8-40.6v-40.8c0-22.4-18.2-40.6-40.8-40.6-22.4 0-40.8 18.2-40.8 40.6v40.8c0 22.4 18.4 40.6 40.8 40.6M512 837.6c-22.4 0-40.8 18.2-40.8 40.6V919c0 22.4 18.2 40.8 40.8 40.8 22.4 0 40.8-18.2 40.8-40.8v-40.8c0-22.4-18.4-40.6-40.8-40.6M145.7 470.6l-40.8-0.1c-22.5 0-40.8 18.1-40.8 40.6 0 22.4 18.1 40.8 40.6 40.8h40.8c22.4 0 40.8-18.1 40.8-40.6 0.1-22.4-18.1-40.7-40.6-40.7M919.1 472l-40.8-0.1c-22.4 0-40.8 18.1-40.8 40.6 0 22.4 18.1 40.8 40.6 40.8l40.8 0.1c22.4 0 40.8-18.1 40.8-40.6 0.2-22.5-18-40.8-40.6-40.8M797.4 278.7l28.5-29.1c15.8-16.1 15.4-41.9-0.6-57.5-16.1-15.8-41.9-15.4-57.5 0.6l-28.5 29.1c-15.8 16.1-15.4 41.9 0.7 57.5 15.9 15.8 41.8 15.5 57.4-0.6M226.6 745.2L198 774.3c-15.8 16-15.4 41.9 0.6 57.5 16.1 15.8 41.9 15.4 57.5-0.7l28.5-29c15.8-16.1 15.4-41.9-0.6-57.6-16-15.6-41.8-15.4-57.4 0.7M222.1 284.2c16 15.8 41.8 15.5 57.5-0.4 15.8-16.1 15.5-41.8-0.4-57.5l-29-28.7c-16-15.8-41.8-15.5-57.5 0.6-15.8 16-15.5 41.8 0.4 57.5l29 28.5M801.9 739.8c-16-15.8-41.8-15.5-57.5 0.6-15.8 16-15.5 41.8 0.4 57.5l29 28.5c16 15.8 41.8 15.5 57.5-0.4 15.8-16 15.5-41.8-0.4-57.5l-29-28.7M512.8 227.6v568.8C669.4 796 796.5 668.8 796.5 512c-0.1-156.9-127.1-284-283.7-284.4z" p-id="2548"&gt;&lt;/path&gt;&lt;/svg&gt;</value>
</data>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>

99
Models/DataUtil.cs Normal file
View File

@ -0,0 +1,99 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AntdUIDemo.Models
{
public static class DataUtil
{
public static readonly Dictionary<string, List<MenuItems>> MenuItems = new Dictionary<string, List<MenuItems>>()
{
{ "通用", new List<MenuItems>
{
new MenuItems { Text = "Button 按钮" , Tag = "Button"},
new MenuItems { Text = "FloatButton 悬浮按钮", Tag = "FloatButton"},
}
},
{ "布局", new List<MenuItems>
{
new MenuItems { Text = "FlowPanel 流动布局", Tag = "FlowPanel"},
new MenuItems { Text = "GridPanel 网格布局", Tag = "GridPanel"},
new MenuItems { Text = "Panel 面板", Tag = "Panel"},
new MenuItems { Text = "StackPanel 堆叠布局", Tag = "StackPanel"}
}
},
{ "导航", new List<MenuItems>
{
new MenuItems { Text = "DropDown 下拉菜单", Tag = "DropDown"},
new MenuItems { Text = "Menu 导航菜单", Tag = "Menu"},
new MenuItems { Text = "Pagination 分页", Tag = "Pagination"},
new MenuItems { Text = "Steps 步骤条", Tag = "Steps"}
}
},
{ "数据录入", new List<MenuItems>
{
new MenuItems { Text = "CheckBox 复选框", Tag = "CheckBox"},
new MenuItems { Text = "ColorPicker 颜色选择器", Tag = "ColorPicker"},
new MenuItems { Text = "DatePicker 日期选择器", Tag = "DatePicker"},
new MenuItems { Text = "DatePickerRange 日期范围选择器", Tag = "DatePickerRange"},
new MenuItems { Text = "Input 输入框", Tag = "Input"},
new MenuItems { Text = "InputNumber 数字输入框", Tag = "InputNumber"},
new MenuItems { Text = "Radio 单选框", Tag = "Radio"},
new MenuItems { Text = "Rate 评分", Tag = "Rate"},
new MenuItems { Text = "Select 选择器", Tag = "Select"},
new MenuItems { Text = "SelectMultiple 多选选择器", Tag = "SelectMultiple"},
new MenuItems { Text = "Slider 滑动输入条", Tag = "Slider"},
new MenuItems { Text = "Switch 开关", Tag = "Switch"},
new MenuItems { Text = "TimePicker 时间选择框", Tag = "TimePicker"},
}
},
{ "数据展示", new List<MenuItems>
{
new MenuItems { Text = "Avatar 头像", Tag = "Avatar"},
new MenuItems { Text = "Badge 徽标数", Tag = "Badge"},
new MenuItems { Text = "Calendar 日历", Tag = "Calendar"},
new MenuItems { Text = "Carousel 走马灯", Tag = "Carousel"},
new MenuItems { Text = "Label 标签", Tag = "Label"},
new MenuItems { Text = "Popver 气泡卡片", Tag = "Popver"},
new MenuItems { Text = "Preview 图片预览", Tag = "Preview"},
new MenuItems { Text = "Segmented 分段控制器", Tag = "Segmented"},
new MenuItems { Text = "Table 表格", Tag = "Table"},
new MenuItems { Text = "Tabs 标签页", Tag = "Tabs"},
new MenuItems { Text = "Tag 标签", Tag = "Tag"},
new MenuItems { Text = "Timeline 时间轴", Tag = "Timeline"},
new MenuItems { Text = "Tooltip 文字提示", Tag = "Tooltip"},
new MenuItems { Text = "Tree 树形控件", Tag = "Tree"}
}
},
{ "反馈", new List<MenuItems>
{
new MenuItems { Text = "Alert 警告提示", Tag = "Alert"},
new MenuItems { Text = "Drawer 抽屉", Tag = "Drawer"},
new MenuItems { Text = "Message 全局提示", Tag = "Message"},
new MenuItems { Text = "Modal 对话框", Tag = "Modal"},
new MenuItems { Text = "Notification 通知提醒框", Tag = "Notification"},
new MenuItems { Text = "Progress 进度条", Tag = "Progress"},
new MenuItems { Text = "Spin 加载中", Tag = "Spin"}
}
},
{ "聊天", new List<MenuItems>
{
new MenuItems { Text = "ChatList 气泡聊天列表", Tag = "ChatList"},
new MenuItems { Text = "MsgList 好友消息列表", Tag = "MsgList"}
}
},
{ "其它", new List<MenuItems>
{
new MenuItems { Text = "Battery 电池", Tag = "Battery" },
new MenuItems { Text = "ContextMenuStrip 右键菜单", Tag = "ContextMenuStrip" },
new MenuItems { Text = "Divider 分割线", Tag = "Divider" },
new MenuItems { Text = "Image3D 图片3D", Tag = "Image3D" },
new MenuItems { Text = "WindowBar 窗口栏", Tag = "WindowBar" }
}
}
};
}
}

15
Models/MenuItems.cs Normal file
View File

@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AntdUIDemo.Models
{
public class MenuItems
{
public string IconSvg { get; set; } = null;
public string Text { get; set; } = string.Empty;
public object Tag { get; set; } = null;
}
}

840
Views/ButtonDemo.Designer.cs generated Normal file
View File

@ -0,0 +1,840 @@
namespace AntdUIDemo.Views
{
partial class ButtonDemo
{
/// <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()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ButtonDemo));
this.stackPanel1 = new AntdUI.StackPanel();
this.flowPanel6 = new AntdUI.FlowPanel();
this.panel3 = new AntdUI.Panel();
this.button36 = new AntdUI.Button();
this.button37 = new AntdUI.Button();
this.panel2 = new AntdUI.Panel();
this.button33 = new AntdUI.Button();
this.button34 = new AntdUI.Button();
this.button35 = new AntdUI.Button();
this.label8 = new AntdUI.Label();
this.flowPanel5 = new AntdUI.FlowPanel();
this.button28 = new AntdUI.Button();
this.button27 = new AntdUI.Button();
this.button26 = new AntdUI.Button();
this.button25 = new AntdUI.Button();
this.button29 = new AntdUI.Button();
this.label7 = new AntdUI.Label();
this.flowPanel4 = new AntdUI.FlowPanel();
this.button21 = new AntdUI.Button();
this.button22 = new AntdUI.Button();
this.button19 = new AntdUI.Button();
this.button20 = new AntdUI.Button();
this.button23 = new AntdUI.Button();
this.button24 = new AntdUI.Button();
this.label6 = new AntdUI.Label();
this.flowPanel3 = new AntdUI.FlowPanel();
this.button13 = new AntdUI.Button();
this.button14 = new AntdUI.Button();
this.button15 = new AntdUI.Button();
this.button16 = new AntdUI.Button();
this.button17 = new AntdUI.Button();
this.button18 = new AntdUI.Button();
this.label5 = new AntdUI.Label();
this.flowPanel2 = new AntdUI.FlowPanel();
this.button7 = new AntdUI.Button();
this.button8 = new AntdUI.Button();
this.button9 = new AntdUI.Button();
this.button10 = new AntdUI.Button();
this.button11 = new AntdUI.Button();
this.button12 = new AntdUI.Button();
this.label4 = new AntdUI.Label();
this.flowPanel1 = new AntdUI.FlowPanel();
this.button6 = new AntdUI.Button();
this.button5 = new AntdUI.Button();
this.button4 = new AntdUI.Button();
this.button3 = new AntdUI.Button();
this.button2 = new AntdUI.Button();
this.button1 = new AntdUI.Button();
this.label3 = new AntdUI.Label();
this.divider1 = new AntdUI.Divider();
this.label2 = new AntdUI.Label();
this.label1 = new AntdUI.Label();
this.flowPanel7 = new AntdUI.FlowPanel();
this.button39 = new AntdUI.Button();
this.label9 = new AntdUI.Label();
this.stackPanel1.SuspendLayout();
this.flowPanel6.SuspendLayout();
this.panel3.SuspendLayout();
this.panel2.SuspendLayout();
this.flowPanel5.SuspendLayout();
this.flowPanel4.SuspendLayout();
this.flowPanel3.SuspendLayout();
this.flowPanel2.SuspendLayout();
this.flowPanel1.SuspendLayout();
this.flowPanel7.SuspendLayout();
this.SuspendLayout();
//
// stackPanel1
//
this.stackPanel1.Controls.Add(this.flowPanel7);
this.stackPanel1.Controls.Add(this.label9);
this.stackPanel1.Controls.Add(this.flowPanel6);
this.stackPanel1.Controls.Add(this.label8);
this.stackPanel1.Controls.Add(this.flowPanel5);
this.stackPanel1.Controls.Add(this.label7);
this.stackPanel1.Controls.Add(this.flowPanel4);
this.stackPanel1.Controls.Add(this.label6);
this.stackPanel1.Controls.Add(this.flowPanel3);
this.stackPanel1.Controls.Add(this.label5);
this.stackPanel1.Controls.Add(this.flowPanel2);
this.stackPanel1.Controls.Add(this.label4);
this.stackPanel1.Controls.Add(this.flowPanel1);
this.stackPanel1.Controls.Add(this.label3);
this.stackPanel1.Controls.Add(this.divider1);
this.stackPanel1.Controls.Add(this.label2);
this.stackPanel1.Controls.Add(this.label1);
this.stackPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.stackPanel1.Location = new System.Drawing.Point(0, 0);
this.stackPanel1.Name = "stackPanel1";
this.stackPanel1.Size = new System.Drawing.Size(724, 629);
this.stackPanel1.TabIndex = 1;
this.stackPanel1.Text = "stackPanel1";
this.stackPanel1.Vertical = true;
//
// flowPanel6
//
this.flowPanel6.Controls.Add(this.panel3);
this.flowPanel6.Controls.Add(this.panel2);
this.flowPanel6.Location = new System.Drawing.Point(3, 497);
this.flowPanel6.Name = "flowPanel6";
this.flowPanel6.Size = new System.Drawing.Size(718, 38);
this.flowPanel6.TabIndex = 16;
this.flowPanel6.Text = "flowPanel6";
//
// panel3
//
this.panel3.Back = System.Drawing.Color.Transparent;
this.panel3.Controls.Add(this.button36);
this.panel3.Controls.Add(this.button37);
this.panel3.Location = new System.Drawing.Point(241, 3);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(156, 35);
this.panel3.TabIndex = 2;
this.panel3.Text = "panel3";
//
// button36
//
this.button36.BorderWidth = 2F;
this.button36.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button36.Ghost = true;
this.button36.JoinLeft = true;
this.button36.Location = new System.Drawing.Point(77, 3);
this.button36.Name = "button36";
this.button36.Size = new System.Drawing.Size(75, 32);
this.button36.TabIndex = 4;
this.button36.Text = "Button";
this.button36.Type = AntdUI.TTypeMini.Primary;
this.button36.WaveSize = 0;
//
// button37
//
this.button37.BorderWidth = 2F;
this.button37.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button37.Ghost = true;
this.button37.ImageSvg = resources.GetString("button37.ImageSvg");
this.button37.JoinRight = true;
this.button37.Location = new System.Drawing.Point(3, 3);
this.button37.Name = "button37";
this.button37.Size = new System.Drawing.Size(75, 32);
this.button37.TabIndex = 3;
this.button37.Type = AntdUI.TTypeMini.Primary;
this.button37.WaveSize = 0;
//
// panel2
//
this.panel2.Back = System.Drawing.Color.Transparent;
this.panel2.BackColor = System.Drawing.SystemColors.Control;
this.panel2.Controls.Add(this.button33);
this.panel2.Controls.Add(this.button34);
this.panel2.Controls.Add(this.button35);
this.panel2.Location = new System.Drawing.Point(3, 3);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(232, 35);
this.panel2.TabIndex = 1;
this.panel2.Text = "panel2";
//
// button33
//
this.button33.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button33.JoinLeft = true;
this.button33.Location = new System.Drawing.Point(152, 3);
this.button33.Name = "button33";
this.button33.Size = new System.Drawing.Size(75, 32);
this.button33.TabIndex = 4;
this.button33.Text = "Button";
this.button33.Type = AntdUI.TTypeMini.Primary;
this.button33.WaveSize = 0;
//
// button34
//
this.button34.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button34.ImageSvg = resources.GetString("button34.ImageSvg");
this.button34.JoinLeft = true;
this.button34.JoinRight = true;
this.button34.Location = new System.Drawing.Point(77, 3);
this.button34.Name = "button34";
this.button34.Size = new System.Drawing.Size(75, 32);
this.button34.TabIndex = 3;
this.button34.Type = AntdUI.TTypeMini.Primary;
this.button34.WaveSize = 0;
//
// button35
//
this.button35.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button35.JoinRight = true;
this.button35.Location = new System.Drawing.Point(3, 3);
this.button35.Name = "button35";
this.button35.Size = new System.Drawing.Size(75, 32);
this.button35.TabIndex = 2;
this.button35.Text = "Text";
this.button35.Type = AntdUI.TTypeMini.Primary;
this.button35.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(3, 467);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(718, 24);
this.label8.TabIndex = 15;
this.label8.Text = "组合按钮";
//
// flowPanel5
//
this.flowPanel5.Controls.Add(this.button28);
this.flowPanel5.Controls.Add(this.button27);
this.flowPanel5.Controls.Add(this.button26);
this.flowPanel5.Controls.Add(this.button25);
this.flowPanel5.Controls.Add(this.button29);
this.flowPanel5.Location = new System.Drawing.Point(3, 423);
this.flowPanel5.Name = "flowPanel5";
this.flowPanel5.Size = new System.Drawing.Size(718, 38);
this.flowPanel5.TabIndex = 14;
this.flowPanel5.Text = "flowPanel5";
//
// button28
//
this.button28.BorderWidth = 2F;
this.button28.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button28.Ghost = true;
this.button28.ImageSvg = resources.GetString("button28.ImageSvg");
this.button28.Location = new System.Drawing.Point(327, 3);
this.button28.Name = "button28";
this.button28.ShowArrow = true;
this.button28.Size = new System.Drawing.Size(75, 32);
this.button28.TabIndex = 11;
this.button28.Text = "搜索";
this.button28.Type = AntdUI.TTypeMini.Primary;
this.button28.WaveSize = 0;
//
// button27
//
this.button27.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button27.Ghost = true;
this.button27.ImageSvg = resources.GetString("button27.ImageSvg");
this.button27.Location = new System.Drawing.Point(246, 3);
this.button27.Name = "button27";
this.button27.ShowArrow = true;
this.button27.Size = new System.Drawing.Size(75, 32);
this.button27.TabIndex = 10;
this.button27.Text = "搜索";
this.button27.Type = AntdUI.TTypeMini.Primary;
this.button27.WaveSize = 0;
//
// button26
//
this.button26.BorderWidth = 2F;
this.button26.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button26.Ghost = true;
this.button26.Location = new System.Drawing.Point(165, 3);
this.button26.Name = "button26";
this.button26.ShowArrow = true;
this.button26.Size = new System.Drawing.Size(75, 32);
this.button26.TabIndex = 9;
this.button26.Text = "Primary";
this.button26.Type = AntdUI.TTypeMini.Primary;
this.button26.WaveSize = 0;
//
// button25
//
this.button25.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button25.Ghost = true;
this.button25.Location = new System.Drawing.Point(84, 3);
this.button25.Name = "button25";
this.button25.ShowArrow = true;
this.button25.Size = new System.Drawing.Size(75, 32);
this.button25.TabIndex = 8;
this.button25.Text = "Primary";
this.button25.Type = AntdUI.TTypeMini.Primary;
this.button25.WaveSize = 0;
//
// button29
//
this.button29.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button29.Location = new System.Drawing.Point(3, 3);
this.button29.Name = "button29";
this.button29.ShowArrow = true;
this.button29.Size = new System.Drawing.Size(75, 32);
this.button29.TabIndex = 7;
this.button29.Text = "Primary";
this.button29.Type = AntdUI.TTypeMini.Primary;
this.button29.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(3, 393);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(718, 24);
this.label7.TabIndex = 13;
this.label7.Text = "分割按钮";
//
// flowPanel4
//
this.flowPanel4.Controls.Add(this.button21);
this.flowPanel4.Controls.Add(this.button22);
this.flowPanel4.Controls.Add(this.button19);
this.flowPanel4.Controls.Add(this.button20);
this.flowPanel4.Controls.Add(this.button23);
this.flowPanel4.Controls.Add(this.button24);
this.flowPanel4.Location = new System.Drawing.Point(3, 349);
this.flowPanel4.Name = "flowPanel4";
this.flowPanel4.Size = new System.Drawing.Size(718, 38);
this.flowPanel4.TabIndex = 12;
this.flowPanel4.Text = "flowPanel4";
//
// button21
//
this.button21.BorderWidth = 2F;
this.button21.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button21.Ghost = true;
this.button21.ImageSvg = resources.GetString("button21.ImageSvg");
this.button21.Location = new System.Drawing.Point(279, 3);
this.button21.Name = "button21";
this.button21.Size = new System.Drawing.Size(75, 32);
this.button21.TabIndex = 5;
this.button21.Text = "搜索";
this.button21.Type = AntdUI.TTypeMini.Primary;
this.button21.WaveSize = 0;
//
// button22
//
this.button22.BorderWidth = 2F;
this.button22.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button22.Ghost = true;
this.button22.ImageSvg = resources.GetString("button22.ImageSvg");
this.button22.Location = new System.Drawing.Point(241, 3);
this.button22.Name = "button22";
this.button22.Shape = AntdUI.TShape.Circle;
this.button22.Size = new System.Drawing.Size(32, 32);
this.button22.TabIndex = 4;
this.button22.Type = AntdUI.TTypeMini.Primary;
this.button22.WaveSize = 0;
//
// button19
//
this.button19.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button19.Ghost = true;
this.button19.ImageSvg = resources.GetString("button19.ImageSvg");
this.button19.Location = new System.Drawing.Point(160, 3);
this.button19.Name = "button19";
this.button19.Size = new System.Drawing.Size(75, 32);
this.button19.TabIndex = 3;
this.button19.Text = "搜索";
this.button19.Type = AntdUI.TTypeMini.Primary;
this.button19.WaveSize = 0;
//
// button20
//
this.button20.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button20.Ghost = true;
this.button20.ImageSvg = resources.GetString("button20.ImageSvg");
this.button20.Location = new System.Drawing.Point(122, 3);
this.button20.Name = "button20";
this.button20.Shape = AntdUI.TShape.Circle;
this.button20.Size = new System.Drawing.Size(32, 32);
this.button20.TabIndex = 2;
this.button20.Type = AntdUI.TTypeMini.Primary;
this.button20.WaveSize = 0;
//
// button23
//
this.button23.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button23.ImageSvg = resources.GetString("button23.ImageSvg");
this.button23.Location = new System.Drawing.Point(41, 3);
this.button23.Name = "button23";
this.button23.Size = new System.Drawing.Size(75, 32);
this.button23.TabIndex = 1;
this.button23.Text = "搜索";
this.button23.WaveSize = 0;
//
// button24
//
this.button24.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button24.ImageSvg = resources.GetString("button24.ImageSvg");
this.button24.Location = new System.Drawing.Point(3, 3);
this.button24.Name = "button24";
this.button24.Shape = AntdUI.TShape.Circle;
this.button24.Size = new System.Drawing.Size(32, 32);
this.button24.TabIndex = 0;
this.button24.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(3, 319);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(718, 24);
this.label6.TabIndex = 11;
this.label6.Text = "图标按钮";
//
// flowPanel3
//
this.flowPanel3.Controls.Add(this.button13);
this.flowPanel3.Controls.Add(this.button14);
this.flowPanel3.Controls.Add(this.button15);
this.flowPanel3.Controls.Add(this.button16);
this.flowPanel3.Controls.Add(this.button17);
this.flowPanel3.Controls.Add(this.button18);
this.flowPanel3.Location = new System.Drawing.Point(3, 275);
this.flowPanel3.Name = "flowPanel3";
this.flowPanel3.Size = new System.Drawing.Size(718, 38);
this.flowPanel3.TabIndex = 10;
this.flowPanel3.Text = "flowPanel3";
//
// button13
//
this.button13.BorderWidth = 2F;
this.button13.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button13.Ghost = true;
this.button13.Location = new System.Drawing.Point(408, 3);
this.button13.Name = "button13";
this.button13.Size = new System.Drawing.Size(75, 32);
this.button13.TabIndex = 5;
this.button13.Text = "Info";
this.button13.Type = AntdUI.TTypeMini.Info;
this.button13.WaveSize = 0;
//
// button14
//
this.button14.BorderWidth = 2F;
this.button14.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button14.Ghost = true;
this.button14.Location = new System.Drawing.Point(327, 3);
this.button14.Name = "button14";
this.button14.Size = new System.Drawing.Size(75, 32);
this.button14.TabIndex = 4;
this.button14.Text = "Error";
this.button14.Type = AntdUI.TTypeMini.Error;
this.button14.WaveSize = 0;
//
// button15
//
this.button15.BorderWidth = 2F;
this.button15.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button15.Ghost = true;
this.button15.Location = new System.Drawing.Point(246, 3);
this.button15.Name = "button15";
this.button15.Size = new System.Drawing.Size(75, 32);
this.button15.TabIndex = 3;
this.button15.Text = "Warn";
this.button15.Type = AntdUI.TTypeMini.Warn;
this.button15.WaveSize = 0;
//
// button16
//
this.button16.BorderWidth = 2F;
this.button16.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button16.Ghost = true;
this.button16.Location = new System.Drawing.Point(165, 3);
this.button16.Name = "button16";
this.button16.Size = new System.Drawing.Size(75, 32);
this.button16.TabIndex = 2;
this.button16.Text = "Success";
this.button16.Type = AntdUI.TTypeMini.Success;
this.button16.WaveSize = 0;
//
// button17
//
this.button17.BorderWidth = 2F;
this.button17.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button17.Ghost = true;
this.button17.Location = new System.Drawing.Point(84, 3);
this.button17.Name = "button17";
this.button17.Size = new System.Drawing.Size(75, 32);
this.button17.TabIndex = 1;
this.button17.Text = "Primary";
this.button17.Type = AntdUI.TTypeMini.Primary;
this.button17.WaveSize = 0;
//
// button18
//
this.button18.BorderWidth = 2F;
this.button18.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button18.Ghost = true;
this.button18.Location = new System.Drawing.Point(3, 3);
this.button18.Name = "button18";
this.button18.Size = new System.Drawing.Size(75, 32);
this.button18.TabIndex = 0;
this.button18.Text = "Default";
this.button18.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, 245);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(718, 24);
this.label5.TabIndex = 9;
this.label5.Text = "文本按钮(带边框)";
//
// flowPanel2
//
this.flowPanel2.Controls.Add(this.button7);
this.flowPanel2.Controls.Add(this.button8);
this.flowPanel2.Controls.Add(this.button9);
this.flowPanel2.Controls.Add(this.button10);
this.flowPanel2.Controls.Add(this.button11);
this.flowPanel2.Controls.Add(this.button12);
this.flowPanel2.Location = new System.Drawing.Point(3, 201);
this.flowPanel2.Name = "flowPanel2";
this.flowPanel2.Size = new System.Drawing.Size(718, 38);
this.flowPanel2.TabIndex = 8;
this.flowPanel2.Text = "flowPanel2";
//
// button7
//
this.button7.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button7.Ghost = true;
this.button7.Location = new System.Drawing.Point(408, 3);
this.button7.Name = "button7";
this.button7.Size = new System.Drawing.Size(75, 32);
this.button7.TabIndex = 5;
this.button7.Text = "Info";
this.button7.Type = AntdUI.TTypeMini.Info;
this.button7.WaveSize = 0;
//
// button8
//
this.button8.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button8.Ghost = true;
this.button8.Location = new System.Drawing.Point(327, 3);
this.button8.Name = "button8";
this.button8.Size = new System.Drawing.Size(75, 32);
this.button8.TabIndex = 4;
this.button8.Text = "Error";
this.button8.Type = AntdUI.TTypeMini.Error;
this.button8.WaveSize = 0;
//
// button9
//
this.button9.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button9.Ghost = true;
this.button9.Location = new System.Drawing.Point(246, 3);
this.button9.Name = "button9";
this.button9.Size = new System.Drawing.Size(75, 32);
this.button9.TabIndex = 3;
this.button9.Text = "Warn";
this.button9.Type = AntdUI.TTypeMini.Warn;
this.button9.WaveSize = 0;
//
// button10
//
this.button10.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button10.Ghost = true;
this.button10.Location = new System.Drawing.Point(165, 3);
this.button10.Name = "button10";
this.button10.Size = new System.Drawing.Size(75, 32);
this.button10.TabIndex = 2;
this.button10.Text = "Success";
this.button10.Type = AntdUI.TTypeMini.Success;
this.button10.WaveSize = 0;
//
// button11
//
this.button11.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button11.Ghost = true;
this.button11.Location = new System.Drawing.Point(84, 3);
this.button11.Name = "button11";
this.button11.Size = new System.Drawing.Size(75, 32);
this.button11.TabIndex = 1;
this.button11.Text = "Primary";
this.button11.Type = AntdUI.TTypeMini.Primary;
this.button11.WaveSize = 0;
//
// button12
//
this.button12.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button12.Ghost = true;
this.button12.Location = new System.Drawing.Point(3, 3);
this.button12.Name = "button12";
this.button12.Size = new System.Drawing.Size(75, 32);
this.button12.TabIndex = 0;
this.button12.Text = "Default";
this.button12.WaveSize = 0;
//
// label4
//
this.label4.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label4.Location = new System.Drawing.Point(3, 171);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(718, 24);
this.label4.TabIndex = 7;
this.label4.Text = "文本按钮";
//
// flowPanel1
//
this.flowPanel1.Controls.Add(this.button6);
this.flowPanel1.Controls.Add(this.button5);
this.flowPanel1.Controls.Add(this.button4);
this.flowPanel1.Controls.Add(this.button3);
this.flowPanel1.Controls.Add(this.button2);
this.flowPanel1.Controls.Add(this.button1);
this.flowPanel1.Location = new System.Drawing.Point(3, 127);
this.flowPanel1.Name = "flowPanel1";
this.flowPanel1.Size = new System.Drawing.Size(718, 38);
this.flowPanel1.TabIndex = 6;
this.flowPanel1.Text = "flowPanel1";
//
// button6
//
this.button6.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button6.Location = new System.Drawing.Point(408, 3);
this.button6.Name = "button6";
this.button6.Size = new System.Drawing.Size(75, 32);
this.button6.TabIndex = 5;
this.button6.Text = "Info";
this.button6.Type = AntdUI.TTypeMini.Info;
this.button6.WaveSize = 0;
//
// button5
//
this.button5.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button5.Location = new System.Drawing.Point(327, 3);
this.button5.Name = "button5";
this.button5.Size = new System.Drawing.Size(75, 32);
this.button5.TabIndex = 4;
this.button5.Text = "Error";
this.button5.Type = AntdUI.TTypeMini.Error;
this.button5.WaveSize = 0;
//
// button4
//
this.button4.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button4.Location = new System.Drawing.Point(246, 3);
this.button4.Name = "button4";
this.button4.Size = new System.Drawing.Size(75, 32);
this.button4.TabIndex = 3;
this.button4.Text = "Warn";
this.button4.Type = AntdUI.TTypeMini.Warn;
this.button4.WaveSize = 0;
//
// button3
//
this.button3.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button3.Location = new System.Drawing.Point(165, 3);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(75, 32);
this.button3.TabIndex = 2;
this.button3.Text = "Success";
this.button3.Type = AntdUI.TTypeMini.Success;
this.button3.WaveSize = 0;
//
// button2
//
this.button2.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button2.Location = new System.Drawing.Point(84, 3);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(75, 32);
this.button2.TabIndex = 1;
this.button2.Text = "Primary";
this.button2.Type = AntdUI.TTypeMini.Primary;
this.button2.WaveSize = 0;
//
// button1
//
this.button1.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button1.Location = new System.Drawing.Point(3, 3);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(75, 32);
this.button1.TabIndex = 0;
this.button1.Text = "Default";
this.button1.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, 97);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(718, 24);
this.label3.TabIndex = 5;
this.label3.Text = "按钮类型";
//
// divider1
//
this.divider1.Location = new System.Drawing.Point(3, 79);
this.divider1.Name = "divider1";
this.divider1.Size = new System.Drawing.Size(718, 12);
this.divider1.TabIndex = 4;
//
// 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(718, 24);
this.label2.TabIndex = 1;
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(718, 40);
this.label1.TabIndex = 0;
this.label1.Text = "Button 按钮";
//
// flowPanel7
//
this.flowPanel7.Controls.Add(this.button39);
this.flowPanel7.Location = new System.Drawing.Point(3, 571);
this.flowPanel7.Name = "flowPanel7";
this.flowPanel7.Size = new System.Drawing.Size(718, 38);
this.flowPanel7.TabIndex = 18;
this.flowPanel7.Text = "flowPanel7";
//
// button39
//
this.button39.BackExtend = "135, #6253E1, #04BEFE";
this.button39.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button39.ImageSvg = resources.GetString("button39.ImageSvg");
this.button39.Location = new System.Drawing.Point(3, 3);
this.button39.Name = "button39";
this.button39.Size = new System.Drawing.Size(156, 32);
this.button39.TabIndex = 7;
this.button39.Text = "Gradient Button";
this.button39.Type = AntdUI.TTypeMini.Primary;
this.button39.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, 541);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(718, 24);
this.label9.TabIndex = 17;
this.label9.Text = "渐变按钮";
//
// ButtonDemo
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.stackPanel1);
this.Name = "ButtonDemo";
this.Size = new System.Drawing.Size(724, 629);
this.stackPanel1.ResumeLayout(false);
this.flowPanel6.ResumeLayout(false);
this.panel3.ResumeLayout(false);
this.panel2.ResumeLayout(false);
this.flowPanel5.ResumeLayout(false);
this.flowPanel4.ResumeLayout(false);
this.flowPanel3.ResumeLayout(false);
this.flowPanel2.ResumeLayout(false);
this.flowPanel1.ResumeLayout(false);
this.flowPanel7.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private AntdUI.StackPanel stackPanel1;
private AntdUI.Label label2;
private AntdUI.Label label1;
private AntdUI.FlowPanel flowPanel1;
private AntdUI.Button button6;
private AntdUI.Button button5;
private AntdUI.Button button4;
private AntdUI.Button button3;
private AntdUI.Button button2;
private AntdUI.Button button1;
private AntdUI.Label label3;
private AntdUI.Divider divider1;
private AntdUI.FlowPanel flowPanel2;
private AntdUI.Button button7;
private AntdUI.Button button8;
private AntdUI.Button button9;
private AntdUI.Button button10;
private AntdUI.Button button11;
private AntdUI.Button button12;
private AntdUI.Label label4;
private AntdUI.FlowPanel flowPanel3;
private AntdUI.Button button13;
private AntdUI.Button button14;
private AntdUI.Button button15;
private AntdUI.Button button16;
private AntdUI.Button button17;
private AntdUI.Button button18;
private AntdUI.Label label5;
private AntdUI.FlowPanel flowPanel4;
private AntdUI.Button button23;
private AntdUI.Button button24;
private AntdUI.Label label6;
private AntdUI.Button button19;
private AntdUI.Button button20;
private AntdUI.Button button21;
private AntdUI.Button button22;
private AntdUI.FlowPanel flowPanel5;
private AntdUI.Label label7;
private AntdUI.Button button29;
private AntdUI.Button button26;
private AntdUI.Button button25;
private AntdUI.Button button28;
private AntdUI.Button button27;
private AntdUI.FlowPanel flowPanel6;
private AntdUI.Label label8;
private AntdUI.Panel panel3;
private AntdUI.Button button36;
private AntdUI.Button button37;
private AntdUI.Panel panel2;
private AntdUI.Button button33;
private AntdUI.Button button34;
private AntdUI.Button button35;
private AntdUI.FlowPanel flowPanel7;
private AntdUI.Button button39;
private AntdUI.Label label9;
}
}

20
Views/ButtonDemo.cs Normal file
View File

@ -0,0 +1,20 @@
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
{
public partial class ButtonDemo : UserControl
{
public ButtonDemo()
{
InitializeComponent();
}
}
}

153
Views/ButtonDemo.resx Normal file
View File

@ -0,0 +1,153 @@
<?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>
<data name="button34.ImageSvg" xml:space="preserve">
<value>&lt;svg viewBox="64 64 896 896" focusable="false" data-icon="poweroff" width="1em" height="1em" fill="currentColor" aria-hidden="true"&gt;&lt;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"&gt;&lt;/path&gt;&lt;/svg&gt;</value>
</data>
<data name="button37.ImageSvg" xml:space="preserve">
<value>&lt;svg viewBox="64 64 896 896" focusable="false" data-icon="search" width="1em" height="1em" fill="currentColor" aria-hidden="true"&gt;&lt;path d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"&gt;&lt;/path&gt;&lt;/svg&gt;</value>
</data>
<data name="button28.ImageSvg" xml:space="preserve">
<value>&lt;svg viewBox="64 64 896 896" focusable="false" data-icon="search" width="1em" height="1em" fill="currentColor" aria-hidden="true"&gt;&lt;path d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"&gt;&lt;/path&gt;&lt;/svg&gt;</value>
</data>
<data name="button27.ImageSvg" xml:space="preserve">
<value>&lt;svg viewBox="64 64 896 896" focusable="false" data-icon="search" width="1em" height="1em" fill="currentColor" aria-hidden="true"&gt;&lt;path d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"&gt;&lt;/path&gt;&lt;/svg&gt;</value>
</data>
<data name="button21.ImageSvg" xml:space="preserve">
<value>&lt;svg viewBox="64 64 896 896" focusable="false" data-icon="search" width="1em" height="1em" fill="currentColor" aria-hidden="true"&gt;&lt;path d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"&gt;&lt;/path&gt;&lt;/svg&gt;</value>
</data>
<data name="button22.ImageSvg" xml:space="preserve">
<value>&lt;svg viewBox="64 64 896 896" focusable="false" data-icon="poweroff" width="1em" height="1em" fill="currentColor" aria-hidden="true"&gt;&lt;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"&gt;&lt;/path&gt;&lt;/svg&gt;</value>
</data>
<data name="button19.ImageSvg" xml:space="preserve">
<value>&lt;svg viewBox="64 64 896 896" focusable="false" data-icon="search" width="1em" height="1em" fill="currentColor" aria-hidden="true"&gt;&lt;path d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"&gt;&lt;/path&gt;&lt;/svg&gt;</value>
</data>
<data name="button20.ImageSvg" xml:space="preserve">
<value>&lt;svg viewBox="64 64 896 896" focusable="false" data-icon="poweroff" width="1em" height="1em" fill="currentColor" aria-hidden="true"&gt;&lt;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"&gt;&lt;/path&gt;&lt;/svg&gt;</value>
</data>
<data name="button23.ImageSvg" xml:space="preserve">
<value>&lt;svg viewBox="64 64 896 896" focusable="false" data-icon="search" width="1em" height="1em" fill="currentColor" aria-hidden="true"&gt;&lt;path d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"&gt;&lt;/path&gt;&lt;/svg&gt;</value>
</data>
<data name="button24.ImageSvg" xml:space="preserve">
<value>&lt;svg viewBox="64 64 896 896" focusable="false" data-icon="poweroff" width="1em" height="1em" fill="currentColor" aria-hidden="true"&gt;&lt;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"&gt;&lt;/path&gt;&lt;/svg&gt;</value>
</data>
<data name="button39.ImageSvg" xml:space="preserve">
<value>&lt;svg viewBox="64 64 896 896"&gt;&lt;path d="M716.3 313.8c19-18.9 19-49.7 0-68.6l-69.9-69.9.1.1c-18.5-18.5-50.3-50.3-95.3-95.2-21.2-20.7-55.5-20.5-76.5.5L80.9 474.2a53.84 53.84 0 000 76.4L474.6 944a54.14 54.14 0 0076.5 0l165.1-165c19-18.9 19-49.7 0-68.6a48.7 48.7 0 00-68.7 0l-125 125.2c-5.2 5.2-13.3 5.2-18.5 0L189.5 521.4c-5.2-5.2-5.2-13.3 0-18.5l314.4-314.2c.4-.4.9-.7 1.3-1.1 5.2-4.1 12.4-3.7 17.2 1.1l125.2 125.1c19 19 49.8 19 68.7 0zM408.6 514.4a106.3 106.2 0 10212.6 0 106.3 106.2 0 10-212.6 0zm536.2-38.6L821.9 353.5c-19-18.9-49.8-18.9-68.7.1a48.4 48.4 0 000 68.6l83 82.9c5.2 5.2 5.2 13.3 0 18.5l-81.8 81.7a48.4 48.4 0 000 68.6 48.7 48.7 0 0068.7 0l121.8-121.7a53.93 53.93 0 00-.1-76.4z"&gt;&lt;/path&gt;&lt;/svg&gt;</value>
</data>
</root>