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

Home Posts Topics Members FAQ

usercontrol events/properties question

how can i have my control that i made, only have my properties and my events,
not the premade ones? i hope this makes sense...
--
-iwdu15
Jan 21 '06 #1
3 891
Hi, I'm not an expert but I will give what I beleive to be a good
explanation,

You need to define the ones you want to Allow to run from your base class.

lets say it is a round button you have .

roundButton.click = mybase.click ( or Raise mybase.click) or something like
that.

This is what I understands of the thing I might be wrong .

Hope that help.
"iwdu15" <jmmgoalsteratyahoodotcom> wrote in message
news:3B**********************************@microsof t.com...
how can i have my control that i made, only have my properties and my
events,
not the premade ones? i hope this makes sense...
--
-iwdu15

Jan 21 '06 #2
"iwdu15" <jmmgoalsteratyahoodotcom> schrieb
how can i have my control that i made, only have my properties and
my events, not the premade ones? i hope this makes sense...

Inheritance means, you inherit everything (everything but constructors
because they define how the specific class instance can be created). The new
class "is made of" the base class + the new members.
Armin

Jan 21 '06 #3
ohhh ok, thanks
--
-iwdu15
Jan 21 '06 #4

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

Similar topics

4
by: Francesco | last post by:
Hi all, I am trying to make a UserControl with a TextBox in it. I have to publish the TextChanged event of the inner TextBox, but I have some trouble. If I declare : public event EventHandler...
6
by: Peter Wone | last post by:
Hosting the WebBrowser control is easy. Customising it is not. You have to implement IDocHostShowUI, IDocHostUIHandler, IDocHostUIHandler2, and IOleClientSite, not one of which appears in a typelib...
3
by: Patrick.O.Ige | last post by:
I created a USERCONTROL and i want to call a LABEL from an ASPX page. The USERCONTROL is in the ASPX page I have the label :- Label lblstr = new Label(); And displaying using:-...
3
by: Don | last post by:
I've created a custom UserControlwithin which I have placed a Panel. I've changed the Panel's "Modifier" property to Public so that it appears in the Properties Window of the UserControl. This...
9
by: Jacek Jurkowski | last post by:
.... make COM exposed object to have both constructors COM visible not only the first one?
2
by: gerry | last post by:
based on MSPress's ASP.NET 2.0 Applications Advaced Topics ( Table 12-3 p.472 ), and most events should be automatically wired up when @Control AutoEventWireup="true". ie. Page_InitComplete() {}...
3
by: avy32 | last post by:
Hi I develop an usercontrol that inherits the button class in Visual Basic Net.That usercontrol I will use it in a Visual basic 6 application. When I put this usercontrol on a form in Visual Basic...
10
by: Benton | last post by:
Hi there, I have a UserControl with a couple of textboxes and a couple of buttons ("Save" and "Cancel"). The Click event for this buttons is in the UserControl's codebehind of course, so here's...
1
by: Jamie Risk | last post by:
I'm implementing a Windows application in C# .Net 2.0. On many of the forms I need to have record navigation capabilities (forwards, backwards, first, last etc) which I chose a to do with a...
1
by: Lloyd Sheen | last post by:
I have a user control with two events. I drag it on the page I want to use it. No problem. Execute to show the page and it renders correctly. So far so good. Now back to designer. Click on...
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
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
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
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...
1
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
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...
0
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
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
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.