void ReleaseDesignerOutlets() { if (AfflictionsTab != null) { AfflictionsTab.Dispose(); AfflictionsTab = null; } if (ApplyButton != null) { ApplyButton.Dispose(); ApplyButton = null; } if (BottomView != null) { BottomView.Dispose(); BottomView = null; } if (CloseButton != null) { CloseButton.Dispose(); CloseButton = null; } if (ConditionDetailWebView != null) { ConditionDetailWebView.Dispose(); ConditionDetailWebView = null; } if (ConditionsTab != null) { ConditionsTab.Dispose(); ConditionsTab = null; } if (CustomTab != null) { CustomTab.Dispose(); CustomTab = null; } if (DurationLabel != null) { DurationLabel.Dispose(); DurationLabel = null; } if (FavoritesTab != null) { FavoritesTab.Dispose(); FavoritesTab = null; } if (FilterText != null) { FilterText.Dispose(); FilterText = null; } if (SelectionTable != null) { SelectionTable.Dispose(); SelectionTable = null; } if (SpellsTab != null) { SpellsTab.Dispose(); SpellsTab = null; } if (TitleView != null) { TitleView.Dispose(); TitleView = null; } if (TopView != null) { TopView.Dispose(); TopView = null; } }