/// <summary> /// Method used to raise the event that will notify a view attached to this controller /// that the selected person has changed /// </summary> /// <param name="e"></param> protected virtual void OnSelectedPersonChanged(PersonChangedEventArgs e) { if (SelectedPersonChanged != null) { SelectedPersonChanged(this, e); } }
private void MyController_SelectedPersonChanged(object sender, PersonChangedEventArgs e) { Person = e.Person; }