accountmanagementengine

accountmanagementengine Commit Details


Date:2013-01-27 21:45:00 (12 years 2 months ago)
Author:Natalie Adams
Branch:default
Commit:b9e2958f6d0b
Parents: a629cd533b24
Message:Adding error messages to make sure users enter in all fields.

Changes:
MQRWin/Form1.cs (1 diff)

File differences

QRWin/Form1.cs
3333
3434
3535
36
37
38
39
40
41
42
43
44
45
46
3647
3748
3849
        private void btnMakeQR_Click(object sender, EventArgs e)
        {
            if (txtName.Text == "")
            {
                MessageBox.Show("Please enter a value for the name.", "QRWin", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
                return;
            }
            if (txtKey.Text == "")
            {
                MessageBox.Show("Please enter your key or generate one.", "QRWin", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
                return;
            }
            qrCon1.Text = String.Format("otpauth://totp/{0}?secret={1}", txtName.Text, txtKey.Text);
        }
    }

Archive Download the corresponding diff file

Branches

Tags

Page rendered in 8.47905s using 14 queries.