private void AddTextcheckBox_CheckedChanged(object sender, EventArgs e)
 {
     Vlc.DotNet.Core.IMarqueeManagement myVLCText = myVlcControl.Video.Marquee;
     if (AddTextcheckBox.Checked == true)
     {
         groupBox3.Enabled = true;
         TextSettings();
     }
     else
     {
         groupBox2.Enabled = false;
         myVLCText.Enabled = false;
     }
 }
        private void TextSettings()
        {
            Vlc.DotNet.Core.IMarqueeManagement myVLCText = myVlcControl.Video.Marquee;
            myVLCText.Enabled = true;

            if (TextPositioncomboBox.Text == "Center")
            {
                myVLCText.Position = 0;
            }
            if (TextPositioncomboBox.Text == "Left")
            {
                myVLCText.Position = 1;
            }
            if (TextPositioncomboBox.Text == "Right")
            {
                myVLCText.Position = 2;
            }
            if (TextPositioncomboBox.Text == "Top")
            {
                myVLCText.Position = 4;
            }
            if (TextPositioncomboBox.Text == "Bottom")
            {
                myVLCText.Position = 8;
            }
            if (TextPositioncomboBox.Text == "Top-Left")
            {
                myVLCText.Position = 5;
            }
            if (TextPositioncomboBox.Text == "Top-Right")
            {
                myVLCText.Position = 6;
            }
            if (TextPositioncomboBox.Text == "Bottom-Left")
            {
                myVLCText.Position = 9;
            }
            if (TextPositioncomboBox.Text == "Bottom-Right")
            {
                myVLCText.Position = 10;
            }
            myVLCText.Size    = 52;
            myVLCText.Text    = myVLCtextBox.Text;
            myVLCText.X       = 0;
            myVLCText.Y       = 0;
            myVLCText.Opacity = 255;
            myVLCText.Color   = Color.White.ToArgb();
        }