Hi! Gud day...
Can anyone help me how to use addhandler in C#.net...?
Is it different with vb.net addhandler? Can any one gave me a sample code for addhandler in c#.net?
Thanks! Yahaah..............
Hi! Gud day...
Can anyone help me how to use addhandler in C#.net...?
Is it different with vb.net addhandler? Can any one gave me a sample code for addhandler in c#.net?
Thanks! Yahaah..............
it is different... event handling in vb.net is simplified... and for the sample, go ask mr. google..
AddHandler is vb.net thing right?
in c# if you are trying to create a handler for a custom control then you have to make a delegate class.
public delegate void SomeHandlerName(object sender, SomeParameterClass param);
and inside your class...
class1 {
public event SomeHandlerName OnSomeHanderName;
}
something like that
Similar Threads |
|