Start button in c#

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Alia123
    New Member
    • May 2014
    • 1

    Start button in c#

    How can I add a start button in c# juxt like if I press on that start button my game will start.
    how can I add many buttons in a single button that when I press that button all the buttons that are added in it will start bouncing in random directions.
    thanks
  • Luk3r
    Contributor
    • Jan 2014
    • 300

    #2
    Check out the C# example code for starting a process (your game):


    Your second request is a lot more difficult, as you're wanting a button to "glide?" across the screen? If so, you'd have to use loops with integers and calculate the size of your form. That being said, if you don't know how to start a process then you need to learn the basics before worrying about using loops to bounce buttons on forms :)

    Comment

    Working...