Пример #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;
            }
        }
Пример #2
0
        void ReleaseDesignerOutlets()
        {
            if (AppointmentLoadingIndicator != null)
            {
                AppointmentLoadingIndicator.Dispose();
                AppointmentLoadingIndicator = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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