// Constructor public MainPage() { InitializeComponent(); bottleRepository = new BottleRepository(); backgroundRepository = new BackgroundRepository(); SetStartValue(); }
public Game() { InitializeComponent(); CurrentGamer = 1; AppSettings = IsolatedStorageSettings.ApplicationSettings; random = new Random(); backgroundRepository = new BackgroundRepository(); bottleRepository = new BottleRepository(); }