🦄 Beautiful AntdUI

This commit is contained in:
Tom
2025-01-23 22:05:38 +08:00
parent 332bdb12db
commit cf4b4dcc10
12 changed files with 324 additions and 2 deletions

View File

@@ -45,11 +45,12 @@ Ant Design for WinForms, reimagines desktop app aesthetics with modern frontend
➡️| [**Button**](doc/wiki/en/Control/Button.md) | ✅ | ✅ |
➡️| [**FloatButton**](doc/wiki/en/Control/FloatButton.md) | ✅ | ❎ |
||||
⬇️| Layout `4` | Animation | Disable |
⬇️| Layout `5` | Animation | Disable |
➡️| [**Divider**](doc/wiki/en/Control/Divider.md) | ❎ | ❎ |
➡️| [**StackPanel**](doc/wiki/en/Control/StackPanel.md) | ❎ | ❎ |
➡️| [**FlowPanel**](doc/wiki/en/Control/FlowPanel.md) | ❎ | ❎ |
➡️| [**GridPanel**](doc/wiki/en/Control/GridPanel.md) | ❎ | ❎ |
➡️| [**Splitter**](doc/wiki/zh/Control/Splitter.md) | ❎ | ❎ |
||||
⬇️| Navigation `6` | Animation | Disable |
➡️| [**Breadcrumb**](doc/wiki/en/Control/Breadcrumb.md) | ✅ | ❎ |

View File

@@ -46,11 +46,12 @@
➡️| [**Button** 按钮](doc/wiki/zh/Control/Button.md) | ✅ | ✅ |
➡️| [**FloatButton** 悬浮按钮](doc/wiki/zh/Control/FloatButton.md) | ✅ | ❎ |
||||
⬇️| 布局 `4` | 动画 | 禁用 |
⬇️| 布局 `5` | 动画 | 禁用 |
➡️| [**Divider** 分割线](doc/wiki/zh/Control/Divider.md) | ❎ | ❎ |
➡️| [**StackPanel** 堆栈布局](doc/wiki/zh/Control/StackPanel.md) | ❎ | ❎ |
➡️| [**FlowPanel** 流动布局](doc/wiki/zh/Control/FlowPanel.md) | ❎ | ❎ |
➡️| [**GridPanel** 格栅布局](doc/wiki/zh/Control/GridPanel.md) | ❎ | ❎ |
➡️| [**Splitter** 分隔面板](doc/wiki/zh/Control/Splitter.md) | ❎ | ❎ |
||||
⬇️| 导航 `6` | 动画 | 禁用 |
➡️| [**Breadcrumb** 面包屑](doc/wiki/zh/Control/Breadcrumb.md) | ✅ | ❎ |

137
example/Demo/Controls/Splitter.Designer.cs generated Normal file
View File

@@ -0,0 +1,137 @@
// COPYRIGHT (C) Tom. ALL RIGHTS RESERVED.
// THE AntdUI PROJECT IS AN WINFORM LIBRARY LICENSED UNDER THE Apache-2.0 License.
// LICENSED UNDER THE Apache License, VERSION 2.0 (THE "License")
// YOU MAY NOT USE THIS FILE EXCEPT IN COMPLIANCE WITH THE License.
// YOU MAY OBTAIN A COPY OF THE LICENSE AT
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING, SOFTWARE
// DISTRIBUTED UNDER THE LICENSE IS DISTRIBUTED ON AN "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
// SEE THE LICENSE FOR THE SPECIFIC LANGUAGE GOVERNING PERMISSIONS AND
// LIMITATIONS UNDER THE License.
// GITEE: https://gitee.com/antdui/AntdUI
// GITHUB: https://github.com/AntdUI/AntdUI
// CSDN: https://blog.csdn.net/v_132
// QQ: 17379620
using System.Drawing;
using System.Windows.Forms;
namespace Demo.Controls
{
partial class Splitter
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
header1 = new AntdUI.PageHeader();
splitter1 = new AntdUI.Splitter();
label1 = new AntdUI.Label();
label2 = new AntdUI.Label();
((System.ComponentModel.ISupportInitialize)splitter1).BeginInit();
splitter1.Panel1.SuspendLayout();
splitter1.Panel2.SuspendLayout();
splitter1.SuspendLayout();
SuspendLayout();
//
// header1
//
header1.Description = "自由切分指定区域。";
header1.Dock = DockStyle.Top;
header1.Font = new Font("Microsoft YaHei UI", 12F);
header1.LocalizationDescription = "Splitter.Description";
header1.LocalizationText = "Splitter.Text";
header1.Location = new Point(0, 0);
header1.Name = "header1";
header1.Padding = new Padding(0, 0, 0, 10);
header1.Size = new Size(616, 74);
header1.TabIndex = 0;
header1.Text = "Splitter 分隔面板";
header1.UseTitleFont = true;
//
// splitter1
//
splitter1.Dock = DockStyle.Fill;
splitter1.Location = new Point(0, 74);
splitter1.Name = "splitter1";
//
// splitter1.Panel1
//
splitter1.Panel1.Controls.Add(label1);
//
// splitter1.Panel2
//
splitter1.Panel2.Controls.Add(label2);
splitter1.Size = new Size(616, 511);
splitter1.SplitterDistance = 293;
splitter1.SplitterWidth = 2;
splitter1.TabIndex = 1;
splitter1.Text = "button1";
//
// label1
//
label1.Dock = DockStyle.Fill;
label1.Location = new Point(0, 0);
label1.Name = "label1";
label1.Size = new Size(293, 511);
label1.TabIndex = 0;
label1.Text = "First";
label1.TextAlign = ContentAlignment.MiddleCenter;
//
// label2
//
label2.Dock = DockStyle.Fill;
label2.Location = new Point(0, 0);
label2.Name = "label2";
label2.Size = new Size(321, 511);
label2.TabIndex = 0;
label2.Text = "Second";
label2.TextAlign = ContentAlignment.MiddleCenter;
//
// Splitter
//
Controls.Add(splitter1);
Controls.Add(header1);
Font = new Font("Microsoft YaHei UI", 12F);
Name = "Splitter";
Size = new Size(616, 585);
splitter1.Panel1.ResumeLayout(false);
splitter1.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)splitter1).EndInit();
splitter1.ResumeLayout(false);
ResumeLayout(false);
}
#endregion
private AntdUI.PageHeader header1;
private AntdUI.Splitter splitter1;
private AntdUI.Label label1;
private AntdUI.Label label2;
}
}

View File

@@ -0,0 +1,32 @@
// COPYRIGHT (C) Tom. ALL RIGHTS RESERVED.
// THE AntdUI PROJECT IS AN WINFORM LIBRARY LICENSED UNDER THE Apache-2.0 License.
// LICENSED UNDER THE Apache License, VERSION 2.0 (THE "License")
// YOU MAY NOT USE THIS FILE EXCEPT IN COMPLIANCE WITH THE License.
// YOU MAY OBTAIN A COPY OF THE LICENSE AT
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING, SOFTWARE
// DISTRIBUTED UNDER THE LICENSE IS DISTRIBUTED ON AN "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
// SEE THE LICENSE FOR THE SPECIFIC LANGUAGE GOVERNING PERMISSIONS AND
// LIMITATIONS UNDER THE License.
// GITEE: https://gitee.com/antdui/AntdUI
// GITHUB: https://github.com/AntdUI/AntdUI
// CSDN: https://blog.csdn.net/v_132
// QQ: 17379620
using System.Windows.Forms;
namespace Demo.Controls
{
public partial class Splitter : UserControl
{
Form form;
public Splitter(Form _form)
{
form = _form;
InitializeComponent();
}
}
}

View 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>

View File

@@ -202,6 +202,12 @@ namespace Demo
case "GridPanel.Describe":
return "-The column width attribute is before, and the row height attribute is after; grouping. Each row represents the number of row height attributes corresponding to the number of rows, with spaces separating each number";
//Splitter ----------------------------
case "Splitter.Text":
return "Splitter";
case "Splitter.Description":
return "Split panels to isolate";
//Drawer ----------------------------
case "Drawer.Text":
return "Drawer";

Binary file not shown.

View File

@@ -366,6 +366,15 @@ namespace Demo {
}
}
/// <summary>
/// 查找类似 &lt;svg viewBox=&quot;0 0 160 112&quot; fill=&quot;none&quot;&gt;&lt;rect width=&quot;160&quot; height=&quot;112&quot; rx=&quot;4&quot; fill=&quot;#1668DC&quot; fill-opacity=&quot;0.2&quot;/&gt;&lt;path opacity=&quot;0.5&quot; d=&quot;M10 12C10 10.8954 10.8954 10 12 10H56V102H12C10.8954 102 10 101.105 10 100V12Z&quot; fill=&quot;#1668DC&quot; fill-opacity=&quot;0.8&quot;/&gt;&lt;rect opacity=&quot;0.5&quot; x=&quot;57&quot; y=&quot;10&quot; width=&quot;46&quot; height=&quot;92&quot; fill=&quot;#1668DC&quot; fill-opacity=&quot;0.8&quot;/&gt;&lt;path opacity=&quot;0.5&quot; d=&quot;M104 10H148C149.105 10 150 10.8954 150 12V100C150 101.105 149.105 102 148 102H104V10Z&quot; fill=&quot;#1668DC&quot; fill-opacity=&quot;0.8&quot;/&gt;&lt;path d=&quot;M55.625 49H57.37 [字符串的其余部分被截断]&quot;; 的本地化字符串。
/// </summary>
internal static string Splitter {
get {
return ResourceManager.GetString("Splitter", resourceCulture);
}
}
/// <summary>
/// 查找类似 &lt;svg viewBox=&quot;0 0 108 116&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g id=&quot;组件骨架图更新&quot; stroke=&quot;none&quot; stroke-width=&quot;1&quot; fill=&quot;none&quot; fill-rule=&quot;evenodd&quot;&gt;&lt;g id=&quot;🎉-5.0-新版---黑&quot; transform=&quot;translate(-566.000000, -1360.000000)&quot;&gt;&lt;g id=&quot;Steps&quot; transform=&quot;translate(566.000000, 1360.400000)&quot;&gt;&lt;g id=&quot;导航/Steps步骤条/Light/小-垂直-带描述-完成项&quot;&gt;&lt;text id=&quot;Finished&quot; font-family=&quot;PingFangSC-Regular, PingFang SC&quot; font-size=&quot;9.60000038&quot; font-weight=&quot;normal&quot; line-spacing=&quot;14.4&quot; fill=&quot;#FFFFFF&quot; fill-opacity=&quot;0.88&quot;&gt;&lt;tspan x=&quot;19.2&quot; y=&quot;10&quot;&gt;Fini [字符串的其余部分被截断]&quot;; 的本地化字符串。
/// </summary>

View File

@@ -219,6 +219,9 @@
<data name="Slider" xml:space="preserve">
<value>&lt;svg viewBox="0 0 150 14" xmlns:xlink="http://www.w3.org/1999/xlink"&gt;&lt;g id="组件骨架图更新" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"&gt;&lt;g id="🎉-5.0-新版---黑" transform="translate(-1270.000000, -2228.000000)"&gt;&lt;g id="Silder" transform="translate(1270.000000, 2228.000000)"&gt;&lt;rect id="Rectangle-20" fill-opacity="0.08" fill="#FFFFFF" x="0" y="5" width="150" height="4" rx="2"&gt;&lt;/rect&gt;&lt;path d="M1,7 C1,5.8954305 1.89453347,5 3.00606883,5 L73.9939312,5 C75.1018524,5 76,5.88772964 76,7 L76,7 C76,8.1045695 75.1054665,9 73.9939312,9 L3.00606883,9 C1.89814761,9 1,8.11227036 1,7 L1,7 Z" id="Rectangle-20-Copy-3" fill="#1677FF" fill-rule="nonzero"&gt;&lt;/path&gt;&lt;circle id="Oval" stroke="#1677FF" stroke-width="3" fill="#141414" cx="81" cy="7" r="5.5"&gt;&lt;/circle&gt;&lt;/g&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;</value>
</data>
<data name="Splitter" xml:space="preserve">
<value>&lt;svg viewBox="0 0 160 112" fill="none"&gt;&lt;rect width="160" height="112" rx="4" fill="#1668DC" fill-opacity="0.2"/&gt;&lt;path opacity="0.5" d="M10 12C10 10.8954 10.8954 10 12 10H56V102H12C10.8954 102 10 101.105 10 100V12Z" fill="#1668DC" fill-opacity="0.8"/&gt;&lt;rect opacity="0.5" x="57" y="10" width="46" height="92" fill="#1668DC" fill-opacity="0.8"/&gt;&lt;path opacity="0.5" d="M104 10H148C149.105 10 150 10.8954 150 12V100C150 101.105 149.105 102 148 102H104V10Z" fill="#1668DC" fill-opacity="0.8"/&gt;&lt;path d="M55.625 49H57.375V63H55.625V49ZM52.125 53.375L49.5 56L52.125 58.625V56.875H54.75V55.125H52.125V53.375ZM63.5 56L60.875 53.375V55.125H58.25V56.875H60.875V58.625L63.5 56Z" fill="#ffffff"/&gt;&lt;path d="M102.625 49H104.375V63H102.625V49ZM99.125 53.375L96.5 56L99.125 58.625V56.875H101.75V55.125H99.125V53.375ZM110.5 56L107.875 53.375V55.125H105.25V56.875H107.875V58.625L110.5 56Z" fill="#ffffff"/&gt;&lt;/svg&gt;</value>
</data>
<data name="Steps" xml:space="preserve">
<value>&lt;svg viewBox="0 0 108 116" xmlns:xlink="http://www.w3.org/1999/xlink"&gt;&lt;g id="组件骨架图更新" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"&gt;&lt;g id="🎉-5.0-新版---黑" transform="translate(-566.000000, -1360.000000)"&gt;&lt;g id="Steps" transform="translate(566.000000, 1360.400000)"&gt;&lt;g id="导航/Steps步骤条/Light/小-垂直-带描述-完成项"&gt;&lt;text id="Finished" font-family="PingFangSC-Regular, PingFang SC" font-size="9.60000038" font-weight="normal" line-spacing="14.4" fill="#FFFFFF" fill-opacity="0.88"&gt;&lt;tspan x="19.2" y="10"&gt;Finished&lt;/tspan&gt;&lt;/text&gt;&lt;text id="这里是描述文案" font-family="PingFangSC-Regular, PingFang SC" font-size="8.39999962" font-weight="normal" line-spacing="13.2" fill="#FFFFFF" fill-opacity="0.45"&gt;&lt;tspan x="19.2" y="26.4"&gt;This is a description&lt;/tspan&gt;&lt;/text&gt;&lt;g id="Icon/Steps-Finished" transform="translate(0.000000, 0.600000)"&gt;&lt;circle id="椭圆形" stroke="#167CDB" cx="7.2" cy="7.2" r="6.7"&gt;&lt;/circle&gt;&lt;g id="check-outlined" transform="translate(3.600000, 3.600000)" fill="#1677FF" fill-rule="nonzero"&gt;&lt;rect id="矩形" opacity="0" x="0" y="0" width="7.2" height="7.2"&gt;&lt;/rect&gt;&lt;path d="M6.4125,1.3359375 L5.92101562,1.3359375 C5.85210937,1.3359375 5.78671875,1.36757813 5.74453125,1.42171875 L2.84554687,5.09414062 L1.45546875,3.3328125 C1.41257812,3.27867187 1.34789062,3.24703125 1.27898437,3.24703125 L0.7875,3.24703125 C0.740390625,3.24703125 0.714375,3.30117187 0.743203125,3.33773437 L2.6690625,5.77757812 C2.7590625,5.89148438 2.93203125,5.89148438 3.02273437,5.77757812 L6.45679687,1.4259375 C6.485625,1.39007813 6.45960937,1.3359375 6.4125,1.3359375 Z" id="路径"&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;g id="导航/Steps步骤条/Light/垂直分割线" transform="translate(7.200000, 19.800000)" fill="#FFFFFF" fill-opacity="0.15"&gt;&lt;rect id="Divider" x="0" y="0" width="1" height="19.2"&gt;&lt;/rect&gt;&lt;/g&gt;&lt;/g&gt;&lt;g id="导航/Steps步骤条/Light/小-垂直-带描述-当前项" transform="translate(0.000000, 43.643478)"&gt;&lt;text id="Finished" font-family="PingFangSC-Medium, PingFang SC" font-size="5.03999977" font-weight="400" line-spacing="13.2" fill="#FFFFFF" fill-opacity="0.88"&gt;&lt;tspan x="19.2" y="5"&gt;In Progress&lt;/tspan&gt;&lt;/text&gt;&lt;text id="这里是描述文案" font-family="PingFangSC-Regular, PingFang SC" font-size="5.03999977" font-weight="normal" line-spacing="13.2" fill="#FFFFFF" fill-opacity="0.45"&gt;&lt;tspan x="19.2" y="20.6"&gt;This is a description&lt;/tspan&gt;&lt;/text&gt;&lt;g id="导航/Steps步骤条/Light/垂直分割线" transform="translate(7.200000, 19.200000)" fill="#FFFFFF" fill-opacity="0.15"&gt;&lt;rect id="Divider" x="0" y="0" width="1" height="19.2"&gt;&lt;/rect&gt;&lt;/g&gt;&lt;g id="Icon/Steps-Active"&gt;&lt;circle id="Active" fill="#1677FF" cx="7.2" cy="7.2" r="7.2"&gt;&lt;/circle&gt;&lt;text id="Number" font-family="PingFangSC-Regular, PingFang SC" font-size="8.4" font-weight="normal" line-spacing="13.2" fill="#FFFFFF"&gt;&lt;tspan x="4.68" y="9.6"&gt;2&lt;/tspan&gt;&lt;/text&gt;&lt;/g&gt;&lt;/g&gt;&lt;text id="Finished" font-family="PingFangSC-Regular, PingFang SC" font-size="8.39999962" font-weight="normal" line-spacing="13.2" fill="#FFFFFF" fill-opacity="0.45"&gt;&lt;tspan x="19.2" y="95.6869565"&gt;Waiting&lt;/tspan&gt;&lt;/text&gt;&lt;text id="这里是描述文案" font-family="PingFangSC-Regular, PingFang SC" font-size="8.39999962" font-weight="normal" line-spacing="13.2" fill="#FFFFFF" fill-opacity="0.45"&gt;&lt;tspan x="19.2" y="111.286957"&gt;This is a description&lt;/tspan&gt;&lt;/text&gt;&lt;g id="Icon/Steps-Normal" transform="translate(0.000000, 86.686957)"&gt;&lt;circle id="椭圆形" stroke-opacity="0.2" stroke="#FFFFFF" cx="7.2" cy="7.2" r="6.7"&gt;&lt;/circle&gt;&lt;text id="↳-Number" font-family="PingFangSC-Regular, PingFang SC" font-size="8.39999962" font-weight="normal" line-spacing="13.2" fill="#FFFFFF" fill-opacity="0.45"&gt;&lt;tspan x="5" y="9.6"&gt;3&lt;/tspan&gt;&lt;/text&gt;&lt;/g&gt;&lt;/g&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;</value>
</data>

View File

@@ -366,6 +366,15 @@ namespace Demo {
}
}
/// <summary>
/// 查找类似 &lt;svg viewBox=&quot;0 0 160 112&quot;&gt;&lt;rect width=&quot;160&quot; height=&quot;112&quot; rx=&quot;4&quot; fill=&quot;#1668DC&quot; fill-opacity=&quot;0.1&quot;/&gt;&lt;path d=&quot;M10 12C10 10.8954 10.8954 10 12 10H56V102H12C10.8954 102 10 101.105 10 100V12Z&quot; fill=&quot;#ffffff&quot;/&gt;&lt;rect x=&quot;57&quot; y=&quot;10&quot; width=&quot;46&quot; height=&quot;92&quot; fill=&quot;#ffffff&quot;/&gt;&lt;path d=&quot;M104 10H148C149.105 10 150 10.8954 150 12V100C150 101.105 149.105 102 148 102H104V10Z&quot; fill=&quot;#ffffff&quot;/&gt;&lt;path d=&quot;M55.625 49H57.375V63H55.625V49ZM52.125 53.375L49.5 56L52.125 58.625V56.875H54.75V55.125H52.125V53.375ZM63.5 56L60.875 53.375V55 [字符串的其余部分被截断]&quot;; 的本地化字符串。
/// </summary>
internal static string Splitter {
get {
return ResourceManager.GetString("Splitter", resourceCulture);
}
}
/// <summary>
/// 查找类似 &lt;svg viewBox=&quot;0 0 108 116&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g id=&quot;组件骨架图更新&quot; stroke=&quot;none&quot; stroke-width=&quot;1&quot; fill=&quot;none&quot; fill-rule=&quot;evenodd&quot;&gt;&lt;g id=&quot;🎉-5.0-新版&quot; transform=&quot;translate(-566.000000, -1360.000000)&quot;&gt;&lt;g id=&quot;小-垂直-带描述&quot; transform=&quot;translate(566.000000, 1361.000000)&quot;&gt;&lt;g id=&quot;导航/Steps步骤条/Light/小-垂直-带描述-完成项&quot; transform=&quot;translate(0.000000, -0.600000)&quot;&gt;&lt;text id=&quot;Finished&quot; font-family=&quot;PingFangSC-Regular, PingFang SC&quot; font-size=&quot;9.6&quot; font-weight=&quot;normal&quot; line-spacing=&quot;14.4&quot; fill=&quot;#000000&quot; fill-opacity [字符串的其余部分被截断]&quot;; 的本地化字符串。
/// </summary>

View File

@@ -219,6 +219,9 @@
<data name="Slider" xml:space="preserve">
<value>&lt;svg viewBox="0 0 150 14" xmlns:xlink="http://www.w3.org/1999/xlink"&gt;&lt;g id="组件骨架图更新" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"&gt;&lt;g id="🎉-5.0-新版" transform="translate(-1270.000000, -2228.000000)"&gt;&lt;g id="Silder" transform="translate(1270.000000, 2228.000000)"&gt;&lt;rect id="Rectangle-20" fill-opacity="0.04" fill="#000000" x="0" y="5" width="150" height="4" rx="2"&gt;&lt;/rect&gt;&lt;path d="M1,7 C1,5.8954305 1.89453347,5 3.00606883,5 L73.9939312,5 C75.1018524,5 76,5.88772964 76,7 L76,7 C76,8.1045695 75.1054665,9 73.9939312,9 L3.00606883,9 C1.89814761,9 1,8.11227036 1,7 L1,7 Z" id="Rectangle-20-Copy-3" fill="#1890FF" fill-rule="nonzero" opacity="0.45"&gt;&lt;/path&gt;&lt;g id="Group" transform="translate(74.000000, 0.000000)" fill-rule="nonzero"&gt;&lt;circle id="Oval" fill="#FFFFFF" cx="7" cy="7" r="7"&gt;&lt;/circle&gt;&lt;circle id="Oval-2" fill="#1890FF" opacity="0.45" cx="7" cy="7" r="7"&gt;&lt;/circle&gt;&lt;circle id="Oval-2" fill="#FFFFFF" cx="7" cy="7" r="5"&gt;&lt;/circle&gt;&lt;/g&gt;&lt;/g&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;</value>
</data>
<data name="Splitter" xml:space="preserve">
<value>&lt;svg viewBox="0 0 160 112"&gt;&lt;rect width="160" height="112" rx="4" fill="#1668DC" fill-opacity="0.1"/&gt;&lt;path d="M10 12C10 10.8954 10.8954 10 12 10H56V102H12C10.8954 102 10 101.105 10 100V12Z" fill="#ffffff"/&gt;&lt;rect x="57" y="10" width="46" height="92" fill="#ffffff"/&gt;&lt;path d="M104 10H148C149.105 10 150 10.8954 150 12V100C150 101.105 149.105 102 148 102H104V10Z" fill="#ffffff"/&gt;&lt;path d="M55.625 49H57.375V63H55.625V49ZM52.125 53.375L49.5 56L52.125 58.625V56.875H54.75V55.125H52.125V53.375ZM63.5 56L60.875 53.375V55.125H58.25V56.875H60.875V58.625L63.5 56Z" fill="#1668DC"/&gt;&lt;path d="M102.625 49H104.375V63H102.625V49ZM99.125 53.375L96.5 56L99.125 58.625V56.875H101.75V55.125H99.125V53.375ZM110.5 56L107.875 53.375V55.125H105.25V56.875H107.875V58.625L110.5 56Z" fill="#1668DC"/&gt;&lt;/svg&gt;</value>
</data>
<data name="Steps" xml:space="preserve">
<value>&lt;svg viewBox="0 0 108 116" xmlns:xlink="http://www.w3.org/1999/xlink"&gt;&lt;g id="组件骨架图更新" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"&gt;&lt;g id="🎉-5.0-新版" transform="translate(-566.000000, -1360.000000)"&gt;&lt;g id="小-垂直-带描述" transform="translate(566.000000, 1361.000000)"&gt;&lt;g id="导航/Steps步骤条/Light/小-垂直-带描述-完成项" transform="translate(0.000000, -0.600000)"&gt;&lt;text id="Finished" font-family="PingFangSC-Regular, PingFang SC" font-size="9.6" font-weight="normal" line-spacing="14.4" fill="#000000" fill-opacity="0.88"&gt;&lt;tspan x="19.2" y="10"&gt;Finished&lt;/tspan&gt;&lt;/text&gt;&lt;text id="这里是描述文案" font-family="PingFangSC-Regular, PingFang SC" font-size="8.4" font-weight="normal" line-spacing="13.2" fill="#000000" fill-opacity="0.45"&gt;&lt;tspan x="19.2" y="26.4"&gt;This is a description&lt;/tspan&gt;&lt;/text&gt;&lt;g id="Icon/Steps-Finished" transform="translate(0.000000, 0.600000)"&gt;&lt;circle id="椭圆形" fill="#E6F4FF" cx="7.2" cy="7.2" r="7.2"&gt;&lt;/circle&gt;&lt;g id="check-outlined" transform="translate(3.600000, 3.600000)" fill="#1677FF" fill-rule="nonzero"&gt;&lt;rect id="矩形" opacity="0" x="0" y="0" width="7.2" height="7.2"&gt;&lt;/rect&gt;&lt;path d="M6.4125,1.3359375 L5.92101562,1.3359375 C5.85210937,1.3359375 5.78671875,1.36757813 5.74453125,1.42171875 L2.84554687,5.09414062 L1.45546875,3.3328125 C1.41257812,3.27867187 1.34789062,3.24703125 1.27898437,3.24703125 L0.7875,3.24703125 C0.740390625,3.24703125 0.714375,3.30117187 0.743203125,3.33773437 L2.6690625,5.77757812 C2.7590625,5.89148438 2.93203125,5.89148438 3.02273437,5.77757812 L6.45679687,1.4259375 C6.485625,1.39007813 6.45960937,1.3359375 6.4125,1.3359375 Z" id="路径"&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;g id="导航/Steps步骤条/Light/垂直分割线" transform="translate(7.200000, 19.800000)" fill="#000000" fill-opacity="0.15"&gt;&lt;rect id="Divider" x="0" y="0" width="1" height="19.0434783"&gt;&lt;/rect&gt;&lt;/g&gt;&lt;/g&gt;&lt;g id="导航/Steps步骤条/Light/小-垂直-带描述-当前项" transform="translate(0.000000, 43.017391)"&gt;&lt;text id="Finished" font-family="PingFangSC-Medium, PingFang SC" font-size="8.4" font-weight="400" line-spacing="13.2" fill="#000000" fill-opacity="0.88"&gt;&lt;tspan x="19.2" y="9.02608696"&gt;In Progress&lt;/tspan&gt;&lt;/text&gt;&lt;text id="这里是描述文案" font-family="PingFangSC-Regular, PingFang SC" font-size="8.4" font-weight="normal" line-spacing="13.2" fill="#000000" fill-opacity="0.45"&gt;&lt;tspan x="19.2" y="24.626087"&gt;This is a description&lt;/tspan&gt;&lt;/text&gt;&lt;g id="导航/Steps步骤条/Light/垂直分割线" transform="translate(7.200000, 19.226087)" fill="#000000" fill-opacity="0.15"&gt;&lt;rect id="Divider" x="0" y="0" width="1" height="19.0434783"&gt;&lt;/rect&gt;&lt;/g&gt;&lt;g id="Icon/Steps-Active" transform="translate(0.000000, -0.000000)"&gt;&lt;circle id="Active" fill="#1677FF" cx="7.2" cy="7.2" r="7.2"&gt;&lt;/circle&gt;&lt;text id="Number" font-family="PingFangSC-Regular, PingFang SC" font-size="8.4" font-weight="normal" line-spacing="13.2" fill="#FFFFFF"&gt;&lt;tspan x="4.68" y="9.6"&gt;2&lt;/tspan&gt;&lt;/text&gt;&lt;/g&gt;&lt;/g&gt;&lt;g id="导航/Steps步骤条/Light/小-垂直-带描述-待处理" transform="translate(0.000000, 86.086957)" fill="#000000"&gt;&lt;text id="Finished" font-family="PingFangSC-Regular, PingFang SC" font-size="8.4" font-weight="normal" line-spacing="13.2" fill-opacity="0.45"&gt;&lt;tspan x="19.2" y="9"&gt;Waiting&lt;/tspan&gt;&lt;/text&gt;&lt;text id="这里是描述文案" font-family="PingFangSC-Regular, PingFang SC" font-size="8.4" font-weight="normal" line-spacing="13.2" fill-opacity="0.45"&gt;&lt;tspan x="19.2" y="24.6"&gt;This is a description&lt;/tspan&gt;&lt;/text&gt;&lt;g id="Icon/Steps-Normal"&gt;&lt;circle id="椭圆形" fill-opacity="0.06" cx="7.2" cy="7.2" r="7.2"&gt;&lt;/circle&gt;&lt;text id="↳-Number" font-family="PingFangSC-Regular, PingFang SC" font-size="8.4" font-weight="normal" line-spacing="13.2" fill-opacity="0.45"&gt;&lt;tspan x="5.4" y="9.6"&gt;3&lt;/tspan&gt;&lt;/text&gt;&lt;/g&gt;&lt;/g&gt;&lt;/g&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;</value>
</data>

View File

@@ -99,6 +99,7 @@ namespace SVGView
//
// input1
//
input1.AutoScroll = true;
input1.Dock = DockStyle.Left;
input1.Location = new Point(0, 36);
input1.Multiline = true;