private void ArrangeIngredient(Grid sender)
        {
            String name = ((DependencyObject)sender).GetValue(FrameworkElement.NameProperty) as String;

            _panel = new IngredientPanel(name);
            _panel.Margin = new Thickness(ConstValue.INGREDIENT_END_POINTX, ConstValue.INGREDIENT_END_POINTY, 0, 0);
            _secondGrid.Children.Add(_panel);
            _panel.StartMove();

            _imagePanel = new IngredientImagePanel(name);
            _imagePanel.Margin = new Thickness(ConstValue.INGREDIENT_IMAGE_END_POINTX, ConstValue.INGREDIENT_IMAGE_END_POINTY, 0, 0);
            _thirdGrid.Children.Add(_imagePanel);
            _imagePanel.StartMove();

            _pricePanel = new PricePanel(name);
            _pricePanel.Margin = new Thickness(ConstValue.INGREDIENT_SHOP_END_POINTX,ConstValue.INGREDINET_SHOP_END_POINTY, 0, 0);
            _fourGrid.Children.Add(_pricePanel);
            _pricePanel.StartMove();
        }
 private void ClickBackButton(object sender, RoutedEventArgs e)
 {
     if (_tempGrid == null)
     {
         PageSwitcher.Switch(new DrinkInformationForm());
     }
     else
     {
         _secondGrid.Children.Remove(_panel);
         _thirdGrid.Children.Remove(_imagePanel);
         _fourGrid.Children.Remove(_pricePanel);
         _imagePanel = null;
         _panel = null;
         ArrangeItems(_tempGrid);
         _tempGrid = null;
         _canScroll = true;
     }
 }