public User_Controler(MainWindow mainWin)
 {
     this.mainWindow = mainWin;
     User user = new User();
     user.Name = "Alex";
     user.UserColor = STATICS.USER_COLOR["Alex"];
     userList.Add("Alex", user);
     user = new User();
     user.Name = "Ben";
     user.UserColor = STATICS.USER_COLOR["Ben"];
     userList.Add("Ben", user);
     user = new User();
     user.Name = "Chris";
     user.UserColor = STATICS.USER_COLOR["Chris"];
     userList.Add("Chris", user);
     user = new User();
     user.Name = "Danny";
     user.UserColor = STATICS.USER_COLOR["Danny"];
     userList.Add("Danny", user);
 }
Esempio n. 2
0
 public User_Controler(Controlers control)
 {
     this.control = control;
     User user = new User();
     user.Name = "Alex";
     user.UserColor = STATICS.USER_COLOR["Alex"];
     userList.Add("Alex", user);
     user = new User();
     user.Name = "Ben";
     user.UserColor = STATICS.USER_COLOR["Ben"];
     userList.Add("Ben", user);
     user = new User();
     user.Name = "Chris";
     user.UserColor = STATICS.USER_COLOR["Chris"];
     userList.Add("Chris", user);
     user = new User();
     user.Name = "Danny";
     user.UserColor = STATICS.USER_COLOR["Danny"];
     userList.Add("Danny", user);
 }