示例#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);
        }