31 lines
761 B
C#
Raw Normal View History

using System.Drawing;
namespace Sunny.UI.Demo
2020-05-11 21:11:29 +08:00
{
public partial class FOther : UITitlePage
{
public FOther()
{
InitializeComponent();
uiToolTip1.SetToolTip(uiLabel2, "赠人玫瑰手有余香", "SunnyUI");
uiToolTip1.SetToolTip(uiLabel3, "赠人玫瑰手有余香"+'\n'+ "赠人玫瑰手有余香",
"SunnyUI", 61530,32,UIColor.Green);
2020-05-11 21:11:29 +08:00
}
private int value;
public override void Init()
{
value = 0;
timer1.ReStart();
}
private void timer1_Tick(object sender, System.EventArgs e)
{
value++;
uiTrackBar1.Value = value;
uiProcessBar1.Value = value;
}
}
}