Exercise


  1. Using the LabelTextbox example as the base, create a new property called MaxLength that stores the maximum number of characters that can be entered into the text box. Then create two new events called MaxLengthChanged and MaxLengthReached. The MaxLengthChanged event should be raised when the MaxLength property is changed, and MaxLengthReached should be raised when the user enters a character making the length of the text in the text box equal to the value of MaxLength.




Beginning Visual C# 2005
Beginning Visual C#supAND#174;/sup 2005
ISBN: B000N7ETVG
EAN: N/A
Year: 2005
Pages: 278

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net