美文网首页
1022_ToolTip

1022_ToolTip

作者: Asa_Guo | 来源:发表于2017-04-18 08:43 被阅读0次
    // 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");
    

    相关文章

      网友评论

          本文标题:1022_ToolTip

          本文链接:https://www.haomeiwen.com/subject/rspxuttx.html