private void OnWindowActivated(object sender, EventArgs eventArgs)
 {
     GLService.SubscribeControl(GLControlHost);
     GLLocationRenderer.DrawEvent = GLService.RegisterDrawMethod(DrawPreview);
     ConfigViewport();
 }
 private void OnWindowActivated(object sender, EventArgs e)
 {
     GLService.SubscribeControl(GLControlHost);
     _drawEvent = GLService.RegisterDrawMethod(DrawPreview);
     ConfigPreview();
 }