triggers
C#
2
Posts
2
Posters
0
Views
1
Watching
-
is it possible to call a C# code functio from the trigger.....
-
is it possible to call a C# code functio from the trigger.....
waheed awan wrote:
trigger.....
Do you mean event handler? If I have understood your question, you're asking if it is possible to call a method from an event handler, right? Well, the answer is yes. You just type the name of the method within the event handler, then it will be called every time that event is triggered.
private void timer1_Tick(object sender, EventArgs e)
{
SomeMethod();
}Kristian Sixhoej
"Failure is not an option" - Gene Kranz