1、BalloonTip(气泡提醒)
效果:
代码:
balloonTip1.SetBalloonCaption(txtusername, "提示");
balloonTip1.SetBalloonText(txtusername, "请输入用户名");
balloonTip1.SetBalloonCaption(txtuserpwd, "提示");
balloonTip1.SetBalloonText(txtuserpwd, "请输入密码");
另外,DotNetBar下的控件可以在控件属性里直接设置
如:
效果:
BalloonTio