コード例 #1
0
 private void ButtonSave_Click(object sender, RoutedEventArgs e)
 {
     if (!string.IsNullOrEmpty(this.LocalFileDownloadDirectory))
     {
         YellowstonePathology.YpiConnect.Contract.Identity.ApplicationIdentity.Instance.WebServiceAccount.LocalFileDownloadDirectory = LocalFileDownloadDirectory;
         YellowstonePathology.YpiConnect.Contract.Identity.ApplicationIdentity.Instance.Save();
         FileDownloadSettingsSavedPage fileDownloadSettingsSavedPage = new FileDownloadSettingsSavedPage();
         ApplicationNavigator.ApplicationContentFrame.NavigationService.Navigate(fileDownloadSettingsSavedPage);
     }
     else
     {
         System.Windows.MessageBox.Show("Enter a valid directory for the File Download Path.", "Path not valid");
     }
 }
コード例 #2
0
 private void ButtonSave_Click(object sender, RoutedEventArgs e)
 {
     if (!string.IsNullOrEmpty(this.LocalFileDownloadDirectory))
     {
         YellowstonePathology.YpiConnect.Contract.Identity.ApplicationIdentity.Instance.WebServiceAccount.LocalFileDownloadDirectory = LocalFileDownloadDirectory;
         YellowstonePathology.YpiConnect.Contract.Identity.ApplicationIdentity.Instance.Save();
         FileDownloadSettingsSavedPage fileDownloadSettingsSavedPage = new FileDownloadSettingsSavedPage();
         ApplicationNavigator.ApplicationContentFrame.NavigationService.Navigate(fileDownloadSettingsSavedPage);
     }
     else
     {
         System.Windows.MessageBox.Show("Enter a valid directory for the File Download Path.", "Path not valid");
     }
 }
コード例 #3
0
        private void FileDownloadSettingsPage_DownloadSettingsSaved(object sender, EventArgs e)
        {
            FileDownloadSettingsSavedPage fileDownloadSettingsSavedPage = new FileDownloadSettingsSavedPage();

            ApplicationNavigator.ApplicationContentFrame.NavigationService.Navigate(fileDownloadSettingsSavedPage);
        }
コード例 #4
0
 private void FileDownloadSettingsPage_DownloadSettingsSaved(object sender, EventArgs e)
 {
     FileDownloadSettingsSavedPage fileDownloadSettingsSavedPage = new FileDownloadSettingsSavedPage();
     ApplicationNavigator.ApplicationContentFrame.NavigationService.Navigate(fileDownloadSettingsSavedPage);
 }