public override void Destroy() { if (sfschedule != null) { sfschedule.Dispose(); sfschedule = null; } if (workHour_rangeSlider != null) { workHour_rangeSlider.RangeChanged -= workHour_rangeSlider_RangeChanged; workHour_rangeSlider.Dispose(); workHour_rangeSlider = null; } if (show_Non_Accessible_Block_checkBox != null) { show_Non_Accessible_Block_checkBox.CheckedChange -= show_Non_Accessible_Block_checkBox_CheckedChange; show_Non_Accessible_Block_checkBox.Dispose(); show_Non_Accessible_Block_checkBox = null; } if (show_Blackout_Dates != null) { show_Blackout_Dates.CheckedChange -= show_Blackout_Dates_CheckedChange; show_Blackout_Dates.Dispose(); show_Blackout_Dates = null; } if (show_week_number != null) { show_week_number.CheckedChange -= show_week_number_CheckedChange; show_week_number.Dispose(); show_week_number = null; } base.Destroy(); }
public void Dispose() { if (sfschedule != null) { sfschedule.Dispose(); sfschedule = null; } }
public void Dispose() { if (sfSchedule != null) { sfSchedule.AppointmentDrop -= SfSchedule_AppointmentDrop; sfSchedule.Dispose(); sfSchedule = null; } }
public override void Destroy() { if (sfSchedule != null) { sfSchedule.Dispose(); sfSchedule = null; } base.Destroy(); }
public override void Destroy() { if (sfSchedule != null) { sfSchedule.AppointmentDrop -= SfSchedule_AppointmentDrop; sfSchedule.Dispose(); sfSchedule = null; } base.Destroy(); }
public override void Destroy() { if (sfSchedule != null) { sfSchedule.MonthCellLoaded -= SfSchedule_MonthCellLoaded; sfSchedule.AppointmentLoaded -= SfSchedule_AppointmentLoaded; sfSchedule.CellTapped -= sfSchedule_ScheduleTapped; sfSchedule.Dispose(); sfSchedule = null; } base.Destroy(); }
public override void Dispose() { if (schedule != null) { schedule.Dispose(); AppointmentCollection.Clear(); AppointmentCollection = null; if (this.DataContext != null && this.DataContext is IDisposable) { (this.DataContext as IDisposable).Dispose(); } this.DataContext = null; } }
public void Dispose() { if (sfschedule != null) { sfschedule.VisibleDatesChanged -= Sfschedule_VisibleDatesChanged; sfschedule.Dispose(); sfschedule = null; } if (nonAccessibleBlocksCollection != null) { nonAccessibleBlocksCollection.Clear(); nonAccessibleBlocksCollection = null; } if (subjectCollection != null) { subjectCollection.Clear(); subjectCollection = null; } if (startTimeCollection != null) { startTimeCollection.Clear(); startTimeCollection = null; } if (endTimeCollection != null) { endTimeCollection.Clear(); endTimeCollection = null; } if (appointmentCollection != null) { appointmentCollection.Clear(); appointmentCollection = null; } if (nonAccessibleBlocks != null) { nonAccessibleBlocks.Clear(); nonAccessibleBlocks = null; } if (con != null) { con = null; } }
public override void Destroy() { if (sfSchedule != null) { sfSchedule.Dispose(); sfSchedule = null; } if (spinner != null) { spinner.ItemSelected -= spinner_ItemSelected; spinner.Dispose(); spinner = null; } base.Destroy(); }
public void Dispose() { if (sfSchedule != null) { sfSchedule.MonthCellLoaded -= SfSchedule_MonthCellLoaded; sfSchedule.AppointmentLoaded -= SfSchedule_AppointmentLoaded; sfSchedule.CellTapped -= SfSchedule_ScheduleTapped; sfSchedule.Dispose(); sfSchedule = null; } if (customView != null) { customView.Dispose(); customView = null; } }
public override void Destroy() { if (sfschedule != null) { sfschedule.VisibleDatesChanged -= Sfschedule_VisibleDatesChanged; sfschedule.Dispose(); sfschedule = null; } if (nonAccessibleBlocksCollection != null) { nonAccessibleBlocksCollection.Clear(); nonAccessibleBlocksCollection = null; } if (subjectCollection != null) { subjectCollection.Clear(); subjectCollection = null; } if (startTimeCollection != null) { startTimeCollection.Clear(); startTimeCollection = null; } if (endTimeCollection != null) { endTimeCollection.Clear(); endTimeCollection = null; } if (appointmentCollection != null) { appointmentCollection.Clear(); appointmentCollection = null; } if (nonAccessibleBlocks != null) { nonAccessibleBlocks.Clear(); nonAccessibleBlocks = null; } if (mContext != null) { mContext = null; } base.Destroy(); }
public void Dispose() { if (sfSchedule != null) { sfSchedule.Dispose(); sfSchedule = null; } if (mainLayout != null) { mainLayout.Dispose(); mainLayout = null; } if (borderLayout != null) { borderLayout.Dispose(); borderLayout = null; } }
public void Dispose() { if (sfSchedule != null) { sfSchedule.Dispose(); sfSchedule = null; } if (spinner != null) { spinner.ItemSelected -= Spinner_ItemSelected; spinner.Dispose(); spinner = null; } if (propertylayout != null) { propertylayout.Dispose(); propertylayout = null; } }
public override void Destroy() { if (sfSchedule != null) { sfSchedule.CellDoubleTapped -= SfSchedule_DoubleTapped; sfSchedule.CellTapped -= SfSchedule_CellTapped; sfSchedule.VisibleDatesChanged -= SfSchedule_VisibleDatesChanged; sfSchedule.Dispose(); sfSchedule = null; } if (scheduleCustomHeader != null) { if (scheduleCustomHeader.scheduleCalendar != null) { scheduleCustomHeader.scheduleCalendar.Click -= ScheduleCalendar_Click; scheduleCustomHeader.scheduleCalendar.Dispose(); scheduleCustomHeader.scheduleCalendar = null; } if (scheduleCustomHeader.schedulePlus != null) { scheduleCustomHeader.schedulePlus.Click -= EditorLayout_Click; scheduleCustomHeader.schedulePlus.Dispose(); scheduleCustomHeader.schedulePlus = null; } if (scheduleCustomHeader.scheduleOption != null) { scheduleCustomHeader.scheduleOption.Click -= ScheduleOption_Click; scheduleCustomHeader.scheduleOption.Dispose(); scheduleCustomHeader.scheduleOption = null; } scheduleCustomHeader = null; } if (editor != null) { if (editor.saveButton != null) { editor.saveButton.Click -= SaveButton_Click; editor.saveButton.Dispose(); editor.saveButton = null; } if (editor.cancelButton != null) { editor.cancelButton.Click -= CancelButton_Click; editor.cancelButton.Dispose(); editor.cancelButton = null; } } if (viewOptionLayout != null) { if (viewOptionLayout.day != null) { viewOptionLayout.day.Click -= Day_Click; viewOptionLayout.day.Dispose(); viewOptionLayout.day = null; } if (viewOptionLayout.week != null) { viewOptionLayout.week.Click -= Week_Click; viewOptionLayout.week.Dispose(); viewOptionLayout.week = null; } if (viewOptionLayout.workweek != null) { viewOptionLayout.workweek.Click -= Workweek_Click; viewOptionLayout.workweek.Dispose(); viewOptionLayout.workweek = null; } if (viewOptionLayout.month != null) { viewOptionLayout.month.Click -= Month_Click; viewOptionLayout.month.Dispose(); viewOptionLayout = null; } } if (minTimeSubjectCollection != null) { minTimeSubjectCollection.Clear(); minTimeSubjectCollection = null; } if (minStartTimeCollection != null) { minStartTimeCollection.Clear(); minStartTimeCollection = null; } base.Destroy(); }
public void Dispose() { if (sfschedule != null) { sfschedule.Dispose(); sfschedule = null; } if (propertylayout != null) { propertylayout.Dispose(); propertylayout = null; } if (monthViewLayout != null) { monthViewLayout.Dispose(); monthViewLayout = null; } if (otherviewsLayout != null) { otherviewsLayout.Dispose(); otherviewsLayout = null; } if (workHourRangeSlider != null) { workHourRangeSlider.RangeChanged -= WorkHour_rangeSlider_RangeChanged; workHourRangeSlider.Dispose(); workHourRangeSlider = null; } if (showWeekNumber != null) { showWeekNumber.CheckedChange -= Show_week_number_CheckedChange; showWeekNumber.Dispose(); showWeekNumber = null; } if (workingHoursTxtBlock != null) { workingHoursTxtBlock.Dispose(); workingHoursTxtBlock = null; } if (showNonAccessibleBlockcheckBox != null) { showNonAccessibleBlockcheckBox.CheckedChange -= Show_Non_Accessible_Block_checkBox_CheckedChange; showNonAccessibleBlockcheckBox.Dispose(); showNonAccessibleBlockcheckBox = null; } if (showBlackoutDates != null) { showBlackoutDates.CheckedChange -= Show_Blackout_Dates_CheckedChange; showBlackoutDates.Dispose(); showBlackoutDates = null; } if (monthViewLayout != null) { monthViewLayout.Dispose(); monthViewLayout = null; } }
public void Dispose() { if (sfSchedule != null) { sfSchedule.CellTapped -= SfSchedule_CellTapped; sfSchedule.CellDoubleTapped -= SfSchedule_DoubleTapped; sfSchedule.VisibleDatesChanged -= SfSchedule_VisibleDatesChanged; sfSchedule.Dispose(); sfSchedule = null; } if (mainLayout != null) { mainLayout.Dispose(); mainLayout = null; } if (propertylayout != null) { propertylayout.Dispose(); propertylayout = null; } if (linearLayout != null) { linearLayout.Dispose(); linearLayout = null; } if (editor != null) { if (editor.SaveButton != null) { editor.SaveButton.Click -= SaveButton_Click; editor.SaveButton.Dispose(); editor.SaveButton = null; } if (editor.CancelButton != null) { editor.CancelButton.Click -= CancelButton_Click; editor.CancelButton.Dispose(); editor.CancelButton = null; } editor.Dispose(); editor = null; } if (scheduleCustomHeader != null) { if (scheduleCustomHeader.ScheduleCalendar != null) { scheduleCustomHeader.ScheduleCalendar.Click -= ScheduleCalendar_Click; scheduleCustomHeader.ScheduleCalendar.Dispose(); scheduleCustomHeader.ScheduleCalendar = null; } if (scheduleCustomHeader.SchedulePlus != null) { scheduleCustomHeader.SchedulePlus.Click -= EditorLayout_Click; scheduleCustomHeader.SchedulePlus.Dispose(); scheduleCustomHeader.SchedulePlus = null; } if (scheduleCustomHeader.ScheduleOption != null) { scheduleCustomHeader.ScheduleOption.Click -= ScheduleOption_Click; scheduleCustomHeader.ScheduleOption.Dispose(); scheduleCustomHeader.ScheduleOption = null; } scheduleCustomHeader.Dispose(); scheduleCustomHeader = null; } if (viewOptionLayout != null) { if (viewOptionLayout.Day != null) { viewOptionLayout.Day.Click -= Day_Click; viewOptionLayout.Day.Dispose(); viewOptionLayout.Day = null; } if (viewOptionLayout.Week != null) { viewOptionLayout.Week.Click -= Week_Click; viewOptionLayout.Week.Dispose(); viewOptionLayout.Week = null; } if (viewOptionLayout.Workweek != null) { viewOptionLayout.Workweek.Click -= Workweek_Click; viewOptionLayout.Workweek.Dispose(); viewOptionLayout.Workweek = null; } if (viewOptionLayout.Month != null) { viewOptionLayout.Month.Click -= Month_Click; viewOptionLayout.Month.Dispose(); viewOptionLayout.Month = null; } viewOptionLayout.Dispose(); viewOptionLayout = null; } if (minTimeSubjectCollection != null) { minTimeSubjectCollection.Clear(); minTimeSubjectCollection = null; } if (minStartTimeCollection != null) { minStartTimeCollection.Clear(); minStartTimeCollection = null; } }