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