By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,894 Members | 2,002 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,894 IT Pros & Developers. It's quick & easy.

IDE crashes when drag inherited control with hidden property onto form

P: n/a
I've overriden the DateTimePicker control. Its been working fine so
far, but when I override the Format property to hide it from the design
time properties in the IDE, the IDE crashes when I try to put the newly
created control onto a form.

The code for the hiding of the property is:

public new DateTimePickerFormat Format
{
get
{
return this.Format;
}
set
{
this.Format = value;
}

}

Without the above code, the IDE crashes, but I still need a way of
hiding the Format property.

Any tips? I've never had to do this before, so the code above might be
very, very wrong!

Greg.

Sep 28 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.