public void OpenFile(string fileName) { frmWebBrowser frm = WebBrowserFactory.OpenFile(fileName); WebBrowserFactory.ShowWebBrowser(frm); }