void ReleaseDesignerOutlets() { if (NameLbl != null) { NameLbl.Dispose(); NameLbl = null; } if (DurationLbl != null) { DurationLbl.Dispose(); DurationLbl = null; } if (DifficultyLbl != null) { DifficultyLbl.Dispose(); DifficultyLbl = null; } if (IngredientsLbl != null) { IngredientsLbl.Dispose(); IngredientsLbl = null; } if (MethodLbl != null) { MethodLbl.Dispose(); MethodLbl = null; } }
void ReleaseDesignerOutlets() { if (DurationLbl != null) { DurationLbl.Dispose(); DurationLbl = null; } if (NameLbl != null) { NameLbl.Dispose(); NameLbl = null; } if (DurationIv != null) { DurationIv.Dispose(); DurationIv = null; } }