Guest User

Untitled

a guest
Jul 18th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. Button b = new Button()
  2. b.HorizontalAlignment = HorizontalAlignment.Left;
  3. b.VerticalAlignment = VerticalAlignment.Top;
  4. b.Margin.Top = [твоя позиция по y];
  5. b.Margin.Left = [твоя позиция по x];
  6. b.Width = [ширина];
  7. b.Height = [высота];
  8. grd.Children.Add(b)
Add Comment
Please, Sign In to add comment