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; }
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; }