wpf start window

Posted on 2008-11-18
Last Modified: 2013-11-12
In a wpf project, your default window is Window1.xaml.  I have created a new window, but do not know how to get that window to be the startup window when I compile the project.
Question by:dchau12

    Author Comment

    wow... I guess there is not much experts-exchange help available for WPF
    LVL 1

    Accepted Solution

    something like...
    Me.browserFrame.Navigate(New Uri("page2.xaml", UriKind.RelativeOrAbsolute))

    People help where they can. Impatient patronizing, tends to lead to you being ignored
    LVL 1

    Expert Comment

    For starting/compiling  with a xaml
    go to My Project/Application
    Startup Uri/ and select the file you want to start first


    Author Comment

    I figured this out long ago.  You have to change the startup xaml file in the app.xaml file.

    There could be a different way to do this.  I cannot follow your instructions though.  

    "Form Starting/compiling with xaml" ???

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    This tutorial is about how to put some of your C++ program's functionality into a standard DLL, and how to make working with the EXE and the DLL simple and seamless.   We'll be using Microsoft Visual Studio 2008 and we will cut out the noise; that i…
    What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
    This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA.…
    This video discusses moving either the default database or any database to a new volume.

    731 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now