void ReleaseDesignerOutlets() { if (FrameView != null) { FrameView.Dispose(); FrameView = null; } if (IngredientName != null) { IngredientName.Dispose(); IngredientName = null; } }