Esempio n. 1
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;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (ArrowImage != null)
            {
                ArrowImage.Dispose();
                ArrowImage = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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