duheng
2025-02-19 ad8f813f5eddd66740b4e09801e4ea02ddf70a4a
WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/13-print/99-test/XtraForm1.Designer.cs
@@ -28,29 +28,63 @@
        /// </summary>
        private void InitializeComponent()
        {
            ComponentResourceManager resources = new ComponentResourceManager(typeof(XtraForm1));
            ribbonControl1 = new DevExpress.XtraBars.Ribbon.RibbonControl();
            barSubItem1 = new DevExpress.XtraBars.BarSubItem();
            btnExportWord = new DevExpress.XtraBars.BarButtonItem();
            btnExportPDF = new DevExpress.XtraBars.BarButtonItem();
            ribbonPage1 = new DevExpress.XtraBars.Ribbon.RibbonPage();
            ribbonPageGroup1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
            Root = new DevExpress.XtraLayout.LayoutControlGroup();
            documentViewer1 = new DevExpress.XtraPrinting.Preview.DocumentViewer();
            Root = new DevExpress.XtraLayout.LayoutControlGroup();
            layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
            ((System.ComponentModel.ISupportInitialize)ribbonControl1).BeginInit();
            ((System.ComponentModel.ISupportInitialize)layoutControl1).BeginInit();
            ((ISupportInitialize)ribbonControl1).BeginInit();
            ((ISupportInitialize)layoutControl1).BeginInit();
            layoutControl1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)Root).BeginInit();
            ((System.ComponentModel.ISupportInitialize)layoutControlItem1).BeginInit();
            ((ISupportInitialize)Root).BeginInit();
            ((ISupportInitialize)layoutControlItem1).BeginInit();
            SuspendLayout();
            // 
            // ribbonControl1
            // 
            ribbonControl1.ExpandCollapseItem.Id = 0;
            ribbonControl1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { ribbonControl1.ExpandCollapseItem });
            ribbonControl1.ItemPanelStyle = DevExpress.XtraBars.Ribbon.RibbonItemPanelStyle.Classic;
            ribbonControl1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { ribbonControl1.ExpandCollapseItem, barSubItem1, btnExportWord, btnExportPDF });
            ribbonControl1.Location = new Point(0, 0);
            ribbonControl1.MaxItemId = 1;
            ribbonControl1.MaxItemId = 5;
            ribbonControl1.Name = "ribbonControl1";
            ribbonControl1.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] { ribbonPage1 });
            ribbonControl1.Size = new Size(1070, 152);
            ribbonControl1.ShowApplicationButton = DevExpress.Utils.DefaultBoolean.False;
            ribbonControl1.ShowPageHeadersMode = DevExpress.XtraBars.Ribbon.ShowPageHeadersMode.ShowOnMultiplePages;
            ribbonControl1.ShowToolbarCustomizeItem = false;
            ribbonControl1.Size = new Size(1070, 128);
            ribbonControl1.Toolbar.ShowCustomizeItem = false;
            ribbonControl1.ToolbarLocation = DevExpress.XtraBars.Ribbon.RibbonQuickAccessToolbarLocation.Hidden;
            //
            // barSubItem1
            //
            barSubItem1.Caption = "导出";
            barSubItem1.Id = 2;
            barSubItem1.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barSubItem1.ImageOptions.SvgImage");
            barSubItem1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(btnExportWord), new DevExpress.XtraBars.LinkPersistInfo(btnExportPDF) });
            barSubItem1.Name = "barSubItem1";
            //
            // btnExportWord
            //
            btnExportWord.Caption = "导出为Word";
            btnExportWord.Id = 3;
            btnExportWord.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("btnExportWord.ImageOptions.SvgImage");
            btnExportWord.Name = "btnExportWord";
            btnExportWord.ItemClick += btnExportWord_ItemClick;
            //
            // btnExportPDF
            //
            btnExportPDF.Caption = "导出为PDF";
            btnExportPDF.Id = 4;
            btnExportPDF.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("btnExportPDF.ImageOptions.SvgImage");
            btnExportPDF.Name = "btnExportPDF";
            btnExportPDF.ItemClick += btnExportPDF_ItemClick;
            // 
            // ribbonPage1
            // 
@@ -60,19 +94,28 @@
            // 
            // ribbonPageGroup1
            // 
            ribbonPageGroup1.ItemLinks.Add(barSubItem1);
            ribbonPageGroup1.Name = "ribbonPageGroup1";
            ribbonPageGroup1.Text = "ribbonPageGroup1";
            ribbonPageGroup1.Text = "基础操作";
            // 
            // layoutControl1
            // 
            layoutControl1.Controls.Add(documentViewer1);
            layoutControl1.Dock = DockStyle.Fill;
            layoutControl1.Location = new Point(0, 152);
            layoutControl1.Location = new Point(0, 128);
            layoutControl1.Name = "layoutControl1";
            layoutControl1.Root = Root;
            layoutControl1.Size = new Size(1070, 357);
            layoutControl1.Size = new Size(1070, 381);
            layoutControl1.TabIndex = 2;
            layoutControl1.Text = "layoutControl1";
            //
            // documentViewer1
            //
            documentViewer1.IsMetric = true;
            documentViewer1.Location = new Point(2, 2);
            documentViewer1.Name = "documentViewer1";
            documentViewer1.Size = new Size(1066, 377);
            documentViewer1.TabIndex = 4;
            // 
            // Root
            // 
@@ -81,23 +124,15 @@
            Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem1 });
            Root.Name = "Root";
            Root.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
            Root.Size = new Size(1070, 357);
            Root.Size = new Size(1070, 381);
            Root.TextVisible = false;
            //
            // documentViewer1
            //
            documentViewer1.IsMetric = true;
            documentViewer1.Location = new Point(2, 2);
            documentViewer1.Name = "documentViewer1";
            documentViewer1.Size = new Size(1066, 353);
            documentViewer1.TabIndex = 4;
            // 
            // layoutControlItem1
            // 
            layoutControlItem1.Control = documentViewer1;
            layoutControlItem1.Location = new Point(0, 0);
            layoutControlItem1.Name = "layoutControlItem1";
            layoutControlItem1.Size = new Size(1070, 357);
            layoutControlItem1.Size = new Size(1070, 381);
            layoutControlItem1.TextSize = new Size(0, 0);
            layoutControlItem1.TextVisible = false;
            // 
@@ -109,12 +144,12 @@
            Controls.Add(layoutControl1);
            Controls.Add(ribbonControl1);
            Name = "XtraForm1";
            Text = "XtraForm1";
            ((System.ComponentModel.ISupportInitialize)ribbonControl1).EndInit();
            ((System.ComponentModel.ISupportInitialize)layoutControl1).EndInit();
            Text = "节能报告";
            ((ISupportInitialize)ribbonControl1).EndInit();
            ((ISupportInitialize)layoutControl1).EndInit();
            layoutControl1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)Root).EndInit();
            ((System.ComponentModel.ISupportInitialize)layoutControlItem1).EndInit();
            ((ISupportInitialize)Root).EndInit();
            ((ISupportInitialize)layoutControlItem1).EndInit();
            ResumeLayout(false);
            PerformLayout();
        }
@@ -128,5 +163,9 @@
        private DevExpress.XtraPrinting.Preview.DocumentViewer documentViewer1;
        private DevExpress.XtraLayout.LayoutControlGroup Root;
        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1;
        private DevExpress.XtraBars.BarButtonItem btnExportWord;
        private DevExpress.XtraBars.BarSubItem barSubItem1;
        private DevExpress.XtraBars.BarButtonItem barButtonItem1;
        private DevExpress.XtraBars.BarButtonItem btnExportPDF;
    }
}