Click here to Skip to main content
15,886,629 members
Home / Discussions / C#
   

C#

 
AnswerRe: User Control Question - Changing Location and Size Pin
Nicholas Butler31-Dec-09 23:46
sitebuilderNicholas Butler31-Dec-09 23:46 
GeneralRe: User Control Question - Changing Location and Size Pin
Roger Wright1-Jan-10 4:25
professionalRoger Wright1-Jan-10 4:25 
AnswerRe: User Control Question - Changing Location and Size Pin
DaveyM6931-Dec-09 23:50
professionalDaveyM6931-Dec-09 23:50 
GeneralRe: User Control Question - Changing Location and Size Pin
Roger Wright1-Jan-10 4:28
professionalRoger Wright1-Jan-10 4:28 
Questionmultiple lines string Pin
Member 59031031-Dec-09 18:57
Member 59031031-Dec-09 18:57 
AnswerRe: multiple lines string Pin
Abhijit Jana31-Dec-09 19:30
professionalAbhijit Jana31-Dec-09 19:30 
GeneralRe: multiple lines string Pin
Member 59031031-Dec-09 19:42
Member 59031031-Dec-09 19:42 
GeneralRe: multiple lines string Pin
Nicholas Butler1-Jan-10 0:15
sitebuilderNicholas Butler1-Jan-10 0:15 
You have to split the original string at new lines, add the space and then Join them together again. This is an example:

string original = ...;

string spaced = String.Join( "\n", original.Split( '\n' ).Select( s => " " + s ).ToArray() );


Nick

----------------------------------
Be excellent to each other Smile | :)

AnswerRe: multiple lines string Pin
Eric Dahlvang1-Jan-10 13:50
Eric Dahlvang1-Jan-10 13:50 
QuestionHow to display a 3D(WPF) in a WinFormApplication Pin
arucied31-Dec-09 14:37
arucied31-Dec-09 14:37 
AnswerMessage Closed Pin
31-Dec-09 19:39
stancrm31-Dec-09 19:39 
GeneralRe: How to display a 3D(WPF) in a WinFormApplication Pin
arucied1-Jan-10 17:41
arucied1-Jan-10 17:41 
QuestionConverting a nullable type to a non nullable type Pin
Jeroen De Dauw31-Dec-09 13:34
Jeroen De Dauw31-Dec-09 13:34 
AnswerRe: Converting a nullable type to a non nullable type Pin
Rob Philpott31-Dec-09 22:39
Rob Philpott31-Dec-09 22:39 
GeneralRe: Converting a nullable type to a non nullable type Pin
Jeroen De Dauw1-Jan-10 1:17
Jeroen De Dauw1-Jan-10 1:17 
AnswerRe: Converting a nullable type to a non nullable type Pin
Eric Dahlvang31-Dec-09 23:22
Eric Dahlvang31-Dec-09 23:22 
GeneralRe: Converting a nullable type to a non nullable type Pin
Jeroen De Dauw1-Jan-10 1:19
Jeroen De Dauw1-Jan-10 1:19 
GeneralRe: Converting a nullable type to a non nullable type Pin
Eric Dahlvang1-Jan-10 8:48
Eric Dahlvang1-Jan-10 8:48 
QuestionDrawing "on screen"? Pin
o m n i31-Dec-09 6:08
o m n i31-Dec-09 6:08 
AnswerRe: Drawing "on screen"? Pin
Giorgi Dalakishvili31-Dec-09 9:41
mentorGiorgi Dalakishvili31-Dec-09 9:41 
Questioncallback function only getting called once then program crashing Pin
rjs1 431-Dec-09 4:36
rjs1 431-Dec-09 4:36 
AnswerRe: callback function only getting called once then program crashing Pin
DaveyM6931-Dec-09 5:18
professionalDaveyM6931-Dec-09 5:18 
GeneralRe: callback function only getting called once then program crashing Pin
rjs1 431-Dec-09 6:20
rjs1 431-Dec-09 6:20 
AnswerRe: callback function only getting called once then program crashing Pin
Daniel Grunwald31-Dec-09 6:42
Daniel Grunwald31-Dec-09 6:42 
GeneralRe: callback function only getting called once then program crashing Pin
rjs1 431-Dec-09 7:26
rjs1 431-Dec-09 7:26 

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.