private void ClearForm() { txtAppointmentType.Text = string.Empty; txtOrganizer.Text = string.Empty; txtSubject.Text = string.Empty; txtLocation.Text = string.Empty; DateTime oDateTime = DateTime.Now; this.dtDurationStartDate.Value = oDateTime; this.dtDurationStartTime.Value = oDateTime; this.dtDurationEndDate.Value = oDateTime.AddMinutes(30); this.dtDurationEndTime.Value = oDateTime.AddMinutes(30); //TimeHelper.InitDateTimeRangeCmboPickers( // ( // ref this.dtDurationStartDate.Value, // ref this.dtDurationStartTime.Value, // ref this.dtDurationEndDate.Value, // ref this.dtDurationEndTime.Value // ); //http://msdn.microsoft.com/en-us/library/dd633707(EXCHG.80).aspx this.cmboDurationStartTimezone.Text = TimeHelper.GetTimezoneStringForCombobox(TimeZoneInfo.Local); this.cmboDurationStartTimezone.Text = TimeHelper.GetTimezoneStringForCombobox(TimeZoneInfo.Local); //this.cmboTimezone.Text = TimeHelper.GetTimezoneStringForCombobox(TimeZoneInfo.Local); txtBody.Text = string.Empty; chkIsAllDayEvent.Checked = false; chkIsRecurring.Checked = false; ComboBoxHelper.AddEnumsToComboBox(ref cmboLegacyFreeBusyStatus, typeof(LegacyFreeBusyStatus)); cmboLegacyFreeBusyStatus.Text = "OOF"; ComboBoxHelper.AddEnumsToComboBox(ref cmboImportance, typeof(Importance)); cmboImportance.Text = "Normal"; cmboCategories.Text = ""; }