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