private void DataManager_ActivityAdded(object sender, ActivityAddedEventArgs e) { if (e.Activity.DataItem != null) { var appointment = (IgOutlook.Business.Calendar.Appointment)e.Activity.DataItem; if (appointment.IsMeetingRequest) { CalendarService.GenerateAssociatedAppointments(appointment); } } }
private void OnRaiseActivityAddedEvent(ActivityAddedEventArgs e) { RaiseActivityAddedEvent?.Invoke(this, e); }