Game Development Reference
In-Depth Information
Figure 5.4
Adding SimpleOpenGLControl .
{
InitializeComponent();
_openGLControl.InitializeContexts();
if (_fullscreen)
{
FormBorderStyle ¼ FormBorderStyle.None;
WindowState ¼ FormWindowState.Maximized;
}
}
The border style is the bits on the outside of the window, the menu bar, and the
border. With these parts of the form removed, the size of the form will directly
 
Search WWH ::




Custom Search