This commit is contained in:
czz_y
2024-08-31 19:03:17 +08:00
parent 8d1fa9bf16
commit 3d7611e546
17 changed files with 1512 additions and 27 deletions
+189
View File
@@ -0,0 +1,189 @@
namespace AntdUIDemo.Views.Test
{
partial class TestDemo
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region 组件设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要修改
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.flowPanel1 = new AntdUI.FlowPanel();
this.button1 = new AntdUI.Button();
this.button2 = new AntdUI.Button();
this.button3 = new AntdUI.Button();
this.button4 = new AntdUI.Button();
this.button5 = new AntdUI.Button();
this.button6 = new AntdUI.Button();
this.button7 = new AntdUI.Button();
this.button8 = new AntdUI.Button();
this.button9 = new AntdUI.Button();
this.button10 = new AntdUI.Button();
this.flowPanel1.SuspendLayout();
this.SuspendLayout();
//
// flowPanel1
//
this.flowPanel1.Controls.Add(this.button10);
this.flowPanel1.Controls.Add(this.button9);
this.flowPanel1.Controls.Add(this.button8);
this.flowPanel1.Controls.Add(this.button7);
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.Dock = System.Windows.Forms.DockStyle.Fill;
this.flowPanel1.Location = new System.Drawing.Point(0, 0);
this.flowPanel1.Name = "flowPanel1";
this.flowPanel1.Size = new System.Drawing.Size(500, 257);
this.flowPanel1.TabIndex = 0;
this.flowPanel1.Text = "flowPanel1";
//
// 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(13, 3);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(114, 40);
this.button1.TabIndex = 0;
this.button1.Text = "Button";
this.button1.Type = AntdUI.TTypeMini.Primary;
//
// 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(133, 3);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(114, 40);
this.button2.TabIndex = 1;
this.button2.Text = "Button";
this.button2.Type = AntdUI.TTypeMini.Primary;
//
// 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(253, 3);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(114, 40);
this.button3.TabIndex = 2;
this.button3.Text = "Button";
this.button3.Type = AntdUI.TTypeMini.Primary;
//
// 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(373, 3);
this.button4.Name = "button4";
this.button4.Size = new System.Drawing.Size(114, 40);
this.button4.TabIndex = 3;
this.button4.Text = "Button";
this.button4.Type = AntdUI.TTypeMini.Primary;
//
// 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(13, 49);
this.button5.Name = "button5";
this.button5.Size = new System.Drawing.Size(114, 40);
this.button5.TabIndex = 4;
this.button5.Text = "Button";
this.button5.Type = AntdUI.TTypeMini.Primary;
//
// 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(133, 49);
this.button6.Name = "button6";
this.button6.Size = new System.Drawing.Size(114, 40);
this.button6.TabIndex = 5;
this.button6.Text = "Button";
this.button6.Type = AntdUI.TTypeMini.Primary;
//
// button7
//
this.button7.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button7.Location = new System.Drawing.Point(253, 49);
this.button7.Name = "button7";
this.button7.Size = new System.Drawing.Size(114, 40);
this.button7.TabIndex = 6;
this.button7.Text = "Button";
this.button7.Type = AntdUI.TTypeMini.Primary;
//
// button8
//
this.button8.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button8.Location = new System.Drawing.Point(373, 49);
this.button8.Name = "button8";
this.button8.Size = new System.Drawing.Size(114, 40);
this.button8.TabIndex = 7;
this.button8.Text = "Button";
this.button8.Type = AntdUI.TTypeMini.Primary;
//
// button9
//
this.button9.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button9.Location = new System.Drawing.Point(13, 95);
this.button9.Name = "button9";
this.button9.Size = new System.Drawing.Size(114, 40);
this.button9.TabIndex = 8;
this.button9.Text = "Button";
this.button9.Type = AntdUI.TTypeMini.Primary;
//
// button10
//
this.button10.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button10.Location = new System.Drawing.Point(133, 95);
this.button10.Name = "button10";
this.button10.Size = new System.Drawing.Size(114, 40);
this.button10.TabIndex = 9;
this.button10.Text = "Button";
this.button10.Type = AntdUI.TTypeMini.Primary;
//
// TestDemo
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
this.Controls.Add(this.flowPanel1);
this.Name = "TestDemo";
this.Size = new System.Drawing.Size(500, 257);
this.flowPanel1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private AntdUI.FlowPanel flowPanel1;
private AntdUI.Button button4;
private AntdUI.Button button3;
private AntdUI.Button button2;
private AntdUI.Button button1;
private AntdUI.Button button10;
private AntdUI.Button button9;
private AntdUI.Button button8;
private AntdUI.Button button7;
private AntdUI.Button button6;
private AntdUI.Button button5;
}
}
+20
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.Test
{
public partial class TestDemo : UserControl
{
public TestDemo()
{
InitializeComponent();
}
}
}
+120
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>