From 9eb7f4af097fb41b81fbff725d930cd6ab052c97 Mon Sep 17 00:00:00 2001 From: ningshuxia <ningshuxia0927@outlook.com> Date: 星期五, 25 四月 2025 13:41:50 +0800 Subject: [PATCH] 删除无关文件 --- Yw.WinFrmUI.Test.Core/Form1.Designer.cs | 28 +++++++++++++++++++++++----- 1 files changed, 23 insertions(+), 5 deletions(-) diff --git a/Yw.WinFrmUI.Test.Core/Form1.Designer.cs b/Yw.WinFrmUI.Test.Core/Form1.Designer.cs index 755171e..6cc8fe0 100644 --- a/Yw.WinFrmUI.Test.Core/Form1.Designer.cs +++ b/Yw.WinFrmUI.Test.Core/Form1.Designer.cs @@ -3,12 +3,12 @@ partial class Form1 { /// <summary> - /// Required designer variable. + /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> - /// Clean up any resources being used. + /// 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) @@ -23,23 +23,41 @@ #region Windows Form Designer generated code /// <summary> - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { + glControl1 = new OpenTK.GLControl.GLControl(); SuspendLayout(); + // + // glControl1 + // + glControl1.API = OpenTK.Windowing.Common.ContextAPI.OpenGL; + glControl1.APIVersion = new Version(3, 3, 0, 0); + glControl1.Dock = DockStyle.Fill; + glControl1.Flags = OpenTK.Windowing.Common.ContextFlags.Default; + glControl1.IsEventDriven = true; + glControl1.Location = new Point(0, 0); + glControl1.Name = "glControl1"; + glControl1.Profile = OpenTK.Windowing.Common.ContextProfile.Compatability; + glControl1.SharedContext = null; + glControl1.Size = new Size(800, 450); + glControl1.TabIndex = 0; // // Form1 // AutoScaleDimensions = new SizeF(7F, 17F); AutoScaleMode = AutoScaleMode.Font; ClientSize = new Size(800, 450); + Controls.Add(glControl1); Name = "Form1"; Text = "Form1"; ResumeLayout(false); } #endregion + + private OpenTK.GLControl.GLControl glControl1; } -} +} \ No newline at end of file -- Gitblit v1.9.3