Exemplo n.º 1
0
        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;
            }
        }
Exemplo n.º 2
0
        private async void InitAddressLists()
        {
            MySQLAddressManager addressManager = new MySQLAddressManager();

            this.addressAdmin.UCAddressList.LoadItems((await addressManager.Get()).ToList());
        }
Exemplo n.º 3
0
        private void GetCurrentZooAddressFull()
        {
            MySQLAddressManager addressManager = new MySQLAddressManager();

            addressManager.GetStreetNumber(currentZoo.Address);
        }