Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

coding for delegates?

Answer Posted / navin c. pandit

Here is the code how to add a delegate:-

Button_Id.OnClick += new EventHandler(function_name());

where function_name() is the name of the method that you
want to call.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can a class have static constructor?

991


Explain more on CLR

1157


What is the process of delegation?

973


What does using do in c#?

907


Explain About friend and Protected friend

901


Why is c# used?

921


What is decimal in c#?

921


How can we make a thread sleep for infinite period ?

1004


Is comparator a functional interface?

878


What is an assembly qualified name

1057


What is the meaning of 0 in c#?

1002


How will you deploy the dll file in gac?

941


How do you specify a custom attribute for the entire assembly?

967


What is form feed and carriage return?

893


in the nunit test framework, which attribute must adorn a test class in order for it to be picked up by the nunit gui?

1154