Пример #1
0
        private void Submit_Click(object sender, EventArgs e)
        {
            if (!ProgramData.addTotp(totpName.Text, seed.Text))
            {
                seed.Text = "Bad value !";
                return;
            }

            addedName    = totpName.Text;
            DialogResult = DialogResult.OK;
            Close();
        }