User Profile

Collapse

Profile Sidebar

Collapse
shalifar
shalifar
Last Activity: Jun 8 '12, 09:58 AM
Joined: Jun 7 '12
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • shalifar
    replied to Button location
    Tried it before. Nothing changed.
    See more | Go to post

    Leave a comment:


  • shalifar
    started a topic Button location

    Button location

    Hello,

    Code:
      Button[] btn = new Button[100];
            Random rnd = new Random();
            Point pt = new Point();
            public Form1()
            {
                InitializeComponent();            
                for (int i = 0; i < 100; i++)
                {
                    [B]btn[i].Location = new Point(100+25*i, 100);[/B]
                    btn[i].Height = 25;
                    btn[i].Width = 25;
    ...
    See more | Go to post
    Last edited by shalifar; Jun 7 '12, 11:14 AM. Reason: new info
No activity results to display
Show More
Working...