From fea4a016cdc369be9001fb6dd15295eb68e2381f Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期一, 17 二月 2025 21:25:51 +0800 Subject: [PATCH] 报表代码提交 --- WinFrmUI/Yw.WinFrmUI.Hydro.L3d.Core/02-panel/NetworkPanel.Designer.cs | 82 +++++++++++++++++++++++++++++++++++++---- 1 files changed, 74 insertions(+), 8 deletions(-) diff --git a/WinFrmUI/Yw.WinFrmUI.Hydro.L3d.Core/02-panel/NetworkPanel.Designer.cs b/WinFrmUI/Yw.WinFrmUI.Hydro.L3d.Core/02-panel/NetworkPanel.Designer.cs index d331e6b..fb3eb23 100644 --- a/WinFrmUI/Yw.WinFrmUI.Hydro.L3d.Core/02-panel/NetworkPanel.Designer.cs +++ b/WinFrmUI/Yw.WinFrmUI.Hydro.L3d.Core/02-panel/NetworkPanel.Designer.cs @@ -28,8 +28,18 @@ /// </summary> private void InitializeComponent() { - openGLControl1 = new SharpGL.OpenGLControl(); + openGLControl1 = new SceneControl(); + splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl(); + propertyGridControl1 = new DevExpress.XtraVerticalGrid.PropertyGridControl(); + labelControl1 = new DevExpress.XtraEditors.LabelControl(); ((ISupportInitialize)openGLControl1).BeginInit(); + ((ISupportInitialize)splitContainerControl1).BeginInit(); + ((ISupportInitialize)splitContainerControl1.Panel1).BeginInit(); + splitContainerControl1.Panel1.SuspendLayout(); + ((ISupportInitialize)splitContainerControl1.Panel2).BeginInit(); + splitContainerControl1.Panel2.SuspendLayout(); + splitContainerControl1.SuspendLayout(); + ((ISupportInitialize)propertyGridControl1).BeginInit(); SuspendLayout(); // // openGLControl1 @@ -41,27 +51,83 @@ openGLControl1.Margin = new Padding(4, 3, 4, 3); openGLControl1.Name = "openGLControl1"; openGLControl1.OpenGLVersion = SharpGL.Version.OpenGLVersion.OpenGL2_1; - openGLControl1.RenderContextType = SharpGL.RenderContextType.DIBSection; - openGLControl1.RenderTrigger = SharpGL.RenderTrigger.TimerBased; - openGLControl1.Size = new Size(455, 321); + openGLControl1.RenderContextType = RenderContextType.DIBSection; + openGLControl1.RenderTrigger = RenderTrigger.TimerBased; + openGLControl1.Size = new Size(702, 619); openGLControl1.TabIndex = 0; openGLControl1.OpenGLInitialized += openGLControl1_OpenGLInitialized; openGLControl1.OpenGLDraw += openGLControl1_OpenGLDraw; - openGLControl1.Resize += openGLControl1_Resize; + openGLControl1.Resized += openGLControl1_Resized; + openGLControl1.MouseClick += openGLControl1_MouseClick; + openGLControl1.MouseDoubleClick += openGLControl1_MouseDoubleClick; + openGLControl1.MouseDown += openGLControl1_MouseDown; + openGLControl1.MouseHover += openGLControl1_MouseHover; + openGLControl1.MouseMove += openGLControl1_MouseMove; + openGLControl1.MouseUp += openGLControl1_MouseUp; + // + // splitContainerControl1 + // + splitContainerControl1.Dock = DockStyle.Fill; + splitContainerControl1.FixedPanel = DevExpress.XtraEditors.SplitFixedPanel.Panel2; + splitContainerControl1.Location = new Point(0, 0); + splitContainerControl1.Name = "splitContainerControl1"; + // + // splitContainerControl1.Panel1 + // + splitContainerControl1.Panel1.Controls.Add(labelControl1); + splitContainerControl1.Panel1.Controls.Add(openGLControl1); + splitContainerControl1.Panel1.Text = "Panel1"; + // + // splitContainerControl1.Panel2 + // + splitContainerControl1.Panel2.Controls.Add(propertyGridControl1); + splitContainerControl1.Panel2.Text = "Panel2"; + splitContainerControl1.Size = new Size(1031, 619); + splitContainerControl1.SplitterPosition = 319; + splitContainerControl1.TabIndex = 1; + // + // propertyGridControl1 + // + propertyGridControl1.Dock = DockStyle.Fill; + propertyGridControl1.Location = new Point(0, 0); + propertyGridControl1.Name = "propertyGridControl1"; + propertyGridControl1.OptionsView.AllowReadOnlyRowAppearance = DevExpress.Utils.DefaultBoolean.True; + propertyGridControl1.Size = new Size(319, 619); + propertyGridControl1.TabIndex = 0; + // + // labelControl1 + // + labelControl1.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; + labelControl1.Dock = DockStyle.Bottom; + labelControl1.Location = new Point(0, 605); + labelControl1.Name = "labelControl1"; + labelControl1.Size = new Size(702, 14); + labelControl1.TabIndex = 1; + labelControl1.Text = "labelControl1"; // // NetworkPanel // AutoScaleDimensions = new SizeF(7F, 14F); AutoScaleMode = AutoScaleMode.Font; - Controls.Add(openGLControl1); + Controls.Add(splitContainerControl1); Name = "NetworkPanel"; - Size = new Size(455, 321); + Size = new Size(1031, 619); ((ISupportInitialize)openGLControl1).EndInit(); + ((ISupportInitialize)splitContainerControl1.Panel1).EndInit(); + splitContainerControl1.Panel1.ResumeLayout(false); + ((ISupportInitialize)splitContainerControl1.Panel2).EndInit(); + splitContainerControl1.Panel2.ResumeLayout(false); + ((ISupportInitialize)splitContainerControl1).EndInit(); + splitContainerControl1.ResumeLayout(false); + ((ISupportInitialize)propertyGridControl1).EndInit(); ResumeLayout(false); } #endregion - private SharpGL.OpenGLControl openGLControl1; + private SharpGL.SceneControl openGLControl1; + private DevExpress.XtraEditors.SplitContainerControl splitContainerControl1; + private DevExpress.XtraVerticalGrid.PropertyGridControl propertyGridControl1; + private DevExpress.XtraEditors.LabelControl labelControl1; } } -- Gitblit v1.9.3