c#浮动⽂字框Tooltip控件的使⽤总结随笔
在load函数中:
private void FormsRegister_Load(object sender, EventArgs e)
{
MinimizeBox = false;
MaximizeBox = false;
textbox控件边框设置ControlBox = false;
FormBorderStyle = FormBorderStyle.None;
ToolTip tooltip1 = new ToolTip();
tooltip1.AutoPopDelay = 5000;
tooltip1.InitialDelay = 100;
tooltip1.ShowAlways = true;
tooltip1.ReshowDelay = 100;
tooltip1.SetToolTip(textBox_email,"Please input your e-mail ,which will be used when you forget passwords.");
tooltip1.SetToolTip(textBox_ensureagain, "Please input your pass word again.");
tooltip1.SetToolTip(textBox_password, "Please input your pass word.");
tooltip1.SetToolTip(textBox_username, "Please be sure to remember your username which will not be changed!!"); }
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论