Ejemplo n.º 1
0
 /**
 *   The contructor takes in a profile which is passed on trough the MainWindow where the user chose Games/Teams/Leagues/Players.
 **/
 public DataProvider(Profile userProfile)
 {
     _userProfile = userProfile;
 }
Ejemplo n.º 2
0
 private void _applylabelbutton_Click(object sender, EventArgs e)
 {
     Profile userProfile = new Profile(_gameList, _teamList, _playerList, _leagueList);
     DataProvider dp = new DataProvider(userProfile);
     Widget NeckBoard = new Widget(dp);
     this.Hide();
     NeckBoard.Show();
 }