Chapter 2 Quick Reference
To | Do this |
Create a user interface | Use Toolbox controls to place objects on your form, and then set the necessary properties. Resize the form and the objects as appropriate. |
Move an object | Position the mouse pointer over the object until the four-headed arrow appears, and then drag the object. |
Resize an object | Click the object to select it, and then drag the resize handle attached to the part of the object you want to resize. |
Delete an object | Click the object, and then press the Delete key. |
Open the Code Editor | Double-click an object on the form (or the form itself). or Select a form or a module in Solution Explorer, and then click the View Code button. |
Write program code | Type Visual Basic program statements associated with objects in the Code Editor. |
Save a program | On the File menu, click the Save All command. or Click the Save All button on the Standard toolbar. |
Save a form file | Make sure the form is open, and then on the File menu, click the Save command. or Click the Save button on the Standard toolbar. |
Create an .exe file | On the Build menu, click the Build or Rebuild command. |
Deploy an application by using ClickOnce technology | Click the Publish command on the Build menu, and then use the Publish wizard to specify the location and settings for the application. |
Reload a project | On the File menu, click the Open Project command. or On the File menu, point to Recent Projects, and then click the desired project. or Click the project in the recent projects list on the Visual Studio Start Page. |