public void GLWindowActivate() { tlog.Debug(tag, $"GLWindowActivate START"); string name = "myGLWindow"; Rectangle rectangle = new Rectangle(20, 20, 100, 100); GLWindow a1 = new GLWindow(name, rectangle, true); a1.Activate(); a1.Destroy(); tlog.Debug(tag, $"GLWindowActivate END (OK)"); }