Exemplo n.º 1
0
        private void Button_Click_1(object sender, RoutedEventArgs e)
        {
            var propertyDetails = new PropertyDetails();

            DataRowView dr = (DataRowView)ggrrr.SelectedItem;
            Int32       id = Int32.Parse(dr["ID"].ToString());

            getDetailsForPopup(propertyDetails, id);

            propertyDetails.ShowDialog();
        }
Exemplo n.º 2
0
        private async void getDetailsForPopup(PropertyDetails popup, Int32 id)
        {
            DataTable property = XmlStringToDataTable(await cl.GetEstateByIdAsync(id));

            popup.setDetails(property);
        }