Example #1
0
 protected virtual void OnDepartmentDelete(DepartmentEventArgs e)
 {
     if (DepartmentDelete != null)
     {
         DepartmentDelete(this, e);
     }
 }
Example #2
0
 protected virtual void OnDepartmentMakeInactive(DepartmentEventArgs e)
 {
     if (DepartmentMakeInactive != null)
     {
         DepartmentMakeInactive(this, e);
     }
 }
Example #3
0
 protected virtual void OnDepartmentEdit(DepartmentEventArgs e)
 {
     if (DepartmentEdit != null)
     {
         DepartmentEdit(this, e);
     }
 }
Example #4
0
 private void ServiceDataProvider_AddDepartmentNotification(object sender, DepartmentEventArgs e)
 {
     if (e.Department != null)
     {
         Departments.Add(e.Department);
     }
     else
     {
         throw new ArgumentException("Department");
     }
 }