Skip to content

Commit

Permalink
Added Nuget VLC and bound it to pnlStream
Browse files Browse the repository at this point in the history
            //
            this.vlcControl = new VlcControl();
            this.vlcControl.Dock = DockStyle.Fill;
            this.pnlStream.Controls.Add(this.vlcControl);
            this.vlcControl.EndInit();
            //
  • Loading branch information
AccidentalCitizen committed Jun 22, 2024
1 parent 385b33d commit 416afba
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
22 changes: 21 additions & 1 deletion src/BasicTTS/frmMain.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions src/BasicTTS/frmMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using Vlc.DotNet.Forms;

namespace BasicTTS
{
public partial class FormMain : Form
{
bool Play = true;
private VlcControl vlcControl;
public FormMain()
{
InitializeComponent();
Expand Down Expand Up @@ -65,5 +67,10 @@ private void button1_Click_1(object sender, EventArgs e)
{

}

private void panel1_Paint(object sender, PaintEventArgs e)
{

}
}
}

0 comments on commit 416afba

Please sign in to comment.