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

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

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

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

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

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

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

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

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

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

            if (VOldDateLabel != null)
            {
                VOldDateLabel.Dispose();
                VOldDateLabel = null;
            }
        }
Beispiel #3
0
        void ReleaseDesignerOutlets()
        {
            if (actionSheetDatePicker != null)
            {
                actionSheetDatePicker.Dispose();
                actionSheetDatePicker = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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