Once you have created the C1SuperLabel and C1SuperTooltips, you can add code for the buttons on the form and run the project. To do this, complete the following steps:
To write code in Visual Basic
Visual Basic |
Copy Code
|
---|---|
C1SuperLabel1.Visible = True |
To write code in C#
C# |
Copy Code
|
---|---|
c1SuperLabel1.Visible = true; |
To write code in Visual Basic
Visual Basic |
Copy Code
|
---|---|
C1SuperLabel1.Visible = False |
To write code in C#
C# |
Copy Code
|
---|---|
c1SuperLabel1.Visible = False; |
The text in the ToolTip for Button2 was applied through HTML markup, but you will notice the C1SuperTooltip Vista background style appears in both ToolTips. Any properties you set via the C1SuperTooltip Editor will be the same in all ToolTips for controls associated with that C1SuperTooltip.