예제 #1
0
        private void Button3_Click(object sender, EventArgs e)
        {
            GenerateStuff GS = new GenerateStuff();

            for (int i = 0; i <= 1000000; i++)
            {
                Console.WriteLine("----------------");

                GS.GeneratePassword();
                textBox1.Text  = GenerateStuff.FinalOutput;
                PhoOutput.Text = Phonetics.PhoneticEnator();
                Console.WriteLine(GenerateStuff.FinalOutput);
            }
        }
예제 #2
0
        private void Generate_Click_1(object sender, EventArgs e)
        {
            GenerateStuff GS = new GenerateStuff();

            if (checkBox1.Checked) //do you want to use special characters
            {
                GS.GeneratePassword();
                GenerateStuff.FinalOutput = Phonetics.generateSpecialChar(GenerateStuff.FinalOutput);
                textBox1.Text             = GenerateStuff.FinalOutput;

                PhoOutput.Text = Phonetics.PhoneticEnator();
            }
            else
            {
                GS.GeneratePassword();
                textBox1.Text  = GenerateStuff.FinalOutput;
                PhoOutput.Text = Phonetics.PhoneticEnator();
            }
        }