Click here to Skip to main content
15,868,016 members
Home / Discussions / C#
   

C#

 
AnswerRe: what is the difference between Dictionary<> and SortedList<> Pin
Luc Pattyn11-Jun-09 10:36
sitebuilderLuc Pattyn11-Jun-09 10:36 
GeneralRe: what is the difference between Dictionary<> and SortedList<> Pin
led mike11-Jun-09 10:43
led mike11-Jun-09 10:43 
QuestionRichTextBoxStreamType.PlainText Does not work. Pin
Baeltazor11-Jun-09 10:11
Baeltazor11-Jun-09 10:11 
AnswerRe: RichTextBoxStreamType.PlainText Does not work. Pin
Baeltazor11-Jun-09 11:02
Baeltazor11-Jun-09 11:02 
QuestionHow to disable JavaScript in webControl hosted in a WinForm Pin
kozu11-Jun-09 10:06
kozu11-Jun-09 10:06 
AnswerRe: How to disable JavaScript in webControl hosted in a WinForm Pin
kozu11-Jun-09 10:25
kozu11-Jun-09 10:25 
GeneralRe: How to disable JavaScript in webControl hosted in a WinForm Pin
kozu11-Jun-09 13:32
kozu11-Jun-09 13:32 
QuestionText formatting Pin
Skymir11-Jun-09 9:26
Skymir11-Jun-09 9:26 
I'm trying to add spacing to the beginning of some text so that I can put small symbols before specific lines of text. The size of the symbols is always the same, 10x10 pixels, however the number of symbols can range from none to half a dozen.

The problem I'm running in to is figuring out the number of spaces to indent the text. Normally I'd simply move the bounding box over by the size of the bullets, but in this case, the next line of text needs to wrap under the graphics I'm inserting, so moving the bounding box cuts down on the space available for text.

Right now I'm just adding in 3 * the number of spaces as there are symbols in hopes of getting close, but it's a bit off. I've tried using MeasureString to get the size of a space, then adding enough spaces to move the text, but it comes out too little with only 1 symbol and not nearly enough by the time there are 4 or more symbols.

Any suggestions?

The true man wants two things: danger and play. For that reason he wants woman, as the most dangerous plaything.

AnswerRe: Text formatting Pin
OriginalGriff11-Jun-09 10:33
mveOriginalGriff11-Jun-09 10:33 
GeneralRe: Text formatting Pin
Skymir11-Jun-09 10:46
Skymir11-Jun-09 10:46 
GeneralRe: Text formatting Pin
OriginalGriff11-Jun-09 10:55
mveOriginalGriff11-Jun-09 10:55 
GeneralRe: Text formatting Pin
Skymir11-Jun-09 11:02
Skymir11-Jun-09 11:02 
GeneralRe: Text formatting Pin
Skymir12-Jun-09 9:35
Skymir12-Jun-09 9:35 
Questiontoolstripcombobox and arraylist problem Pin
ThorTheBraveGod11-Jun-09 7:58
ThorTheBraveGod11-Jun-09 7:58 
AnswerRe: toolstripcombobox and arraylist problem Pin
ThorTheBraveGod11-Jun-09 8:21
ThorTheBraveGod11-Jun-09 8:21 
GeneralRe: toolstripcombobox and arraylist problem Pin
EliottA11-Jun-09 8:49
EliottA11-Jun-09 8:49 
QuestionAudio vedio caputing Pin
mastercpj11-Jun-09 7:31
mastercpj11-Jun-09 7:31 
AnswerRe: Audio vedio caputing Pin
molesworth11-Jun-09 7:36
molesworth11-Jun-09 7:36 
GeneralRe: Audio vedio caputing Pin
mastercpj11-Jun-09 7:45
mastercpj11-Jun-09 7:45 
GeneralRe: Audio vedio caputing Pin
EliottA11-Jun-09 7:49
EliottA11-Jun-09 7:49 
GeneralRe: Audio vedio caputing Pin
molesworth11-Jun-09 10:58
molesworth11-Jun-09 10:58 
AnswerRe: Audio vedio caputing Pin
Rajesh R Subramanian11-Jun-09 10:56
professionalRajesh R Subramanian11-Jun-09 10:56 
AnswerRe: Audio vedio caputing Pin
Nooner11-Jun-09 11:34
Nooner11-Jun-09 11:34 
GeneralRe: Audio vedio caputing Pin
Mycroft Holmes11-Jun-09 14:11
professionalMycroft Holmes11-Jun-09 14:11 
Questionabout ArraySegment<> Pin
Seraph_summer11-Jun-09 6:48
Seraph_summer11-Jun-09 6:48 

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.