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 (Click != null) { Click.Dispose(); Click = null; } if (offdaycom != null) { offdaycom.Dispose(); offdaycom = null; } if (weekdaycom != null) { weekdaycom.Dispose(); weekdaycom = null; } }