Here we will see how to add a button to a LightSwitch Application (Visual C#) in Visual Studio 2012.
The following is the procedure for adding a button to a LightSwitch Application in Visual Studio 2012.
Step 1
Open the Solution Explorer.
Step 2
In the Solution Explorer, right-click on the Screens and choose "Add Screen".
Step 3
The Add New Screen dialog box appears. Select the "New Data Screen" from the Screen Template, under screen information, choose "None" under screen data and provide some name to the Screen and click the "OK" button.
Step 4
The Screen Designer appears.
Step 5
Click on "Add". A drop down list will appear and select the "New" button.
The Add Button dialog box appears on the screen.
Now the screen designer contains a button.
Step 6
Press F5 to run the application.
Step 7
You can also set the image for that specific button.
For setting up the image go to the property window and click on the "Choose Image" link.
A select image dialog box appears on the screen. 
Click on the "Import" button to add an image.
Step 8
Press F5 to run the application.

Comments
Join the conversation! Your thoughts help the community grow.