在C#Windows应用程序表单中显示类似toop tip的注释。 [英] Showing annotation like toop tip in C# Windows application form.
本文介绍了在C#Windows应用程序表单中显示类似toop tip的注释。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
任何人都可以帮我在C#windows Form应用程序中显示文本框的工具提示作为注释。
提前致谢。
解决方案
工具提示提示= new ToolTip();
tip.ToolTipIcon = ToolTipIcon.Info;
tip.IsBalloon = true ;
tip.ShowAlways = true ;
tip.AutoPopDelay = 5000 ;
tip.InitialDelay = 1000 ;
tip.ReshowDelay = 500 ;
tip.SetToolTip(textBox1, Hello);
Can anyone help me to display the tool tip for a text box as a annotation in C# windows Form application.
Thanks in advance.
解决方案
ToolTip tip = new ToolTip(); tip.ToolTipIcon = ToolTipIcon.Info; tip.IsBalloon = true; tip.ShowAlways = true; tip.AutoPopDelay = 5000; tip.InitialDelay = 1000; tip.ReshowDelay = 500; tip.SetToolTip(textBox1, "Hello");
这篇关于在C#Windows应用程序表单中显示类似toop tip的注释。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文