Пример #1
0
        private void SelectBall(Button p)
        {            
            var thick = new Thickness(4);
            UnselectBalls();

            dx = (int) p.GetValue(Grid.RowProperty);
            dy = (int) p.GetValue(Grid.ColumnProperty);

            p.BorderThickness = thick;
        }