public void updateSumaCaz(CazCaritabil nou) { VoluntarEventArgs userArgs = new VoluntarEventArgs(VoluntarEvent.UpdatedCaz, nou); OnUserEvent(userArgs); server.updateCazCaritabil(nou); }
protected virtual void OnUserEvent(VoluntarEventArgs e) { if (updateEvent == null) { return; } updateEvent(this, e); Console.WriteLine("Update Event called"); }
public void updateSC(CazCaritabil caz) { VoluntarEventArgs userArgs = new VoluntarEventArgs(VoluntarEvent.UpdatedCaz, caz); OnUserEvent(userArgs); }
public void updateDonator(Donator donator) { VoluntarEventArgs userArgs = new VoluntarEventArgs(VoluntarEvent.NewDonator, donator); OnUserEvent(userArgs); }