Пример #1
0
        public void AddAcidWashPanelOrder(YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology orderingPanelOrder, YellowstonePathology.Business.Rules.ExecutionStatus executionStatus)
        {
            string panelOrderId = MongoDB.Bson.ObjectId.GenerateNewId().ToString();

            YellowstonePathology.Business.Test.ThinPrepPap.ThinPrepPapAcidWashPanel thinPrepPapAcidWashPanel   = new YellowstonePathology.Business.Test.ThinPrepPap.ThinPrepPapAcidWashPanel();
            YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderAcidWash       panelOrderCytologyAcidWash = new YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderAcidWash(this.m_PanelSetOrderCytology.ReportNo, panelOrderId, panelOrderId, thinPrepPapAcidWashPanel, this.m_SystemIdentity.User.UserId);
            this.m_PanelSetOrderCytology.PanelOrderCollection.Add(panelOrderCytologyAcidWash);
            orderingPanelOrder.AppendReportComment(thinPrepPapAcidWashPanel.ReportComment);
        }
Пример #2
0
        private void ButtonAcidWashUnaccept_Click(object sender, RoutedEventArgs e)
        {
            YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderAcidWash panelOrderAcidWash = (Business.Test.ThinPrepPap.PanelOrderAcidWash) this.ListBoxResults.SelectedItem;
            MessageBoxResult result = System.Windows.MessageBox.Show("Unaccept selected Acid wash?", "UnAccept?", MessageBoxButton.OKCancel);

            if (result == MessageBoxResult.OK)
            {
                panelOrderAcidWash.UnacceptResults();
            }
        }
Пример #3
0
 private void ButtonAcidWashAccept_Click(object sender, RoutedEventArgs e)
 {
     YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderAcidWash panelOrderAcidWash = (Business.Test.ThinPrepPap.PanelOrderAcidWash) this.ListBoxResults.SelectedItem;
     Business.Rules.MethodResult methodResult = panelOrderAcidWash.IsOkToAccept();
     if (methodResult.Success == true)
     {
         panelOrderAcidWash.AcceptResults();
     }
     else
     {
         MessageBox.Show(methodResult.Message);
     }
 }
Пример #4
0
 public void AddAcidWashPanelOrder(YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology orderingPanelOrder, YellowstonePathology.Business.Rules.ExecutionStatus executionStatus)
 {
     string panelOrderId = MongoDB.Bson.ObjectId.GenerateNewId().ToString();
     YellowstonePathology.Business.Test.ThinPrepPap.ThinPrepPapAcidWashPanel thinPrepPapAcidWashPanel = new YellowstonePathology.Business.Test.ThinPrepPap.ThinPrepPapAcidWashPanel();
     YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderAcidWash panelOrderCytologyAcidWash = new YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderAcidWash(this.m_PanelSetOrderCytology.ReportNo, panelOrderId, panelOrderId, thinPrepPapAcidWashPanel, this.m_SystemIdentity.User.UserId);
     this.m_PanelSetOrderCytology.PanelOrderCollection.Add(panelOrderCytologyAcidWash);
     orderingPanelOrder.AppendReportComment(thinPrepPapAcidWashPanel.ReportComment);
 }
 private void ButtonAcidWashQNS_Click(object sender, RoutedEventArgs e)
 {
     YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderAcidWash panelOrderAcidWash = (Business.Test.ThinPrepPap.PanelOrderAcidWash) this.ListBoxResults.SelectedItem;
     Business.Rules.MethodResult methodResult = panelOrderAcidWash.IsOkToAccept();
     panelOrderAcidWash.Comment = "QNS";
 }