private void button2_Click(object sender, EventArgs e) { Motion(); CountDown(this.pictureBox2.CreateGraphics()); op = OPERATII.PUTERE; button10.Enabled = true; buttonSwitch_Click(button10, null); }
private void buttonClear_Click(object sender, EventArgs e) { pictureBox1.Location = pos1; pictureBox2.Location = pos2; op = 0; button10.Enabled = false; pictureBox2.BringToFront(); isInFront = false; Refresh(); }