I have created two custom controls. On the basis of features any one of them will be selected and used in C# application. I have loaded the desired control but how i can use there functions e.g There is a public function of my control LoadXML() . Both controls contain this function.
Only one control will be loaded at one time.
I have created two custom controls. On the basis of features any one of
Share
Create an instance of your control, then add it to the form, after that you can call its public exposed methods.
If you are loading controls through dll, try this to call the method:
http://msdn.microsoft.com/en-us/library/25y1ya39.aspx