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

阿哈德·穆尔塔扎(Ahad Murtaza)

如何在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,即在其中告诉它最初要打开哪个窗口。

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章