|
-
Feb 19th, 2009, 06:50 AM
#2
Re: [2005] need help with user control
You can't add a Text property because Text is inherited from the Control class, so your UserControl already has a Text property. Think of a different name.
Why have you created a UserControl anyway? If all you want is a TextBox then why not inherit the TextBox class? If you want more functionality then does the DateTimePicker control not already provide that?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|