Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/user-interface/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何将wpf中的默认Mainwindows窗体更改为WIndow1 c#。我正在使用Visual Studio 2012_C# - Fatal编程技术网

如何将wpf中的默认Mainwindows窗体更改为WIndow1 c#。我正在使用Visual Studio 2012

如何将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

如何在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/2006/xaml"
    Title="Window1" Height="700" Width="525"  WindowState="Maximized">


您正在修改
Window1.xaml
,您需要编辑
App.xaml
,这就是您告诉它最初打开哪个窗口的地方