From fdebc0e6cb9c3ef1dbf33933cdc77e5b90032b5a Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期二, 29 十月 2024 16:51:52 +0800 Subject: [PATCH] 整体细微优化 --- DevApp/Gs.DevApp/TestForm/XtraForm1.Designer.cs | 151 +++++++++++++++++++------------------------------- 1 files changed, 58 insertions(+), 93 deletions(-) diff --git a/DevApp/Gs.DevApp/TestForm/XtraForm1.Designer.cs b/DevApp/Gs.DevApp/TestForm/XtraForm1.Designer.cs index 0529239..4578fa6 100644 --- a/DevApp/Gs.DevApp/TestForm/XtraForm1.Designer.cs +++ b/DevApp/Gs.DevApp/TestForm/XtraForm1.Designer.cs @@ -1,5 +1,4 @@ -锘� -namespace Gs.DevApp.TestForm +锘縩amespace Gs.DevApp.TestForm { partial class XtraForm1 { @@ -29,128 +28,94 @@ /// </summary> private void InitializeComponent() { - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(XtraForm1)); - this.button1 = new System.Windows.Forms.Button(); - this.pageBar1 = new UserControls.Data.PageBar(); this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton(); - this.treeListLookUpEdit1 = new DevExpress.XtraEditors.TreeListLookUpEdit(); - this.treeListLookUpEdit1TreeList = new DevExpress.XtraTreeList.TreeList(); - this.designerControl1 = new FastReport.Design.StandardDesigner.DesignerControl(); - this.previewControl1 = new FastReport.Preview.PreviewControl(); - this.report1 = new FastReport.Report(); - ((System.ComponentModel.ISupportInitialize)(this.treeListLookUpEdit1.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.treeListLookUpEdit1TreeList)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.designerControl1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.report1)).BeginInit(); + this.richTextBox1 = new System.Windows.Forms.RichTextBox(); + this.xtraUserControl11 = new Gs.DevApp.UserControl.XtraUserControl1(); + this.simpleButton2 = new DevExpress.XtraEditors.SimpleButton(); + this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl(); + ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1.Panel1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1.Panel2)).BeginInit(); + this.splitContainerControl1.SuspendLayout(); this.SuspendLayout(); - // - // button1 - // - this.button1.Location = new System.Drawing.Point(151, 89); - this.button1.Name = "button1"; - this.button1.Size = new System.Drawing.Size(75, 23); - this.button1.TabIndex = 0; - this.button1.Text = "button1"; - this.button1.UseVisualStyleBackColor = true; - // - // pageBar1 - // - this.pageBar1.CurrentPage = 0; - this.pageBar1.Location = new System.Drawing.Point(12, 266); - this.pageBar1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); - this.pageBar1.Name = "pageBar1"; - this.pageBar1.RecordCount = 0; - this.pageBar1.RowsCount = 0; - this.pageBar1.Size = new System.Drawing.Size(954, 40); - this.pageBar1.TabIndex = 2; - this.pageBar1.TotalPages = 0; // // simpleButton1 // - this.simpleButton1.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.formatnumbertime_16x16; - this.simpleButton1.Location = new System.Drawing.Point(590, 128); - this.simpleButton1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.simpleButton1.Location = new System.Drawing.Point(327, 203); this.simpleButton1.Name = "simpleButton1"; - this.simpleButton1.Size = new System.Drawing.Size(118, 36); - this.simpleButton1.TabIndex = 1; + this.simpleButton1.Size = new System.Drawing.Size(94, 29); + this.simpleButton1.TabIndex = 0; this.simpleButton1.Text = "simpleButton1"; + this.simpleButton1.Click += new System.EventHandler(this.simpleButton1_Click_1); // - // treeListLookUpEdit1 + // richTextBox1 // - this.treeListLookUpEdit1.Location = new System.Drawing.Point(326, 210); - this.treeListLookUpEdit1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); - this.treeListLookUpEdit1.Name = "treeListLookUpEdit1"; - this.treeListLookUpEdit1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { - new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); - this.treeListLookUpEdit1.Properties.TreeList = this.treeListLookUpEdit1TreeList; - this.treeListLookUpEdit1.Size = new System.Drawing.Size(156, 24); - this.treeListLookUpEdit1.TabIndex = 3; + this.richTextBox1.Location = new System.Drawing.Point(247, 37); + this.richTextBox1.Name = "richTextBox1"; + this.richTextBox1.Size = new System.Drawing.Size(250, 96); + this.richTextBox1.TabIndex = 1; + this.richTextBox1.Text = ""; // - // treeListLookUpEdit1TreeList + // xtraUserControl11 // - this.treeListLookUpEdit1TreeList.HorzScrollStep = 4; - this.treeListLookUpEdit1TreeList.Location = new System.Drawing.Point(0, 0); - this.treeListLookUpEdit1TreeList.MinWidth = 25; - this.treeListLookUpEdit1TreeList.Name = "treeListLookUpEdit1TreeList"; - this.treeListLookUpEdit1TreeList.OptionsView.ShowIndentAsRowStyle = true; - this.treeListLookUpEdit1TreeList.Size = new System.Drawing.Size(400, 200); - this.treeListLookUpEdit1TreeList.TabIndex = 0; - this.treeListLookUpEdit1TreeList.TreeLevelWidth = 22; + this.xtraUserControl11.Location = new System.Drawing.Point(59, 82); + this.xtraUserControl11.Name = "xtraUserControl11"; + this.xtraUserControl11.Size = new System.Drawing.Size(150, 150); + this.xtraUserControl11.TabIndex = 2; // - // designerControl1 + // simpleButton2 // - this.designerControl1.AskSave = true; - this.designerControl1.LayoutState = resources.GetString("designerControl1.LayoutState"); - this.designerControl1.Location = new System.Drawing.Point(0, 0); - this.designerControl1.Name = "designerControl1"; - this.designerControl1.TabIndex = 0; - this.designerControl1.UIStyle = FastReport.Utils.UIStyle.Office2007Black; + this.simpleButton2.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.sortandfilter_16x16; + this.simpleButton2.Location = new System.Drawing.Point(590, 203); + this.simpleButton2.Name = "simpleButton2"; + this.simpleButton2.Size = new System.Drawing.Size(94, 29); + this.simpleButton2.TabIndex = 3; + this.simpleButton2.Text = "simpleButton2"; + this.simpleButton2.Click += new System.EventHandler(this.simpleButton2_Click); // - // previewControl1 + // splitContainerControl1 // - this.previewControl1.BackColor = System.Drawing.SystemColors.AppWorkspace; - this.previewControl1.Font = new System.Drawing.Font("瀹嬩綋", 7.2F); - this.previewControl1.Location = new System.Drawing.Point(347, 314); - this.previewControl1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.previewControl1.Name = "previewControl1"; - this.previewControl1.PageOffset = new System.Drawing.Point(10, 10); - this.previewControl1.Size = new System.Drawing.Size(643, 262); - this.previewControl1.TabIndex = 4; - this.previewControl1.UIStyle = FastReport.Utils.UIStyle.Office2007Black; + this.splitContainerControl1.Horizontal = false; + this.splitContainerControl1.Location = new System.Drawing.Point(247, 276); + this.splitContainerControl1.Name = "splitContainerControl1"; // - // report1 + // splitContainerControl1.Panel1 // - this.report1.ReportResourceString = resources.GetString("report1.ReportResourceString"); + this.splitContainerControl1.Panel1.Text = "Panel1"; + // + // splitContainerControl1.Panel2 + // + this.splitContainerControl1.Panel2.Text = "Panel2"; + this.splitContainerControl1.Size = new System.Drawing.Size(200, 158); + this.splitContainerControl1.SplitterPosition = 70; + this.splitContainerControl1.TabIndex = 4; // // XtraForm1 // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(842, 424); - this.Controls.Add(this.previewControl1); - this.Controls.Add(this.treeListLookUpEdit1); - this.Controls.Add(this.pageBar1); + this.ClientSize = new System.Drawing.Size(1009, 612); + this.Controls.Add(this.splitContainerControl1); + this.Controls.Add(this.simpleButton2); + this.Controls.Add(this.xtraUserControl11); + this.Controls.Add(this.richTextBox1); this.Controls.Add(this.simpleButton1); - this.Controls.Add(this.button1); this.Name = "XtraForm1"; this.Text = "XtraForm1"; - ((System.ComponentModel.ISupportInitialize)(this.treeListLookUpEdit1.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.treeListLookUpEdit1TreeList)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.designerControl1)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.report1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1.Panel1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1.Panel2)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit(); + this.splitContainerControl1.ResumeLayout(false); this.ResumeLayout(false); } #endregion - private System.Windows.Forms.Button button1; private DevExpress.XtraEditors.SimpleButton simpleButton1; - private UserControls.Data.PageBar pageBar1; - private DevExpress.XtraEditors.TreeListLookUpEdit treeListLookUpEdit1; - private DevExpress.XtraTreeList.TreeList treeListLookUpEdit1TreeList; - private FastReport.Design.StandardDesigner.DesignerControl designerControl1; - private FastReport.Preview.PreviewControl previewControl1; - private FastReport.Report report1; + private System.Windows.Forms.RichTextBox richTextBox1; + private UserControl.XtraUserControl1 xtraUserControl11; + private DevExpress.XtraEditors.SimpleButton simpleButton2; + private DevExpress.XtraEditors.SplitContainerControl splitContainerControl1; } } \ No newline at end of file -- Gitblit v1.9.3