I have made one function named SetControls(control controlName) which only takes control as a argument.And I want to pass the toolstripbutton which is in the tooltipcontainer.Function SetControls() consider toolstripContainer but does not consider toolstripbutton as control and there is error if I pass the toolstripbutton as control.
Then what should I do ? Shoud I convert the toolstripbutton as control, if yes then how??