Step 4. Creating a Customer Orders Window

In this step you will create a new Customer Orders window.

  1. Right-click the Order System WPF VB project (this is the SECOND project listed in the Solution Explorer), and select Add | New Item... from the shortcut menu.

  2. In the left pane of the Add New Item dialog, select Visual Basic. In the Templates pane select the MM .NET WPF Maint Window template:

  3. 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.vb 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.

  4. In the Properties Window, change the Window's Height property to 520 and its Width to 635.

  5. 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.

See Also:
Step 5. Adding UI Elements to the List Page


© (c) 2026 Oak Leaf Enterprises, Inc., 1996-2026 • Updated: 08/01/17
Comment or report problem with topic