private void ContentControl_MouseEnter(object sender, MouseEventArgs e)
        {
            ConsumableBindingInfo buff = ((sender as ContentControl).Content as StackPanel).DataContext as ConsumableBindingInfo;

            SetBuffTextBlock(buff);

            skillPopup.PlacementTarget = ((sender as ContentControl).Content as StackPanel).Children[0];
            skillPopup.IsOpen          = true;
        }
        void SetBuffTextBlock(ConsumableBindingInfo buff)
        {
            TextBlock PopupText = new TextBlock
            {
                Text       = _consumable_buff_db.Dic[buff.Name].NAME_KOR,
                Background = Brushes.Silver
            };

            skillPopup.Child = PopupText;
        }
        private void buff_lv_Wheel(object sender, MouseWheelEventArgs e)
        {
            ConsumableBindingInfo buff = ((sender as ContentControl).Content as StackPanel).DataContext as ConsumableBindingInfo;

            ChangeBuffLevel(buff, e.Delta > 0 ? 1 : -1);
        }
        private void ContentControl_MouseRightButtonDown(object sender, MouseButtonEventArgs e)
        {
            ConsumableBindingInfo buff = ((sender as ContentControl).Content as StackPanel).DataContext as ConsumableBindingInfo;

            ChangeBuffLevel(buff, 1);
        }
 void ChangeBuffLevel(ConsumableBindingInfo buff, int i)
 {
     buff.Level += i;
     _user_data.User_ConBuff.SetBuffLevel(buff.Name, buff.Level);
     MainWindow._user_data_manager.CalcUserData();
 }