private void BetBtnOnclick(int a) { //判断是否可以进行投注 if (IsBeting == true) { //向服务器发数据 DiceTcpOperation.bet(index, a + 1); tempA = a; } }