Ejemplo n.º 1
0
 public App()
 {
     this.InitializeComponent();
     this.Suspending += OnSuspending;
     IslandCollection.CreateInstance();
     IslandConnector.FillIslandCollection();
 }
Ejemplo n.º 2
0
 private void ContentDialog_PrimaryButtonClick(ContentDialog sender, ContentDialogButtonClickEventArgs args)
 {
     IslandConnector.UpdateArea(_house.Id, int.Parse(_areaInput.Text));
 }
Ejemplo n.º 3
0
        private void ContentDialog_PrimaryButtonClick(ContentDialog sender, ContentDialogButtonClickEventArgs args)
        {
            string selectedHouse = (_houseBox.SelectedItem as ComboBoxItem).Content.ToString();

            Status = IslandConnector.Settling(_homeless.Id, selectedHouse);
        }