private void NeuZinszeitraum()
        {
            Zinsfestschreibung zinsfest = new Zinsfestschreibung();

            var viewModel = new EigenschaftenZinsfestschreibungViewModel(zinsfest);

            var window = new EigenschaftenZinsfestschreibungView();
            window.Owner = App.window;
            window.WindowStartupLocation = System.Windows.WindowStartupLocation.CenterOwner;

            EventHandler handler = null;
            handler = delegate
            {
                viewModel.RequestClose -= handler;
                window.Close();
            };

            viewModel.RequestClose += handler;
            window.DataContext = viewModel;
            window.ShowDialog();

            if (viewModel.DialogResult == true)
            {
                kredit.Zinszeitraeume.Add(zinsfest);
            }
        }
 public EigenschaftenZinsfestschreibungViewModel(Zinsfestschreibung zinsfest)
     : this()
 {
     this.Festschreibung = zinsfest;
 }
 public override object Clone()
 {
     Zinsfestschreibung klon = new Zinsfestschreibung();
     klon.Initialisiere(this);
     return klon;
 }