private void ModelViewControl_Load(object sender, EventArgs e) { if (!glContextCreated) { ModelViewControl.Location = GLControlStandin.Location; ModelViewControl.Size = GLControlStandin.Size; GLControlStandin.Visible = false; } glContextCreated = true; modelRenderer.Init(); SetupViewport(); }