Ejemplo n.º 1
0
        void ReleaseDesignerOutlets()
        {
            if (BackgroundView != null)
            {
                BackgroundView.Dispose();
                BackgroundView = null;
            }

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

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

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

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

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

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

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

            if (TypesButton != null)
            {
                TypesButton.Dispose();
                TypesButton = null;
            }
        }
Ejemplo n.º 2
0
        void ReleaseDesignerOutlets()
        {
            if (AreaButton != null)
            {
                AreaButton.Dispose();
                AreaButton = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            if (VerbalButton != null)
            {
                VerbalButton.Dispose();
                VerbalButton = null;
            }
        }
Ejemplo n.º 3
0
        void ReleaseDesignerOutlets()
        {
            if (AbilityArea != null)
            {
                AbilityArea.Dispose();
                AbilityArea = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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