private async void init()
        {
            this.appointmentStore = await AppointmentManager.RequestStoreAsync
                                        (AppointmentStoreAccessType.AppCalendarsReadWrite);

            IReadOnlyList <AppointmentCalendar> appCalendars =
                await this.appointmentStore.FindAppointmentCalendarsAsync(FindAppointmentCalendarsOptions.IncludeHidden);

            // Apps can create multiple calendars. This example creates only one.
            if (appCalendars.Count == 0)
            {
                this.appCalendar = await appointmentStore.CreateAppointmentCalendarAsync("Example App Calendar");
            }
            else
            {
                this.appCalendar = appCalendars[0];
            }
            this.appCalendar.OtherAppReadAccess  = AppointmentCalendarOtherAppReadAccess.Full;
            this.appCalendar.OtherAppWriteAccess = AppointmentCalendarOtherAppWriteAccess.SystemOnly;
            // This app will show the details for the appointment. Use System to let the system show the details.
            this.appCalendar.SummaryCardView = AppointmentSummaryCardView.App;
        }