示例#1
0
 private void MainWindow_Loaded(object sender, RoutedEventArgs e)
 {
     YellowstonePathology.YpiConnect.Proxy.WebServiceAccountServiceProxy webServiceAccountServiceProxy = new YpiConnect.Proxy.WebServiceAccountServiceProxy();
     if (webServiceAccountServiceProxy.Ping() == true)
     {
         SignInPage signInPage = new SignInPage();
         this.MainFrame.Navigate(signInPage);
         UserInteractionMonitor.Instance.TimedOut += new EventHandler(TimedOut);
     }
     else
     {
         MessageBox.Show("The webservice is not responding.");
     }
 }
示例#2
0
        private void ButtonSignIn_Click(object sender, RoutedEventArgs e)
        {
            SignInPage signInPage = new SignInPage();

            ApplicationNavigator.ApplicationContentFrame.NavigationService.Navigate(signInPage);
        }
示例#3
0
 private void ButtonSignIn_Click(object sender, RoutedEventArgs e)
 {
     SignInPage signInPage = new SignInPage();
     ApplicationNavigator.ApplicationContentFrame.NavigationService.Navigate(signInPage);
 }
示例#4
0
 private void MainWindow_Loaded(object sender, RoutedEventArgs e)
 {
     YellowstonePathology.YpiConnect.Proxy.WebServiceAccountServiceProxy webServiceAccountServiceProxy = new YpiConnect.Proxy.WebServiceAccountServiceProxy();
     if (webServiceAccountServiceProxy.Ping() == true)
     {
         SignInPage signInPage = new SignInPage();
         this.MainFrame.Navigate(signInPage);
         UserInteractionMonitor.Instance.TimedOut += new EventHandler(TimedOut);
     }
     else
     {
         MessageBox.Show("The webservice is not responding.");
     }
 }