Esempio n. 1
0
        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            var mainViewModel = ServiceLocator.Current.GetInstance <MainViewModel>();

            mainViewModel.NavigateHelpDocumentWebBrowserCommand = new GalaSoft.MvvmLight.CommandWpf.RelayCommand <string>(NavigateHelpDocumentWebBrowser);
            mainViewModel.NavigateMainWebBrowserCommand         = new GalaSoft.MvvmLight.CommandWpf.RelayCommand <string>(NavigateMainWebBrowser);
            MainWebBrowser.Navigate("about:blank");
            HelpDocumentWebBrowser.Navigate("about:blank");
        }
Esempio n. 2
0
 private void NavigateHelpDocumentWebBrowser(string source)
 {
     HelpDocumentWebBrowser.Navigate(source);
 }