public SettingsForm(OpenGLControl myParent)
 {
     this.Parent = myParent;
     InitializeComponent();
     this.textBoxPointSize.Text     = GLSettings.PointSize.ToString("0.00");
     this.textBoxPointSizeAxis.Text = GLSettings.PointSizeAxis.ToString("0.00");
 }
        private void AddOpenGLControl()
        {
            this.OpenGLControl = new OpenGLControl();
            this.SuspendLayout();
            //
            // openGLControl1
            //
            this.OpenGLControl.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.OpenGLControl.Location = new System.Drawing.Point(0, 0);
            this.OpenGLControl.Name     = "openGLControl1";
            this.OpenGLControl.Size     = new System.Drawing.Size(854, 453);
            this.OpenGLControl.TabIndex = 0;

            panelOpenKinect.Controls.Add(this.OpenGLControl);
            //this.Controls.Add(this.openGLControl1);

            this.ResumeLayout(false);
        }