Today let use discuss about a sample application. In our application we can include many controls from our toolbox. While we add these elements we can edit the properties of that particular control and we can also generate events to that control
First let us discuss about properties and events with respect to control.
Properties of a particular control is available to describe a control. It depends upon the user to edit some particular control. It can be done in the following ways.
- On the main menu, you can click View -> Properties Window
- On the grid, you can right-click anything (either the grid itself or any control positioned on it) and click Properties
- The shortcut to display the Properties window is F4
Events of the controls is the action or event generated by the particular control at runtime. Most of the controls have default event.
- In properties window we can see thunder symbol and when we click on this symbol we can generate events according to the applications
Just double click or write the name of the event and press enter. This takes directly to the code behind file or .cs file where you can include the whole functionalities and logical operations.
To build our application move your cursor to Build option and click on Build option. It compiles code file which are changed. Build solution only builds those projects which have changed in the solution, and does not affect assemblies that have not changed. Assemblies are nothing but the code generated after successful compilation.
After Building our application we can run or deploy our application by clicking on local machine with green color play symbol and run the app.
No comments:
Post a Comment