473,604 Members | 2,481 Online
Bytes | Software Development & Data Engineering Community
+ 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.EventHan dler<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.EventHan dler<TEventArgs > tests
public event EventHandler<Ca ncelEventArgs> TestEvent1;
public event EventHandler<It emChangingEvent Args<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:

// ItemChangingEve ntHandler tests
public event ItemChangingEve ntHandler<DateT ime> TestEvent3;
public event ItemChangingEve ntHandler<DateT ime?> 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 1270

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

Similar topics

11
1800
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 once for the project. Can I do this with a c# asp.net project? (or am i forced to put using on each and every asp.net page?) 2.) Within vs.net with a vb.net project, while editing the code behind file, i have 2 drop downs along the top
1
1475
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 *-----------------------* Posted at: www.GroupSrv.com *-----------------------*
2
13155
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 BoxText. Both of them happily appeared in the Properties window when I dropped my control onto another control. But then I remembered that Microsoft wants to standardize on using the property name "Text" for things that look like text. I decided that...
9
2260
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. Why does this not occur in C#? I have to write the function header myself? Why does it seem C# goes out of its way to be less productive than VB.Net? Has this been fixed in 2005?
1
1109
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 cater for certain events of ceratin controls but can't find where I'm supposed to do this like in VB.NET. Any ideas? Regards
4
2123
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 Delete button on the end of each row. I am unable to gain access to the event when the button is clicked. I don't fully understand how the click gets connected to the C# code,
1
1124
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 have the the following events in my InitializeComponents section: this.Load += new System.EventHandler(this.Page_Load);
3
1653
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 place the eventhandler's signature in the code (including the parameters)? When using VB.NET, all you had to do was select the control from the left dropdown and the event from the right dropdown, and there you go! But C# not only makes you add an...
0
7997
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8419
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8409
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8065
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8280
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
5882
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
3907
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
3955
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2434
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 we have to send another system

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.