private void btnManyKeys_Click(object sender, EventArgs e) { int numOfKeys = 999; Key1 k = new Key1(numOfKeys); string[] temp = k.genAllKeys(this.pgs); string temp2 = ""; for (int i = 0; i < temp.Length; i++) { temp2 += temp[i] + Environment.NewLine; } //MessageBox.Show(temp2); FileIO f = new FileIO(); f.FileCreater("keys", temp2, null); }
private void btnNewKey_Click(object sender, EventArgs e) { Key1 k = new Key1(5); lblOutput.Text = k.genAKey(); }