Wednesday 25 May 2016

Setting the text for label control windows form

Creating an instance of a Label.


Label label1 = new Label();


Set text to display on the control 


label1.Text = "First Name";

Supported in: 4, 3.5, 3.0, 2.0, 1.1, 1.0

No comments:

Post a Comment