From 4bc4fa60bff1c66a105c49710f1ac4aaeea0f863 Mon Sep 17 00:00:00 2001
From: tangxu <tangxu76880903>
Date: 星期三, 08 五月 2024 09:39:22 +0800
Subject: [PATCH] 移动视图的上部按钮命令: 未完成

---
 Client/Program.cs                                  |    4 
 WinfrmUI/Hydro.WinfrmUI.Viewer/frmMain.cs          |  240 ---------
 WinfrmUI/Hydro.WinfrmUI.Viewer/frmMain.Designer.cs | 1213 -----------------------------------------------
 3 files changed, 23 insertions(+), 1,434 deletions(-)

diff --git a/Client/Program.cs b/Client/Program.cs
index 2a27fe0..518936c 100644
--- a/Client/Program.cs
+++ b/Client/Program.cs
@@ -16,8 +16,8 @@
         {
             Application.EnableVisualStyles();
             Application.SetCompatibleTextRenderingDefault(false);
-            Application.Run(new Form2());
-            //Application.Run(new Hydro.WinfrmUI.Viewer.frmMain());
+            //Application.Run(new Form2());
+            Application.Run(new Hydro.WinfrmUI.Viewer.frmMain());
         }
     }
 }
diff --git a/WinfrmUI/Hydro.WinfrmUI.Viewer/frmMain.Designer.cs b/WinfrmUI/Hydro.WinfrmUI.Viewer/frmMain.Designer.cs
index 349becd..d273471 100644
--- a/WinfrmUI/Hydro.WinfrmUI.Viewer/frmMain.Designer.cs
+++ b/WinfrmUI/Hydro.WinfrmUI.Viewer/frmMain.Designer.cs
@@ -40,11 +40,6 @@
             DevExpress.Utils.SuperToolTip superToolTip3 = new DevExpress.Utils.SuperToolTip();
             DevExpress.Utils.ToolTipTitleItem toolTipTitleItem4 = new DevExpress.Utils.ToolTipTitleItem();
             DevExpress.Utils.ToolTipItem toolTipItem3 = new DevExpress.Utils.ToolTipItem();
-            DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions1 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
-            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject();
-            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject2 = new DevExpress.Utils.SerializableAppearanceObject();
-            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject3 = new DevExpress.Utils.SerializableAppearanceObject();
-            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject4 = new DevExpress.Utils.SerializableAppearanceObject();
             this.iWeb = new DevExpress.XtraBars.BarButtonItem();
             this.iAbout = new DevExpress.XtraBars.BarButtonItem();
             this.iRedo = new DevExpress.XtraBars.BarButtonItem();
@@ -114,6 +109,7 @@
             this.bbi刷新 = new DevExpress.XtraBars.BarButtonItem();
             this.bbiCalcMiniLoss = new DevExpress.XtraBars.BarButtonItem();
             this.bbi清空局部损失 = new DevExpress.XtraBars.BarButtonItem();
+            this.bbi计算 = new DevExpress.XtraBars.BarButtonItem();
             this.imageCollection1 = new DevExpress.Utils.ImageCollection(this.components);
             this.selectionMiniToolbar = new DevExpress.XtraBars.Ribbon.RibbonMiniToolbar(this.components);
             this.ribbonPageCategorySel = new DevExpress.XtraBars.Ribbon.RibbonPageCategory();
@@ -129,6 +125,7 @@
             this.ribbonPageGroup5 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
             this.ribbonPage2 = new DevExpress.XtraBars.Ribbon.RibbonPage();
             this.ribbonPageGroup4 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
+            this.ribbonPageGroup7 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
             this.repositoryItemSpinEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemSpinEdit();
             this.repositoryItemPictureEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemPictureEdit();
             this.riicStyle = new DevExpress.XtraEditors.Repository.RepositoryItemImageComboBox();
@@ -138,90 +135,6 @@
             this.xtraTabbedMdiManager1 = new DevExpress.XtraTabbedMdi.XtraTabbedMdiManager(this.components);
             this.pmMain = new DevExpress.XtraBars.PopupMenu(this.components);
             this.imageCollection3 = new DevExpress.Utils.ImageCollection(this.components);
-            this.backstageViewControl1 = new DevExpress.XtraBars.Ribbon.BackstageViewControl();
-            this.backstageViewClientControl11 = new DevExpress.XtraBars.Ribbon.BackstageViewClientControl();
-            this.recentControlPrint = new DevExpress.XtraBars.Ribbon.RecentItemControl();
-            this.recentPrintOptionsContainer = new DevExpress.XtraBars.Ribbon.RecentControlItemControlContainer();
-            this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
-            this.ddbDuplex = new DevExpress.XtraEditors.DropDownButton();
-            this.ddbOrientation = new DevExpress.XtraEditors.DropDownButton();
-            this.ddbPaperSize = new DevExpress.XtraEditors.DropDownButton();
-            this.ddbMargins = new DevExpress.XtraEditors.DropDownButton();
-            this.ddbCollate = new DevExpress.XtraEditors.DropDownButton();
-            this.backstageViewLabel2 = new Hydro.WinfrmUI.Viewer.BackstageViewLabel();
-            this.ddbPrinter = new DevExpress.XtraEditors.DropDownButton();
-            this.printerLabel = new Hydro.WinfrmUI.Viewer.BackstageViewLabel();
-            this.printButton = new DevExpress.XtraEditors.SimpleButton();
-            this.copySpinEdit = new DevExpress.XtraEditors.SpinEdit();
-            this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup();
-            this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
-            this.lciCopiesSpinEdit = new DevExpress.XtraLayout.LayoutControlItem();
-            this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem();
-            this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
-            this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem();
-            this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem();
-            this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem();
-            this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem();
-            this.layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem();
-            this.layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem();
-            this.recentPrintPreviewContainer = new DevExpress.XtraBars.Ribbon.RecentControlItemControlContainer();
-            this.panelControl2 = new DevExpress.XtraEditors.PanelControl();
-            this.printControl2 = new DevExpress.XtraPrinting.Control.PrintControl();
-            this.panelControl3 = new DevExpress.XtraEditors.PanelControl();
-            this.stackPanel1 = new DevExpress.Utils.Layout.StackPanel();
-            this.zoomTextEdit = new DevExpress.XtraEditors.TextEdit();
-            this.panel2 = new System.Windows.Forms.Panel();
-            this.pageButtonEdit = new DevExpress.XtraEditors.ButtonEdit();
-            this.zoomTrackBarControl1 = new DevExpress.XtraEditors.ZoomTrackBarControl();
-            this.recentStackPanel8 = new DevExpress.XtraBars.Ribbon.RecentStackPanel();
-            this.recentPrintPreview = new DevExpress.XtraBars.Ribbon.RecentControlContainerItem();
-            this.recentStackPanel9 = new DevExpress.XtraBars.Ribbon.RecentStackPanel();
-            this.recentPrintOptions = new DevExpress.XtraBars.Ribbon.RecentControlContainerItem();
-            this.backstageViewClientControl2 = new DevExpress.XtraBars.Ribbon.BackstageViewClientControl();
-            this.recentItemControl1 = new DevExpress.XtraBars.Ribbon.RecentItemControl();
-            this.recentStackPanel12 = new DevExpress.XtraBars.Ribbon.RecentStackPanel();
-            this.recentLabelItem1 = new DevExpress.XtraBars.Ribbon.RecentLabelItem();
-            this.recentHyperlinkItem1 = new DevExpress.XtraBars.Ribbon.RecentHyperlinkItem();
-            this.recentLabelItem2 = new DevExpress.XtraBars.Ribbon.RecentLabelItem();
-            this.recentStackPanel13 = new DevExpress.XtraBars.Ribbon.RecentStackPanel();
-            this.recentPinItem2 = new DevExpress.XtraBars.Ribbon.RecentPinItem();
-            this.recentPinItem3 = new DevExpress.XtraBars.Ribbon.RecentPinItem();
-            this.recentPinItem4 = new DevExpress.XtraBars.Ribbon.RecentPinItem();
-            this.backstageViewClientControl9 = new DevExpress.XtraBars.Ribbon.BackstageViewClientControl();
-            this.recentOpen = new DevExpress.XtraBars.Ribbon.RecentItemControl();
-            this.recentStackPanel1 = new DevExpress.XtraBars.Ribbon.RecentStackPanel();
-            this.recentStackPanel2 = new DevExpress.XtraBars.Ribbon.RecentStackPanel();
-            this.recentTabItem1 = new DevExpress.XtraBars.Ribbon.RecentTabItem();
-            this.recentStackPanel3 = new DevExpress.XtraBars.Ribbon.RecentStackPanel();
-            this.recentTabItem2 = new DevExpress.XtraBars.Ribbon.RecentTabItem();
-            this.recentStackPanel4 = new DevExpress.XtraBars.Ribbon.RecentStackPanel();
-            this.backstageViewClientControl8 = new DevExpress.XtraBars.Ribbon.BackstageViewClientControl();
-            this.recentSaveAs = new DevExpress.XtraBars.Ribbon.RecentItemControl();
-            this.recentStackPanel5 = new DevExpress.XtraBars.Ribbon.RecentStackPanel();
-            this.recentStackPanel6 = new DevExpress.XtraBars.Ribbon.RecentStackPanel();
-            this.recentTabItem3 = new DevExpress.XtraBars.Ribbon.RecentTabItem();
-            this.recentStackPanel7 = new DevExpress.XtraBars.Ribbon.RecentStackPanel();
-            this.backstageViewClientControl10 = new DevExpress.XtraBars.Ribbon.BackstageViewClientControl();
-            this.recentControlExport = new DevExpress.XtraBars.Ribbon.RecentItemControl();
-            this.recentStackPanel14 = new DevExpress.XtraBars.Ribbon.RecentStackPanel();
-            this.recentStackPanel10 = new DevExpress.XtraBars.Ribbon.RecentStackPanel();
-            this.recentTabItem4 = new DevExpress.XtraBars.Ribbon.RecentTabItem();
-            this.recentStackPanel11 = new DevExpress.XtraBars.Ribbon.RecentStackPanel();
-            this.recentControlRecentItem1 = new DevExpress.XtraBars.Ribbon.RecentPinItem();
-            this.recentControlRecentItem2 = new DevExpress.XtraBars.Ribbon.RecentPinItem();
-            this.recentControlRecentItem4 = new DevExpress.XtraBars.Ribbon.RecentPinItem();
-            this.recentControlRecentItem5 = new DevExpress.XtraBars.Ribbon.RecentPinItem();
-            this.recentControlRecentItem6 = new DevExpress.XtraBars.Ribbon.RecentPinItem();
-            this.recentControlRecentItem7 = new DevExpress.XtraBars.Ribbon.RecentPinItem();
-            this.recentControlRecentItem8 = new DevExpress.XtraBars.Ribbon.RecentPinItem();
-            this.recentControlRecentItem9 = new DevExpress.XtraBars.Ribbon.RecentPinItem();
-            this.backstageViewTabItem3 = new DevExpress.XtraBars.Ribbon.BackstageViewTabItem();
-            this.bvItemSave = new DevExpress.XtraBars.Ribbon.BackstageViewButtonItem();
-            this.backstageViewTabItem1 = new DevExpress.XtraBars.Ribbon.BackstageViewTabItem();
-            this.backstageViewTabItem4 = new DevExpress.XtraBars.Ribbon.BackstageViewTabItem();
-            this.backstageViewTabItem6 = new DevExpress.XtraBars.Ribbon.BackstageViewTabItem();
-            this.bvItemClose = new DevExpress.XtraBars.Ribbon.BackstageViewButtonItem();
-            this.bvItemExit = new DevExpress.XtraBars.Ribbon.BackstageViewButtonItem();
             this.printControl1 = new DevExpress.XtraPrinting.Control.PrintControl();
             this.recentControlRecentItem10 = new DevExpress.XtraBars.Ribbon.RecentPinItem();
             this.recentControlButtonItem1 = new DevExpress.XtraBars.Ribbon.RecentButtonItem();
@@ -236,8 +149,6 @@
             this.backstageViewTabItem2 = new DevExpress.XtraBars.Ribbon.BackstageViewTabItem();
             this.bvTabPrint = new DevExpress.XtraBars.Ribbon.BackstageViewTabItem();
             this.backstageViewClientControl4 = new DevExpress.XtraBars.Ribbon.BackstageViewClientControl();
-            this.ribbonPageGroup7 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
-            this.bbi计算 = new DevExpress.XtraBars.BarButtonItem();
             ((System.ComponentModel.ISupportInitialize)(this.gddFont)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.popupControlContainer1)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.ribbonControl1)).BeginInit();
@@ -260,45 +171,6 @@
             ((System.ComponentModel.ISupportInitialize)(this.xtraTabbedMdiManager1)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.pmMain)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.imageCollection3)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.backstageViewControl1)).BeginInit();
-            this.backstageViewControl1.SuspendLayout();
-            this.backstageViewClientControl11.SuspendLayout();
-            ((System.ComponentModel.ISupportInitialize)(this.recentControlPrint)).BeginInit();
-            this.recentControlPrint.SuspendLayout();
-            this.recentPrintOptionsContainer.SuspendLayout();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
-            this.layoutControl1.SuspendLayout();
-            ((System.ComponentModel.ISupportInitialize)(this.copySpinEdit.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.lciCopiesSpinEdit)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).BeginInit();
-            this.recentPrintPreviewContainer.SuspendLayout();
-            ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit();
-            this.panelControl2.SuspendLayout();
-            ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).BeginInit();
-            this.panelControl3.SuspendLayout();
-            ((System.ComponentModel.ISupportInitialize)(this.stackPanel1)).BeginInit();
-            this.stackPanel1.SuspendLayout();
-            ((System.ComponentModel.ISupportInitialize)(this.zoomTextEdit.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.pageButtonEdit.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.zoomTrackBarControl1)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.zoomTrackBarControl1.Properties)).BeginInit();
-            this.backstageViewClientControl2.SuspendLayout();
-            ((System.ComponentModel.ISupportInitialize)(this.recentItemControl1)).BeginInit();
-            this.backstageViewClientControl9.SuspendLayout();
-            ((System.ComponentModel.ISupportInitialize)(this.recentOpen)).BeginInit();
-            this.backstageViewClientControl8.SuspendLayout();
-            ((System.ComponentModel.ISupportInitialize)(this.recentSaveAs)).BeginInit();
-            this.backstageViewClientControl10.SuspendLayout();
-            ((System.ComponentModel.ISupportInitialize)(this.recentControlExport)).BeginInit();
             this.backstageViewClientControl4.SuspendLayout();
             this.SuspendLayout();
             // 
@@ -394,8 +266,7 @@
             this.gddFont.MenuCaption = "Fonts";
             this.gddFont.Name = "gddFont";
             this.gddFont.Ribbon = this.ribbonControl1;
-            this.gddFont.ShowNavigationHeader = DevExpress.Utils.DefaultBoolean.True;
-            this.gddFont.Popup += new System.EventHandler(this.gddFont_Popup);
+            this.gddFont.ShowNavigationHeader = DevExpress.Utils.DefaultBoolean.True; 
             // 
             // bbiFontColorPopup
             // 
@@ -947,8 +818,7 @@
             this.gddFontColor.MenuCaption = "Font Colors";
             this.gddFontColor.Name = "gddFontColor";
             this.gddFontColor.Ribbon = this.ribbonControl1;
-            this.gddFontColor.ShowNavigationHeader = DevExpress.Utils.DefaultBoolean.True;
-            this.gddFontColor.Popup += new System.EventHandler(this.gddFontColor_Popup);
+            this.gddFontColor.ShowNavigationHeader = DevExpress.Utils.DefaultBoolean.True; 
             // 
             // editButtonGroup
             // 
@@ -1189,6 +1059,13 @@
             this.bbi清空局部损失.Name = "bbi清空局部损失";
             this.bbi清空局部损失.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbi清空局部损失_ItemClick);
             // 
+            // bbi计算
+            // 
+            this.bbi计算.Caption = "计算";
+            this.bbi计算.Id = 485;
+            this.bbi计算.Name = "bbi计算";
+            this.bbi计算.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbi计算_ItemClick);
+            // 
             // imageCollection1
             // 
             this.imageCollection1.ImageSize = new System.Drawing.Size(32, 32);
@@ -1346,6 +1223,12 @@
             this.ribbonPageGroup4.Name = "ribbonPageGroup4";
             this.ribbonPageGroup4.Text = "ribbonPageGroup4";
             // 
+            // ribbonPageGroup7
+            // 
+            this.ribbonPageGroup7.ItemLinks.Add(this.bbi计算);
+            this.ribbonPageGroup7.Name = "ribbonPageGroup7";
+            this.ribbonPageGroup7.Text = "ribbonPageGroup7";
+            // 
             // repositoryItemSpinEdit1
             // 
             this.repositoryItemSpinEdit1.AutoHeight = false;
@@ -1438,926 +1321,6 @@
             this.imageCollection3.ImageSize = new System.Drawing.Size(15, 15);
             this.imageCollection3.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("imageCollection3.ImageStream")));
             // 
-            // backstageViewControl1
-            // 
-            this.backstageViewControl1.BackstageViewShowRibbonItems = ((DevExpress.XtraBars.Ribbon.BackstageViewShowRibbonItems)((DevExpress.XtraBars.Ribbon.BackstageViewShowRibbonItems.FormButtons | DevExpress.XtraBars.Ribbon.BackstageViewShowRibbonItems.Title)));
-            this.backstageViewControl1.Controls.Add(this.backstageViewClientControl11);
-            this.backstageViewControl1.Controls.Add(this.backstageViewClientControl2);
-            this.backstageViewControl1.Controls.Add(this.backstageViewClientControl9);
-            this.backstageViewControl1.Controls.Add(this.backstageViewClientControl8);
-            this.backstageViewControl1.Controls.Add(this.backstageViewClientControl10);
-            this.backstageViewControl1.Images = this.imageCollection2;
-            this.backstageViewControl1.Items.Add(this.backstageViewTabItem3);
-            this.backstageViewControl1.Items.Add(this.bvItemSave);
-            this.backstageViewControl1.Items.Add(this.backstageViewTabItem1);
-            this.backstageViewControl1.Items.Add(this.backstageViewTabItem4);
-            this.backstageViewControl1.Items.Add(this.backstageViewTabItem6);
-            this.backstageViewControl1.Items.Add(this.bvItemClose);
-            this.backstageViewControl1.Items.Add(this.bvItemExit);
-            this.backstageViewControl1.Location = new System.Drawing.Point(256, 189);
-            this.backstageViewControl1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
-            this.backstageViewControl1.Name = "backstageViewControl1";
-            this.backstageViewControl1.Office2013StyleOptions.RightPaneContentVerticalOffset = 70;
-            this.backstageViewControl1.OwnerControl = this.ribbonControl1;
-            this.backstageViewControl1.SelectedTab = this.backstageViewTabItem6;
-            this.backstageViewControl1.SelectedTabIndex = 4;
-            this.backstageViewControl1.Size = new System.Drawing.Size(975, 470);
-            this.backstageViewControl1.TabIndex = 9;
-            this.backstageViewControl1.Text = "backstageViewControl1";
-            this.backstageViewControl1.VisibleInDesignTime = true;
-            // 
-            // backstageViewClientControl11
-            // 
-            this.backstageViewClientControl11.Controls.Add(this.recentControlPrint);
-            this.backstageViewClientControl11.Location = new System.Drawing.Point(134, 70);
-            this.backstageViewClientControl11.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
-            this.backstageViewClientControl11.Name = "backstageViewClientControl11";
-            this.backstageViewClientControl11.Size = new System.Drawing.Size(841, 400);
-            this.backstageViewClientControl11.TabIndex = 9;
-            // 
-            // recentControlPrint
-            // 
-            this.recentControlPrint.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
-            this.recentControlPrint.ContentPanelMinWidth = 100;
-            this.recentControlPrint.Controls.Add(this.recentPrintOptionsContainer);
-            this.recentControlPrint.Controls.Add(this.recentPrintPreviewContainer);
-            this.recentControlPrint.DefaultContentPanel = this.recentStackPanel8;
-            this.recentControlPrint.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.recentControlPrint.Location = new System.Drawing.Point(0, 0);
-            this.recentControlPrint.MainPanel = this.recentStackPanel9;
-            this.recentControlPrint.MainPanelMinWidth = 100;
-            this.recentControlPrint.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
-            this.recentControlPrint.MinimumSize = new System.Drawing.Size(493, 108);
-            this.recentControlPrint.Name = "recentControlPrint";
-            this.recentControlPrint.SelectedTab = null;
-            this.recentControlPrint.ShowTitle = false;
-            this.recentControlPrint.Size = new System.Drawing.Size(841, 400);
-            this.recentControlPrint.SplitterPosition = 373;
-            this.recentControlPrint.TabIndex = 0;
-            this.recentControlPrint.Title = "Print";
-            // 
-            // recentPrintOptionsContainer
-            // 
-            this.recentPrintOptionsContainer.Appearance.BackColor = System.Drawing.SystemColors.Control;
-            this.recentPrintOptionsContainer.Appearance.Options.UseBackColor = true;
-            this.recentPrintOptionsContainer.Controls.Add(this.layoutControl1);
-            this.recentPrintOptionsContainer.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
-            this.recentPrintOptionsContainer.Name = "recentPrintOptionsContainer";
-            this.recentPrintOptionsContainer.Size = new System.Drawing.Size(321, 308);
-            this.recentPrintOptionsContainer.TabIndex = 1;
-            // 
-            // layoutControl1
-            // 
-            this.layoutControl1.Controls.Add(this.ddbDuplex);
-            this.layoutControl1.Controls.Add(this.ddbOrientation);
-            this.layoutControl1.Controls.Add(this.ddbPaperSize);
-            this.layoutControl1.Controls.Add(this.ddbMargins);
-            this.layoutControl1.Controls.Add(this.ddbCollate);
-            this.layoutControl1.Controls.Add(this.backstageViewLabel2);
-            this.layoutControl1.Controls.Add(this.ddbPrinter);
-            this.layoutControl1.Controls.Add(this.printerLabel);
-            this.layoutControl1.Controls.Add(this.printButton);
-            this.layoutControl1.Controls.Add(this.copySpinEdit);
-            this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.layoutControl1.Location = new System.Drawing.Point(0, 0);
-            this.layoutControl1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
-            this.layoutControl1.Name = "layoutControl1";
-            this.layoutControl1.Root = this.layoutControlGroup1;
-            this.layoutControl1.Size = new System.Drawing.Size(321, 308);
-            this.layoutControl1.TabIndex = 0;
-            this.layoutControl1.Text = "layoutControl1";
-            // 
-            // ddbDuplex
-            // 
-            this.ddbDuplex.Appearance.Options.UseTextOptions = true;
-            this.ddbDuplex.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near;
-            this.ddbDuplex.Location = new System.Drawing.Point(2, 196);
-            this.ddbDuplex.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
-            this.ddbDuplex.Name = "ddbDuplex";
-            this.ddbDuplex.Size = new System.Drawing.Size(304, 56);
-            this.ddbDuplex.StyleController = this.layoutControl1;
-            this.ddbDuplex.TabIndex = 17;
-            this.ddbDuplex.Text = "Print OneSided";
-            // 
-            // ddbOrientation
-            // 
-            this.ddbOrientation.Appearance.Options.UseTextOptions = true;
-            this.ddbOrientation.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near;
-            this.ddbOrientation.Location = new System.Drawing.Point(2, 256);
-            this.ddbOrientation.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
-            this.ddbOrientation.Name = "ddbOrientation";
-            this.ddbOrientation.Size = new System.Drawing.Size(304, 56);
-            this.ddbOrientation.StyleController = this.layoutControl1;
-            this.ddbOrientation.TabIndex = 13;
-            this.ddbOrientation.Text = "Orientation";
-            // 
-            // ddbPaperSize
-            // 
-            this.ddbPaperSize.Appearance.Options.UseTextOptions = true;
-            this.ddbPaperSize.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near;
-            this.ddbPaperSize.Location = new System.Drawing.Point(2, 316);
-            this.ddbPaperSize.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
-            this.ddbPaperSize.Name = "ddbPaperSize";
-            this.ddbPaperSize.Size = new System.Drawing.Size(304, 56);
-            this.ddbPaperSize.StyleController = this.layoutControl1;
-            this.ddbPaperSize.TabIndex = 15;
-            this.ddbPaperSize.Text = "Paper Size";
-            // 
-            // ddbMargins
-            // 
-            this.ddbMargins.Appearance.Options.UseTextOptions = true;
-            this.ddbMargins.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near;
-            this.ddbMargins.Location = new System.Drawing.Point(2, 376);
-            this.ddbMargins.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
-            this.ddbMargins.Name = "ddbMargins";
-            this.ddbMargins.Size = new System.Drawing.Size(304, 56);
-            this.ddbMargins.StyleController = this.layoutControl1;
-            this.ddbMargins.TabIndex = 14;
-            this.ddbMargins.Text = "Margins";
-            // 
-            // ddbCollate
-            // 
-            this.ddbCollate.Appearance.Options.UseTextOptions = true;
-            this.ddbCollate.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near;
-            this.ddbCollate.Location = new System.Drawing.Point(2, 436);
-            this.ddbCollate.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
-            this.ddbCollate.Name = "ddbCollate";
-            this.ddbCollate.Size = new System.Drawing.Size(304, 56);
-            this.ddbCollate.StyleController = this.layoutControl1;
-            this.ddbCollate.TabIndex = 16;
-            this.ddbCollate.Text = "Collated";
-            // 
-            // backstageViewLabel2
-            // 
-            this.backstageViewLabel2.Appearance.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
-            this.backstageViewLabel2.Appearance.Options.UseFont = true;
-            this.backstageViewLabel2.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
-            this.backstageViewLabel2.LineLocation = DevExpress.XtraEditors.LineLocation.Bottom;
-            this.backstageViewLabel2.LineStyle = System.Drawing.Drawing2D.DashStyle.Dash;
-            this.backstageViewLabel2.LineVisible = true;
-            this.backstageViewLabel2.Location = new System.Drawing.Point(2, 172);
-            this.backstageViewLabel2.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
-            this.backstageViewLabel2.Name = "backstageViewLabel2";
-            this.backstageViewLabel2.ShowLineShadow = false;
-            this.backstageViewLabel2.Size = new System.Drawing.Size(304, 20);
-            this.backstageViewLabel2.StyleController = this.layoutControl1;
-            this.backstageViewLabel2.TabIndex = 12;
-            this.backstageViewLabel2.Text = "Settings";
-            // 
-            // ddbPrinter
-            // 
-            this.ddbPrinter.Appearance.Options.UseTextOptions = true;
-            this.ddbPrinter.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near;
-            this.ddbPrinter.AutoWidthInLayoutControl = true;
-            this.ddbPrinter.Location = new System.Drawing.Point(0, 110);
-            this.ddbPrinter.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
-            this.ddbPrinter.Name = "ddbPrinter";
-            this.ddbPrinter.Size = new System.Drawing.Size(308, 60);
-            this.ddbPrinter.StyleController = this.layoutControl1;
-            this.ddbPrinter.TabIndex = 11;
-            this.ddbPrinter.Text = "Printer";
-            // 
-            // printerLabel
-            // 
-            this.printerLabel.Appearance.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
-            this.printerLabel.Appearance.Options.UseFont = true;
-            this.printerLabel.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
-            this.printerLabel.LineLocation = DevExpress.XtraEditors.LineLocation.Bottom;
-            this.printerLabel.LineStyle = System.Drawing.Drawing2D.DashStyle.Dash;
-            this.printerLabel.LineVisible = true;
-            this.printerLabel.Location = new System.Drawing.Point(2, 88);
-            this.printerLabel.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
-            this.printerLabel.Name = "printerLabel";
-            this.printerLabel.ShowLineShadow = false;
-            this.printerLabel.Size = new System.Drawing.Size(304, 20);
-            this.printerLabel.StyleController = this.layoutControl1;
-            this.printerLabel.TabIndex = 10;
-            this.printerLabel.Text = "Printer";
-            // 
-            // printButton
-            // 
-            this.printButton.ImageOptions.Location = DevExpress.XtraEditors.ImageLocation.TopCenter;
-            this.printButton.ImageOptions.SvgImage = global::Hydro.WinfrmUI.Viewer.Properties.Resources.Print;
-            this.printButton.Location = new System.Drawing.Point(2, 2);
-            this.printButton.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
-            this.printButton.Name = "printButton";
-            this.printButton.Size = new System.Drawing.Size(94, 82);
-            this.printButton.StyleController = this.layoutControl1;
-            this.printButton.TabIndex = 5;
-            this.printButton.Text = "Print";
-            // 
-            // copySpinEdit
-            // 
-            this.copySpinEdit.EditValue = new decimal(new int[] {
-            1,
-            0,
-            0,
-            0});
-            this.copySpinEdit.Location = new System.Drawing.Point(172, 2);
-            this.copySpinEdit.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
-            this.copySpinEdit.Name = "copySpinEdit";
-            this.copySpinEdit.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
-            new DevExpress.XtraEditors.Controls.EditorButton()});
-            this.copySpinEdit.Properties.IsFloatValue = false;
-            this.copySpinEdit.Properties.Mask.EditMask = "N00";
-            this.copySpinEdit.Properties.MaxValue = new decimal(new int[] {
-            30,
-            0,
-            0,
-            0});
-            this.copySpinEdit.Properties.MinValue = new decimal(new int[] {
-            1,
-            0,
-            0,
-            0});
-            this.copySpinEdit.Size = new System.Drawing.Size(113, 20);
-            this.copySpinEdit.StyleController = this.layoutControl1;
-            this.copySpinEdit.TabIndex = 6;
-            // 
-            // layoutControlGroup1
-            // 
-            this.layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
-            this.layoutControlGroup1.GroupBordersVisible = false;
-            this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
-            this.layoutControlItem1,
-            this.lciCopiesSpinEdit,
-            this.layoutControlItem3,
-            this.layoutControlItem2,
-            this.layoutControlItem4,
-            this.layoutControlItem5,
-            this.layoutControlItem6,
-            this.layoutControlItem7,
-            this.layoutControlItem8,
-            this.layoutControlItem9});
-            this.layoutControlGroup1.Name = "layoutControlGroup1";
-            this.layoutControlGroup1.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
-            this.layoutControlGroup1.Size = new System.Drawing.Size(308, 494);
-            this.layoutControlGroup1.TextVisible = false;
-            // 
-            // layoutControlItem1
-            // 
-            this.layoutControlItem1.Control = this.printButton;
-            this.layoutControlItem1.Location = new System.Drawing.Point(0, 0);
-            this.layoutControlItem1.MaxSize = new System.Drawing.Size(98, 86);
-            this.layoutControlItem1.MinSize = new System.Drawing.Size(98, 86);
-            this.layoutControlItem1.Name = "layoutControlItem1";
-            this.layoutControlItem1.Size = new System.Drawing.Size(98, 86);
-            this.layoutControlItem1.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
-            this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0);
-            this.layoutControlItem1.TextVisible = false;
-            // 
-            // lciCopiesSpinEdit
-            // 
-            this.lciCopiesSpinEdit.Control = this.copySpinEdit;
-            this.lciCopiesSpinEdit.CustomizationFormText = "Copies:";
-            this.lciCopiesSpinEdit.Location = new System.Drawing.Point(98, 0);
-            this.lciCopiesSpinEdit.MaxSize = new System.Drawing.Size(210, 26);
-            this.lciCopiesSpinEdit.MinSize = new System.Drawing.Size(210, 26);
-            this.lciCopiesSpinEdit.Name = "lciCopiesSpinEdit";
-            this.lciCopiesSpinEdit.Padding = new DevExpress.XtraLayout.Utils.Padding(23, 23, 2, 2);
-            this.lciCopiesSpinEdit.Size = new System.Drawing.Size(210, 86);
-            this.lciCopiesSpinEdit.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
-            this.lciCopiesSpinEdit.Text = "Copies:";
-            this.lciCopiesSpinEdit.TextSize = new System.Drawing.Size(39, 14);
-            // 
-            // layoutControlItem3
-            // 
-            this.layoutControlItem3.Control = this.printerLabel;
-            this.layoutControlItem3.Location = new System.Drawing.Point(0, 86);
-            this.layoutControlItem3.Name = "layoutControlItem3";
-            this.layoutControlItem3.Size = new System.Drawing.Size(308, 24);
-            this.layoutControlItem3.TextSize = new System.Drawing.Size(0, 0);
-            this.layoutControlItem3.TextVisible = false;
-            // 
-            // layoutControlItem2
-            // 
-            this.layoutControlItem2.Control = this.ddbPrinter;
-            this.layoutControlItem2.Location = new System.Drawing.Point(0, 110);
-            this.layoutControlItem2.MaxSize = new System.Drawing.Size(0, 60);
-            this.layoutControlItem2.MinSize = new System.Drawing.Size(117, 60);
-            this.layoutControlItem2.Name = "layoutControlItem2";
-            this.layoutControlItem2.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
-            this.layoutControlItem2.Size = new System.Drawing.Size(308, 60);
-            this.layoutControlItem2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
-            this.layoutControlItem2.TextSize = new System.Drawing.Size(0, 0);
-            this.layoutControlItem2.TextVisible = false;
-            // 
-            // layoutControlItem4
-            // 
-            this.layoutControlItem4.Control = this.backstageViewLabel2;
-            this.layoutControlItem4.Location = new System.Drawing.Point(0, 170);
-            this.layoutControlItem4.Name = "layoutControlItem4";
-            this.layoutControlItem4.Size = new System.Drawing.Size(308, 24);
-            this.layoutControlItem4.TextSize = new System.Drawing.Size(0, 0);
-            this.layoutControlItem4.TextVisible = false;
-            // 
-            // layoutControlItem5
-            // 
-            this.layoutControlItem5.Control = this.ddbDuplex;
-            this.layoutControlItem5.Location = new System.Drawing.Point(0, 194);
-            this.layoutControlItem5.MaxSize = new System.Drawing.Size(0, 60);
-            this.layoutControlItem5.MinSize = new System.Drawing.Size(117, 60);
-            this.layoutControlItem5.Name = "layoutControlItem5";
-            this.layoutControlItem5.Size = new System.Drawing.Size(308, 60);
-            this.layoutControlItem5.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
-            this.layoutControlItem5.TextSize = new System.Drawing.Size(0, 0);
-            this.layoutControlItem5.TextVisible = false;
-            // 
-            // layoutControlItem6
-            // 
-            this.layoutControlItem6.Control = this.ddbOrientation;
-            this.layoutControlItem6.Location = new System.Drawing.Point(0, 254);
-            this.layoutControlItem6.MaxSize = new System.Drawing.Size(0, 60);
-            this.layoutControlItem6.MinSize = new System.Drawing.Size(97, 60);
-            this.layoutControlItem6.Name = "layoutControlItem6";
-            this.layoutControlItem6.Size = new System.Drawing.Size(308, 60);
-            this.layoutControlItem6.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
-            this.layoutControlItem6.TextSize = new System.Drawing.Size(0, 0);
-            this.layoutControlItem6.TextVisible = false;
-            // 
-            // layoutControlItem7
-            // 
-            this.layoutControlItem7.Control = this.ddbPaperSize;
-            this.layoutControlItem7.Location = new System.Drawing.Point(0, 314);
-            this.layoutControlItem7.MaxSize = new System.Drawing.Size(0, 60);
-            this.layoutControlItem7.MinSize = new System.Drawing.Size(92, 60);
-            this.layoutControlItem7.Name = "layoutControlItem7";
-            this.layoutControlItem7.Size = new System.Drawing.Size(308, 60);
-            this.layoutControlItem7.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
-            this.layoutControlItem7.TextSize = new System.Drawing.Size(0, 0);
-            this.layoutControlItem7.TextVisible = false;
-            // 
-            // layoutControlItem8
-            // 
-            this.layoutControlItem8.Control = this.ddbMargins;
-            this.layoutControlItem8.Location = new System.Drawing.Point(0, 374);
-            this.layoutControlItem8.MaxSize = new System.Drawing.Size(0, 60);
-            this.layoutControlItem8.MinSize = new System.Drawing.Size(77, 60);
-            this.layoutControlItem8.Name = "layoutControlItem8";
-            this.layoutControlItem8.Size = new System.Drawing.Size(308, 60);
-            this.layoutControlItem8.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
-            this.layoutControlItem8.TextSize = new System.Drawing.Size(0, 0);
-            this.layoutControlItem8.TextVisible = false;
-            // 
-            // layoutControlItem9
-            // 
-            this.layoutControlItem9.Control = this.ddbCollate;
-            this.layoutControlItem9.Location = new System.Drawing.Point(0, 434);
-            this.layoutControlItem9.MaxSize = new System.Drawing.Size(0, 60);
-            this.layoutControlItem9.MinSize = new System.Drawing.Size(79, 60);
-            this.layoutControlItem9.Name = "layoutControlItem9";
-            this.layoutControlItem9.Size = new System.Drawing.Size(308, 60);
-            this.layoutControlItem9.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
-            this.layoutControlItem9.TextSize = new System.Drawing.Size(0, 0);
-            this.layoutControlItem9.TextVisible = false;
-            // 
-            // recentPrintPreviewContainer
-            // 
-            this.recentPrintPreviewContainer.Appearance.BackColor = System.Drawing.SystemColors.Control;
-            this.recentPrintPreviewContainer.Appearance.Options.UseBackColor = true;
-            this.recentPrintPreviewContainer.Controls.Add(this.panelControl2);
-            this.recentPrintPreviewContainer.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
-            this.recentPrintPreviewContainer.Name = "recentPrintPreviewContainer";
-            this.recentPrintPreviewContainer.Size = new System.Drawing.Size(455, 388);
-            this.recentPrintPreviewContainer.TabIndex = 2;
-            // 
-            // panelControl2
-            // 
-            this.panelControl2.Controls.Add(this.printControl2);
-            this.panelControl2.Controls.Add(this.panelControl3);
-            this.panelControl2.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.panelControl2.Location = new System.Drawing.Point(0, 0);
-            this.panelControl2.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
-            this.panelControl2.Name = "panelControl2";
-            this.panelControl2.Size = new System.Drawing.Size(455, 388);
-            this.panelControl2.TabIndex = 0;
-            // 
-            // printControl2
-            // 
-            this.printControl2.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.printControl2.IsMetric = true;
-            this.printControl2.Location = new System.Drawing.Point(2, 2);
-            this.printControl2.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
-            this.printControl2.Name = "printControl2";
-            this.printControl2.Size = new System.Drawing.Size(451, 341);
-            this.printControl2.TabIndex = 3;
-            // 
-            // panelControl3
-            // 
-            this.panelControl3.Controls.Add(this.stackPanel1);
-            this.panelControl3.Controls.Add(this.panel2);
-            this.panelControl3.Controls.Add(this.pageButtonEdit);
-            this.panelControl3.Controls.Add(this.zoomTrackBarControl1);
-            this.panelControl3.Dock = System.Windows.Forms.DockStyle.Bottom;
-            this.panelControl3.Location = new System.Drawing.Point(2, 343);
-            this.panelControl3.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
-            this.panelControl3.Name = "panelControl3";
-            this.panelControl3.Size = new System.Drawing.Size(451, 43);
-            this.panelControl3.TabIndex = 2;
-            // 
-            // stackPanel1
-            // 
-            this.stackPanel1.Controls.Add(this.zoomTextEdit);
-            this.stackPanel1.Dock = System.Windows.Forms.DockStyle.Right;
-            this.stackPanel1.LayoutDirection = DevExpress.Utils.Layout.StackPanelLayoutDirection.RightToLeft;
-            this.stackPanel1.Location = new System.Drawing.Point(-366, 2);
-            this.stackPanel1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
-            this.stackPanel1.Name = "stackPanel1";
-            this.stackPanel1.Size = new System.Drawing.Size(397, 39);
-            this.stackPanel1.TabIndex = 7;
-            // 
-            // zoomTextEdit
-            // 
-            this.zoomTextEdit.Dock = System.Windows.Forms.DockStyle.Right;
-            this.zoomTextEdit.EditValue = ((short)(100));
-            this.zoomTextEdit.Location = new System.Drawing.Point(257, 9);
-            this.zoomTextEdit.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
-            this.zoomTextEdit.Name = "zoomTextEdit";
-            this.zoomTextEdit.Properties.DisplayFormat.FormatString = "{0}%";
-            this.zoomTextEdit.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
-            this.zoomTextEdit.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
-            this.zoomTextEdit.Properties.Mask.EditMask = "n0";
-            this.zoomTextEdit.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
-            this.zoomTextEdit.Size = new System.Drawing.Size(136, 20);
-            this.zoomTextEdit.TabIndex = 6;
-            // 
-            // panel2
-            // 
-            this.panel2.Dock = System.Windows.Forms.DockStyle.Right;
-            this.panel2.Location = new System.Drawing.Point(31, 2);
-            this.panel2.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
-            this.panel2.Name = "panel2";
-            this.panel2.Size = new System.Drawing.Size(19, 39);
-            this.panel2.TabIndex = 5;
-            // 
-            // pageButtonEdit
-            // 
-            this.pageButtonEdit.Dock = System.Windows.Forms.DockStyle.Left;
-            this.pageButtonEdit.EditValue = "1";
-            this.pageButtonEdit.Location = new System.Drawing.Point(2, 2);
-            this.pageButtonEdit.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
-            this.pageButtonEdit.Name = "pageButtonEdit";
-            this.pageButtonEdit.Properties.Appearance.Options.UseTextOptions = true;
-            this.pageButtonEdit.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
-            this.pageButtonEdit.Properties.AutoHeight = false;
-            this.pageButtonEdit.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
-            this.pageButtonEdit.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
-            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Left, "", -1, true, true, true, editorButtonImageOptions1, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "", null, null, DevExpress.Utils.ToolTipAnchor.Default),
-            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Right)});
-            this.pageButtonEdit.Properties.DisplayFormat.FormatString = "Page {0} of 1";
-            this.pageButtonEdit.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
-            this.pageButtonEdit.Size = new System.Drawing.Size(219, 39);
-            this.pageButtonEdit.TabIndex = 4;
-            // 
-            // zoomTrackBarControl1
-            // 
-            this.zoomTrackBarControl1.Dock = System.Windows.Forms.DockStyle.Right;
-            this.zoomTrackBarControl1.EditValue = 40;
-            this.zoomTrackBarControl1.Location = new System.Drawing.Point(50, 2);
-            this.zoomTrackBarControl1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
-            this.zoomTrackBarControl1.MenuManager = this.ribbonControl1;
-            this.zoomTrackBarControl1.Name = "zoomTrackBarControl1";
-            this.zoomTrackBarControl1.Properties.Maximum = 80;
-            this.zoomTrackBarControl1.Properties.Middle = 40;
-            this.zoomTrackBarControl1.Properties.SmallChange = 2;
-            this.zoomTrackBarControl1.Size = new System.Drawing.Size(399, 39);
-            this.zoomTrackBarControl1.TabIndex = 0;
-            this.zoomTrackBarControl1.Value = 40;
-            // 
-            // recentStackPanel8
-            // 
-            this.recentStackPanel8.Items.AddRange(new DevExpress.XtraBars.Ribbon.RecentItemBase[] {
-            this.recentPrintPreview});
-            this.recentStackPanel8.Name = "recentStackPanel8";
-            this.recentStackPanel8.PanelPadding = new System.Windows.Forms.Padding(1);
-            // 
-            // recentPrintPreview
-            // 
-            this.recentPrintPreview.ClientHeight = 543;
-            this.recentPrintPreview.ControlContainer = this.recentPrintPreviewContainer;
-            this.recentPrintPreview.FillSpace = true;
-            this.recentPrintPreview.Name = "recentPrintPreview";
-            // 
-            // recentStackPanel9
-            // 
-            this.recentStackPanel9.Caption = "Print";
-            this.recentStackPanel9.Items.AddRange(new DevExpress.XtraBars.Ribbon.RecentItemBase[] {
-            this.recentPrintOptions});
-            this.recentStackPanel9.Name = "recentStackPanel9";
-            // 
-            // recentPrintOptions
-            // 
-            this.recentPrintOptions.ClientHeight = 406;
-            this.recentPrintOptions.ControlContainer = this.recentPrintOptionsContainer;
-            this.recentPrintOptions.FillSpace = true;
-            this.recentPrintOptions.Name = "recentPrintOptions";
-            // 
-            // backstageViewClientControl2
-            // 
-            this.backstageViewClientControl2.Controls.Add(this.recentItemControl1);
-            this.backstageViewClientControl2.Location = new System.Drawing.Point(134, 71);
-            this.backstageViewClientControl2.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
-            this.backstageViewClientControl2.Name = "backstageViewClientControl2";
-            this.backstageViewClientControl2.Size = new System.Drawing.Size(840, 398);
-            this.backstageViewClientControl2.TabIndex = 10;
-            // 
-            // recentItemControl1
-            // 
-            this.recentItemControl1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
-            this.recentItemControl1.ContentPanelMinWidth = 460;
-            this.recentItemControl1.DefaultContentPanel = this.recentStackPanel12;
-            this.recentItemControl1.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.recentItemControl1.Location = new System.Drawing.Point(0, 0);
-            this.recentItemControl1.MainPanel = this.recentStackPanel13;
-            this.recentItemControl1.MainPanelMinWidth = 180;
-            this.recentItemControl1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
-            this.recentItemControl1.MinimumSize = new System.Drawing.Size(1079, 108);
-            this.recentItemControl1.Name = "recentItemControl1";
-            this.recentItemControl1.SelectedTab = null;
-            this.recentItemControl1.ShowTitle = false;
-            this.recentItemControl1.Size = new System.Drawing.Size(1079, 398);
-            this.recentItemControl1.SplitterPosition = 619;
-            this.recentItemControl1.TabIndex = 0;
-            this.recentItemControl1.Title = "Title";
-            // 
-            // recentStackPanel12
-            // 
-            this.recentStackPanel12.Caption = "About";
-            this.recentStackPanel12.CaptionToContentIndent = 46;
-            this.recentStackPanel12.Items.AddRange(new DevExpress.XtraBars.Ribbon.RecentItemBase[] {
-            this.recentLabelItem1,
-            this.recentHyperlinkItem1,
-            this.recentLabelItem2});
-            this.recentStackPanel12.Name = "recentStackPanel12";
-            // 
-            // recentLabelItem1
-            // 
-            this.recentLabelItem1.Caption = null;
-            this.recentLabelItem1.ImageOptions.ItemNormal.Image = global::Hydro.WinfrmUI.Viewer.Properties.Resources.XtraBars;
-            this.recentLabelItem1.Name = "recentLabelItem1";
-            // 
-            // recentHyperlinkItem1
-            // 
-            this.recentHyperlinkItem1.AllowSelect = DevExpress.Utils.DefaultBoolean.False;
-            this.recentHyperlinkItem1.Caption = "www.devexpress.com";
-            this.recentHyperlinkItem1.Name = "recentHyperlinkItem1";
-            // 
-            // recentLabelItem2
-            // 
-            this.recentLabelItem2.AllowSelect = DevExpress.Utils.DefaultBoolean.False;
-            this.recentLabelItem2.Caption = "Copyright (c) 2000-2013 DevExpress inc. ALL RIGHTS RESERVED.";
-            this.recentLabelItem2.Name = "recentLabelItem2";
-            // 
-            // recentStackPanel13
-            // 
-            this.recentStackPanel13.Caption = "Support";
-            this.recentStackPanel13.CaptionToContentIndent = 46;
-            this.recentStackPanel13.Items.AddRange(new DevExpress.XtraBars.Ribbon.RecentItemBase[] {
-            this.recentPinItem2,
-            this.recentPinItem3,
-            this.recentPinItem4});
-            this.recentStackPanel13.Name = "recentStackPanel13";
-            this.recentStackPanel13.PanelPadding = new System.Windows.Forms.Padding(20, 20, 5, 20);
-            // 
-            // recentPinItem2
-            // 
-            this.recentPinItem2.Caption = "DevExpress Online Help";
-            this.recentPinItem2.Description = "Get help using DevExpress components";
-            this.recentPinItem2.GlyphAlignment = DevExpress.XtraBars.Ribbon.RecentPinItemGlyphAlignment.Center;
-            this.recentPinItem2.ImageOptions.ItemNormal.SvgImage = global::Hydro.WinfrmUI.Viewer.Properties.Resources.DevExpressOnlineHelp;
-            this.recentPinItem2.Name = "recentPinItem2";
-            this.recentPinItem2.PinButtonVisibility = DevExpress.XtraBars.Ribbon.RecentPinButtonVisibility.Never;
-            // 
-            // recentPinItem3
-            // 
-            this.recentPinItem3.Caption = "Getting Started";
-            this.recentPinItem3.Description = "See what\'s new and find resources to help you learn the basics quickly.";
-            this.recentPinItem3.GlyphAlignment = DevExpress.XtraBars.Ribbon.RecentPinItemGlyphAlignment.Center;
-            this.recentPinItem3.ImageOptions.ItemNormal.SvgImage = global::Hydro.WinfrmUI.Viewer.Properties.Resources.GettingStarted;
-            this.recentPinItem3.Name = "recentPinItem3";
-            this.recentPinItem3.PinButtonVisibility = DevExpress.XtraBars.Ribbon.RecentPinButtonVisibility.Never;
-            // 
-            // recentPinItem4
-            // 
-            this.recentPinItem4.Caption = "Contact Us";
-            this.recentPinItem4.Description = "Let us know if you need help or how we can make our components better";
-            this.recentPinItem4.GlyphAlignment = DevExpress.XtraBars.Ribbon.RecentPinItemGlyphAlignment.Center;
-            this.recentPinItem4.ImageOptions.ItemNormal.SvgImage = global::Hydro.WinfrmUI.Viewer.Properties.Resources.ContactUs;
-            this.recentPinItem4.Name = "recentPinItem4";
-            this.recentPinItem4.PinButtonVisibility = DevExpress.XtraBars.Ribbon.RecentPinButtonVisibility.Never;
-            // 
-            // backstageViewClientControl9
-            // 
-            this.backstageViewClientControl9.Controls.Add(this.recentOpen);
-            this.backstageViewClientControl9.Location = new System.Drawing.Point(134, 70);
-            this.backstageViewClientControl9.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
-            this.backstageViewClientControl9.Name = "backstageViewClientControl9";
-            this.backstageViewClientControl9.Size = new System.Drawing.Size(841, 400);
-            this.backstageViewClientControl9.TabIndex = 7;
-            // 
-            // recentOpen
-            // 
-            this.recentOpen.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
-            this.recentOpen.ContentPanelMinWidth = 100;
-            this.recentOpen.DefaultContentPanel = this.recentStackPanel1;
-            this.recentOpen.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.recentOpen.Location = new System.Drawing.Point(0, 0);
-            this.recentOpen.MainPanel = this.recentStackPanel2;
-            this.recentOpen.MainPanelMinWidth = 100;
-            this.recentOpen.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
-            this.recentOpen.MinimumSize = new System.Drawing.Size(467, 215);
-            this.recentOpen.Name = "recentOpen";
-            this.recentOpen.SelectedTab = this.recentTabItem2;
-            this.recentOpen.ShowTitle = false;
-            this.recentOpen.Size = new System.Drawing.Size(841, 400);
-            this.recentOpen.SplitterPosition = 367;
-            this.recentOpen.TabIndex = 0;
-            this.recentOpen.Title = "Open";
-            this.recentOpen.ItemClick += new DevExpress.XtraBars.Ribbon.RecentItemEventHandler(this.recentControlOpen_ItemClick);
-            // 
-            // recentStackPanel1
-            // 
-            this.recentStackPanel1.Caption = "Computer";
-            this.recentStackPanel1.CaptionToContentIndent = 46;
-            this.recentStackPanel1.ImageOptions.SvgImage = global::Hydro.WinfrmUI.Viewer.Properties.Resources.Electronics_DesktopMac;
-            this.recentStackPanel1.Name = "recentStackPanel1";
-            // 
-            // recentStackPanel2
-            // 
-            this.recentStackPanel2.Caption = "Open";
-            this.recentStackPanel2.CaptionToContentIndent = 46;
-            this.recentStackPanel2.Items.AddRange(new DevExpress.XtraBars.Ribbon.RecentItemBase[] {
-            this.recentTabItem1,
-            this.recentTabItem2});
-            this.recentStackPanel2.Name = "recentStackPanel2";
-            this.recentStackPanel2.SelectedItem = this.recentTabItem2;
-            // 
-            // recentTabItem1
-            // 
-            this.recentTabItem1.Caption = "Recent Documents";
-            this.recentTabItem1.ImageOptions.ItemNormal.SvgImage = global::Hydro.WinfrmUI.Viewer.Properties.Resources.Recent_Documents;
-            this.recentTabItem1.Name = "recentTabItem1";
-            this.recentTabItem1.TabPanel = this.recentStackPanel3;
-            // 
-            // recentStackPanel3
-            // 
-            this.recentStackPanel3.Caption = "Recent Documents";
-            this.recentStackPanel3.CaptionToContentIndent = 46;
-            this.recentStackPanel3.ImageOptions.SvgImage = global::Hydro.WinfrmUI.Viewer.Properties.Resources.Recent_Documents;
-            this.recentStackPanel3.Name = "recentStackPanel3";
-            // 
-            // recentTabItem2
-            // 
-            this.recentTabItem2.Caption = "Computer";
-            this.recentTabItem2.ImageOptions.ItemNormal.SvgImage = global::Hydro.WinfrmUI.Viewer.Properties.Resources.Electronics_DesktopMac;
-            this.recentTabItem2.Name = "recentTabItem2";
-            this.recentTabItem2.TabPanel = this.recentStackPanel4;
-            // 
-            // recentStackPanel4
-            // 
-            this.recentStackPanel4.Caption = "Computer";
-            this.recentStackPanel4.CaptionToContentIndent = 46;
-            this.recentStackPanel4.ImageOptions.SvgImage = global::Hydro.WinfrmUI.Viewer.Properties.Resources.Electronics_DesktopMac;
-            this.recentStackPanel4.Name = "recentStackPanel4";
-            // 
-            // backstageViewClientControl8
-            // 
-            this.backstageViewClientControl8.Controls.Add(this.recentSaveAs);
-            this.backstageViewClientControl8.Location = new System.Drawing.Point(134, 70);
-            this.backstageViewClientControl8.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
-            this.backstageViewClientControl8.Name = "backstageViewClientControl8";
-            this.backstageViewClientControl8.Size = new System.Drawing.Size(841, 400);
-            this.backstageViewClientControl8.TabIndex = 6;
-            // 
-            // recentSaveAs
-            // 
-            this.recentSaveAs.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
-            this.recentSaveAs.ContentPanelMinWidth = 100;
-            this.recentSaveAs.DefaultContentPanel = this.recentStackPanel5;
-            this.recentSaveAs.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.recentSaveAs.Location = new System.Drawing.Point(0, 0);
-            this.recentSaveAs.MainPanel = this.recentStackPanel6;
-            this.recentSaveAs.MainPanelMinWidth = 100;
-            this.recentSaveAs.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
-            this.recentSaveAs.MinimumSize = new System.Drawing.Size(467, 215);
-            this.recentSaveAs.Name = "recentSaveAs";
-            this.recentSaveAs.SelectedTab = this.recentTabItem3;
-            this.recentSaveAs.ShowTitle = false;
-            this.recentSaveAs.Size = new System.Drawing.Size(841, 400);
-            this.recentSaveAs.SplitterPosition = 367;
-            this.recentSaveAs.TabIndex = 0;
-            this.recentSaveAs.Title = "Save As";
-            this.recentSaveAs.ItemClick += new DevExpress.XtraBars.Ribbon.RecentItemEventHandler(this.recentControlSave_ItemClick);
-            // 
-            // recentStackPanel5
-            // 
-            this.recentStackPanel5.Caption = "Computer";
-            this.recentStackPanel5.CaptionToContentIndent = 46;
-            this.recentStackPanel5.ImageOptions.SvgImage = global::Hydro.WinfrmUI.Viewer.Properties.Resources.Electronics_DesktopMac;
-            this.recentStackPanel5.Name = "recentStackPanel5";
-            // 
-            // recentStackPanel6
-            // 
-            this.recentStackPanel6.Caption = "Save As";
-            this.recentStackPanel6.CaptionToContentIndent = 46;
-            this.recentStackPanel6.Items.AddRange(new DevExpress.XtraBars.Ribbon.RecentItemBase[] {
-            this.recentTabItem3});
-            this.recentStackPanel6.Name = "recentStackPanel6";
-            this.recentStackPanel6.SelectedItem = this.recentTabItem3;
-            // 
-            // recentTabItem3
-            // 
-            this.recentTabItem3.Caption = "Computer";
-            this.recentTabItem3.ImageOptions.ItemNormal.SvgImage = global::Hydro.WinfrmUI.Viewer.Properties.Resources.Electronics_DesktopMac;
-            this.recentTabItem3.Name = "recentTabItem3";
-            this.recentTabItem3.TabPanel = this.recentStackPanel7;
-            // 
-            // recentStackPanel7
-            // 
-            this.recentStackPanel7.Caption = "Computer";
-            this.recentStackPanel7.CaptionToContentIndent = 46;
-            this.recentStackPanel7.ImageOptions.SvgImage = global::Hydro.WinfrmUI.Viewer.Properties.Resources.Electronics_DesktopMac;
-            this.recentStackPanel7.Name = "recentStackPanel7";
-            // 
-            // backstageViewClientControl10
-            // 
-            this.backstageViewClientControl10.Controls.Add(this.recentControlExport);
-            this.backstageViewClientControl10.Location = new System.Drawing.Point(134, 70);
-            this.backstageViewClientControl10.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
-            this.backstageViewClientControl10.Name = "backstageViewClientControl10";
-            this.backstageViewClientControl10.Size = new System.Drawing.Size(841, 400);
-            this.backstageViewClientControl10.TabIndex = 8;
-            // 
-            // recentControlExport
-            // 
-            this.recentControlExport.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
-            this.recentControlExport.ContentPanelMinWidth = 100;
-            this.recentControlExport.DefaultContentPanel = this.recentStackPanel14;
-            this.recentControlExport.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.recentControlExport.Location = new System.Drawing.Point(0, 0);
-            this.recentControlExport.MainPanel = this.recentStackPanel10;
-            this.recentControlExport.MainPanelMinWidth = 100;
-            this.recentControlExport.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
-            this.recentControlExport.MinimumSize = new System.Drawing.Size(467, 108);
-            this.recentControlExport.Name = "recentControlExport";
-            this.recentControlExport.SelectedTab = this.recentTabItem4;
-            this.recentControlExport.ShowTitle = false;
-            this.recentControlExport.Size = new System.Drawing.Size(841, 400);
-            this.recentControlExport.SplitterPosition = 367;
-            this.recentControlExport.TabIndex = 0;
-            this.recentControlExport.Title = "Title";
-            // 
-            // recentStackPanel14
-            // 
-            this.recentStackPanel14.Name = "recentStackPanel14";
-            // 
-            // recentStackPanel10
-            // 
-            this.recentStackPanel10.Caption = "Export";
-            this.recentStackPanel10.CaptionToContentIndent = 46;
-            this.recentStackPanel10.Items.AddRange(new DevExpress.XtraBars.Ribbon.RecentItemBase[] {
-            this.recentTabItem4});
-            this.recentStackPanel10.Name = "recentStackPanel10";
-            this.recentStackPanel10.SelectedItem = this.recentTabItem4;
-            // 
-            // recentTabItem4
-            // 
-            this.recentTabItem4.Caption = "Export To";
-            this.recentTabItem4.ImageOptions.ItemNormal.SvgImage = global::Hydro.WinfrmUI.Viewer.Properties.Resources.ExportTo;
-            this.recentTabItem4.Name = "recentTabItem4";
-            this.recentTabItem4.TabPanel = this.recentStackPanel11;
-            // 
-            // recentStackPanel11
-            // 
-            this.recentStackPanel11.Caption = "Export To";
-            this.recentStackPanel11.CaptionToContentIndent = 46;
-            this.recentStackPanel11.ImageOptions.SvgImage = global::Hydro.WinfrmUI.Viewer.Properties.Resources.ExportTo;
-            this.recentStackPanel11.Items.AddRange(new DevExpress.XtraBars.Ribbon.RecentItemBase[] {
-            this.recentControlRecentItem1,
-            this.recentControlRecentItem2,
-            this.recentControlRecentItem4,
-            this.recentControlRecentItem5,
-            this.recentControlRecentItem6,
-            this.recentControlRecentItem7,
-            this.recentControlRecentItem8,
-            this.recentControlRecentItem9});
-            this.recentStackPanel11.Name = "recentStackPanel11";
-            // 
-            // recentControlRecentItem1
-            // 
-            this.recentControlRecentItem1.Caption = "PDF  File";
-            this.recentControlRecentItem1.Description = "Adobe Portable Document Format";
-            this.recentControlRecentItem1.GlyphAlignment = DevExpress.XtraBars.Ribbon.RecentPinItemGlyphAlignment.Center;
-            this.recentControlRecentItem1.ImageOptions.ItemNormal.SvgImage = global::Hydro.WinfrmUI.Viewer.Properties.Resources.ExportToPDF;
-            this.recentControlRecentItem1.Name = "recentControlRecentItem1";
-            this.recentControlRecentItem1.PinButtonVisibility = DevExpress.XtraBars.Ribbon.RecentPinButtonVisibility.Never;
-            // 
-            // recentControlRecentItem2
-            // 
-            this.recentControlRecentItem2.Caption = "HTML File";
-            this.recentControlRecentItem2.Description = "Web Page";
-            this.recentControlRecentItem2.GlyphAlignment = DevExpress.XtraBars.Ribbon.RecentPinItemGlyphAlignment.Center;
-            this.recentControlRecentItem2.ImageOptions.ItemNormal.SvgImage = global::Hydro.WinfrmUI.Viewer.Properties.Resources.Action_Export_ToHTML;
-            this.recentControlRecentItem2.Name = "recentControlRecentItem2";
-            this.recentControlRecentItem2.PinButtonVisibility = DevExpress.XtraBars.Ribbon.RecentPinButtonVisibility.Never;
-            // 
-            // recentControlRecentItem4
-            // 
-            this.recentControlRecentItem4.Caption = "MHT File";
-            this.recentControlRecentItem4.Description = "Single File Web Page";
-            this.recentControlRecentItem4.GlyphAlignment = DevExpress.XtraBars.Ribbon.RecentPinItemGlyphAlignment.Center;
-            this.recentControlRecentItem4.ImageOptions.ItemNormal.SvgImage = global::Hydro.WinfrmUI.Viewer.Properties.Resources.ExportToMHT;
-            this.recentControlRecentItem4.Name = "recentControlRecentItem4";
-            this.recentControlRecentItem4.PinButtonVisibility = DevExpress.XtraBars.Ribbon.RecentPinButtonVisibility.Never;
-            // 
-            // recentControlRecentItem5
-            // 
-            this.recentControlRecentItem5.Caption = "RTF File";
-            this.recentControlRecentItem5.Description = "Rich Text Format";
-            this.recentControlRecentItem5.GlyphAlignment = DevExpress.XtraBars.Ribbon.RecentPinItemGlyphAlignment.Center;
-            this.recentControlRecentItem5.ImageOptions.ItemNormal.SvgImage = global::Hydro.WinfrmUI.Viewer.Properties.Resources.ExportToRTF;
-            this.recentControlRecentItem5.Name = "recentControlRecentItem5";
-            this.recentControlRecentItem5.PinButtonVisibility = DevExpress.XtraBars.Ribbon.RecentPinButtonVisibility.Never;
-            // 
-            // recentControlRecentItem6
-            // 
-            this.recentControlRecentItem6.Caption = "XLS File";
-            this.recentControlRecentItem6.Description = "Microsoft Excel 2000-2003 Workbook";
-            this.recentControlRecentItem6.GlyphAlignment = DevExpress.XtraBars.Ribbon.RecentPinItemGlyphAlignment.Center;
-            this.recentControlRecentItem6.ImageOptions.ItemNormal.SvgImage = global::Hydro.WinfrmUI.Viewer.Properties.Resources.Action_Export_ToXls;
-            this.recentControlRecentItem6.Name = "recentControlRecentItem6";
-            this.recentControlRecentItem6.PinButtonVisibility = DevExpress.XtraBars.Ribbon.RecentPinButtonVisibility.Never;
-            // 
-            // recentControlRecentItem7
-            // 
-            this.recentControlRecentItem7.Caption = "XLSX File";
-            this.recentControlRecentItem7.Description = "Microsoft Excel 2007-2016 Workbook";
-            this.recentControlRecentItem7.GlyphAlignment = DevExpress.XtraBars.Ribbon.RecentPinItemGlyphAlignment.Center;
-            this.recentControlRecentItem7.ImageOptions.ItemNormal.SvgImage = global::Hydro.WinfrmUI.Viewer.Properties.Resources.Action_Export_ToXLSX;
-            this.recentControlRecentItem7.Name = "recentControlRecentItem7";
-            this.recentControlRecentItem7.PinButtonVisibility = DevExpress.XtraBars.Ribbon.RecentPinButtonVisibility.Never;
-            // 
-            // recentControlRecentItem8
-            // 
-            this.recentControlRecentItem8.Caption = "CSV File";
-            this.recentControlRecentItem8.Description = "Comma-Separated Values Text";
-            this.recentControlRecentItem8.GlyphAlignment = DevExpress.XtraBars.Ribbon.RecentPinItemGlyphAlignment.Center;
-            this.recentControlRecentItem8.ImageOptions.ItemNormal.SvgImage = global::Hydro.WinfrmUI.Viewer.Properties.Resources.Action_Export_ToCSV;
-            this.recentControlRecentItem8.Name = "recentControlRecentItem8";
-            this.recentControlRecentItem8.PinButtonVisibility = DevExpress.XtraBars.Ribbon.RecentPinButtonVisibility.Never;
-            // 
-            // recentControlRecentItem9
-            // 
-            this.recentControlRecentItem9.Caption = "Text File";
-            this.recentControlRecentItem9.Description = "Plain Text";
-            this.recentControlRecentItem9.GlyphAlignment = DevExpress.XtraBars.Ribbon.RecentPinItemGlyphAlignment.Center;
-            this.recentControlRecentItem9.ImageOptions.ItemNormal.SvgImage = global::Hydro.WinfrmUI.Viewer.Properties.Resources.Action_Export_ToText;
-            this.recentControlRecentItem9.Name = "recentControlRecentItem9";
-            this.recentControlRecentItem9.PinButtonVisibility = DevExpress.XtraBars.Ribbon.RecentPinButtonVisibility.Never;
-            // 
-            // backstageViewTabItem3
-            // 
-            this.backstageViewTabItem3.Caption = "Open";
-            this.backstageViewTabItem3.ContentControl = this.backstageViewClientControl9;
-            this.backstageViewTabItem3.Name = "backstageViewTabItem3";
-            // 
-            // bvItemSave
-            // 
-            this.bvItemSave.Caption = "Save";
-            this.bvItemSave.Name = "bvItemSave";
-            this.bvItemSave.ItemClick += new DevExpress.XtraBars.Ribbon.BackstageViewItemEventHandler(this.bvItemSave_ItemClick);
-            // 
-            // backstageViewTabItem1
-            // 
-            this.backstageViewTabItem1.Caption = "Save As";
-            this.backstageViewTabItem1.ContentControl = this.backstageViewClientControl8;
-            this.backstageViewTabItem1.Name = "backstageViewTabItem1";
-            // 
-            // backstageViewTabItem4
-            // 
-            this.backstageViewTabItem4.Caption = "Export";
-            this.backstageViewTabItem4.ContentControl = this.backstageViewClientControl10;
-            this.backstageViewTabItem4.Name = "backstageViewTabItem4";
-            // 
-            // backstageViewTabItem6
-            // 
-            this.backstageViewTabItem6.Caption = "Help";
-            this.backstageViewTabItem6.ContentControl = this.backstageViewClientControl2;
-            this.backstageViewTabItem6.Name = "backstageViewTabItem6";
-            this.backstageViewTabItem6.Selected = true;
-            // 
-            // bvItemClose
-            // 
-            this.bvItemClose.Caption = "Close";
-            this.bvItemClose.Name = "bvItemClose";
-            this.bvItemClose.ItemClick += new DevExpress.XtraBars.Ribbon.BackstageViewItemEventHandler(this.bvItemClose_ItemClick);
-            // 
-            // bvItemExit
-            // 
-            this.bvItemExit.Caption = "Exit";
-            this.bvItemExit.Name = "bvItemExit";
-            this.bvItemExit.ItemClick += new DevExpress.XtraBars.Ribbon.BackstageViewItemEventHandler(this.bvItemExit_ItemClick);
-            // 
             // printControl1
             // 
             this.printControl1.Dock = System.Windows.Forms.DockStyle.Fill;
@@ -2440,7 +1403,6 @@
             // backstageViewTabItem2
             // 
             this.backstageViewTabItem2.Caption = "Open";
-            this.backstageViewTabItem2.ContentControl = this.backstageViewClientControl8;
             this.backstageViewTabItem2.Name = "backstageViewTabItem2";
             // 
             // bvTabPrint
@@ -2457,26 +1419,12 @@
             this.backstageViewClientControl4.Size = new System.Drawing.Size(639, 539);
             this.backstageViewClientControl4.TabIndex = 3;
             // 
-            // ribbonPageGroup7
-            // 
-            this.ribbonPageGroup7.ItemLinks.Add(this.bbi计算);
-            this.ribbonPageGroup7.Name = "ribbonPageGroup7";
-            this.ribbonPageGroup7.Text = "ribbonPageGroup7";
-            // 
-            // bbi计算
-            // 
-            this.bbi计算.Caption = "计算";
-            this.bbi计算.Id = 485;
-            this.bbi计算.Name = "bbi计算";
-            this.bbi计算.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbi计算_ItemClick);
-            // 
             // frmMain
             // 
             this.AllowFormGlass = DevExpress.Utils.DefaultBoolean.False;
             this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
             this.ClientSize = new System.Drawing.Size(1318, 741);
-            this.Controls.Add(this.backstageViewControl1);
             this.Controls.Add(this.pccBottom);
             this.Controls.Add(this.pccAppMenu);
             this.Controls.Add(this.ribbonStatusBar1);
@@ -2490,8 +1438,7 @@
             this.StatusBar = this.ribbonStatusBar1;
             this.Text = "快速模型软件";
             this.Activated += new System.EventHandler(this.frmMain_Activated);
-            this.Closing += new System.ComponentModel.CancelEventHandler(this.frmMain_Closing);
-            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.frmMain_FormClosing);
+            this.Closing += new System.ComponentModel.CancelEventHandler(this.frmMain_Closing); 
             this.Load += new System.EventHandler(this.frmMain_Load);
             this.MdiChildActivate += new System.EventHandler(this.frmMain_MdiChildActivate);
             ((System.ComponentModel.ISupportInitialize)(this.gddFont)).EndInit();
@@ -2517,46 +1464,6 @@
             ((System.ComponentModel.ISupportInitialize)(this.xtraTabbedMdiManager1)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.pmMain)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.imageCollection3)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.backstageViewControl1)).EndInit();
-            this.backstageViewControl1.ResumeLayout(false);
-            this.backstageViewClientControl11.ResumeLayout(false);
-            ((System.ComponentModel.ISupportInitialize)(this.recentControlPrint)).EndInit();
-            this.recentControlPrint.ResumeLayout(false);
-            this.recentPrintOptionsContainer.ResumeLayout(false);
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
-            this.layoutControl1.ResumeLayout(false);
-            ((System.ComponentModel.ISupportInitialize)(this.copySpinEdit.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.lciCopiesSpinEdit)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).EndInit();
-            this.recentPrintPreviewContainer.ResumeLayout(false);
-            ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit();
-            this.panelControl2.ResumeLayout(false);
-            ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).EndInit();
-            this.panelControl3.ResumeLayout(false);
-            this.panelControl3.PerformLayout();
-            ((System.ComponentModel.ISupportInitialize)(this.stackPanel1)).EndInit();
-            this.stackPanel1.ResumeLayout(false);
-            ((System.ComponentModel.ISupportInitialize)(this.zoomTextEdit.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.pageButtonEdit.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.zoomTrackBarControl1.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.zoomTrackBarControl1)).EndInit();
-            this.backstageViewClientControl2.ResumeLayout(false);
-            ((System.ComponentModel.ISupportInitialize)(this.recentItemControl1)).EndInit();
-            this.backstageViewClientControl9.ResumeLayout(false);
-            ((System.ComponentModel.ISupportInitialize)(this.recentOpen)).EndInit();
-            this.backstageViewClientControl8.ResumeLayout(false);
-            ((System.ComponentModel.ISupportInitialize)(this.recentSaveAs)).EndInit();
-            this.backstageViewClientControl10.ResumeLayout(false);
-            ((System.ComponentModel.ISupportInitialize)(this.recentControlExport)).EndInit();
             this.backstageViewClientControl4.ResumeLayout(false);
             this.ResumeLayout(false);
             this.PerformLayout();
@@ -2624,12 +1531,8 @@
         private DevExpress.XtraEditors.SimpleButton sbExit;
         private DevExpress.XtraBars.Ribbon.RibbonMiniToolbar selectionMiniToolbar;
         private BarButtonGroup editButtonGroup;
-        private DevExpress.XtraBars.Ribbon.BackstageViewControl backstageViewControl1;
         private DevExpress.XtraBars.Ribbon.BackstageViewClientControl backstageViewClientControl1;
         private DevExpress.XtraBars.Ribbon.BackstageViewClientControl backstageViewClientControl3;
-        private DevExpress.XtraBars.Ribbon.BackstageViewButtonItem bvItemSave;
-        private DevExpress.XtraBars.Ribbon.BackstageViewButtonItem bvItemClose;
-        private DevExpress.XtraBars.Ribbon.BackstageViewButtonItem bvItemExit;
         private DevExpress.XtraBars.Ribbon.BackstageViewClientControl backstageViewClientControl7;
         private BarEditItem beScheme;
         private DevExpress.XtraEditors.Repository.RepositoryItemComboBox repositoryItemComboBox1;
@@ -2641,92 +1544,13 @@
         private DevExpress.XtraEditors.Repository.RepositoryItemTrackBar repositoryItemTrackBar1;
         private BarButtonItem bbColorMix;
         private System.ComponentModel.IContainer components;
-        private DevExpress.XtraBars.Ribbon.BackstageViewClientControl backstageViewClientControl8;
-        private DevExpress.XtraBars.Ribbon.BackstageViewTabItem backstageViewTabItem1;
         private DevExpress.XtraBars.Ribbon.BackstageViewTabItem backstageViewTabItem2;
-        private DevExpress.XtraBars.Ribbon.BackstageViewClientControl backstageViewClientControl9;
-        private DevExpress.XtraBars.Ribbon.BackstageViewTabItem backstageViewTabItem3;
-        private DevExpress.XtraBars.Ribbon.BackstageViewClientControl backstageViewClientControl10;
-        private DevExpress.XtraBars.Ribbon.BackstageViewTabItem backstageViewTabItem4;
-        private DevExpress.XtraBars.Ribbon.RecentPinItem recentControlRecentItem1;
-        private DevExpress.XtraBars.Ribbon.RecentPinItem recentControlRecentItem2;
-        private DevExpress.XtraBars.Ribbon.RecentPinItem recentControlRecentItem4;
-        private DevExpress.XtraBars.Ribbon.RecentPinItem recentControlRecentItem5;
-        private DevExpress.XtraBars.Ribbon.RecentPinItem recentControlRecentItem6;
-        private DevExpress.XtraBars.Ribbon.RecentPinItem recentControlRecentItem7;
-        private DevExpress.XtraBars.Ribbon.RecentPinItem recentControlRecentItem8;
-        private DevExpress.XtraBars.Ribbon.RecentPinItem recentControlRecentItem9;
         private DevExpress.XtraBars.Ribbon.RecentPinItem recentControlRecentItem10;
         private DevExpress.XtraBars.Ribbon.RecentButtonItem recentControlButtonItem1;
-        private DevExpress.XtraBars.Ribbon.BackstageViewClientControl backstageViewClientControl11;
-        private DevExpress.XtraBars.Ribbon.RecentItemControl recentControlPrint;
-        private DevExpress.XtraBars.Ribbon.RecentControlItemControlContainer recentPrintOptionsContainer;
-        private DevExpress.XtraBars.Ribbon.RecentControlItemControlContainer recentPrintPreviewContainer;
-        private DevExpress.XtraBars.Ribbon.RecentControlContainerItem recentPrintOptions;
-        private DevExpress.XtraBars.Ribbon.RecentControlContainerItem recentPrintPreview;
  
         private DevExpress.XtraBars.Ribbon.BackstageViewTabItem bvTabPrint;
         private DevExpress.XtraBars.Ribbon.BackstageViewClientControl backstageViewClientControl4;
-        private DevExpress.XtraEditors.PanelControl panelControl2;
-        private DevExpress.XtraEditors.PanelControl panelControl3;
         private DevExpress.XtraPrinting.Control.PrintControl printControl1;
-        private DevExpress.XtraEditors.ZoomTrackBarControl zoomTrackBarControl1;
-        private DevExpress.XtraEditors.ButtonEdit pageButtonEdit;
-        private System.Windows.Forms.Panel panel2;
-        private DevExpress.XtraLayout.LayoutControl layoutControl1;
-        private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup1;
-        private DevExpress.XtraEditors.SimpleButton printButton;
-        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1;
-        private DevExpress.XtraEditors.SpinEdit copySpinEdit;
-        private DevExpress.XtraLayout.LayoutControlItem lciCopiesSpinEdit;
-        private BackstageViewLabel printerLabel;
-        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3;
-        private DevExpress.XtraEditors.TextEdit zoomTextEdit;
-        private DevExpress.XtraEditors.DropDownButton ddbPrinter;
-        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2;
-        private DevExpress.XtraBars.Ribbon.RecentItemControl recentOpen;
-        private DevExpress.XtraBars.Ribbon.RecentTabItem recentTabItem1;
-        private DevExpress.XtraBars.Ribbon.RecentTabItem recentTabItem2;
-        private DevExpress.XtraBars.Ribbon.RecentItemControl recentSaveAs;
-        private DevExpress.XtraBars.Ribbon.RecentTabItem recentTabItem3;
-        private DevExpress.XtraBars.Ribbon.RecentItemControl recentControlExport;
-        private DevExpress.XtraBars.Ribbon.RecentTabItem recentTabItem4;
-        private DevExpress.XtraBars.Ribbon.BackstageViewClientControl backstageViewClientControl2;
-        private DevExpress.XtraBars.Ribbon.RecentItemControl recentItemControl1;
-        private DevExpress.XtraBars.Ribbon.RecentPinItem recentPinItem2;
-        private DevExpress.XtraBars.Ribbon.RecentPinItem recentPinItem3;
-        private DevExpress.XtraBars.Ribbon.BackstageViewTabItem backstageViewTabItem6;
-        private DevExpress.XtraBars.Ribbon.RecentPinItem recentPinItem4;
-        private DevExpress.XtraBars.Ribbon.RecentLabelItem recentLabelItem1;
-        private DevExpress.XtraBars.Ribbon.RecentHyperlinkItem recentHyperlinkItem1;
-        private DevExpress.XtraBars.Ribbon.RecentLabelItem recentLabelItem2;
-        private DevExpress.XtraEditors.DropDownButton ddbDuplex;
-        private DevExpress.XtraEditors.DropDownButton ddbOrientation;
-        private DevExpress.XtraEditors.DropDownButton ddbPaperSize;
-        private DevExpress.XtraEditors.DropDownButton ddbMargins;
-        private DevExpress.XtraEditors.DropDownButton ddbCollate;
-        private BackstageViewLabel backstageViewLabel2;
-        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4;
-        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5;
-        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem6;
-        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem7;
-        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem8;
-        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem9;
-        private DevExpress.XtraPrinting.Control.PrintControl printControl2;
-        private RecentStackPanel recentStackPanel1;
-        private RecentStackPanel recentStackPanel2;
-        private RecentStackPanel recentStackPanel3;
-        private RecentStackPanel recentStackPanel4;
-        private RecentStackPanel recentStackPanel5;
-        private RecentStackPanel recentStackPanel6;
-        private RecentStackPanel recentStackPanel7;
-        private RecentStackPanel recentStackPanel8;
-        private RecentStackPanel recentStackPanel9;
-        private RecentStackPanel recentStackPanel10;
-        private RecentStackPanel recentStackPanel11;
-        private RecentStackPanel recentStackPanel12;
-        private RecentStackPanel recentStackPanel13;
-        private RecentStackPanel recentStackPanel14;
         private BarButtonItem barButtonItem1;
         private BarButtonItem biOnlineHelp;
         private BarButtonItem biGettingStarted;
@@ -2736,7 +1560,6 @@
         private BarButtonItem bbi新建节点;
         private RibbonPageGroup ribbonPageGroup5;
         private DevExpress.XtraEditors.Repository.RepositoryItemColorPickEdit repositoryItemColorPickEdit1;
-        private DevExpress.Utils.Layout.StackPanel stackPanel1;
         private BarButtonItem label_center;
         private BarButtonItem label_rotation;
         private BarButtonItem label_zoom;
diff --git a/WinfrmUI/Hydro.WinfrmUI.Viewer/frmMain.cs b/WinfrmUI/Hydro.WinfrmUI.Viewer/frmMain.cs
index 0ed1b82..87b1984 100644
--- a/WinfrmUI/Hydro.WinfrmUI.Viewer/frmMain.cs
+++ b/WinfrmUI/Hydro.WinfrmUI.Viewer/frmMain.cs
@@ -38,8 +38,8 @@
  
   
             UserLookAndFeel.Default.SetSkinStyle("Office 2019 Colorful");
-            Icon = DevExpress.Utils.ResourceImageHelper.CreateIconFromResourcesEx("Hydro.WinfrmUI.Viewer.AppIcon.ico", typeof(frmMain).Assembly);
-            this.recentLabelItem2.Caption = AssemblyInfo.AssemblyCopyright;
+ 
+ 
         }
 
         private void frmMain_Load(object sender, System.EventArgs e)
@@ -368,243 +368,9 @@
         }
  
  
-        #region GalleryItemsChecked
-
-        GalleryItem GetColorItemByColor(Color color, BaseGallery gallery)
-        {
-            foreach (GalleryItemGroup galleryGroup in gallery.Groups)
-                foreach (GalleryItem item in galleryGroup.Items)
-                    if (item.Caption == color.Name)
-                        return item;
-            return null;
-        }
-        GalleryItem GetFontItemByFont(string fontName, BaseGallery gallery)
-        {
-            foreach (GalleryItemGroup galleryGroup in gallery.Groups)
-                foreach (GalleryItem item in galleryGroup.Items)
-                    if (item.Caption == fontName)
-                        return item;
-            return null;
-        }
-        GalleryItem CurrentFontItem
-        {
-            get { return fCurrentFontItem; }
-            set
-            {
-                if (fCurrentFontItem == value) return;
-                if (fCurrentFontItem != null) fCurrentFontItem.Checked = false;
-                fCurrentFontItem = value;
-                if (fCurrentFontItem != null)
-                {
-                    fCurrentFontItem.Checked = true;
-                    MakeFontVisible(fCurrentFontItem);
-                }
-            }
-        }
-        void MakeFontVisible(GalleryItem item)
-        {
-            gddFont.Gallery.MakeVisible(fCurrentFontItem);
-            rgbiFont.Gallery.MakeVisible(fCurrentFontItem);
-        }
-        GalleryItem CurrentColorItem
-        {
-            get { return fCurrentColorItem; }
-            set
-            {
-                if (fCurrentColorItem == value) return;
-                if (fCurrentColorItem != null) fCurrentColorItem.Checked = false;
-                fCurrentColorItem = value;
-                if (fCurrentColorItem != null)
-                {
-                    fCurrentColorItem.Checked = true;
-                    MakeColorVisible(fCurrentColorItem);
-                }
-            }
-        }
-        void MakeColorVisible(GalleryItem item)
-        {
-            gddFontColor.Gallery.MakeVisible(fCurrentColorItem);
-            rgbiFontColor.Gallery.MakeVisible(fCurrentColorItem);
-        }
-        void CurrentFontChanged()
-        {
-
-        }
-        private void gddFont_Popup(object sender, System.EventArgs e)
-        {
-
-        }
-
-        private void gddFontColor_Popup(object sender, System.EventArgs e)
-        {
-            MakeColorVisible(CurrentColorItem);
-        }
-        #endregion
-     
+    
         
-        #region MostRecentFiles
  
-
-        private void frmMain_FormClosing(object sender, FormClosingEventArgs e)
-        {
- 
-        }
- 
-
-        public void InitFiles(string fileName, string defaultItem, bool isFile)
-        {
-            if (!System.IO.File.Exists(fileName))
-            {
-                StartInitFiles(isFile);
-                EndInitFiles(isFile);
-                //InsertElement(defaultItem, isFile);
-                return;
-            }
-            System.IO.StreamReader sr = System.IO.File.OpenText(fileName);
-            List<string> list = new List<string>();
-            for (string s = sr.ReadLine(); s != null; s = sr.ReadLine())
-                list.Add(s);
-            for (int i = 0; i < list.Count; i++)
-            {
-                InsertElement(list[i], isFile);
-            }
-            sr.Close();
-            if (!isFile) CreateButtonBrowse();
-        }
-
-        int FindFirstUnCheckedIntemIndex(RecentPanelBase recentPanelBase)
-        {
-            for (int i = 0; i < recentPanelBase.Items.Count; i++)
-            {
-                RecentPinItem pinItem = recentPanelBase.Items[i] as RecentPinItem;
-                if (pinItem == null) continue;
-                if (!pinItem.PinButtonChecked) return i;
-            }
-            return 0;
-        }
-        void InsertElement(object obj, bool isFile)
-        {
-            string[] names = obj.ToString().Split(',');
-            string _name = names[0];
-            bool checkedLabel = false;
-            if (names.Length > 1) checkedLabel = names[1].ToLower().Equals("true");
-            if (isFile)
-            {
-                RecentPinItem pinItem = new RecentPinItem() { Caption = GetFileName(_name), Description = _name, PinButtonChecked = checkedLabel };
-                recentTabItem1.TabPanel.Items.Add(pinItem);
-            }
-            else
-            {
-                RecentPinItem pinItem = new RecentPinItem() { Caption = GetFileName(_name), Description = _name, PinButtonChecked = checkedLabel };
-                RecentPinItem pinItem_ = new RecentPinItem() { Caption = GetFileName(_name), Description = _name, PinButtonChecked = checkedLabel };
-                recentTabItem2.TabPanel.Items.Add(pinItem);
-                recentTabItem3.TabPanel.Items.Add(pinItem_);
-            }
-        }
-        void CreateButtonBrowse()
-        {
-            RecentHyperlinkItem hyperlinkBrowse = new RecentHyperlinkItem() { Caption = "Browse..."/*, Link = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments) */};
-            recentTabItem2.TabPanel.Items.Add(hyperlinkBrowse);
-            hyperlinkBrowse.ItemClick += hyperlinkBrowse_ItemClick;
-            RecentHyperlinkItem hyperlinkBrowse1 = new RecentHyperlinkItem() { Caption = "Browse..."/*, Link = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments) */};
-            recentTabItem3.TabPanel.Items.Add(hyperlinkBrowse1);
-            hyperlinkBrowse1.ItemClick += hyperlinkBrowse_ItemClick;
-        }
-
-        void hyperlinkBrowse_ItemClick(object sender, RecentItemEventArgs e)
-        {
-            SaveAs();
-        }
-        private void EndInitFiles(bool isFile)
-        {
-            if (isFile) InitDefaultFiles();
-            else InitDefaultFolders();
-            if (!isFile) CreateButtonBrowse();
-        }
-        private void StartInitFiles(bool isFile)
-        {
-            if (!isFile) InitStartDefaultFolders();
-        }
-        private void InitStartDefaultFolders()
-        {
-            RecentPinItem desktop = new RecentPinItem() { Caption = "Desktop", Description = Environment.GetFolderPath(Environment.SpecialFolder.Desktop).ToString(), PinButtonChecked = true, ShowDescription = false };
-            RecentPinItem desktop_ = new RecentPinItem() { Caption = "Desktop", Description = Environment.GetFolderPath(Environment.SpecialFolder.Desktop).ToString(), PinButtonChecked = true, ShowDescription = false };
-            recentTabItem2.TabPanel.Items.Add(desktop);
-            recentTabItem3.TabPanel.Items.Add(desktop_);
-            RecentSeparatorItem separator = new RecentSeparatorItem();
-            RecentSeparatorItem separator_ = new RecentSeparatorItem();
-            recentTabItem2.TabPanel.Items.Add(separator);
-            recentTabItem3.TabPanel.Items.Add(separator_);
-        }
-        private void InitDefaultFolders()
-        {
-            RecentPinItem item1 = new RecentPinItem() { Caption = "MyDocuments", Description = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments).ToString() };
-            RecentPinItem item1_ = new RecentPinItem() { Caption = "MyDocuments", Description = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments).ToString() };
-            recentTabItem2.TabPanel.Items.Add(item1);
-            recentTabItem3.TabPanel.Items.Add(item1_);
-
-            RecentPinItem item7 = new RecentPinItem() { Caption = "Saved HTML Articles", Description = "D:\\Personal\\Saved HTML Articles" };
-            RecentPinItem item7_ = new RecentPinItem() { Caption = "Saved HTML Articles", Description = "D:\\Personal\\Saved HTML Articles" };
-            recentTabItem2.TabPanel.Items.Add(item7);
-            recentTabItem3.TabPanel.Items.Add(item7_);
-
-            RecentPinItem item3 = new RecentPinItem() { Caption = "Tutorials", Description = "C:\\Program Files x86\\DevExpress 15.2\\Tutorials" };
-            RecentPinItem item3_ = new RecentPinItem() { Caption = "Tutorials", Description = "C:\\Program Files x86\\DevExpress 15.2\\Tutorials" };
-            recentTabItem2.TabPanel.Items.Add(item3);
-            recentTabItem3.TabPanel.Items.Add(item3_);
-
-            RecentPinItem item2 = new RecentPinItem() { Caption = "Products", Description = "C:\\DevExpress\\Products" };
-            RecentPinItem item2_ = new RecentPinItem() { Caption = "Products", Description = "C:\\DevExpress\\Products" };
-            recentTabItem2.TabPanel.Items.Add(item2);
-            recentTabItem3.TabPanel.Items.Add(item2_);
-
-            RecentPinItem item8 = new RecentPinItem() { Caption = "Win Forms", Description = "C:\\DevExpress\\Products\\Win Forms" };
-            RecentPinItem item8_ = new RecentPinItem() { Caption = "Win Forms", Description = "C:\\DevExpress\\Products\\Win Forms" };
-            recentTabItem2.TabPanel.Items.Add(item8);
-            recentTabItem3.TabPanel.Items.Add(item8_);
-
-            RecentPinItem item9 = new RecentPinItem() { Caption = "Controls", Description = "C:\\DevExpress\\Products\\Win Forms\\Controls" };
-            RecentPinItem item9_ = new RecentPinItem() { Caption = "Controls", Description = "C:\\DevExpress\\Products\\Win Forms\\Controls" };
-            recentTabItem2.TabPanel.Items.Add(item9);
-            recentTabItem3.TabPanel.Items.Add(item9_);
-        }
-        private void InitDefaultFiles()
-        {
-            RecentPinItem item1 = new RecentPinItem() { Caption = "Windows 10 GuideLines.doc", Description = "D:\\Personal\\Saved HTML Articles" };
-            recentTabItem1.TabPanel.Items.Add(item1);
-            RecentPinItem item2 = new RecentPinItem() { Caption = "Web Site Usability.doc", Description = "C:\\Users\\Default\\Documents" };
-            recentTabItem1.TabPanel.Items.Add(item2);
-            RecentPinItem item3 = new RecentPinItem() { Caption = "Getting Started.pdf", Description = "C:\\Program Files x86\\DevExpress 15.2\\Tutorials" };
-            recentTabItem1.TabPanel.Items.Add(item3);
-            RecentPinItem item4 = new RecentPinItem() { Caption = "Office 2013 features.docx", Description = "C:\\DevExpress\\Products\\Win Forms" };
-            recentTabItem1.TabPanel.Items.Add(item4);
-            RecentPinItem item5 = new RecentPinItem() { Caption = "WinForms Webinar.pdf", Description = "C:\\DevExpress\\Webinars" };
-            recentTabItem1.TabPanel.Items.Add(item5);
-        }
-        string GetFileName(object obj)
-        {
-            FileInfo fi = new FileInfo(obj.ToString());
-            return fi.Name;
-        }
-        void recentControlOpen_ItemClick(object sender, RecentItemEventArgs e)
-        {
- 
-        }
-
-        private void recentControlSave_ItemClick(object sender, RecentItemEventArgs e)
-        {
-            ribbonControl1.HideApplicationButtonContentControl();
-            RecentPinItem recentItem = e.Item as RecentPinItem;
-            if (recentTabItem3.TabPanel.Items.Contains(e.Item))
-            {
-                //if (recentItem != null)
-                //    SaveAs(recentItem.Description);
-            }
-        }
- 
-
-        #endregion
-
         private void ribbonControl1_ApplicationButtonDoubleClick(object sender, EventArgs e)
         {
             if (ribbonControl1.RibbonStyle == RibbonControlStyle.Office2007)

--
Gitblit v1.9.3