Example #1
0
 private void HyperlinkFileUpload_Click(object sender, RoutedEventArgs e)
 {
     if (YellowstonePathology.YpiConnect.Contract.Identity.ApplicationIdentity.Instance.WebServiceAccount.EnableFileUpload == true &&
         string.IsNullOrEmpty(YellowstonePathology.YpiConnect.Contract.Identity.ApplicationIdentity.Instance.WebServiceAccount.LocalFileUploadDirectory) == false)
     {
         FileUploadPage fileUploadPage = new FileUploadPage();
         ApplicationNavigator.ApplicationContentFrame.NavigationService.Navigate(fileUploadPage);
     }
     else
     {
         FileUploadSettingsPage fileUploadSettingsPage = new FileUploadSettingsPage();
         ApplicationNavigator.ApplicationContentFrame.NavigationService.Navigate(fileUploadSettingsPage);
     }
 }
 private void HyperlinkFileUpload_Click(object sender, RoutedEventArgs e)
 {
     if (YellowstonePathology.YpiConnect.Contract.Identity.ApplicationIdentity.Instance.WebServiceAccount.EnableFileUpload == true &&
         string.IsNullOrEmpty(YellowstonePathology.YpiConnect.Contract.Identity.ApplicationIdentity.Instance.WebServiceAccount.LocalFileUploadDirectory) == false)
     {
         FileUploadPage fileUploadPage = new FileUploadPage();
         ApplicationNavigator.ApplicationContentFrame.NavigationService.Navigate(fileUploadPage);
     }
     else
     {
         FileUploadSettingsPage fileUploadSettingsPage = new FileUploadSettingsPage();
         ApplicationNavigator.ApplicationContentFrame.NavigationService.Navigate(fileUploadSettingsPage);
     }
 }
 private void HyperlinkUploadSettings_Click(object sender, RoutedEventArgs e)
 {
     FileUploadSettingsPage fileUploadSettingsPage = new FileUploadSettingsPage();
     ApplicationNavigator.ApplicationContentFrame.NavigationService.Navigate(fileUploadSettingsPage);
 }
Example #4
0
        private void HyperlinkUploadSettings_Click(object sender, RoutedEventArgs e)
        {
            FileUploadSettingsPage fileUploadSettingsPage = new FileUploadSettingsPage();

            ApplicationNavigator.ApplicationContentFrame.NavigationService.Navigate(fileUploadSettingsPage);
        }