/// <summary>
        /// slider pour le poids
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void sliderP_ValueChanged(object sender, RoutedPropertyChangedEventArgs <double> e)
        {
            if (personnage != null)
            {
                if (WeightLabel != null)
                {
                    WeightLabel.Content = (int)WeightSlider.Value;
                }



                Equipement equip = new Equipement("item", (int)WeightSlider.Value, 10);

                if ((equipement.Poids + personnage.CalculPoidsInventaire()) < (personnage.Force / 3) && NameTextBox.Text != "")
                {
                    WarningWeightLabel.Content    = "";
                    AddEquipementButton.IsEnabled = true;
                    this.equipement = equip;
                }
                else
                {
                    AddEquipementButton.IsEnabled = false;
                    WarningWeightLabel.Content    = "Equipement trop lourd, ajout impossible.";
                }
            }
        }