【发布时间】:2014-04-04 12:07:27
【问题描述】:
我想知道,有没有办法让 Internet Explorer 风格像 wpf 应用程序一样没有窗口。
谢谢,
代码:
public static void test()
{
System.Type oType = System.Type.GetTypeFromProgID("InternetExplorer.Application");
SHDocVw.InternetExplorer ie = Activator.CreateInstance(oType) as SHDocVw.InternetExplorer;
ie.MenuBar = false;
ie.ToolBar = 0;
ie.StatusBar = false;
ie.AddressBar = false;
ie.Width = 800;
ie.Height = 600;
ie.Visible = true;
ie.Navigate("http://m.naver.com");
}
【问题讨论】:
-
你尝试了什么?您显示的代码没有尝试设置任何样式。
-
我想删除 Internet Explorer 框架,例如边框、字幕。它就像 wpf 应用程序中的无样式窗口。
标签: c# wpf internet-explorer