Click here to Skip to main content
15,922,533 members
Home / Discussions / C#
   

C#

 
AnswerRe: A question about abstraction... Pin
Luc Pattyn18-Jul-10 8:43
sitebuilderLuc Pattyn18-Jul-10 8:43 
GeneralRe: A question about abstraction... Pin
venomation18-Jul-10 9:00
venomation18-Jul-10 9:00 
QuestionGetting "Input array is longer than the number of columns in this table." Pin
Kevin Marois18-Jul-10 7:33
professionalKevin Marois18-Jul-10 7:33 
AnswerRe: Getting "Input array is longer than the number of columns in this table." Pin
Luc Pattyn18-Jul-10 8:02
sitebuilderLuc Pattyn18-Jul-10 8:02 
GeneralRe: Getting "Input array is longer than the number of columns in this table." Pin
Kevin Marois18-Jul-10 8:36
professionalKevin Marois18-Jul-10 8:36 
AnswerRe: Getting "Input array is longer than the number of columns in this table." Pin
Rob Graham18-Jul-10 8:19
Rob Graham18-Jul-10 8:19 
Questionhelp: deploy c# windows application with sql server database Pin
pradeepwithu18-Jul-10 6:56
pradeepwithu18-Jul-10 6:56 
AnswerRe: help: deploy c# windows application with sql server database [modified] Pin
I Believe In GOD18-Jul-10 11:32
I Believe In GOD18-Jul-10 11:32 
Questioninheritance of atribute. Pin
prasadbuddhika18-Jul-10 1:43
prasadbuddhika18-Jul-10 1:43 
AnswerRe: inheritance of atribute. PinPopular
OriginalGriff18-Jul-10 1:50
mveOriginalGriff18-Jul-10 1:50 
GeneralRe: inheritance of atribute. Pin
Abhinav S18-Jul-10 6:42
Abhinav S18-Jul-10 6:42 
GeneralRe: inheritance of atribute. Pin
prasadbuddhika18-Jul-10 7:09
prasadbuddhika18-Jul-10 7:09 
QuestionProblem to update hierarchical data and display it in treeView. Pin
hdv21217-Jul-10 22:27
hdv21217-Jul-10 22:27 
AnswerRe: Problem to update hierarchical data and display it in treeView. Pin
Mycroft Holmes18-Jul-10 14:44
professionalMycroft Holmes18-Jul-10 14:44 
GeneralRe: Problem to update hierarchical data and display it in treeView. Pin
hdv21220-Jul-10 11:42
hdv21220-Jul-10 11:42 
Generalprogram c# Pin
danhco17-Jul-10 22:14
danhco17-Jul-10 22:14 
GeneralRe: program c# Pin
OriginalGriff17-Jul-10 22:30
mveOriginalGriff17-Jul-10 22:30 
QuestionHow can I syncronize paint events from different controls? Pin
Steven Solberg17-Jul-10 3:39
Steven Solberg17-Jul-10 3:39 
AnswerRe: How can I syncronize paint events from different controls? Pin
Luc Pattyn17-Jul-10 4:02
sitebuilderLuc Pattyn17-Jul-10 4:02 
GeneralRe: How can I syncronize paint events from different controls? Pin
Steven Solberg17-Jul-10 4:14
Steven Solberg17-Jul-10 4:14 
GeneralRe: How can I syncronize paint events from different controls? Pin
Luc Pattyn17-Jul-10 4:31
sitebuilderLuc Pattyn17-Jul-10 4:31 
GeneralRe: How can I syncronize paint events from different controls? Pin
Steven Solberg17-Jul-10 4:34
Steven Solberg17-Jul-10 4:34 
GeneralRe: How can I syncronize paint events from different controls? Pin
Luc Pattyn17-Jul-10 4:54
sitebuilderLuc Pattyn17-Jul-10 4:54 
GeneralRe: How can I syncronize paint events from different controls? [modified] Pin
Steven Solberg17-Jul-10 8:09
Steven Solberg17-Jul-10 8:09 
GeneralRe: How can I syncronize paint events from different controls? Pin
Steven Solberg22-Jul-10 22:24
Steven Solberg22-Jul-10 22:24 
Hi again

I'm still stuck with this problem. I have tried to use two forms, one for each webcam device. Next to that I have tried to use a single panel and draw both captures in that panel. One capture next to the other. Still no improvement.
I keep coming to this conclusion: Both the captures call the paint event independently, which theoretically doubles the amount of calls to the forms paint method. When I cover one of the captures, the paint method is called half as much and the capture appears smooth. When I use two seperate forms, the calling of paint methods is also cut in half since every form handles only the drawing of its own capture device.
So if I were able to sync the calling of the paint method, it would limit the amount of calls and improve performance. But I need to have these captures in one form. Additionally, later on these captures will be used for eye-tracking and image processing in real-time.

Thanks in advance
Steven

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.