A
Alex
Hi all -
I'm trying to put a tooltip on a label in csharp... I found an example
that says to add some code to the InitializeComponent() method, but that's
in the .Designer.cs file - which says to not edit it.
Is there a different way to go about it that is designer friendly?
....in InitializeComponent():
this.labelsToolTip = new System.Windows.Forms.ToolTip(new
System.ComponentModel.Container());
....in form:
this.labelsToolTip.SetToolTip(label1, "First Label");
Thanks!
I'm trying to put a tooltip on a label in csharp... I found an example
that says to add some code to the InitializeComponent() method, but that's
in the .Designer.cs file - which says to not edit it.
Is there a different way to go about it that is designer friendly?
....in InitializeComponent():
this.labelsToolTip = new System.Windows.Forms.ToolTip(new
System.ComponentModel.Container());
....in form:
this.labelsToolTip.SetToolTip(label1, "First Label");
Thanks!