Exemplo n.º 1
0
        private void buttonEncrypt_Click(object sender, RoutedEventArgs e)
        {
            tabControl1.SelectedIndex = 3;
            ConnectionEncryption conEncrypt = new ConnectionEncryption();

            textBoxDPassword.Text = conEncrypt.EncryptString(textBoxPassword.Text);
        }
Exemplo n.º 2
0
        private void buttonDecrypt_Click(object sender, RoutedEventArgs e)
        {
            ConnectionEncryption conDecrypt = new ConnectionEncryption();

            labelEnPassword.Content = conDecrypt.DecryptString(textBoxDPassword.Text);
        }