如何将wpf中的默认Mainwindows窗体更改为WIndow1 c#。我正在使用Visual Studio 2012
如何在WPF应用程序中更改启动窗体…我使用的是Visual Studio 2012和xaml代码,如下所示..没有StartupUri可更改默认窗体..如何执行此操作如何将wpf中的默认Mainwindows窗体更改为WIndow1 c#。我正在使用Visual Studio 2012,c#,C#,如何在WPF应用程序中更改启动窗体…我使用的是Visual Studio 2012和xaml代码,如下所示..没有StartupUri可更改默认窗体..如何执行此操作 < Window x:Class="WpfApplication3.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/20
< Window x:Class="WpfApplication3.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Window1" Height="700" Width="525" WindowState="Maximized">
您正在修改Window1.xaml
,您需要编辑App.xaml
,这就是您告诉它最初打开哪个窗口的地方