V3.2.0 更新Demo

This commit is contained in:
Sunny 2022-06-15 23:35:12 +08:00
parent a10e87f85a
commit 8ddb2b348c
13 changed files with 58 additions and 448 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,155 +0,0 @@
namespace Sunny.UI.Demo
{
partial class FBarChartEx
{
/// <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()
{
this.uiSymbolButton1 = new Sunny.UI.UISymbolButton();
this.uiImageButton3 = new Sunny.UI.UIImageButton();
this.uiImageButton2 = new Sunny.UI.UIImageButton();
this.uiImageButton1 = new Sunny.UI.UIImageButton();
this.BarChart = new Sunny.UI.UIBarChartEx();
this.uiSymbolButton2 = new Sunny.UI.UISymbolButton();
((System.ComponentModel.ISupportInitialize)(this.uiImageButton3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.uiImageButton2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.uiImageButton1)).BeginInit();
this.SuspendLayout();
//
// uiSymbolButton1
//
this.uiSymbolButton1.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiSymbolButton1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSymbolButton1.Location = new System.Drawing.Point(348, 505);
this.uiSymbolButton1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton1.Name = "uiSymbolButton1";
this.uiSymbolButton1.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
this.uiSymbolButton1.Size = new System.Drawing.Size(100, 27);
this.uiSymbolButton1.Symbol = 61568;
this.uiSymbolButton1.TabIndex = 34;
this.uiSymbolButton1.Text = "数据";
this.uiSymbolButton1.Click += new System.EventHandler(this.uiSymbolButton1_Click);
//
// uiImageButton3
//
this.uiImageButton3.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiImageButton3.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiImageButton3.Image = global::Sunny.UI.Demo.Properties.Resources.ChartDarkStyle;
this.uiImageButton3.Location = new System.Drawing.Point(242, 505);
this.uiImageButton3.Name = "uiImageButton3";
this.uiImageButton3.Size = new System.Drawing.Size(100, 27);
this.uiImageButton3.TabIndex = 33;
this.uiImageButton3.TabStop = false;
this.uiImageButton3.Text = " Dark";
this.uiImageButton3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiImageButton3.Click += new System.EventHandler(this.uiImageButton3_Click);
//
// uiImageButton2
//
this.uiImageButton2.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiImageButton2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiImageButton2.Image = global::Sunny.UI.Demo.Properties.Resources.ChartPlainStyle;
this.uiImageButton2.Location = new System.Drawing.Point(136, 505);
this.uiImageButton2.Name = "uiImageButton2";
this.uiImageButton2.Size = new System.Drawing.Size(100, 27);
this.uiImageButton2.TabIndex = 32;
this.uiImageButton2.TabStop = false;
this.uiImageButton2.Text = " Plain";
this.uiImageButton2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiImageButton2.Click += new System.EventHandler(this.uiImageButton2_Click);
//
// uiImageButton1
//
this.uiImageButton1.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiImageButton1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiImageButton1.Image = global::Sunny.UI.Demo.Properties.Resources.ChartDefaultStyle;
this.uiImageButton1.Location = new System.Drawing.Point(30, 505);
this.uiImageButton1.Name = "uiImageButton1";
this.uiImageButton1.Size = new System.Drawing.Size(100, 27);
this.uiImageButton1.TabIndex = 31;
this.uiImageButton1.TabStop = false;
this.uiImageButton1.Text = " Default";
this.uiImageButton1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiImageButton1.Click += new System.EventHandler(this.uiImageButton1_Click);
//
// BarChart
//
this.BarChart.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(244)))), ((int)(((byte)(244)))));
this.BarChart.Font = new System.Drawing.Font("微软雅黑", 12F);
this.BarChart.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(54)))), ((int)(((byte)(54)))), ((int)(((byte)(54)))));
this.BarChart.Location = new System.Drawing.Point(30, 55);
this.BarChart.MinimumSize = new System.Drawing.Size(1, 1);
this.BarChart.Name = "BarChart";
this.BarChart.Size = new System.Drawing.Size(670, 430);
this.BarChart.TabIndex = 35;
this.BarChart.Text = "uiBarChartEx1";
//
// uiSymbolButton2
//
this.uiSymbolButton2.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiSymbolButton2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSymbolButton2.Location = new System.Drawing.Point(456, 505);
this.uiSymbolButton2.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton2.Name = "uiSymbolButton2";
this.uiSymbolButton2.Size = new System.Drawing.Size(100, 27);
this.uiSymbolButton2.Symbol = 61568;
this.uiSymbolButton2.TabIndex = 36;
this.uiSymbolButton2.Text = "数据";
this.uiSymbolButton2.Click += new System.EventHandler(this.uiSymbolButton2_Click);
//
// FBarChartEx
//
this.AllowShowTitle = true;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(886, 611);
this.Controls.Add(this.uiSymbolButton2);
this.Controls.Add(this.uiSymbolButton1);
this.Controls.Add(this.uiImageButton3);
this.Controls.Add(this.uiImageButton2);
this.Controls.Add(this.uiImageButton1);
this.Controls.Add(this.BarChart);
this.Name = "FBarChartEx";
this.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
this.ShowTitle = true;
this.Symbol = 61568;
this.Text = "BarChartEx";
((System.ComponentModel.ISupportInitialize)(this.uiImageButton3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.uiImageButton2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.uiImageButton1)).EndInit();
this.ResumeLayout(false);
}
#endregion
private UISymbolButton uiSymbolButton1;
private UIImageButton uiImageButton3;
private UIImageButton uiImageButton2;
private UIImageButton uiImageButton1;
private UIBarChartEx BarChart;
private UISymbolButton uiSymbolButton2;
}
}

View File

@ -1,153 +0,0 @@
using System.Drawing;
namespace Sunny.UI.Demo
{
public partial class FBarChartEx : UIPage
{
public FBarChartEx()
{
InitializeComponent();
}
private void uiImageButton1_Click(object sender, System.EventArgs e)
{
BarChart.ChartStyleType = UIChartStyleType.Default;
}
private void uiImageButton2_Click(object sender, System.EventArgs e)
{
BarChart.ChartStyleType = UIChartStyleType.Plain;
}
private void uiImageButton3_Click(object sender, System.EventArgs e)
{
BarChart.ChartStyleType = UIChartStyleType.Dark;
}
private void uiSymbolButton1_Click(object sender, System.EventArgs e)
{
UIBarOption option = new UIBarOption();
option.Grid.Bottom = 65;
option.Title = new UITitle();
option.Title.Text = "SunnyUI";
option.Title.SubText = "BarChartEx";
//设置Legend
option.Legend = new UILegend();
option.Legend.Orient = UIOrient.Horizontal;
option.Legend.Top = UITopAlignment.Top;
option.Legend.Left = UILeftAlignment.Left;
option.Legend.AddData("Bar1");
option.Legend.AddData("Bar2");
option.Legend.AddData("Bar3");
var series = new UIBarSeries();
series.Name = "Bar1";
series.ShowBarName = true;
series.ShowValue = true;
series.AddData("通道1", 1.1);
series.AddData("通道2", 1.5);
option.Series.Add(series);
series = new UIBarSeries();
series.Name = "Bar2";
series.ShowBarName = true;
series.ShowValue = true;
series.AddData("通道1", 2.2);
series.AddData("通道2", 2.8);
series.AddData("通道3", 2.5);
option.Series.Add(series);
series = new UIBarSeries();
series.Name = "Bar3";
series.ShowBarName = true;
series.ShowValue = true;
series.AddData("通道1", 0.7);
option.Series.Add(series);
option.XAxis.Data.Add("Mon");
option.XAxis.Data.Add("Tue");
option.XAxis.Data.Add("Wed");
option.XAxis.Data.Add("Thu");
option.XAxis.Data.Add("Fri");
option.ToolTip.Visible = true;
option.YAxis.Scale = true;
option.XAxis.Name = "";
option.YAxis.Name = "数值";
option.XAxis.AxisTick.Distance = 14;
option.XAxis.AxisLabel.Angle = 90;
option.FixedSeriesCount = 3;
option.AutoSizeBars = true;
option.AutoSizeBarsCompact = true;
option.AutoSizeBarsCompactValue = 0.8f;
option.YAxisScaleLines.Add(new UIScaleLine() { Color = Color.Red, Name = "上限", Value = 12 });
option.YAxisScaleLines.Add(new UIScaleLine() { Color = Color.Gold, Name = "下限", Value = -20 });
option.ToolTip.AxisPointer.Type = UIAxisPointerType.Shadow;
BarChart.SetOption(option);
}
private void uiSymbolButton2_Click(object sender, System.EventArgs e)
{
UIBarOption option = new UIBarOption();
option.Title = new UITitle();
option.Title.Text = "SunnyUI";
option.Title.SubText = "BarChartEx";
//设置Legend
option.Legend = new UILegend();
option.Legend.Orient = UIOrient.Horizontal;
option.Legend.Top = UITopAlignment.Top;
option.Legend.Left = UILeftAlignment.Left;
option.Legend.AddData("Bar1");
option.Legend.AddData("Bar2");
option.Legend.AddData("Bar3");
var series = new UIBarSeries();
series.ShowValue = true;
series.ShowValueFontSize = 6f;
series.MaxWidth = 22;
series.Name = "Bar1";
series.AddData(1);
option.Series.Add(series);
series = new UIBarSeries();
series.ShowValue = true;
series.ShowValueFontSize = 10.5f;
series.MaxWidth = 22;
series.Name = "Bar2";
series.AddData(2);
series.AddData(3);
option.Series.Add(series);
series = new UIBarSeries();
series.ShowValue = true;
series.ShowValueFontSize = 16f;
series.MaxWidth = 22;
series.Name = "Bar3";
series.AddData(4);
series.AddData(5);
series.AddData(6);
option.Series.Add(series);
option.XAxis.Data.Add("Mon");
option.XAxis.Data.Add("Tue");
option.XAxis.Data.Add("Wed");
option.XAxis.Data.Add("Thu");
option.XAxis.Data.Add("Fri");
option.ToolTip = new UIBarToolTip();
option.ToolTip.AxisPointer.Type = UIAxisPointerType.Shadow;
option.AutoSizeBarsCompact = true;
option.AutoSizeBarsCompactValue = 0.1f;
BarChart.SetOption(option);
}
}
}

View File

@ -1,120 +0,0 @@
<?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

@ -102,7 +102,6 @@ namespace Sunny.UI.Demo
this.uiDataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle5; this.uiDataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle5;
this.uiDataGridView1.RowTemplate.Height = 23; this.uiDataGridView1.RowTemplate.Height = 23;
this.uiDataGridView1.SelectedIndex = -1; this.uiDataGridView1.SelectedIndex = -1;
this.uiDataGridView1.ShowGridLine = true;
this.uiDataGridView1.Size = new System.Drawing.Size(800, 351); this.uiDataGridView1.Size = new System.Drawing.Size(800, 351);
this.uiDataGridView1.StripeOddColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255))))); this.uiDataGridView1.StripeOddColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
this.uiDataGridView1.TabIndex = 6; this.uiDataGridView1.TabIndex = 6;

View File

@ -37,7 +37,6 @@ namespace Sunny.UI.Demo
uiDataGridView1.SelectIndexChange += uiDataGridView1_SelectIndexChange; uiDataGridView1.SelectIndexChange += uiDataGridView1_SelectIndexChange;
uiDataGridView1.ShowGridLine = true;
//设置统计绑定的表格 //设置统计绑定的表格
uiDataGridViewFooter1.DataGridView = uiDataGridView1; uiDataGridViewFooter1.DataGridView = uiDataGridView1;
} }

View File

@ -38,6 +38,9 @@ namespace Sunny.UI.Demo
this.uiScrollingText1 = new Sunny.UI.UIScrollingText(); this.uiScrollingText1 = new Sunny.UI.UIScrollingText();
this.uiLine6 = new Sunny.UI.UILine(); this.uiLine6 = new Sunny.UI.UILine();
this.uiToolTip1 = new Sunny.UI.UIToolTip(this.components); this.uiToolTip1 = new Sunny.UI.UIToolTip(this.components);
this.uiLine1 = new Sunny.UI.UILine();
this.uiVerificationCode1 = new Sunny.UI.UIVerificationCode();
this.uiVerificationCode2 = new Sunny.UI.UIVerificationCode();
this.SuspendLayout(); this.SuspendLayout();
// //
// uiLabel3 // uiLabel3
@ -50,6 +53,7 @@ namespace Sunny.UI.Demo
this.uiLabel3.TabIndex = 79; this.uiLabel3.TabIndex = 79;
this.uiLabel3.Text = "鼠标移过来看提示"; this.uiLabel3.Text = "鼠标移过来看提示";
this.uiLabel3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.uiLabel3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel3.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
// //
// uiLabel2 // uiLabel2
// //
@ -61,6 +65,7 @@ namespace Sunny.UI.Demo
this.uiLabel2.TabIndex = 78; this.uiLabel2.TabIndex = 78;
this.uiLabel2.Text = "鼠标移过来看提示"; this.uiLabel2.Text = "鼠标移过来看提示";
this.uiLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.uiLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
// //
// uiLabel1 // uiLabel1
// //
@ -73,6 +78,7 @@ namespace Sunny.UI.Demo
this.uiLabel1.Text = "鼠标移过来看提示"; this.uiLabel1.Text = "鼠标移过来看提示";
this.uiLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.uiLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiToolTip1.SetToolTip(this.uiLabel1, "赠人玫瑰手有余香"); this.uiToolTip1.SetToolTip(this.uiLabel1, "赠人玫瑰手有余香");
this.uiLabel1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
// //
// uiLine7 // uiLine7
// //
@ -84,6 +90,7 @@ namespace Sunny.UI.Demo
this.uiLine7.TabIndex = 76; this.uiLine7.TabIndex = 76;
this.uiLine7.Text = "UIToolTip"; this.uiLine7.Text = "UIToolTip";
this.uiLine7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.uiLine7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLine7.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
// //
// uiScrollingText2 // uiScrollingText2
// //
@ -95,6 +102,7 @@ namespace Sunny.UI.Demo
this.uiScrollingText2.Size = new System.Drawing.Size(319, 35); this.uiScrollingText2.Size = new System.Drawing.Size(319, 35);
this.uiScrollingText2.TabIndex = 75; this.uiScrollingText2.TabIndex = 75;
this.uiScrollingText2.Text = "赠人玫瑰手有余香"; this.uiScrollingText2.Text = "赠人玫瑰手有余香";
this.uiScrollingText2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
// //
// uiScrollingText1 // uiScrollingText1
// //
@ -111,6 +119,7 @@ namespace Sunny.UI.Demo
this.uiScrollingText1.StyleCustomMode = true; this.uiScrollingText1.StyleCustomMode = true;
this.uiScrollingText1.TabIndex = 74; this.uiScrollingText1.TabIndex = 74;
this.uiScrollingText1.Text = "赠人玫瑰手有余香"; this.uiScrollingText1.Text = "赠人玫瑰手有余香";
this.uiScrollingText1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
// //
// uiLine6 // uiLine6
// //
@ -122,6 +131,7 @@ namespace Sunny.UI.Demo
this.uiLine6.TabIndex = 73; this.uiLine6.TabIndex = 73;
this.uiLine6.Text = "UIScrollingText"; this.uiLine6.Text = "UIScrollingText";
this.uiLine6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.uiLine6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLine6.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
// //
// uiToolTip1 // uiToolTip1
// //
@ -131,11 +141,47 @@ namespace Sunny.UI.Demo
this.uiToolTip1.OwnerDraw = true; this.uiToolTip1.OwnerDraw = true;
this.uiToolTip1.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.uiToolTip1.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
// //
// uiLine1
//
this.uiLine1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine1.Location = new System.Drawing.Point(30, 187);
this.uiLine1.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine1.Name = "uiLine1";
this.uiLine1.Size = new System.Drawing.Size(319, 20);
this.uiLine1.TabIndex = 80;
this.uiLine1.Text = "UIVerificationCode";
this.uiLine1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLine1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiVerificationCode1
//
this.uiVerificationCode1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiVerificationCode1.Location = new System.Drawing.Point(30, 225);
this.uiVerificationCode1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiVerificationCode1.Name = "uiVerificationCode1";
this.uiVerificationCode1.Size = new System.Drawing.Size(100, 35);
this.uiVerificationCode1.TabIndex = 81;
this.uiVerificationCode1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiVerificationCode2
//
this.uiVerificationCode2.CodeLength = 6;
this.uiVerificationCode2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiVerificationCode2.Location = new System.Drawing.Point(148, 225);
this.uiVerificationCode2.MinimumSize = new System.Drawing.Size(1, 1);
this.uiVerificationCode2.Name = "uiVerificationCode2";
this.uiVerificationCode2.Size = new System.Drawing.Size(140, 35);
this.uiVerificationCode2.TabIndex = 82;
this.uiVerificationCode2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// FOther // FOther
// //
this.AllowShowTitle = true; this.AllowShowTitle = true;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(800, 450); this.ClientSize = new System.Drawing.Size(800, 450);
this.Controls.Add(this.uiVerificationCode2);
this.Controls.Add(this.uiVerificationCode1);
this.Controls.Add(this.uiLine1);
this.Controls.Add(this.uiLabel3); this.Controls.Add(this.uiLabel3);
this.Controls.Add(this.uiLabel2); this.Controls.Add(this.uiLabel2);
this.Controls.Add(this.uiLabel1); this.Controls.Add(this.uiLabel1);
@ -162,5 +208,8 @@ namespace Sunny.UI.Demo
private UIScrollingText uiScrollingText1; private UIScrollingText uiScrollingText1;
private UILine uiLine6; private UILine uiLine6;
private UIToolTip uiToolTip1; private UIToolTip uiToolTip1;
private UILine uiLine1;
private UIVerificationCode uiVerificationCode1;
private UIVerificationCode uiVerificationCode2;
} }
} }

View File

@ -31,5 +31,5 @@ using System.Runtime.InteropServices;
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值 //可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
//通过使用 "*",如下所示: //通过使用 "*",如下所示:
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.1.9.0")] [assembly: AssemblyVersion("3.2.0.0")]
[assembly: AssemblyFileVersion("3.1.9.0")] [assembly: AssemblyFileVersion("3.2.0.0")]

View File

@ -38,11 +38,11 @@
<ApplicationManifest>app.manifest</ApplicationManifest> <ApplicationManifest>app.manifest</ApplicationManifest>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Reference Include="SunnyUI, Version=3.1.9.0, Culture=neutral, PublicKeyToken=27d7d2e821d97aeb, processorArchitecture=MSIL"> <Reference Include="SunnyUI, Version=3.2.0.0, Culture=neutral, PublicKeyToken=27d7d2e821d97aeb, processorArchitecture=MSIL">
<HintPath>..\packages\SunnyUI.3.1.9\lib\net40\SunnyUI.dll</HintPath> <HintPath>..\packages\SunnyUI.3.2.0\lib\net40\SunnyUI.dll</HintPath>
</Reference> </Reference>
<Reference Include="SunnyUI.Common, Version=3.1.2.0, Culture=neutral, PublicKeyToken=5a271fb7ba597231, processorArchitecture=MSIL"> <Reference Include="SunnyUI.Common, Version=3.2.0.0, Culture=neutral, PublicKeyToken=5a271fb7ba597231, processorArchitecture=MSIL">
<HintPath>..\packages\SunnyUI.Common.3.1.2\lib\net40\SunnyUI.Common.dll</HintPath> <HintPath>..\packages\SunnyUI.Common.3.2.0\lib\net40\SunnyUI.Common.dll</HintPath>
</Reference> </Reference>
<Reference Include="System" /> <Reference Include="System" />
<Reference Include="System.Core" /> <Reference Include="System.Core" />
@ -58,12 +58,6 @@
<Reference Include="System.Xml" /> <Reference Include="System.Xml" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Compile Include="Charts\FBarChartEx.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Charts\FBarChartEx.Designer.cs">
<DependentUpon>FBarChartEx.cs</DependentUpon>
</Compile>
<Compile Include="Charts\FDoughnutChart.cs"> <Compile Include="Charts\FDoughnutChart.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
@ -379,9 +373,6 @@
<DependentUpon>FCommon.cs</DependentUpon> <DependentUpon>FCommon.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="Units\UMapperDemo.cs" /> <Compile Include="Units\UMapperDemo.cs" />
<EmbeddedResource Include="Charts\FBarChartEx.resx">
<DependentUpon>FBarChartEx.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Charts\FDoughnutChart.resx"> <EmbeddedResource Include="Charts\FDoughnutChart.resx">
<DependentUpon>FDoughnutChart.cs</DependentUpon> <DependentUpon>FDoughnutChart.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<packages> <packages>
<package id="SunnyUI" version="3.1.9" targetFramework="net40" /> <package id="SunnyUI" version="3.2.0" targetFramework="net40" />
<package id="SunnyUI.Common" version="3.1.2" targetFramework="net40" /> <package id="SunnyUI.Common" version="3.2.0" targetFramework="net40" />
</packages> </packages>

View File

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFrameworks>net6.0-windows;net472;net40</TargetFrameworks> <TargetFrameworks>net472;net40</TargetFrameworks>
<LangVersion>8.0</LangVersion> <LangVersion>8.0</LangVersion>
<ProjectGuid>{AB1CB247-E20B-4CBE-B269-570ADDD96C53}</ProjectGuid> <ProjectGuid>{AB1CB247-E20B-4CBE-B269-570ADDD96C53}</ProjectGuid>
<UseWindowsForms>true</UseWindowsForms> <UseWindowsForms>true</UseWindowsForms>