private void ButtonPeerReview_Click(object sender, RoutedEventArgs e)
 {
     if (this.m_PathologistUI.AccessionOrder.PanelSetOrderCollection.HasSurgical() == true)
     {
         YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder surgicalTestOrder = (YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder) this.m_PathologistUI.AccessionOrder.PanelSetOrderCollection.GetSurgical();
         PeerReviewDialog     peerReviewDialog     = new PeerReviewDialog();
         PeerReviewResultPage peerReviewResultPage = new PeerReviewResultPage(surgicalTestOrder, this.m_PathologistUI.AccessionOrder);
         peerReviewDialog.PageNavigator.Navigate(peerReviewResultPage);
         peerReviewDialog.ShowDialog();
     }
     else
     {
         MessageBox.Show("Only cases with Surgical Pathology can have Peer Review");
     }
 }
 private void ButtonPeerReview_Click(object sender, RoutedEventArgs e)
 {
     if (this.m_PathologistUI.AccessionOrder.PanelSetOrderCollection.HasSurgical() == true)
     {
         YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder surgicalTestOrder = (YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder)this.m_PathologistUI.AccessionOrder.PanelSetOrderCollection.GetSurgical();
         PeerReviewDialog peerReviewDialog = new PeerReviewDialog();
         PeerReviewResultPage peerReviewResultPage = new PeerReviewResultPage(surgicalTestOrder, this.m_PathologistUI.AccessionOrder);
         peerReviewDialog.PageNavigator.Navigate(peerReviewResultPage);
         peerReviewDialog.ShowDialog();
     }
     else
     {
         MessageBox.Show("Only cases with Surgical Pathology can have Peer Review");
     }
 }