In this article I am going to describes how to add a simple GroupBox to a LightSwitch Application(Visual C#) in Visual Studio 2012.
Here we will see how to add a simple GroupBox to a LightSwitch Application (Visual C#) in Visual Studio 2012.
The following is the procedure for adding a client screen.
Step 1Open the Solution Explorer.Step 2In the Solution Explorer, right-click on the server and choose "Add Table".Step 3The table appears.Step 4In the Solution Explorer, right-click on "Screens" and choose "Add Screen".Step 5The 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 a name to the Screen and click the "OK" button.Step 6The Screen Designer appears.Step 7In the screen designer, click on the "Add Data Item" button in the menu bar. Step 8The Add Data Item dialog box appears. Choose the "Queries" radio button and select "Employees" form the grid, provide a name and click the "OK" button.Step 9Once again click on the "Add Data Item" button and from the dialog box choose the "Local Property" radio button and select "Employees" form the Type drop down list, provide a name and click the "OK" button.Step 10In the Screen Designer click on the Add drop down list and select "Property1" from the list.Step 11Now click on the "Property1" option. A drop down list will appear and from that drop down list choose the "Auto Complete Box" control.Step 12Go to the Property window for "Property1", choose "Employees" from the "Choices" dropdown list.Step 13Add an Editable Data Grid Screen to add some data of the Employees.Step 14Press F5 to run the application. Open the combo form; you will notice that the employee will be shown in the Auto Complete Box.
Printing in C# Made Easy