void update() { ExecuteStep.Execute(); pictureBox1.Image = MainItems.MainPolygon; pictureBox1.Update(); MainItems._step++; label1.Text = MainItems._step.ToString(); }
private void button3_Click(object sender, EventArgs e) { ExecuteStep.Execute(); pictureBox1.Image = MainItems.MainPolygon; MainItems._step++; }