Advertisement

05.20.2008 at 08:07AM PDT, ID: 23417445
[x]
Attachment Details

creating 2D board/array graphically

Asked by yaronusa in .Net Editors & IDEs, Game Programming, Microsoft Programming

Tags: C# gdi gdi+

I am a beginner in C# with some knowledge in VB and limited knowledge in C++.  I need to do this in VS 2005 C#.

I really appreciate any and all help I can get on this important project. I'm not asking for code, just correct guidance. I don't want to start somewhere and find out I'm totally in the wrong direction.

I need some guidance on how to create and manage a graphic that is to represent a double array. In general, if the array is 500 by 500, then the graphic will show 25,000 little squares.

The squares need to be divided by lines, so that when the mouse arrow hovers over it: (a) I know which square it is on, I can fire an event or at least "sense" programmatically which square the mouse is over when a button is clicked.

The advice and guidance you give me should allow me to:

1) Be able to implement a primitive zoom in/out (a simple zoom with scroll bars, nothing fancy)
2) Know which square the mouse is over or is clicked on
3) Be able to control the color of each square independently.

Again, I don't necessarily need the code, just guidance on which approach I should take. Thank you very much!Start Free Trial
 
Loading Advertisement...
 
[+][-]05.20.2008 at 08:51AM PDT, ID: 21607373

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.20.2008 at 09:04AM PDT, ID: 21607544

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.20.2008 at 09:07AM PDT, ID: 21607573

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.20.2008 at 09:11AM PDT, ID: 21607626

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]05.20.2008 at 09:33AM PDT, ID: 21607843

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]05.20.2008 at 09:34AM PDT, ID: 21607862

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.20.2008 at 09:39AM PDT, ID: 21607907

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.20.2008 at 10:33AM PDT, ID: 21608373

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.20.2008 at 11:53AM PDT, ID: 21609078

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.20.2008 at 12:36PM PDT, ID: 21609580

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.20.2008 at 01:26PM PDT, ID: 21610030

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.20.2008 at 02:15PM PDT, ID: 21610428

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: .Net Editors & IDEs, Game Programming, Microsoft Programming
Tags: C# gdi gdi+
Sign Up Now!
Solution Provided By: jgordos
Participating Experts: 3
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628