示例#1
0
 /// <summary>
 /// Handles the Initialized event of the SnomedConcepts object.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="BaseTerminologyEventArgs"/> instance containing the event data.</param>
 private static void SnomedConcepts_Initialized(object sender, BaseTerminologyEventArgs e)
 {
     if (TerminologyManager.Initialized != null)
     {
         TerminologyManager.Initialized(null, e);
     }
 }
示例#2
0
        /// <summary>
        /// The handler for the Terminology Manager objects 'Initialized' event.
        /// </summary>
        /// <param name="sender">The sender.</param>
        /// <param name="e">The <see cref="BaseTerminologyEventArgs"/> instance containing the event data.</param>
        private void TerminologyManagerInitialized(object sender, BaseTerminologyEventArgs e)
        {
            if (e.Successful)
            {
                this.connected       = true;
                this.StatusText.Text = string.Empty;
            }
            else
            {
                this.StatusText.Text = SingleConceptMatchingPage.ConnectionErrorText;
            }

            this.SingleConceptMatching.IsEnabled = true;
            this.HideProgressBar();
        }
示例#3
0
 /// <summary>
 /// Handles the Initialized event of the SnomedConcepts object.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="BaseTerminologyEventArgs"/> instance containing the event data.</param>
 private static void SnomedConcepts_Initialized(object sender, BaseTerminologyEventArgs e)
 {
     if (TerminologyManager.Initialized != null)
     {
         TerminologyManager.Initialized(null, e);
     }
 } 
 /// <summary>
 /// The handler for the Terminology Manager objects 'Initialized' event.
 /// </summary>
 /// <param name="sender">The sender.</param>
 /// <param name="e">The <see cref="BaseTerminologyEventArgs"/> instance containing the event data.</param>
 private void TerminologyManagerInitialized(object sender, BaseTerminologyEventArgs e)
 {
     if (e.Successful)
     {
         this.connected = true;
         this.StatusText.Text = string.Empty;
     }
     else
     {
         this.StatusText.Text = SingleConceptMatchingPage.ConnectionErrorText;
     }
     
     this.SingleConceptMatching.IsEnabled = true;
     this.HideProgressBar();
 }