Example #1
0
        private void btnAttendeeStatus_Click(object sender, EventArgs e)
        {
            string s = AppointmentHelper.GetAttendeeStatusAsInfoString(_Appointment);

            ShowTextDocument oForm = new ShowTextDocument();

            oForm.Text          = "Attendee Status";
            oForm.txtEntry.Text = s;
            oForm.ShowDialog();
            oForm = null;
        }
Example #2
0
        private void cmsItemsAttendeeStatus_Click(object sender, EventArgs e)
        {
            if (lvItems.SelectedItems.Count > 0)
            {
                string  sInfo    = string.Empty;
                ItemTag oItemTag = (ItemTag)this.lvItems.SelectedItems[0].Tag;

                oItemTag = (ItemTag)lvItems.SelectedItems[0].Tag;
                _CurrentService.ClientRequestId = Guid.NewGuid().ToString();  // Set a new GUID
                Appointment oAppointment = Appointment.Bind(_CurrentService, oItemTag.Id);
                string      s            = AppointmentHelper.GetAttendeeStatusAsInfoString(oAppointment);

                ShowTextDocument oForm = new ShowTextDocument();
                oForm.Text          = "Attendee Status";
                oForm.txtEntry.Text = s;
                oForm.ShowDialog();
                oForm = null;
            }
        }