Beispiel #1
0
        private void GenerateResponse()
        {
            string request   = textBox2.Text;
            string edition   = comboBox1.Text;
            int    userCount = (int)numericUpDown1.Value;

            if (request != null && edition != null && userCount != 0)
            {
                try
                {
                    textBox3.Text = Keygen1.GenerateResponse(request, edition, userCount);
                }
                catch
                {
                    textBox3.Text = "";
                }
            }
        }
Beispiel #2
0
 private void button1_Click(object sender, EventArgs e)
 {
     textBox1.Text = Keygen1.GenerateSerial();
 }
Beispiel #3
0
 public Form1()
 {
     InitializeComponent();
     comboBox1.SelectedIndex = 0;
     textBox1.Text           = Keygen1.GenerateSerial();
 }