Click here to Skip to main content
15,899,634 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to access Remote Desktop in C# Pin
Abhijit Jana25-Oct-07 18:34
professionalAbhijit Jana25-Oct-07 18:34 
AnswerRe: How to access Remote Desktop in C# Pin
Spunky Coder25-Oct-07 19:59
Spunky Coder25-Oct-07 19:59 
GeneralRe: How to access Remote Desktop in C# Pin
Abhijit Jana25-Oct-07 20:22
professionalAbhijit Jana25-Oct-07 20:22 
QuestionRe: How to access Remote Desktop in C# Pin
spiritboy25-Dec-08 2:22
spiritboy25-Dec-08 2:22 
AnswerRe: How to access Remote Desktop in C# Pin
majongan22-Oct-09 22:56
majongan22-Oct-09 22:56 
AnswerRe: How to access Remote Desktop in C# Pin
majongan22-Oct-09 22:58
majongan22-Oct-09 22:58 
QuestionAlternative to listbox/listview Pin
QzRz25-Oct-07 15:09
QzRz25-Oct-07 15:09 
AnswerRe: Alternative to listbox/listview Pin
Luc Pattyn25-Oct-07 16:13
sitebuilderLuc Pattyn25-Oct-07 16:13 
Hi,

whenever you change a Control's property, it will recalculate itself, redo its layout,
repaint itself, etc since it does not know in advance whether your change is just one
of many, the only one or the last one.

When you want to do a lot of changes, you should consider calling Control.SuspendLayout
at the beginning, Control.ResumeLayout at the end of the massive change.
(or maybe suspend, do a lot, resume, suspend, do another lot, resume, etc).

Some Controls also offer an AddRange() method that acts like a "multiple add"; that too
can result in speed ups (AFAIK it does not make sense to combine both suspend and addrange).

Give it a try on whatever Control suits you most.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]


this months tips:
- use PRE tags to preserve formatting when showing multi-line code snippets
- before you ask a question here, search CodeProject, then Google


GeneralRe: Alternative to listbox/listview Pin
QzRz26-Oct-07 2:14
QzRz26-Oct-07 2:14 
QuestionObject Reference Required (CS0120) Form Access Pin
codemunkeh25-Oct-07 12:35
codemunkeh25-Oct-07 12:35 
AnswerRe: Object Reference Required (CS0120) Form Access Pin
Anthony Mushrow25-Oct-07 13:04
professionalAnthony Mushrow25-Oct-07 13:04 
GeneralRe: Object Reference Required (CS0120) Form Access Pin
codemunkeh25-Oct-07 13:07
codemunkeh25-Oct-07 13:07 
GeneralRe: Object Reference Required (CS0120) Form Access Pin
codemunkeh25-Oct-07 13:13
codemunkeh25-Oct-07 13:13 
GeneralRe: Object Reference Required (CS0120) Form Access Pin
Anthony Mushrow25-Oct-07 13:43
professionalAnthony Mushrow25-Oct-07 13:43 
QuestionBluetooth code sample C# or java Pin
Yustme25-Oct-07 12:29
Yustme25-Oct-07 12:29 
AnswerRe: Bluetooth code sample C# or java Pin
ekynox26-Oct-07 12:56
ekynox26-Oct-07 12:56 
QuestionHow can I make an equal between a String and a Table atribute? Pin
khalidelmeknesi25-Oct-07 10:46
khalidelmeknesi25-Oct-07 10:46 
AnswerRe: How can I make an equal between a String and a Table atribute? Pin
Christian Graus25-Oct-07 11:17
protectorChristian Graus25-Oct-07 11:17 
QuestionLog off windows screen Pin
clint198225-Oct-07 10:12
clint198225-Oct-07 10:12 
Questionassign number to variable name Pin
conemajstor25-Oct-07 9:26
conemajstor25-Oct-07 9:26 
AnswerRe: assign number to variable name Pin
pmarfleet25-Oct-07 9:34
pmarfleet25-Oct-07 9:34 
GeneralRe: assign number to variable name Pin
conemajstor25-Oct-07 9:57
conemajstor25-Oct-07 9:57 
GeneralRe: assign number to variable name Pin
pmarfleet25-Oct-07 10:01
pmarfleet25-Oct-07 10:01 
GeneralRe: assign number to variable name Pin
conemajstor25-Oct-07 10:09
conemajstor25-Oct-07 10:09 
GeneralRe: assign number to variable name Pin
pmarfleet25-Oct-07 10:23
pmarfleet25-Oct-07 10:23 

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.