using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using TravelAgencyWindow.Data;
using TravelAgencyWindow.Model;
using TravelAgencyWindow.Model.ListModel;

namespace TravelAgencyWindow.Pages
{
    /// <summary>
    /// Логика взаимодействия для ListOfTourPage.xaml
    /// </summary>
    public partial class ListOfTourPage : Page
    {
        private ListTour ToursList = new ListTour();
        public ListOfTourPage()
        {
            InitializeComponent();
            DataContext = ToursList;
        }

        private void Find_TextChanged(object sender, TextChangedEventArgs e)
        {
            TextBox textBox = sender as TextBox;
            ToursList.NameTour = textBox.Text;
        }
    }
}
