| | |
| | | namespace Yw.WinFrmUI |
| | | namespace Yw.WinFrmUI.Test.Core |
| | | { |
| | | partial class TestForm |
| | | { |
| | |
| | | /// </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; |
| | | } |
| | | } |