![]() ![]() Repeat the above task by selecting each component in the Form in turn and changing the (Name) property. Scroll to the top of the list of properties until the (Name) value is visible and change this name from textBox1 to welcomeText: Begin by selecting the top TextEdit component in the Form area so that the panel displays the properties for this component. This and other properties relating to components are specified through the Properties panel which is located in the bottom right hand corner of the main Visual Studio window. It is recommended, therefore, that the default names provided by Visual Studio be replaced by more meaningful ones. For this reason it is important to specify meaningful names which identify the component when referenced in the C# source code. It is via these names that any C# code will interact with the user interface of the application. As components are added to the Form, Visual Studio assigns default names to each one.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |