mirror of
https://gitee.com/AntdUI/AntdUI.git
synced 2026-04-03 20:20:42 +08:00
🦄 Beautiful AntdUI
This commit is contained in:
@@ -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) | ✅ | ❎ |
|
||||
|
||||
@@ -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
137
example/Demo/Controls/Splitter.Designer.cs
generated
Normal 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;
|
||||
}
|
||||
}
|
||||
32
example/Demo/Controls/Splitter.cs
Normal file
32
example/Demo/Controls/Splitter.cs
Normal 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
120
example/Demo/Controls/Splitter.resx
Normal file
120
example/Demo/Controls/Splitter.resx
Normal file
@@ -0,0 +1,120 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
||||
@@ -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.
9
example/Demo/res_dark.Designer.cs
generated
9
example/Demo/res_dark.Designer.cs
generated
@@ -366,6 +366,15 @@ namespace Demo {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 <svg viewBox="0 0 160 112" fill="none"><rect width="160" height="112" rx="4" fill="#1668DC" fill-opacity="0.2"/><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"/><rect opacity="0.5" x="57" y="10" width="46" height="92" fill="#1668DC" fill-opacity="0.8"/><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"/><path d="M55.625 49H57.37 [字符串的其余部分被截断]"; 的本地化字符串。
|
||||
/// </summary>
|
||||
internal static string Splitter {
|
||||
get {
|
||||
return ResourceManager.GetString("Splitter", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 <svg viewBox="0 0 108 116" xmlns:xlink="http://www.w3.org/1999/xlink"><g id="组件骨架图更新" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="🎉-5.0-新版---黑" transform="translate(-566.000000, -1360.000000)"><g id="Steps" transform="translate(566.000000, 1360.400000)"><g id="导航/Steps步骤条/Light/小-垂直-带描述-完成项"><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"><tspan x="19.2" y="10">Fini [字符串的其余部分被截断]"; 的本地化字符串。
|
||||
/// </summary>
|
||||
|
||||
@@ -219,6 +219,9 @@
|
||||
<data name="Slider" xml:space="preserve">
|
||||
<value><svg viewBox="0 0 150 14" xmlns:xlink="http://www.w3.org/1999/xlink"><g id="组件骨架图更新" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="🎉-5.0-新版---黑" transform="translate(-1270.000000, -2228.000000)"><g id="Silder" transform="translate(1270.000000, 2228.000000)"><rect id="Rectangle-20" fill-opacity="0.08" fill="#FFFFFF" x="0" y="5" width="150" height="4" rx="2"></rect><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"></path><circle id="Oval" stroke="#1677FF" stroke-width="3" fill="#141414" cx="81" cy="7" r="5.5"></circle></g></g></g></svg></value>
|
||||
</data>
|
||||
<data name="Splitter" xml:space="preserve">
|
||||
<value><svg viewBox="0 0 160 112" fill="none"><rect width="160" height="112" rx="4" fill="#1668DC" fill-opacity="0.2"/><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"/><rect opacity="0.5" x="57" y="10" width="46" height="92" fill="#1668DC" fill-opacity="0.8"/><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"/><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"/><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"/></svg></value>
|
||||
</data>
|
||||
<data name="Steps" xml:space="preserve">
|
||||
<value><svg viewBox="0 0 108 116" xmlns:xlink="http://www.w3.org/1999/xlink"><g id="组件骨架图更新" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="🎉-5.0-新版---黑" transform="translate(-566.000000, -1360.000000)"><g id="Steps" transform="translate(566.000000, 1360.400000)"><g id="导航/Steps步骤条/Light/小-垂直-带描述-完成项"><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"><tspan x="19.2" y="10">Finished</tspan></text><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"><tspan x="19.2" y="26.4">This is a description</tspan></text><g id="Icon/Steps-Finished" transform="translate(0.000000, 0.600000)"><circle id="椭圆形" stroke="#167CDB" cx="7.2" cy="7.2" r="6.7"></circle><g id="check-outlined" transform="translate(3.600000, 3.600000)" fill="#1677FF" fill-rule="nonzero"><rect id="矩形" opacity="0" x="0" y="0" width="7.2" height="7.2"></rect><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="路径"></path></g></g><g id="导航/Steps步骤条/Light/垂直分割线" transform="translate(7.200000, 19.800000)" fill="#FFFFFF" fill-opacity="0.15"><rect id="Divider" x="0" y="0" width="1" height="19.2"></rect></g></g><g id="导航/Steps步骤条/Light/小-垂直-带描述-当前项" transform="translate(0.000000, 43.643478)"><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"><tspan x="19.2" y="5">In Progress</tspan></text><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"><tspan x="19.2" y="20.6">This is a description</tspan></text><g id="导航/Steps步骤条/Light/垂直分割线" transform="translate(7.200000, 19.200000)" fill="#FFFFFF" fill-opacity="0.15"><rect id="Divider" x="0" y="0" width="1" height="19.2"></rect></g><g id="Icon/Steps-Active"><circle id="Active" fill="#1677FF" cx="7.2" cy="7.2" r="7.2"></circle><text id="Number" font-family="PingFangSC-Regular, PingFang SC" font-size="8.4" font-weight="normal" line-spacing="13.2" fill="#FFFFFF"><tspan x="4.68" y="9.6">2</tspan></text></g></g><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"><tspan x="19.2" y="95.6869565">Waiting</tspan></text><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"><tspan x="19.2" y="111.286957">This is a description</tspan></text><g id="Icon/Steps-Normal" transform="translate(0.000000, 86.686957)"><circle id="椭圆形" stroke-opacity="0.2" stroke="#FFFFFF" cx="7.2" cy="7.2" r="6.7"></circle><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"><tspan x="5" y="9.6">3</tspan></text></g></g></g></g></svg></value>
|
||||
</data>
|
||||
|
||||
9
example/Demo/res_light.Designer.cs
generated
9
example/Demo/res_light.Designer.cs
generated
@@ -366,6 +366,15 @@ namespace Demo {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 <svg viewBox="0 0 160 112"><rect width="160" height="112" rx="4" fill="#1668DC" fill-opacity="0.1"/><path d="M10 12C10 10.8954 10.8954 10 12 10H56V102H12C10.8954 102 10 101.105 10 100V12Z" fill="#ffffff"/><rect x="57" y="10" width="46" height="92" fill="#ffffff"/><path d="M104 10H148C149.105 10 150 10.8954 150 12V100C150 101.105 149.105 102 148 102H104V10Z" fill="#ffffff"/><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 [字符串的其余部分被截断]"; 的本地化字符串。
|
||||
/// </summary>
|
||||
internal static string Splitter {
|
||||
get {
|
||||
return ResourceManager.GetString("Splitter", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 <svg viewBox="0 0 108 116" xmlns:xlink="http://www.w3.org/1999/xlink"><g id="组件骨架图更新" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="🎉-5.0-新版" transform="translate(-566.000000, -1360.000000)"><g id="小-垂直-带描述" transform="translate(566.000000, 1361.000000)"><g id="导航/Steps步骤条/Light/小-垂直-带描述-完成项" transform="translate(0.000000, -0.600000)"><text id="Finished" font-family="PingFangSC-Regular, PingFang SC" font-size="9.6" font-weight="normal" line-spacing="14.4" fill="#000000" fill-opacity [字符串的其余部分被截断]"; 的本地化字符串。
|
||||
/// </summary>
|
||||
|
||||
@@ -219,6 +219,9 @@
|
||||
<data name="Slider" xml:space="preserve">
|
||||
<value><svg viewBox="0 0 150 14" xmlns:xlink="http://www.w3.org/1999/xlink"><g id="组件骨架图更新" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="🎉-5.0-新版" transform="translate(-1270.000000, -2228.000000)"><g id="Silder" transform="translate(1270.000000, 2228.000000)"><rect id="Rectangle-20" fill-opacity="0.04" fill="#000000" x="0" y="5" width="150" height="4" rx="2"></rect><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"></path><g id="Group" transform="translate(74.000000, 0.000000)" fill-rule="nonzero"><circle id="Oval" fill="#FFFFFF" cx="7" cy="7" r="7"></circle><circle id="Oval-2" fill="#1890FF" opacity="0.45" cx="7" cy="7" r="7"></circle><circle id="Oval-2" fill="#FFFFFF" cx="7" cy="7" r="5"></circle></g></g></g></g></svg></value>
|
||||
</data>
|
||||
<data name="Splitter" xml:space="preserve">
|
||||
<value><svg viewBox="0 0 160 112"><rect width="160" height="112" rx="4" fill="#1668DC" fill-opacity="0.1"/><path d="M10 12C10 10.8954 10.8954 10 12 10H56V102H12C10.8954 102 10 101.105 10 100V12Z" fill="#ffffff"/><rect x="57" y="10" width="46" height="92" fill="#ffffff"/><path d="M104 10H148C149.105 10 150 10.8954 150 12V100C150 101.105 149.105 102 148 102H104V10Z" fill="#ffffff"/><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"/><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"/></svg></value>
|
||||
</data>
|
||||
<data name="Steps" xml:space="preserve">
|
||||
<value><svg viewBox="0 0 108 116" xmlns:xlink="http://www.w3.org/1999/xlink"><g id="组件骨架图更新" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="🎉-5.0-新版" transform="translate(-566.000000, -1360.000000)"><g id="小-垂直-带描述" transform="translate(566.000000, 1361.000000)"><g id="导航/Steps步骤条/Light/小-垂直-带描述-完成项" transform="translate(0.000000, -0.600000)"><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"><tspan x="19.2" y="10">Finished</tspan></text><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"><tspan x="19.2" y="26.4">This is a description</tspan></text><g id="Icon/Steps-Finished" transform="translate(0.000000, 0.600000)"><circle id="椭圆形" fill="#E6F4FF" cx="7.2" cy="7.2" r="7.2"></circle><g id="check-outlined" transform="translate(3.600000, 3.600000)" fill="#1677FF" fill-rule="nonzero"><rect id="矩形" opacity="0" x="0" y="0" width="7.2" height="7.2"></rect><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="路径"></path></g></g><g id="导航/Steps步骤条/Light/垂直分割线" transform="translate(7.200000, 19.800000)" fill="#000000" fill-opacity="0.15"><rect id="Divider" x="0" y="0" width="1" height="19.0434783"></rect></g></g><g id="导航/Steps步骤条/Light/小-垂直-带描述-当前项" transform="translate(0.000000, 43.017391)"><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"><tspan x="19.2" y="9.02608696">In Progress</tspan></text><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"><tspan x="19.2" y="24.626087">This is a description</tspan></text><g id="导航/Steps步骤条/Light/垂直分割线" transform="translate(7.200000, 19.226087)" fill="#000000" fill-opacity="0.15"><rect id="Divider" x="0" y="0" width="1" height="19.0434783"></rect></g><g id="Icon/Steps-Active" transform="translate(0.000000, -0.000000)"><circle id="Active" fill="#1677FF" cx="7.2" cy="7.2" r="7.2"></circle><text id="Number" font-family="PingFangSC-Regular, PingFang SC" font-size="8.4" font-weight="normal" line-spacing="13.2" fill="#FFFFFF"><tspan x="4.68" y="9.6">2</tspan></text></g></g><g id="导航/Steps步骤条/Light/小-垂直-带描述-待处理" transform="translate(0.000000, 86.086957)" fill="#000000"><text id="Finished" font-family="PingFangSC-Regular, PingFang SC" font-size="8.4" font-weight="normal" line-spacing="13.2" fill-opacity="0.45"><tspan x="19.2" y="9">Waiting</tspan></text><text id="这里是描述文案" font-family="PingFangSC-Regular, PingFang SC" font-size="8.4" font-weight="normal" line-spacing="13.2" fill-opacity="0.45"><tspan x="19.2" y="24.6">This is a description</tspan></text><g id="Icon/Steps-Normal"><circle id="椭圆形" fill-opacity="0.06" cx="7.2" cy="7.2" r="7.2"></circle><text id="↳-Number" font-family="PingFangSC-Regular, PingFang SC" font-size="8.4" font-weight="normal" line-spacing="13.2" fill-opacity="0.45"><tspan x="5.4" y="9.6">3</tspan></text></g></g></g></g></g></svg></value>
|
||||
</data>
|
||||
|
||||
1
example/SVGView/Main.Designer.cs
generated
1
example/SVGView/Main.Designer.cs
generated
@@ -99,6 +99,7 @@ namespace SVGView
|
||||
//
|
||||
// input1
|
||||
//
|
||||
input1.AutoScroll = true;
|
||||
input1.Dock = DockStyle.Left;
|
||||
input1.Location = new Point(0, 36);
|
||||
input1.Multiline = true;
|
||||
|
||||
Reference in New Issue
Block a user