mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-27 20:55:30 +00:00
5e28f31660
Added background worker thread to W03_Extensions. Added debug output to failed WinGLContext.MakeCurrent() calls. Removed object field from Windows.MSG struct.
68 lines
2.7 KiB
C#
68 lines
2.7 KiB
C#
namespace Examples.WinForms
|
|
{
|
|
partial class W03_Extensions
|
|
{
|
|
/// <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.listBox1 = new System.Windows.Forms.ListBox();
|
|
this.backgroundWorker1 = new System.ComponentModel.BackgroundWorker();
|
|
this.SuspendLayout();
|
|
//
|
|
// listBox1
|
|
//
|
|
this.listBox1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.listBox1.FormattingEnabled = true;
|
|
this.listBox1.Location = new System.Drawing.Point(0, 0);
|
|
this.listBox1.Name = "listBox1";
|
|
this.listBox1.Size = new System.Drawing.Size(284, 264);
|
|
this.listBox1.TabIndex = 0;
|
|
//
|
|
// backgroundWorker1
|
|
//
|
|
this.backgroundWorker1.WorkerReportsProgress = true;
|
|
this.backgroundWorker1.DoWork += new System.ComponentModel.DoWorkEventHandler(this.backgroundWorker1_DoWork);
|
|
this.backgroundWorker1.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.backgroundWorker1_RunWorkerCompleted);
|
|
this.backgroundWorker1.ProgressChanged += new System.ComponentModel.ProgressChangedEventHandler(this.backgroundWorker1_ProgressChanged);
|
|
//
|
|
// W03_Extensions
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(284, 264);
|
|
this.Controls.Add(this.listBox1);
|
|
this.Name = "W03_Extensions";
|
|
this.Text = "W03_Extensions";
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.ListBox listBox1;
|
|
private System.ComponentModel.BackgroundWorker backgroundWorker1;
|
|
}
|
|
} |