예제 #1
0
        public void updateSumaCaz(CazCaritabil nou)
        {
            VoluntarEventArgs userArgs = new VoluntarEventArgs(VoluntarEvent.UpdatedCaz, nou);

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

            OnUserEvent(userArgs);
        }
예제 #4
0
        public void updateDonator(Donator donator)
        {
            VoluntarEventArgs userArgs = new VoluntarEventArgs(VoluntarEvent.NewDonator, donator);

            OnUserEvent(userArgs);
        }