473,402 Members | 2,050 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

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
May 7 '14 #1
1 1954
Luk3r
300 256MB
Check out the C# example code for starting a process (your game):
http://msdn.microsoft.com/en-us/libr...code-snippet-2

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 :)
May 7 '14 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Laurence Nuttall | last post by:
I have noticed that in .Net when I run the program, It moves the start button to the second row, How can I have it keep the start button on the first row. Thanks, Laurence Nuttall Programmer...
1
by: Mullin Yu | last post by:
I want to create a C# GUI application that will start a new console application, e.g. console.exe when clicking a button. Then, if click a button, it will kill a specific console application. Am...
0
by: Kim Würtz | last post by:
Hi everybody I have a mission critical application, so I don't want the user to be able to start other apps on the PC like internet explorer etc. Therefore I want to hide the start button as...
2
by: news.microsoft.com | last post by:
I'm trying to write a program that will lock down the system. I want to hide the start button and taskbar. I found code using ShowWindow & FindWindow but they fail to work. Butttonhwnd =...
0
by: Larry Serflaten | last post by:
I'd like to have a button on my form that will show a menu from the user's Programs tree (off the Start button). I want it to be the same menu the user sees when they traverse their own Programs...
6
by: Magic Gooddy | last post by:
Hi! How to hide Start Button in VB.NET? I know in VB6 and want to see this sample in VB.NET. Can anybody create worked sample?
3
by: chris311976 | last post by:
I have a laptop it boots normally to xp i chose a user the windows desktop comes up with no start button icons or anything.I tried to go into safe mode etc but nothing works help!
10
by: thupham | last post by:
Dear all friend, I want disable Ctl+Alt+Del; Ctrl+Esc; Ctrl+tab, Alt+Tab, Start button, ctrl+Alt+Del, lock all keys on the keyboard. Have you ever do it in C#. Help me. Thanks for all reply.
3
by: MLH | last post by:
What's the best way to launch MSPAINT c:\image.bmp from a VBA procedure. Seeking the route with the least number of complications. Hopefully there will be no more complications than if I clicked...
0
by: visweswaran2830 | last post by:
I want to disable start button and alt+tab button using vb.net. Can any one help me. I tried with below coding but not success Option Explicit Private Declare Function EnableWindow Lib...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.