예제 #1
0
 public List<ControlMember> getParticipants()
 {
     Dictionary<int, string> players = dbManager.getValues("SELECT * FROM Participants");
     List<ControlMember> to_return = new List<ControlMember>();
     foreach(int id in players.Keys) {
         ControlMember obj = new ControlMember(id, players[id]);
         to_return.Add(obj);
     }
     return to_return;
 }
예제 #2
0
 public List<ControlMember> getStages()
 {
     Dictionary<int, string> stages = dbManager.getValues("SELECT * FROM StageNames");
     List<ControlMember> to_return = new List<ControlMember>();
     foreach(int id in stages.Keys) {
         ControlMember obj = new ControlMember(id, stages[id]);
         to_return.Add(obj);
     }
     return to_return;
 }
예제 #3
0
 public List<ControlMember> getClients()
 {
     Dictionary<int, string> clients = dbManager.getValues("SELECT * FROM Clients");
     List<ControlMember> to_return = new List<ControlMember>();
     foreach(int id in clients.Keys) {
         ControlMember obj = new ControlMember(id, clients[id]);
         to_return.Add(obj);
     }
     return to_return;
 }