예제 #1
0
        public PlayerEditControl(Object param)
        {
            InitializeComponent();
            editMode = true;

            editUser = (PlayerDTO)param;
            DrawEditUserInfo();

            presenter = new PlayerPresenter(new PlayerControl());
        }
예제 #2
0
 public void EditUser(PlayerDTO user)
 {
     usersRepository.Update(user);
     UpdateUsersList();
 }
예제 #3
0
 public void AddUser(PlayerDTO newUser)
 {
     usersRepository.Add(newUser);
     UpdateUsersList();
 }