Example #1
0
        private void invalidTestMenuItem_Click(object sender, EventArgs e)
        {
            var key = (new PartialKeyGenerator(new Adler16(), new Jenkins96(), new uint[] { 1, 0, 0, 0 })
            {
                Spacing = 6
            })
                      .Generate(userNameTextBox.Text);

            var form = new DemoValidator(userNameTextBox.Text, key);

            form.ShowDialog();
        }
Example #2
0
        private void testValidationMenuItem_Click(object sender, EventArgs e)
        {
            var form = new DemoValidator(userNameTextBox.Text, keyTextBox.Text);

            form.ShowDialog();
        }