Click here to Skip to main content
15,888,113 members

Comments by Pranjit Kalita (Top 1 by date)

Pranjit Kalita 22-Nov-11 12:18pm View    
public void PassLabelControl(System.Windows.Forms.Label myLabelControl)
{
//Do Something with your Lavel
}

Call The PassLabelControl method
System.Windows.Forms.Label lblMyLabel=new Label();
PassLabelControl(lblMyLabel);