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

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

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

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

            if (OpenSettingsContainer != null)
            {
                OpenSettingsContainer.Dispose();
                OpenSettingsContainer = null;
            }
        }
Exemple #2
0
        void ReleaseDesignerOutlets()
        {
            if (CalendarNotificationsContainer != null)
            {
                CalendarNotificationsContainer.Dispose();
                CalendarNotificationsContainer = null;
            }

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

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

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

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

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

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

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