void ReleaseDesignerOutlets() { if (CancelButton != null) { CancelButton.Dispose(); CancelButton = null; } if (CreateKey != null) { CreateKey.Dispose(); CreateKey = null; } if (FilePath != null) { FilePath.Dispose(); FilePath = null; } if (KeyLength != null) { KeyLength.Dispose(); KeyLength = null; } if (OkButton != null) { OkButton.Dispose(); OkButton = null; } if (OpenFileButton != null) { OpenFileButton.Dispose(); OpenFileButton = null; } if (PrivateKeyOptions != null) { PrivateKeyOptions.Dispose(); PrivateKeyOptions = null; } if (PrivateKeyTextView != null) { PrivateKeyTextView.Dispose(); PrivateKeyTextView = null; } }