List Info

Thread: Overload a EventHandler




Overload a EventHandler
user name
2006-03-04 21:04:29
Hey everybody!
I want to overload the timer.tick() method like tick(Sender
s,
SystemEvtArg e, String my string)
Now I want to execute the method.
But what to put in for Sender and SystemsEvtArg?
Thx a lot
Cheers!


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "C# Developers" group.
To post to this group, send email to CSDevelopersgooglegroups.com
To unsubscribe from this group, send email to
CSDevelopers-unsubscribegooglegroups.com
For more options, visit this group at http://gr
oups.google.com/group/CSDevelopers
-~----------~----~----~----~------~----~------~--~---

Overload a EventHandler
user name
2006-03-06 11:07:47
If your going to call the code manually, ie your not waiting
for the
timer to tick but your just going to call it then why not
just create a
normal procedure?

private void WhatToDoWhenTick(string myString)
{
// content
timer1_tick(null, null);
}


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "C# Developers" group.
To post to this group, send email to CSDevelopersgooglegroups.com
To unsubscribe from this group, send email to
CSDevelopers-unsubscribegooglegroups.com
For more options, visit this group at http://gr
oups.google.com/group/CSDevelopers
-~----------~----~----~----~------~----~------~--~---

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )