Example #1
0
        private void AddFamily()
        {
            // Fires, but needs to be implemented. If both valid, don't equal each other, and doesn't contain it already then add
            if (_displayPerson == null || _addFamilyPerson == null)
            {
                return;
            }
            if (_displayPerson.Equals(_addFamilyPerson))
            {
                return;
            }
            if (_displayPerson.Family.Contains(_addFamilyPerson))
            {
                return;
            }

            _persMgr.AddFamily(_displayPerson, _addFamilyPerson);
            base.OnPropertyChanged("Family");
        }