Step 4: Creating a Customer Orders Window
In this step you will create a new Customer Orders window.
- Right-click the Order System WPF CSharp project (this is the SECOND project listed in the Solution Explorer), and select Add | New Item... from the shortcut menu.
- In the pane on the left side of the Add New Item dialog, select Visual C#. In the templates pane in the center of the dialog, select the MM .NET WPF Maint Window template:
- In the Name textbox change the name of the window to CustomerOrdersWindow, and then click the Add button. This adds CustomerOrdersWindow.xaml to your project, as well as a CustomerOrdersWindow.xaml.cs file nested below it. The window should be automatically opened in design mode:
This window has a TabControl that contains two tab pages. When you're done with the Jump Start, the List page will contain a Grid that displays all orders for a customer, and the Properties tab will contain user interface controls that allow you to edit the currently selected order.
- In the Properties Window, change the Window's Width property to 635 and its Height property to 520.
- Click on the window's title bar in design mode then change the window's Title property to Customer Orders, which changes the text in the window's title bar.
© (c) 2026 Oak Leaf Enterprises, Inc., 1996-2026 • Updated: 08/01/17
Comment or report problem with topic
