Beispiel #1
0
 void Model_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e)
 {
     if (e.PropertyName == "SelectedEmployee")
     {
         employeeController.OnEmployeeSelected(this.View.Model.SelectedEmployee);
     }
 }
Beispiel #2
0
 private void OnEmployeeSelected(object sender, DataEventArgs <BusinessEntities.Employee> e)
 {
     employeeController.OnEmployeeSelected(e.Value);
 }