mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-30 22:45:36 +00:00
00221ba225
* OpenAL/Test/TestAudioContext.cs: Remove deprecated Alut calls. * OpenTK/GLControl/SimpleGLControl.Designer.cs: Use DockStyle.Fill instead of anchoring.
106 lines
4.7 KiB
C#
106 lines
4.7 KiB
C#
namespace Examples.WinForms
|
|
{
|
|
partial class SimpleForm
|
|
{
|
|
/// <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.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();
|
|
//
|
|
// redButton
|
|
//
|
|
this.redButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.redButton.Location = new System.Drawing.Point(639, 13);
|
|
this.redButton.Name = "redButton";
|
|
this.redButton.Size = new System.Drawing.Size(133, 23);
|
|
this.redButton.TabIndex = 1;
|
|
this.redButton.Text = "Red";
|
|
this.redButton.UseVisualStyleBackColor = true;
|
|
this.redButton.Click += new System.EventHandler(this.redButton_Click);
|
|
//
|
|
// greenButton
|
|
//
|
|
this.greenButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.greenButton.Location = new System.Drawing.Point(639, 43);
|
|
this.greenButton.Name = "greenButton";
|
|
this.greenButton.Size = new System.Drawing.Size(133, 23);
|
|
this.greenButton.TabIndex = 2;
|
|
this.greenButton.Text = "Green";
|
|
this.greenButton.UseVisualStyleBackColor = true;
|
|
this.greenButton.Click += new System.EventHandler(this.greenButton_Click);
|
|
//
|
|
// blueButton
|
|
//
|
|
this.blueButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.blueButton.Location = new System.Drawing.Point(639, 73);
|
|
this.blueButton.Name = "blueButton";
|
|
this.blueButton.Size = new System.Drawing.Size(133, 23);
|
|
this.blueButton.TabIndex = 3;
|
|
this.blueButton.Text = "Blue";
|
|
this.blueButton.UseVisualStyleBackColor = true;
|
|
this.blueButton.Click += new System.EventHandler(this.blueButton_Click);
|
|
//
|
|
// glControl1
|
|
//
|
|
this.glControl1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.glControl1.BackColor = System.Drawing.SystemColors.ControlDarkDark;
|
|
this.glControl1.Location = new System.Drawing.Point(0, 0);
|
|
this.glControl1.Name = "glControl1";
|
|
this.glControl1.Size = new System.Drawing.Size(629, 565);
|
|
this.glControl1.TabIndex = 0;
|
|
this.glControl1.VSync = false;
|
|
this.glControl1.Resize += new System.EventHandler(this.glControl1_Resize);
|
|
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);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(781, 564);
|
|
this.Controls.Add(this.blueButton);
|
|
this.Controls.Add(this.greenButton);
|
|
this.Controls.Add(this.redButton);
|
|
this.Controls.Add(this.glControl1);
|
|
this.Name = "W01_First_Window";
|
|
this.Text = "OpenTK Windows Forms Tutorial 01 - Your first window";
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private OpenTK.GLControl glControl1;
|
|
private System.Windows.Forms.Button redButton;
|
|
private System.Windows.Forms.Button greenButton;
|
|
private System.Windows.Forms.Button blueButton;
|
|
}
|
|
}
|