Exemplo n.º 1
0
        private void LstPassengers_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            int       index = LstPassengers.SelectedIndex;
            Passenger ps    = passengerService.Find(index);

            if (null != ps)
            {
                TxtCustID.Text   = ps.CustomerID.ToString();
                TxtFlightID.Text = ps.FlightId.ToString();
            }
        }