protected void OnEmployeeFired(EmployeeFiredEventArgs e) { if (OnEmployeeFiredHandler != null) { OnEmployeeFiredHandler(this, e); } }
public void EmployeeFired(object sender, EmployeeFiredEventArgs e) { Console.WriteLine("Employee Fired: {0}\n{1}\n", e.Name, e.Reason); }