StCore - STANAG Player / Injector .NET SDK  Version 3.1.1
Winforms Demo Application

Windows Forms (WinForms) is a graphical (GUI) class library included as a part of Microsoft .NET

StCore SDK's Winforms demo application demonstrates a basic Winforms player functionality - STANAG files / streams playback.

By default, the demo application is installed in "C:\Program Files\ImpleoTV\StanagPlayerSdkNet\Samples\KlvPlayerDemoWinForms" directory. Open the KlvPlayerDemoWinFormsPr.sln solution and build it as a 64 bit application (debug or release).

WinformsPlayerDemo.jpg
Winforms Demo App

The code is pretty much a self-explanatory. The main difference from the console application is that we pass a Window handle to the SDK. The video will be rendered in this Window.

Assigning Window Handle:

m_KlvPlayer.Hwnd = (int)this.VideoPanel.Handle; // Set Window handle for video rendering
m_KlvPlayer.RenderVideo = true;

For complete code sample please see Playback Sample (Winforms)

Untitled 1




 Copyright 2018,    IMPLEOTV SYSTEMS LTD