From eaf4edfeeb42590be28c59a393c6a868e1831396 Mon Sep 17 00:00:00 2001 From: ningshuxia <ningshuxia0927@outlook.com> Date: 星期五, 25 四月 2025 13:43:11 +0800 Subject: [PATCH] 无效文件 --- Yw.WinFrmUI.Test.Core/TestForm.Designer.cs | 56 +++++--------------------------------------------------- 1 files changed, 5 insertions(+), 51 deletions(-) diff --git a/Yw.WinFrmUI.Test.Core/TestForm.Designer.cs b/Yw.WinFrmUI.Test.Core/TestForm.Designer.cs index 9251185..789257c 100644 --- a/Yw.WinFrmUI.Test.Core/TestForm.Designer.cs +++ b/Yw.WinFrmUI.Test.Core/TestForm.Designer.cs @@ -1,4 +1,4 @@ -锘縩amespace Yw.WinFrmUI +锘縩amespace Yw.WinFrmUI.Test.Core { partial class TestForm { @@ -28,58 +28,12 @@ /// </summary> private void InitializeComponent() { - toolStrip1 = new ToolStrip(); - glControl1 = new OpenTK.GLControl.GLControl(); - SuspendLayout(); - // - // toolStrip1 - // - toolStrip1.Location = new Point(0, 0); - toolStrip1.Name = "toolStrip1"; - toolStrip1.Size = new Size(800, 25); - toolStrip1.TabIndex = 0; - toolStrip1.Text = "toolStrip1"; - // - // 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, 25); - glControl1.Name = "glControl1"; - glControl1.Profile = OpenTK.Windowing.Common.ContextProfile.Core; - glControl1.SharedContext = null; - glControl1.Size = new Size(800, 425); - glControl1.TabIndex = 1; - glControl1.Load += glControl1_Load; - glControl1.MouseClick += glControl1_MouseClick; - glControl1.MouseDoubleClick += glControl1_MouseDoubleClick; - glControl1.MouseDown += glControl1_MouseDown; - glControl1.MouseEnter += glControl1_MouseEnter; - glControl1.MouseLeave += glControl1_MouseLeave; - glControl1.MouseHover += glControl1_MouseHover; - glControl1.MouseMove += glControl1_MouseMove; - glControl1.MouseUp += glControl1_MouseUp; - glControl1.Resize += glControl1_Resize; - // - // TestForm - // - AutoScaleDimensions = new SizeF(7F, 17F); - AutoScaleMode = AutoScaleMode.Font; - ClientSize = new Size(800, 450); - Controls.Add(glControl1); - Controls.Add(toolStrip1); - Name = "TestForm"; - Text = "TestForm"; - ResumeLayout(false); - PerformLayout(); + this.components = new System.ComponentModel.Container(); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(800, 450); + this.Text = "TestForm"; } #endregion - - private ToolStrip toolStrip1; - private OpenTK.GLControl.GLControl glControl1; } } \ No newline at end of file -- Gitblit v1.9.3