private void AddressList_SelectionChanged(object sender, SelectionChangedEventArgs e) { if (e.AddedItems.Count > 0) { Address item = (e.AddedItems[0] as Address); MySQLAddressManager addressManager = new MySQLAddressManager(); addressManager.GetStreetNumber(item); this.addressAdmin.UCAddress.Address = item; this.addressAdmin.UCAddress.UCStreetNumber.StreetNumber = item.StreetNumber; } }
private async void InitAddressLists() { MySQLAddressManager addressManager = new MySQLAddressManager(); this.addressAdmin.UCAddressList.LoadItems((await addressManager.Get()).ToList()); }
private void GetCurrentZooAddressFull() { MySQLAddressManager addressManager = new MySQLAddressManager(); addressManager.GetStreetNumber(currentZoo.Address); }