private void d25Button_Click(object sender, EventArgs e) { mainTextBox.Text = Generators.dice(1, 25); numFaces.Value = 25; }
private void d1000Button_Click(object sender, EventArgs e) { mainTextBox.Text = Generators.dice(1, 1000); numFaces.Value = 1000; }
private void customDiceButton_Click(object sender, EventArgs e) { mainTextBox.Text = Generators.dice((int)numDice.Value, (int)numFaces.Value); }