void ReleaseDesignerOutlets() { if (CheckAnswerButton != null) { CheckAnswerButton.Dispose(); CheckAnswerButton = null; } if (ClearButton != null) { ClearButton.Dispose(); ClearButton = null; } if (ResultTableView != null) { ResultTableView.Dispose(); ResultTableView = null; } if (SampleButton != null) { SampleButton.Dispose(); SampleButton = null; } if (TextWord != null) { TextWord.Dispose(); TextWord = null; } }