public OpenGLtest() { instance = this; InitializeComponent(); GL.GenTextures(1, out texture); }
public temp() { InitializeComponent(); if (System.Diagnostics.Debugger.IsAttached) { ArdupilotMega.Controls.OpenGLtest ogl = new Controls.OpenGLtest(); this.Controls.Add(ogl); ogl.Dock = DockStyle.Fill; } }
public temp() { InitializeComponent(); //if (System.Diagnostics.Debugger.IsAttached) { try { ArdupilotMega.Controls.OpenGLtest ogl = new Controls.OpenGLtest(); this.Controls.Add(ogl); ogl.Dock = DockStyle.Fill; } catch { } // } MissionPlanner.Utilities.Tracking.AddPage(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType.ToString(), System.Reflection.MethodBase.GetCurrentMethod().Name); }