473,406 Members | 2,549 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

IDE crashes when drag inherited control with hidden property onto form

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
0 1123

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Rob Richardson | last post by:
Greetings! A few days ago, I asked how to get a property named "Text" to appear in the Properties window for a control I developed. It was being hidden by the Text property of the UserControl...
3
by: Xlay | last post by:
I need to permit the users to drag an item from a ListView control of my form onto the desktop/win explorer. However, I also need to do some pre-processing and manually place the files into the...
0
by: Mark Thompson | last post by:
Hi, Having given up on CsGL, I have recently integrated the Tao OpenGL components into a VB.NET application that I am developing. I have a problem though in that it works fine on two of the...
0
by: Greg | last post by:
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...
0
by: Claes Wedin | last post by:
Hi, I am trying to use a simple control derived from the Button class and I only want to change the size and color... So I create my class: public class MyButton : Button { public MyButton()...
4
by: EmilH | last post by:
Hi. I couldn't find it in msdn. I have a form AddCategory. Now I need EditCategory form which should look exactlay like AddCategory. I add an inherited form to the project. Now all controls'...
8
by: active | last post by:
If I create a UserControl that inherits from, say, Panel, and I do not want my UserControl to have a property that it inherits from Panel. How can I remove it. For example, I might not want by...
6
by: Skysurfer | last post by:
Is it possible to know when a control is added to a form in Design time? I tryed with ControlAdded, but this is also fired when the program starts. I want to set some properties only when a...
0
by: =?Utf-8?B?amJkYXZpcw==?= | last post by:
I enable the AllowDrop property but there is no DragDrop or DragOver events for the WindowsMediaPlayer control? I want to be able to drag a media file onto the control and set the URL property to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.