Example #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.");
     }
 }
Example #2
0
        private void ButtonSignIn_Click(object sender, RoutedEventArgs e)
        {
            SignInPage signInPage = new SignInPage();

            ApplicationNavigator.ApplicationContentFrame.NavigationService.Navigate(signInPage);
        }
 private void ButtonSignIn_Click(object sender, RoutedEventArgs e)
 {
     SignInPage signInPage = new SignInPage();
     ApplicationNavigator.ApplicationContentFrame.NavigationService.Navigate(signInPage);
 }
Example #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.");
     }
 }