Best Control for displaying Data

ok here is what I'm looking at doing:

I have created a basic Hex editor which displays lines:hex:values like so

10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................

now I'm using a byte array from a binary reader and converting to hex values in a string builder then placing the results in a text box.

this is early on so now I'm looking at what control to use to display the formated data like so:


00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 123456789ABCDEF
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ...............

I would like to be able to edit single bytes and have the results reflected in the values section (123456789ABCDEF) in real time.

I have considered using a data grid -- but I haven't written raw data from a file into one before and I'm not sure where to start -- I also don't know if this is the correct choice of controls or not.

I would also like to append data to the control on the fly so the user can see the data being populated -- rather then dumping the entire set of values into the control when the formating is complete.

Any suggestions on where to go from here?

Thanks for your time.


[blue]
C:Dos
C:Dos Run
Run Dos Run
[/blue]
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories