void addLocalPlayer() { MonoGameLocalGamerProfile prof = new MonoGameLocalGamerProfile(); prof.Gamertag = "New Player"; prof.DisplayName = prof.Gamertag; gamerList.Add(prof); tableView.ReloadData(); int newPlayerRow = gamerList.Count - 1; tableView.ScrollRowToVisible(newPlayerRow); tableView.EditColumn(0, newPlayerRow, new NSEvent(), true); }
void addLocalPlayer () { MonoGameLocalGamerProfile prof = new MonoGameLocalGamerProfile(); prof.Gamertag = "New Player"; prof.DisplayName = prof.Gamertag; gamerList.Add(prof); tableView.ReloadData(); int newPlayerRow = gamerList.Count - 1; tableView.ScrollRowToVisible(newPlayerRow); tableView.EditColumn(0,newPlayerRow, new NSEvent(), true); }