private void GetInteger_Load(object sender, EventArgs e)
{
if (Owner.Language == Language.Chinese)
{
switch (Type)
{
case "抽复数张卡":
Text = "抽复数张卡";
label.Text = "请输入要抽的卡的数量:";
break;
case "复数羁绊卡右移":
Text = "复数羁绊卡右移";
label.Text = "请输入要右移的羁绊卡的数量:";
break;
case "将复数张顶牌置于退避区":
Text = "将复数张顶牌置于退避区";
label.Text = "请输入要置于退避区的顶牌的数量:";
break;
case "查看复数张顶牌":
Text = "查看复数张顶牌";
label.Text = "请输入要查看的顶牌的数量:";
break;
}
}
else
{
Button_Confirm.Text = "Confirm";
switch (Type)
{
case "抽复数张卡":
Text = "Draw cards";
break;
case "复数羁绊卡右移":
Text = "Count bonds";
break;
case "将复数张顶牌置于退避区":
Text = "Send top cards of Deck to Retreat";
break;
case "查看复数张顶牌":
Text = "Check top cards of Deck";
break;
}
label.Text = "Please enter a number: ";
}
}