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