From 5e376d06404a16cb3c82a93cff351c5315bbcfe3 Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期六, 28 六月 2025 16:10:22 +0800 Subject: [PATCH] 客户多打印 --- DevApp/Gs.DevApp/XtraForm1.Designer.cs | 173 ++++++++++++++++++++++++++++++++++++--------------------- 1 files changed, 110 insertions(+), 63 deletions(-) diff --git a/DevApp/Gs.DevApp/XtraForm1.Designer.cs b/DevApp/Gs.DevApp/XtraForm1.Designer.cs index eb687b1..252e7f0 100644 --- a/DevApp/Gs.DevApp/XtraForm1.Designer.cs +++ b/DevApp/Gs.DevApp/XtraForm1.Designer.cs @@ -28,95 +28,142 @@ /// </summary> private void InitializeComponent() { - this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton(); - 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.components = new System.ComponentModel.Container(); + this.dropDownButton1 = new DevExpress.XtraEditors.DropDownButton(); + this.popupMenu1 = new DevExpress.XtraBars.PopupMenu(this.components); + this.barManager1 = new DevExpress.XtraBars.BarManager(this.components); + this.barDockControlTop = new DevExpress.XtraBars.BarDockControl(); + this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl(); + this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl(); + this.barDockControlRight = new DevExpress.XtraBars.BarDockControl(); + this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem(); + this.barButtonItem2 = new DevExpress.XtraBars.BarButtonItem(); + this.barButtonItem3 = new DevExpress.XtraBars.BarButtonItem(); + this.barButtonItem4 = new DevExpress.XtraBars.BarButtonItem(); + ((System.ComponentModel.ISupportInitialize)(this.popupMenu1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit(); this.SuspendLayout(); // - // simpleButton1 + // dropDownButton1 // - 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 = 0; - this.simpleButton1.Text = "鐢垫鏁版嵁"; - this.simpleButton1.Click += new System.EventHandler(this.simpleButton1_Click_1); + this.dropDownButton1.DropDownControl = this.popupMenu1; + this.dropDownButton1.Location = new System.Drawing.Point(238, 110); + this.dropDownButton1.Name = "dropDownButton1"; + this.dropDownButton1.Size = new System.Drawing.Size(154, 29); + this.dropDownButton1.TabIndex = 0; + this.dropDownButton1.Text = "dropDownButton1"; // - // simpleButton2 + // popupMenu1 // - 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); + this.popupMenu1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { + new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem1), + new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem2), + new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem3), + new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem4)}); + this.popupMenu1.Manager = this.barManager1; + this.popupMenu1.Name = "popupMenu1"; // - // richTextBox1 + // barManager1 // - 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 = ""; + this.barManager1.DockControls.Add(this.barDockControlTop); + this.barManager1.DockControls.Add(this.barDockControlBottom); + this.barManager1.DockControls.Add(this.barDockControlLeft); + this.barManager1.DockControls.Add(this.barDockControlRight); + this.barManager1.Form = this; + this.barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { + this.barButtonItem1, + this.barButtonItem2, + this.barButtonItem3, + this.barButtonItem4}); + this.barManager1.MaxItemId = 4; // - // simpleButton3 + // barDockControlTop // - 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"; + this.barDockControlTop.CausesValidation = false; + this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top; + this.barDockControlTop.Location = new System.Drawing.Point(0, 0); + this.barDockControlTop.Manager = this.barManager1; + this.barDockControlTop.Size = new System.Drawing.Size(887, 0); // - // buttonEdit1 + // barDockControlBottom // - 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; + this.barDockControlBottom.CausesValidation = false; + this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom; + this.barDockControlBottom.Location = new System.Drawing.Point(0, 659); + this.barDockControlBottom.Manager = this.barManager1; + this.barDockControlBottom.Size = new System.Drawing.Size(887, 0); // - // toggleSwitch1 + // barDockControlLeft // - 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; + this.barDockControlLeft.CausesValidation = false; + this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left; + this.barDockControlLeft.Location = new System.Drawing.Point(0, 0); + this.barDockControlLeft.Manager = this.barManager1; + this.barDockControlLeft.Size = new System.Drawing.Size(0, 659); + // + // barDockControlRight + // + this.barDockControlRight.CausesValidation = false; + this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right; + this.barDockControlRight.Location = new System.Drawing.Point(887, 0); + this.barDockControlRight.Manager = this.barManager1; + this.barDockControlRight.Size = new System.Drawing.Size(0, 659); + // + // barButtonItem1 + // + this.barButtonItem1.Caption = "barButtonItem1"; + this.barButtonItem1.Id = 0; + this.barButtonItem1.Name = "barButtonItem1"; + // + // barButtonItem2 + // + this.barButtonItem2.Caption = "barButtonItem2"; + this.barButtonItem2.Id = 1; + this.barButtonItem2.Name = "barButtonItem2"; + // + // barButtonItem3 + // + this.barButtonItem3.Caption = "barButtonItem3"; + this.barButtonItem3.Id = 2; + this.barButtonItem3.Name = "barButtonItem3"; + // + // barButtonItem4 + // + this.barButtonItem4.Caption = "barButtonItem4"; + this.barButtonItem4.Id = 3; + this.barButtonItem4.Name = "barButtonItem4"; // // 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.dropDownButton1); + this.Controls.Add(this.barDockControlLeft); + this.Controls.Add(this.barDockControlRight); + this.Controls.Add(this.barDockControlBottom); + this.Controls.Add(this.barDockControlTop); this.Name = "XtraForm1"; this.Text = "XtraForm1"; - ((System.ComponentModel.ISupportInitialize)(this.buttonEdit1.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.toggleSwitch1.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.popupMenu1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit(); this.ResumeLayout(false); + this.PerformLayout(); } #endregion - 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; + private DevExpress.XtraEditors.DropDownButton dropDownButton1; + private DevExpress.XtraBars.PopupMenu popupMenu1; + private DevExpress.XtraBars.BarButtonItem barButtonItem1; + private DevExpress.XtraBars.BarButtonItem barButtonItem2; + private DevExpress.XtraBars.BarButtonItem barButtonItem3; + private DevExpress.XtraBars.BarButtonItem barButtonItem4; + private DevExpress.XtraBars.BarManager barManager1; + private DevExpress.XtraBars.BarDockControl barDockControlTop; + private DevExpress.XtraBars.BarDockControl barDockControlBottom; + private DevExpress.XtraBars.BarDockControl barDockControlLeft; + private DevExpress.XtraBars.BarDockControl barDockControlRight; } } \ No newline at end of file -- Gitblit v1.9.3