partial void SaveButton(NSButton sender)
        {
            Debug.WriteLine("Start: PersoonController.SaveButton");

            if (_parentController.SelectedPersoon != null)
            {
                //Persoon.LoadGevolgdeOpleidingen(AppDelegate.Conn, Persoon.ID);
                //Persoon.LoadAankopen(AppDelegate.Conn, Persoon.ID);

                Persoon.Update(AppDelegate.Conn);
            }
            else
            {
                Persoon.Create(AppDelegate.Conn);
                _parentController.dsPersonen.AddPersoon(Persoon);
            }

            if (_parentController != null)
            {
                _parentController.ReloadTable();
            }

            DismissController(this);

            Debug.WriteLine("Einde: PersoonController.SaveButton");
        }
        partial void SaveButton(NSButton sender)
        {
            Debug.WriteLine("Start: NewPersoonController.SaveButton");

            Persoon.Create(AppDelegate.Conn);

            _parentController.dsPersonen.AddPersoon(Persoon);

            if (_parentController != null)
            {
                _parentController.ReloadTable();
            }

            DismissController(this);

            Debug.WriteLine("Einde: NewPersoonController.SaveButton");
        }