示例#1
0
        private bool IWantToOrderColonCancerProfileMessage()
        {
            bool result = false;

            YellowstonePathology.Business.Audit.Model.CouldBenefitFromCCCPAudit couldBenefitFromCCCPAudit = new Business.Audit.Model.CouldBenefitFromCCCPAudit(this.m_AccessionOrder);
            couldBenefitFromCCCPAudit.Run();
            if (couldBenefitFromCCCPAudit.Status == Business.Audit.Model.AuditStatusEnum.Warning)
            {
                MessageBoxResult messageBoxResult = MessageBox.Show(couldBenefitFromCCCPAudit.Message.ToString(), "Continue!", MessageBoxButton.YesNo);
                if (messageBoxResult == MessageBoxResult.Yes)
                {
                    result = true;
                }
            }
            return(result);
        }
 private bool IWantToOrderColonCancerProfileMessage()
 {
     bool result = false;
     YellowstonePathology.Business.Audit.Model.CouldBenefitFromCCCPAudit couldBenefitFromCCCPAudit = new Business.Audit.Model.CouldBenefitFromCCCPAudit(this.m_AccessionOrder);
     couldBenefitFromCCCPAudit.Run();
     if (couldBenefitFromCCCPAudit.Status == Business.Audit.Model.AuditStatusEnum.Warning)
     {
         MessageBoxResult messageBoxResult = MessageBox.Show(couldBenefitFromCCCPAudit.Message.ToString(), "Continue!", MessageBoxButton.YesNo);
         if (messageBoxResult == MessageBoxResult.Yes)
         {
             result = true;
         }
     }
     return result;
 }