小记 .NET Core 3.0 下 WPF 是如何运行的
2019-10-23 11:34 音乐让我说 阅读(431) 评论(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/
文章版权归本人所有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
2013-10-23 自定义一个叫 ReadOnlyXmlMembershipProvider 的 MembershipProvider,用 XML 作为用户储藏室
2013-10-23 在Visual Studio 2010中进行“项目重命名”的有效工具