求一个桥牌系统叫牌器代码?
发布网友
发布时间:2024-07-21 08:31
我来回答
共1个回答
热心网友
时间:2024-08-08 21:37
/// <summary>
/// 在叫牌器上显示北家牌
/// </summary>
private void ShowNorth()
{
lblShow.Text = "北";
int s = 0;
pic = new PictureBox[13];
foreach (int k in textE)
{
pic[s] = new PictureBox();
string filename = path + "\\..\\..\\img\\" + k.ToString() + ".gif";
pic[s].Image = Image.FromFile(filename);
this.Controls.Add(pic[s]);
pic[s].Left = 100 + 20 * s;
pic[s].Top = 380;
pic[s].Tag = k;
pic[s].Width = 85;
pic[s].Height = 110;
pic[s].SizeMode = PictureBoxSizeMode.StretchImage;
pic[s].BringToFront();
pic[s].Visible = true;
s++;
}
}
private void CallShow(Button btn)
{
try
{
string btnName = btn.Name;
int currentBtnNum = Convert.ToInt32(btnName.Substring(3));
if (currentBtnNum == 82 || currentBtnNum == 83)
{
//第一轮叫牌记录
#region
if (recordCall == 1)
{
if (lblShow.Text == "南")
{
lblS1.Text = lastCall + btn.Text;
lblS1.ForeColor = btn.ForeColor;
lblShow.Text = "西";
ShowWest();
recordCall++;
}
else if (lblShow.Text == "西")
{
lblW1.Text = lastCall + btn.Text;
lblW1.ForeColor = btn.ForeColor;
lblShow.Text = "北";
ShowNorth();
}
else if (lblShow.Text == "北")
{
lblN1.Text = lastCall + btn.Text;
lblN1.ForeColor = btn.ForeColor;
lblShow.Text = "东";
ShowEast();
}
else if (lblShow.Text == "东")
{
lblE1.Text = lastCall + btn.Text;
lblE1.ForeColor = btn.ForeColor;
lblShow.Text = "南";
ShowSouth();
}
HideButton(btn, currentBtnNum);
}
#endregion
//第二轮叫牌记录
#region
else if (recordCall == 2)
{
if (lblShow.Text == "南")
{
lblS2.Text = lastCall + btn.Text;
lblS2.ForeColor = btn.ForeColor;
lblShow.Text = "西";
ShowWest();
recordCall++;
}
else if (lblShow.Text == "西")
{
lblW2.Text = lastCall + btn.Text;
lblW2.ForeColor = btn.ForeColor;
lblShow.Text = "北";
ShowNorth();
}
else if (lblShow.Text == "北")
{
lblN2.Text = lastCall + btn.Text;
lblN2.ForeColor = btn.ForeColor;
lblShow.Text = "东";
ShowEast();
}
else if (lblShow.Text == "东")
{
lblE2.Text = lastCall + btn.Text;
lblE2.ForeColor = btn.ForeColor;
lblShow.Text = "南";
ShowSouth();
}
HideButton(btn, currentBtnNum);
}
#endregion
//第三轮叫牌记录
#region
else if (recordCall == 3)
{
if (lblShow.Text == "南")
{
lblS3.Text = lastCall + btn.Text;
lblS3.ForeColor = btn.ForeColor;
lblShow.Text = "西";
ShowWest();
recordCall++;
}
else if (lblShow.Text == "西")
{
lblW3.Text = lastCall + btn.Text;
lblW3.ForeColor = btn.ForeColor;
lblShow.Text = "北";
ShowNorth();
}
else if (lblShow.Text == "北")
{
lblN3.Text = lastCall + btn.Text;
lblN3.ForeColor = btn.ForeColor;
lblShow.Text = "东";
ShowEast();
}
else if (lblShow.Text == "东")
{
lblE3.Text = lastCall + btn.Text;
lblE3.ForeColor = btn.ForeColor;
lblShow.Text = "南";
ShowSouth();
}
HideButton(btn, currentBtnNum);
}
#endregion
//第四轮叫牌记录
#region
else if (recordCall == 4)
{
if (lblShow.Text == "南")
{
lblS4.Text = lastCall + btn.Text;
lblS4.ForeColor = btn.ForeColor;
lblShow.Text = "西";
ShowWest();
recordCall++;
}
else if (lblShow.Text == "西")
{
lblW4.Text = lastCall + btn.Text;
lblW4.ForeColor = btn.ForeColor;
lblShow.Text = "北";
ShowNorth();
}
else if (lblShow.Text == "北")
{
lblN4.Text = lastCall + btn.Text;
lblN4.ForeColor = btn.ForeColor;
lblShow.Text = "东";
ShowEast();
}
else if (lblShow.Text == "东")
{
lblE4.Text = lastCall + btn.Text;
lblE4.ForeColor = btn.ForeColor;
lblShow.Text = "南";
ShowSouth();
}
HideButton(btn, currentBtnNum);
}
#endregion
//第五轮叫牌记录
#region
else if (recordCall == 5)
{
if (lblShow.Text == "南")
{
lblS5.Text = lastCall + btn.Text;
lblS5.ForeColor = btn.ForeColor;
lblShow.Text = "西";
ShowWest();
recordCall++;
}
else if (lblShow.Text == "西")
{
lblW5.Text = lastCall + btn.Text;
lblW5.ForeColor = btn.ForeColor;
lblShow.Text = "北";
ShowNorth();
}
else if (lblShow.Text == "北")
{
lblN5.Text = lastCall + btn.Text;
lblN5.ForeColor = btn.ForeColor;
lblShow.Text = "东";
ShowEast();
}
else if (lblShow.Text == "东")
{
lblE5.Text = lastCall + btn.Text;
lblE5.ForeColor = btn.ForeColor;
lblShow.Text = "南";
ShowSouth();
}
HideButton(btn, currentBtnNum);
}
#endregion
//第六轮叫牌记录
#region
else if (recordCall == 6)
{
if (lblShow.Text == "南")
{
lblS6.Text = lastCall + btn.Text;
lblS6.ForeColor = btn.ForeColor;
lblShow.Text = "西";
ShowWest();
recordCall++;
}
else if (lblShow.Text == "西")
{
lblW6.Text = lastCall + btn.Text;
lblW6.ForeColor = btn.ForeColor;
lblShow.Text = "北";
ShowNorth();
}
else if (lblShow.Text == "北")
{
lblN6.Text = lastCall + btn.Text;
lblN6.ForeColor = btn.ForeColor;
lblShow.Text = "东";
ShowEast();
}
else if (lblShow.Text == "东")
{
lblE6.Text = lastCall + btn.Text;
lblE6.ForeColor = btn.ForeColor;
lblShow.Text = "南";
ShowSouth();
}
HideButton(btn, currentBtnNum);
}
#endregion
//第七轮叫牌记录
#region
else if (recordCall == 7)
{
if (lblShow.Text == "南")
{
lblS7.Text = lastCall + btn.Text;
lblS7.ForeColor = btn.ForeColor;
lblShow.Text = "西";
ShowWest();
recordCall++;
}
else if (lblShow.Text == "西")
{
lblW7.Text = lastCall + btn.Text;
lblW7.ForeColor = btn.ForeColor;
lblShow.Text = "北";
ShowNorth();
}
else if (lblShow.Text == "北")
{
lblN7.Text = lastCall + btn.Text;
lblN7.ForeColor = btn.ForeColor;
lblShow.Text = "东";
ShowEast();
}
else if (lblShow.Text == "东")
{
lblE7.Text = lastCall + btn.Text;
lblE7.ForeColor = btn.ForeColor;
lblShow.Text = "南";
ShowSouth();
}
HideButton(btn, currentBtnNum);
}
#endregion
if (currentBtnNum == 82)
{
dO = lblShow.Text;
dFlag = true;
}
}
热心网友
时间:2024-08-08 21:37
/// <summary>
/// 在叫牌器上显示北家牌
/// </summary>
private void ShowNorth()
{
lblShow.Text = "北";
int s = 0;
pic = new PictureBox[13];
foreach (int k in textE)
{
pic[s] = new PictureBox();
string filename = path + "\\..\\..\\img\\" + k.ToString() + ".gif";
pic[s].Image = Image.FromFile(filename);
this.Controls.Add(pic[s]);
pic[s].Left = 100 + 20 * s;
pic[s].Top = 380;
pic[s].Tag = k;
pic[s].Width = 85;
pic[s].Height = 110;
pic[s].SizeMode = PictureBoxSizeMode.StretchImage;
pic[s].BringToFront();
pic[s].Visible = true;
s++;
}
}
private void CallShow(Button btn)
{
try
{
string btnName = btn.Name;
int currentBtnNum = Convert.ToInt32(btnName.Substring(3));
if (currentBtnNum == 82 || currentBtnNum == 83)
{
//第一轮叫牌记录
#region
if (recordCall == 1)
{
if (lblShow.Text == "南")
{
lblS1.Text = lastCall + btn.Text;
lblS1.ForeColor = btn.ForeColor;
lblShow.Text = "西";
ShowWest();
recordCall++;
}
else if (lblShow.Text == "西")
{
lblW1.Text = lastCall + btn.Text;
lblW1.ForeColor = btn.ForeColor;
lblShow.Text = "北";
ShowNorth();
}
else if (lblShow.Text == "北")
{
lblN1.Text = lastCall + btn.Text;
lblN1.ForeColor = btn.ForeColor;
lblShow.Text = "东";
ShowEast();
}
else if (lblShow.Text == "东")
{
lblE1.Text = lastCall + btn.Text;
lblE1.ForeColor = btn.ForeColor;
lblShow.Text = "南";
ShowSouth();
}
HideButton(btn, currentBtnNum);
}
#endregion
//第二轮叫牌记录
#region
else if (recordCall == 2)
{
if (lblShow.Text == "南")
{
lblS2.Text = lastCall + btn.Text;
lblS2.ForeColor = btn.ForeColor;
lblShow.Text = "西";
ShowWest();
recordCall++;
}
else if (lblShow.Text == "西")
{
lblW2.Text = lastCall + btn.Text;
lblW2.ForeColor = btn.ForeColor;
lblShow.Text = "北";
ShowNorth();
}
else if (lblShow.Text == "北")
{
lblN2.Text = lastCall + btn.Text;
lblN2.ForeColor = btn.ForeColor;
lblShow.Text = "东";
ShowEast();
}
else if (lblShow.Text == "东")
{
lblE2.Text = lastCall + btn.Text;
lblE2.ForeColor = btn.ForeColor;
lblShow.Text = "南";
ShowSouth();
}
HideButton(btn, currentBtnNum);
}
#endregion
//第三轮叫牌记录
#region
else if (recordCall == 3)
{
if (lblShow.Text == "南")
{
lblS3.Text = lastCall + btn.Text;
lblS3.ForeColor = btn.ForeColor;
lblShow.Text = "西";
ShowWest();
recordCall++;
}
else if (lblShow.Text == "西")
{
lblW3.Text = lastCall + btn.Text;
lblW3.ForeColor = btn.ForeColor;
lblShow.Text = "北";
ShowNorth();
}
else if (lblShow.Text == "北")
{
lblN3.Text = lastCall + btn.Text;
lblN3.ForeColor = btn.ForeColor;
lblShow.Text = "东";
ShowEast();
}
else if (lblShow.Text == "东")
{
lblE3.Text = lastCall + btn.Text;
lblE3.ForeColor = btn.ForeColor;
lblShow.Text = "南";
ShowSouth();
}
HideButton(btn, currentBtnNum);
}
#endregion
//第四轮叫牌记录
#region
else if (recordCall == 4)
{
if (lblShow.Text == "南")
{
lblS4.Text = lastCall + btn.Text;
lblS4.ForeColor = btn.ForeColor;
lblShow.Text = "西";
ShowWest();
recordCall++;
}
else if (lblShow.Text == "西")
{
lblW4.Text = lastCall + btn.Text;
lblW4.ForeColor = btn.ForeColor;
lblShow.Text = "北";
ShowNorth();
}
else if (lblShow.Text == "北")
{
lblN4.Text = lastCall + btn.Text;
lblN4.ForeColor = btn.ForeColor;
lblShow.Text = "东";
ShowEast();
}
else if (lblShow.Text == "东")
{
lblE4.Text = lastCall + btn.Text;
lblE4.ForeColor = btn.ForeColor;
lblShow.Text = "南";
ShowSouth();
}
HideButton(btn, currentBtnNum);
}
#endregion
//第五轮叫牌记录
#region
else if (recordCall == 5)
{
if (lblShow.Text == "南")
{
lblS5.Text = lastCall + btn.Text;
lblS5.ForeColor = btn.ForeColor;
lblShow.Text = "西";
ShowWest();
recordCall++;
}
else if (lblShow.Text == "西")
{
lblW5.Text = lastCall + btn.Text;
lblW5.ForeColor = btn.ForeColor;
lblShow.Text = "北";
ShowNorth();
}
else if (lblShow.Text == "北")
{
lblN5.Text = lastCall + btn.Text;
lblN5.ForeColor = btn.ForeColor;
lblShow.Text = "东";
ShowEast();
}
else if (lblShow.Text == "东")
{
lblE5.Text = lastCall + btn.Text;
lblE5.ForeColor = btn.ForeColor;
lblShow.Text = "南";
ShowSouth();
}
HideButton(btn, currentBtnNum);
}
#endregion
//第六轮叫牌记录
#region
else if (recordCall == 6)
{
if (lblShow.Text == "南")
{
lblS6.Text = lastCall + btn.Text;
lblS6.ForeColor = btn.ForeColor;
lblShow.Text = "西";
ShowWest();
recordCall++;
}
else if (lblShow.Text == "西")
{
lblW6.Text = lastCall + btn.Text;
lblW6.ForeColor = btn.ForeColor;
lblShow.Text = "北";
ShowNorth();
}
else if (lblShow.Text == "北")
{
lblN6.Text = lastCall + btn.Text;
lblN6.ForeColor = btn.ForeColor;
lblShow.Text = "东";
ShowEast();
}
else if (lblShow.Text == "东")
{
lblE6.Text = lastCall + btn.Text;
lblE6.ForeColor = btn.ForeColor;
lblShow.Text = "南";
ShowSouth();
}
HideButton(btn, currentBtnNum);
}
#endregion
//第七轮叫牌记录
#region
else if (recordCall == 7)
{
if (lblShow.Text == "南")
{
lblS7.Text = lastCall + btn.Text;
lblS7.ForeColor = btn.ForeColor;
lblShow.Text = "西";
ShowWest();
recordCall++;
}
else if (lblShow.Text == "西")
{
lblW7.Text = lastCall + btn.Text;
lblW7.ForeColor = btn.ForeColor;
lblShow.Text = "北";
ShowNorth();
}
else if (lblShow.Text == "北")
{
lblN7.Text = lastCall + btn.Text;
lblN7.ForeColor = btn.ForeColor;
lblShow.Text = "东";
ShowEast();
}
else if (lblShow.Text == "东")
{
lblE7.Text = lastCall + btn.Text;
lblE7.ForeColor = btn.ForeColor;
lblShow.Text = "南";
ShowSouth();
}
HideButton(btn, currentBtnNum);
}
#endregion
if (currentBtnNum == 82)
{
dO = lblShow.Text;
dFlag = true;
}
}
热心网友
时间:2024-08-08 21:37
/// <summary>
/// 在叫牌器上显示北家牌
/// </summary>
private void ShowNorth()
{
lblShow.Text = "北";
int s = 0;
pic = new PictureBox[13];
foreach (int k in textE)
{
pic[s] = new PictureBox();
string filename = path + "\\..\\..\\img\\" + k.ToString() + ".gif";
pic[s].Image = Image.FromFile(filename);
this.Controls.Add(pic[s]);
pic[s].Left = 100 + 20 * s;
pic[s].Top = 380;
pic[s].Tag = k;
pic[s].Width = 85;
pic[s].Height = 110;
pic[s].SizeMode = PictureBoxSizeMode.StretchImage;
pic[s].BringToFront();
pic[s].Visible = true;
s++;
}
}
private void CallShow(Button btn)
{
try
{
string btnName = btn.Name;
int currentBtnNum = Convert.ToInt32(btnName.Substring(3));
if (currentBtnNum == 82 || currentBtnNum == 83)
{
//第一轮叫牌记录
#region
if (recordCall == 1)
{
if (lblShow.Text == "南")
{
lblS1.Text = lastCall + btn.Text;
lblS1.ForeColor = btn.ForeColor;
lblShow.Text = "西";
ShowWest();
recordCall++;
}
else if (lblShow.Text == "西")
{
lblW1.Text = lastCall + btn.Text;
lblW1.ForeColor = btn.ForeColor;
lblShow.Text = "北";
ShowNorth();
}
else if (lblShow.Text == "北")
{
lblN1.Text = lastCall + btn.Text;
lblN1.ForeColor = btn.ForeColor;
lblShow.Text = "东";
ShowEast();
}
else if (lblShow.Text == "东")
{
lblE1.Text = lastCall + btn.Text;
lblE1.ForeColor = btn.ForeColor;
lblShow.Text = "南";
ShowSouth();
}
HideButton(btn, currentBtnNum);
}
#endregion
//第二轮叫牌记录
#region
else if (recordCall == 2)
{
if (lblShow.Text == "南")
{
lblS2.Text = lastCall + btn.Text;
lblS2.ForeColor = btn.ForeColor;
lblShow.Text = "西";
ShowWest();
recordCall++;
}
else if (lblShow.Text == "西")
{
lblW2.Text = lastCall + btn.Text;
lblW2.ForeColor = btn.ForeColor;
lblShow.Text = "北";
ShowNorth();
}
else if (lblShow.Text == "北")
{
lblN2.Text = lastCall + btn.Text;
lblN2.ForeColor = btn.ForeColor;
lblShow.Text = "东";
ShowEast();
}
else if (lblShow.Text == "东")
{
lblE2.Text = lastCall + btn.Text;
lblE2.ForeColor = btn.ForeColor;
lblShow.Text = "南";
ShowSouth();
}
HideButton(btn, currentBtnNum);
}
#endregion
//第三轮叫牌记录
#region
else if (recordCall == 3)
{
if (lblShow.Text == "南")
{
lblS3.Text = lastCall + btn.Text;
lblS3.ForeColor = btn.ForeColor;
lblShow.Text = "西";
ShowWest();
recordCall++;
}
else if (lblShow.Text == "西")
{
lblW3.Text = lastCall + btn.Text;
lblW3.ForeColor = btn.ForeColor;
lblShow.Text = "北";
ShowNorth();
}
else if (lblShow.Text == "北")
{
lblN3.Text = lastCall + btn.Text;
lblN3.ForeColor = btn.ForeColor;
lblShow.Text = "东";
ShowEast();
}
else if (lblShow.Text == "东")
{
lblE3.Text = lastCall + btn.Text;
lblE3.ForeColor = btn.ForeColor;
lblShow.Text = "南";
ShowSouth();
}
HideButton(btn, currentBtnNum);
}
#endregion
//第四轮叫牌记录
#region
else if (recordCall == 4)
{
if (lblShow.Text == "南")
{
lblS4.Text = lastCall + btn.Text;
lblS4.ForeColor = btn.ForeColor;
lblShow.Text = "西";
ShowWest();
recordCall++;
}
else if (lblShow.Text == "西")
{
lblW4.Text = lastCall + btn.Text;
lblW4.ForeColor = btn.ForeColor;
lblShow.Text = "北";
ShowNorth();
}
else if (lblShow.Text == "北")
{
lblN4.Text = lastCall + btn.Text;
lblN4.ForeColor = btn.ForeColor;
lblShow.Text = "东";
ShowEast();
}
else if (lblShow.Text == "东")
{
lblE4.Text = lastCall + btn.Text;
lblE4.ForeColor = btn.ForeColor;
lblShow.Text = "南";
ShowSouth();
}
HideButton(btn, currentBtnNum);
}
#endregion
//第五轮叫牌记录
#region
else if (recordCall == 5)
{
if (lblShow.Text == "南")
{
lblS5.Text = lastCall + btn.Text;
lblS5.ForeColor = btn.ForeColor;
lblShow.Text = "西";
ShowWest();
recordCall++;
}
else if (lblShow.Text == "西")
{
lblW5.Text = lastCall + btn.Text;
lblW5.ForeColor = btn.ForeColor;
lblShow.Text = "北";
ShowNorth();
}
else if (lblShow.Text == "北")
{
lblN5.Text = lastCall + btn.Text;
lblN5.ForeColor = btn.ForeColor;
lblShow.Text = "东";
ShowEast();
}
else if (lblShow.Text == "东")
{
lblE5.Text = lastCall + btn.Text;
lblE5.ForeColor = btn.ForeColor;
lblShow.Text = "南";
ShowSouth();
}
HideButton(btn, currentBtnNum);
}
#endregion
//第六轮叫牌记录
#region
else if (recordCall == 6)
{
if (lblShow.Text == "南")
{
lblS6.Text = lastCall + btn.Text;
lblS6.ForeColor = btn.ForeColor;
lblShow.Text = "西";
ShowWest();
recordCall++;
}
else if (lblShow.Text == "西")
{
lblW6.Text = lastCall + btn.Text;
lblW6.ForeColor = btn.ForeColor;
lblShow.Text = "北";
ShowNorth();
}
else if (lblShow.Text == "北")
{
lblN6.Text = lastCall + btn.Text;
lblN6.ForeColor = btn.ForeColor;
lblShow.Text = "东";
ShowEast();
}
else if (lblShow.Text == "东")
{
lblE6.Text = lastCall + btn.Text;
lblE6.ForeColor = btn.ForeColor;
lblShow.Text = "南";
ShowSouth();
}
HideButton(btn, currentBtnNum);
}
#endregion
//第七轮叫牌记录
#region
else if (recordCall == 7)
{
if (lblShow.Text == "南")
{
lblS7.Text = lastCall + btn.Text;
lblS7.ForeColor = btn.ForeColor;
lblShow.Text = "西";
ShowWest();
recordCall++;
}
else if (lblShow.Text == "西")
{
lblW7.Text = lastCall + btn.Text;
lblW7.ForeColor = btn.ForeColor;
lblShow.Text = "北";
ShowNorth();
}
else if (lblShow.Text == "北")
{
lblN7.Text = lastCall + btn.Text;
lblN7.ForeColor = btn.ForeColor;
lblShow.Text = "东";
ShowEast();
}
else if (lblShow.Text == "东")
{
lblE7.Text = lastCall + btn.Text;
lblE7.ForeColor = btn.ForeColor;
lblShow.Text = "南";
ShowSouth();
}
HideButton(btn, currentBtnNum);
}
#endregion
if (currentBtnNum == 82)
{
dO = lblShow.Text;
dFlag = true;
}
}
热心网友
时间:2024-08-08 21:38
/// <summary>
/// 在叫牌器上显示北家牌
/// </summary>
private void ShowNorth()
{
lblShow.Text = "北";
int s = 0;
pic = new PictureBox[13];
foreach (int k in textE)
{
pic[s] = new PictureBox();
string filename = path + "\\..\\..\\img\\" + k.ToString() + ".gif";
pic[s].Image = Image.FromFile(filename);
this.Controls.Add(pic[s]);
pic[s].Left = 100 + 20 * s;
pic[s].Top = 380;
pic[s].Tag = k;
pic[s].Width = 85;
pic[s].Height = 110;
pic[s].SizeMode = PictureBoxSizeMode.StretchImage;
pic[s].BringToFront();
pic[s].Visible = true;
s++;
}
}
private void CallShow(Button btn)
{
try
{
string btnName = btn.Name;
int currentBtnNum = Convert.ToInt32(btnName.Substring(3));
if (currentBtnNum == 82 || currentBtnNum == 83)
{
//第一轮叫牌记录
#region
if (recordCall == 1)
{
if (lblShow.Text == "南")
{
lblS1.Text = lastCall + btn.Text;
lblS1.ForeColor = btn.ForeColor;
lblShow.Text = "西";
ShowWest();
recordCall++;
}
else if (lblShow.Text == "西")
{
lblW1.Text = lastCall + btn.Text;
lblW1.ForeColor = btn.ForeColor;
lblShow.Text = "北";
ShowNorth();
}
else if (lblShow.Text == "北")
{
lblN1.Text = lastCall + btn.Text;
lblN1.ForeColor = btn.ForeColor;
lblShow.Text = "东";
ShowEast();
}
else if (lblShow.Text == "东")
{
lblE1.Text = lastCall + btn.Text;
lblE1.ForeColor = btn.ForeColor;
lblShow.Text = "南";
ShowSouth();
}
HideButton(btn, currentBtnNum);
}
#endregion
//第二轮叫牌记录
#region
else if (recordCall == 2)
{
if (lblShow.Text == "南")
{
lblS2.Text = lastCall + btn.Text;
lblS2.ForeColor = btn.ForeColor;
lblShow.Text = "西";
ShowWest();
recordCall++;
}
else if (lblShow.Text == "西")
{
lblW2.Text = lastCall + btn.Text;
lblW2.ForeColor = btn.ForeColor;
lblShow.Text = "北";
ShowNorth();
}
else if (lblShow.Text == "北")
{
lblN2.Text = lastCall + btn.Text;
lblN2.ForeColor = btn.ForeColor;
lblShow.Text = "东";
ShowEast();
}
else if (lblShow.Text == "东")
{
lblE2.Text = lastCall + btn.Text;
lblE2.ForeColor = btn.ForeColor;
lblShow.Text = "南";
ShowSouth();
}
HideButton(btn, currentBtnNum);
}
#endregion
//第三轮叫牌记录
#region
else if (recordCall == 3)
{
if (lblShow.Text == "南")
{
lblS3.Text = lastCall + btn.Text;
lblS3.ForeColor = btn.ForeColor;
lblShow.Text = "西";
ShowWest();
recordCall++;
}
else if (lblShow.Text == "西")
{
lblW3.Text = lastCall + btn.Text;
lblW3.ForeColor = btn.ForeColor;
lblShow.Text = "北";
ShowNorth();
}
else if (lblShow.Text == "北")
{
lblN3.Text = lastCall + btn.Text;
lblN3.ForeColor = btn.ForeColor;
lblShow.Text = "东";
ShowEast();
}
else if (lblShow.Text == "东")
{
lblE3.Text = lastCall + btn.Text;
lblE3.ForeColor = btn.ForeColor;
lblShow.Text = "南";
ShowSouth();
}
HideButton(btn, currentBtnNum);
}
#endregion
//第四轮叫牌记录
#region
else if (recordCall == 4)
{
if (lblShow.Text == "南")
{
lblS4.Text = lastCall + btn.Text;
lblS4.ForeColor = btn.ForeColor;
lblShow.Text = "西";
ShowWest();
recordCall++;
}
else if (lblShow.Text == "西")
{
lblW4.Text = lastCall + btn.Text;
lblW4.ForeColor = btn.ForeColor;
lblShow.Text = "北";
ShowNorth();
}
else if (lblShow.Text == "北")
{
lblN4.Text = lastCall + btn.Text;
lblN4.ForeColor = btn.ForeColor;
lblShow.Text = "东";
ShowEast();
}
else if (lblShow.Text == "东")
{
lblE4.Text = lastCall + btn.Text;
lblE4.ForeColor = btn.ForeColor;
lblShow.Text = "南";
ShowSouth();
}
HideButton(btn, currentBtnNum);
}
#endregion
//第五轮叫牌记录
#region
else if (recordCall == 5)
{
if (lblShow.Text == "南")
{
lblS5.Text = lastCall + btn.Text;
lblS5.ForeColor = btn.ForeColor;
lblShow.Text = "西";
ShowWest();
recordCall++;
}
else if (lblShow.Text == "西")
{
lblW5.Text = lastCall + btn.Text;
lblW5.ForeColor = btn.ForeColor;
lblShow.Text = "北";
ShowNorth();
}
else if (lblShow.Text == "北")
{
lblN5.Text = lastCall + btn.Text;
lblN5.ForeColor = btn.ForeColor;
lblShow.Text = "东";
ShowEast();
}
else if (lblShow.Text == "东")
{
lblE5.Text = lastCall + btn.Text;
lblE5.ForeColor = btn.ForeColor;
lblShow.Text = "南";
ShowSouth();
}
HideButton(btn, currentBtnNum);
}
#endregion
//第六轮叫牌记录
#region
else if (recordCall == 6)
{
if (lblShow.Text == "南")
{
lblS6.Text = lastCall + btn.Text;
lblS6.ForeColor = btn.ForeColor;
lblShow.Text = "西";
ShowWest();
recordCall++;
}
else if (lblShow.Text == "西")
{
lblW6.Text = lastCall + btn.Text;
lblW6.ForeColor = btn.ForeColor;
lblShow.Text = "北";
ShowNorth();
}
else if (lblShow.Text == "北")
{
lblN6.Text = lastCall + btn.Text;
lblN6.ForeColor = btn.ForeColor;
lblShow.Text = "东";
ShowEast();
}
else if (lblShow.Text == "东")
{
lblE6.Text = lastCall + btn.Text;
lblE6.ForeColor = btn.ForeColor;
lblShow.Text = "南";
ShowSouth();
}
HideButton(btn, currentBtnNum);
}
#endregion
//第七轮叫牌记录
#region
else if (recordCall == 7)
{
if (lblShow.Text == "南")
{
lblS7.Text = lastCall + btn.Text;
lblS7.ForeColor = btn.ForeColor;
lblShow.Text = "西";
ShowWest();
recordCall++;
}
else if (lblShow.Text == "西")
{
lblW7.Text = lastCall + btn.Text;
lblW7.ForeColor = btn.ForeColor;
lblShow.Text = "北";
ShowNorth();
}
else if (lblShow.Text == "北")
{
lblN7.Text = lastCall + btn.Text;
lblN7.ForeColor = btn.ForeColor;
lblShow.Text = "东";
ShowEast();
}
else if (lblShow.Text == "东")
{
lblE7.Text = lastCall + btn.Text;
lblE7.ForeColor = btn.ForeColor;
lblShow.Text = "南";
ShowSouth();
}
HideButton(btn, currentBtnNum);
}
#endregion
if (currentBtnNum == 82)
{
dO = lblShow.Text;
dFlag = true;
}
}