public static void loadPage(string href) { // Static so the home screen can access this function browser _browser = new browser(); _browser.webBrowser1.Navigate(href); _browser.ShowDialog(); }
private void safariApp_Click(object sender, EventArgs e) { browser br = new browser(); br.ShowDialog(this); }