void ReleaseDesignerOutlets() { if (Click != null) { Click.Dispose(); Click = null; } if (DisplayText != null) { DisplayText.Dispose(); DisplayText = null; } if (EnterText != null) { EnterText.Dispose(); EnterText = null; } if (GoToNavigate != null) { GoToNavigate.Dispose(); GoToNavigate = null; } if (ItemList != null) { ItemList.Dispose(); ItemList = null; } }
void ReleaseDesignerOutlets() { if (EnterText != null) { EnterText.Dispose(); EnterText = null; } if (Name != null) { Name.Dispose(); Name = null; } }