private static void OnLPChanged()
        {
            var lpChange = privateState.Technologies.LearningPoints - lp;

            lp = privateState.Technologies.LearningPoints;
            HUDLPNotificationsPanelControl.Show(lpChange, lp);
        }
        private static void LayoutControl_Loaded(object sender, RoutedEventArgs e)
        {
            DependencyObject child = VisualTreeHelper.GetChild(hudLayoutControl, 0);

            child = VisualTreeHelper.GetChild(child, 0);
            var rootGrid = VisualTreeHelper.GetChild(child, 0);

            if (rootGrid is Grid grid)
            {
                var scaleBox = new Scalebox()
                {
                    Scale = 1
                };
                Grid.SetRow(scaleBox, 2);
                Grid.SetColumn(scaleBox, 2);
                var border = new Border()
                {
                    VerticalAlignment   = VerticalAlignment.Bottom,
                    HorizontalAlignment = HorizontalAlignment.Right,
                    Margin = new Thickness(5, 5, 120, 100)
                };
                var lpNotificationPanel = new HUDLPNotificationsPanelControl();
                border.Child     = lpNotificationPanel;
                scaleBox.Content = border;
                grid.Children.Add(scaleBox);
            }
        }