public void ShowGameData(int gameId) { int index = ListData.GetGrounpIndex(gameId); if (index == 0 || index == -1) { DisableEdit(true); } else { DisableEdit(false); } }