Exemple #1
0
        private void Generate_Click_1(object sender, EventArgs e)
        {
            textBox2.Text = GenerateStuff.FinalOutput;
            GS.GeneratePassword();
            textBox1.Text = GenerateStuff.FinalOutput;
            Phonetics pho = new Phonetics();

            PhoOutput.Text = pho.PhoneticEnator();
        }
        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();
            }
        }
        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);
            }
        }