Click here to Skip to main content
15,900,511 members
Home / Discussions / C#
   

C#

 
AnswerRe: DbDataReader: Matching fields to order or occurrence? Pin
Eddy Vluggen28-Jul-11 9:49
professionalEddy Vluggen28-Jul-11 9:49 
GeneralRe: DbDataReader: Matching fields to order or occurrence? Pin
PIEBALDconsult28-Jul-11 13:57
mvePIEBALDconsult28-Jul-11 13:57 
Questiondeveloping program Pin
albertodiprima27-Jul-11 4:08
albertodiprima27-Jul-11 4:08 
AnswerRe: developing program Pin
Richard MacCutchan27-Jul-11 4:12
mveRichard MacCutchan27-Jul-11 4:12 
GeneralRe: developing program Pin
albertodiprima27-Jul-11 4:17
albertodiprima27-Jul-11 4:17 
GeneralRe: developing program Pin
Blue_Boy27-Jul-11 4:37
Blue_Boy27-Jul-11 4:37 
QuestionLoading of pictures and (un)covering them Pin
nstk27-Jul-11 0:02
nstk27-Jul-11 0:02 
AnswerRe: Loading of pictures and (un)covering them [modified] Pin
GlobX27-Jul-11 0:48
GlobX27-Jul-11 0:48 
Sounds like a good enough solution to me. You could either set the visibility of the picture box control to show/hide it, or replace the image with a "blank" one you already have - it all depends on the aesthetic you're going for.

I would suggest pre-loading all the images (including the blank one) at startup and keeping them in memory (remembering to free them on close, GC may handle this for you, can't quite remember with images...). If you have a reasonable number of images, then this should be fine. Remember you'll only need one in-memory copy of the blank one although it may be used for all tiles.

Another solution would be simply to draw something over the top of the images in order to hide them, for example a black rectangle or another image. This may be another solution worth looking into.

Seems like you're on the right track though. Good luck!


Typical n-tiered architecture:
DB <-> Junk(0) <-> ... <-> Junk(n-1) <-> Pretty
modified on Wednesday, July 27, 2011 6:55 AM

GeneralRe: Loading of pictures and (un)covering them Pin
nstk27-Jul-11 21:36
nstk27-Jul-11 21:36 
GeneralRe: Loading of pictures and (un)covering them Pin
GuyThiebaut27-Jul-11 23:38
professionalGuyThiebaut27-Jul-11 23:38 
QuestionCatch Database events (Oracle 10) Pin
V.26-Jul-11 22:26
professionalV.26-Jul-11 22:26 
AnswerRe: Catch Database events (Oracle 10) Pin
Dave Kreskowiak27-Jul-11 1:24
mveDave Kreskowiak27-Jul-11 1:24 
GeneralRe: Catch Database events (Oracle 10) Pin
V.27-Jul-11 2:10
professionalV.27-Jul-11 2:10 
AnswerRe: Catch Database events (Oracle 10) Pin
jschell27-Jul-11 12:35
jschell27-Jul-11 12:35 
GeneralRe: Catch Database events (Oracle 10) Pin
V.27-Jul-11 20:01
professionalV.27-Jul-11 20:01 
GeneralRe: Catch Database events (Oracle 10) Pin
jschell28-Jul-11 8:42
jschell28-Jul-11 8:42 
GeneralRe: Catch Database events (Oracle 10) Pin
V.28-Jul-11 20:10
professionalV.28-Jul-11 20:10 
QuestionListView docking under ToolStrip problem Pin
Chesnokov Yuriy26-Jul-11 21:05
professionalChesnokov Yuriy26-Jul-11 21:05 
AnswerRe: ListView docking under ToolStrip problem Pin
Shameel27-Jul-11 0:58
professionalShameel27-Jul-11 0:58 
AnswerRe: ListView docking under ToolStrip problem Pin
Chesnokov Yuriy27-Jul-11 1:30
professionalChesnokov Yuriy27-Jul-11 1:30 
GeneralRe: ListView docking under ToolStrip problem Pin
Shameel27-Jul-11 1:46
professionalShameel27-Jul-11 1:46 
GeneralRe: ListView docking under ToolStrip problem Pin
BobJanova27-Jul-11 1:53
BobJanova27-Jul-11 1:53 
GeneralRe: ListView docking under ToolStrip problem Pin
Shameel27-Jul-11 5:18
professionalShameel27-Jul-11 5:18 
GeneralRe: ListView docking under ToolStrip problem Pin
BobJanova27-Jul-11 6:57
BobJanova27-Jul-11 6:57 
GeneralRe: ListView docking under ToolStrip problem Pin
Shameel27-Jul-11 8:24
professionalShameel27-Jul-11 8:24 

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.