void ReleaseDesignerOutlets() { if (AliasField != null) { AliasField.Dispose(); AliasField = null; } if (CertificateField != null) { CertificateField.Dispose(); CertificateField = null; } if (OpenFileButton != null) { OpenFileButton.Dispose(); OpenFileButton = null; } if (AddButton != null) { AddButton.Dispose(); AddButton = null; } if (CancelButton != null) { CancelButton.Dispose(); CancelButton = null; } }
void ReleaseDesignerOutlets() { if (AliasField != null) { AliasField.Dispose(); AliasField = null; } if (PrivateKeyField != null) { PrivateKeyField.Dispose(); PrivateKeyField = null; } if (CertificateField != null) { CertificateField.Dispose(); CertificateField = null; } if (OpenPrivateKeyFileButton != null) { OpenPrivateKeyFileButton.Dispose(); OpenPrivateKeyFileButton = null; } if (OpenCertificateFileButton != null) { OpenCertificateFileButton.Dispose(); OpenCertificateFileButton = null; } if (AddButton != null) { AddButton.Dispose(); AddButton = null; } if (CancelButton != null) { CancelButton.Dispose(); CancelButton = null; } if (PasswordField != null) { PasswordField.Dispose(); PasswordField = null; } }