void ReleaseDesignerOutlets() { if (AnimatedSwitch != null) { AnimatedSwitch.Dispose(); AnimatedSwitch = null; } if (IndexTextField != null) { IndexTextField.Dispose(); IndexTextField = null; } if (LabelTextField != null) { LabelTextField.Dispose(); LabelTextField = null; } if (SelectedIndexLabel != null) { SelectedIndexLabel.Dispose(); SelectedIndexLabel = null; } if (TabBar != null) { TabBar.Dispose(); TabBar = null; } }
void ReleaseDesignerOutlets() { if (IndexTextField != null) { IndexTextField.Dispose(); IndexTextField = null; } if (LabelTextField != null) { LabelTextField.Dispose(); LabelTextField = null; } if (SelectedIndexLabel != null) { SelectedIndexLabel.Dispose(); SelectedIndexLabel = null; } }