public void SetHorizontal() { Width = HEIGHT; Height = WIDTH; Image.RotateFlip(RotateFlipType.Rotate90FlipNone); Top += (HEIGHT - WIDTH) / 2; Left -= (HEIGHT - WIDTH) / 2; IsHorizontal = true; }