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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            if (Tableview != null)
            {
                Tableview.Dispose();
                Tableview = 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;
            }
        }