private void ButtonCreate_Click(object sender, RoutedEventArgs e)
 {
     if (this.ListViewPanels.SelectedItems.Count != 0)
     {
         YellowstonePathology.YpiConnect.Contract.Order.SpecimenPanel specimenPanel = (YellowstonePathology.YpiConnect.Contract.Order.SpecimenPanel)this.ListViewPanels.SelectedItem;
         specimenPanel.CreatePanel(this.m_ClientOrder);
         SpecimenPanelAssociationDialog specimenPanelAssociationDialog = new SpecimenPanelAssociationDialog(this.m_ClientOrder);
         specimenPanelAssociationDialog.ShowDialog();
         this.Close();
     }
 }
 private void ButtonCreate_Click(object sender, RoutedEventArgs e)
 {
     if (this.ListViewPanels.SelectedItems.Count != 0)
     {
         YellowstonePathology.YpiConnect.Contract.Order.SpecimenPanel specimenPanel = (YellowstonePathology.YpiConnect.Contract.Order.SpecimenPanel) this.ListViewPanels.SelectedItem;
         specimenPanel.CreatePanel(this.m_ClientOrder);
         SpecimenPanelAssociationDialog specimenPanelAssociationDialog = new SpecimenPanelAssociationDialog(this.m_ClientOrder);
         specimenPanelAssociationDialog.ShowDialog();
         this.Close();
     }
 }