private void ExecuteCommand1(Injection injection) { Window newInjectionWindow = new NewInjection(injection); newInjectionWindow.ShowDialog(); }
private void ExecuteCommand2(Patient patient) { Window newInjectionWindow = new NewInjection(null, patient); newInjectionWindow.ShowDialog(); }
private void ExecuteCommand2() { Window newInjectionWindow = new NewInjection(); newInjectionWindow.ShowDialog(); }