Exemple #1
0
 private void FormChild_FormClosing(object sender, FormClosingEventArgs e)
 {
     if (this.vlc_player_ != null)
     {
         this.vlc_player_.Stop();
         this.vlc_player_ = null;
     }
 }
Exemple #2
0
        public FormChild()
        {
            InitializeComponent();

            this.vlc_player_ = new VlcPlayer(Service.PluginPath);
            IntPtr render_wnd = this.panel_player.Handle;

            this.vlc_player_.SetRenderWindow((int)render_wnd);
            this.is_playinig_ = false;
        }