public TumorNucleiPercentageEntryPage(YellowstonePathology.Business.Interface.ISolidTumorTesting solidTumorTesting, YellowstonePathology.Business.Test.AccessionOrder accessionOrder) { this.m_SolidTumorTesting = solidTumorTesting; this.m_AccessionOrder = accessionOrder; InitializeComponent(); DataContext = this; Loaded += TumorNucleiPercentageEntryPage_Loaded; Unloaded += TumorNucleiPercentageEntryPage_Unloaded; }
public void UpdateTumorNucleiPercentage(YellowstonePathology.Business.Interface.ISolidTumorTesting solidTumorTestingToUpdateFrom) { YellowstonePathology.Business.Test.PanelSetOrder panelSetOrderToUpdateFrom = (YellowstonePathology.Business.Test.PanelSetOrder)solidTumorTestingToUpdateFrom; foreach (YellowstonePathology.Business.Test.PanelSetOrder panelSetOrder in this) { if (panelSetOrder is YellowstonePathology.Business.Interface.ISolidTumorTesting) { if (panelSetOrder.ReportNo != panelSetOrderToUpdateFrom.ReportNo) { YellowstonePathology.Business.Interface.ISolidTumorTesting solidTumorTesting = (YellowstonePathology.Business.Interface.ISolidTumorTesting)panelSetOrder; solidTumorTesting.TumorNucleiPercentage = solidTumorTestingToUpdateFrom.TumorNucleiPercentage; } } } }