void ReleaseDesignerOutlets() { if (PickerViewSelect != null) { PickerViewSelect.Dispose(); PickerViewSelect = null; } if (SettingsView != null) { SettingsView.Dispose(); SettingsView = null; } if (SwipeLabel != null) { SwipeLabel.Dispose(); SwipeLabel = null; } if (SwitchLabel != null) { SwitchLabel.Dispose(); SwitchLabel = null; } if (ViberateSwitch != null) { ViberateSwitch.Dispose(); ViberateSwitch = null; } }
void ReleaseDesignerOutlets() { if (TapViewContainer != null) { TapViewContainer.Dispose(); TapViewContainer = null; } if (SwipeViewContainer != null) { SwipeViewContainer.Dispose(); SwipeViewContainer = null; } if (PanViewContainer != null) { PanViewContainer.Dispose(); PanViewContainer = null; } if (TapLabel != null) { TapLabel.Dispose(); TapLabel = null; } if (SwipeLabel != null) { SwipeLabel.Dispose(); SwipeLabel = null; } if (PanLabel != null) { PanLabel.Dispose(); PanLabel = null; } }