예제 #1
0
 private void Rotate_Click(object sender, EventArgs e)
 {
     if (sender == btnRotateLeft)
     {
         ActiveChild.Rotate(true);
     }
     else if (sender == btnRotateRight)
     {
         ActiveChild.Rotate(false);
     }
     else
     {
         throw new NotImplementedException();
     }
 }