I'm using C# visual studio with XNA and I would like to launch my game in maximized instead of fullscreen, and nothing found on google has worked yet...
I tried using:
Form form = (Form)Control.FromHandle(Window.Handle);
form.WindowState = FormWindowState.Maximized;
But even with the System.Windows.Forms.dll
and System.Drawing.dll
references, it doesn't work, tells me that Form doesn't exist.