void ReleaseDesignerOutlets() { if (GreetingLabel != null) { GreetingLabel.Dispose(); GreetingLabel = null; } if (Text1 != null) { Text1.Dispose(); Text1 = null; } if (Button1 != null) { Button1.Dispose(); Button1 = null; } if (FooterLabel != null) { FooterLabel.Dispose(); FooterLabel = null; } }