void ReleaseDesignerOutlets() { if (FlatButton != null) { FlatButton.Dispose(); FlatButton = null; } if (FloatingActionButton != null) { FloatingActionButton.Dispose(); FloatingActionButton = null; } if (Label != null) { Label.Dispose(); Label = null; } if (RaisedButton != null) { RaisedButton.Dispose(); RaisedButton = null; } }