Example #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 (ActivateButton != null)
            {
                ActivateButton.Dispose();
                ActivateButton = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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