Fixed build (changes to GLControl).

This commit is contained in:
the_fiddler 2007-10-15 11:16:53 +00:00
parent 2922a8c054
commit f69be39f20

View file

@ -28,25 +28,12 @@
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
this.glControl1 = new OpenTK.GLControl();
this.redButton = new System.Windows.Forms.Button(); this.redButton = new System.Windows.Forms.Button();
this.greenButton = new System.Windows.Forms.Button(); this.greenButton = new System.Windows.Forms.Button();
this.blueButton = new System.Windows.Forms.Button(); this.blueButton = new System.Windows.Forms.Button();
this.glControl1 = new OpenTK.GLControl();
this.SuspendLayout(); 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 // redButton
// //
this.redButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); 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.UseVisualStyleBackColor = true;
this.blueButton.Click += new System.EventHandler(this.blueButton_Click); 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 // W01_First_Window
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);