Пример #1
0
        private void VlcOverlay_MouseDoubleClick(object sender, EventArgs e)
        {
            Panel      overlay = (Panel)sender;
            VlcControl vlc     = myVlcControl[overlay.TabIndex]; // (VlcControl)overlay.Parent;

            this.SuspendLayout();
            if (vlc.Width >= this.ClientSize.Width)
            {
                setSizes();
                vlc.SendToBack();
            }
            else
            {
                VlcOverlay.SetFullView(this, vlcOverlay[vlc.TabIndex]);
                statusBg.Visible = true;
                statusBg.BringToFront();
            }
            this.ResumeLayout();
        }