Click here to Skip to main content
15,911,531 members
Home / Discussions / C#
   

C#

 
GeneralRe: Blinking in GDI+ Pin
Majid Shahabfar30-Aug-02 7:29
Majid Shahabfar30-Aug-02 7:29 
GeneralRe: Blinking in GDI+ Pin
Maciej Pirog30-Aug-02 7:48
Maciej Pirog30-Aug-02 7:48 
GeneralRe: Blinking in GDI+ Pin
Nnamdi Onyeyiri30-Aug-02 10:15
Nnamdi Onyeyiri30-Aug-02 10:15 
GeneralRe: Blinking in GDI+ Pin
Rocky Moore30-Aug-02 19:56
Rocky Moore30-Aug-02 19:56 
GeneralAdding items in Server Explorer Pin
suresh_sathya30-Aug-02 0:48
suresh_sathya30-Aug-02 0:48 
GeneralScript Pin
BLaZiNiX29-Aug-02 21:07
BLaZiNiX29-Aug-02 21:07 
GeneralRe: Script Pin
Maciej Pirog30-Aug-02 7:49
Maciej Pirog30-Aug-02 7:49 
GeneralRe: Script Pin
BLaZiNiX30-Aug-02 8:13
BLaZiNiX30-Aug-02 8:13 
GeneralRe: Script Pin
Maciej Pirog30-Aug-02 8:26
Maciej Pirog30-Aug-02 8:26 
GeneralVirtual list control Pin
Holger Persch29-Aug-02 20:12
Holger Persch29-Aug-02 20:12 
GeneralRe: Virtual list control Pin
Nnamdi Onyeyiri29-Aug-02 23:59
Nnamdi Onyeyiri29-Aug-02 23:59 
GeneralWorker Thread Pin
Mazdak29-Aug-02 19:50
Mazdak29-Aug-02 19:50 
GeneralRe: Worker Thread Pin
Rickard Andersson2029-Aug-02 21:11
Rickard Andersson2029-Aug-02 21:11 
GeneralRe: Worker Thread Pin
Martin Haesemeyer29-Aug-02 21:16
Martin Haesemeyer29-Aug-02 21:16 
GeneralNeeds to know if i can even do this.. Pin
Jason Tucker29-Aug-02 17:02
Jason Tucker29-Aug-02 17:02 
Generalcompute huge datastructure once on dll-load Pin
Rüpel29-Aug-02 3:54
Rüpel29-Aug-02 3:54 
GeneralRe: compute huge datastructure once on dll-load Pin
leppie29-Aug-02 4:59
leppie29-Aug-02 4:59 
GeneralRe: compute huge datastructure once on dll-load Pin
Rüpel29-Aug-02 5:09
Rüpel29-Aug-02 5:09 
GeneralRe: compute huge datastructure once on dll-load Pin
leppie29-Aug-02 5:33
leppie29-Aug-02 5:33 
GeneralRe: compute huge datastructure once on dll-load Pin
Rüpel29-Aug-02 21:30
Rüpel29-Aug-02 21:30 
GeneralRe: compute huge datastructure once on dll-load Pin
Anonymous30-Aug-02 7:42
Anonymous30-Aug-02 7:42 
The best solution to this is to use a static member and static constructor. Create some class which has the static member of the type you are referring to. Then put hte build datastructure code in the static COnstructor. This way the table will only be built ont time and you odn't have to worry about when to build it. The static constructor will be called before anything in the class is accessed.
GeneralRe: compute huge datastructure once on dll-load Pin
leppie31-Aug-02 5:07
leppie31-Aug-02 5:07 
QuestionIs this normal? Pin
leppie29-Aug-02 3:19
leppie29-Aug-02 3:19 
AnswerRe: Is this normal? Pin
Rüpel29-Aug-02 3:46
Rüpel29-Aug-02 3:46 
AnswerRe: Is this normal? Pin
leppie29-Aug-02 6:48
leppie29-Aug-02 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.