コード例 #1
0
 private void txtUrl_KeyUp(object sender, KeyEventArgs e)
 {
     if (e.Key == Key.Enter)
     {
         WBBrowser.Navigate(txtUrl.Text);
     }
 }
コード例 #2
0
 private void GoToPage_Executed(object sender, ExecutedRoutedEventArgs e)
 {
     WBBrowser.Navigate(txtUrl.Text);
 }
コード例 #3
0
 private void BrowseForward_Executed(object sender, ExecutedRoutedEventArgs e)
 {
     WBBrowser.GoForward();
 }
コード例 #4
0
 private void BrowseBack_Executed(object sender, ExecutedRoutedEventArgs e)
 {
     WBBrowser.GoBack();
 }
コード例 #5
0
 public BrowserTesting()
 {
     InitializeComponent();
     txtUrl.IsReadOnly = true;
     WBBrowser.Navigate("https://www.youtube.com/");
 }