PDA

Click to See Complete Forum and Search --> : [RESOLVED] Label.TextChanged


VJgamer
May 31st, 2007, 11:22 PM
In VB.NET there is a TextChanged event for labels. Is this not the case for C#?

Shuja Ali
May 31st, 2007, 11:42 PM
It is the same label that you used in VB.NET so it will have same properties, methods and events.

open the Form, select the Label and open Properties Window. At the top of the properties window select the button with lightning flash. This will display all the available events. Scroll down and there you will see the textChanged Events.

Actually C# works in a little bit different way. In VB.NET you can open the Code Window and select the Event Handler that you want from the Drop Down at the top right corner of the window. However in C# you need to add the Event Handler code.

VJgamer
Jun 1st, 2007, 03:08 AM
Thanks... I have it now!