Click here to Skip to main content
15,902,893 members
Home / Discussions / C#
   

C#

 
AnswerRe: garbage collector Pin
Pete O'Hanlon2-Nov-07 0:54
mvePete O'Hanlon2-Nov-07 0:54 
QuestionUsercontrol : Creating arrayed Control Pin
amienc2-Nov-07 0:05
professionalamienc2-Nov-07 0:05 
AnswerRe: Usercontrol : Creating arrayed Control Pin
c0ax_lx2-Nov-07 0:34
c0ax_lx2-Nov-07 0:34 
QuestionSearch in the DataTable Pin
NewToAspDotNet1-Nov-07 23:56
NewToAspDotNet1-Nov-07 23:56 
AnswerRe: Search in the DataTable Pin
N a v a n e e t h2-Nov-07 0:01
N a v a n e e t h2-Nov-07 0:01 
AnswerRe: Search in the DataTable Pin
il_masacratore2-Nov-07 0:11
il_masacratore2-Nov-07 0:11 
QuestionBitmap and multiple threads Pin
Shaamaan1-Nov-07 23:30
Shaamaan1-Nov-07 23:30 
AnswerRe: Bitmap and multiple threads Pin
Guffa2-Nov-07 0:13
Guffa2-Nov-07 0:13 
Don't inherit the Bitmap, encapsulate it. Make a class that holds the Bitmap in a variable, and synchronises SetPixel calls on it.

Another alternative is to have a result queue, where the threads put their results, which the main thread then can read and put in a Bitmap. (It would have to be synchronised, of course, just like the task queue.)

It sounds like a lot of overhead to queue single pixels, though. You should consider handling blocks or lines of pixels.

---
"Anything that is in the world when you're born is normal and ordinary and is just a natural part of the way the world works. Anything that's invented between when you're fifteen and thirty-five is new and exciting and revolutionary and you can probably get a career in it. Anything invented after you're thirty-five is against the natural order of things."
-- Douglas Adams

GeneralRe: Bitmap and multiple threads Pin
Shaamaan2-Nov-07 4:15
Shaamaan2-Nov-07 4:15 
AnswerRe: Bitmap and multiple threads Pin
Guffa2-Nov-07 8:46
Guffa2-Nov-07 8:46 
QuestionCrystalreportview scroll selected group to top of page Pin
c0ax_lx1-Nov-07 23:26
c0ax_lx1-Nov-07 23:26 
Questionreplacing tags in template Pin
stephan_0071-Nov-07 23:17
stephan_0071-Nov-07 23:17 
QuestionChanging DataColume Datatype!! Pin
Navneet Hegde1-Nov-07 22:37
Navneet Hegde1-Nov-07 22:37 
Questiondouble precision problem Pin
Seraph_summer1-Nov-07 22:21
Seraph_summer1-Nov-07 22:21 
AnswerRe: double precision problem Pin
il_masacratore1-Nov-07 22:33
il_masacratore1-Nov-07 22:33 
AnswerRe: double precision problem Pin
Malcolm Smart1-Nov-07 23:04
Malcolm Smart1-Nov-07 23:04 
QuestionCosole Delegates Pin
new2pgrmg1-Nov-07 22:03
new2pgrmg1-Nov-07 22:03 
AnswerRe: Cosole Delegates Pin
Guffa1-Nov-07 22:13
Guffa1-Nov-07 22:13 
GeneralRe: Console Delegates Pin
new2pgrmg1-Nov-07 22:23
new2pgrmg1-Nov-07 22:23 
AnswerRe: Console Delegates Pin
Guffa1-Nov-07 23:20
Guffa1-Nov-07 23:20 
QuestionHow to detect a file if it is locked by another process Pin
vuthaianh1-Nov-07 22:01
vuthaianh1-Nov-07 22:01 
AnswerRe: How to detect a file if it is locked by another process Pin
kalyan_24162-Nov-07 0:38
kalyan_24162-Nov-07 0:38 
AnswerRe: How to detect a file if it is locked by another process Pin
Jimmanuel2-Nov-07 2:45
Jimmanuel2-Nov-07 2:45 
QuestionCan I cast process to instance of an object ? Pin
eyosha1-Nov-07 21:30
eyosha1-Nov-07 21:30 
QuestionWMP COM Operations in C#.net 2.0 Pin
nayabsiddiqi1-Nov-07 21:15
nayabsiddiqi1-Nov-07 21:15 

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.