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); }
public Form1() { InitializeComponent(); ProcessCipherDelegate = new ProcessCipherHandler(ProcessCipher); }