diff --git a/Source/Examples/WinForms/W01_First_Window.Designer.cs b/Source/Examples/WinForms/W01_First_Window.Designer.cs index 656c7aa3..f8fc8583 100644 --- a/Source/Examples/WinForms/W01_First_Window.Designer.cs +++ b/Source/Examples/WinForms/W01_First_Window.Designer.cs @@ -28,25 +28,12 @@ /// private void InitializeComponent() { - this.glControl1 = new OpenTK.GLControl(); this.redButton = new System.Windows.Forms.Button(); this.greenButton = new System.Windows.Forms.Button(); this.blueButton = new System.Windows.Forms.Button(); + this.glControl1 = new OpenTK.GLControl(); this.SuspendLayout(); // - // glControl1 - // - this.glControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.glControl1.BackColor = System.Drawing.SystemColors.ControlDarkDark; - this.glControl1.Location = new System.Drawing.Point(1, 0); - this.glControl1.Name = "glControl1"; - this.glControl1.Size = new System.Drawing.Size(629, 565); - this.glControl1.TabIndex = 0; - this.glControl1.Paint += new System.Windows.Forms.PaintEventHandler(this.glControl1_Paint); - this.glControl1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.glControl1_KeyDown); - // // redButton // this.redButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); @@ -80,6 +67,20 @@ this.blueButton.UseVisualStyleBackColor = true; this.blueButton.Click += new System.EventHandler(this.blueButton_Click); // + // glControl1 + // + this.glControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.glControl1.BackColor = System.Drawing.SystemColors.ControlDarkDark; + this.glControl1.Location = new System.Drawing.Point(1, 0); + this.glControl1.Name = "glControl1"; + this.glControl1.Size = new System.Drawing.Size(629, 565); + this.glControl1.TabIndex = 0; + this.glControl1.VSync = false; + this.glControl1.Paint += new System.Windows.Forms.PaintEventHandler(this.glControl1_Paint); + this.glControl1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.glControl1_KeyDown); + // // W01_First_Window // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);