tooltip是什么控件 有什么用啊 谁能提供个典型实例
谢谢了

解决方案 »

  1.   

    // This example assumes that the Form_Load event handling method
    // is connected to the Load event of the form.
    private void Form1_Load(object sender, System.EventArgs e)
    {
       // Create the ToolTip and associate with the Form container.
       ToolTip toolTip1 = new ToolTip();   // Set up the delays for the ToolTip.
       toolTip1.AutoPopDelay = 5000;
       toolTip1.InitialDelay = 1000;
       toolTip1.ReshowDelay = 500;
       // Force the ToolTip text to be displayed whether or not the form is active.
       toolTip1.ShowAlways = true;
          
       // Set up the ToolTip text for the Button and Checkbox.
       toolTip1.SetToolTip(this.button1, "My button1");
       toolTip1.SetToolTip(this.checkBox1, "My checkBox1");
    }
      

  2.   

    好象tooltip不是控件吧,我怎么记得是控件的一个属性,就是鼠标放到控件上显示的提示
      

  3.   

    以前做过一个东西,是一幅中国地图,每个省上加一个linkbutton,
    并用它的tooltip显示数据库中读出来的统计数据,这样你把鼠标移上去时,不同的省可以显示出不同的统计数据。
      

  4.   

    WebForm里没有ToolTip类,第三方控件倒是有, zdjray(Java->.Net)写的是WinForm下ToolTip的用法。==== 
    ~~~~ 我的Blog:http://blog.csdn.net/quou2002