473,480 Members | 2,019 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Provider properties + IExtenderProvider

WXS
Is there any way to create an extender that provides an event to all controls
that
I return CanExtends==true for? It seems I can provide properties, like
strings, bools, ints, but not events to other controls.

The reason I would like to do this is so I can associate an event with the
control and have the designer automatically add the event handler for me when
the user double clicks the event in the event pane of the designer for the
control.

Is there a way to do this?
Thanks,
Dave
Nov 16 '05 #1
1 1474
I answered this over in WindowsForms. Please don't multipost.

--
Bob Powell [MVP]
Visual C#, System.Drawing

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.

"WXS" <WX*@discussions.microsoft.com> wrote in message
news:E8**********************************@microsof t.com...
Is there any way to create an extender that provides an event to all controls that
I return CanExtends==true for? It seems I can provide properties, like
strings, bools, ints, but not events to other controls.

The reason I would like to do this is so I can associate an event with the
control and have the designer automatically add the event handler for me when the user double clicks the event in the event pane of the designer for the
control.

Is there a way to do this?
Thanks,
Dave

Nov 16 '05 #2

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

Similar topics

5
1413
by: Steven | last post by:
Hi, I have implemented the IExtenderProvider interface (and inherited from Component) in a class that I am using with ASP.NET controls. The field shows up fine in the VS.NET properties grid,...
0
917
by: Steven | last post by:
Hi, I have implemented the IExtenderProvider interface (and inherited from Component) in a class that I am using with ASP.NET controls. The field shows up fine in the VS.NET properties grid,...
0
1138
by: JerryK | last post by:
Hi, I am having a problem with a form not being derefernced when it closes. After some troubleshooting it appears the the problem is that the error provider on a the base form is still holding a...
1
1754
by: Chris Dunaway | last post by:
I have created a simple Extender Provider and when I drop it onto a form, it appears in the component tray, but none of the controls it is supposed to provide a property for show the property in...
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,...
0
7081
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...
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
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,...
0
4481
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
2984
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
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 ...
0
179
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.