예제 #1
0
        private void Button_Click_1(object sender, RoutedEventArgs e)
        {
            var contentUri      = ContentWebView.BuildLocalStreamUri("WebContent", "SecondaryPage.html");
            var contentResolver = new WebContentResolver();

            ContentWebView.NavigateToLocalStreamUri(contentUri, contentResolver);
        }
예제 #2
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            ErrorBlock.Visibility = Visibility.Collapsed;
            var contentUri      = ContentWebView.BuildLocalStreamUri("WebContent", "PrimaryPage.html");
            var contentResolver = new WebContentResolver();

            ContentWebView.NavigateToLocalStreamUri(contentUri, contentResolver);
        }