📌  相关文章
📜  c# webbrowser 将 html 写入文本文件 - C# 代码示例

📅  最后修改于: 2022-03-11 14:48:44.694000             🧑  作者: Mango

代码示例2
private void DisplayText(object sender, WebBrowserDocumentCompletedEventArgs e)
{
WebBrowser wb = (WebBrowser)sender;
wb.Document.ExecCommand("SelectAll", false, null);
wb.Document.ExecCommand("Copy", false, null);
textResultsBox.Text = CleanText(Clipboard.GetText());
}