using System.Windows; namespace WpfUI { /// /// App.xaml 的交互逻辑 /// public partial class App : Application { private void Application_Startup(object sender, StartupEventArgs e) { Window1 window = new Window1(); window.Show(); } } }