Click here to Skip to main content
15,922,533 members
Home / Discussions / C#
   

C#

 
GeneralAutomation Pin
Nivitha29-Jul-03 12:30
Nivitha29-Jul-03 12:30 
GeneralRSA Question Pin
jtmtv1829-Jul-03 12:15
jtmtv1829-Jul-03 12:15 
GeneralRe: RSA Question Pin
Kastro30-Jul-03 7:16
Kastro30-Jul-03 7:16 
GeneralPrinting Access Database labels C# Pin
Anonymous29-Jul-03 12:12
Anonymous29-Jul-03 12:12 
GeneralRe: Printing Access Database labels C# Pin
Ista30-Jul-03 4:23
Ista30-Jul-03 4:23 
GeneralDeployment Project Pin
kgoodrich29-Jul-03 10:12
kgoodrich29-Jul-03 10:12 
GeneralPassing XmlResolver to Transform() method Pin
kyledunn29-Jul-03 10:08
kyledunn29-Jul-03 10:08 
GeneralRe: Passing XmlResolver to Transform() method Pin
Nick Parker29-Jul-03 12:52
protectorNick Parker29-Jul-03 12:52 
GeneralRe: Passing XmlResolver to Transform() method Pin
kyledunn7-Aug-03 8:39
kyledunn7-Aug-03 8:39 
GeneralCombo binding Pin
Ista29-Jul-03 9:10
Ista29-Jul-03 9:10 
Questiondatagrid how to disable new row?? Pin
mdolby29-Jul-03 9:02
mdolby29-Jul-03 9:02 
AnswerRe: datagrid how to disable new row?? Pin
Ista29-Jul-03 9:11
Ista29-Jul-03 9:11 
Generalwhich installer Pin
mdolby29-Jul-03 8:54
mdolby29-Jul-03 8:54 
GeneralRe: which installer Pin
Alex Korchemniy29-Jul-03 12:45
Alex Korchemniy29-Jul-03 12:45 
GeneralComboBox limiting editing Pin
Ista29-Jul-03 5:52
Ista29-Jul-03 5:52 
GeneralRe: ComboBox limiting editing Pin
Zachery29-Jul-03 6:03
Zachery29-Jul-03 6:03 
GeneralRe: ComboBox limiting editing Pin
Ista29-Jul-03 6:08
Ista29-Jul-03 6:08 
GeneralRe: ComboBox limiting editing Pin
Arjan Einbu29-Jul-03 6:45
Arjan Einbu29-Jul-03 6:45 
GeneralRe: ComboBox limiting editing Pin
Ista29-Jul-03 9:10
Ista29-Jul-03 9:10 
GeneralRe: ComboBox limiting editing Pin
Ista29-Jul-03 9:10
Ista29-Jul-03 9:10 
GeneralRe: ComboBox limiting editing Pin
Ista29-Jul-03 9:12
Ista29-Jul-03 9:12 
GeneralFocus Question Pin
Zachery29-Jul-03 5:41
Zachery29-Jul-03 5:41 
GeneralRe: Focus Question Pin
Alex Korchemniy29-Jul-03 7:13
Alex Korchemniy29-Jul-03 7:13 
GeneralRe: Focus Question Pin
J. Dunlap29-Jul-03 8:20
J. Dunlap29-Jul-03 8:20 
Generalgraphic control question.... Pin
LongRange.Shooter29-Jul-03 5:39
LongRange.Shooter29-Jul-03 5:39 
I am sure the answer to this question is simple...but I sure haven't found an answer on my own.

In my spare time, just to relax, I've been coding the Conway Life algorithm. I am currently doing a fairly good, and fast display of the Automaton generations growth. However I want to incorporate scaling as well as a much larger viewing world than I have today.

The problem I have is getting a graphic control implemented that supports scroll bars. I am currently using a PictureBox control which supports both the drawing of the ellipses as well as recognizing the mouse_down event.

Do I have to blend a picture box with another control to get it to present scroll bars? Or is their another graphic control I can deploy? The basic idea here is I have a fixed windowed area, with buttons in a GroupBox to control the generation machine (turn on/off/load pattern/etc) and the graphic window to show the generations.

At the moment the graphics are tightly bound to the fixed array I'm using but I want to alter my algorithm to use blocks in a list with a hashtable for lookup similar to how Allen Hensel is doing it in Java. This will support up to 4 million generations for a 'mover' which requires a movable graphic window.

Thanks to anyone that can answer this!

MJ

_____________________________________________
The world is a dangerous place.
Not because of those that do evil,
    but because of those who look on and do nothing.

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.