嵌入式资源

“AppIcon.ico”必须为嵌入式资源,否则出错

this.Icon = ResourceImageHelper.CreateIconFromResources("DemoCenter.AppIcon.ico", typeof(frmMain).Assembly);

原文地址:https://www.cnblogs.com/jlxuqiang/p/2240375.html