void ReleaseDesignerOutlets() { if (AddButton != null) { AddButton.Dispose(); AddButton = null; } if (CancelButton != null) { CancelButton.Dispose(); CancelButton = null; } if (CertPathTxtField != null) { CertPathTxtField.Dispose(); CertPathTxtField = null; } if (PrivateKeyTxtField != null) { PrivateKeyTxtField.Dispose(); PrivateKeyTxtField = null; } if (BrowseButton != null) { BrowseButton.Dispose(); BrowseButton = null; } if (OpenFileButton != null) { OpenFileButton.Dispose(); OpenFileButton = null; } }