From 6f0266b7737f7f6af97cb1ace5bb0521c9b0790c Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期五, 27 六月 2025 17:15:21 +0800 Subject: [PATCH] bug --- DevApp/Gs.DevApp/XtraForm1.Designer.cs | 201 ++++++++++++++++--------------------------------- 1 files changed, 67 insertions(+), 134 deletions(-) diff --git a/DevApp/Gs.DevApp/XtraForm1.Designer.cs b/DevApp/Gs.DevApp/XtraForm1.Designer.cs index 250ac14..eb687b1 100644 --- a/DevApp/Gs.DevApp/XtraForm1.Designer.cs +++ b/DevApp/Gs.DevApp/XtraForm1.Designer.cs @@ -28,162 +28,95 @@ /// </summary> private void InitializeComponent() { - this.components = new System.ComponentModel.Container(); - this.tlMenu = new DevExpress.XtraTreeList.TreeList(); - this.tlcModuleID = new DevExpress.XtraTreeList.Columns.TreeListColumn(); - this.tlcMenuCaption = new DevExpress.XtraTreeList.Columns.TreeListColumn(); - this.tlcMenuName = new DevExpress.XtraTreeList.Columns.TreeListColumn(); - this.tlcActions = new DevExpress.XtraTreeList.Columns.TreeListColumn(); - this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); - this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem4 = new System.Windows.Forms.ToolStripMenuItem(); this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton(); - ((System.ComponentModel.ISupportInitialize)(this.tlMenu)).BeginInit(); - this.contextMenuStrip1.SuspendLayout(); + this.simpleButton2 = new DevExpress.XtraEditors.SimpleButton(); + this.richTextBox1 = new System.Windows.Forms.RichTextBox(); + this.simpleButton3 = new DevExpress.XtraEditors.SimpleButton(); + this.buttonEdit1 = new DevExpress.XtraEditors.ButtonEdit(); + this.toggleSwitch1 = new DevExpress.XtraEditors.ToggleSwitch(); + ((System.ComponentModel.ISupportInitialize)(this.buttonEdit1.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.toggleSwitch1.Properties)).BeginInit(); this.SuspendLayout(); - // - // tlMenu - // - this.tlMenu.Appearance.Row.Options.UseFont = true; - this.tlMenu.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { - this.tlcModuleID, - this.tlcMenuCaption, - this.tlcMenuName, - this.tlcActions}); - this.tlMenu.Cursor = System.Windows.Forms.Cursors.Default; - this.tlMenu.Location = new System.Drawing.Point(0, 386); - this.tlMenu.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); - this.tlMenu.MinWidth = 23; - this.tlMenu.Name = "tlMenu"; - this.tlMenu.OptionsMenu.EnableColumnMenu = false; - this.tlMenu.OptionsMenu.EnableFooterMenu = false; - this.tlMenu.OptionsMenu.EnableNodeMenu = false; - this.tlMenu.OptionsMenu.ShowAddNodeItems = DevExpress.Utils.DefaultBoolean.False; - this.tlMenu.OptionsMenu.ShowAutoFilterRowItem = false; - this.tlMenu.OptionsMenu.ShowExpandCollapseItems = false; - this.tlMenu.OptionsView.CheckBoxStyle = DevExpress.XtraTreeList.DefaultNodeCheckBoxStyle.Check; - this.tlMenu.OptionsView.RootCheckBoxStyle = DevExpress.XtraTreeList.NodeCheckBoxStyle.None; - this.tlMenu.OptionsView.TreeLineStyle = DevExpress.XtraTreeList.LineStyle.Solid; - this.tlMenu.Size = new System.Drawing.Size(887, 273); - this.tlMenu.TabIndex = 4; - this.tlMenu.TreeLevelWidth = 21; - this.tlMenu.MouseDown += new System.Windows.Forms.MouseEventHandler(this.tlMenu_MouseDown); - // - // tlcModuleID - // - this.tlcModuleID.Caption = "guid"; - this.tlcModuleID.FieldName = "guid"; - this.tlcModuleID.MinWidth = 23; - this.tlcModuleID.Name = "tlcModuleID"; - this.tlcModuleID.Visible = true; - this.tlcModuleID.VisibleIndex = 0; - this.tlcModuleID.Width = 103; - // - // tlcMenuCaption - // - this.tlcMenuCaption.Caption = "缂栧彿"; - this.tlcMenuCaption.FieldName = "typeNo"; - this.tlcMenuCaption.MinWidth = 23; - this.tlcMenuCaption.Name = "tlcMenuCaption"; - this.tlcMenuCaption.Visible = true; - this.tlcMenuCaption.VisibleIndex = 1; - this.tlcMenuCaption.Width = 139; - // - // tlcMenuName - // - this.tlcMenuName.Caption = "鎻忚堪"; - this.tlcMenuName.FieldName = "typeMemo"; - this.tlcMenuName.MinWidth = 38; - this.tlcMenuName.Name = "tlcMenuName"; - this.tlcMenuName.Visible = true; - this.tlcMenuName.VisibleIndex = 2; - this.tlcMenuName.Width = 215; - // - // tlcActions - // - this.tlcActions.Caption = "绫诲瀷"; - this.tlcActions.FieldName = "typeCategory"; - this.tlcActions.MinWidth = 23; - this.tlcActions.Name = "tlcActions"; - this.tlcActions.Visible = true; - this.tlcActions.VisibleIndex = 3; - this.tlcActions.Width = 50; - // - // contextMenuStrip1 - // - this.contextMenuStrip1.ImageScalingSize = new System.Drawing.Size(20, 20); - this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.toolStripMenuItem1, - this.toolStripMenuItem2, - this.toolStripMenuItem3, - this.toolStripMenuItem4}); - this.contextMenuStrip1.Name = "contextMenuStrip1"; - this.contextMenuStrip1.Size = new System.Drawing.Size(228, 100); - // - // toolStripMenuItem1 - // - this.toolStripMenuItem1.Name = "toolStripMenuItem1"; - this.toolStripMenuItem1.Size = new System.Drawing.Size(227, 24); - this.toolStripMenuItem1.Text = "toolStripMenuItem1"; - this.toolStripMenuItem1.Click += new System.EventHandler(this.toolStripMenuItem1_Click); - // - // toolStripMenuItem2 - // - this.toolStripMenuItem2.Name = "toolStripMenuItem2"; - this.toolStripMenuItem2.Size = new System.Drawing.Size(227, 24); - this.toolStripMenuItem2.Text = "toolStripMenuItem2"; - this.toolStripMenuItem2.Click += new System.EventHandler(this.toolStripMenuItem2_Click); - // - // toolStripMenuItem3 - // - this.toolStripMenuItem3.Name = "toolStripMenuItem3"; - this.toolStripMenuItem3.Size = new System.Drawing.Size(227, 24); - this.toolStripMenuItem3.Text = "toolStripMenuItem3"; - // - // toolStripMenuItem4 - // - this.toolStripMenuItem4.Name = "toolStripMenuItem4"; - this.toolStripMenuItem4.Size = new System.Drawing.Size(227, 24); - this.toolStripMenuItem4.Text = "toolStripMenuItem4"; // // simpleButton1 // - this.simpleButton1.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.statistical_16x16; - this.simpleButton1.Location = new System.Drawing.Point(243, 65); + this.simpleButton1.Location = new System.Drawing.Point(57, 107); this.simpleButton1.Name = "simpleButton1"; this.simpleButton1.Size = new System.Drawing.Size(94, 29); - this.simpleButton1.TabIndex = 5; - this.simpleButton1.Text = "simpleButton1"; + this.simpleButton1.TabIndex = 0; + this.simpleButton1.Text = "鐢垫鏁版嵁"; + this.simpleButton1.Click += new System.EventHandler(this.simpleButton1_Click_1); + // + // simpleButton2 + // + this.simpleButton2.Location = new System.Drawing.Point(57, 173); + this.simpleButton2.Name = "simpleButton2"; + this.simpleButton2.Size = new System.Drawing.Size(94, 29); + this.simpleButton2.TabIndex = 1; + this.simpleButton2.Text = "姘存鏁版嵁"; + this.simpleButton2.Click += new System.EventHandler(this.simpleButton2_Click); + // + // richTextBox1 + // + this.richTextBox1.Location = new System.Drawing.Point(57, 227); + this.richTextBox1.Name = "richTextBox1"; + this.richTextBox1.Size = new System.Drawing.Size(740, 240); + this.richTextBox1.TabIndex = 2; + this.richTextBox1.Text = ""; + // + // simpleButton3 + // + this.simpleButton3.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.addfile_32x32; + this.simpleButton3.Location = new System.Drawing.Point(471, 85); + this.simpleButton3.Name = "simpleButton3"; + this.simpleButton3.Size = new System.Drawing.Size(94, 29); + this.simpleButton3.TabIndex = 3; + this.simpleButton3.Text = "simpleButton3"; + // + // buttonEdit1 + // + this.buttonEdit1.Location = new System.Drawing.Point(312, 147); + this.buttonEdit1.Name = "buttonEdit1"; + this.buttonEdit1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { + new DevExpress.XtraEditors.Controls.EditorButton()}); + this.buttonEdit1.Size = new System.Drawing.Size(125, 24); + this.buttonEdit1.TabIndex = 4; + // + // toggleSwitch1 + // + this.toggleSwitch1.Location = new System.Drawing.Point(293, 13); + this.toggleSwitch1.Name = "toggleSwitch1"; + this.toggleSwitch1.Properties.OffText = "Off"; + this.toggleSwitch1.Properties.OnText = "On"; + this.toggleSwitch1.Size = new System.Drawing.Size(288, 24); + this.toggleSwitch1.TabIndex = 5; // // XtraForm1 // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(887, 659); + this.Controls.Add(this.toggleSwitch1); + this.Controls.Add(this.buttonEdit1); + this.Controls.Add(this.simpleButton3); + this.Controls.Add(this.richTextBox1); + this.Controls.Add(this.simpleButton2); this.Controls.Add(this.simpleButton1); - this.Controls.Add(this.tlMenu); this.Name = "XtraForm1"; this.Text = "XtraForm1"; - ((System.ComponentModel.ISupportInitialize)(this.tlMenu)).EndInit(); - this.contextMenuStrip1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.buttonEdit1.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.toggleSwitch1.Properties)).EndInit(); this.ResumeLayout(false); } #endregion - private DevExpress.XtraTreeList.TreeList tlMenu; - private DevExpress.XtraTreeList.Columns.TreeListColumn tlcModuleID; - private DevExpress.XtraTreeList.Columns.TreeListColumn tlcMenuName; - private DevExpress.XtraTreeList.Columns.TreeListColumn tlcMenuCaption; - private DevExpress.XtraTreeList.Columns.TreeListColumn tlcActions; - private System.Windows.Forms.ContextMenuStrip contextMenuStrip1; - private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem1; - private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem2; - private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem3; - private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem4; private DevExpress.XtraEditors.SimpleButton simpleButton1; + private DevExpress.XtraEditors.SimpleButton simpleButton2; + private System.Windows.Forms.RichTextBox richTextBox1; + private DevExpress.XtraEditors.SimpleButton simpleButton3; + private DevExpress.XtraEditors.ButtonEdit buttonEdit1; + private DevExpress.XtraEditors.ToggleSwitch toggleSwitch1; } } \ No newline at end of file -- Gitblit v1.9.3