Example #1
0
 /// <summary>
 /// Make the provided control fill the whole application window
 /// </summary>
 /// <param name="frm">Form containing the control</param>
 /// <param name="vlc">Vlc control to operate on</param>
 public static void SetVlcFullView(Form frm, VlcControl vlc)
 {
     frm.SuspendLayout();
     vlc.Width    = frm.ClientSize.Width;
     vlc.Height   = frm.ClientSize.Height;
     vlc.Location = new Point(0, 0);
     vlc.BringToFront();
     //statusBg.Visible = true;
     //statusBg.BringToFront();
     frm.ResumeLayout();
 }