mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-26 03:35:33 +00:00
f8b21b1dcd
Updated W01 and W02 examples to use this overload. Removed 'Paint' message from W01 Paint event.
61 lines
2.1 KiB
C#
61 lines
2.1 KiB
C#
namespace Examples.WinForms
|
|
{
|
|
partial class W02_Immediate_Mode_Cube
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.glControl = new OpenTK.GLControl();
|
|
this.SuspendLayout();
|
|
//
|
|
// glControl
|
|
//
|
|
this.glControl.BackColor = System.Drawing.Color.Black;
|
|
this.glControl.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.glControl.Fullscreen = false;
|
|
this.glControl.Location = new System.Drawing.Point(0, 0);
|
|
this.glControl.Name = "glControl";
|
|
this.glControl.Size = new System.Drawing.Size(624, 444);
|
|
this.glControl.TabIndex = 0;
|
|
this.glControl.Visible = false;
|
|
//
|
|
// W02_Immediate_Mode_Cube
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(624, 444);
|
|
this.Controls.Add(this.glControl);
|
|
this.Name = "W02_Immediate_Mode_Cube";
|
|
this.Text = "Cube";
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private OpenTK.GLControl glControl;
|
|
}
|
|
} |