24 lines
582 B
C#
Raw Normal View History

namespace Sunny.UI.Demo
2020-05-11 21:11:29 +08:00
{
public partial class FTextBox : UIPage
2020-05-11 21:11:29 +08:00
{
public FTextBox()
{
InitializeComponent();
2023-02-07 22:01:24 +08:00
uiTextBox1.SetTipsText(uiToolTip1, "Hello World.");
uiTextBox5.SetTipsText(uiToolTip1, "Hello World.");
2020-05-11 21:11:29 +08:00
}
2021-07-18 15:24:32 +08:00
private void FTextBox_Shown(object sender, System.EventArgs e)
{
uiTextBox1.Focus();
}
2021-10-15 16:43:26 +08:00
private void uiTextBox1_ButtonClick(object sender, System.EventArgs e)
{
ShowInfoTip("您点击了编辑框的按钮。");
}
2020-05-11 21:11:29 +08:00
}
}