Home > Archive (Community help, from old helpdesk) > Can you give me a Multiple Screen Demo for winform?

Can you give me a Multiple Screen Demo for winform?

Avatar image
Aug 23, 2015
Archive Agent wrote
I only find the Multiple Screen Sample for WPF.

Another question is : What's different with OnVideoFrameBuffer and OnVideoFrameBuffer2 events?

qakmak on March 06, 2014 16:49
Completed
0
Vote
Reply
6 Answers
Aug 23, 2015
Archive Agent agent wrote
Roman Minyaylov

Product name?

on March 6, 2014 8:41 PM
Aug 23, 2015
Archive Agent agent wrote
qakmak

Media Player SDK .NET4.0

I decide use winform panel replace wpf writablebitmap in wpf application.
but looks like there is some problem between wpf and winform.

on March 6, 2014 8:44 PM
Aug 23, 2015
Archive Agent agent wrote
qakmak

Can you give me a sample code?

I"m trying to use

new MediaPlayerSlave(Input threre winform panel)

and use WindowsFormsHost.child = winform panel way

but looks like vidioforge.control don't allow to that.

Why can't just give you a wpf control. and you use Intptr way render it without writeablebitmap?

on March 7, 2014 12:46 PM
Aug 23, 2015
Archive Agent agent wrote
Roman Minyaylov

How you want to render without Writeable bitmap? You have IntPtr in frame event so you can play with it.

on March 7, 2014 1:14 PM
Aug 23, 2015
Archive Agent agent wrote
qakmak

which frame event? VideoFrameBufferEventArgs? I only see the buffer byte[]

on March 7, 2014 1:20 PM
Aug 23, 2015
Archive Agent agent wrote
Roman Minyaylov

Yes, several events present. But byte[] is ok for WriteableBitmap too.

on July 3, 2014 9:11 PM