<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
		<id>http://nfex.ru/index.php?action=history&amp;feed=atom&amp;title=Csharp%2FC_Sharp%2FGUI_Windows_Form%2FTooltips</id>
		<title>Csharp/C Sharp/GUI Windows Form/Tooltips - История изменений</title>
		<link rel="self" type="application/atom+xml" href="http://nfex.ru/index.php?action=history&amp;feed=atom&amp;title=Csharp%2FC_Sharp%2FGUI_Windows_Form%2FTooltips"/>
		<link rel="alternate" type="text/html" href="http://nfex.ru/index.php?title=Csharp/C_Sharp/GUI_Windows_Form/Tooltips&amp;action=history"/>
		<updated>2026-04-30T01:25:22Z</updated>
		<subtitle>История изменений этой страницы в вики</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://nfex.ru/index.php?title=Csharp/C_Sharp/GUI_Windows_Form/Tooltips&amp;diff=170&amp;oldid=prev</id>
		<title> в 15:31, 26 мая 2010</title>
		<link rel="alternate" type="text/html" href="http://nfex.ru/index.php?title=Csharp/C_Sharp/GUI_Windows_Form/Tooltips&amp;diff=170&amp;oldid=prev"/>
				<updated>2010-05-26T15:31:18Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Предыдущая&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Версия 15:31, 26 мая 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;text-align: center;&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
			</entry>

	<entry>
		<id>http://nfex.ru/index.php?title=Csharp/C_Sharp/GUI_Windows_Form/Tooltips&amp;diff=171&amp;oldid=prev</id>
		<title>Admin: 1 версия</title>
		<link rel="alternate" type="text/html" href="http://nfex.ru/index.php?title=Csharp/C_Sharp/GUI_Windows_Form/Tooltips&amp;diff=171&amp;oldid=prev"/>
				<updated>2010-05-26T11:33:44Z</updated>
		
		<summary type="html">&lt;p&gt;1 версия&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Add icon to Tooltip==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt;&lt;br /&gt;
using System;&lt;br /&gt;
using System.Collections.Generic;&lt;br /&gt;
using System.ruponentModel;&lt;br /&gt;
using System.Data;&lt;br /&gt;
using System.Drawing;&lt;br /&gt;
using System.Text;&lt;br /&gt;
using System.Windows.Forms;&lt;br /&gt;
public class Form1 : Form&lt;br /&gt;
{&lt;br /&gt;
  private System.Windows.Forms.PictureBox pictureBox1;&lt;br /&gt;
  private System.Windows.Forms.ToolTip toolTip1;&lt;br /&gt;
  private System.Windows.Forms.ToolTip toolTip2;&lt;br /&gt;
  private System.Windows.Forms.PictureBox pictureBox2;&lt;br /&gt;
  public Form1() {&lt;br /&gt;
        InitializeComponent();&lt;br /&gt;
  }&lt;br /&gt;
  private void InitializeComponent()&lt;br /&gt;
  {&lt;br /&gt;
        this.pictureBox1 = new System.Windows.Forms.PictureBox();&lt;br /&gt;
        this.toolTip1 = new System.Windows.Forms.ToolTip(new System.ruponentModel.Container());&lt;br /&gt;
        this.toolTip2 = new System.Windows.Forms.ToolTip(new System.ruponentModel.Container());&lt;br /&gt;
        this.pictureBox2 = new System.Windows.Forms.PictureBox();&lt;br /&gt;
        ((System.ruponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();&lt;br /&gt;
        ((System.ruponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();&lt;br /&gt;
        this.SuspendLayout();&lt;br /&gt;
        // &lt;br /&gt;
        // pictureBox1&lt;br /&gt;
        // &lt;br /&gt;
        this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;&lt;br /&gt;
        this.pictureBox1.Location = new System.Drawing.Point(12, 24);&lt;br /&gt;
        this.pictureBox1.Name = &amp;quot;pictureBox1&amp;quot;;&lt;br /&gt;
        this.pictureBox1.Size = new System.Drawing.Size(100, 50);&lt;br /&gt;
        this.pictureBox1.TabIndex = 0;&lt;br /&gt;
        this.pictureBox1.TabStop = false;&lt;br /&gt;
        this.toolTip1.SetToolTip(this.pictureBox1, &amp;quot;This is a tooltip.&amp;quot;);&lt;br /&gt;
        // &lt;br /&gt;
        // toolTip1&lt;br /&gt;
        // &lt;br /&gt;
        this.toolTip1.ToolTipIcon = System.Windows.Forms.ToolTipIcon.Info;&lt;br /&gt;
        this.toolTip1.ToolTipTitle = &amp;quot;Titled ToolTip&amp;quot;;&lt;br /&gt;
        // &lt;br /&gt;
        // pictureBox2&lt;br /&gt;
        // &lt;br /&gt;
        this.pictureBox2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;&lt;br /&gt;
        this.pictureBox2.Location = new System.Drawing.Point(148, 24);&lt;br /&gt;
        this.pictureBox2.Name = &amp;quot;pictureBox2&amp;quot;;&lt;br /&gt;
        this.pictureBox2.Size = new System.Drawing.Size(100, 50);&lt;br /&gt;
        this.pictureBox2.TabIndex = 1;&lt;br /&gt;
        this.pictureBox2.TabStop = false;&lt;br /&gt;
        this.toolTip2.SetToolTip(this.pictureBox2, &amp;quot;This is a tooltip.&amp;quot;);&lt;br /&gt;
        // &lt;br /&gt;
        // Form1&lt;br /&gt;
        // &lt;br /&gt;
        this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);&lt;br /&gt;
        this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;&lt;br /&gt;
        this.ClientSize = new System.Drawing.Size(279, 107);&lt;br /&gt;
        this.Controls.Add(this.pictureBox2);&lt;br /&gt;
        this.Controls.Add(this.pictureBox1);&lt;br /&gt;
        this.Name = &amp;quot;Form1&amp;quot;;&lt;br /&gt;
        this.Text = &amp;quot;ToolTip Test&amp;quot;;&lt;br /&gt;
        ((System.ruponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();&lt;br /&gt;
        ((System.ruponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();&lt;br /&gt;
        this.ResumeLayout(false);&lt;br /&gt;
  }&lt;br /&gt;
  [STAThread]&lt;br /&gt;
  static void Main()&lt;br /&gt;
  {&lt;br /&gt;
    Application.EnableVisualStyles();&lt;br /&gt;
    Application.Run(new Form1());&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
           &lt;br /&gt;
       &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Add Tooltips for Label==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt;&lt;br /&gt;
using System;&lt;br /&gt;
using System.Collections.Generic;&lt;br /&gt;
using System.ruponentModel;&lt;br /&gt;
using System.Data;&lt;br /&gt;
using System.Drawing;&lt;br /&gt;
using System.Text;&lt;br /&gt;
using System.Windows.Forms;&lt;br /&gt;
public class Form1 : Form&lt;br /&gt;
{&lt;br /&gt;
   private System.Windows.Forms.Label firstLabel;&lt;br /&gt;
   private System.Windows.Forms.Label secondLabel;&lt;br /&gt;
   private System.Windows.Forms.ToolTip labelsToolTip;&lt;br /&gt;
   public Form1() {&lt;br /&gt;
       InitializeComponent();&lt;br /&gt;
   }&lt;br /&gt;
   private void InitializeComponent()&lt;br /&gt;
   {&lt;br /&gt;
      this.firstLabel = new System.Windows.Forms.Label();&lt;br /&gt;
      this.secondLabel = new System.Windows.Forms.Label();&lt;br /&gt;
      this.labelsToolTip = new System.Windows.Forms.ToolTip(new System.ruponentModel.Container());&lt;br /&gt;
      this.SuspendLayout();&lt;br /&gt;
      // &lt;br /&gt;
      // firstLabel&lt;br /&gt;
      // &lt;br /&gt;
      this.firstLabel.AutoSize = true;&lt;br /&gt;
      this.firstLabel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;&lt;br /&gt;
      this.firstLabel.Font = new System.Drawing.Font(&amp;quot;Microsoft Sans Serif&amp;quot;, 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));&lt;br /&gt;
      this.firstLabel.Location = new System.Drawing.Point(12, 20);&lt;br /&gt;
      this.firstLabel.Name = &amp;quot;firstLabel&amp;quot;;&lt;br /&gt;
      this.firstLabel.Size = new System.Drawing.Size(92, 18);&lt;br /&gt;
      this.firstLabel.TabIndex = 0;&lt;br /&gt;
      this.firstLabel.Text = &amp;quot;This is a label.&amp;quot;;&lt;br /&gt;
      this.labelsToolTip.SetToolTip(this.firstLabel, &amp;quot;First Label&amp;quot;);&lt;br /&gt;
      // &lt;br /&gt;
      // secondLabel&lt;br /&gt;
      // &lt;br /&gt;
      this.secondLabel.AutoSize = true;&lt;br /&gt;
      this.secondLabel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;&lt;br /&gt;
      this.secondLabel.Font = new System.Drawing.Font(&amp;quot;Microsoft Sans Serif&amp;quot;, 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));&lt;br /&gt;
      this.secondLabel.Location = new System.Drawing.Point(12, 69);&lt;br /&gt;
      this.secondLabel.Name = &amp;quot;secondLabel&amp;quot;;&lt;br /&gt;
      this.secondLabel.Size = new System.Drawing.Size(133, 18);&lt;br /&gt;
      this.secondLabel.TabIndex = 1;&lt;br /&gt;
      this.secondLabel.Tag = &amp;quot;&amp;quot;;&lt;br /&gt;
      this.secondLabel.Text = &amp;quot;This is another Label.&amp;quot;;&lt;br /&gt;
      this.labelsToolTip.SetToolTip(this.secondLabel, &amp;quot;Second Label&amp;quot;);&lt;br /&gt;
      // &lt;br /&gt;
      // ToolTipExampleForm&lt;br /&gt;
      // &lt;br /&gt;
      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);&lt;br /&gt;
      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;&lt;br /&gt;
      this.ClientSize = new System.Drawing.Size(252, 124);&lt;br /&gt;
      this.Controls.Add(this.secondLabel);&lt;br /&gt;
      this.Controls.Add(this.firstLabel);&lt;br /&gt;
      this.Name = &amp;quot;ToolTipExampleForm&amp;quot;;&lt;br /&gt;
      this.Text = &amp;quot;ToolTip Demonstration&amp;quot;;&lt;br /&gt;
      this.ResumeLayout(false);&lt;br /&gt;
      this.PerformLayout();&lt;br /&gt;
   }&lt;br /&gt;
  [STAThread]&lt;br /&gt;
  static void Main()&lt;br /&gt;
  {&lt;br /&gt;
    Application.EnableVisualStyles();&lt;br /&gt;
    Application.Run(new Form1());&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
           &lt;br /&gt;
       &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Add Tooltip to a component==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt;&lt;br /&gt;
using System;&lt;br /&gt;
using System.Collections.Generic;&lt;br /&gt;
using System.ruponentModel;&lt;br /&gt;
using System.Data;&lt;br /&gt;
using System.Drawing;&lt;br /&gt;
using System.Text;&lt;br /&gt;
using System.Windows.Forms;&lt;br /&gt;
public class Form1 : Form&lt;br /&gt;
{&lt;br /&gt;
  private System.Windows.Forms.PictureBox pictureBox1;&lt;br /&gt;
  private System.Windows.Forms.ToolTip toolTip1;&lt;br /&gt;
  private System.Windows.Forms.ToolTip toolTip2;&lt;br /&gt;
  private System.Windows.Forms.PictureBox pictureBox2;&lt;br /&gt;
  public Form1() {&lt;br /&gt;
        InitializeComponent();&lt;br /&gt;
  }&lt;br /&gt;
  private void InitializeComponent()&lt;br /&gt;
  {&lt;br /&gt;
        this.pictureBox1 = new System.Windows.Forms.PictureBox();&lt;br /&gt;
        this.toolTip1 = new System.Windows.Forms.ToolTip(new System.ruponentModel.Container());&lt;br /&gt;
        this.toolTip2 = new System.Windows.Forms.ToolTip(new System.ruponentModel.Container());&lt;br /&gt;
        this.pictureBox2 = new System.Windows.Forms.PictureBox();&lt;br /&gt;
        ((System.ruponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();&lt;br /&gt;
        ((System.ruponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();&lt;br /&gt;
        this.SuspendLayout();&lt;br /&gt;
        // &lt;br /&gt;
        // pictureBox1&lt;br /&gt;
        // &lt;br /&gt;
        this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;&lt;br /&gt;
        this.pictureBox1.Location = new System.Drawing.Point(12, 24);&lt;br /&gt;
        this.pictureBox1.Name = &amp;quot;pictureBox1&amp;quot;;&lt;br /&gt;
        this.pictureBox1.Size = new System.Drawing.Size(100, 50);&lt;br /&gt;
        this.pictureBox1.TabIndex = 0;&lt;br /&gt;
        this.pictureBox1.TabStop = false;&lt;br /&gt;
        this.toolTip1.SetToolTip(this.pictureBox1, &amp;quot;This is a tooltip.&amp;quot;);&lt;br /&gt;
        // &lt;br /&gt;
        // toolTip1&lt;br /&gt;
        // &lt;br /&gt;
        this.toolTip1.ToolTipIcon = System.Windows.Forms.ToolTipIcon.Info;&lt;br /&gt;
        this.toolTip1.ToolTipTitle = &amp;quot;Titled ToolTip&amp;quot;;&lt;br /&gt;
        // &lt;br /&gt;
        // pictureBox2&lt;br /&gt;
        // &lt;br /&gt;
        this.pictureBox2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;&lt;br /&gt;
        this.pictureBox2.Location = new System.Drawing.Point(148, 24);&lt;br /&gt;
        this.pictureBox2.Name = &amp;quot;pictureBox2&amp;quot;;&lt;br /&gt;
        this.pictureBox2.Size = new System.Drawing.Size(100, 50);&lt;br /&gt;
        this.pictureBox2.TabIndex = 1;&lt;br /&gt;
        this.pictureBox2.TabStop = false;&lt;br /&gt;
        this.toolTip2.SetToolTip(this.pictureBox2, &amp;quot;This is a tooltip.&amp;quot;);&lt;br /&gt;
        // &lt;br /&gt;
        // Form1&lt;br /&gt;
        // &lt;br /&gt;
        this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);&lt;br /&gt;
        this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;&lt;br /&gt;
        this.ClientSize = new System.Drawing.Size(279, 107);&lt;br /&gt;
        this.Controls.Add(this.pictureBox2);&lt;br /&gt;
        this.Controls.Add(this.pictureBox1);&lt;br /&gt;
        this.Name = &amp;quot;Form1&amp;quot;;&lt;br /&gt;
        this.Text = &amp;quot;ToolTip Test&amp;quot;;&lt;br /&gt;
        ((System.ruponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();&lt;br /&gt;
        ((System.ruponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();&lt;br /&gt;
        this.ResumeLayout(false);&lt;br /&gt;
  }&lt;br /&gt;
  [STAThread]&lt;br /&gt;
  static void Main()&lt;br /&gt;
  {&lt;br /&gt;
    Application.EnableVisualStyles();&lt;br /&gt;
    Application.Run(new Form1());&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
           &lt;br /&gt;
       &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Tooltips Demo==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt;&lt;br /&gt;
/*&lt;br /&gt;
Professional Windows GUI Programming Using C#&lt;br /&gt;
by Jay Glynn, Csaba Torok, Richard Conway, Wahid Choudhury, &lt;br /&gt;
   Zach Greenvoss, Shripad Kulkarni, Neil Whitlow&lt;br /&gt;
Publisher: Peer Information&lt;br /&gt;
ISBN: 1861007663&lt;br /&gt;
*/&lt;br /&gt;
using System;&lt;br /&gt;
using System.Drawing;&lt;br /&gt;
using System.Collections;&lt;br /&gt;
using System.ruponentModel;&lt;br /&gt;
using System.Windows.Forms;&lt;br /&gt;
using System.Data;&lt;br /&gt;
namespace Tooltips&lt;br /&gt;
{&lt;br /&gt;
    /// &amp;lt;summary&amp;gt;&lt;br /&gt;
    /// Summary description for Form1.&lt;br /&gt;
    /// &amp;lt;/summary&amp;gt;&lt;br /&gt;
    public class Tooltips : System.Windows.Forms.Form&lt;br /&gt;
    {&lt;br /&gt;
        private System.Windows.Forms.Button btnTooltips;&lt;br /&gt;
        private System.Windows.Forms.TextBox txtTooltip;&lt;br /&gt;
        /// &amp;lt;summary&amp;gt;&lt;br /&gt;
        /// Required designer variable.&lt;br /&gt;
        /// &amp;lt;/summary&amp;gt;&lt;br /&gt;
        private System.ruponentModel.Container components = null;&lt;br /&gt;
        public Tooltips()&lt;br /&gt;
        {&lt;br /&gt;
            //&lt;br /&gt;
            // Required for Windows Form Designer support&lt;br /&gt;
            //&lt;br /&gt;
            InitializeComponent();&lt;br /&gt;
            //&lt;br /&gt;
            // TODO: Add any constructor code after InitializeComponent call&lt;br /&gt;
            //&lt;br /&gt;
            ToolTip forButton = new ToolTip();&lt;br /&gt;
            forButton.SetToolTip(btnTooltips, &amp;quot;You are now over the button!!&amp;quot;);&lt;br /&gt;
            forButton.SetToolTip(txtTooltip, &amp;quot;You are now over the textbox!!&amp;quot;);&lt;br /&gt;
            forButton.AutomaticDelay = 2000;&lt;br /&gt;
        }&lt;br /&gt;
        /// &amp;lt;summary&amp;gt;&lt;br /&gt;
        /// Clean up any resources being used.&lt;br /&gt;
        /// &amp;lt;/summary&amp;gt;&lt;br /&gt;
        protected override void Dispose( bool disposing )&lt;br /&gt;
        {&lt;br /&gt;
            if( disposing )&lt;br /&gt;
            {&lt;br /&gt;
                if (components != null) &lt;br /&gt;
                {&lt;br /&gt;
                    components.Dispose();&lt;br /&gt;
                }&lt;br /&gt;
            }&lt;br /&gt;
            base.Dispose( disposing );&lt;br /&gt;
        }&lt;br /&gt;
        #region Windows Form Designer generated code&lt;br /&gt;
        /// &amp;lt;summary&amp;gt;&lt;br /&gt;
        /// Required method for Designer support - do not modify&lt;br /&gt;
        /// the contents of this method with the code editor.&lt;br /&gt;
        /// &amp;lt;/summary&amp;gt;&lt;br /&gt;
        private void InitializeComponent()&lt;br /&gt;
        {&lt;br /&gt;
            this.btnTooltips = new System.Windows.Forms.Button();&lt;br /&gt;
            this.txtTooltip = new System.Windows.Forms.TextBox();&lt;br /&gt;
            this.SuspendLayout();&lt;br /&gt;
            // &lt;br /&gt;
            // btnTooltips&lt;br /&gt;
            // &lt;br /&gt;
            this.btnTooltips.Location = new System.Drawing.Point(0, 152);&lt;br /&gt;
            this.btnTooltips.Name = &amp;quot;btnTooltips&amp;quot;;&lt;br /&gt;
            this.btnTooltips.Size = new System.Drawing.Size(288, 104);&lt;br /&gt;
            this.btnTooltips.TabIndex = 0;&lt;br /&gt;
            this.btnTooltips.Text = &amp;quot;Press Me&amp;quot;;&lt;br /&gt;
            // &lt;br /&gt;
            // txtTooltip&lt;br /&gt;
            // &lt;br /&gt;
            this.txtTooltip.Location = new System.Drawing.Point(0, 8);&lt;br /&gt;
            this.txtTooltip.Multiline = true;&lt;br /&gt;
            this.txtTooltip.Name = &amp;quot;txtTooltip&amp;quot;;&lt;br /&gt;
            this.txtTooltip.Size = new System.Drawing.Size(288, 136);&lt;br /&gt;
            this.txtTooltip.TabIndex = 1;&lt;br /&gt;
            this.txtTooltip.Text = &amp;quot;&amp;quot;;&lt;br /&gt;
            // &lt;br /&gt;
            // Tooltips&lt;br /&gt;
            // &lt;br /&gt;
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);&lt;br /&gt;
            this.ClientSize = new System.Drawing.Size(292, 266);&lt;br /&gt;
            this.Controls.AddRange(new System.Windows.Forms.Control[] {&lt;br /&gt;
                                                                          this.txtTooltip,&lt;br /&gt;
                                                                          this.btnTooltips});&lt;br /&gt;
            this.Name = &amp;quot;Tooltips&amp;quot;;&lt;br /&gt;
            this.Text = &amp;quot;Tooltips&amp;quot;;&lt;br /&gt;
            this.ResumeLayout(false);&lt;br /&gt;
        }&lt;br /&gt;
        #endregion&lt;br /&gt;
        /// &amp;lt;summary&amp;gt;&lt;br /&gt;
        /// The main entry point for the application.&lt;br /&gt;
        /// &amp;lt;/summary&amp;gt;&lt;br /&gt;
        [STAThread]&lt;br /&gt;
        static void Main() &lt;br /&gt;
        {&lt;br /&gt;
            Application.Run(new Tooltips());&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
           &lt;br /&gt;
       &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Tooltips for Button==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt; &lt;br /&gt;
using System;&lt;br /&gt;
using System.Drawing;&lt;br /&gt;
using System.Collections;&lt;br /&gt;
using System.ruponentModel;&lt;br /&gt;
using System.Windows.Forms;&lt;br /&gt;
using System.Data;&lt;br /&gt;
public class Tooltips : System.Windows.Forms.Form {&lt;br /&gt;
    private System.Windows.Forms.Button btnTooltips;&lt;br /&gt;
    private System.Windows.Forms.TextBox txtTooltip;&lt;br /&gt;
    public Tooltips() {&lt;br /&gt;
        ToolTip forButton = new ToolTip();&lt;br /&gt;
        forButton.SetToolTip(btnTooltips, &amp;quot;You are now over the button!!&amp;quot;);&lt;br /&gt;
        forButton.SetToolTip(txtTooltip, &amp;quot;You are now over the textbox!!&amp;quot;);&lt;br /&gt;
        forButton.AutomaticDelay = 2000;&lt;br /&gt;
        this.btnTooltips = new System.Windows.Forms.Button();&lt;br /&gt;
        this.txtTooltip = new System.Windows.Forms.TextBox();&lt;br /&gt;
        this.SuspendLayout();&lt;br /&gt;
        this.btnTooltips.Location = new System.Drawing.Point(0, 152);&lt;br /&gt;
        this.btnTooltips.Size = new System.Drawing.Size(288, 104);&lt;br /&gt;
        this.btnTooltips.Text = &amp;quot;Press Me&amp;quot;;&lt;br /&gt;
        this.txtTooltip.Location = new System.Drawing.Point(0, 8);&lt;br /&gt;
        this.txtTooltip.Multiline = true;&lt;br /&gt;
        this.txtTooltip.Size = new System.Drawing.Size(288, 136);&lt;br /&gt;
        this.txtTooltip.Text = &amp;quot;&amp;quot;;&lt;br /&gt;
        this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);&lt;br /&gt;
        this.ClientSize = new System.Drawing.Size(292, 266);&lt;br /&gt;
        this.Controls.AddRange(new System.Windows.Forms.Control[] {&lt;br /&gt;
                                      this.txtTooltip,&lt;br /&gt;
                                      this.btnTooltips});&lt;br /&gt;
        this.ResumeLayout(false);&lt;br /&gt;
    }&lt;br /&gt;
    [STAThread]&lt;br /&gt;
    static void Main() {&lt;br /&gt;
        Application.Run(new Tooltips());&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
 &amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	</feed>