Suggestions on what Control(s) to use.

Ive written quite a few standard windows apps in .NET, but ive never really played with game programming, since my dog ate all my Connect-4 pieces not very long ago, I figured that writing a Connect-4 app would be a nice place to kick things off.  Before ive written even one line of code for it im mildly boggled at which control im going to use, none of the standard ones seem like they'll do the job, so it may be a custom control i end up using.

So some general suggestions on which grids or other controls may do the trick, either a standard one im missing, or misusing, if your suggesting custom controls, it would be preferable that they are cheap and/or free for non commerical apps

Thanks
Jaz
LVL 3
jazduckAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Mike TomlinsonMiddle School Assistant TeacherCommented:
You can do the entire app in a PictureBox by drawing the board and the pieces ,and then reacting accordingly to mouse moves and mouse clicks for the PictureBox.

You can create a class to represent the pieces and pass a reference to the PictureBox into them so they can paint themselves at their current position.  Store all the instances of the pieces in an ArrayList.  When the mouse moves or is clicked on the PictureBox, you can iterate the pieces in the ArrayList and query each on to determine if they are being acted upon by the user.

~IM
0
armoghanCommented:
connect -4 is a simple game,
yuo dont need high grphics or even picture box in it. You can just use square Labels or buttons and on click change the Background Color

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
armoghanCommented:
see this example if you need to use much graphics, lay one image over the other
http://www.codeproject.com/csharp/blackjack.asp
0
jazduckAuthor Commented:
Sorry for the long delay in replying.  Went on holiday, now im back ill finalise within a few days once ive had a play with both your ideas.

Jaz
0
jazduckAuthor Commented:
Thanks guys, got a few ideas off both of you and have a semi-working version.
I upped points a few and will split.

Jaz
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.