UIMessageForm:解决了Demo消息窗口弹出,界面刷新闪烁的Bug
This commit is contained in:
parent
0a16c07770
commit
f92dc87e61
BIN
Bin/SunnyUI.dll
BIN
Bin/SunnyUI.dll
Binary file not shown.
BIN
Bin/SunnyUI.pdb
BIN
Bin/SunnyUI.pdb
Binary file not shown.
@ -11,6 +11,8 @@
|
|||||||
|
|
||||||
#### 介绍
|
#### 介绍
|
||||||
- SunnyUI.Net, 基于 C# .Net WinForm 开源控件库、工具类库、扩展类库、多页面开发框架
|
- SunnyUI.Net, 基于 C# .Net WinForm 开源控件库、工具类库、扩展类库、多页面开发框架
|
||||||
|
- 源码编译环境:VS2019
|
||||||
|
- 动态库应用环境:VS2010,.Net Framework 4.0及以上
|
||||||
|
|
||||||
#### 软件框架
|
#### 软件框架
|
||||||

|

|
||||||
|
Binary file not shown.
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
using System;
|
using Sunny.UI.Demo.Forms;
|
||||||
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using Sunny.UI.Demo.Forms;
|
|
||||||
|
|
||||||
namespace Sunny.UI.Demo
|
namespace Sunny.UI.Demo
|
||||||
{
|
{
|
||||||
@ -15,11 +15,11 @@ namespace Sunny.UI.Demo
|
|||||||
{
|
{
|
||||||
if (this.ShowAskDialog("确认信息提示框"))
|
if (this.ShowAskDialog("确认信息提示框"))
|
||||||
{
|
{
|
||||||
this.ShowInfoDialog("您点击了确定按钮");
|
UIMessageTip.ShowOk("您点击了确定按钮");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
this.ShowErrorDialog("您点击了取消按钮");
|
UIMessageTip.ShowError("您点击了取消按钮");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
2
SunnyUI.Demo/Forms/FLogin.Designer.cs
generated
2
SunnyUI.Demo/Forms/FLogin.Designer.cs
generated
@ -41,7 +41,7 @@
|
|||||||
//
|
//
|
||||||
this.pictureBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(208)))), ((int)(((byte)(250)))));
|
this.pictureBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(208)))), ((int)(((byte)(250)))));
|
||||||
this.pictureBox1.Image = global::Sunny.UI.Demo.Properties.Resources.SunnyLogin;
|
this.pictureBox1.Image = global::Sunny.UI.Demo.Properties.Resources.SunnyLogin;
|
||||||
this.pictureBox1.Location = new System.Drawing.Point(183, 212);
|
this.pictureBox1.Location = new System.Drawing.Point(180, 208);
|
||||||
this.pictureBox1.Name = "pictureBox1";
|
this.pictureBox1.Name = "pictureBox1";
|
||||||
this.pictureBox1.Size = new System.Drawing.Size(71, 71);
|
this.pictureBox1.Size = new System.Drawing.Size(71, 71);
|
||||||
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
|
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
|
||||||
|
@ -379,12 +379,8 @@ namespace Sunny.UI
|
|||||||
frm.Style = style;
|
frm.Style = style;
|
||||||
frm.SetItems(items);
|
frm.SetItems(items);
|
||||||
frm.SelectedIndex = selectIndex;
|
frm.SelectedIndex = selectIndex;
|
||||||
if (title.IsValid())
|
if (title.IsValid()) frm.Title = title;
|
||||||
{
|
if (description.IsValid()) frm.Description = description;
|
||||||
frm.Title = title;
|
|
||||||
}
|
|
||||||
|
|
||||||
frm.Description = description;
|
|
||||||
frm.ShowDialog();
|
frm.ShowDialog();
|
||||||
|
|
||||||
bool result = frm.IsOK;
|
bool result = frm.IsOK;
|
||||||
|
1
SunnyUI/Forms/UIMessageForm.Designer.cs
generated
1
SunnyUI/Forms/UIMessageForm.Designer.cs
generated
@ -97,7 +97,6 @@
|
|||||||
this.ShowIcon = false;
|
this.ShowIcon = false;
|
||||||
this.ShowInTaskbar = false;
|
this.ShowInTaskbar = false;
|
||||||
this.Text = "UIMsgBox";
|
this.Text = "UIMsgBox";
|
||||||
this.TopMost = true;
|
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -120,8 +120,6 @@ namespace Sunny.UI
|
|||||||
lbMsg.BackColor = BackColor;
|
lbMsg.BackColor = BackColor;
|
||||||
lbMsg.SelectionColor = RectColor;
|
lbMsg.SelectionColor = RectColor;
|
||||||
}
|
}
|
||||||
|
|
||||||
Invalidate();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void btnOK_MouseEnter(object sender, EventArgs e)
|
private void btnOK_MouseEnter(object sender, EventArgs e)
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
2020.06.21
|
2020.06.21
|
||||||
+ UILoginForm:登录窗体增加两张图片
|
+ UILoginForm:登录窗体增加两张图片
|
||||||
|
* UIMessageForm:解决了Demo消息窗口弹出,界面刷新闪烁的Bug
|
||||||
|
|
||||||
2020.06.20
|
2020.06.20
|
||||||
+ UILoginForm:增加登录窗体
|
+ UILoginForm:增加登录窗体
|
||||||
|
Loading…
x
Reference in New Issue
Block a user