What are C# input parameters of Control? For example, I was looking at code (this is something someone else had coded at work, and there procedure was public sub CheckData(Control)
{
}
What is that input parameter 'Control'?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jignesh TrivediPosted Jan 24, 2013, 11:06 PM
for the web application(ASP.net) all controls are basically inherit from System.Web.UI.WebControls name space and WebControl class.
for the winform application all controls are basically inherit from System.Windows.Forms name space and Control class.
you may use base class as input paramter type.
hope this will help you.
richard smithPosted Jan 25, 2013, 7:51 AM
How would I do that?