/// <summary> /// Show a print preview document for a <see cref="GridControl"/> and adds a standard header. /// </summary> /// <param name="title">Document title.</param> /// <param name="grid">Grid control.</param> public void PrintPreview(string title, DevExpress.XtraPrinting.Preview.DocumentViewer docViewer, DevExpress.XtraGrid.GridControl grid) { if (grid == null) { return; } PrintableComponentLink link = new PrintableComponentLink(new DevExpress.XtraPrinting.PrintingSystem()); link.Component = grid; link.Images.Add(Properties.Resources.IMG_LOGO_PRINT); PageHeaderFooter phf = link.PageHeaderFooter as PageHeaderFooter; phf.Header.Font = new System.Drawing.Font("Segoe UI", 12, System.Drawing.FontStyle.Bold); phf.Header.Content.Clear(); phf.Header.Content.AddRange(new string[] { title, "", "[Image 0]" }); phf.Header.LineAlignment = BrickAlignment.Center; phf.Footer.Font = new System.Drawing.Font("Segoe UI", 10, System.Drawing.FontStyle.Regular); phf.Footer.Content.Clear(); phf.Footer.Content.AddRange(new string[] { "[Date Printed] [Time Printed]", "", "Page [Page # of Pages #]" }); phf.Footer.LineAlignment = BrickAlignment.Center; PrintingSystem ps = new PrintingSystem(); ps.Links.Add(link); link.CreateDocument(); docViewer.DocumentSource = ps; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmViewBill)); this.ppstView = new DevExpress.XtraPrinting.Preview.PrintPreviewSubItem(); this.ppstPageLayout = new DevExpress.XtraPrinting.Preview.PrintPreviewSubItem(); this.ppbtPageLayoutFacing = new DevExpress.XtraPrinting.Preview.PrintPreviewBarItem(); this.ppbtPageLayoutContinuous = new DevExpress.XtraPrinting.Preview.PrintPreviewBarItem(); this.barToolbarsListItem = new DevExpress.XtraBars.BarToolbarsListItem(); this.ppstFile = new DevExpress.XtraPrinting.Preview.PrintPreviewSubItem(); this.ppbtPageSetup = new DevExpress.XtraPrinting.Preview.PrintPreviewBarItem(); this.ppbtPrint = new DevExpress.XtraPrinting.Preview.PrintPreviewBarItem(); this.ppbtPrintDirect = new DevExpress.XtraPrinting.Preview.PrintPreviewBarItem(); this.ppbtExportFile = new DevExpress.XtraPrinting.Preview.PrintPreviewBarItem(); this.ppbtSendFile = new DevExpress.XtraPrinting.Preview.PrintPreviewBarItem(); this.ppbtClosePreview = new DevExpress.XtraPrinting.Preview.PrintPreviewBarItem(); this.pptsBackGround = new DevExpress.XtraPrinting.Preview.PrintPreviewSubItem(); this.prvbTop = new DevExpress.XtraPrinting.Preview.PreviewBar(); this.progressBarEditItem = new DevExpress.XtraPrinting.Preview.ProgressBarEditItem(); this.repositoryItemProgressBar = new DevExpress.XtraEditors.Repository.RepositoryItemProgressBar(); this.repositoryItemZoomTrackBar = new DevExpress.XtraEditors.Repository.RepositoryItemZoomTrackBar(); this.barStaticItem = new DevExpress.XtraBars.BarStaticItem(); this.ppbctStopPageBuilding = new DevExpress.XtraPrinting.Preview.PrintPreviewBarItem(); this.zoomTrackBarEditItem = new DevExpress.XtraPrinting.Preview.ZoomTrackBarEditItem(); this.barButtonItem = new DevExpress.XtraBars.BarButtonItem(); this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl(); this.ppstNoBorder = new DevExpress.XtraPrinting.Preview.PrintPreviewStaticItem(); this.ppbctSendMht = new DevExpress.XtraPrinting.Preview.PrintPreviewBarCheckItem(); this.barDockControlRight = new DevExpress.XtraBars.BarDockControl(); this.ppbctSendPdf = new DevExpress.XtraPrinting.Preview.PrintPreviewBarCheckItem(); this.ppbctSendRtf = new DevExpress.XtraPrinting.Preview.PrintPreviewBarCheckItem(); this.ppbctExportGraphic = new DevExpress.XtraPrinting.Preview.PrintPreviewBarCheckItem(); this.ppbctSendTxt = new DevExpress.XtraPrinting.Preview.PrintPreviewBarCheckItem(); this.ppbctSendXls = new DevExpress.XtraPrinting.Preview.PrintPreviewBarCheckItem(); this.ppbctSendCsv = new DevExpress.XtraPrinting.Preview.PrintPreviewBarCheckItem(); this.ppbctExportTxt = new DevExpress.XtraPrinting.Preview.PrintPreviewBarCheckItem(); this.ppbctSendXlsx = new DevExpress.XtraPrinting.Preview.PrintPreviewBarCheckItem(); this.ppbctExportCsv = new DevExpress.XtraPrinting.Preview.PrintPreviewBarCheckItem(); this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl(); this.ppbctExportPdf = new DevExpress.XtraPrinting.Preview.PrintPreviewBarCheckItem(); this.ppbctExportHtm = new DevExpress.XtraPrinting.Preview.PrintPreviewBarCheckItem(); this.barDockControlTop = new DevExpress.XtraBars.BarDockControl(); this.ppbctExportXlsx = new DevExpress.XtraPrinting.Preview.PrintPreviewBarCheckItem(); this.ppbctExportMht = new DevExpress.XtraPrinting.Preview.PrintPreviewBarCheckItem(); this.ppbctExportXls = new DevExpress.XtraPrinting.Preview.PrintPreviewBarCheckItem(); this.ppstNothing = new DevExpress.XtraPrinting.Preview.PrintPreviewStaticItem(); this.ppbctExportRtf = new DevExpress.XtraPrinting.Preview.PrintPreviewBarCheckItem(); this.ppbtMap = new DevExpress.XtraPrinting.Preview.PrintPreviewBarItem(); this.previewBar = new DevExpress.XtraPrinting.Preview.PreviewBar(); this.ppbtParameters = new DevExpress.XtraPrinting.Preview.PrintPreviewBarItem(); this.prbToolbar = new DevExpress.XtraPrinting.Preview.PreviewBar(); this.ppbtSearch = new DevExpress.XtraPrinting.Preview.PrintPreviewBarItem(); this.ppbtCustomize = new DevExpress.XtraPrinting.Preview.PrintPreviewBarItem(); this.ppbtOpen = new DevExpress.XtraPrinting.Preview.PrintPreviewBarItem(); this.ppbtSave = new DevExpress.XtraPrinting.Preview.PrintPreviewBarItem(); this.ppbtHeaderAndFooter = new DevExpress.XtraPrinting.Preview.PrintPreviewBarItem(); this.ppbtScale = new DevExpress.XtraPrinting.Preview.PrintPreviewBarItem(); this.ppbtHandTool = new DevExpress.XtraPrinting.Preview.PrintPreviewBarItem(); this.ppbtMagnifier = new DevExpress.XtraPrinting.Preview.PrintPreviewBarItem(); this.ppbtZoomOut = new DevExpress.XtraPrinting.Preview.PrintPreviewBarItem(); this.ppbtZoom = new DevExpress.XtraPrinting.Preview.ZoomBarEditItem(); this.printPreviewRepositoryItemComboBox = new DevExpress.XtraPrinting.Preview.PrintPreviewRepositoryItemComboBox(); this.ppbtZoomIn = new DevExpress.XtraPrinting.Preview.PrintPreviewBarItem(); this.ppbtShowFirstPage = new DevExpress.XtraPrinting.Preview.PrintPreviewBarItem(); this.ppbtShowPrevPage = new DevExpress.XtraPrinting.Preview.PrintPreviewBarItem(); this.ppbtShowNextPage = new DevExpress.XtraPrinting.Preview.PrintPreviewBarItem(); this.ppbtShowLastPage = new DevExpress.XtraPrinting.Preview.PrintPreviewBarItem(); this.ppbtMultiplePages = new DevExpress.XtraPrinting.Preview.PrintPreviewBarItem(); this.docMgDeliveryNote = new DevExpress.XtraPrinting.Preview.DocumentViewerBarManager(this.components); this.docDeliveryNoteView = new DevExpress.XtraPrinting.Preview.DocumentViewer(); this.ppbctSendGraphic = new DevExpress.XtraPrinting.Preview.PrintPreviewBarCheckItem(); this.panDeliveryNoteTitles = new DevExpress.XtraEditors.PanelControl(); this.labDeliveryNoteTitle = new DevExpress.XtraEditors.LabelControl(); this.panSurvivalView = new DevExpress.XtraEditors.PanelControl(); this.pnBottom = new DevExpress.XtraEditors.PanelControl(); this.btnClose = new DevExpress.XtraEditors.SimpleButton(); this.btnPrint = new DevExpress.XtraEditors.SimpleButton(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemProgressBar)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemZoomTrackBar)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.printPreviewRepositoryItemComboBox)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.docMgDeliveryNote)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.panDeliveryNoteTitles)).BeginInit(); this.panDeliveryNoteTitles.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.panSurvivalView)).BeginInit(); this.panSurvivalView.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pnBottom)).BeginInit(); this.pnBottom.SuspendLayout(); this.SuspendLayout(); // // ppstView // this.ppstView.Caption = "&View"; this.ppstView.Command = DevExpress.XtraPrinting.PrintingSystemCommand.View; this.ppstView.Id = 34; this.ppstView.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.ppstPageLayout, true), new DevExpress.XtraBars.LinkPersistInfo(this.barToolbarsListItem, true)}); this.ppstView.Name = "ppstView"; // // ppstPageLayout // this.ppstPageLayout.Caption = "&Page Layout"; this.ppstPageLayout.Command = DevExpress.XtraPrinting.PrintingSystemCommand.PageLayout; this.ppstPageLayout.Id = 36; this.ppstPageLayout.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.ppbtPageLayoutFacing), new DevExpress.XtraBars.LinkPersistInfo(this.ppbtPageLayoutContinuous)}); this.ppstPageLayout.Name = "ppstPageLayout"; // // ppbtPageLayoutFacing // this.ppbtPageLayoutFacing.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.Check; this.ppbtPageLayoutFacing.Caption = "&Facing"; this.ppbtPageLayoutFacing.Command = DevExpress.XtraPrinting.PrintingSystemCommand.PageLayoutFacing; this.ppbtPageLayoutFacing.Enabled = false; this.ppbtPageLayoutFacing.GroupIndex = 100; this.ppbtPageLayoutFacing.Id = 37; this.ppbtPageLayoutFacing.Name = "ppbtPageLayoutFacing"; // // ppbtPageLayoutContinuous // this.ppbtPageLayoutContinuous.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.Check; this.ppbtPageLayoutContinuous.Caption = "&Continuous"; this.ppbtPageLayoutContinuous.Command = DevExpress.XtraPrinting.PrintingSystemCommand.PageLayoutContinuous; this.ppbtPageLayoutContinuous.Enabled = false; this.ppbtPageLayoutContinuous.GroupIndex = 100; this.ppbtPageLayoutContinuous.Id = 38; this.ppbtPageLayoutContinuous.Name = "ppbtPageLayoutContinuous"; // // barToolbarsListItem // this.barToolbarsListItem.Caption = "Bars"; this.barToolbarsListItem.Id = 39; this.barToolbarsListItem.Name = "barToolbarsListItem"; // // ppstFile // this.ppstFile.Caption = "&File"; this.ppstFile.Command = DevExpress.XtraPrinting.PrintingSystemCommand.File; this.ppstFile.Id = 33; this.ppstFile.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.ppbtPageSetup), new DevExpress.XtraBars.LinkPersistInfo(this.ppbtPrint), new DevExpress.XtraBars.LinkPersistInfo(this.ppbtPrintDirect), new DevExpress.XtraBars.LinkPersistInfo(this.ppbtExportFile, true), new DevExpress.XtraBars.LinkPersistInfo(this.ppbtSendFile), new DevExpress.XtraBars.LinkPersistInfo(this.ppbtClosePreview, true)}); this.ppstFile.Name = "ppstFile"; // // ppbtPageSetup // this.ppbtPageSetup.Caption = "Page Set&up..."; this.ppbtPageSetup.Command = DevExpress.XtraPrinting.PrintingSystemCommand.PageSetup; this.ppbtPageSetup.Enabled = false; this.ppbtPageSetup.Hint = "Page Setup"; this.ppbtPageSetup.Id = 15; this.ppbtPageSetup.ImageIndex = 2; this.ppbtPageSetup.Name = "ppbtPageSetup"; // // ppbtPrint // this.ppbtPrint.Caption = "&Print..."; this.ppbtPrint.Command = DevExpress.XtraPrinting.PrintingSystemCommand.Print; this.ppbtPrint.Enabled = false; this.ppbtPrint.Hint = "Print"; this.ppbtPrint.Id = 13; this.ppbtPrint.ImageIndex = 0; this.ppbtPrint.Name = "ppbtPrint"; // // ppbtPrintDirect // this.ppbtPrintDirect.Caption = "P&rint"; this.ppbtPrintDirect.Command = DevExpress.XtraPrinting.PrintingSystemCommand.PrintDirect; this.ppbtPrintDirect.Enabled = false; this.ppbtPrintDirect.Hint = "Quick Print"; this.ppbtPrintDirect.Id = 14; this.ppbtPrintDirect.ImageIndex = 1; this.ppbtPrintDirect.Name = "ppbtPrintDirect"; // // ppbtExportFile // this.ppbtExportFile.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown; this.ppbtExportFile.Caption = "Export Document..."; this.ppbtExportFile.Command = DevExpress.XtraPrinting.PrintingSystemCommand.ExportFile; this.ppbtExportFile.Enabled = false; this.ppbtExportFile.Hint = "Export Document..."; this.ppbtExportFile.Id = 30; this.ppbtExportFile.ImageIndex = 18; this.ppbtExportFile.Name = "ppbtExportFile"; // // ppbtSendFile // this.ppbtSendFile.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown; this.ppbtSendFile.Caption = "Send via E-Mail..."; this.ppbtSendFile.Command = DevExpress.XtraPrinting.PrintingSystemCommand.SendFile; this.ppbtSendFile.Enabled = false; this.ppbtSendFile.Hint = "Send via E-Mail..."; this.ppbtSendFile.Id = 31; this.ppbtSendFile.ImageIndex = 17; this.ppbtSendFile.Name = "ppbtSendFile"; // // ppbtClosePreview // this.ppbtClosePreview.Caption = "E&xit"; this.ppbtClosePreview.Command = DevExpress.XtraPrinting.PrintingSystemCommand.ClosePreview; this.ppbtClosePreview.Enabled = false; this.ppbtClosePreview.Hint = "Close Preview"; this.ppbtClosePreview.Id = 32; this.ppbtClosePreview.ImageIndex = 13; this.ppbtClosePreview.Name = "ppbtClosePreview"; // // pptsBackGround // this.pptsBackGround.Caption = "&Background"; this.pptsBackGround.Command = DevExpress.XtraPrinting.PrintingSystemCommand.Background; this.pptsBackGround.Id = 35; this.pptsBackGround.Name = "pptsBackGround"; // // prvbTop // this.prvbTop.BarName = "Main Menu"; this.prvbTop.DockCol = 0; this.prvbTop.DockRow = 0; this.prvbTop.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; this.prvbTop.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.ppstFile), new DevExpress.XtraBars.LinkPersistInfo(this.ppstView), new DevExpress.XtraBars.LinkPersistInfo(this.pptsBackGround)}); this.prvbTop.OptionsBar.MultiLine = true; this.prvbTop.OptionsBar.UseWholeRow = true; this.prvbTop.Text = "Main Menu"; // // progressBarEditItem // this.progressBarEditItem.Edit = this.repositoryItemProgressBar; this.progressBarEditItem.EditHeight = 12; this.progressBarEditItem.Id = 2; this.progressBarEditItem.Name = "progressBarEditItem"; this.progressBarEditItem.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; this.progressBarEditItem.Width = 150; // // repositoryItemProgressBar // this.repositoryItemProgressBar.Name = "repositoryItemProgressBar"; // // repositoryItemZoomTrackBar // this.repositoryItemZoomTrackBar.Alignment = DevExpress.Utils.VertAlignment.Center; this.repositoryItemZoomTrackBar.AllowFocused = false; this.repositoryItemZoomTrackBar.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.repositoryItemZoomTrackBar.Maximum = 180; this.repositoryItemZoomTrackBar.Middle = 5; this.repositoryItemZoomTrackBar.Name = "repositoryItemZoomTrackBar"; this.repositoryItemZoomTrackBar.ScrollThumbStyle = DevExpress.XtraEditors.Repository.ScrollThumbStyle.ArrowDownRight; // // barStaticItem // this.barStaticItem.Border = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.barStaticItem.Id = 1; this.barStaticItem.Name = "barStaticItem"; this.barStaticItem.TextAlignment = System.Drawing.StringAlignment.Near; this.barStaticItem.Visibility = DevExpress.XtraBars.BarItemVisibility.OnlyInRuntime; // // ppbctStopPageBuilding // this.ppbctStopPageBuilding.Caption = "Stop"; this.ppbctStopPageBuilding.Command = DevExpress.XtraPrinting.PrintingSystemCommand.StopPageBuilding; this.ppbctStopPageBuilding.Enabled = false; this.ppbctStopPageBuilding.Hint = "Stop"; this.ppbctStopPageBuilding.Id = 3; this.ppbctStopPageBuilding.Name = "ppbctStopPageBuilding"; this.ppbctStopPageBuilding.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; // // zoomTrackBarEditItem // this.zoomTrackBarEditItem.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right; this.zoomTrackBarEditItem.Edit = this.repositoryItemZoomTrackBar; this.zoomTrackBarEditItem.EditValue = 90; this.zoomTrackBarEditItem.Enabled = false; this.zoomTrackBarEditItem.Id = 6; this.zoomTrackBarEditItem.Name = "zoomTrackBarEditItem"; this.zoomTrackBarEditItem.Range = new int[] { 10, 500}; this.zoomTrackBarEditItem.Width = 140; // // barButtonItem // this.barButtonItem.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Left; this.barButtonItem.Enabled = false; this.barButtonItem.Id = 4; this.barButtonItem.Name = "barButtonItem"; this.barButtonItem.Visibility = DevExpress.XtraBars.BarItemVisibility.OnlyInRuntime; // // barDockControlLeft // this.barDockControlLeft.CausesValidation = false; this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left; this.barDockControlLeft.Location = new System.Drawing.Point(0, 51); this.barDockControlLeft.Size = new System.Drawing.Size(0, 438); // // ppstNoBorder // this.ppstNoBorder.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right; this.ppstNoBorder.Border = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.ppstNoBorder.Caption = "100%"; this.ppstNoBorder.Id = 5; this.ppstNoBorder.Name = "ppstNoBorder"; this.ppstNoBorder.TextAlignment = System.Drawing.StringAlignment.Far; this.ppstNoBorder.Type = "ZoomFactor"; this.ppstNoBorder.Width = 40; // // ppbctSendMht // this.ppbctSendMht.Caption = "MHT File"; this.ppbctSendMht.Command = DevExpress.XtraPrinting.PrintingSystemCommand.SendMht; this.ppbctSendMht.Enabled = false; this.ppbctSendMht.GroupIndex = 1; this.ppbctSendMht.Hint = "MHT File"; this.ppbctSendMht.Id = 50; this.ppbctSendMht.Name = "ppbctSendMht"; // // barDockControlRight // this.barDockControlRight.CausesValidation = false; this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right; this.barDockControlRight.Location = new System.Drawing.Point(856, 51); this.barDockControlRight.Size = new System.Drawing.Size(0, 438); // // ppbctSendPdf // this.ppbctSendPdf.BindableChecked = true; this.ppbctSendPdf.Caption = "PDF File"; this.ppbctSendPdf.Checked = true; this.ppbctSendPdf.Command = DevExpress.XtraPrinting.PrintingSystemCommand.SendPdf; this.ppbctSendPdf.Enabled = false; this.ppbctSendPdf.GroupIndex = 1; this.ppbctSendPdf.Hint = "PDF File"; this.ppbctSendPdf.Id = 49; this.ppbctSendPdf.Name = "ppbctSendPdf"; // // ppbctSendRtf // this.ppbctSendRtf.Caption = "RTF File"; this.ppbctSendRtf.Command = DevExpress.XtraPrinting.PrintingSystemCommand.SendRtf; this.ppbctSendRtf.Enabled = false; this.ppbctSendRtf.GroupIndex = 1; this.ppbctSendRtf.Hint = "RTF File"; this.ppbctSendRtf.Id = 51; this.ppbctSendRtf.Name = "ppbctSendRtf"; // // ppbctExportGraphic // this.ppbctExportGraphic.Caption = "Image File"; this.ppbctExportGraphic.Command = DevExpress.XtraPrinting.PrintingSystemCommand.ExportGraphic; this.ppbctExportGraphic.Enabled = false; this.ppbctExportGraphic.GroupIndex = 2; this.ppbctExportGraphic.Hint = "Image File"; this.ppbctExportGraphic.Id = 48; this.ppbctExportGraphic.Name = "ppbctExportGraphic"; // // ppbctSendTxt // this.ppbctSendTxt.Caption = "Text File"; this.ppbctSendTxt.Command = DevExpress.XtraPrinting.PrintingSystemCommand.SendTxt; this.ppbctSendTxt.Enabled = false; this.ppbctSendTxt.GroupIndex = 1; this.ppbctSendTxt.Hint = "Text File"; this.ppbctSendTxt.Id = 55; this.ppbctSendTxt.Name = "ppbctSendTxt"; // // ppbctSendXls // this.ppbctSendXls.Caption = "XLS File"; this.ppbctSendXls.Command = DevExpress.XtraPrinting.PrintingSystemCommand.SendXls; this.ppbctSendXls.Enabled = false; this.ppbctSendXls.GroupIndex = 1; this.ppbctSendXls.Hint = "XLS File"; this.ppbctSendXls.Id = 52; this.ppbctSendXls.Name = "ppbctSendXls"; // // ppbctSendCsv // this.ppbctSendCsv.Caption = "CSV File"; this.ppbctSendCsv.Command = DevExpress.XtraPrinting.PrintingSystemCommand.SendCsv; this.ppbctSendCsv.Enabled = false; this.ppbctSendCsv.GroupIndex = 1; this.ppbctSendCsv.Hint = "CSV File"; this.ppbctSendCsv.Id = 54; this.ppbctSendCsv.Name = "ppbctSendCsv"; // // ppbctExportTxt // this.ppbctExportTxt.Caption = "Text File"; this.ppbctExportTxt.Command = DevExpress.XtraPrinting.PrintingSystemCommand.ExportTxt; this.ppbctExportTxt.Enabled = false; this.ppbctExportTxt.GroupIndex = 2; this.ppbctExportTxt.Hint = "Text File"; this.ppbctExportTxt.Id = 47; this.ppbctExportTxt.Name = "ppbctExportTxt"; // // ppbctSendXlsx // this.ppbctSendXlsx.Caption = "XLSX File"; this.ppbctSendXlsx.Command = DevExpress.XtraPrinting.PrintingSystemCommand.SendXlsx; this.ppbctSendXlsx.Enabled = false; this.ppbctSendXlsx.GroupIndex = 1; this.ppbctSendXlsx.Hint = "XLSX File"; this.ppbctSendXlsx.Id = 53; this.ppbctSendXlsx.Name = "ppbctSendXlsx"; // // ppbctExportCsv // this.ppbctExportCsv.Caption = "CSV File"; this.ppbctExportCsv.Command = DevExpress.XtraPrinting.PrintingSystemCommand.ExportCsv; this.ppbctExportCsv.Enabled = false; this.ppbctExportCsv.GroupIndex = 2; this.ppbctExportCsv.Hint = "CSV File"; this.ppbctExportCsv.Id = 46; this.ppbctExportCsv.Name = "ppbctExportCsv"; // // barDockControlBottom // this.barDockControlBottom.CausesValidation = false; this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom; this.barDockControlBottom.Location = new System.Drawing.Point(0, 489); this.barDockControlBottom.Size = new System.Drawing.Size(856, 26); // // ppbctExportPdf // this.ppbctExportPdf.BindableChecked = true; this.ppbctExportPdf.Caption = "PDF File"; this.ppbctExportPdf.Checked = true; this.ppbctExportPdf.Command = DevExpress.XtraPrinting.PrintingSystemCommand.ExportPdf; this.ppbctExportPdf.Enabled = false; this.ppbctExportPdf.GroupIndex = 2; this.ppbctExportPdf.Hint = "PDF File"; this.ppbctExportPdf.Id = 40; this.ppbctExportPdf.Name = "ppbctExportPdf"; // // ppbctExportHtm // this.ppbctExportHtm.Caption = "HTML File"; this.ppbctExportHtm.Command = DevExpress.XtraPrinting.PrintingSystemCommand.ExportHtm; this.ppbctExportHtm.Enabled = false; this.ppbctExportHtm.GroupIndex = 2; this.ppbctExportHtm.Hint = "HTML File"; this.ppbctExportHtm.Id = 41; this.ppbctExportHtm.Name = "ppbctExportHtm"; // // barDockControlTop // this.barDockControlTop.CausesValidation = false; this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top; this.barDockControlTop.Location = new System.Drawing.Point(0, 0); this.barDockControlTop.Size = new System.Drawing.Size(856, 51); // // ppbctExportXlsx // this.ppbctExportXlsx.Caption = "XLSX File"; this.ppbctExportXlsx.Command = DevExpress.XtraPrinting.PrintingSystemCommand.ExportXlsx; this.ppbctExportXlsx.Enabled = false; this.ppbctExportXlsx.GroupIndex = 2; this.ppbctExportXlsx.Hint = "XLSX File"; this.ppbctExportXlsx.Id = 45; this.ppbctExportXlsx.Name = "ppbctExportXlsx"; // // ppbctExportMht // this.ppbctExportMht.Caption = "MHT File"; this.ppbctExportMht.Command = DevExpress.XtraPrinting.PrintingSystemCommand.ExportMht; this.ppbctExportMht.Enabled = false; this.ppbctExportMht.GroupIndex = 2; this.ppbctExportMht.Hint = "MHT File"; this.ppbctExportMht.Id = 42; this.ppbctExportMht.Name = "ppbctExportMht"; // // ppbctExportXls // this.ppbctExportXls.Caption = "XLS File"; this.ppbctExportXls.Command = DevExpress.XtraPrinting.PrintingSystemCommand.ExportXls; this.ppbctExportXls.Enabled = false; this.ppbctExportXls.GroupIndex = 2; this.ppbctExportXls.Hint = "XLS File"; this.ppbctExportXls.Id = 44; this.ppbctExportXls.Name = "ppbctExportXls"; // // ppstNothing // this.ppstNothing.Border = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.ppstNothing.Caption = "Nothing"; this.ppstNothing.Id = 0; this.ppstNothing.LeftIndent = 1; this.ppstNothing.Name = "ppstNothing"; this.ppstNothing.RightIndent = 1; this.ppstNothing.TextAlignment = System.Drawing.StringAlignment.Near; this.ppstNothing.Type = "PageOfPages"; // // ppbctExportRtf // this.ppbctExportRtf.Caption = "RTF File"; this.ppbctExportRtf.Command = DevExpress.XtraPrinting.PrintingSystemCommand.ExportRtf; this.ppbctExportRtf.Enabled = false; this.ppbctExportRtf.GroupIndex = 2; this.ppbctExportRtf.Hint = "RTF File"; this.ppbctExportRtf.Id = 43; this.ppbctExportRtf.Name = "ppbctExportRtf"; // // ppbtMap // this.ppbtMap.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.Check; this.ppbtMap.Caption = "Document Map"; this.ppbtMap.Command = DevExpress.XtraPrinting.PrintingSystemCommand.DocumentMap; this.ppbtMap.Enabled = false; this.ppbtMap.Hint = "Document Map"; this.ppbtMap.Id = 7; this.ppbtMap.ImageIndex = 19; this.ppbtMap.Name = "ppbtMap"; // // previewBar // this.previewBar.BarName = "Status Bar"; this.previewBar.CanDockStyle = DevExpress.XtraBars.BarCanDockStyle.Bottom; this.previewBar.DockCol = 0; this.previewBar.DockRow = 0; this.previewBar.DockStyle = DevExpress.XtraBars.BarDockStyle.Bottom; this.previewBar.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.ppstNothing), new DevExpress.XtraBars.LinkPersistInfo(this.barStaticItem, true), new DevExpress.XtraBars.LinkPersistInfo(this.progressBarEditItem), new DevExpress.XtraBars.LinkPersistInfo(this.ppbctStopPageBuilding), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem), new DevExpress.XtraBars.LinkPersistInfo(this.ppstNoBorder, true), new DevExpress.XtraBars.LinkPersistInfo(this.zoomTrackBarEditItem)}); this.previewBar.OptionsBar.AllowQuickCustomization = false; this.previewBar.OptionsBar.DrawDragBorder = false; this.previewBar.OptionsBar.UseWholeRow = true; this.previewBar.Text = "Status Bar"; // // ppbtParameters // this.ppbtParameters.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.Check; this.ppbtParameters.Caption = "Parameters"; this.ppbtParameters.Command = DevExpress.XtraPrinting.PrintingSystemCommand.Parameters; this.ppbtParameters.Enabled = false; this.ppbtParameters.Hint = "Parameters"; this.ppbtParameters.Id = 8; this.ppbtParameters.ImageIndex = 22; this.ppbtParameters.Name = "ppbtParameters"; // // prbToolbar // this.prbToolbar.BarName = "Toolbar"; this.prbToolbar.DockCol = 0; this.prbToolbar.DockRow = 1; this.prbToolbar.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; this.prbToolbar.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.ppbtMap), new DevExpress.XtraBars.LinkPersistInfo(this.ppbtParameters), new DevExpress.XtraBars.LinkPersistInfo(this.ppbtSearch), new DevExpress.XtraBars.LinkPersistInfo(this.ppbtCustomize, true), new DevExpress.XtraBars.LinkPersistInfo(this.ppbtOpen, true), new DevExpress.XtraBars.LinkPersistInfo(this.ppbtSave), new DevExpress.XtraBars.LinkPersistInfo(this.ppbtPrint, true), new DevExpress.XtraBars.LinkPersistInfo(this.ppbtPrintDirect), new DevExpress.XtraBars.LinkPersistInfo(this.ppbtHeaderAndFooter), new DevExpress.XtraBars.LinkPersistInfo(this.ppbtPageSetup), new DevExpress.XtraBars.LinkPersistInfo(this.ppbtScale), new DevExpress.XtraBars.LinkPersistInfo(this.ppbtHandTool, true), new DevExpress.XtraBars.LinkPersistInfo(this.ppbtMagnifier), new DevExpress.XtraBars.LinkPersistInfo(this.ppbtZoomOut, true), new DevExpress.XtraBars.LinkPersistInfo(this.ppbtZoom), new DevExpress.XtraBars.LinkPersistInfo(this.ppbtZoomIn), new DevExpress.XtraBars.LinkPersistInfo(this.ppbtShowFirstPage, true), new DevExpress.XtraBars.LinkPersistInfo(this.ppbtShowPrevPage), new DevExpress.XtraBars.LinkPersistInfo(this.ppbtShowNextPage), new DevExpress.XtraBars.LinkPersistInfo(this.ppbtShowLastPage), new DevExpress.XtraBars.LinkPersistInfo(this.ppbtExportFile, true), new DevExpress.XtraBars.LinkPersistInfo(this.ppbtMultiplePages), new DevExpress.XtraBars.LinkPersistInfo(this.ppbtSendFile, true), new DevExpress.XtraBars.LinkPersistInfo(this.ppbtClosePreview, true)}); this.prbToolbar.Text = "Toolbar"; // // ppbtSearch // this.ppbtSearch.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.Check; this.ppbtSearch.Caption = "Search"; this.ppbtSearch.Command = DevExpress.XtraPrinting.PrintingSystemCommand.Find; this.ppbtSearch.Enabled = false; this.ppbtSearch.Hint = "Search"; this.ppbtSearch.Id = 9; this.ppbtSearch.ImageIndex = 20; this.ppbtSearch.Name = "ppbtSearch"; // // ppbtCustomize // this.ppbtCustomize.Caption = "Customize"; this.ppbtCustomize.Command = DevExpress.XtraPrinting.PrintingSystemCommand.Customize; this.ppbtCustomize.Enabled = false; this.ppbtCustomize.Hint = "Customize"; this.ppbtCustomize.Id = 10; this.ppbtCustomize.ImageIndex = 14; this.ppbtCustomize.Name = "ppbtCustomize"; // // ppbtOpen // this.ppbtOpen.Caption = "Open"; this.ppbtOpen.Command = DevExpress.XtraPrinting.PrintingSystemCommand.Open; this.ppbtOpen.Enabled = false; this.ppbtOpen.Hint = "Open a document"; this.ppbtOpen.Id = 11; this.ppbtOpen.ImageIndex = 23; this.ppbtOpen.Name = "ppbtOpen"; // // ppbtSave // this.ppbtSave.Caption = "Save"; this.ppbtSave.Command = DevExpress.XtraPrinting.PrintingSystemCommand.Save; this.ppbtSave.Enabled = false; this.ppbtSave.Hint = "Save the document"; this.ppbtSave.Id = 12; this.ppbtSave.ImageIndex = 24; this.ppbtSave.Name = "ppbtSave"; // // ppbtHeaderAndFooter // this.ppbtHeaderAndFooter.Caption = "Header And Footer"; this.ppbtHeaderAndFooter.Command = DevExpress.XtraPrinting.PrintingSystemCommand.EditPageHF; this.ppbtHeaderAndFooter.Enabled = false; this.ppbtHeaderAndFooter.Hint = "Header And Footer"; this.ppbtHeaderAndFooter.Id = 16; this.ppbtHeaderAndFooter.ImageIndex = 15; this.ppbtHeaderAndFooter.Name = "ppbtHeaderAndFooter"; // // ppbtScale // this.ppbtScale.ActAsDropDown = true; this.ppbtScale.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown; this.ppbtScale.Caption = "Scale"; this.ppbtScale.Command = DevExpress.XtraPrinting.PrintingSystemCommand.Scale; this.ppbtScale.Enabled = false; this.ppbtScale.Hint = "Scale"; this.ppbtScale.Id = 17; this.ppbtScale.ImageIndex = 25; this.ppbtScale.Name = "ppbtScale"; // // ppbtHandTool // this.ppbtHandTool.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.Check; this.ppbtHandTool.Caption = "Hand Tool"; this.ppbtHandTool.Command = DevExpress.XtraPrinting.PrintingSystemCommand.HandTool; this.ppbtHandTool.Enabled = false; this.ppbtHandTool.Hint = "Hand Tool"; this.ppbtHandTool.Id = 18; this.ppbtHandTool.ImageIndex = 16; this.ppbtHandTool.Name = "ppbtHandTool"; // // ppbtMagnifier // this.ppbtMagnifier.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.Check; this.ppbtMagnifier.Caption = "Magnifier"; this.ppbtMagnifier.Command = DevExpress.XtraPrinting.PrintingSystemCommand.Magnifier; this.ppbtMagnifier.Enabled = false; this.ppbtMagnifier.Hint = "Magnifier"; this.ppbtMagnifier.Id = 19; this.ppbtMagnifier.ImageIndex = 3; this.ppbtMagnifier.Name = "ppbtMagnifier"; // // ppbtZoomOut // this.ppbtZoomOut.Caption = "Zoom Out"; this.ppbtZoomOut.Command = DevExpress.XtraPrinting.PrintingSystemCommand.ZoomOut; this.ppbtZoomOut.Enabled = false; this.ppbtZoomOut.Hint = "Zoom Out"; this.ppbtZoomOut.Id = 20; this.ppbtZoomOut.ImageIndex = 5; this.ppbtZoomOut.Name = "ppbtZoomOut"; // // ppbtZoom // this.ppbtZoom.Caption = "Zoom"; this.ppbtZoom.Edit = this.printPreviewRepositoryItemComboBox; this.ppbtZoom.EditValue = "100%"; this.ppbtZoom.Enabled = false; this.ppbtZoom.Hint = "Zoom"; this.ppbtZoom.Id = 21; this.ppbtZoom.Name = "ppbtZoom"; this.ppbtZoom.Width = 70; // // printPreviewRepositoryItemComboBox // this.printPreviewRepositoryItemComboBox.AutoComplete = false; this.printPreviewRepositoryItemComboBox.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.printPreviewRepositoryItemComboBox.DropDownRows = 11; this.printPreviewRepositoryItemComboBox.Name = "printPreviewRepositoryItemComboBox"; // // ppbtZoomIn // this.ppbtZoomIn.Caption = "Zoom In"; this.ppbtZoomIn.Command = DevExpress.XtraPrinting.PrintingSystemCommand.ZoomIn; this.ppbtZoomIn.Enabled = false; this.ppbtZoomIn.Hint = "Zoom In"; this.ppbtZoomIn.Id = 22; this.ppbtZoomIn.ImageIndex = 4; this.ppbtZoomIn.Name = "ppbtZoomIn"; // // ppbtShowFirstPage // this.ppbtShowFirstPage.Caption = "First Page"; this.ppbtShowFirstPage.Command = DevExpress.XtraPrinting.PrintingSystemCommand.ShowFirstPage; this.ppbtShowFirstPage.Enabled = false; this.ppbtShowFirstPage.Hint = "First Page"; this.ppbtShowFirstPage.Id = 23; this.ppbtShowFirstPage.ImageIndex = 7; this.ppbtShowFirstPage.Name = "ppbtShowFirstPage"; // // ppbtShowPrevPage // this.ppbtShowPrevPage.Caption = "Previous Page"; this.ppbtShowPrevPage.Command = DevExpress.XtraPrinting.PrintingSystemCommand.ShowPrevPage; this.ppbtShowPrevPage.Enabled = false; this.ppbtShowPrevPage.Hint = "Previous Page"; this.ppbtShowPrevPage.Id = 24; this.ppbtShowPrevPage.ImageIndex = 8; this.ppbtShowPrevPage.Name = "ppbtShowPrevPage"; // // ppbtShowNextPage // this.ppbtShowNextPage.Caption = "Next Page"; this.ppbtShowNextPage.Command = DevExpress.XtraPrinting.PrintingSystemCommand.ShowNextPage; this.ppbtShowNextPage.Enabled = false; this.ppbtShowNextPage.Hint = "Next Page"; this.ppbtShowNextPage.Id = 25; this.ppbtShowNextPage.ImageIndex = 9; this.ppbtShowNextPage.Name = "ppbtShowNextPage"; // // ppbtShowLastPage // this.ppbtShowLastPage.Caption = "Last Page"; this.ppbtShowLastPage.Command = DevExpress.XtraPrinting.PrintingSystemCommand.ShowLastPage; this.ppbtShowLastPage.Enabled = false; this.ppbtShowLastPage.Hint = "Last Page"; this.ppbtShowLastPage.Id = 26; this.ppbtShowLastPage.ImageIndex = 10; this.ppbtShowLastPage.Name = "ppbtShowLastPage"; // // ppbtMultiplePages // this.ppbtMultiplePages.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown; this.ppbtMultiplePages.Caption = "Multiple Pages"; this.ppbtMultiplePages.Command = DevExpress.XtraPrinting.PrintingSystemCommand.MultiplePages; this.ppbtMultiplePages.Enabled = false; this.ppbtMultiplePages.Hint = "Multiple Pages"; this.ppbtMultiplePages.Id = 27; this.ppbtMultiplePages.ImageIndex = 11; this.ppbtMultiplePages.Name = "ppbtMultiplePages"; // // docMgDeliveryNote // this.docMgDeliveryNote.Bars.AddRange(new DevExpress.XtraBars.Bar[] { this.prbToolbar, this.previewBar, this.prvbTop}); this.docMgDeliveryNote.DockControls.Add(this.barDockControlTop); this.docMgDeliveryNote.DockControls.Add(this.barDockControlBottom); this.docMgDeliveryNote.DockControls.Add(this.barDockControlLeft); this.docMgDeliveryNote.DockControls.Add(this.barDockControlRight); this.docMgDeliveryNote.DocumentViewer = this.docDeliveryNoteView; this.docMgDeliveryNote.Form = this; this.docMgDeliveryNote.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("docMgDeliveryNote.ImageStream"))); this.docMgDeliveryNote.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.ppstNothing, this.barStaticItem, this.progressBarEditItem, this.ppbctStopPageBuilding, this.barButtonItem, this.ppstNoBorder, this.zoomTrackBarEditItem, this.ppbtMap, this.ppbtParameters, this.ppbtSearch, this.ppbtCustomize, this.ppbtOpen, this.ppbtSave, this.ppbtPrint, this.ppbtPrintDirect, this.ppbtPageSetup, this.ppbtHeaderAndFooter, this.ppbtScale, this.ppbtHandTool, this.ppbtMagnifier, this.ppbtZoomOut, this.ppbtZoom, this.ppbtZoomIn, this.ppbtShowFirstPage, this.ppbtShowPrevPage, this.ppbtShowNextPage, this.ppbtShowLastPage, this.ppbtMultiplePages, this.ppbtExportFile, this.ppbtSendFile, this.ppbtClosePreview, this.ppstFile, this.ppstView, this.pptsBackGround, this.ppstPageLayout, this.ppbtPageLayoutFacing, this.ppbtPageLayoutContinuous, this.barToolbarsListItem, this.ppbctExportPdf, this.ppbctExportHtm, this.ppbctExportMht, this.ppbctExportRtf, this.ppbctExportXls, this.ppbctExportXlsx, this.ppbctExportCsv, this.ppbctExportTxt, this.ppbctExportGraphic, this.ppbctSendPdf, this.ppbctSendMht, this.ppbctSendRtf, this.ppbctSendXls, this.ppbctSendXlsx, this.ppbctSendCsv, this.ppbctSendTxt, this.ppbctSendGraphic}); this.docMgDeliveryNote.MainMenu = this.prvbTop; this.docMgDeliveryNote.MaxItemId = 57; this.docMgDeliveryNote.PreviewBar = this.prbToolbar; this.docMgDeliveryNote.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.repositoryItemProgressBar, this.repositoryItemZoomTrackBar, this.printPreviewRepositoryItemComboBox}); this.docMgDeliveryNote.StatusBar = this.previewBar; this.docMgDeliveryNote.TransparentEditors = true; // // docDeliveryNoteView // this.docDeliveryNoteView.Dock = System.Windows.Forms.DockStyle.Fill; this.docDeliveryNoteView.IsMetric = false; this.docDeliveryNoteView.Location = new System.Drawing.Point(2, 2); this.docDeliveryNoteView.Name = "docDeliveryNoteView"; this.docDeliveryNoteView.Size = new System.Drawing.Size(852, 398); this.docDeliveryNoteView.TabIndex = 3; // // ppbctSendGraphic // this.ppbctSendGraphic.Caption = "Image File"; this.ppbctSendGraphic.Command = DevExpress.XtraPrinting.PrintingSystemCommand.SendGraphic; this.ppbctSendGraphic.Enabled = false; this.ppbctSendGraphic.GroupIndex = 1; this.ppbctSendGraphic.Hint = "Image File"; this.ppbctSendGraphic.Id = 56; this.ppbctSendGraphic.Name = "ppbctSendGraphic"; // // panDeliveryNoteTitles // this.panDeliveryNoteTitles.Controls.Add(this.labDeliveryNoteTitle); this.panDeliveryNoteTitles.Dock = System.Windows.Forms.DockStyle.Top; this.panDeliveryNoteTitles.Location = new System.Drawing.Point(0, 51); this.panDeliveryNoteTitles.Name = "panDeliveryNoteTitles"; this.panDeliveryNoteTitles.Size = new System.Drawing.Size(856, 36); this.panDeliveryNoteTitles.TabIndex = 7; // // labDeliveryNoteTitle // this.labDeliveryNoteTitle.Anchor = System.Windows.Forms.AnchorStyles.None; this.labDeliveryNoteTitle.Appearance.Font = new System.Drawing.Font("Segoe UI", 18F, System.Drawing.FontStyle.Bold); this.labDeliveryNoteTitle.Appearance.ForeColor = System.Drawing.Color.DarkSlateBlue; this.labDeliveryNoteTitle.Location = new System.Drawing.Point(299, -1); this.labDeliveryNoteTitle.Name = "labDeliveryNoteTitle"; this.labDeliveryNoteTitle.Size = new System.Drawing.Size(257, 32); this.labDeliveryNoteTitle.TabIndex = 2; this.labDeliveryNoteTitle.Text = "THÔNG TIN HÓA ĐƠN"; // // panSurvivalView // this.panSurvivalView.Controls.Add(this.pnBottom); this.panSurvivalView.Controls.Add(this.docDeliveryNoteView); this.panSurvivalView.Dock = System.Windows.Forms.DockStyle.Fill; this.panSurvivalView.Location = new System.Drawing.Point(0, 87); this.panSurvivalView.Name = "panSurvivalView"; this.panSurvivalView.Size = new System.Drawing.Size(856, 402); this.panSurvivalView.TabIndex = 8; // // pnBottom // this.pnBottom.Controls.Add(this.btnClose); this.pnBottom.Controls.Add(this.btnPrint); this.pnBottom.Dock = System.Windows.Forms.DockStyle.Bottom; this.pnBottom.Location = new System.Drawing.Point(2, 364); this.pnBottom.Name = "pnBottom"; this.pnBottom.Size = new System.Drawing.Size(852, 36); this.pnBottom.TabIndex = 8; // // btnClose // this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnClose.Location = new System.Drawing.Point(713, 8); this.btnClose.Name = "btnClose"; this.btnClose.Size = new System.Drawing.Size(75, 23); this.btnClose.TabIndex = 1; this.btnClose.Text = "(Esc)Đóng"; // // btnPrint // this.btnPrint.Location = new System.Drawing.Point(585, 8); this.btnPrint.Name = "btnPrint"; this.btnPrint.Size = new System.Drawing.Size(85, 23); this.btnPrint.TabIndex = 0; this.btnPrint.Text = "(F2)In hóa đơn"; this.btnPrint.Click += new System.EventHandler(this.btnPrint_Click); // // frmViewBill // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.CancelButton = this.btnClose; this.ClientSize = new System.Drawing.Size(856, 515); this.Controls.Add(this.panSurvivalView); this.Controls.Add(this.panDeliveryNoteTitles); this.Controls.Add(this.barDockControlLeft); this.Controls.Add(this.barDockControlRight); this.Controls.Add(this.barDockControlBottom); this.Controls.Add(this.barDockControlTop); this.KeyPreview = true; this.Name = "frmViewBill"; this.Text = "Xem thông tin hóa đơn"; this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.frmViewBillReport_KeyDown); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemProgressBar)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemZoomTrackBar)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.printPreviewRepositoryItemComboBox)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.docMgDeliveryNote)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.panDeliveryNoteTitles)).EndInit(); this.panDeliveryNoteTitles.ResumeLayout(false); this.panDeliveryNoteTitles.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.panSurvivalView)).EndInit(); this.panSurvivalView.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.pnBottom)).EndInit(); this.pnBottom.ResumeLayout(false); this.ResumeLayout(false); }