2010-05-27 99 views

回答

10

在App.xaml中你有StartupUri="MainWindow.xaml"和App.xaml.cs你有MainWindow = new MainWindow()然后MainWindow.Show()。只需删除App.xaml中的一个,你就很好。

+0

我爱你。 对我的代码结构有何评论以及我如何改进它? – 2010-05-27 18:00:55

+0

对不起,我没有详细查看你的代码,所以我不能评论它。我只专注于解决实际问题。 – 2010-05-27 18:10:01

+0

没有问题。再次感谢! – 2010-05-27 19:26:20