我想在窗口应用程序中弹出消息

问题描述:

我在基于Windows的应用程序中做了一个用户控件..我在Windows主窗体中添加了该用户控件...我要做的是当光标位于该控件上时我想显示一个弹出窗口我将在其中放置有关该表格的信息..

i have made one user-control in windows based application..i have added that user control in my windows main form...what i want to do is when my cursor is on that control i want to display a popup window in which i will put information about that form..

您可能想使用无模式表格. Google是您的朋友.不要忘记用光标离开控件来隐藏无模式形式.您也可以使用工具提示,但是如果需要多行,则可能会比较棘手.
You probably want to use a modeless form. Google is your friend. Don''t forget to hide the modeless form with the cursor leaves the control. You could also you the tooltip, but that can be trickier if you need multiple lines.


您可以使用工具提示控件来显示表单信息.在您的用户控件i中显示新属性后,只需将工具提示控件拖放到您的获胜表单中即可. e"tooltip on tooltip1" ="="此处输入文字.
You can use Tooltip control to display the Form information. Just drag and drop the tooltip control in you win form there after a new property would be displayed in your user control i. e "tooltip on tooltip1"="Your Text Here".