我想知道,有没有办法使IE浏览器样式无窗口像WPF应用程序。c#的Internet Explorer控制,使风格没有,就好像wpf窗口风格没有和allowtransparency
感谢,
代码:
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");
}
你试过了什么?您显示的代码并不是试图设置任何样式。 – Sheridan
我想删除Internet Explorer框架,如边框,标题。它就像wpf应用程序中没有样式的窗口。 – kimtk