110,566
社区成员
发帖
与我相关
我的任务
分享
// If you are not sure about the exact resourceName,
// you can list all the embeded resouces via
// GetType().Assembly.GetManifestResourceNames()
string resourceName = "MyApp.Winter.jpg";
Stream stream = GetType().Assembly.GetManifestResourceStream(resourceName);
// show it in the webbrowser
webBrowser1.DocumentStream = stream;