Click here to Skip to main content
16,003,888 members
Home / Discussions / C#
   

C#

 
GeneralRe: Help about Office word In C# Pin
tker7-Aug-07 20:12
tker7-Aug-07 20:12 
GeneralRe: Help about Office word In C# Pin
kcynic7-Aug-07 21:33
kcynic7-Aug-07 21:33 
GeneralRe: Help about Office word In C# Pin
tker8-Aug-07 16:31
tker8-Aug-07 16:31 
AnswerRe: Help about Office word In C# Pin
MarkB7777-Aug-07 18:53
MarkB7777-Aug-07 18:53 
GeneralRe: Help about Office word In C# Pin
kcynic7-Aug-07 19:18
kcynic7-Aug-07 19:18 
QuestionGetting reflection permissions with ReflectionPermissionAttribute Pin
Luke Murray7-Aug-07 15:23
Luke Murray7-Aug-07 15:23 
QuestionConsole component Pin
noon427-Aug-07 14:31
noon427-Aug-07 14:31 
AnswerRe: Console component Pin
Luc Pattyn7-Aug-07 14:39
sitebuilderLuc Pattyn7-Aug-07 14:39 
Hi,

if your Control is to be line-oriented then I would go for a ListBox or a ListBox derivative.

The advantages are:
- its Items collection holds items of arbitrary type, could be simply strings.
- lines never get concatenated, they are kept in the Items collection; fast and easy
- you can limit the number of items you keep, i.e. you could append to the bottom,
and, if required, remove lines from the top
- it offers scroll bars, so you can easily do a scrolling DOS window, holding much more
lines than your screen could show at once.

The disadvantages are:
- selection, if required, is by lines, not an arbitrary from-to selection
- maybe some more, nothing comes to mind

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]


this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/...
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google


GeneralRe: Console component Pin
noon427-Aug-07 14:51
noon427-Aug-07 14:51 
GeneralRe: Console component Pin
Luc Pattyn7-Aug-07 15:04
sitebuilderLuc Pattyn7-Aug-07 15:04 
GeneralRe: Console component Pin
noon427-Aug-07 15:20
noon427-Aug-07 15:20 
QuestionInterface VS Abstract classes Pin
seemamltn7-Aug-07 13:58
seemamltn7-Aug-07 13:58 
GeneralRe: Interface VS Abstract classes Pin
PIEBALDconsult7-Aug-07 14:07
mvePIEBALDconsult7-Aug-07 14:07 
AnswerRe: Interface VS Abstract classes Pin
Christian Graus7-Aug-07 14:30
protectorChristian Graus7-Aug-07 14:30 
AnswerRe: Interface VS Abstract classes Pin
Jeff.Hu7-Aug-07 17:16
Jeff.Hu7-Aug-07 17:16 
AnswerRe: Interface VS Abstract classes Pin
tker7-Aug-07 18:32
tker7-Aug-07 18:32 
QuestionTreeView nodes Tooltiptext Pin
unitecsoft7-Aug-07 12:57
unitecsoft7-Aug-07 12:57 
AnswerRe: TreeView nodes Tooltiptext Pin
Luc Pattyn7-Aug-07 14:25
sitebuilderLuc Pattyn7-Aug-07 14:25 
GeneralRe: TreeView nodes Tooltiptext Pin
unitecsoft7-Aug-07 21:31
unitecsoft7-Aug-07 21:31 
QuestionCan a base class access a derived class? Pin
eggie57-Aug-07 12:25
eggie57-Aug-07 12:25 
AnswerRe: Can a base class access a derived class? Pin
il_masacratore7-Aug-07 12:34
il_masacratore7-Aug-07 12:34 
AnswerRe: Can a base class access a derived class? Pin
Christian Graus7-Aug-07 12:44
protectorChristian Graus7-Aug-07 12:44 
GeneralRe: Can a base class access a derived class? Pin
PIEBALDconsult7-Aug-07 14:04
mvePIEBALDconsult7-Aug-07 14:04 
GeneralRe: Can a base class access a derived class? Pin
Christian Graus7-Aug-07 14:27
protectorChristian Graus7-Aug-07 14:27 
GeneralRe: Can a base class access a derived class? Pin
PIEBALDconsult8-Aug-07 6:11
mvePIEBALDconsult8-Aug-07 6:11 

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.