public override void AwakeFromNib()
        {
            Debug.WriteLine("Start: NewPersoonController.AwakeFromNib");

            base.AwakeFromNib();

            _parentController = this.PresentingViewController as PersonenController;
            if (_parentController != null)
            {
                Persoon = new PersoonModel();
            }

            Debug.WriteLine("Einde: NewPersoonController.AwakeFromNib");
        }
        public override void AwakeFromNib()
        {
            Debug.WriteLine("Start: PersoonController.AwakeFromNib");

            base.AwakeFromNib();

            _parentController = this.PresentingViewController as PersonenController;
            if (_parentController != null)
            {
                Persoon = _parentController.SelectedPersoon;

                if (Persoon != null)
                {
                    LoadTables();
                }
                else
                {
                    Persoon = new PersoonModel();
                }
            }

            Debug.WriteLine("Einde: PersoonController.AwakeFromNib");
        }
Ejemplo n.º 3
0
 public PersonenDelegate(PersonenController controller, PersonenDS dataSource)
 {
     // Initialize
     this.DataSource = dataSource;
     //	this.Controller = controller;
 }