Exemplo n.º 1
0
        public void updateSumaCaz(CazCaritabil nou)
        {
            VoluntarEventArgs userArgs = new VoluntarEventArgs(VoluntarEvent.UpdatedCaz, nou);

            OnUserEvent(userArgs);
            server.updateCazCaritabil(nou);
        }
Exemplo n.º 2
0
 protected virtual void OnUserEvent(VoluntarEventArgs e)
 {
     if (updateEvent == null)
     {
         return;
     }
     updateEvent(this, e);
     Console.WriteLine("Update Event called");
 }
Exemplo n.º 3
0
        public void updateSC(CazCaritabil caz)
        {
            VoluntarEventArgs userArgs = new VoluntarEventArgs(VoluntarEvent.UpdatedCaz, caz);

            OnUserEvent(userArgs);
        }
Exemplo n.º 4
0
        public void updateDonator(Donator donator)
        {
            VoluntarEventArgs userArgs = new VoluntarEventArgs(VoluntarEvent.NewDonator, donator);

            OnUserEvent(userArgs);
        }