diff --git a/AntdUIDemo.csproj b/AntdUIDemo.csproj index f1604c9..4f7df47 100644 --- a/AntdUIDemo.csproj +++ b/AntdUIDemo.csproj @@ -30,7 +30,7 @@ - + diff --git a/MainWindow.Designer.cs b/MainWindow.Designer.cs index f209405..df9f8c7 100644 --- a/MainWindow.Designer.cs +++ b/MainWindow.Designer.cs @@ -60,11 +60,11 @@ this.button_color.Ghost = true; this.button_color.IconRatio = 0.6F; this.button_color.IconSvg = resources.GetString("button_color.IconSvg"); - this.button_color.Image = null; - this.button_color.ImageHover = null; - this.button_color.ImageHoverSvg = null; - this.button_color.ImageSize = new System.Drawing.Size(0, 0); - this.button_color.ImageSvg = resources.GetString("button_color.ImageSvg"); + this.button_color.Icon = null; + this.button_color.IconHover = null; + this.button_color.IconHoverSvg = null; + this.button_color.IconSize = new System.Drawing.Size(0, 0); + this.button_color.IconSvg = resources.GetString("button_color.ImageSvg"); this.button_color.Location = new System.Drawing.Point(806, 0); this.button_color.Name = "button_color"; this.button_color.Radius = 0; @@ -78,11 +78,11 @@ this.buttonSZ.Dock = System.Windows.Forms.DockStyle.Right; this.buttonSZ.Ghost = true; this.buttonSZ.IconSvg = resources.GetString("buttonSZ.IconSvg"); - this.buttonSZ.Image = null; - this.buttonSZ.ImageHover = null; - this.buttonSZ.ImageHoverSvg = null; - this.buttonSZ.ImageSize = new System.Drawing.Size(0, 0); - this.buttonSZ.ImageSvg = resources.GetString("buttonSZ.ImageSvg"); + this.buttonSZ.Icon = null; + this.buttonSZ.IconHover = null; + this.buttonSZ.IconHoverSvg = null; + this.buttonSZ.IconSize = new System.Drawing.Size(0, 0); + this.buttonSZ.IconSvg = resources.GetString("buttonSZ.ImageSvg"); this.buttonSZ.Location = new System.Drawing.Point(856, 0); this.buttonSZ.Name = "buttonSZ"; this.buttonSZ.Radius = 0; diff --git a/Views/ButtonDemo.cs b/Views/ButtonDemo.cs index db3e218..629f769 100644 --- a/Views/ButtonDemo.cs +++ b/Views/ButtonDemo.cs @@ -30,7 +30,7 @@ namespace AntdUIDemo.Views bool showarrow = button.ShowArrow; bool joinleft = button.JoinLeft; bool joinright = button.JoinRight; - var imagesvg = button.ImageSvg; + var iconsvg = button.IconSvg; var backentend = button.BackExtend; // 构建SetTip文本 var tooltipText = new StringBuilder(); @@ -57,9 +57,9 @@ namespace AntdUIDemo.Views { tooltipText.AppendLine($"JoinRight: {joinright}"); } - if (!string.IsNullOrEmpty(imagesvg)) + if (!string.IsNullOrEmpty(iconsvg)) { - tooltipText.AppendLine($"ImageSvg: 参见ImageSvg属性"); + tooltipText.AppendLine($"IconSvg: 参见IconSvg属性"); } if (!string.IsNullOrEmpty(backentend)) { diff --git a/Views/PaginationDemo.cs b/Views/PaginationDemo.cs index 1e57776..eb601fe 100644 --- a/Views/PaginationDemo.cs +++ b/Views/PaginationDemo.cs @@ -12,8 +12,6 @@ namespace AntdUIDemo.Views { public partial class PaginationDemo : UserControl { - private int selectMultiple_SelectedIndexChanged; - public PaginationDemo() { InitializeComponent();