Example #1
0
 private void OpenURLInBrowser(string url)
 {
     if (!url.StartsWith("http://") && !url.StartsWith("https://"))
     {
         url = "http://" + url;
     }
     try
     {
         BrwEnjaz.Navigate(new Uri(url));
     }
     catch (UriFormatException)
     {
         return;
     }
 }
Example #2
0
 private void Window_Loaded(object sender, RoutedEventArgs e)
 {
     BrwEnjaz.Navigate(TxtenjazUrl.Text);
 }