Example #1
0
        private void btnGiaiMa_Click(object sender, EventArgs e)
        {
            var chuoiBanDau = Ceasar.Decrypt(txtChuoiNhap.Text.ToUpper(), int.Parse(txtK.Text));

            //MessageBox.Show(chuoiBanDau);
            txtKetQua.Text = chuoiBanDau;
        }
Example #2
0
        private void btnMaHoa_Click(object sender, EventArgs e)
        {
            var chuoiDaMaHoa = Ceasar.Encrypt(txtChuoiNhap.Text.ToUpper(), int.Parse(txtK.Text));

            //MessageBox.Show(chuoiDaMaHoa);
            txtKetQua.Text = chuoiDaMaHoa;
        }