void ReleaseDesignerOutlets() { if (AbilitiesView != null) { AbilitiesView.Dispose(); AbilitiesView = null; } if (AttacksEditorButton != null) { AttacksEditorButton.Dispose(); AttacksEditorButton = null; } if (AttacksView != null) { AttacksView.Dispose(); AttacksView = null; } if (BurrowButton != null) { BurrowButton.Dispose(); BurrowButton = null; } if (ClimbButton != null) { ClimbButton.Dispose(); ClimbButton = null; } if (FlyButton != null) { FlyButton.Dispose(); FlyButton = null; } if (FlyQualityButton != null) { FlyQualityButton.Dispose(); FlyQualityButton = null; } if (MeleeButton != null) { MeleeButton.Dispose(); MeleeButton = null; } if (RangedButton != null) { RangedButton.Dispose(); RangedButton = null; } if (ReachButton != null) { ReachButton.Dispose(); ReachButton = null; } if (SpaceButton != null) { SpaceButton.Dispose(); SpaceButton = null; } if (SpecialAttacksButton != null) { SpecialAttacksButton.Dispose(); SpecialAttacksButton = null; } if (SpeedButton != null) { SpeedButton.Dispose(); SpeedButton = null; } if (SpeedView != null) { SpeedView.Dispose(); SpeedView = null; } if (SpellLikeAbilitiesButton != null) { SpellLikeAbilitiesButton.Dispose(); SpellLikeAbilitiesButton = null; } if (SpellsKnownButton != null) { SpellsKnownButton.Dispose(); SpellsKnownButton = null; } if (SpellsPreparedButton != null) { SpellsPreparedButton.Dispose(); SpellsPreparedButton = null; } if (SwimButton != null) { SwimButton.Dispose(); SwimButton = null; } }
void ReleaseDesignerOutlets() { if (OKButton != null) { OKButton.Dispose(); OKButton = null; } if (CancelButton != null) { CancelButton.Dispose(); CancelButton = null; } if (AttackTextView != null) { AttackTextView.Dispose(); AttackTextView = null; } if (MeleeView != null) { MeleeView.Dispose(); MeleeView = null; } if (RangedView != null) { RangedView.Dispose(); RangedView = null; } if (EditingView != null) { EditingView.Dispose(); EditingView = null; } if (MeleeButton != null) { MeleeButton.Dispose(); MeleeButton = null; } if (RangedButton != null) { RangedButton.Dispose(); RangedButton = null; } if (NaturalButton != null) { NaturalButton.Dispose(); NaturalButton = null; } if (BackgroundView != null) { BackgroundView.Dispose(); BackgroundView = null; } }