public frmRemoveDigitalSignatures(List <FileHistory> documents) { InitializeComponent(); removeSignaturesActionType = removeSignaturesType.removeAllSignatures; selectedDocumentsToRemoveDigitalSignature = documents; LastBackedUpFolder = Registry.CurrentUser.OpenSubKey(@"Software\LTIA\Assinador Digital", true); txtPath.Text = (LastBackedUpFolder.GetValue("LastBackUpFolder") ?? "").ToString(); }
public frmAddDigitalSignature(List <FileHistory> selectedItens, bool showCheckBoxViewDocuments) { InitializeComponent(); compatibleDocumentsList = selectedItens; chkViewDocuments.Checked = showCheckBoxViewDocuments; chkViewDocuments.Visible = showCheckBoxViewDocuments; chkIncludeSubfolders.Visible = showCheckBoxViewDocuments; LastBackedUpFolder = Registry.CurrentUser.OpenSubKey(@"Software\LTIA\Assinador Digital", true); txtPath.Text = (LastBackedUpFolder.GetValue("LastBackUpFolder") ?? "").ToString(); CertificateUtils.VerifyConsultCRL(); }