Beispiel #1
0
        void ReleaseDesignerOutlets()
        {
            if (AlarmImageView != null)
            {
                AlarmImageView.Dispose();
                AlarmImageView = null;
            }

            if (MedicineNameLabel != null)
            {
                MedicineNameLabel.Dispose();
                MedicineNameLabel = null;
            }

            if (MedicineReminderLabel != null)
            {
                MedicineReminderLabel.Dispose();
                MedicineReminderLabel = null;
            }

            if (MedicineView != null)
            {
                MedicineView.Dispose();
                MedicineView = null;
            }

            if (SelectCheckBox != null)
            {
                SelectCheckBox.Dispose();
                SelectCheckBox = null;
            }

            if (ViewLeadingConstraint != null)
            {
                ViewLeadingConstraint.Dispose();
                ViewLeadingConstraint = null;
            }

            if (ViewLeadingConstraintToCheckBox != null)
            {
                ViewLeadingConstraintToCheckBox.Dispose();
                ViewLeadingConstraintToCheckBox = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (BackButtonTopConstraint != null)
            {
                BackButtonTopConstraint.Dispose();
                BackButtonTopConstraint = null;
            }

            if (EarlyBottomConstraint != null)
            {
                EarlyBottomConstraint.Dispose();
                EarlyBottomConstraint = null;
            }

            if (EarlyCheckBox != null)
            {
                EarlyCheckBox.Dispose();
                EarlyCheckBox = null;
            }

            if (EarlyTopConstraint != null)
            {
                EarlyTopConstraint.Dispose();
                EarlyTopConstraint = null;
            }

            if (LateDayBottomConstraint != null)
            {
                LateDayBottomConstraint.Dispose();
                LateDayBottomConstraint = null;
            }

            if (LateDayCheckbox != null)
            {
                LateDayCheckbox.Dispose();
                LateDayCheckbox = null;
            }

            if (LateDayTopConstraint != null)
            {
                LateDayTopConstraint.Dispose();
                LateDayTopConstraint = null;
            }

            if (MiddayBottomConstraint != null)
            {
                MiddayBottomConstraint.Dispose();
                MiddayBottomConstraint = null;
            }

            if (MiddayCheckBox != null)
            {
                MiddayCheckBox.Dispose();
                MiddayCheckBox = null;
            }

            if (MiddayTopConstraint != null)
            {
                MiddayTopConstraint.Dispose();
                MiddayTopConstraint = null;
            }

            if (NextButton != null)
            {
                NextButton.Dispose();
                NextButton = null;
            }

            if (NextButtonHeightConstraint != null)
            {
                NextButtonHeightConstraint.Dispose();
                NextButtonHeightConstraint = null;
            }

            if (pageInfoLabel != null)
            {
                pageInfoLabel.Dispose();
                pageInfoLabel = null;
            }

            if (PageInfoTopConstraint != null)
            {
                PageInfoTopConstraint.Dispose();
                PageInfoTopConstraint = null;
            }

            if (PageSubtitleTopConstraint != null)
            {
                PageSubtitleTopConstraint.Dispose();
                PageSubtitleTopConstraint = null;
            }

            if (PageTitleTopConstraint != null)
            {
                PageTitleTopConstraint.Dispose();
                PageTitleTopConstraint = null;
            }

            if (ViewLeadingConstraint != null)
            {
                ViewLeadingConstraint.Dispose();
                ViewLeadingConstraint = null;
            }

            if (ViewTrailingConstraint != null)
            {
                ViewTrailingConstraint.Dispose();
                ViewTrailingConstraint = null;
            }

            if (WeekDayViewHeightConstraint != null)
            {
                WeekDayViewHeightConstraint.Dispose();
                WeekDayViewHeightConstraint = null;
            }

            if (WeekView != null)
            {
                WeekView.Dispose();
                WeekView = null;
            }

            if (WeekViewTopConstraint != null)
            {
                WeekViewTopConstraint.Dispose();
                WeekViewTopConstraint = null;
            }
        }