private void 横置竖置ToolStripMenuItem_Click(object sender, EventArgs e)
{
Card thisCard = ((CardPic)CardPicClicked).thisCard;
thisCard.IsHorizontal = !thisCard.IsHorizontal;
if (Language == Language.Chinese)
{
if (thisCard.IsHorizontal)
{
msgProcessor.Send("SetHorizontal", "#将[" + GetRegionNameInString(thisCard.BelongedRegion()) + "][" + thisCard.CardName + "]横置。");
}
else
{
msgProcessor.Send("SetVertical", "#将[" + GetRegionNameInString(thisCard.BelongedRegion()) + "][" + thisCard.CardName + "]竖置。");
}
}
else
{
if (thisCard.IsHorizontal)
{
msgProcessor.Send("SetHorizontal", "#Tap [" + GetRegionNameInString(thisCard.BelongedRegion()) + "][" + thisCard.CardName + "].");
}
else
{
msgProcessor.Send("SetVertical", "#Untap [" + GetRegionNameInString(thisCard.BelongedRegion()) + "][" + thisCard.CardName + "].");
}
}
Renew();
}