Click here to Skip to main content
15,896,359 members

Comments by zaeemi (Top 3 by date)

zaeemi 13-Mar-11 6:25am View    
thanks for your help buddy...
but let me say that yes... my problem is about displaying video.
you know, in C# i used a picturebox and wrote this : capture.previewwindow = picturebox1;
and this line of code did it for me, displaying the preview.
now, i didn't find a such a picturebox Component in WPF components,
maybe you laugh, but yohoo,,,, this is what i'm looking for! sth wich does the picturebox action.
i Also used a component named Image, and wrote this : capture.previewwindow = image.source;
but OOOOOPS! Didn't work!
zaeemi 5-Feb-11 3:36am View    
I made it work by your help. It was my fault..... i was using a Condition witch caused to stop timer! Now it's working well...
thanks every one....
zaeemi 4-Feb-11 1:47am View    
i'm about to turn off a device by reaching 2 results,
1. reaching the specified time that user defines in the timer!
2. reaching a value that is above the maximum line.
some other values exist that might take effect. these other values prompt user by a message box, here is the problem! this messagebox stops the countdown timer till the user press any button of that!

in addition it'd be better to mention that i'm using different timers for this action.
1. for recieving data from a COM port with the interval of 700ms.
2. one with the Interval of 1000 ms that does the "i--" or "i++" as Second,Minute,Hour counter.

Timer No.2 stops counting....
i wish that is much more clear now.

and good to mention that i'm using the timer component, i drag and drop it in my form. sorry if i'm not as pro as you guys....
thanks in advance every one......