public override void ShowConfig(Schule.DataManager.UowSchuleDB uow = null) { if (uow != null) Config.LoadFromDatabase(uow); var c = new GrundrechnenÜbungConfigWindow(Config.Clone() as GrundrechnenÜbungConfig); if (c.ShowDialog() == true) Config = c.Config; if (uow != null) Config.SaveToDatabase(uow); }
public GrundrechnenÜbungConfigWindow(GrundrechnenÜbungConfig Config) { this.Config = Config; InitializeComponent(); }