private void Button_Click_Add(object sender, RoutedEventArgs e) { var schedule = _scheduleManager.Factory(); schedule.ShowDialog(); LoadInterface(); }