private void btnNewKey_Click(object sender, EventArgs e) { Key1 k = new Key1(5); lblOutput.Text = k.genAKey(); }