“AppIcon.ico”必须为嵌入式资源,否则出错
this.Icon = ResourceImageHelper.CreateIconFromResources("DemoCenter.AppIcon.ico", typeof(frmMain).Assembly);
“AppIcon.ico”必须为嵌入式资源,否则出错
this.Icon = ResourceImageHelper.CreateIconFromResources("DemoCenter.AppIcon.ico", typeof(frmMain).Assembly);