mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-27 07:55:26 +00:00
989be84c96
Made example source code visible for all examples in example browser. Updated Prebuild.exe to newest SVN version (resolves issues with resources). Added .rtf and .resx files to Examples project in Prebuild.xml.
108 lines
4.9 KiB
C#
108 lines
4.9 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.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.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;
|
|
}
|
|
}
|