2013-01-15 22 views

回答

0

加載您的嵌入式網頁可以用的東西沿着這些線路from msdn來實現:

try 
{ 
    _assembly = Assembly.GetExecutingAssembly(); 
    _textStreamReader = new StreamReader(_assembly.GetManifestResourceStream("MYHTMLFile.html")); 
} 
catch 
{ 
    MessageBox.Show("Error accessing resources!"); 
} 

該頁面還詳細介紹了步驟嵌入。

在你的情況下(我認爲)你必須在使用IE加載之前將流保存到磁盤。

相關問題