473,480 Members | 1,839 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Events not appearing in VS Properties window

I've run across something that I would like to confirm. Does the VS 2005
Properties window have a couple of bugs displaying events that use generics
or nullables? I ran some tests, and I found that the Properties window won't
display:

1. Events that use the System.EventHandler<TEventArgs> delegate, if the
event args are generic (such as MyEventArgs<T>). The first event below will
appear in the Properties window; the second will not:

// System.EventHandler<TEventArgs> tests
public event EventHandler<CancelEventArgs> TestEvent1;
public event EventHandler<ItemChangingEventArgs<int>> TestEvent2;

2. Events that use generically-typed delegates, if the delegate's event args
are typed to a nullable type. The first event below will appear in the
Properties window; the second will not:

// ItemChangingEventHandler tests
public event ItemChangingEventHandler<DateTime> TestEvent3;
public event ItemChangingEventHandler<DateTime?> TestEvent4;

Has anyone else run across these problems? Is it a bug and, if so, is there
a fix? Thanks.

--
David Veeneman
Foresight Systems
Apr 7 '06 #1
0 1263

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

Similar topics

11
1783
by: dave | last post by:
I have been using vb.net /asp.net for 2 years. I am slowing switching over to c# and have 2 questions. 1.) Within vb.net I can go into asp.net project properties and I can enter the imports...
1
1457
by: tolisss | last post by:
Hi does ne1 know how could i make the events window appear using keyb like we have F4 for the properties window i need a shortcut for the events also can ne1 help me on this please ...
2
13130
by: Rob Richardson | last post by:
Greetings! I just developed a little control I've wanted for ages. It links a textbox and a label into a single control. At first, I gave it a property named LabelText and another named...
9
2258
by: Greg Muncien | last post by:
In VB.Net, when you double click a control you see all available events of that control in a combo box. Click on one, and the interface code is right there waiting for you to type implementation....
1
1102
by: John | last post by:
Hi all, Ive created a new ASP.NET web app and am trying to learn C#/VS 2005. My first hurdle is that I can't find anywhere in the IDE where I can associate a control with it's events. I need to...
4
2114
by: Jeff User | last post by:
Hi I tryed to solve this problem over in the framework.asp group, but still am having trouble. Hope someone here can help. using .net 1.1, VS 2003 and C# I have an asp.DataGrid control with a...
1
1116
by: tshad | last post by:
One of the differences with building one page style in DW and code behind in VS 2003 is you have to declare the events (apparently). For some reason my events will disapper. For example: I...
3
1641
by: Nathan Sokalski | last post by:
I am an ASP.NET developer and am trying to learn more about C# as a codebehind language. When writing the code to handle an event, is there an easy way to have Visual Studio 2005 automatically...
0
7041
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
6908
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7043
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,...
1
6737
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
6921
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
5336
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4776
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...
0
1300
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
563
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.