Basic Library for WPF and Silverlight | ComponentOne
WPF and Silverlight Edition Basic Library / Windows / Windows Quick Start / Step 4 of 4: Running the C1Window Application
In This Topic
    Step 4 of 4: Running the C1Window Application
    In This Topic

    Now that you've created a WPF or Silverlight application and customized the application's appearance and behavior, the only thing left to do is run your application. To run your application and observe Windows for WPF and Silverlight's run-time behavior, complete the following steps:

    1. From the Debug menu, select Start Debugging to view how your application will appear at run time. The application will appear similar to the following:

    1. Click the Open a modeless window. button. A modeless dialog window will open:

    With modeless dialog windows, you can interact with other items on the page while the window is open.

    1. Click the Open a modeless window. button again. Another modeless dialog window will open. 

    1. Click the first dialog box and notice that the focus shifts to it:
    1. Click the dialog window's header and drag it to move it.
    2. Click and drag a border to resize the dialog window:

    1. Click the "X" button to close the dialog window.
    2. Click the "_" button to minimize the second dialog window:

    1. Click the Open a modal window. button. A modal dialog window will open:

    Notice that except for the new dialog window the entire page is grayed out. With modal dialog windows, users will not be able to interact with any other element while the dialog window is open.

    1. Try to select the minimized dialog window and notice that you cannot.
    2. Click on the "X" close button to close the modal dialog box. Notice that you can now interact with elements on the page again.

    Congratulations!
    You've completed the Windows for WPF and Silverlight quick start and created a simple WPF or Silverlight application, added controls, including a C1Window control, and viewed some of the run-time capabilities of Windows for WPF and Silverlight.