This example show how to update projection matrix: Blackjack_WinFormsOpenGL31CSharp_UpdateProjMatrix.zip
private void glControl_Resize(object sender, EventArgs e)
{
UpdateProjMatrix();
}
private void UpdateProjMatrix()
{
float aspect = (float)glControl.Width / glControl.Height;
float worldWidth = aspect * _worldHeight;
// Define the project matrix
Matrix4 projMatrix = Matrix4.CreateOrthographic(worldWidth, _worldHeight, 0.1f, 1000f);
GL.UniformMatrix4(_uProjMatrixLoc, false, ref projMatrix);
}