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