The following example demonstrates how to create a Window and have the Window show when the Page first loads.