コード例 #1
0
 /// <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);
     }
 }
コード例 #2
0
 private void MyController_SelectedPersonChanged(object sender, PersonChangedEventArgs e)
 {
     Person = e.Person;
 }