我在windows服务控制程序的主窗口里面定义了tooltip,可是却没有显示出来。但在其他的窗口中定义的tooltip却可以正常显示。不知道什么原因,请高手指点。
解决方案 »
- c#动态生成txt文档
- C#能实现远程数据库连接吗?
- 为什么我引用:COM-->Microsoft Excel 11.0 Object Library写出的代码与网络上的不一样
- 一个简单的框架集的问题,如何在Main里面显示内容?谢谢!!
- 弹出一个层
- 请问 WinForm中的 DataGrid 如何自定义它的ColumnHeader?
- 如何使用Microsoft Application Center Test
- 觉得学习C#什么最重要!
- “...\obj\Debug\***.tmp”不是有效的 Win32 资源文件
- 如何用ComboBox控件同时绑定用词户名和ID号两个字段值?
- E:\mydotnet\mypj1\index.aspx.cs(35): “System.Data.SqlClient.SqlCommand”并不包含对“Execute”的定义
- [求助]请问控件有没有(或类似)form的OnLoad()事件的?应如何实现?
public class frmMain : System.Windows.Forms.Form
{
......
private System.Windows.Forms.ToolTip toolTip1;
......
private void InitializeComponent()
{
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
this.toolTip1.SetToolTip(this.cmdSet, "clcked here to save!");
this.toolTip1.SetToolTip(this.cmdCancel, "cancel");
this.toolTip1.SetToolTip(this.buttonRemove, "reset robot ");
this.toolTip1.ShowAlways = true;
}