public void ContextMenuAddCptCodes_Click(object sender, RoutedEventArgs args) { this.Save(false); Control ctrl = (Control)args.Source; YellowstonePathology.Business.View.BillingSpecimenView billingSpecimenView = (YellowstonePathology.Business.View.BillingSpecimenView)ctrl.Tag; YellowstonePathology.UI.CodeSelectionV2 codeSelection = new CodeSelectionV2(this.m_TypingUI.AccessionOrder, billingSpecimenView.SurgicalSpecimen); codeSelection.WindowStartupLocation = WindowStartupLocation.CenterScreen; codeSelection.ShowDialog(); this.m_TypingUI.RefreshBillingSpecimenViewCollection(); }
public void ContextMenuAddCptCodes_Click(object sender, RoutedEventArgs args) { this.Save(false); Control ctrl = (Control)args.Source; YellowstonePathology.Business.View.BillingSpecimenView billingSpecimenView = (YellowstonePathology.Business.View.BillingSpecimenView)ctrl.Tag; YellowstonePathology.UI.CodeSelectionV2 codeSelection = new CodeSelectionV2(this.m_TypingUI.AccessionOrder, billingSpecimenView.SurgicalSpecimen); codeSelection.WindowStartupLocation = WindowStartupLocation.CenterScreen; codeSelection.ShowDialog(); this.m_TypingUI.RefreshBillingSpecimenViewCollection(); }