private void werpButton_Click(object sender, EventArgs e) { if (!controller.Vast) { controller.Werp(); } }
private void button1_Click(object sender, EventArgs e) { controller.Werp(); int nieuwAantalOgen = controller.teerlingModel.AantalOgen; TeerlingLabel.Text = nieuwAantalOgen.ToString(); }
private void button1_Click(object sender, EventArgs e) { controller.Werp(); UpdateUI(); }