コード例 #1
0
 private void footButton_Click(object sender, EventArgs e)
 {
     if (currentFoot == feet.FootRight)
     {
         currentFoot      = feet.FootLeft;
         footButton.Image = new Bitmap(Resources.img_leftFoot, footButton.Size);
     }
     else
     {
         currentFoot      = feet.FootRight;
         footButton.Image = new Bitmap(Resources.img_rightFoot, footButton.Size);
     }
     get_foot();
 }
コード例 #2
0
 private void footButton_Click(object sender, EventArgs e)
 {
     if (currentFoot == feet.FootRight)
     {
         currentFoot = feet.FootLeft;
         footButton.Image = new Bitmap(Resources.img_leftFoot, footButton.Size);
     }
     else
     {
         currentFoot = feet.FootRight;
         footButton.Image = new Bitmap(Resources.img_rightFoot, footButton.Size);
     }
     get_foot();
 }