示例#1
0
        public ViewVideo()
        {
            InitializeComponent();
            vlc = new LibVlc();
            vlc.Initialize();
            vlc.VideoOutput = ekran;

            gEkran = vlc;

            // inicializiraj OSD
            oi = new OSD.OSDInfo();

            // REgistruj
            this.sH_osdInfo = new CodeProject.SystemHotkey.SystemHotkey(this.components);
            this.sH_osdInfo.Shortcut = System.Windows.Forms.Shortcut.AltF6;
            this.sH_osdInfo.Pressed += new System.EventHandler(this.shOSDInfo_Pressed);
        }
示例#2
0
 private void initializeVLC()
 {
     vlc = new LibVlc();
     vlc.Initialize();
     vlc.VideoOutput = ekran;
     gEkran = vlc;
 }