This article is a mirror article of machine translation, please click here to jump to the original article.

View: 18542|Reply: 0

[WPF] WPF changes the default items for the launch window

[Copy link]
Posted on 12/16/2015 3:57:13 PM | | |
The form that WPF starts by default is the first newly created form.

What if I want to start a different form instead?

Modify the App.xaml file under the project

<Application x:Class="WpfFistDemo.App"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             StartupUri="QRcode.xaml">
    <Application.Resources>
         
    </Application.Resources>
</Application>
This is the StartupUri property.




Previous:.net converts word documents into pdf files
Next:Operation of image files, byte[], and BitmapImage in WPF
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com