Starting the Windows Media Player component in fullscreen

1

When the Windows Media Player application is opened (Windows Forms) I always have to press the fullscreen button to maximize the video that is running and I would like it to start fullscreen.     

asked by anonymous 10.02.2015 / 05:06

1 answer

1

Just do this on the main form:

private void Form1_Load(object sender, EventArgs e) {
    this.TopMost = true;
    this.FormBorderStyle = FormBorderStyle.None;
    this.WindowState = FormWindowState.Maximized;
}
    
10.02.2015 / 07:47