void ReleaseDesignerOutlets() { if (AdditionalInfoTextBox != null) { AdditionalInfoTextBox.Dispose(); AdditionalInfoTextBox = null; } if (CurrentLocationTextBox != null) { CurrentLocationTextBox.Dispose(); CurrentLocationTextBox = null; } if (DestinationTextBox != null) { DestinationTextBox.Dispose(); DestinationTextBox = null; } if (FeedbackButton != null) { FeedbackButton.Dispose(); FeedbackButton = null; } if (NameTextBox != null) { NameTextBox.Dispose(); NameTextBox = null; } if (RequestButton != null) { RequestButton.Dispose(); RequestButton = null; } }
void ReleaseDesignerOutlets() { if (AddSeekiosButton != null) { AddSeekiosButton.Dispose(); AddSeekiosButton = null; } if (AddSeekiosLabel != null) { AddSeekiosLabel.Dispose(); AddSeekiosLabel = null; } if (AllSeekiosMapLabel != null) { AllSeekiosMapLabel.Dispose(); AllSeekiosMapLabel = null; } if (CreditsLabel != null) { CreditsLabel.Dispose(); CreditsLabel = null; } if (CreditsTitleLabel != null) { CreditsTitleLabel.Dispose(); CreditsTitleLabel = null; } if (EmailUser != null) { EmailUser.Dispose(); EmailUser = null; } if (FeedbackButton != null) { FeedbackButton.Dispose(); FeedbackButton = null; } if (FeedbackLabel != null) { FeedbackLabel.Dispose(); FeedbackLabel = null; } if (Head2View != null) { Head2View.Dispose(); Head2View = null; } if (HeadView != null) { HeadView.Dispose(); HeadView = null; } if (HistoriqueConsommationButton != null) { HistoriqueConsommationButton.Dispose(); HistoriqueConsommationButton = null; } if (MapButton != null) { MapButton.Dispose(); MapButton = null; } if (MyConsoLabel != null) { MyConsoLabel.Dispose(); MyConsoLabel = null; } if (NameUser != null) { NameUser.Dispose(); NameUser = null; } if (ParameterButton != null) { ParameterButton.Dispose(); ParameterButton = null; } if (ParametersLabel != null) { ParametersLabel.Dispose(); ParametersLabel = null; } if (SeekiosTutorialButton != null) { SeekiosTutorialButton.Dispose(); SeekiosTutorialButton = null; } if (SettingsImageView != null) { SettingsImageView.Dispose(); SettingsImageView = null; } if (UserGuideLabel != null) { UserGuideLabel.Dispose(); UserGuideLabel = null; } if (UserImageView != null) { UserImageView.Dispose(); UserImageView = null; } }