public void FillContentOneCarBrend(Image image)
        {
            StackPanel brandLogo = new StackPanel()
            {
                Margin = new Thickness(20)
            };

            Grid.SetRowSpan(brandLogo, 6);
            Grid.SetColumn(brandLogo, 0);
            image.Width  = 150;
            image.Height = 150;
            brandLogo.Children.Add(image);
            gCarBrand.Children.Add(brandLogo);

            Maket maket = new Maket();

            maket.gCarBrand.Children.Clear();
            gCarBrand.Children.Add(maket.spSearchCarByVin);
            gCarBrand.Children.Add(maket.spSearchCarByBody);
            gCarBrand.Children.Add(maket.spSearchCarByParams);
        }
        private void TiVin_PreviewMouseUp(object sender, MouseButtonEventArgs e)
        {
            Maket maket = new Maket();

            maket.gCarBrand.Children.Clear();
            StackPanel obj = new StackPanel()
            {
                Orientation = Orientation.Horizontal
            };

            maket.spSearchCarByVin.Children.OfType <Border>().First().Visibility = Visibility.Collapsed;
            maket.spSearchCarByVin.Children.OfType <Border>().Last().BorderBrush = Brushes.White;

            maket.spSearchCarByBody.Children.OfType <Border>().First().Visibility = Visibility.Collapsed;
            maket.spSearchCarByBody.Children.OfType <Border>().Last().BorderBrush = Brushes.White;

            obj.Children.Add(maket.spSearchCarByVin);
            obj.Children.Add(maket.spSearchCarByBody);

            tiVin.Content = obj;
        }