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