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 1Open the Solution Explorer.Step 2In the Solution Explorer, right-click on the Screens and choose "Add Screen".Step 3The 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 4The Screen Designer appears.Step 5Click 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 6Press F5 to run the application.Step 7You 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 8Press F5 to run the application.
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: