private void btnCreate_Click(object sender, EventArgs e) { world = new World(new Size(400, 200)); world.OnAntAdd += (Ant a) => { dgvAntData.Rows.Add(); }; world.CreateAnts(15); picSimAntWorld.Size = world.WorldSize; btnCreate.Enabled = false; btnPauseResume.Text = "Pause"; btnPauseResume.Enabled = true; worldTimer.Start(); }