/// <summary> /// 清除本局全部座位游戏数据 /// </summary> private void ClearAllSeatInfo() { for (int i = 0; i < Seats.Count(); i++) { Seats[i].GameDateObj.Clear(); Seats[i].GameDateStr.Clear(); } //foreach (var item in Seats) //{ // Seats.Clear(); //} GameDateStr.Clear(); GameDateObj.Clear(); }
/// <summary> /// 清空游戏数据 /// </summary> public void ClearSeatInfo() { GameDateStr.Clear(); GameDateObj.Clear(); }