473,386 Members | 1,801 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,386 software developers and data experts.

Inherits Question...

I am inheriting the System.Timers.Timer within my control in order to add timer functionality... I able to access both methods and Props, How do I access the tick event? Basically when this particulr function is called I pass a var which sets the interval, I want to invoke and access the tick event from within my class which inherits the Timer

Thanks

Anthony Nystrom
Nov 20 '05 #1
2 840
Hi Anthony,

I thought that a solution for this is to make your tick event as a public
tick event from your created class witch is set by the the tick event inside
the class.

If this is not clear repeat?

I hope this helps?

Cor
Nov 20 '05 #2
* =?Utf-8?B?QW50aG9ueSBOeXN0cm9t?= <an************@genetibase.com> scripsit:
I am inheriting the System.Timers.Timer within my control in order to
add timer functionality...
Are you really /inheriting/ from this class, or are you /instantiating/
this class?
I able to access both methods and Props, How do I access the tick
event? Basically when this particulr function is called I pass a var
which sets the interval, I want to invoke and access the tick event from
within my class which inherits the Timer.


"Post your code!"

'System.Timers.Timer' doesn't have a 'Tick' event.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #3

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

Similar topics

1
by: shine | last post by:
<%@ Page language="c#" Codebehind="WebForm1.aspx.cs" AutoEventWireup="false" Inherits="shine.WebForm1" %> what does Inherits means in this tag, what is the use of it plz explain me regards...
4
by: Ben R. | last post by:
Between ClassName and Inherits, which attribute is set to specify the class that a page uses? I would think that would be inherits. Further, the description for ClassName is: Specifies the class...
3
by: Wes | last post by:
Why can't you create a Generic type that inherits from Attribute? Of course I'm talking about in C# 2.0 and .Net Framework 2.0. I posted this question on my weblog...
0
by: Rob Meade | last post by:
Hi all, ok - the scenario... We have a secure login page known as the Clinical Portal (single login etc) - we have a web user control for this which checks if a session is available or not...
1
by: Roberto Bindini | last post by:
Hi with visual studio 2005 beta 2 i have created two form: frm1 (Inherits System.Web.UI.Page) frm2 (Inherits frm1) but in the line code : Inherits frm1 vs send error: type frm1 is not defined
2
by: Marc Robitaille | last post by:
Hello, I created a VB class that inhertis from System.Web.UI.Page. I set the class to be MustInherit because I set some subs and functions to be MustOverride. I created a webform call frmClient....
10
by: Tony Abate | last post by:
I am working on an ASP.NET app that is going well except for one thing. I build my application and then move the .aspx file to a different directory. I can point the Codebehind property back to the...
2
by: Don | last post by:
1. Say I have three classes: A, B and C. 2. Class A can only be inherited, and B inherits it. C does not inherit anything. 3. I have a function that can have an object passed to it. Either B...
8
by: Jim | last post by:
What is the difference between using Inherits and Implements? I think I get it, but I want to be sure.....
2
by: Husam | last post by:
Hi EveryBody: I have some question that I hope some body help me to answer it : Q1\ How can I Inherits two class inside one class ? Q2\ How can I convert the fowwloing code from C# to VB.Net...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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
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...

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.