private void newButton_Click(object sender, RoutedEventArgs e) { Medication.refreshMedicationPool(); //implicitly sets new mode MedicationEditorWindow.EmptyInstance.ShowDialog(); }
private void addButton_Click(object sender, RoutedEventArgs e) { SelectedDose = null; Medication.refreshMedicationPool(); MedicationPoolWindow.Instance.ShowDialog(); }