You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
iot/labs/Demo/Demo.WPF/MainWindow.xaml.cs

28 lines
716 B

using System;
using System.Windows;
using System.Windows.Navigation;
namespace Demo.WPF
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
this.webView.Navigating += WebView_Navigating;
this.webView.Navigated += WebView_Navigated;
this.webView.Source = new Uri("http://localhost:5000/index.html");
}
private void WebView_Navigated(object sender, NavigationEventArgs e)
{
}
private void WebView_Navigating(object sender, NavigatingCancelEventArgs e)
{
}
}
}