Click here to Skip to main content
15,896,557 members
Home / Discussions / C#
   

C#

 
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# PinPopular
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 
Hi
You're completely right about the picturebox, I will change it with a panel right away.
Saving the images and applying them when the are all ready is not an option. It's a live video feed.
The picturesboxes are passed on with their handle, so I don't really know how the dll does it, but I guess it simply draws the image in the region of the control. The performance here is sufficient at the moment, except when I run two cams at once AND in the same app window. On seperate instances the performance is again optimal. I came to the conclusion that the dll invokes the paint method, but since two cams are active they continuously call the paint method. Hereby using (theoretically) the double amount of time. This wouldn't occur when I can sync the paint events, so the form is only invalidated when both cams send data. Or an other idea... Since running two instances, each with an other cam, doesn't give any performance loss either. I could split the paint event into a left and right section of the form somehow...
I hope this explanation was a bit more helpful Smile | :)

Steven

Off-topic: Were you on the news today? I saw your name passing by, but maybe it was someone else. Just curious though Big Grin | :-D
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 
QuestionManaged/Unmanaged code intraoperability: Casting between pointers Pin
Keith Vitali16-Jul-10 14:24
Keith Vitali16-Jul-10 14:24 
AnswerRe: Managed/Unmanaged code intraoperability: Casting between pointers Pin
Luc Pattyn16-Jul-10 14:43
sitebuilderLuc Pattyn16-Jul-10 14:43 
GeneralRe: Managed/Unmanaged code intraoperability: Casting between pointers Pin
Nish Nishant16-Jul-10 14:46
sitebuilderNish Nishant16-Jul-10 14:46 
GeneralRe: Managed/Unmanaged code intraoperability: Casting between pointers Pin
Luc Pattyn16-Jul-10 15:00
sitebuilderLuc Pattyn16-Jul-10 15:00 
GeneralRe: Managed/Unmanaged code intraoperability: Casting between pointers Pin
Garth J Lancaster16-Jul-10 17:44
professionalGarth J Lancaster16-Jul-10 17:44 
GeneralRe: Managed/Unmanaged code intraoperability: Casting between pointers Pin
Luc Pattyn16-Jul-10 23:16
sitebuilderLuc Pattyn16-Jul-10 23:16 
GeneralRe: Managed/Unmanaged code intraoperability: Casting between pointers Pin
Garth J Lancaster17-Jul-10 0:42
professionalGarth J Lancaster17-Jul-10 0:42 
QuestionCreate pie chart in c# Pin
annmarypaul16-Jul-10 13:47
annmarypaul16-Jul-10 13:47 
AnswerRe: Create pie chart in c# Pin
Dr.Walt Fair, PE16-Jul-10 14:11
professionalDr.Walt Fair, PE16-Jul-10 14:11 
AnswerRe: Create pie chart in c# Pin
JF201516-Jul-10 23:00
JF201516-Jul-10 23:00 
GeneralRe: Create pie chart in c# Pin
annmarypaul18-Jul-10 6:39
annmarypaul18-Jul-10 6:39 
GeneralRe: Create pie chart in c# Pin
JF201518-Jul-10 19:31
JF201518-Jul-10 19:31 

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.