void ReleaseDesignerOutlets() { if (AddSkillButton != null) { AddSkillButton.Dispose(); AddSkillButton = null; } if (AuraButton != null) { AuraButton.Dispose(); AuraButton = null; } if (AvailableSkillsTable != null) { AvailableSkillsTable.Dispose(); AvailableSkillsTable = null; } if (BaseAtkButton != null) { BaseAtkButton.Dispose(); BaseAtkButton = null; } if (BaseView != null) { BaseView.Dispose(); BaseView = null; } if (CMBButton != null) { CMBButton.Dispose(); CMBButton = null; } if (CMDButton != null) { CMDButton.Dispose(); CMDButton = null; } if (DescriptionView != null) { DescriptionView.Dispose(); DescriptionView = null; } if (GearButton != null) { GearButton.Dispose(); GearButton = null; } if (KnownSkillsTable != null) { KnownSkillsTable.Dispose(); KnownSkillsTable = null; } if (LanguagesButton != null) { LanguagesButton.Dispose(); LanguagesButton = null; } if (ModView != null) { ModView.Dispose(); ModView = null; } if (RacialModsButton != null) { RacialModsButton.Dispose(); RacialModsButton = null; } if (SkillDetailButton != null) { SkillDetailButton.Dispose(); SkillDetailButton = null; } if (SkillDetailSelectButton != null) { SkillDetailSelectButton.Dispose(); SkillDetailSelectButton = null; } if (SkillsView != null) { SkillsView.Dispose(); SkillsView = null; } if (SQButton != null) { SQButton.Dispose(); SQButton = null; } }
void ReleaseDesignerOutlets() { if (AreaButton != null) { AreaButton.Dispose(); AreaButton = null; } if (AuraButton != null) { AuraButton.Dispose(); AuraButton = null; } if (BackgroundView != null) { BackgroundView.Dispose(); BackgroundView = null; } if (CastingTimeButton != null) { CastingTimeButton.Dispose(); CastingTimeButton = null; } if (DescriptorButton != null) { DescriptorButton.Dispose(); DescriptorButton = null; } if (DismissableButton != null) { DismissableButton.Dispose(); DismissableButton = null; } if (DurationButton != null) { DurationButton.Dispose(); DurationButton = 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 (SpellResistanceButton != null) { SpellResistanceButton.Dispose(); SpellResistanceButton = null; } if (SubschoolButton != null) { SubschoolButton.Dispose(); SubschoolButton = null; } if (MaterialButton != null) { MaterialButton.Dispose(); MaterialButton = null; } if (MaterialTextButton != null) { MaterialTextButton.Dispose(); MaterialTextButton = null; } if (DescriptionButton != null) { DescriptionButton.Dispose(); DescriptionButton = null; } if (FocusButton != null) { FocusButton.Dispose(); FocusButton = null; } if (DivineFocusButton != null) { DivineFocusButton.Dispose(); DivineFocusButton = null; } if (FocusTextButton != null) { FocusTextButton.Dispose(); FocusTextButton = null; } if (TargetsButton != null) { TargetsButton.Dispose(); TargetsButton = null; } if (LevelsButton != null) { LevelsButton.Dispose(); LevelsButton = null; } if (VerbalButton != null) { VerbalButton.Dispose(); VerbalButton = null; } if (SomaticButton != null) { SomaticButton.Dispose(); SomaticButton = null; } }