예제 #1
0
        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();
        }