小记 .NET Core 3.0 下 WPF 是如何运行的
2019-10-23 11:34 音乐让我说 阅读(424) 评论(0) 编辑 收藏 举报1. 解决方案架构
如图:
2. 生成的代码
如图:
/// <summary> /// App /// </summary> public partial class App : System.Windows.Application { /// <summary> /// InitializeComponent /// </summary> [System.Diagnostics.DebuggerNonUserCodeAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.8.0.0")] public void InitializeComponent() { #line 5 "..\..\..\App.xaml" this.Startup += new System.Windows.StartupEventHandler(this.App_OnStartup); #line default #line hidden #line 6 "..\..\..\App.xaml" this.DispatcherUnhandledException += new System.Windows.Threading.DispatcherUnhandledExceptionEventHandler(this.App_DispatcherUnhandledException); #line default #line hidden } /// <summary> /// Application Entry Point. /// </summary> [System.STAThreadAttribute()] [System.Diagnostics.DebuggerNonUserCodeAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.8.0.0")] public static void Main() { SkyDemo.WpfUI.App app = new SkyDemo.WpfUI.App(); app.InitializeComponent(); app.Run(); } }
3.
谢谢浏览!
作者:音乐让我说(音乐让我说 - 博客园)
出处:http://music.cnblogs.com/
文章版权归本人所有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。