Пример #1
0
 private void CallEvent(EmploeeEventArgs e, EmploeeStateHandler handler)
 {
     if (e != null)
     {
         handler !.Invoke(this, e);
     }
 }
Пример #2
0
 protected void OnEdited(EmploeeEventArgs e)
 {
     CallEvent(e, Edited);
 }
Пример #3
0
 protected void OnDeleted(EmploeeEventArgs e)
 {
     CallEvent(e, Deleted);
 }
Пример #4
0
 protected void OnAdded(EmploeeEventArgs e)
 {
     CallEvent(e, Added);
 }
Пример #5
0
 protected void OnReported(EmploeeEventArgs e)
 {
     CallEvent(e, Reported);
 }
Пример #6
0
 protected void OnShowedEmploee(EmploeeEventArgs e)
 {
     CallEvent(e, ShowedEmploee);
 }