FormMain_2.cs - using using using using using using using...

This preview shows page 1 - 3 out of 11 pages.

using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using DimatecLibrary; using CsDimatecSample.Forms; namespace CsDimatecSample { public partial class FormMain : Form { private FormInitialization MyFormInitialization; private FormCertificates MyFormCertificates; private FormCertificatesInStore MyFormCertificatesInStore; private FormCertificatesOnSmartCard MyFormCertificatesOnSmartCard; private FormCertificatesLoaded MyFormCertificatesLoaded; private FormCertificateOnFile MyFormCertificateOnFile; private FormSignFile MyFormSignFile; private FormSignFilePdf MyFormSignFilePdf; private FormCoSignFile MyFormCoSignFile; private FormCoSignFileDetached MyFormCoSignFileDetached; private FormVerifySignedFile MyFormVerifySignedFile; private FormVerifySignedFileDetached MyFormVerifySignedFileDetached; private FormTimestamp MyFormTimestamp; private FormVerifyTimestamp MyFormVerifyTimestamp; private FormHashFile MyFormHashFile; private FormVerifyHash MyFormVerifyHash; private FormSignHash MyFormSignHash; private FormVerifySignedHash MyFormVerifySignedHash; private FormMergeSigned MyFormMergeSigned; private FormEncryptFile MyFormEncryptFile; private FormDecryptFile MyFormDecryptFile; private FormRSAEncryptFile MyFormRSAEncryptFile; private FormRSADecryptFile MyFormRSADecryptFile; private FormBuildCertStore MyFormBuildCertStore; private FormBuildCertificate MyFormBuildCertificate; private FormLicense MyFormLicense; private FormArchsos MyFormArchSos; private FormProxy MyFormProxy; private PdfSignatureAdvanced MyFormSignFilePdfex; private FormVerifySignedPdfFile MyFormVerifySignedPdfFile; private FormSignBigFile MyFormSignBigFile; public FormMain() { InitializeComponent(); // Inizializzazione oggetto DiMaTec CDIMATECLIBRARY.ghDimatecObj = -1; } private void initializationToolStripMenuItem_Click(object sender, EventArgs e) {
MyFormInitialization = new FormInitialization(); MyFormInitialization.MdiParent = this; // Display the form. MyFormInitialization.Show(); } private void certificatesToolStripMenuItem_Click(object sender, EventArgs e) { MyFormCertificates = new FormCertificates(); MyFormCertificates.MdiParent = this; // Display the form. if (CDIMATECLIBRARY.ghDimatecObj > 0) MyFormCertificates.Show(); } private void certificatesInStoreToolStripMenuItem_Click(object sender, EventArgs e) { MyFormCertificatesInStore = new FormCertificatesInStore(); MyFormCertificatesInStore.MdiParent = this; if (CDIMATECLIBRARY.ghDimatecObj > 0) MyFormCertificatesInStore.Show(); } private void certificatesOnSmartcardToolStripMenuItem_Click(object sender, EventArgs e) { MyFormCertificatesOnSmartCard = new FormCertificatesOnSmartCard(); MyFormCertificatesOnSmartCard.MdiParent = this; if (CDIMATECLIBRARY.ghDimatecObj > 0) MyFormCertificatesOnSmartCard.Show(); } private void certificatesLoadedToolStripMenuItem_Click(object sender, EventArgs e) { MyFormCertificatesLoaded = new FormCertificatesLoaded(); MyFormCertificatesLoaded.MdiParent = this; if (CDIMATECLIBRARY.ghDimatecObj > 0) MyFormCertificatesLoaded.Show(); }

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture