Пример #1
0
        public CryptosForm()
        {
            InitializeComponent();
            InitComboBox();

            AesProvider = new AESProvider();
            DesProvider = new DESProvider();

            AesProvider.ProgressChanged += new ProgressEventHandler(AESProgressChanged);
            DesProvider.ProgressChanged += new ProgressEventHandler(DESProgressChanged);

            ProcessCipherDelegate = new ProcessCipherHandler(ProcessCipher);
            AsyCall = new AsyncCallback(ProcessCompleted);
        }
Пример #2
0
 public Form1()
 {
     InitializeComponent();
     ProcessCipherDelegate = new ProcessCipherHandler(ProcessCipher);
 }