Click here to Skip to main content
15,891,184 members
Home / Discussions / C#
   

C#

 
QuestionHow to create a jagged array of multiple data-type data? Pin
LightIceStorm14-Dec-08 14:41
LightIceStorm14-Dec-08 14:41 
AnswerRe: How to create a jagged array of multiple data-type data? Pin
Colin Angus Mackay14-Dec-08 14:48
Colin Angus Mackay14-Dec-08 14:48 
GeneralRe: How to create a jagged array of multiple data-type data? Pin
Luc Pattyn14-Dec-08 15:08
sitebuilderLuc Pattyn14-Dec-08 15:08 
AnswerRe: How to create a jagged array of multiple data-type data? [modified] Pin
Guffa14-Dec-08 15:44
Guffa14-Dec-08 15:44 
GeneralRe: How to create a jagged array of multiple data-type data? Pin
Mycroft Holmes14-Dec-08 19:26
professionalMycroft Holmes14-Dec-08 19:26 
GeneralRe: How to create a jagged array of multiple data-type data? Pin
LightIceStorm15-Dec-08 9:57
LightIceStorm15-Dec-08 9:57 
GeneralRe: How to create a jagged array of multiple data-type data? Pin
Guffa15-Dec-08 12:03
Guffa15-Dec-08 12:03 
QuestionLoading Multiple Images to a Picture Box Pin
User 543536414-Dec-08 14:19
User 543536414-Dec-08 14:19 
Hello,
Actually I'm not sure if a Picture Box is the right control for my need, but I'm just guessing it is. I'm new to C#, so haven't got much of an idea. I'm using MS Visual C# 2005.

Here is my problem.

I read data from a file which contains text lines seperated by a return. Then according to the data lines, I need a verticle bar (deciding what this control is upto me, and I'm guessing it is a Picture Box) be filled with different colors.

For example let's say this is the text file.


A
B
C
A


Then, in the C# Form, on whatever that control I need four color lines be displayed according to the text. So, if we assign colors as follows:
A - Red
B - Yellow
C - Green

Then the color lines should be displayed like

Red
Yellow
Green
Red

I think you get the drift.
Please note that there could be any number of text lines in the text file, but the control height I use need to be remained the same. So, according to the number of lines in the text file, height of each color strip in the control should differ.

Please help me with this.
Thanks in advance.
AnswerRe: Loading Multiple Images to a Picture Box Pin
Christian Graus14-Dec-08 17:17
protectorChristian Graus14-Dec-08 17:17 
GeneralRe: Loading Multiple Images to a Picture Box Pin
User 543536414-Dec-08 17:30
User 543536414-Dec-08 17:30 
GeneralRe: Loading Multiple Images to a Picture Box Pin
Lev Danielyan14-Dec-08 19:16
Lev Danielyan14-Dec-08 19:16 
QuestionC# Xml struggles Pin
lszanto14-Dec-08 12:56
lszanto14-Dec-08 12:56 
AnswerRe: C# Xml struggles Pin
lszanto14-Dec-08 12:58
lszanto14-Dec-08 12:58 
AnswerRe: C# Xml struggles Pin
Colin Angus Mackay14-Dec-08 14:20
Colin Angus Mackay14-Dec-08 14:20 
GeneralRe: C# Xml struggles Pin
lszanto14-Dec-08 14:33
lszanto14-Dec-08 14:33 
QuestionForm turning into component Pin
kod3brkr14-Dec-08 12:41
kod3brkr14-Dec-08 12:41 
AnswerRe: Form turning into component Pin
Colin Angus Mackay14-Dec-08 14:07
Colin Angus Mackay14-Dec-08 14:07 
GeneralRe: Form turning into component Pin
kod3brkr14-Dec-08 14:19
kod3brkr14-Dec-08 14:19 
GeneralRe: Form turning into component Pin
Colin Angus Mackay14-Dec-08 14:27
Colin Angus Mackay14-Dec-08 14:27 
GeneralRe: Form turning into component Pin
kod3brkr14-Dec-08 16:07
kod3brkr14-Dec-08 16:07 
GeneralRe: Form turning into component Pin
Colin Angus Mackay14-Dec-08 21:37
Colin Angus Mackay14-Dec-08 21:37 
GeneralRe: Form turning into component Pin
Luc Pattyn15-Dec-08 0:33
sitebuilderLuc Pattyn15-Dec-08 0:33 
QuestionCan I add new fields to an existing type using reflection( FieldBuilder) ? Pin
Charith Jayasundara14-Dec-08 11:04
Charith Jayasundara14-Dec-08 11:04 
AnswerRe: Can I add new fields to an existing type using reflection( FieldBuilder) ? Pin
Colin Angus Mackay14-Dec-08 12:17
Colin Angus Mackay14-Dec-08 12:17 
GeneralRe: Can I add new fields to an existing type using reflection( FieldBuilder) ? Pin
Lev Danielyan14-Dec-08 19:37
Lev Danielyan14-Dec-08 19:37 

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.