Click here to Skip to main content
15,906,708 members
Home / Discussions / C#
   

C#

 
AnswerRe: Windows Shortcuts and .NET Pin
EliottA18-Feb-09 15:49
EliottA18-Feb-09 15:49 
AnswerRe: Windows Shortcuts and .NET Pin
N a v a n e e t h18-Feb-09 16:13
N a v a n e e t h18-Feb-09 16:13 
AnswerRe: Windows Shortcuts and .NET Pin
«_Superman_»18-Feb-09 18:17
professional«_Superman_»18-Feb-09 18:17 
QuestionCreating parent/child relationships in an array of data Pin
rstrokur18-Feb-09 12:59
rstrokur18-Feb-09 12:59 
AnswerRe: Creating parent/child relationships in an array of data Pin
Guffa18-Feb-09 13:27
Guffa18-Feb-09 13:27 
AnswerRe: Creating parent/child relationships in an array of data [modified] Pin
Calin Tatar18-Feb-09 13:30
Calin Tatar18-Feb-09 13:30 
QuestionControls pre-caching Pin
Member 183214618-Feb-09 12:37
Member 183214618-Feb-09 12:37 
AnswerRe: Controls pre-caching Pin
Luc Pattyn18-Feb-09 13:05
sitebuilderLuc Pattyn18-Feb-09 13:05 
Hi,

AFAIK you can't, and IMO you should not even want that. If creating your user controls is time consuming I expect at least one of the following:

1. you did something wrong, making the initialization too slow (e.g. not using SuspendLayout/ResumeLayout when adding lots of items to a listing control)

2. you designed an unrealistic control (too many controls, say 50 or more, in one user control); try changing your design, use listing controls (ListBox, ListView, etc) rather than large numbers of simple controls.

3. you are spending lots of time in getting the data to initialize the controls (e.g. due to networking,
slow web access, slow database access). Start using separate threads to obtain the data, then use Control.InvokeRequired/Control.Invoke to apply the data.

Smile | :)
Luc Pattyn [Forum Guidelines] [My Articles]

- before you ask a question here, search CodeProject, then Google
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get
- use the code block button (PRE tags) to preserve formatting when showing multi-line code snippets


modified on Sunday, June 12, 2011 8:17 AM

QuestionConnect to remote SQL Server Pin
Gindi Bar Yahav18-Feb-09 11:01
Gindi Bar Yahav18-Feb-09 11:01 
AnswerRe: Connect to remote SQL Server Pin
Luis Alonso Ramos18-Feb-09 11:39
Luis Alonso Ramos18-Feb-09 11:39 
AnswerRe: Connect to remote SQL Server Pin
EliottA18-Feb-09 11:41
EliottA18-Feb-09 11:41 
GeneralRe: Connect to remote SQL Server Pin
Gindi Bar Yahav18-Feb-09 19:25
Gindi Bar Yahav18-Feb-09 19:25 
GeneralRe: Connect to remote SQL Server Pin
EliottA18-Feb-09 19:29
EliottA18-Feb-09 19:29 
Questiondatabinding + INotifyPropertyChanged Pin
jogisarge18-Feb-09 9:58
jogisarge18-Feb-09 9:58 
AnswerRe: databinding + INotifyPropertyChanged Pin
ABitSmart18-Feb-09 18:22
ABitSmart18-Feb-09 18:22 
QuestionSupport to create graph editor ? [modified] Pin
GuimaSun18-Feb-09 9:24
GuimaSun18-Feb-09 9:24 
AnswerRe: Support to create graph editor ? Pin
Henry Minute18-Feb-09 10:18
Henry Minute18-Feb-09 10:18 
QuestionDynamically create datagrid with prepopulated text boxes Pin
jullesbonnot18-Feb-09 8:20
jullesbonnot18-Feb-09 8:20 
AnswerRe: Dynamically create datagrid with prepopulated text boxes Pin
Calin Tatar18-Feb-09 9:14
Calin Tatar18-Feb-09 9:14 
GeneralRe: Dynamically create datagrid with prepopulated text boxes Pin
Calin Tatar18-Feb-09 9:22
Calin Tatar18-Feb-09 9:22 
QuestionJagged array initialization Pin
t_feras18-Feb-09 7:37
t_feras18-Feb-09 7:37 
AnswerRe: Jagged array initialization Pin
harold aptroot18-Feb-09 10:12
harold aptroot18-Feb-09 10:12 
GeneralRe: Jagged array initialization Pin
t_feras18-Feb-09 10:37
t_feras18-Feb-09 10:37 
GeneralRe: Jagged array initialization Pin
harold aptroot18-Feb-09 11:06
harold aptroot18-Feb-09 11:06 
JokeRe: Jagged array initialization Pin
DaveyM6918-Feb-09 11:09
professionalDaveyM6918-Feb-09 11:09 

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.