升级1.9.11,Table支持堆叠表头和合并单元格,Tabs支持禁止选中,Splitter支持收缩
This commit is contained in:
Generated
+1
-1
@@ -40,7 +40,6 @@
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(750, 150);
|
||||
this.label1.TabIndex = 0;
|
||||
this.label1.Text = "欢迎使用 AntdUI Demo";
|
||||
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// Wellcome
|
||||
@@ -48,6 +47,7 @@
|
||||
this.Controls.Add(this.label1);
|
||||
this.Name = "Wellcome";
|
||||
this.Size = new System.Drawing.Size(750, 150);
|
||||
this.Load += new System.EventHandler(this.Wellcome_Load);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
@@ -1,12 +1,35 @@
|
||||
using System.Windows.Forms;
|
||||
using AntdUI;
|
||||
using System.Drawing;
|
||||
using System.Threading;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AntdUIDemo.Views.SubView
|
||||
{
|
||||
public partial class Wellcome : UserControl
|
||||
{
|
||||
public Wellcome()
|
||||
private AntdUI.Window window;
|
||||
public Wellcome(AntdUI.Window _window)
|
||||
{
|
||||
window = _window;
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void Wellcome_Load(object sender, System.EventArgs e)
|
||||
{
|
||||
AntdUI.Spin.open(window, new AntdUI.Spin.Config()
|
||||
{
|
||||
Radius = 6,
|
||||
Font = new Font("Microsoft YaHei UI", 12f),//字体可以控制进度圈的大小
|
||||
}, (config) =>
|
||||
{
|
||||
config.Text = "LOADING...";
|
||||
//耗时代码,处理数据
|
||||
Thread.Sleep(2000);
|
||||
}, () =>
|
||||
{
|
||||
//结束时执行的代码
|
||||
label1.Text = "欢迎使用 AntdUI Demo";
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user