public MapOutPut(AxPageLayoutControl pagecontrol) { axPageLayoutControl1 = pagecontrol; printDialog1 = new System.Windows.Forms.PrintDialog(); //create a print dialog object InitializePageSetupDialog(); //intitialize the page setup dialog comboBox1.Items.Add("esriPageMappingTile"); comboBox1.Items.Add("esriPageMappingCrop"); comboBox1.Items.Add("esriPageMappingScale"); comboBox1.SelectedIndex = 0; // create a new PrintPreviewDialog using constructor printPreviewDialog1 = new PrintPreviewDialog(); //set the size, location, name and the minimum size the dialog can be resized to printPreviewDialog1.ClientSize = new System.Drawing.Size(800, 600); printPreviewDialog1.Location = new System.Drawing.Point(29, 29); printPreviewDialog1.Name = "PrintPreviewDialog1"; printPreviewDialog1.MinimumSize = new System.Drawing.Size(375, 250); //set UseAntiAlias to true to allow the operating system to smooth fonts printPreviewDialog1.UseAntiAlias = true; //associate the event-handling method with the document's PrintPage event this.document.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(document_PrintPage); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.txbPath = new System.Windows.Forms.TextBox(); this.cmdLoadDocument = new System.Windows.Forms.Button(); this.Label5 = new System.Windows.Forms.Label(); this.Label4 = new System.Windows.Forms.Label(); this.Label3 = new System.Windows.Forms.Label(); this.Label2 = new System.Windows.Forms.Label(); this.Label1 = new System.Windows.Forms.Label(); this.chkShowPrintableArea = new System.Windows.Forms.CheckBox(); this.cmdReset = new System.Windows.Forms.Button(); this.Frame1 = new System.Windows.Forms.GroupBox(); this.optIPropertySupport = new System.Windows.Forms.RadioButton(); this.optIFrameProperties = new System.Windows.Forms.RadioButton(); this.optIPage = new System.Windows.Forms.RadioButton(); this.cmdZoomPage = new System.Windows.Forms.Button(); this.Label7 = new System.Windows.Forms.Label(); this.Label6 = new System.Windows.Forms.Label(); this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); this.axPageLayoutControl1 = new ESRI.ArcGIS.Controls.AxPageLayoutControl(); this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl(); this.axSymbologyControl1 = new ESRI.ArcGIS.Controls.AxSymbologyControl(); this.axSymbologyControl2 = new ESRI.ArcGIS.Controls.AxSymbologyControl(); this.axSymbologyControl3 = new ESRI.ArcGIS.Controls.AxSymbologyControl(); this.axSymbologyControl4 = new ESRI.ArcGIS.Controls.AxSymbologyControl(); this.Frame1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axSymbologyControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axSymbologyControl2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axSymbologyControl3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axSymbologyControl4)).BeginInit(); this.SuspendLayout(); // // txbPath // this.txbPath.AcceptsReturn = true; this.txbPath.BackColor = System.Drawing.SystemColors.Window; this.txbPath.Cursor = System.Windows.Forms.Cursors.IBeam; this.txbPath.Enabled = false; this.txbPath.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txbPath.ForeColor = System.Drawing.SystemColors.WindowText; this.txbPath.Location = new System.Drawing.Point(136, 8); this.txbPath.MaxLength = 0; this.txbPath.Name = "txbPath"; this.txbPath.RightToLeft = System.Windows.Forms.RightToLeft.No; this.txbPath.Size = new System.Drawing.Size(489, 20); this.txbPath.TabIndex = 20; // // cmdLoadDocument // this.cmdLoadDocument.BackColor = System.Drawing.SystemColors.Control; this.cmdLoadDocument.Cursor = System.Windows.Forms.Cursors.Default; this.cmdLoadDocument.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.cmdLoadDocument.ForeColor = System.Drawing.SystemColors.ControlText; this.cmdLoadDocument.Location = new System.Drawing.Point(8, 8); this.cmdLoadDocument.Name = "cmdLoadDocument"; this.cmdLoadDocument.RightToLeft = System.Windows.Forms.RightToLeft.No; this.cmdLoadDocument.Size = new System.Drawing.Size(121, 25); this.cmdLoadDocument.TabIndex = 19; this.cmdLoadDocument.Text = "Load Map Document"; this.cmdLoadDocument.UseVisualStyleBackColor = false; this.cmdLoadDocument.Click += new System.EventHandler(this.cmdLoadDocument_Click); // // Label5 // this.Label5.BackColor = System.Drawing.SystemColors.Control; this.Label5.Cursor = System.Windows.Forms.Cursors.Default; this.Label5.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Label5.ForeColor = System.Drawing.SystemColors.ControlText; this.Label5.Location = new System.Drawing.Point(240, 40); this.Label5.Name = "Label5"; this.Label5.RightToLeft = System.Windows.Forms.RightToLeft.No; this.Label5.Size = new System.Drawing.Size(377, 17); this.Label5.TabIndex = 29; this.Label5.Text = "Symbols from Style Classes (double click a on a symbol to apply it to the page):"; // // Label4 // this.Label4.BackColor = System.Drawing.SystemColors.Control; this.Label4.Cursor = System.Windows.Forms.Cursors.Default; this.Label4.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Label4.ForeColor = System.Drawing.SystemColors.ControlText; this.Label4.Location = new System.Drawing.Point(528, 64); this.Label4.Name = "Label4"; this.Label4.RightToLeft = System.Windows.Forms.RightToLeft.No; this.Label4.Size = new System.Drawing.Size(97, 17); this.Label4.TabIndex = 28; this.Label4.Text = "Shadow"; // // Label3 // this.Label3.BackColor = System.Drawing.SystemColors.Control; this.Label3.Cursor = System.Windows.Forms.Cursors.Default; this.Label3.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Label3.ForeColor = System.Drawing.SystemColors.ControlText; this.Label3.Location = new System.Drawing.Point(432, 64); this.Label3.Name = "Label3"; this.Label3.RightToLeft = System.Windows.Forms.RightToLeft.No; this.Label3.Size = new System.Drawing.Size(89, 17); this.Label3.TabIndex = 27; this.Label3.Text = "Colors"; // // Label2 // this.Label2.BackColor = System.Drawing.SystemColors.Control; this.Label2.Cursor = System.Windows.Forms.Cursors.Default; this.Label2.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Label2.ForeColor = System.Drawing.SystemColors.ControlText; this.Label2.Location = new System.Drawing.Point(336, 64); this.Label2.Name = "Label2"; this.Label2.RightToLeft = System.Windows.Forms.RightToLeft.No; this.Label2.Size = new System.Drawing.Size(97, 17); this.Label2.TabIndex = 26; this.Label2.Text = "Backgrounds"; // // Label1 // this.Label1.BackColor = System.Drawing.SystemColors.Control; this.Label1.Cursor = System.Windows.Forms.Cursors.Default; this.Label1.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Label1.ForeColor = System.Drawing.SystemColors.ControlText; this.Label1.Location = new System.Drawing.Point(240, 64); this.Label1.Name = "Label1"; this.Label1.RightToLeft = System.Windows.Forms.RightToLeft.No; this.Label1.Size = new System.Drawing.Size(97, 17); this.Label1.TabIndex = 25; this.Label1.Text = "Borders"; // // chkShowPrintableArea // this.chkShowPrintableArea.BackColor = System.Drawing.SystemColors.Control; this.chkShowPrintableArea.Checked = true; this.chkShowPrintableArea.CheckState = System.Windows.Forms.CheckState.Checked; this.chkShowPrintableArea.Cursor = System.Windows.Forms.Cursors.Default; this.chkShowPrintableArea.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.chkShowPrintableArea.ForeColor = System.Drawing.SystemColors.ControlText; this.chkShowPrintableArea.Location = new System.Drawing.Point(339, 362); this.chkShowPrintableArea.Name = "chkShowPrintableArea"; this.chkShowPrintableArea.RightToLeft = System.Windows.Forms.RightToLeft.No; this.chkShowPrintableArea.Size = new System.Drawing.Size(128, 17); this.chkShowPrintableArea.TabIndex = 33; this.chkShowPrintableArea.Text = "Show Printable Area"; this.chkShowPrintableArea.UseVisualStyleBackColor = false; this.chkShowPrintableArea.Click += new System.EventHandler(this.chkShowPrintableArea_Click); // // cmdReset // this.cmdReset.BackColor = System.Drawing.SystemColors.Control; this.cmdReset.Cursor = System.Windows.Forms.Cursors.Default; this.cmdReset.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.cmdReset.ForeColor = System.Drawing.SystemColors.ControlText; this.cmdReset.Location = new System.Drawing.Point(243, 362); this.cmdReset.Name = "cmdReset"; this.cmdReset.RightToLeft = System.Windows.Forms.RightToLeft.No; this.cmdReset.Size = new System.Drawing.Size(89, 25); this.cmdReset.TabIndex = 32; this.cmdReset.Text = "Reset Page"; this.cmdReset.UseVisualStyleBackColor = false; this.cmdReset.Click += new System.EventHandler(this.cmdReset_Click); // // Frame1 // this.Frame1.BackColor = System.Drawing.SystemColors.Control; this.Frame1.Controls.Add(this.optIPropertySupport); this.Frame1.Controls.Add(this.optIFrameProperties); this.Frame1.Controls.Add(this.optIPage); this.Frame1.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Frame1.ForeColor = System.Drawing.SystemColors.ControlText; this.Frame1.Location = new System.Drawing.Point(496, 362); this.Frame1.Name = "Frame1"; this.Frame1.RightToLeft = System.Windows.Forms.RightToLeft.No; this.Frame1.Size = new System.Drawing.Size(129, 81); this.Frame1.TabIndex = 31; this.Frame1.TabStop = false; this.Frame1.Text = "How to apply symbol"; // // optIPropertySupport // this.optIPropertySupport.BackColor = System.Drawing.SystemColors.Control; this.optIPropertySupport.Cursor = System.Windows.Forms.Cursors.Default; this.optIPropertySupport.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.optIPropertySupport.ForeColor = System.Drawing.SystemColors.ControlText; this.optIPropertySupport.Location = new System.Drawing.Point(16, 56); this.optIPropertySupport.Name = "optIPropertySupport"; this.optIPropertySupport.RightToLeft = System.Windows.Forms.RightToLeft.No; this.optIPropertySupport.Size = new System.Drawing.Size(105, 17); this.optIPropertySupport.TabIndex = 13; this.optIPropertySupport.TabStop = true; this.optIPropertySupport.Text = "IPropertySupport"; this.optIPropertySupport.UseVisualStyleBackColor = false; // // optIFrameProperties // this.optIFrameProperties.BackColor = System.Drawing.SystemColors.Control; this.optIFrameProperties.Cursor = System.Windows.Forms.Cursors.Default; this.optIFrameProperties.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.optIFrameProperties.ForeColor = System.Drawing.SystemColors.ControlText; this.optIFrameProperties.Location = new System.Drawing.Point(16, 36); this.optIFrameProperties.Name = "optIFrameProperties"; this.optIFrameProperties.RightToLeft = System.Windows.Forms.RightToLeft.No; this.optIFrameProperties.Size = new System.Drawing.Size(105, 17); this.optIFrameProperties.TabIndex = 12; this.optIFrameProperties.TabStop = true; this.optIFrameProperties.Text = "IFrameProperties"; this.optIFrameProperties.UseVisualStyleBackColor = false; // // optIPage // this.optIPage.BackColor = System.Drawing.SystemColors.Control; this.optIPage.Checked = true; this.optIPage.Cursor = System.Windows.Forms.Cursors.Default; this.optIPage.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.optIPage.ForeColor = System.Drawing.SystemColors.ControlText; this.optIPage.Location = new System.Drawing.Point(16, 16); this.optIPage.Name = "optIPage"; this.optIPage.RightToLeft = System.Windows.Forms.RightToLeft.No; this.optIPage.Size = new System.Drawing.Size(105, 17); this.optIPage.TabIndex = 11; this.optIPage.TabStop = true; this.optIPage.Text = "IPage "; this.optIPage.UseVisualStyleBackColor = false; // // cmdZoomPage // this.cmdZoomPage.BackColor = System.Drawing.SystemColors.Control; this.cmdZoomPage.Cursor = System.Windows.Forms.Cursors.Default; this.cmdZoomPage.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.cmdZoomPage.ForeColor = System.Drawing.SystemColors.ControlText; this.cmdZoomPage.Location = new System.Drawing.Point(243, 394); this.cmdZoomPage.Name = "cmdZoomPage"; this.cmdZoomPage.RightToLeft = System.Windows.Forms.RightToLeft.No; this.cmdZoomPage.Size = new System.Drawing.Size(89, 25); this.cmdZoomPage.TabIndex = 30; this.cmdZoomPage.Text = "Zoom to Page"; this.cmdZoomPage.UseVisualStyleBackColor = false; this.cmdZoomPage.Click += new System.EventHandler(this.cmdZoomPage_Click); // // Label7 // this.Label7.BackColor = System.Drawing.SystemColors.Control; this.Label7.Cursor = System.Windows.Forms.Cursors.Default; this.Label7.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Label7.ForeColor = System.Drawing.SystemColors.ControlText; this.Label7.Location = new System.Drawing.Point(338, 410); this.Label7.Name = "Label7"; this.Label7.RightToLeft = System.Windows.Forms.RightToLeft.No; this.Label7.Size = new System.Drawing.Size(137, 17); this.Label7.TabIndex = 35; this.Label7.Text = "Right mouse button to pan."; // // Label6 // this.Label6.BackColor = System.Drawing.SystemColors.Control; this.Label6.Cursor = System.Windows.Forms.Cursors.Default; this.Label6.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Label6.ForeColor = System.Drawing.SystemColors.ControlText; this.Label6.Location = new System.Drawing.Point(338, 394); this.Label6.Name = "Label6"; this.Label6.RightToLeft = System.Windows.Forms.RightToLeft.No; this.Label6.Size = new System.Drawing.Size(153, 17); this.Label6.TabIndex = 34; this.Label6.Text = "Left mouse button to zoom in."; // // axPageLayoutControl1 // this.axPageLayoutControl1.Location = new System.Drawing.Point(8, 64); this.axPageLayoutControl1.Name = "axPageLayoutControl1"; this.axPageLayoutControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axPageLayoutControl1.OcxState"))); this.axPageLayoutControl1.Size = new System.Drawing.Size(224, 280); this.axPageLayoutControl1.TabIndex = 36; this.axPageLayoutControl1.OnMouseDown += new ESRI.ArcGIS.Controls.IPageLayoutControlEvents_Ax_OnMouseDownEventHandler(this.axPageLayoutControl1_OnMouseDown); // // axLicenseControl1 // this.axLicenseControl1.Enabled = true; this.axLicenseControl1.Location = new System.Drawing.Point(184, 192); this.axLicenseControl1.Name = "axLicenseControl1"; this.axLicenseControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axLicenseControl1.OcxState"))); this.axLicenseControl1.Size = new System.Drawing.Size(32, 32); this.axLicenseControl1.TabIndex = 37; // // axSymbologyControl1 // this.axSymbologyControl1.Location = new System.Drawing.Point(243, 84); this.axSymbologyControl1.Name = "axSymbologyControl1"; this.axSymbologyControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axSymbologyControl1.OcxState"))); this.axSymbologyControl1.Size = new System.Drawing.Size(94, 264); this.axSymbologyControl1.TabIndex = 38; this.axSymbologyControl1.OnDoubleClick += new ESRI.ArcGIS.Controls.ISymbologyControlEvents_Ax_OnDoubleClickEventHandler(this.axSymbologyControl1_OnDoubleClick); // // axSymbologyControl2 // this.axSymbologyControl2.Location = new System.Drawing.Point(339, 83); this.axSymbologyControl2.Name = "axSymbologyControl2"; this.axSymbologyControl2.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axSymbologyControl2.OcxState"))); this.axSymbologyControl2.Size = new System.Drawing.Size(94, 265); this.axSymbologyControl2.TabIndex = 39; this.axSymbologyControl2.OnDoubleClick += new ESRI.ArcGIS.Controls.ISymbologyControlEvents_Ax_OnDoubleClickEventHandler(this.axSymbologyControl2_OnDoubleClick); // // axSymbologyControl3 // this.axSymbologyControl3.Location = new System.Drawing.Point(435, 83); this.axSymbologyControl3.Name = "axSymbologyControl3"; this.axSymbologyControl3.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axSymbologyControl3.OcxState"))); this.axSymbologyControl3.Size = new System.Drawing.Size(94, 265); this.axSymbologyControl3.TabIndex = 40; this.axSymbologyControl3.OnDoubleClick += new ESRI.ArcGIS.Controls.ISymbologyControlEvents_Ax_OnDoubleClickEventHandler(this.axSymbologyControl3_OnDoubleClick); // // axSymbologyControl4 // this.axSymbologyControl4.Location = new System.Drawing.Point(531, 83); this.axSymbologyControl4.Name = "axSymbologyControl4"; this.axSymbologyControl4.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axSymbologyControl4.OcxState"))); this.axSymbologyControl4.Size = new System.Drawing.Size(94, 265); this.axSymbologyControl4.TabIndex = 41; this.axSymbologyControl4.OnDoubleClick += new ESRI.ArcGIS.Controls.ISymbologyControlEvents_Ax_OnDoubleClickEventHandler(this.axSymbologyControl4_OnDoubleClick); // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(632, 449); this.Controls.Add(this.axSymbologyControl4); this.Controls.Add(this.axSymbologyControl3); this.Controls.Add(this.axSymbologyControl2); this.Controls.Add(this.axSymbologyControl1); this.Controls.Add(this.axLicenseControl1); this.Controls.Add(this.axPageLayoutControl1); this.Controls.Add(this.chkShowPrintableArea); this.Controls.Add(this.cmdReset); this.Controls.Add(this.Frame1); this.Controls.Add(this.cmdZoomPage); this.Controls.Add(this.Label7); this.Controls.Add(this.Label6); this.Controls.Add(this.Label5); this.Controls.Add(this.Label4); this.Controls.Add(this.Label3); this.Controls.Add(this.Label2); this.Controls.Add(this.Label1); this.Controls.Add(this.txbPath); this.Controls.Add(this.cmdLoadDocument); this.Name = "Form1"; this.Text = "Form1"; this.Load += new System.EventHandler(this.Form1_Load); this.Frame1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axSymbologyControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axSymbologyControl2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axSymbologyControl3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axSymbologyControl4)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.cmdLoadMxFile = new System.Windows.Forms.Button(); this.txbMxFilePath = new System.Windows.Forms.TextBox(); this.Line2 = new System.Windows.Forms.Label(); this.Frame2 = new System.Windows.Forms.GroupBox(); this.optLandscape = new System.Windows.Forms.RadioButton(); this.optPortrait = new System.Windows.Forms.RadioButton(); this.cboPageToPrinterMapping = new System.Windows.Forms.ComboBox(); this.cboPageSize = new System.Windows.Forms.ComboBox(); this.lblPageCount = new System.Windows.Forms.Label(); this.Label9 = new System.Windows.Forms.Label(); this.Label8 = new System.Windows.Forms.Label(); this.Label6 = new System.Windows.Forms.Label(); this.fraPrint = new System.Windows.Forms.GroupBox(); this.txbOverlap = new System.Windows.Forms.TextBox(); this.cmdPrint = new System.Windows.Forms.Button(); this.txbStartPage = new System.Windows.Forms.TextBox(); this.txbEndPage = new System.Windows.Forms.TextBox(); this.Label5 = new System.Windows.Forms.Label(); this.Label1 = new System.Windows.Forms.Label(); this.Label2 = new System.Windows.Forms.Label(); this.fraPrinter = new System.Windows.Forms.GroupBox(); this.lblPrinterOrientation = new System.Windows.Forms.Label(); this.Label10 = new System.Windows.Forms.Label(); this.lblPrinterName = new System.Windows.Forms.Label(); this.Label7 = new System.Windows.Forms.Label(); this.lblPrinterSize = new System.Windows.Forms.Label(); this.lblPdcdcrinter = new System.Windows.Forms.Label(); this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); this.axPageLayoutControl1 = new ESRI.ArcGIS.Controls.AxPageLayoutControl(); this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl(); this.label3 = new System.Windows.Forms.Label(); this.Frame2.SuspendLayout(); this.fraPrint.SuspendLayout(); this.fraPrinter.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit(); this.SuspendLayout(); // // cmdLoadMxFile // this.cmdLoadMxFile.BackColor = System.Drawing.SystemColors.Control; this.cmdLoadMxFile.Cursor = System.Windows.Forms.Cursors.Default; this.cmdLoadMxFile.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.cmdLoadMxFile.ForeColor = System.Drawing.SystemColors.ControlText; this.cmdLoadMxFile.Location = new System.Drawing.Point(457, 9); this.cmdLoadMxFile.Name = "cmdLoadMxFile"; this.cmdLoadMxFile.RightToLeft = System.Windows.Forms.RightToLeft.No; this.cmdLoadMxFile.Size = new System.Drawing.Size(136, 29); this.cmdLoadMxFile.TabIndex = 17; this.cmdLoadMxFile.Text = "Load Mx Document"; this.cmdLoadMxFile.UseVisualStyleBackColor = false; this.cmdLoadMxFile.Click += new System.EventHandler(this.cmdLoadMxFile_Click); // // txbMxFilePath // this.txbMxFilePath.AcceptsReturn = true; this.txbMxFilePath.BackColor = System.Drawing.SystemColors.Window; this.txbMxFilePath.Cursor = System.Windows.Forms.Cursors.IBeam; this.txbMxFilePath.Enabled = false; this.txbMxFilePath.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txbMxFilePath.ForeColor = System.Drawing.SystemColors.WindowText; this.txbMxFilePath.Location = new System.Drawing.Point(10, 9); this.txbMxFilePath.MaxLength = 0; this.txbMxFilePath.Name = "txbMxFilePath"; this.txbMxFilePath.RightToLeft = System.Windows.Forms.RightToLeft.No; this.txbMxFilePath.Size = new System.Drawing.Size(441, 23); this.txbMxFilePath.TabIndex = 16; // // Line2 // this.Line2.BackColor = System.Drawing.SystemColors.WindowText; this.Line2.Location = new System.Drawing.Point(10, 46); this.Line2.Name = "Line2"; this.Line2.Size = new System.Drawing.Size(585, 1); this.Line2.TabIndex = 18; // // Frame2 // this.Frame2.BackColor = System.Drawing.SystemColors.Control; this.Frame2.Controls.Add(this.label3); this.Frame2.Controls.Add(this.optLandscape); this.Frame2.Controls.Add(this.optPortrait); this.Frame2.Controls.Add(this.cboPageToPrinterMapping); this.Frame2.Controls.Add(this.cboPageSize); this.Frame2.Controls.Add(this.lblPageCount); this.Frame2.Controls.Add(this.Label9); this.Frame2.Controls.Add(this.Label8); this.Frame2.Controls.Add(this.Label6); this.Frame2.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Frame2.ForeColor = System.Drawing.SystemColors.ControlText; this.Frame2.Location = new System.Drawing.Point(414, 55); this.Frame2.Name = "Frame2"; this.Frame2.RightToLeft = System.Windows.Forms.RightToLeft.No; this.Frame2.Size = new System.Drawing.Size(273, 301); this.Frame2.TabIndex = 19; this.Frame2.TabStop = false; this.Frame2.Text = "Page"; // // optLandscape // this.optLandscape.BackColor = System.Drawing.SystemColors.Control; this.optLandscape.Cursor = System.Windows.Forms.Cursors.Default; this.optLandscape.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.optLandscape.ForeColor = System.Drawing.SystemColors.ControlText; this.optLandscape.Location = new System.Drawing.Point(89, 138); this.optLandscape.Name = "optLandscape"; this.optLandscape.RightToLeft = System.Windows.Forms.RightToLeft.No; this.optLandscape.Size = new System.Drawing.Size(174, 29); this.optLandscape.TabIndex = 22; this.optLandscape.TabStop = true; this.optLandscape.Text = "Landscape"; this.optLandscape.UseVisualStyleBackColor = false; this.optLandscape.Click += new System.EventHandler(this.optLandscape_Click); // // optPortrait // this.optPortrait.BackColor = System.Drawing.SystemColors.Control; this.optPortrait.Cursor = System.Windows.Forms.Cursors.Default; this.optPortrait.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.optPortrait.ForeColor = System.Drawing.SystemColors.ControlText; this.optPortrait.Location = new System.Drawing.Point(10, 138); this.optPortrait.Name = "optPortrait"; this.optPortrait.RightToLeft = System.Windows.Forms.RightToLeft.No; this.optPortrait.Size = new System.Drawing.Size(119, 29); this.optPortrait.TabIndex = 21; this.optPortrait.TabStop = true; this.optPortrait.Text = "Portrait"; this.optPortrait.UseVisualStyleBackColor = false; this.optPortrait.Click += new System.EventHandler(this.optPortrait_Click); // // cboPageToPrinterMapping // this.cboPageToPrinterMapping.BackColor = System.Drawing.SystemColors.Window; this.cboPageToPrinterMapping.Cursor = System.Windows.Forms.Cursors.Default; this.cboPageToPrinterMapping.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.cboPageToPrinterMapping.ForeColor = System.Drawing.SystemColors.WindowText; this.cboPageToPrinterMapping.Location = new System.Drawing.Point(10, 102); this.cboPageToPrinterMapping.Name = "cboPageToPrinterMapping"; this.cboPageToPrinterMapping.RightToLeft = System.Windows.Forms.RightToLeft.No; this.cboPageToPrinterMapping.Size = new System.Drawing.Size(250, 24); this.cboPageToPrinterMapping.TabIndex = 20; this.cboPageToPrinterMapping.Text = "Combo2"; this.cboPageToPrinterMapping.Click += new System.EventHandler(this.cboPageToPrinterMapping_Click); // // cboPageSize // this.cboPageSize.BackColor = System.Drawing.SystemColors.Window; this.cboPageSize.Cursor = System.Windows.Forms.Cursors.Default; this.cboPageSize.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.cboPageSize.ForeColor = System.Drawing.SystemColors.WindowText; this.cboPageSize.Location = new System.Drawing.Point(10, 46); this.cboPageSize.Name = "cboPageSize"; this.cboPageSize.RightToLeft = System.Windows.Forms.RightToLeft.No; this.cboPageSize.Size = new System.Drawing.Size(250, 24); this.cboPageSize.TabIndex = 18; this.cboPageSize.Text = "Combo1"; this.cboPageSize.SelectedIndexChanged += new System.EventHandler(this.cboPageSize_SelectedIndexChanged); // // lblPageCount // this.lblPageCount.BackColor = System.Drawing.SystemColors.Control; this.lblPageCount.Cursor = System.Windows.Forms.Cursors.Default; this.lblPageCount.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblPageCount.ForeColor = System.Drawing.SystemColors.ControlText; this.lblPageCount.Location = new System.Drawing.Point(116, 175); this.lblPageCount.Name = "lblPageCount"; this.lblPageCount.RightToLeft = System.Windows.Forms.RightToLeft.No; this.lblPageCount.Size = new System.Drawing.Size(144, 20); this.lblPageCount.TabIndex = 26; // // Label9 // this.Label9.BackColor = System.Drawing.SystemColors.Control; this.Label9.Cursor = System.Windows.Forms.Cursors.Default; this.Label9.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Label9.ForeColor = System.Drawing.SystemColors.ControlText; this.Label9.Location = new System.Drawing.Point(10, 175); this.Label9.Name = "Label9"; this.Label9.RightToLeft = System.Windows.Forms.RightToLeft.No; this.Label9.Size = new System.Drawing.Size(161, 20); this.Label9.TabIndex = 23; this.Label9.Text = "Page Count: "; // // Label8 // this.Label8.BackColor = System.Drawing.SystemColors.Control; this.Label8.Cursor = System.Windows.Forms.Cursors.Default; this.Label8.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Label8.ForeColor = System.Drawing.SystemColors.ControlText; this.Label8.Location = new System.Drawing.Point(10, 83); this.Label8.Name = "Label8"; this.Label8.RightToLeft = System.Windows.Forms.RightToLeft.No; this.Label8.Size = new System.Drawing.Size(250, 29); this.Label8.TabIndex = 19; this.Label8.Text = "Page to Printer Mapping"; // // Label6 // this.Label6.BackColor = System.Drawing.SystemColors.Control; this.Label6.Cursor = System.Windows.Forms.Cursors.Default; this.Label6.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Label6.ForeColor = System.Drawing.SystemColors.ControlText; this.Label6.Location = new System.Drawing.Point(10, 28); this.Label6.Name = "Label6"; this.Label6.RightToLeft = System.Windows.Forms.RightToLeft.No; this.Label6.Size = new System.Drawing.Size(250, 38); this.Label6.TabIndex = 17; this.Label6.Text = "Page Size"; // // fraPrint // this.fraPrint.BackColor = System.Drawing.SystemColors.Control; this.fraPrint.Controls.Add(this.txbOverlap); this.fraPrint.Controls.Add(this.cmdPrint); this.fraPrint.Controls.Add(this.txbStartPage); this.fraPrint.Controls.Add(this.txbEndPage); this.fraPrint.Controls.Add(this.Label5); this.fraPrint.Controls.Add(this.Label1); this.fraPrint.Controls.Add(this.Label2); this.fraPrint.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.fraPrint.ForeColor = System.Drawing.SystemColors.ControlText; this.fraPrint.Location = new System.Drawing.Point(414, 472); this.fraPrint.Name = "fraPrint"; this.fraPrint.RightToLeft = System.Windows.Forms.RightToLeft.No; this.fraPrint.Size = new System.Drawing.Size(273, 124); this.fraPrint.TabIndex = 21; this.fraPrint.TabStop = false; this.fraPrint.Text = "Print"; // // txbOverlap // this.txbOverlap.AcceptsReturn = true; this.txbOverlap.BackColor = System.Drawing.SystemColors.Window; this.txbOverlap.Cursor = System.Windows.Forms.Cursors.IBeam; this.txbOverlap.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txbOverlap.ForeColor = System.Drawing.SystemColors.WindowText; this.txbOverlap.Location = new System.Drawing.Point(192, 28); this.txbOverlap.MaxLength = 0; this.txbOverlap.Name = "txbOverlap"; this.txbOverlap.RightToLeft = System.Windows.Forms.RightToLeft.No; this.txbOverlap.Size = new System.Drawing.Size(68, 23); this.txbOverlap.TabIndex = 9; this.txbOverlap.Text = "0"; this.txbOverlap.Leave += new System.EventHandler(this.txbOverlap_Leave); // // cmdPrint // this.cmdPrint.BackColor = System.Drawing.SystemColors.Control; this.cmdPrint.Cursor = System.Windows.Forms.Cursors.Default; this.cmdPrint.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.cmdPrint.ForeColor = System.Drawing.SystemColors.ControlText; this.cmdPrint.Location = new System.Drawing.Point(10, 83); this.cmdPrint.Name = "cmdPrint"; this.cmdPrint.RightToLeft = System.Windows.Forms.RightToLeft.No; this.cmdPrint.Size = new System.Drawing.Size(250, 29); this.cmdPrint.TabIndex = 8; this.cmdPrint.Text = "Print Page Layout"; this.cmdPrint.UseVisualStyleBackColor = false; this.cmdPrint.Click += new System.EventHandler(this.cmdPrint_Click); // // txbStartPage // this.txbStartPage.AcceptsReturn = true; this.txbStartPage.BackColor = System.Drawing.SystemColors.Window; this.txbStartPage.Cursor = System.Windows.Forms.Cursors.IBeam; this.txbStartPage.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txbStartPage.ForeColor = System.Drawing.SystemColors.WindowText; this.txbStartPage.Location = new System.Drawing.Point(71, 55); this.txbStartPage.MaxLength = 0; this.txbStartPage.Name = "txbStartPage"; this.txbStartPage.RightToLeft = System.Windows.Forms.RightToLeft.No; this.txbStartPage.Size = new System.Drawing.Size(58, 23); this.txbStartPage.TabIndex = 7; this.txbStartPage.Text = "1"; // // txbEndPage // this.txbEndPage.AcceptsReturn = true; this.txbEndPage.BackColor = System.Drawing.SystemColors.Window; this.txbEndPage.Cursor = System.Windows.Forms.Cursors.IBeam; this.txbEndPage.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txbEndPage.ForeColor = System.Drawing.SystemColors.WindowText; this.txbEndPage.Location = new System.Drawing.Point(192, 55); this.txbEndPage.MaxLength = 0; this.txbEndPage.Name = "txbEndPage"; this.txbEndPage.RightToLeft = System.Windows.Forms.RightToLeft.No; this.txbEndPage.Size = new System.Drawing.Size(68, 23); this.txbEndPage.TabIndex = 6; this.txbEndPage.Text = "0"; // // Label5 // this.Label5.BackColor = System.Drawing.SystemColors.Control; this.Label5.Cursor = System.Windows.Forms.Cursors.Default; this.Label5.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Label5.ForeColor = System.Drawing.SystemColors.ControlText; this.Label5.Location = new System.Drawing.Point(10, 55); this.Label5.Name = "Label5"; this.Label5.RightToLeft = System.Windows.Forms.RightToLeft.No; this.Label5.Size = new System.Drawing.Size(61, 20); this.Label5.TabIndex = 12; this.Label5.Text = "Pages"; // // Label1 // this.Label1.BackColor = System.Drawing.SystemColors.Control; this.Label1.Cursor = System.Windows.Forms.Cursors.Default; this.Label1.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Label1.ForeColor = System.Drawing.SystemColors.ControlText; this.Label1.Location = new System.Drawing.Point(141, 55); this.Label1.Name = "Label1"; this.Label1.RightToLeft = System.Windows.Forms.RightToLeft.No; this.Label1.Size = new System.Drawing.Size(30, 20); this.Label1.TabIndex = 11; this.Label1.Text = "To"; // // Label2 // this.Label2.BackColor = System.Drawing.SystemColors.Control; this.Label2.Cursor = System.Windows.Forms.Cursors.Default; this.Label2.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Label2.ForeColor = System.Drawing.SystemColors.ControlText; this.Label2.Location = new System.Drawing.Point(10, 28); this.Label2.Name = "Label2"; this.Label2.RightToLeft = System.Windows.Forms.RightToLeft.No; this.Label2.Size = new System.Drawing.Size(222, 38); this.Label2.TabIndex = 10; this.Label2.Text = "Overlap between pages"; // // fraPrinter // this.fraPrinter.BackColor = System.Drawing.SystemColors.Control; this.fraPrinter.Controls.Add(this.lblPrinterOrientation); this.fraPrinter.Controls.Add(this.Label10); this.fraPrinter.Controls.Add(this.lblPrinterName); this.fraPrinter.Controls.Add(this.Label7); this.fraPrinter.Controls.Add(this.lblPrinterSize); this.fraPrinter.Controls.Add(this.lblPdcdcrinter); this.fraPrinter.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.fraPrinter.ForeColor = System.Drawing.SystemColors.ControlText; this.fraPrinter.Location = new System.Drawing.Point(415, 361); this.fraPrinter.Name = "fraPrinter"; this.fraPrinter.RightToLeft = System.Windows.Forms.RightToLeft.No; this.fraPrinter.Size = new System.Drawing.Size(273, 107); this.fraPrinter.TabIndex = 20; this.fraPrinter.TabStop = false; this.fraPrinter.Text = "Printer"; // // lblPrinterOrientation // this.lblPrinterOrientation.BackColor = System.Drawing.SystemColors.Control; this.lblPrinterOrientation.Cursor = System.Windows.Forms.Cursors.Default; this.lblPrinterOrientation.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblPrinterOrientation.ForeColor = System.Drawing.SystemColors.ControlText; this.lblPrinterOrientation.Location = new System.Drawing.Point(141, 78); this.lblPrinterOrientation.Name = "lblPrinterOrientation"; this.lblPrinterOrientation.RightToLeft = System.Windows.Forms.RightToLeft.No; this.lblPrinterOrientation.Size = new System.Drawing.Size(122, 19); this.lblPrinterOrientation.TabIndex = 25; // // Label10 // this.Label10.BackColor = System.Drawing.SystemColors.Control; this.Label10.Cursor = System.Windows.Forms.Cursors.Default; this.Label10.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Label10.ForeColor = System.Drawing.SystemColors.ControlText; this.Label10.Location = new System.Drawing.Point(10, 78); this.Label10.Name = "Label10"; this.Label10.RightToLeft = System.Windows.Forms.RightToLeft.No; this.Label10.Size = new System.Drawing.Size(250, 19); this.Label10.TabIndex = 24; this.Label10.Text = "Paper Orientation:"; // // lblPrinterName // this.lblPrinterName.BackColor = System.Drawing.SystemColors.Control; this.lblPrinterName.Cursor = System.Windows.Forms.Cursors.Default; this.lblPrinterName.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblPrinterName.ForeColor = System.Drawing.SystemColors.ControlText; this.lblPrinterName.Location = new System.Drawing.Point(58, 21); this.lblPrinterName.Name = "lblPrinterName"; this.lblPrinterName.RightToLeft = System.Windows.Forms.RightToLeft.No; this.lblPrinterName.Size = new System.Drawing.Size(209, 30); this.lblPrinterName.TabIndex = 4; // // Label7 // this.Label7.BackColor = System.Drawing.SystemColors.Control; this.Label7.Cursor = System.Windows.Forms.Cursors.Default; this.Label7.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Label7.ForeColor = System.Drawing.SystemColors.ControlText; this.Label7.Location = new System.Drawing.Point(10, 22); this.Label7.Name = "Label7"; this.Label7.RightToLeft = System.Windows.Forms.RightToLeft.No; this.Label7.Size = new System.Drawing.Size(250, 19); this.Label7.TabIndex = 3; this.Label7.Text = "Name:"; // // lblPrinterSize // this.lblPrinterSize.BackColor = System.Drawing.SystemColors.Control; this.lblPrinterSize.Cursor = System.Windows.Forms.Cursors.Default; this.lblPrinterSize.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblPrinterSize.ForeColor = System.Drawing.SystemColors.ControlText; this.lblPrinterSize.Location = new System.Drawing.Point(86, 53); this.lblPrinterSize.Name = "lblPrinterSize"; this.lblPrinterSize.RightToLeft = System.Windows.Forms.RightToLeft.No; this.lblPrinterSize.Size = new System.Drawing.Size(181, 20); this.lblPrinterSize.TabIndex = 2; // // lblPdcdcrinter // this.lblPdcdcrinter.BackColor = System.Drawing.SystemColors.Control; this.lblPdcdcrinter.Cursor = System.Windows.Forms.Cursors.Default; this.lblPdcdcrinter.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblPdcdcrinter.ForeColor = System.Drawing.SystemColors.ControlText; this.lblPdcdcrinter.Location = new System.Drawing.Point(10, 53); this.lblPdcdcrinter.Name = "lblPdcdcrinter"; this.lblPdcdcrinter.RightToLeft = System.Windows.Forms.RightToLeft.No; this.lblPdcdcrinter.Size = new System.Drawing.Size(250, 20); this.lblPdcdcrinter.TabIndex = 1; this.lblPdcdcrinter.Text = "Paper Size:"; // // axPageLayoutControl1 // this.axPageLayoutControl1.Location = new System.Drawing.Point(12, 55); this.axPageLayoutControl1.Name = "axPageLayoutControl1"; this.axPageLayoutControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axPageLayoutControl1.OcxState"))); this.axPageLayoutControl1.Size = new System.Drawing.Size(396, 541); this.axPageLayoutControl1.TabIndex = 22; // // axLicenseControl1 // this.axLicenseControl1.Enabled = true; this.axLicenseControl1.Location = new System.Drawing.Point(255, 114); this.axLicenseControl1.Name = "axLicenseControl1"; this.axLicenseControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axLicenseControl1.OcxState"))); this.axLicenseControl1.Size = new System.Drawing.Size(32, 32); this.axLicenseControl1.TabIndex = 24; // // label3 // this.label3.Location = new System.Drawing.Point(6, 205); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(261, 87); this.label3.TabIndex = 27; this.label3.Text = "Changing the page orientation or size may result in the map frame shrinking in re" + "lation to the page. This is dependant on the IPage::StretchGraphicsWithPage prop" + "erty."; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(6, 15); this.ClientSize = new System.Drawing.Size(700, 606); this.Controls.Add(this.axLicenseControl1); this.Controls.Add(this.axPageLayoutControl1); this.Controls.Add(this.fraPrint); this.Controls.Add(this.fraPrinter); this.Controls.Add(this.Frame2); this.Controls.Add(this.Line2); this.Controls.Add(this.cmdLoadMxFile); this.Controls.Add(this.txbMxFilePath); this.Name = "Form1"; this.Text = "Form1"; this.Load += new System.EventHandler(this.Form1_Load); this.Frame2.ResumeLayout(false); this.fraPrint.ResumeLayout(false); this.fraPrint.PerformLayout(); this.fraPrinter.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmPrintPreview)); this.btnPageSize = new System.Windows.Forms.Button(); this.btnPrintpreview = new System.Windows.Forms.Button(); this.btnPrint = new System.Windows.Forms.Button(); this.PrintPagelayoutControl = new ESRI.ArcGIS.Controls.AxPageLayoutControl(); this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl(); ((System.ComponentModel.ISupportInitialize)(this.PrintPagelayoutControl)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit(); this.SuspendLayout(); // // btnPageSize // this.btnPageSize.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnPageSize.Location = new System.Drawing.Point(301, 76); this.btnPageSize.Name = "btnPageSize"; this.btnPageSize.Size = new System.Drawing.Size(100, 29); this.btnPageSize.TabIndex = 4; this.btnPageSize.Text = "页面设置"; this.btnPageSize.Click += new System.EventHandler(this.btnPageSize_Click); // // btnPrintpreview // this.btnPrintpreview.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnPrintpreview.Location = new System.Drawing.Point(301, 188); this.btnPrintpreview.Name = "btnPrintpreview"; this.btnPrintpreview.Size = new System.Drawing.Size(100, 29); this.btnPrintpreview.TabIndex = 5; this.btnPrintpreview.Text = "打印预览"; this.btnPrintpreview.Click += new System.EventHandler(this.btnPrintpreview_Click); // // btnPrint // this.btnPrint.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnPrint.Location = new System.Drawing.Point(301, 282); this.btnPrint.Name = "btnPrint"; this.btnPrint.Size = new System.Drawing.Size(100, 29); this.btnPrint.TabIndex = 6; this.btnPrint.Text = "打印"; this.btnPrint.Click += new System.EventHandler(this.btnPrint_Click); // // PrintPagelayoutControl // this.PrintPagelayoutControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.PrintPagelayoutControl.Location = new System.Drawing.Point(12, 0); this.PrintPagelayoutControl.Name = "PrintPagelayoutControl"; this.PrintPagelayoutControl.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("PrintPagelayoutControl.OcxState"))); this.PrintPagelayoutControl.Size = new System.Drawing.Size(283, 331); this.PrintPagelayoutControl.TabIndex = 9; // // axLicenseControl1 // this.axLicenseControl1.Enabled = true; this.axLicenseControl1.Location = new System.Drawing.Point(636, 81); this.axLicenseControl1.Name = "axLicenseControl1"; this.axLicenseControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axLicenseControl1.OcxState"))); this.axLicenseControl1.Size = new System.Drawing.Size(32, 32); this.axLicenseControl1.TabIndex = 10; // // frmPrintPreview // this.AutoScaleBaseSize = new System.Drawing.Size(8, 18); this.ClientSize = new System.Drawing.Size(409, 315); this.Controls.Add(this.axLicenseControl1); this.Controls.Add(this.PrintPagelayoutControl); this.Controls.Add(this.btnPrint); this.Controls.Add(this.btnPrintpreview); this.Controls.Add(this.btnPageSize); this.Name = "frmPrintPreview"; this.Text = "打印"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.PrintPagelayoutControl)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1)); this.axPageLayoutControl1 = new ESRI.ArcGIS.Controls.AxPageLayoutControl(); this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl(); this.axToolbarControl1 = new ESRI.ArcGIS.Controls.AxToolbarControl(); this.cmdDraw = new System.Windows.Forms.Button(); this.cmdDelete = new System.Windows.Forms.Button(); this.cmdChangeArea = new System.Windows.Forms.Button(); this.cmdChangeLine = new System.Windows.Forms.Button(); ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).BeginInit(); this.SuspendLayout(); // // axPageLayoutControl1 // this.axPageLayoutControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.axPageLayoutControl1.Location = new System.Drawing.Point(0, 48); this.axPageLayoutControl1.Name = "axPageLayoutControl1"; this.axPageLayoutControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axPageLayoutControl1.OcxState"))); this.axPageLayoutControl1.Size = new System.Drawing.Size(800, 536); this.axPageLayoutControl1.TabIndex = 0; this.axPageLayoutControl1.OnPageLayoutReplaced += new ESRI.ArcGIS.Controls.IPageLayoutControlEvents_Ax_OnPageLayoutReplacedEventHandler(this.axPageLayoutControl1_OnPageLayoutReplaced); // // axLicenseControl1 // this.axLicenseControl1.Enabled = true; this.axLicenseControl1.Location = new System.Drawing.Point(64, 32); this.axLicenseControl1.Name = "axLicenseControl1"; this.axLicenseControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axLicenseControl1.OcxState"))); this.axLicenseControl1.Size = new System.Drawing.Size(32, 32); this.axLicenseControl1.TabIndex = 1; // // axToolbarControl1 // this.axToolbarControl1.Location = new System.Drawing.Point(0, 0); this.axToolbarControl1.Name = "axToolbarControl1"; this.axToolbarControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axToolbarControl1.OcxState"))); this.axToolbarControl1.Size = new System.Drawing.Size(352, 28); this.axToolbarControl1.TabIndex = 6; // // cmdDraw // this.cmdDraw.Location = new System.Drawing.Point(368, 8); this.cmdDraw.Name = "cmdDraw"; this.cmdDraw.Size = new System.Drawing.Size(88, 23); this.cmdDraw.TabIndex = 7; this.cmdDraw.Text = "Add Legend"; this.cmdDraw.Click += new System.EventHandler(this.button1_Click); // // cmdDelete // this.cmdDelete.Location = new System.Drawing.Point(464, 8); this.cmdDelete.Name = "cmdDelete"; this.cmdDelete.Size = new System.Drawing.Size(88, 23); this.cmdDelete.TabIndex = 8; this.cmdDelete.Text = "Delete Legend"; this.cmdDelete.Click += new System.EventHandler(this.button2_Click); // // cmdChangeArea // this.cmdChangeArea.Location = new System.Drawing.Point(560, 8); this.cmdChangeArea.Name = "cmdChangeArea"; this.cmdChangeArea.Size = new System.Drawing.Size(112, 23); this.cmdChangeArea.TabIndex = 9; this.cmdChangeArea.Text = "Change Area Patch"; this.cmdChangeArea.Click += new System.EventHandler(this.button3_Click); // // cmdChangeLine // this.cmdChangeLine.Location = new System.Drawing.Point(680, 8); this.cmdChangeLine.Name = "cmdChangeLine"; this.cmdChangeLine.Size = new System.Drawing.Size(112, 23); this.cmdChangeLine.TabIndex = 10; this.cmdChangeLine.Text = "Change Line Patch"; this.cmdChangeLine.Click += new System.EventHandler(this.button4_Click); // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(800, 582); this.Controls.Add(this.cmdChangeLine); this.Controls.Add(this.cmdChangeArea); this.Controls.Add(this.cmdDelete); this.Controls.Add(this.cmdDraw); this.Controls.Add(this.axToolbarControl1); this.Controls.Add(this.axLicenseControl1); this.Controls.Add(this.axPageLayoutControl1); this.Name = "Form1"; this.Text = "AreaLinePatches"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Overview)); this.txbMxPath = new System.Windows.Forms.TextBox(); this.cmdLoadMxFile = new System.Windows.Forms.Button(); this.cmdZoomPage = new System.Windows.Forms.Button(); this.Label2 = new System.Windows.Forms.Label(); this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); this.axPageLayoutControl1 = new ESRI.ArcGIS.Controls.AxPageLayoutControl(); this.axPageLayoutControl2 = new ESRI.ArcGIS.Controls.AxPageLayoutControl(); this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl(); ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit(); this.SuspendLayout(); // // txbMxPath // this.txbMxPath.AcceptsReturn = true; this.txbMxPath.BackColor = System.Drawing.SystemColors.Window; this.txbMxPath.Cursor = System.Windows.Forms.Cursors.IBeam; this.txbMxPath.Enabled = false; this.txbMxPath.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txbMxPath.ForeColor = System.Drawing.SystemColors.WindowText; this.txbMxPath.Location = new System.Drawing.Point(8, 8); this.txbMxPath.MaxLength = 0; this.txbMxPath.Name = "txbMxPath"; this.txbMxPath.RightToLeft = System.Windows.Forms.RightToLeft.No; this.txbMxPath.Size = new System.Drawing.Size(249, 19); this.txbMxPath.TabIndex = 6; // // cmdLoadMxFile // this.cmdLoadMxFile.BackColor = System.Drawing.SystemColors.Control; this.cmdLoadMxFile.Cursor = System.Windows.Forms.Cursors.Default; this.cmdLoadMxFile.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.cmdLoadMxFile.ForeColor = System.Drawing.SystemColors.ControlText; this.cmdLoadMxFile.Location = new System.Drawing.Point(264, 8); this.cmdLoadMxFile.Name = "cmdLoadMxFile"; this.cmdLoadMxFile.RightToLeft = System.Windows.Forms.RightToLeft.No; this.cmdLoadMxFile.Size = new System.Drawing.Size(113, 25); this.cmdLoadMxFile.TabIndex = 5; this.cmdLoadMxFile.Text = "Load Mx File"; this.cmdLoadMxFile.UseVisualStyleBackColor = false; this.cmdLoadMxFile.Click += new System.EventHandler(this.cmdLoadMxFile_Click); // // cmdZoomPage // this.cmdZoomPage.BackColor = System.Drawing.SystemColors.Control; this.cmdZoomPage.Cursor = System.Windows.Forms.Cursors.Default; this.cmdZoomPage.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.cmdZoomPage.ForeColor = System.Drawing.SystemColors.ControlText; this.cmdZoomPage.Location = new System.Drawing.Point(264, 320); this.cmdZoomPage.Name = "cmdZoomPage"; this.cmdZoomPage.RightToLeft = System.Windows.Forms.RightToLeft.No; this.cmdZoomPage.Size = new System.Drawing.Size(113, 25); this.cmdZoomPage.TabIndex = 9; this.cmdZoomPage.Text = "Zoom To Page"; this.cmdZoomPage.UseVisualStyleBackColor = false; this.cmdZoomPage.Click += new System.EventHandler(this.cmdZoomPage_Click); // // Label2 // this.Label2.BackColor = System.Drawing.SystemColors.Control; this.Label2.Cursor = System.Windows.Forms.Cursors.Default; this.Label2.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Label2.ForeColor = System.Drawing.SystemColors.ControlText; this.Label2.Location = new System.Drawing.Point(264, 256); this.Label2.Name = "Label2"; this.Label2.RightToLeft = System.Windows.Forms.RightToLeft.No; this.Label2.Size = new System.Drawing.Size(121, 57); this.Label2.TabIndex = 10; this.Label2.Text = "Use the left mouse button to drag a rectangle and the right mouse button to pan." + ""; // // axPageLayoutControl1 // this.axPageLayoutControl1.Location = new System.Drawing.Point(8, 32); this.axPageLayoutControl1.Name = "axPageLayoutControl1"; this.axPageLayoutControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axPageLayoutControl1.OcxState"))); this.axPageLayoutControl1.Size = new System.Drawing.Size(248, 320); this.axPageLayoutControl1.TabIndex = 11; this.axPageLayoutControl1.OnMouseDown += new ESRI.ArcGIS.Controls.IPageLayoutControlEvents_Ax_OnMouseDownEventHandler(this.axPageLayoutControl1_OnMouseDown); this.axPageLayoutControl1.OnPageLayoutReplaced += new ESRI.ArcGIS.Controls.IPageLayoutControlEvents_Ax_OnPageLayoutReplacedEventHandler(this.axPageLayoutControl1_OnPageLayoutReplaced); this.axPageLayoutControl1.OnExtentUpdated += new ESRI.ArcGIS.Controls.IPageLayoutControlEvents_Ax_OnExtentUpdatedEventHandler(this.axPageLayoutControl1_OnExtentUpdated); // // axPageLayoutControl2 // this.axPageLayoutControl2.Location = new System.Drawing.Point(264, 40); this.axPageLayoutControl2.Name = "axPageLayoutControl2"; this.axPageLayoutControl2.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axPageLayoutControl2.OcxState"))); this.axPageLayoutControl2.Size = new System.Drawing.Size(112, 176); this.axPageLayoutControl2.TabIndex = 12; // // axLicenseControl1 // this.axLicenseControl1.Enabled = true; this.axLicenseControl1.Location = new System.Drawing.Point(24, 48); this.axLicenseControl1.Name = "axLicenseControl1"; this.axLicenseControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axLicenseControl1.OcxState"))); this.axLicenseControl1.Size = new System.Drawing.Size(32, 32); this.axLicenseControl1.TabIndex = 13; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(384, 358); this.Controls.Add(this.axLicenseControl1); this.Controls.Add(this.axPageLayoutControl2); this.Controls.Add(this.axPageLayoutControl1); this.Controls.Add(this.cmdZoomPage); this.Controls.Add(this.Label2); this.Controls.Add(this.txbMxPath); this.Controls.Add(this.cmdLoadMxFile); this.Name = "Form1"; this.Text = "Form1"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(CommandsEnvironment)); this.ComboBox1 = new System.Windows.Forms.ComboBox(); this.axSymbologyControl1 = new ESRI.ArcGIS.Controls.AxSymbologyControl(); this.axToolbarControl1 = new ESRI.ArcGIS.Controls.AxToolbarControl(); this.axPageLayoutControl1 = new ESRI.ArcGIS.Controls.AxPageLayoutControl(); this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl(); ((System.ComponentModel.ISupportInitialize)(this.axSymbologyControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit(); this.SuspendLayout(); // // ComboBox1 // this.ComboBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.ComboBox1.Location = new System.Drawing.Point(456, 8); this.ComboBox1.Name = "ComboBox1"; this.ComboBox1.Size = new System.Drawing.Size(264, 21); this.ComboBox1.TabIndex = 4; this.ComboBox1.Text = "ComboBox1"; this.ComboBox1.SelectedIndexChanged += new System.EventHandler(this.ComboBox1_SelectedIndexChanged); // // axSymbologyControl1 // this.axSymbologyControl1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.axSymbologyControl1.Location = new System.Drawing.Point(456, 40); this.axSymbologyControl1.Name = "axSymbologyControl1"; this.axSymbologyControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axSymbologyControl1.OcxState"))); this.axSymbologyControl1.Size = new System.Drawing.Size(265, 265); this.axSymbologyControl1.TabIndex = 5; this.axSymbologyControl1.OnItemSelected += new ESRI.ArcGIS.Controls.ISymbologyControlEvents_Ax_OnItemSelectedEventHandler(this.axSymbologyControl1_OnItemSelected); // // axToolbarControl1 // this.axToolbarControl1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.axToolbarControl1.Location = new System.Drawing.Point(8, 8); this.axToolbarControl1.Name = "axToolbarControl1"; this.axToolbarControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axToolbarControl1.OcxState"))); this.axToolbarControl1.Size = new System.Drawing.Size(440, 28); this.axToolbarControl1.TabIndex = 6; // // axPageLayoutControl1 // this.axPageLayoutControl1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.axPageLayoutControl1.Location = new System.Drawing.Point(8, 40); this.axPageLayoutControl1.Name = "axPageLayoutControl1"; this.axPageLayoutControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axPageLayoutControl1.OcxState"))); this.axPageLayoutControl1.Size = new System.Drawing.Size(440, 432); this.axPageLayoutControl1.TabIndex = 7; this.axPageLayoutControl1.OnMouseDown += new ESRI.ArcGIS.Controls.IPageLayoutControlEvents_Ax_OnMouseDownEventHandler(this.axPageLayoutControl1_OnMouseDown); // // axLicenseControl1 // this.axLicenseControl1.Enabled = true; this.axLicenseControl1.Location = new System.Drawing.Point(336, 24); this.axLicenseControl1.Name = "axLicenseControl1"; this.axLicenseControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axLicenseControl1.OcxState"))); this.axLicenseControl1.Size = new System.Drawing.Size(32, 32); this.axLicenseControl1.TabIndex = 8; // // Form1 // //Removed setting for AutoScaleBaseSize //this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); //set AutoScaleDimensions & AutoScaleMode to allow AdjustBounds to scale controls correctly at 120 dpi this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(728, 478); this.Controls.Add(this.axLicenseControl1); this.Controls.Add(this.axPageLayoutControl1); this.Controls.Add(this.axToolbarControl1); this.Controls.Add(this.axSymbologyControl1); this.Controls.Add(this.ComboBox1); this.Name = "Form1"; this.Text = "Updating the Command Environment"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.axSymbologyControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1)); this.ComboBox1 = new System.Windows.Forms.ComboBox(); this.axToolbarControl1 = new ESRI.ArcGIS.Controls.AxToolbarControl(); this.axSymbologyControl1 = new ESRI.ArcGIS.Controls.AxSymbologyControl(); this.axPageLayoutControl1 = new ESRI.ArcGIS.Controls.AxPageLayoutControl(); this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl(); ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axSymbologyControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit(); this.SuspendLayout(); // // ComboBox1 // this.ComboBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.ComboBox1.Location = new System.Drawing.Point(424, 8); this.ComboBox1.Name = "ComboBox1"; this.ComboBox1.Size = new System.Drawing.Size(258, 21); this.ComboBox1.TabIndex = 5; this.ComboBox1.Text = "ComboBox1"; this.ComboBox1.SelectedIndexChanged += new System.EventHandler(this.ComboBox1_SelectedIndexChanged); // // axToolbarControl1 // this.axToolbarControl1.Location = new System.Drawing.Point(8, 8); this.axToolbarControl1.Name = "axToolbarControl1"; this.axToolbarControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axToolbarControl1.OcxState"))); this.axToolbarControl1.Size = new System.Drawing.Size(408, 28); this.axToolbarControl1.TabIndex = 6; // // axSymbologyControl1 // this.axSymbologyControl1.Location = new System.Drawing.Point(424, 40); this.axSymbologyControl1.Name = "axSymbologyControl1"; this.axSymbologyControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axSymbologyControl1.OcxState"))); this.axSymbologyControl1.Size = new System.Drawing.Size(265, 265); this.axSymbologyControl1.TabIndex = 7; this.axSymbologyControl1.OnItemSelected += new ESRI.ArcGIS.Controls.ISymbologyControlEvents_Ax_OnItemSelectedEventHandler(this.axSymbologyControl1_OnItemSelected); // // axPageLayoutControl1 // this.axPageLayoutControl1.Location = new System.Drawing.Point(8, 40); this.axPageLayoutControl1.Name = "axPageLayoutControl1"; this.axPageLayoutControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axPageLayoutControl1.OcxState"))); this.axPageLayoutControl1.Size = new System.Drawing.Size(408, 368); this.axPageLayoutControl1.TabIndex = 8; this.axPageLayoutControl1.OnPageLayoutReplaced += new ESRI.ArcGIS.Controls.IPageLayoutControlEvents_Ax_OnPageLayoutReplacedEventHandler(this.axPageLayoutControl1_OnPageLayoutReplaced); // // axLicenseControl1 // this.axLicenseControl1.Enabled = true; this.axLicenseControl1.Location = new System.Drawing.Point(336, 24); this.axLicenseControl1.Name = "axLicenseControl1"; this.axLicenseControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axLicenseControl1.OcxState"))); this.axLicenseControl1.Size = new System.Drawing.Size(32, 32); this.axLicenseControl1.TabIndex = 9; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(698, 414); this.Controls.Add(this.axLicenseControl1); this.Controls.Add(this.axPageLayoutControl1); this.Controls.Add(this.axSymbologyControl1); this.Controls.Add(this.axToolbarControl1); this.Controls.Add(this.ComboBox1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.Name = "Form1"; this.Text = "Setting Frame Properties"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axSymbologyControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.axToolbarControl1 = new ESRI.ArcGIS.Controls.AxToolbarControl(); this.axPageLayoutControl1 = new ESRI.ArcGIS.Controls.AxPageLayoutControl(); this.button1 = new System.Windows.Forms.Button(); this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl(); this.textBox1 = new System.Windows.Forms.TextBox(); this.comboBox1 = new System.Windows.Forms.ComboBox(); this.Label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit(); this.SuspendLayout(); // // axToolbarControl1 // this.axToolbarControl1.Location = new System.Drawing.Point(8, 8); this.axToolbarControl1.Name = "axToolbarControl1"; this.axToolbarControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axToolbarControl1.OcxState"))); this.axToolbarControl1.Size = new System.Drawing.Size(200, 28); this.axToolbarControl1.TabIndex = 0; // // axPageLayoutControl1 // this.axPageLayoutControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.axPageLayoutControl1.Location = new System.Drawing.Point(0, 56); this.axPageLayoutControl1.Name = "axPageLayoutControl1"; this.axPageLayoutControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axPageLayoutControl1.OcxState"))); this.axPageLayoutControl1.Size = new System.Drawing.Size(640, 328); this.axPageLayoutControl1.TabIndex = 1; this.axPageLayoutControl1.OnMouseDown += new ESRI.ArcGIS.Controls.IPageLayoutControlEvents_Ax_OnMouseDownEventHandler(this.axPageLayoutControl1_OnMouseDown); // // button1 // this.button1.Location = new System.Drawing.Point(216, 8); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(128, 23); this.button1.TabIndex = 2; this.button1.Text = "Select Text Symbol"; this.button1.Click += new System.EventHandler(this.button1_Click); // // axLicenseControl1 // this.axLicenseControl1.Enabled = true; this.axLicenseControl1.Location = new System.Drawing.Point(80, 32); this.axLicenseControl1.Name = "axLicenseControl1"; this.axLicenseControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axLicenseControl1.OcxState"))); this.axLicenseControl1.Size = new System.Drawing.Size(32, 32); this.axLicenseControl1.TabIndex = 3; // // textBox1 // this.textBox1.Location = new System.Drawing.Point(352, 8); this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(192, 20); this.textBox1.TabIndex = 4; this.textBox1.Text = "TextElement with selected TextSymbol"; // // comboBox1 // this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBox1.Location = new System.Drawing.Point(552, 8); this.comboBox1.Name = "comboBox1"; this.comboBox1.Size = new System.Drawing.Size(80, 21); this.comboBox1.TabIndex = 5; // // Label1 // this.Label1.Location = new System.Drawing.Point(351, 38); this.Label1.Name = "Label1"; this.Label1.Size = new System.Drawing.Size(296, 16); this.Label1.TabIndex = 7; this.Label1.Text = "2) Right click on the display to add a text element"; // // label2 // this.label2.Location = new System.Drawing.Point(214, 37); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(296, 16); this.label2.TabIndex = 8; this.label2.Text = "1) Select a text symbol"; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(640, 382); this.Controls.Add(this.Label1); this.Controls.Add(this.comboBox1); this.Controls.Add(this.textBox1); this.Controls.Add(this.axLicenseControl1); this.Controls.Add(this.button1); this.Controls.Add(this.axPageLayoutControl1); this.Controls.Add(this.axToolbarControl1); this.Controls.Add(this.label2); this.Name = "Form1"; this.Text = "Change Text Symbol"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmLayoutPage)); this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl(); this.axPageLayoutControl1 = new ESRI.ArcGIS.Controls.AxPageLayoutControl(); this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit(); this.layoutControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); this.SuspendLayout(); // // layoutControl1 // this.layoutControl1.Controls.Add(this.axLicenseControl1); this.layoutControl1.Controls.Add(this.axPageLayoutControl1); this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.layoutControl1.HiddenItems.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem2 }); this.layoutControl1.Location = new System.Drawing.Point(0, 0); this.layoutControl1.Name = "layoutControl1"; this.layoutControl1.Root = this.layoutControlGroup1; this.layoutControl1.Size = new System.Drawing.Size(438, 340); this.layoutControl1.TabIndex = 0; this.layoutControl1.Text = "layoutControl1"; // // axLicenseControl1 // this.axLicenseControl1.Enabled = true; this.axLicenseControl1.Location = new System.Drawing.Point(12, 308); this.axLicenseControl1.Name = "axLicenseControl1"; this.axLicenseControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axLicenseControl1.OcxState"))); this.axLicenseControl1.Size = new System.Drawing.Size(32, 32); this.axLicenseControl1.TabIndex = 5; // // axPageLayoutControl1 // this.axPageLayoutControl1.Location = new System.Drawing.Point(12, 12); this.axPageLayoutControl1.Name = "axPageLayoutControl1"; this.axPageLayoutControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axPageLayoutControl1.OcxState"))); this.axPageLayoutControl1.Size = new System.Drawing.Size(414, 316); this.axPageLayoutControl1.TabIndex = 4; // // layoutControlItem2 // this.layoutControlItem2.Control = this.axLicenseControl1; this.layoutControlItem2.CustomizationFormText = "layoutControlItem2"; this.layoutControlItem2.Location = new System.Drawing.Point(0, 296); this.layoutControlItem2.Name = "layoutControlItem2"; this.layoutControlItem2.Size = new System.Drawing.Size(418, 24); this.layoutControlItem2.Text = "layoutControlItem2"; this.layoutControlItem2.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem2.TextToControlDistance = 0; this.layoutControlItem2.TextVisible = false; // // layoutControlGroup1 // this.layoutControlGroup1.CustomizationFormText = "layoutControlGroup1"; this.layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; this.layoutControlGroup1.GroupBordersVisible = false; this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem1 }); this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup1.Name = "layoutControlGroup1"; this.layoutControlGroup1.Size = new System.Drawing.Size(438, 340); this.layoutControlGroup1.Text = "layoutControlGroup1"; this.layoutControlGroup1.TextVisible = false; // // layoutControlItem1 // this.layoutControlItem1.Control = this.axPageLayoutControl1; this.layoutControlItem1.CustomizationFormText = "layoutControlItem1"; this.layoutControlItem1.Location = new System.Drawing.Point(0, 0); this.layoutControlItem1.Name = "layoutControlItem1"; this.layoutControlItem1.Size = new System.Drawing.Size(418, 320); this.layoutControlItem1.Text = "layoutControlItem1"; this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem1.TextToControlDistance = 0; this.layoutControlItem1.TextVisible = false; // // FrmLayoutPage // this.ClientSize = new System.Drawing.Size(438, 340); this.Controls.Add(this.layoutControl1); this.Name = "FrmLayoutPage"; this.ShowIcon = false; ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit(); this.layoutControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmPrint)); this.Frame2 = new System.Windows.Forms.GroupBox(); this.optLandscape = new System.Windows.Forms.RadioButton(); this.optPortrait = new System.Windows.Forms.RadioButton(); this.cboPageToPrinterMapping = new System.Windows.Forms.ComboBox(); this.cboPageSize = new System.Windows.Forms.ComboBox(); this.lblPageCount = new System.Windows.Forms.Label(); this.Label9 = new System.Windows.Forms.Label(); this.Label8 = new System.Windows.Forms.Label(); this.Label6 = new System.Windows.Forms.Label(); this.fraPrint = new System.Windows.Forms.GroupBox(); this.txbOverlap = new System.Windows.Forms.TextBox(); this.cmdPrint = new System.Windows.Forms.Button(); this.txbStartPage = new System.Windows.Forms.TextBox(); this.txbEndPage = new System.Windows.Forms.TextBox(); this.Label5 = new System.Windows.Forms.Label(); this.Label1 = new System.Windows.Forms.Label(); this.Label2 = new System.Windows.Forms.Label(); this.fraPrinter = new System.Windows.Forms.GroupBox(); this.lblPrinterOrientation = new System.Windows.Forms.Label(); this.Label10 = new System.Windows.Forms.Label(); this.lblPrinterName = new System.Windows.Forms.Label(); this.Label7 = new System.Windows.Forms.Label(); this.lblPrinterSize = new System.Windows.Forms.Label(); this.lblPdcdcrinter = new System.Windows.Forms.Label(); this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); this.axPageLayoutControl1 = new ESRI.ArcGIS.Controls.AxPageLayoutControl(); this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl(); this.Frame2.SuspendLayout(); this.fraPrint.SuspendLayout(); this.fraPrinter.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit(); this.SuspendLayout(); // // Frame2 // this.Frame2.BackColor = System.Drawing.SystemColors.Control; this.Frame2.Controls.Add(this.optLandscape); this.Frame2.Controls.Add(this.optPortrait); this.Frame2.Controls.Add(this.cboPageToPrinterMapping); this.Frame2.Controls.Add(this.cboPageSize); this.Frame2.Controls.Add(this.lblPageCount); this.Frame2.Controls.Add(this.Label9); this.Frame2.Controls.Add(this.Label8); this.Frame2.Controls.Add(this.Label6); this.Frame2.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Frame2.ForeColor = System.Drawing.SystemColors.ControlText; this.Frame2.Location = new System.Drawing.Point(326, 9); this.Frame2.Name = "Frame2"; this.Frame2.RightToLeft = System.Windows.Forms.RightToLeft.No; this.Frame2.Size = new System.Drawing.Size(273, 192); this.Frame2.TabIndex = 19; this.Frame2.TabStop = false; this.Frame2.Text = "页面设置"; // // optLandscape // this.optLandscape.BackColor = System.Drawing.SystemColors.Control; this.optLandscape.Cursor = System.Windows.Forms.Cursors.Default; this.optLandscape.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.optLandscape.ForeColor = System.Drawing.SystemColors.ControlText; this.optLandscape.Location = new System.Drawing.Point(89, 129); this.optLandscape.Name = "optLandscape"; this.optLandscape.RightToLeft = System.Windows.Forms.RightToLeft.No; this.optLandscape.Size = new System.Drawing.Size(174, 27); this.optLandscape.TabIndex = 22; this.optLandscape.TabStop = true; this.optLandscape.Text = "风景"; this.optLandscape.UseVisualStyleBackColor = false; this.optLandscape.Click += new System.EventHandler(this.optLandscape_Click); // // optPortrait // this.optPortrait.BackColor = System.Drawing.SystemColors.Control; this.optPortrait.Cursor = System.Windows.Forms.Cursors.Default; this.optPortrait.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.optPortrait.ForeColor = System.Drawing.SystemColors.ControlText; this.optPortrait.Location = new System.Drawing.Point(10, 129); this.optPortrait.Name = "optPortrait"; this.optPortrait.RightToLeft = System.Windows.Forms.RightToLeft.No; this.optPortrait.Size = new System.Drawing.Size(119, 27); this.optPortrait.TabIndex = 21; this.optPortrait.TabStop = true; this.optPortrait.Text = "肖像"; this.optPortrait.UseVisualStyleBackColor = false; this.optPortrait.Click += new System.EventHandler(this.optPortrait_Click); // // cboPageToPrinterMapping // this.cboPageToPrinterMapping.BackColor = System.Drawing.SystemColors.Window; this.cboPageToPrinterMapping.Cursor = System.Windows.Forms.Cursors.Default; this.cboPageToPrinterMapping.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.cboPageToPrinterMapping.ForeColor = System.Drawing.SystemColors.WindowText; this.cboPageToPrinterMapping.Location = new System.Drawing.Point(10, 95); this.cboPageToPrinterMapping.Name = "cboPageToPrinterMapping"; this.cboPageToPrinterMapping.RightToLeft = System.Windows.Forms.RightToLeft.No; this.cboPageToPrinterMapping.Size = new System.Drawing.Size(250, 22); this.cboPageToPrinterMapping.TabIndex = 20; this.cboPageToPrinterMapping.Text = "Combo2"; this.cboPageToPrinterMapping.Click += new System.EventHandler(this.cboPageToPrinterMapping_Click); // // cboPageSize // this.cboPageSize.BackColor = System.Drawing.SystemColors.Window; this.cboPageSize.Cursor = System.Windows.Forms.Cursors.Default; this.cboPageSize.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.cboPageSize.ForeColor = System.Drawing.SystemColors.WindowText; this.cboPageSize.Location = new System.Drawing.Point(10, 43); this.cboPageSize.Name = "cboPageSize"; this.cboPageSize.RightToLeft = System.Windows.Forms.RightToLeft.No; this.cboPageSize.Size = new System.Drawing.Size(250, 22); this.cboPageSize.TabIndex = 18; this.cboPageSize.Text = "Combo1"; this.cboPageSize.SelectedIndexChanged += new System.EventHandler(this.cboPageSize_SelectedIndexChanged); // // lblPageCount // this.lblPageCount.BackColor = System.Drawing.SystemColors.Control; this.lblPageCount.Cursor = System.Windows.Forms.Cursors.Default; this.lblPageCount.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblPageCount.ForeColor = System.Drawing.SystemColors.ControlText; this.lblPageCount.Location = new System.Drawing.Point(116, 163); this.lblPageCount.Name = "lblPageCount"; this.lblPageCount.RightToLeft = System.Windows.Forms.RightToLeft.No; this.lblPageCount.Size = new System.Drawing.Size(144, 19); this.lblPageCount.TabIndex = 26; // // Label9 // this.Label9.BackColor = System.Drawing.SystemColors.Control; this.Label9.Cursor = System.Windows.Forms.Cursors.Default; this.Label9.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Label9.ForeColor = System.Drawing.SystemColors.ControlText; this.Label9.Location = new System.Drawing.Point(10, 163); this.Label9.Name = "Label9"; this.Label9.RightToLeft = System.Windows.Forms.RightToLeft.No; this.Label9.Size = new System.Drawing.Size(161, 19); this.Label9.TabIndex = 23; this.Label9.Text = "总数"; // // Label8 // this.Label8.BackColor = System.Drawing.SystemColors.Control; this.Label8.Cursor = System.Windows.Forms.Cursors.Default; this.Label8.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Label8.ForeColor = System.Drawing.SystemColors.ControlText; this.Label8.Location = new System.Drawing.Point(10, 77); this.Label8.Name = "Label8"; this.Label8.RightToLeft = System.Windows.Forms.RightToLeft.No; this.Label8.Size = new System.Drawing.Size(250, 28); this.Label8.TabIndex = 19; this.Label8.Text = "Page to Printer Mapping"; // // Label6 // this.Label6.BackColor = System.Drawing.SystemColors.Control; this.Label6.Cursor = System.Windows.Forms.Cursors.Default; this.Label6.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Label6.ForeColor = System.Drawing.SystemColors.ControlText; this.Label6.Location = new System.Drawing.Point(10, 26); this.Label6.Name = "Label6"; this.Label6.RightToLeft = System.Windows.Forms.RightToLeft.No; this.Label6.Size = new System.Drawing.Size(250, 36); this.Label6.TabIndex = 17; this.Label6.Text = "大小"; // // fraPrint // this.fraPrint.BackColor = System.Drawing.SystemColors.Control; this.fraPrint.Controls.Add(this.txbOverlap); this.fraPrint.Controls.Add(this.cmdPrint); this.fraPrint.Controls.Add(this.txbStartPage); this.fraPrint.Controls.Add(this.txbEndPage); this.fraPrint.Controls.Add(this.Label5); this.fraPrint.Controls.Add(this.Label1); this.fraPrint.Controls.Add(this.Label2); this.fraPrint.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.fraPrint.ForeColor = System.Drawing.SystemColors.ControlText; this.fraPrint.Location = new System.Drawing.Point(326, 325); this.fraPrint.Name = "fraPrint"; this.fraPrint.RightToLeft = System.Windows.Forms.RightToLeft.No; this.fraPrint.Size = new System.Drawing.Size(273, 116); this.fraPrint.TabIndex = 21; this.fraPrint.TabStop = false; this.fraPrint.Text = "打印"; // // txbOverlap // this.txbOverlap.AcceptsReturn = true; this.txbOverlap.BackColor = System.Drawing.SystemColors.Window; this.txbOverlap.Cursor = System.Windows.Forms.Cursors.IBeam; this.txbOverlap.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txbOverlap.ForeColor = System.Drawing.SystemColors.WindowText; this.txbOverlap.Location = new System.Drawing.Point(192, 26); this.txbOverlap.MaxLength = 0; this.txbOverlap.Name = "txbOverlap"; this.txbOverlap.RightToLeft = System.Windows.Forms.RightToLeft.No; this.txbOverlap.Size = new System.Drawing.Size(68, 20); this.txbOverlap.TabIndex = 9; this.txbOverlap.Text = "0"; this.txbOverlap.Leave += new System.EventHandler(this.txbOverlap_Leave); // // cmdPrint // this.cmdPrint.BackColor = System.Drawing.SystemColors.Control; this.cmdPrint.Cursor = System.Windows.Forms.Cursors.Default; this.cmdPrint.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.cmdPrint.ForeColor = System.Drawing.SystemColors.ControlText; this.cmdPrint.Location = new System.Drawing.Point(10, 77); this.cmdPrint.Name = "cmdPrint"; this.cmdPrint.RightToLeft = System.Windows.Forms.RightToLeft.No; this.cmdPrint.Size = new System.Drawing.Size(250, 28); this.cmdPrint.TabIndex = 8; this.cmdPrint.Text = "打印页面布局"; this.cmdPrint.UseVisualStyleBackColor = false; this.cmdPrint.Click += new System.EventHandler(this.cmdPrint_Click); // // txbStartPage // this.txbStartPage.AcceptsReturn = true; this.txbStartPage.BackColor = System.Drawing.SystemColors.Window; this.txbStartPage.Cursor = System.Windows.Forms.Cursors.IBeam; this.txbStartPage.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txbStartPage.ForeColor = System.Drawing.SystemColors.WindowText; this.txbStartPage.Location = new System.Drawing.Point(71, 51); this.txbStartPage.MaxLength = 0; this.txbStartPage.Name = "txbStartPage"; this.txbStartPage.RightToLeft = System.Windows.Forms.RightToLeft.No; this.txbStartPage.Size = new System.Drawing.Size(58, 20); this.txbStartPage.TabIndex = 7; this.txbStartPage.Text = "1"; // // txbEndPage // this.txbEndPage.AcceptsReturn = true; this.txbEndPage.BackColor = System.Drawing.SystemColors.Window; this.txbEndPage.Cursor = System.Windows.Forms.Cursors.IBeam; this.txbEndPage.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txbEndPage.ForeColor = System.Drawing.SystemColors.WindowText; this.txbEndPage.Location = new System.Drawing.Point(192, 51); this.txbEndPage.MaxLength = 0; this.txbEndPage.Name = "txbEndPage"; this.txbEndPage.RightToLeft = System.Windows.Forms.RightToLeft.No; this.txbEndPage.Size = new System.Drawing.Size(68, 20); this.txbEndPage.TabIndex = 6; this.txbEndPage.Text = "0"; // // Label5 // this.Label5.BackColor = System.Drawing.SystemColors.Control; this.Label5.Cursor = System.Windows.Forms.Cursors.Default; this.Label5.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Label5.ForeColor = System.Drawing.SystemColors.ControlText; this.Label5.Location = new System.Drawing.Point(10, 51); this.Label5.Name = "Label5"; this.Label5.RightToLeft = System.Windows.Forms.RightToLeft.No; this.Label5.Size = new System.Drawing.Size(61, 19); this.Label5.TabIndex = 12; this.Label5.Text = "页:"; // // Label1 // this.Label1.BackColor = System.Drawing.SystemColors.Control; this.Label1.Cursor = System.Windows.Forms.Cursors.Default; this.Label1.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Label1.ForeColor = System.Drawing.SystemColors.ControlText; this.Label1.Location = new System.Drawing.Point(141, 51); this.Label1.Name = "Label1"; this.Label1.RightToLeft = System.Windows.Forms.RightToLeft.No; this.Label1.Size = new System.Drawing.Size(30, 19); this.Label1.TabIndex = 11; this.Label1.Text = "To"; // // Label2 // this.Label2.BackColor = System.Drawing.SystemColors.Control; this.Label2.Cursor = System.Windows.Forms.Cursors.Default; this.Label2.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Label2.ForeColor = System.Drawing.SystemColors.ControlText; this.Label2.Location = new System.Drawing.Point(10, 26); this.Label2.Name = "Label2"; this.Label2.RightToLeft = System.Windows.Forms.RightToLeft.No; this.Label2.Size = new System.Drawing.Size(222, 36); this.Label2.TabIndex = 10; this.Label2.Text = "页面重叠"; // // fraPrinter // this.fraPrinter.BackColor = System.Drawing.SystemColors.Control; this.fraPrinter.Controls.Add(this.lblPrinterOrientation); this.fraPrinter.Controls.Add(this.Label10); this.fraPrinter.Controls.Add(this.lblPrinterName); this.fraPrinter.Controls.Add(this.Label7); this.fraPrinter.Controls.Add(this.lblPrinterSize); this.fraPrinter.Controls.Add(this.lblPdcdcrinter); this.fraPrinter.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.fraPrinter.ForeColor = System.Drawing.SystemColors.ControlText; this.fraPrinter.Location = new System.Drawing.Point(326, 211); this.fraPrinter.Name = "fraPrinter"; this.fraPrinter.RightToLeft = System.Windows.Forms.RightToLeft.No; this.fraPrinter.Size = new System.Drawing.Size(273, 100); this.fraPrinter.TabIndex = 20; this.fraPrinter.TabStop = false; this.fraPrinter.Text = "打印机"; // // lblPrinterOrientation // this.lblPrinterOrientation.BackColor = System.Drawing.SystemColors.Control; this.lblPrinterOrientation.Cursor = System.Windows.Forms.Cursors.Default; this.lblPrinterOrientation.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblPrinterOrientation.ForeColor = System.Drawing.SystemColors.ControlText; this.lblPrinterOrientation.Location = new System.Drawing.Point(141, 73); this.lblPrinterOrientation.Name = "lblPrinterOrientation"; this.lblPrinterOrientation.RightToLeft = System.Windows.Forms.RightToLeft.No; this.lblPrinterOrientation.Size = new System.Drawing.Size(122, 18); this.lblPrinterOrientation.TabIndex = 25; // // Label10 // this.Label10.BackColor = System.Drawing.SystemColors.Control; this.Label10.Cursor = System.Windows.Forms.Cursors.Default; this.Label10.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Label10.ForeColor = System.Drawing.SystemColors.ControlText; this.Label10.Location = new System.Drawing.Point(10, 73); this.Label10.Name = "Label10"; this.Label10.RightToLeft = System.Windows.Forms.RightToLeft.No; this.Label10.Size = new System.Drawing.Size(250, 18); this.Label10.TabIndex = 24; this.Label10.Text = "纸张方向:"; // // lblPrinterName // this.lblPrinterName.BackColor = System.Drawing.SystemColors.Control; this.lblPrinterName.Cursor = System.Windows.Forms.Cursors.Default; this.lblPrinterName.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblPrinterName.ForeColor = System.Drawing.SystemColors.ControlText; this.lblPrinterName.Location = new System.Drawing.Point(58, 20); this.lblPrinterName.Name = "lblPrinterName"; this.lblPrinterName.RightToLeft = System.Windows.Forms.RightToLeft.No; this.lblPrinterName.Size = new System.Drawing.Size(209, 28); this.lblPrinterName.TabIndex = 4; // // Label7 // this.Label7.BackColor = System.Drawing.SystemColors.Control; this.Label7.Cursor = System.Windows.Forms.Cursors.Default; this.Label7.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Label7.ForeColor = System.Drawing.SystemColors.ControlText; this.Label7.Location = new System.Drawing.Point(10, 21); this.Label7.Name = "Label7"; this.Label7.RightToLeft = System.Windows.Forms.RightToLeft.No; this.Label7.Size = new System.Drawing.Size(250, 17); this.Label7.TabIndex = 3; this.Label7.Text = "名字:"; // // lblPrinterSize // this.lblPrinterSize.BackColor = System.Drawing.SystemColors.Control; this.lblPrinterSize.Cursor = System.Windows.Forms.Cursors.Default; this.lblPrinterSize.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblPrinterSize.ForeColor = System.Drawing.SystemColors.ControlText; this.lblPrinterSize.Location = new System.Drawing.Point(86, 49); this.lblPrinterSize.Name = "lblPrinterSize"; this.lblPrinterSize.RightToLeft = System.Windows.Forms.RightToLeft.No; this.lblPrinterSize.Size = new System.Drawing.Size(181, 19); this.lblPrinterSize.TabIndex = 2; // // lblPdcdcrinter // this.lblPdcdcrinter.BackColor = System.Drawing.SystemColors.Control; this.lblPdcdcrinter.Cursor = System.Windows.Forms.Cursors.Default; this.lblPdcdcrinter.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblPdcdcrinter.ForeColor = System.Drawing.SystemColors.ControlText; this.lblPdcdcrinter.Location = new System.Drawing.Point(10, 49); this.lblPdcdcrinter.Name = "lblPdcdcrinter"; this.lblPdcdcrinter.RightToLeft = System.Windows.Forms.RightToLeft.No; this.lblPdcdcrinter.Size = new System.Drawing.Size(250, 19); this.lblPdcdcrinter.TabIndex = 1; this.lblPdcdcrinter.Text = "纸张大小"; // // axPageLayoutControl1 // this.axPageLayoutControl1.Location = new System.Drawing.Point(12, 9); this.axPageLayoutControl1.Name = "axPageLayoutControl1"; this.axPageLayoutControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axPageLayoutControl1.OcxState"))); this.axPageLayoutControl1.Size = new System.Drawing.Size(300, 437); this.axPageLayoutControl1.TabIndex = 22; // // axLicenseControl1 // this.axLicenseControl1.Enabled = true; this.axLicenseControl1.Location = new System.Drawing.Point(169, 159); this.axLicenseControl1.Name = "axLicenseControl1"; this.axLicenseControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axLicenseControl1.OcxState"))); this.axLicenseControl1.Size = new System.Drawing.Size(32, 32); this.axLicenseControl1.TabIndex = 24; // // frmPrint // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(608, 451); this.Controls.Add(this.axLicenseControl1); this.Controls.Add(this.axPageLayoutControl1); this.Controls.Add(this.fraPrint); this.Controls.Add(this.fraPrinter); this.Controls.Add(this.Frame2); this.Name = "frmPrint"; this.Text = "frmPrint"; this.Load += new System.EventHandler(this.Form1_Load); this.Frame2.ResumeLayout(false); this.fraPrint.ResumeLayout(false); this.fraPrint.PerformLayout(); this.fraPrinter.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); this.buttonLoad = new System.Windows.Forms.Button(); this.cboStyleSheets = new System.Windows.Forms.ComboBox(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.axTOCControl1 = new ESRI.ArcGIS.Controls.AxTOCControl(); this.axPageLayoutControl1 = new ESRI.ArcGIS.Controls.AxPageLayoutControl(); this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl(); this.webBrowser1 = new System.Windows.Forms.WebBrowser(); ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit(); this.SuspendLayout(); // // buttonLoad // this.buttonLoad.Location = new System.Drawing.Point(8, 8); this.buttonLoad.Name = "buttonLoad"; this.buttonLoad.Size = new System.Drawing.Size(176, 48); this.buttonLoad.TabIndex = 2; this.buttonLoad.Text = "Load Document"; this.buttonLoad.Click += new System.EventHandler(this.button1_Click); // // cboStyleSheets // this.cboStyleSheets.Location = new System.Drawing.Point(550, 23); this.cboStyleSheets.Name = "cboStyleSheets"; this.cboStyleSheets.Size = new System.Drawing.Size(326, 21); this.cboStyleSheets.TabIndex = 6; this.cboStyleSheets.SelectedIndexChanged += new System.EventHandler(this.cboStyleSheets_SelectedIndexChanged); // // label1 // this.label1.ForeColor = System.Drawing.SystemColors.Highlight; this.label1.Location = new System.Drawing.Point(192, 8); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(296, 16); this.label1.TabIndex = 8; this.label1.Text = "1) Load a map document into the PageLayoutControl"; // // label2 // this.label2.ForeColor = System.Drawing.SystemColors.Highlight; this.label2.Location = new System.Drawing.Point(192, 24); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(296, 16); this.label2.TabIndex = 9; this.label2.Text = "2) Select a style sheet or enter the file path to style sheet"; // // label3 // this.label3.ForeColor = System.Drawing.SystemColors.Highlight; this.label3.Location = new System.Drawing.Point(192, 40); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(336, 16); this.label3.TabIndex = 10; this.label3.Text = "3) Right click a layer on the TOCControl to display its metadata"; // // axTOCControl1 // this.axTOCControl1.Location = new System.Drawing.Point(12, 62); this.axTOCControl1.Name = "axTOCControl1"; this.axTOCControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axTOCControl1.OcxState"))); this.axTOCControl1.Size = new System.Drawing.Size(178, 412); this.axTOCControl1.TabIndex = 12; this.axTOCControl1.OnMouseDown += new ESRI.ArcGIS.Controls.ITOCControlEvents_Ax_OnMouseDownEventHandler(this.axTOCControl1_OnMouseDown); // // axPageLayoutControl1 // this.axPageLayoutControl1.Location = new System.Drawing.Point(196, 64); this.axPageLayoutControl1.Name = "axPageLayoutControl1"; this.axPageLayoutControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axPageLayoutControl1.OcxState"))); this.axPageLayoutControl1.Size = new System.Drawing.Size(348, 410); this.axPageLayoutControl1.TabIndex = 13; // // axLicenseControl1 // this.axLicenseControl1.Enabled = true; this.axLicenseControl1.Location = new System.Drawing.Point(128, 96); this.axLicenseControl1.Name = "axLicenseControl1"; this.axLicenseControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axLicenseControl1.OcxState"))); this.axLicenseControl1.Size = new System.Drawing.Size(32, 32); this.axLicenseControl1.TabIndex = 14; // // webBrowser1 // this.webBrowser1.Location = new System.Drawing.Point(550, 61); this.webBrowser1.MinimumSize = new System.Drawing.Size(20, 20); this.webBrowser1.Name = "webBrowser1"; this.webBrowser1.Size = new System.Drawing.Size(326, 413); this.webBrowser1.TabIndex = 15; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(888, 486); this.Controls.Add(this.webBrowser1); this.Controls.Add(this.axLicenseControl1); this.Controls.Add(this.axPageLayoutControl1); this.Controls.Add(this.axTOCControl1); this.Controls.Add(this.label3); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.Controls.Add(this.cboStyleSheets); this.Controls.Add(this.buttonLoad); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.Name = "Form1"; this.Text = "MetadataViewer"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1)); this.cboMaps = new System.Windows.Forms.ComboBox(); this.txbPath = new System.Windows.Forms.TextBox(); this.cmdLoad = new System.Windows.Forms.Button(); this.Label4 = new System.Windows.Forms.Label(); this.cmdZoomPage = new System.Windows.Forms.Button(); this.cmdFullExtent = new System.Windows.Forms.Button(); this.Label2 = new System.Windows.Forms.Label(); this.Label1 = new System.Windows.Forms.Label(); this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); this.axPageLayoutControl1 = new ESRI.ArcGIS.Controls.AxPageLayoutControl(); this.axMapControl1 = new ESRI.ArcGIS.Controls.AxMapControl(); this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl(); ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit(); this.SuspendLayout(); // // cboMaps // this.cboMaps.BackColor = System.Drawing.SystemColors.Window; this.cboMaps.Cursor = System.Windows.Forms.Cursors.Default; this.cboMaps.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.cboMaps.ForeColor = System.Drawing.SystemColors.WindowText; this.cboMaps.Location = new System.Drawing.Point(72, 48); this.cboMaps.Name = "cboMaps"; this.cboMaps.RightToLeft = System.Windows.Forms.RightToLeft.No; this.cboMaps.Size = new System.Drawing.Size(161, 22); this.cboMaps.TabIndex = 11; this.cboMaps.SelectedIndexChanged += new System.EventHandler(this.cboMaps_SelectedIndexChanged); // // txbPath // this.txbPath.AcceptsReturn = true; this.txbPath.AutoSize = false; this.txbPath.BackColor = System.Drawing.SystemColors.Window; this.txbPath.Cursor = System.Windows.Forms.Cursors.IBeam; this.txbPath.Enabled = false; this.txbPath.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txbPath.ForeColor = System.Drawing.SystemColors.WindowText; this.txbPath.Location = new System.Drawing.Point(136, 8); this.txbPath.MaxLength = 0; this.txbPath.Name = "txbPath"; this.txbPath.RightToLeft = System.Windows.Forms.RightToLeft.No; this.txbPath.Size = new System.Drawing.Size(369, 19); this.txbPath.TabIndex = 10; this.txbPath.Text = ""; // // cmdLoad // this.cmdLoad.BackColor = System.Drawing.SystemColors.Control; this.cmdLoad.Cursor = System.Windows.Forms.Cursors.Default; this.cmdLoad.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.cmdLoad.ForeColor = System.Drawing.SystemColors.ControlText; this.cmdLoad.Location = new System.Drawing.Point(8, 8); this.cmdLoad.Name = "cmdLoad"; this.cmdLoad.RightToLeft = System.Windows.Forms.RightToLeft.No; this.cmdLoad.Size = new System.Drawing.Size(121, 25); this.cmdLoad.TabIndex = 9; this.cmdLoad.Text = "Load Map Document"; this.cmdLoad.Click += new System.EventHandler(this.cmdLoad_Click); // // Label4 // this.Label4.BackColor = System.Drawing.SystemColors.Control; this.Label4.Cursor = System.Windows.Forms.Cursors.Default; this.Label4.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.Label4.ForeColor = System.Drawing.SystemColors.ControlText; this.Label4.Location = new System.Drawing.Point(8, 48); this.Label4.Name = "Label4"; this.Label4.RightToLeft = System.Windows.Forms.RightToLeft.No; this.Label4.Size = new System.Drawing.Size(65, 17); this.Label4.TabIndex = 12; this.Label4.Text = "Focus Map:"; // // cmdZoomPage // this.cmdZoomPage.BackColor = System.Drawing.SystemColors.Control; this.cmdZoomPage.Cursor = System.Windows.Forms.Cursors.Default; this.cmdZoomPage.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.cmdZoomPage.ForeColor = System.Drawing.SystemColors.ControlText; this.cmdZoomPage.Location = new System.Drawing.Point(12, 352); this.cmdZoomPage.Name = "cmdZoomPage"; this.cmdZoomPage.RightToLeft = System.Windows.Forms.RightToLeft.No; this.cmdZoomPage.Size = new System.Drawing.Size(97, 25); this.cmdZoomPage.TabIndex = 16; this.cmdZoomPage.Text = "Zoom to Page"; this.cmdZoomPage.Click += new System.EventHandler(this.cmdZoomPage_Click); // // cmdFullExtent // this.cmdFullExtent.BackColor = System.Drawing.SystemColors.Control; this.cmdFullExtent.Cursor = System.Windows.Forms.Cursors.Default; this.cmdFullExtent.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.cmdFullExtent.ForeColor = System.Drawing.SystemColors.ControlText; this.cmdFullExtent.Location = new System.Drawing.Point(356, 352); this.cmdFullExtent.Name = "cmdFullExtent"; this.cmdFullExtent.RightToLeft = System.Windows.Forms.RightToLeft.No; this.cmdFullExtent.Size = new System.Drawing.Size(153, 25); this.cmdFullExtent.TabIndex = 13; this.cmdFullExtent.Text = "Zoom to Full Data Extent"; this.cmdFullExtent.Click += new System.EventHandler(this.cmdFullExtent_Click); // // Label2 // this.Label2.BackColor = System.Drawing.SystemColors.Control; this.Label2.Cursor = System.Windows.Forms.Cursors.Default; this.Label2.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.Label2.ForeColor = System.Drawing.SystemColors.ControlText; this.Label2.Location = new System.Drawing.Point(124, 352); this.Label2.Name = "Label2"; this.Label2.RightToLeft = System.Windows.Forms.RightToLeft.No; this.Label2.Size = new System.Drawing.Size(257, 17); this.Label2.TabIndex = 15; this.Label2.Text = "Right mouse button to pan page or data."; // // Label1 // this.Label1.BackColor = System.Drawing.SystemColors.Control; this.Label1.Cursor = System.Windows.Forms.Cursors.Default; this.Label1.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.Label1.ForeColor = System.Drawing.SystemColors.ControlText; this.Label1.Location = new System.Drawing.Point(124, 368); this.Label1.Name = "Label1"; this.Label1.RightToLeft = System.Windows.Forms.RightToLeft.No; this.Label1.Size = new System.Drawing.Size(249, 17); this.Label1.TabIndex = 14; this.Label1.Text = "Left mouse button to zoom in on page or data."; // // axPageLayoutControl1 // this.axPageLayoutControl1.Location = new System.Drawing.Point(8, 72); this.axPageLayoutControl1.Name = "axPageLayoutControl1"; this.axPageLayoutControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axPageLayoutControl1.OcxState"))); this.axPageLayoutControl1.Size = new System.Drawing.Size(224, 272); this.axPageLayoutControl1.TabIndex = 17; this.axPageLayoutControl1.OnMouseDown += new ESRI.ArcGIS.Controls.IPageLayoutControlEvents_Ax_OnMouseDownEventHandler(this.axPageLayoutControl1_OnMouseDown); this.axPageLayoutControl1.OnPageLayoutReplaced += new ESRI.ArcGIS.Controls.IPageLayoutControlEvents_Ax_OnPageLayoutReplacedEventHandler(this.axPageLayoutControl1_OnPageLayoutReplaced); this.axPageLayoutControl1.OnAfterScreenDraw += new ESRI.ArcGIS.Controls.IPageLayoutControlEvents_Ax_OnAfterScreenDrawEventHandler(this.axPageLayoutControl1_OnAfterScreenDraw); this.axPageLayoutControl1.OnFocusMapChanged += new System.EventHandler(this.axPageLayoutControl1_OnFocusMapChanged); this.axPageLayoutControl1.OnBeforeScreenDraw += new ESRI.ArcGIS.Controls.IPageLayoutControlEvents_Ax_OnBeforeScreenDrawEventHandler(this.axPageLayoutControl1_OnBeforeScreenDraw); // // axMapControl1 // this.axMapControl1.Location = new System.Drawing.Point(240, 48); this.axMapControl1.Name = "axMapControl1"; this.axMapControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axMapControl1.OcxState"))); this.axMapControl1.Size = new System.Drawing.Size(272, 296); this.axMapControl1.TabIndex = 18; this.axMapControl1.OnMouseDown += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnMouseDownEventHandler(this.axMapControl1_OnMouseDown); this.axMapControl1.OnAfterScreenDraw += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnAfterScreenDrawEventHandler(this.axMapControl1_OnAfterScreenDraw); this.axMapControl1.OnBeforeScreenDraw += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnBeforeScreenDrawEventHandler(this.axMapControl1_OnBeforeScreenDraw); // // axLicenseControl1 // this.axLicenseControl1.Enabled = true; this.axLicenseControl1.Location = new System.Drawing.Point(160, 96); this.axLicenseControl1.Name = "axLicenseControl1"; this.axLicenseControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axLicenseControl1.OcxState"))); this.axLicenseControl1.Size = new System.Drawing.Size(200, 50); this.axLicenseControl1.TabIndex = 19; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(520, 390); this.Controls.Add(this.axLicenseControl1); this.Controls.Add(this.axMapControl1); this.Controls.Add(this.axPageLayoutControl1); this.Controls.Add(this.cmdZoomPage); this.Controls.Add(this.cmdFullExtent); this.Controls.Add(this.Label2); this.Controls.Add(this.Label1); this.Controls.Add(this.cboMaps); this.Controls.Add(this.txbPath); this.Controls.Add(this.cmdLoad); this.Controls.Add(this.Label4); this.Name = "Form1"; this.Text = "Form1"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1)); this.Label1 = new System.Windows.Forms.Label(); this.Label2 = new System.Windows.Forms.Label(); this.axToolbarControl1 = new ESRI.ArcGIS.Controls.AxToolbarControl(); this.axTOCControl1 = new ESRI.ArcGIS.Controls.AxTOCControl(); this.axPageLayoutControl1 = new ESRI.ArcGIS.Controls.AxPageLayoutControl(); this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl(); ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit(); this.SuspendLayout(); // // Label1 // this.Label1.BackColor = System.Drawing.SystemColors.Control; this.Label1.Cursor = System.Windows.Forms.Cursors.Default; this.Label1.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.Label1.ForeColor = System.Drawing.SystemColors.ControlText; this.Label1.Location = new System.Drawing.Point(568, 48); this.Label1.Name = "Label1"; this.Label1.RightToLeft = System.Windows.Forms.RightToLeft.No; this.Label1.Size = new System.Drawing.Size(160, 33); this.Label1.TabIndex = 6; this.Label1.Text = "1) Load a map document into the PageLayoutControl. "; // // Label2 // this.Label2.BackColor = System.Drawing.SystemColors.Control; this.Label2.Cursor = System.Windows.Forms.Cursors.Default; this.Label2.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.Label2.ForeColor = System.Drawing.SystemColors.ControlText; this.Label2.Location = new System.Drawing.Point(568, 80); this.Label2.Name = "Label2"; this.Label2.RightToLeft = System.Windows.Forms.RightToLeft.No; this.Label2.Size = new System.Drawing.Size(152, 33); this.Label2.TabIndex = 5; this.Label2.Text = "2) Right click on a feature layer to change its symbology"; // // axToolbarControl1 // this.axToolbarControl1.Location = new System.Drawing.Point(8, 8); this.axToolbarControl1.Name = "axToolbarControl1"; this.axToolbarControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axToolbarControl1.OcxState"))); this.axToolbarControl1.Size = new System.Drawing.Size(712, 28); this.axToolbarControl1.TabIndex = 7; // // axTOCControl1 // this.axTOCControl1.Location = new System.Drawing.Point(8, 40); this.axTOCControl1.Name = "axTOCControl1"; this.axTOCControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axTOCControl1.OcxState"))); this.axTOCControl1.Size = new System.Drawing.Size(192, 352); this.axTOCControl1.TabIndex = 8; this.axTOCControl1.OnMouseDown += new ESRI.ArcGIS.Controls.ITOCControlEvents_Ax_OnMouseDownEventHandler(this.axTOCControl1_OnMouseDown); // // axPageLayoutControl1 // this.axPageLayoutControl1.Location = new System.Drawing.Point(208, 40); this.axPageLayoutControl1.Name = "axPageLayoutControl1"; this.axPageLayoutControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axPageLayoutControl1.OcxState"))); this.axPageLayoutControl1.Size = new System.Drawing.Size(352, 352); this.axPageLayoutControl1.TabIndex = 9; // // axLicenseControl1 // this.axLicenseControl1.Enabled = true; this.axLicenseControl1.Location = new System.Drawing.Point(576, 136); this.axLicenseControl1.Name = "axLicenseControl1"; this.axLicenseControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axLicenseControl1.OcxState"))); this.axLicenseControl1.Size = new System.Drawing.Size(32, 32); this.axLicenseControl1.TabIndex = 10; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(728, 398); this.Controls.Add(this.axLicenseControl1); this.Controls.Add(this.axPageLayoutControl1); this.Controls.Add(this.axTOCControl1); this.Controls.Add(this.axToolbarControl1); this.Controls.Add(this.Label1); this.Controls.Add(this.Label2); this.Name = "Form1"; this.Text = "Layer Rendering"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit(); this.ResumeLayout(false); }
private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AddMapSurrounds)); this.Label2 = new System.Windows.Forms.Label(); this.Label1 = new System.Windows.Forms.Label(); this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl(); this.axToolbarControl1 = new ESRI.ArcGIS.Controls.AxToolbarControl(); this.axTOCControl1 = new ESRI.ArcGIS.Controls.AxTOCControl(); this.axPageLayoutControl1 = new ESRI.ArcGIS.Controls.AxPageLayoutControl(); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).BeginInit(); this.SuspendLayout(); // // Label2 // this.Label2.Location = new System.Drawing.Point(627, 83); this.Label2.Name = "Label2"; this.Label2.Size = new System.Drawing.Size(153, 31); this.Label2.TabIndex = 6; this.Label2.Text = "2) Use the palette to add map surrounds onto the page"; // // Label1 // this.Label1.Location = new System.Drawing.Point(627, 42); this.Label1.Name = "Label1"; this.Label1.Size = new System.Drawing.Size(153, 32); this.Label1.TabIndex = 5; this.Label1.Text = "1) Load a map document into the PageLayoutControl. "; // // axLicenseControl1 // this.axLicenseControl1.Enabled = true; this.axLicenseControl1.Location = new System.Drawing.Point(627, 125); this.axLicenseControl1.Name = "axLicenseControl1"; this.axLicenseControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axLicenseControl1.OcxState"))); this.axLicenseControl1.Size = new System.Drawing.Size(32, 32); this.axLicenseControl1.TabIndex = 7; // // axToolbarControl1 // this.axToolbarControl1.Location = new System.Drawing.Point(7, 7); this.axToolbarControl1.Name = "axToolbarControl1"; this.axToolbarControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axToolbarControl1.OcxState"))); this.axToolbarControl1.Size = new System.Drawing.Size(773, 28); this.axToolbarControl1.TabIndex = 8; // // axTOCControl1 // this.axTOCControl1.Location = new System.Drawing.Point(7, 42); this.axTOCControl1.Name = "axTOCControl1"; this.axTOCControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axTOCControl1.OcxState"))); this.axTOCControl1.Size = new System.Drawing.Size(180, 450); this.axTOCControl1.TabIndex = 9; // // axPageLayoutControl1 // this.axPageLayoutControl1.Location = new System.Drawing.Point(193, 42); this.axPageLayoutControl1.Name = "axPageLayoutControl1"; this.axPageLayoutControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axPageLayoutControl1.OcxState"))); this.axPageLayoutControl1.Size = new System.Drawing.Size(428, 450); this.axPageLayoutControl1.TabIndex = 10; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(792, 498); this.Controls.Add(this.axPageLayoutControl1); this.Controls.Add(this.axTOCControl1); this.Controls.Add(this.axToolbarControl1); this.Controls.Add(this.axLicenseControl1); this.Controls.Add(this.Label2); this.Controls.Add(this.Label1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.Name = "Form1"; this.Text = "Add Map Surrounds"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).EndInit(); this.ResumeLayout(false); }
/// <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(frmMain)); this.mainMenu1 = new System.Windows.Forms.MainMenu(this.components); this.menuFile = new System.Windows.Forms.MenuItem(); this.menuOpenDoc = new System.Windows.Forms.MenuItem(); this.menuNewDoc = new System.Windows.Forms.MenuItem(); this.menuSaveDoc = new System.Windows.Forms.MenuItem(); this.menuSaveAsDoc = new System.Windows.Forms.MenuItem(); this.menuSeparator = new System.Windows.Forms.MenuItem(); this.menuAppExit = new System.Windows.Forms.MenuItem(); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.statusBarXYUnits = new System.Windows.Forms.StatusBarPanel(); this.axToolbarControl1 = new ESRI.ArcGIS.Controls.AxToolbarControl(); this.axTOCControl1 = new ESRI.ArcGIS.Controls.AxTOCControl(); this.tabControl1 = new System.Windows.Forms.TabControl(); this.tabPage1 = new System.Windows.Forms.TabPage(); this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl(); this.axMapControl1 = new ESRI.ArcGIS.Controls.AxMapControl(); this.tabPage2 = new System.Windows.Forms.TabPage(); this.axPageLayoutControl1 = new ESRI.ArcGIS.Controls.AxPageLayoutControl(); this.axToolbarControl2 = new ESRI.ArcGIS.Controls.AxToolbarControl(); this.splitter1 = new System.Windows.Forms.Splitter(); ((System.ComponentModel.ISupportInitialize)(this.statusBarXYUnits)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).BeginInit(); this.tabControl1.SuspendLayout(); this.tabPage1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).BeginInit(); this.tabPage2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl2)).BeginInit(); this.SuspendLayout(); // // mainMenu1 // this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuFile}); // // menuFile // this.menuFile.Index = 0; this.menuFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuOpenDoc, this.menuNewDoc, this.menuSaveDoc, this.menuSaveAsDoc, this.menuSeparator, this.menuAppExit}); this.menuFile.Text = "File"; // // menuOpenDoc // this.menuOpenDoc.Index = 0; this.menuOpenDoc.Text = "Open..."; this.menuOpenDoc.Click += new System.EventHandler(this.menuOpenDoc_Click); // // menuNewDoc // this.menuNewDoc.Index = 1; this.menuNewDoc.Text = "New..."; this.menuNewDoc.Click += new System.EventHandler(this.menuNewDoc_Click); // // menuSaveDoc // this.menuSaveDoc.Index = 2; this.menuSaveDoc.Text = "Save"; this.menuSaveDoc.Click += new System.EventHandler(this.menuSaveDoc_Click); // // menuSaveAsDoc // this.menuSaveAsDoc.Index = 3; this.menuSaveAsDoc.Text = "Save As..."; this.menuSaveAsDoc.Click += new System.EventHandler(this.menuSaveAsDoc_Click); // // menuSeparator // this.menuSeparator.Index = 4; this.menuSeparator.Text = "-"; // // menuAppExit // this.menuAppExit.Index = 5; this.menuAppExit.Text = "Exit"; this.menuAppExit.Click += new System.EventHandler(this.menuAppExit_Click); // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 544); this.statusBar1.Name = "statusBar1"; this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.statusBarXYUnits}); this.statusBar1.ShowPanels = true; this.statusBar1.Size = new System.Drawing.Size(784, 22); this.statusBar1.TabIndex = 5; // // statusBarXYUnits // this.statusBarXYUnits.Name = "statusBarXYUnits"; this.statusBarXYUnits.Width = 200; // // axToolbarControl1 // this.axToolbarControl1.Dock = System.Windows.Forms.DockStyle.Top; this.axToolbarControl1.Location = new System.Drawing.Point(0, 0); this.axToolbarControl1.Name = "axToolbarControl1"; this.axToolbarControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axToolbarControl1.OcxState"))); this.axToolbarControl1.Size = new System.Drawing.Size(784, 28); this.axToolbarControl1.TabIndex = 7; // // axTOCControl1 // this.axTOCControl1.Dock = System.Windows.Forms.DockStyle.Left; this.axTOCControl1.Location = new System.Drawing.Point(0, 28); this.axTOCControl1.Name = "axTOCControl1"; this.axTOCControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axTOCControl1.OcxState"))); this.axTOCControl1.Size = new System.Drawing.Size(200, 516); this.axTOCControl1.TabIndex = 8; // // tabControl1 // this.tabControl1.Controls.Add(this.tabPage1); this.tabControl1.Controls.Add(this.tabPage2); this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.tabControl1.Location = new System.Drawing.Point(200, 28); this.tabControl1.Name = "tabControl1"; this.tabControl1.SelectedIndex = 0; this.tabControl1.Size = new System.Drawing.Size(584, 488); this.tabControl1.TabIndex = 9; this.tabControl1.SelectedIndexChanged += new System.EventHandler(this.tabControl1_SelectedIndexChanged); // // tabPage1 // this.tabPage1.Controls.Add(this.axLicenseControl1); this.tabPage1.Controls.Add(this.axMapControl1); this.tabPage1.Location = new System.Drawing.Point(4, 22); this.tabPage1.Name = "tabPage1"; this.tabPage1.Size = new System.Drawing.Size(576, 462); this.tabPage1.TabIndex = 0; this.tabPage1.Text = "Map"; // // axLicenseControl1 // this.axLicenseControl1.Enabled = true; this.axLicenseControl1.Location = new System.Drawing.Point(210, 220); this.axLicenseControl1.Name = "axLicenseControl1"; this.axLicenseControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axLicenseControl1.OcxState"))); this.axLicenseControl1.Size = new System.Drawing.Size(32, 32); this.axLicenseControl1.TabIndex = 1; // // axMapControl1 // this.axMapControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.axMapControl1.Location = new System.Drawing.Point(0, 0); this.axMapControl1.Name = "axMapControl1"; this.axMapControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axMapControl1.OcxState"))); this.axMapControl1.Size = new System.Drawing.Size(576, 462); this.axMapControl1.TabIndex = 0; this.axMapControl1.OnMouseMove += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnMouseMoveEventHandler(this.axMapControl1_OnMouseMove); // // tabPage2 // this.tabPage2.Controls.Add(this.axPageLayoutControl1); this.tabPage2.Location = new System.Drawing.Point(4, 22); this.tabPage2.Name = "tabPage2"; this.tabPage2.Size = new System.Drawing.Size(576, 462); this.tabPage2.TabIndex = 1; this.tabPage2.Text = "Layout"; // // axPageLayoutControl1 // this.axPageLayoutControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.axPageLayoutControl1.Location = new System.Drawing.Point(0, 0); this.axPageLayoutControl1.Name = "axPageLayoutControl1"; this.axPageLayoutControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axPageLayoutControl1.OcxState"))); this.axPageLayoutControl1.Size = new System.Drawing.Size(576, 462); this.axPageLayoutControl1.TabIndex = 0; this.axPageLayoutControl1.OnMouseMove += new ESRI.ArcGIS.Controls.IPageLayoutControlEvents_Ax_OnMouseMoveEventHandler(this.axPageLayoutControl1_OnMouseMove); // // axToolbarControl2 // this.axToolbarControl2.Dock = System.Windows.Forms.DockStyle.Bottom; this.axToolbarControl2.Location = new System.Drawing.Point(200, 516); this.axToolbarControl2.Name = "axToolbarControl2"; this.axToolbarControl2.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axToolbarControl2.OcxState"))); this.axToolbarControl2.Size = new System.Drawing.Size(584, 28); this.axToolbarControl2.TabIndex = 10; // // splitter1 // this.splitter1.Location = new System.Drawing.Point(200, 28); this.splitter1.Name = "splitter1"; this.splitter1.Size = new System.Drawing.Size(3, 488); this.splitter1.TabIndex = 11; this.splitter1.TabStop = false; // // frmMain // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(784, 566); this.Controls.Add(this.splitter1); this.Controls.Add(this.tabControl1); this.Controls.Add(this.axToolbarControl2); this.Controls.Add(this.axTOCControl1); this.Controls.Add(this.axToolbarControl1); this.Controls.Add(this.statusBar1); this.Menu = this.mainMenu1; this.Name = "frmMain"; this.Text = "Map & PageLayout synchronization"; this.Load += new System.EventHandler(this.frmMain_Load); ((System.ComponentModel.ISupportInitialize)(this.statusBarXYUnits)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).EndInit(); this.tabControl1.ResumeLayout(false); this.tabPage1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).EndInit(); this.tabPage2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl2)).EndInit(); this.ResumeLayout(false); }
/// <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(frmMain)); this.mainMenu1 = new System.Windows.Forms.MainMenu(this.components); this.menuFile = new System.Windows.Forms.MenuItem(); this.menuOpenDoc = new System.Windows.Forms.MenuItem(); this.menuNewDoc = new System.Windows.Forms.MenuItem(); this.menuSaveDoc = new System.Windows.Forms.MenuItem(); this.menuSaveAsDoc = new System.Windows.Forms.MenuItem(); this.menuSeparator = new System.Windows.Forms.MenuItem(); this.menuAppExit = new System.Windows.Forms.MenuItem(); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.statusBarXYUnits = new System.Windows.Forms.StatusBarPanel(); this.axToolbarControl1 = new ESRI.ArcGIS.Controls.AxToolbarControl(); this.axTOCControl1 = new ESRI.ArcGIS.Controls.AxTOCControl(); this.tabControl1 = new System.Windows.Forms.TabControl(); this.tabPage1 = new System.Windows.Forms.TabPage(); this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl(); this.axMapControl1 = new ESRI.ArcGIS.Controls.AxMapControl(); this.tabPage2 = new System.Windows.Forms.TabPage(); this.axPageLayoutControl1 = new ESRI.ArcGIS.Controls.AxPageLayoutControl(); this.axToolbarControl2 = new ESRI.ArcGIS.Controls.AxToolbarControl(); this.splitter1 = new System.Windows.Forms.Splitter(); ((System.ComponentModel.ISupportInitialize)(this.statusBarXYUnits)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).BeginInit(); this.tabControl1.SuspendLayout(); this.tabPage1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).BeginInit(); this.tabPage2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl2)).BeginInit(); this.SuspendLayout(); // // mainMenu1 // this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuFile }); // // menuFile // this.menuFile.Index = 0; this.menuFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuOpenDoc, this.menuNewDoc, this.menuSaveDoc, this.menuSaveAsDoc, this.menuSeparator, this.menuAppExit }); this.menuFile.Text = "File"; // // menuOpenDoc // this.menuOpenDoc.Index = 0; this.menuOpenDoc.Text = "Open..."; this.menuOpenDoc.Click += new System.EventHandler(this.menuOpenDoc_Click); // // menuNewDoc // this.menuNewDoc.Index = 1; this.menuNewDoc.Text = "New..."; this.menuNewDoc.Click += new System.EventHandler(this.menuNewDoc_Click); // // menuSaveDoc // this.menuSaveDoc.Index = 2; this.menuSaveDoc.Text = "Save"; this.menuSaveDoc.Click += new System.EventHandler(this.menuSaveDoc_Click); // // menuSaveAsDoc // this.menuSaveAsDoc.Index = 3; this.menuSaveAsDoc.Text = "Save As..."; this.menuSaveAsDoc.Click += new System.EventHandler(this.menuSaveAsDoc_Click); // // menuSeparator // this.menuSeparator.Index = 4; this.menuSeparator.Text = "-"; // // menuAppExit // this.menuAppExit.Index = 5; this.menuAppExit.Text = "Exit"; this.menuAppExit.Click += new System.EventHandler(this.menuAppExit_Click); // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 544); this.statusBar1.Name = "statusBar1"; this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.statusBarXYUnits }); this.statusBar1.ShowPanels = true; this.statusBar1.Size = new System.Drawing.Size(784, 22); this.statusBar1.TabIndex = 5; // // statusBarXYUnits // this.statusBarXYUnits.Name = "statusBarXYUnits"; this.statusBarXYUnits.Width = 200; // // axToolbarControl1 // this.axToolbarControl1.Dock = System.Windows.Forms.DockStyle.Top; this.axToolbarControl1.Location = new System.Drawing.Point(0, 0); this.axToolbarControl1.Name = "axToolbarControl1"; this.axToolbarControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axToolbarControl1.OcxState"))); this.axToolbarControl1.Size = new System.Drawing.Size(784, 28); this.axToolbarControl1.TabIndex = 7; // // axTOCControl1 // this.axTOCControl1.Dock = System.Windows.Forms.DockStyle.Left; this.axTOCControl1.Location = new System.Drawing.Point(0, 28); this.axTOCControl1.Name = "axTOCControl1"; this.axTOCControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axTOCControl1.OcxState"))); this.axTOCControl1.Size = new System.Drawing.Size(200, 516); this.axTOCControl1.TabIndex = 8; // // tabControl1 // this.tabControl1.Controls.Add(this.tabPage1); this.tabControl1.Controls.Add(this.tabPage2); this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.tabControl1.Location = new System.Drawing.Point(200, 28); this.tabControl1.Name = "tabControl1"; this.tabControl1.SelectedIndex = 0; this.tabControl1.Size = new System.Drawing.Size(584, 488); this.tabControl1.TabIndex = 9; this.tabControl1.SelectedIndexChanged += new System.EventHandler(this.tabControl1_SelectedIndexChanged); // // tabPage1 // this.tabPage1.Controls.Add(this.axLicenseControl1); this.tabPage1.Controls.Add(this.axMapControl1); this.tabPage1.Location = new System.Drawing.Point(4, 22); this.tabPage1.Name = "tabPage1"; this.tabPage1.Size = new System.Drawing.Size(576, 462); this.tabPage1.TabIndex = 0; this.tabPage1.Text = "Map"; // // axLicenseControl1 // this.axLicenseControl1.Enabled = true; this.axLicenseControl1.Location = new System.Drawing.Point(210, 220); this.axLicenseControl1.Name = "axLicenseControl1"; this.axLicenseControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axLicenseControl1.OcxState"))); this.axLicenseControl1.Size = new System.Drawing.Size(32, 32); this.axLicenseControl1.TabIndex = 1; // // axMapControl1 // this.axMapControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.axMapControl1.Location = new System.Drawing.Point(0, 0); this.axMapControl1.Name = "axMapControl1"; this.axMapControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axMapControl1.OcxState"))); this.axMapControl1.Size = new System.Drawing.Size(576, 462); this.axMapControl1.TabIndex = 0; this.axMapControl1.OnMouseMove += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnMouseMoveEventHandler(this.axMapControl1_OnMouseMove); // // tabPage2 // this.tabPage2.Controls.Add(this.axPageLayoutControl1); this.tabPage2.Location = new System.Drawing.Point(4, 22); this.tabPage2.Name = "tabPage2"; this.tabPage2.Size = new System.Drawing.Size(576, 462); this.tabPage2.TabIndex = 1; this.tabPage2.Text = "Layout"; // // axPageLayoutControl1 // this.axPageLayoutControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.axPageLayoutControl1.Location = new System.Drawing.Point(0, 0); this.axPageLayoutControl1.Name = "axPageLayoutControl1"; this.axPageLayoutControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axPageLayoutControl1.OcxState"))); this.axPageLayoutControl1.Size = new System.Drawing.Size(576, 462); this.axPageLayoutControl1.TabIndex = 0; this.axPageLayoutControl1.OnMouseMove += new ESRI.ArcGIS.Controls.IPageLayoutControlEvents_Ax_OnMouseMoveEventHandler(this.axPageLayoutControl1_OnMouseMove); // // axToolbarControl2 // this.axToolbarControl2.Dock = System.Windows.Forms.DockStyle.Bottom; this.axToolbarControl2.Location = new System.Drawing.Point(200, 516); this.axToolbarControl2.Name = "axToolbarControl2"; this.axToolbarControl2.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axToolbarControl2.OcxState"))); this.axToolbarControl2.Size = new System.Drawing.Size(584, 28); this.axToolbarControl2.TabIndex = 10; // // splitter1 // this.splitter1.Location = new System.Drawing.Point(200, 28); this.splitter1.Name = "splitter1"; this.splitter1.Size = new System.Drawing.Size(3, 488); this.splitter1.TabIndex = 11; this.splitter1.TabStop = false; // // frmMain // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(784, 566); this.Controls.Add(this.splitter1); this.Controls.Add(this.tabControl1); this.Controls.Add(this.axToolbarControl2); this.Controls.Add(this.axTOCControl1); this.Controls.Add(this.axToolbarControl1); this.Controls.Add(this.statusBar1); this.Menu = this.mainMenu1; this.Name = "frmMain"; this.Text = "Map & PageLayout synchronization"; this.Load += new System.EventHandler(this.frmMain_Load); ((System.ComponentModel.ISupportInitialize)(this.statusBarXYUnits)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).EndInit(); this.tabControl1.ResumeLayout(false); this.tabPage1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).EndInit(); this.tabPage2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl2)).EndInit(); this.ResumeLayout(false); }
/// <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(ChildForm)); this.statusStrip1 = new System.Windows.Forms.StatusStrip(); this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel(); this.toolStripStatusLabel2 = new System.Windows.Forms.ToolStripStatusLabel(); this.toolStripStatusLabel3 = new System.Windows.Forms.ToolStripStatusLabel(); this.toolStripStatusLabel4 = new System.Windows.Forms.ToolStripStatusLabel(); this.toolStripStatusLabel5 = new System.Windows.Forms.ToolStripStatusLabel(); this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); this.打开属性表ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.自动标注ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.缩放到图层ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.移除图层ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.axPageLayoutControl1 = new ESRI.ArcGIS.Controls.AxPageLayoutControl(); this.tabPage2 = new System.Windows.Forms.TabPage(); this.axTOCControl1 = new ESRI.ArcGIS.Controls.AxTOCControl(); this.tabControl1 = new System.Windows.Forms.TabControl(); this.tabPage1 = new System.Windows.Forms.TabPage(); this.axMapControl1 = new ESRI.ArcGIS.Controls.AxMapControl(); this.axMapControl2 = new ESRI.ArcGIS.Controls.AxMapControl(); this.statusStrip1.SuspendLayout(); this.contextMenuStrip1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).BeginInit(); this.tabPage2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).BeginInit(); this.tabControl1.SuspendLayout(); this.tabPage1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axMapControl2)).BeginInit(); this.SuspendLayout(); // // statusStrip1 // this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripStatusLabel1, this.toolStripStatusLabel2, this.toolStripStatusLabel3, this.toolStripStatusLabel4, this.toolStripStatusLabel5}); this.statusStrip1.Location = new System.Drawing.Point(0, 379); this.statusStrip1.Name = "statusStrip1"; this.statusStrip1.Size = new System.Drawing.Size(774, 22); this.statusStrip1.TabIndex = 1; this.statusStrip1.Text = "statusStrip1"; // // toolStripStatusLabel1 // this.toolStripStatusLabel1.Name = "toolStripStatusLabel1"; this.toolStripStatusLabel1.Size = new System.Drawing.Size(131, 17); this.toolStripStatusLabel1.Text = "toolStripStatusLabel1"; // // toolStripStatusLabel2 // this.toolStripStatusLabel2.Name = "toolStripStatusLabel2"; this.toolStripStatusLabel2.Size = new System.Drawing.Size(131, 17); this.toolStripStatusLabel2.Text = "toolStripStatusLabel2"; // // toolStripStatusLabel3 // this.toolStripStatusLabel3.Name = "toolStripStatusLabel3"; this.toolStripStatusLabel3.Size = new System.Drawing.Size(131, 17); this.toolStripStatusLabel3.Text = "toolStripStatusLabel3"; // // toolStripStatusLabel4 // this.toolStripStatusLabel4.Name = "toolStripStatusLabel4"; this.toolStripStatusLabel4.Size = new System.Drawing.Size(131, 17); this.toolStripStatusLabel4.Text = "toolStripStatusLabel4"; // // toolStripStatusLabel5 // this.toolStripStatusLabel5.Name = "toolStripStatusLabel5"; this.toolStripStatusLabel5.Size = new System.Drawing.Size(131, 17); this.toolStripStatusLabel5.Text = "toolStripStatusLabel5"; // // contextMenuStrip1 // this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.打开属性表ToolStripMenuItem, this.缩放到图层ToolStripMenuItem, this.自动标注ToolStripMenuItem, this.移除图层ToolStripMenuItem}); this.contextMenuStrip1.Name = "contextMenuStrip1"; this.contextMenuStrip1.Size = new System.Drawing.Size(153, 114); // // 打开属性表ToolStripMenuItem // this.打开属性表ToolStripMenuItem.Name = "打开属性表ToolStripMenuItem"; this.打开属性表ToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.打开属性表ToolStripMenuItem.Text = "打开属性表"; this.打开属性表ToolStripMenuItem.Click += new System.EventHandler(this.打开属性表ToolStripMenuItem_Click); // // 自动标注ToolStripMenuItem // this.自动标注ToolStripMenuItem.Name = "自动标注ToolStripMenuItem"; this.自动标注ToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.自动标注ToolStripMenuItem.Text = "标注"; // // 缩放到图层ToolStripMenuItem // this.缩放到图层ToolStripMenuItem.Name = "缩放到图层ToolStripMenuItem"; this.缩放到图层ToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.缩放到图层ToolStripMenuItem.Text = "缩放到图层"; this.缩放到图层ToolStripMenuItem.Click += new System.EventHandler(this.缩放到图层ToolStripMenuItem_Click); // // 移除图层ToolStripMenuItem // this.移除图层ToolStripMenuItem.Name = "移除图层ToolStripMenuItem"; this.移除图层ToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.移除图层ToolStripMenuItem.Text = "移除图层"; this.移除图层ToolStripMenuItem.Click += new System.EventHandler(this.移除图层ToolStripMenuItem_Click); // // axPageLayoutControl1 // this.axPageLayoutControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.axPageLayoutControl1.Location = new System.Drawing.Point(0, 0); this.axPageLayoutControl1.Name = "axPageLayoutControl1"; this.axPageLayoutControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axPageLayoutControl1.OcxState"))); this.axPageLayoutControl1.Size = new System.Drawing.Size(541, 352); this.axPageLayoutControl1.TabIndex = 3; // // tabPage2 // this.tabPage2.AutoScroll = true; this.tabPage2.Controls.Add(this.axPageLayoutControl1); this.tabPage2.Location = new System.Drawing.Point(4, 4); this.tabPage2.Name = "tabPage2"; this.tabPage2.Padding = new System.Windows.Forms.Padding(3); this.tabPage2.Size = new System.Drawing.Size(541, 352); this.tabPage2.TabIndex = 1; this.tabPage2.Text = "出图"; this.tabPage2.UseVisualStyleBackColor = true; // // axTOCControl1 // this.axTOCControl1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.axTOCControl1.Location = new System.Drawing.Point(2, 1); this.axTOCControl1.Name = "axTOCControl1"; this.axTOCControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axTOCControl1.OcxState"))); this.axTOCControl1.Size = new System.Drawing.Size(221, 257); this.axTOCControl1.TabIndex = 0; this.axTOCControl1.OnMouseDown += new ESRI.ArcGIS.Controls.ITOCControlEvents_Ax_OnMouseDownEventHandler(this.axTOCControl1_OnMouseDown); // // tabControl1 // this.tabControl1.Alignment = System.Windows.Forms.TabAlignment.Bottom; this.tabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.tabControl1.Controls.Add(this.tabPage1); this.tabControl1.Controls.Add(this.tabPage2); this.tabControl1.Location = new System.Drawing.Point(225, 1); this.tabControl1.Multiline = true; this.tabControl1.Name = "tabControl1"; this.tabControl1.RightToLeftLayout = true; this.tabControl1.SelectedIndex = 0; this.tabControl1.Size = new System.Drawing.Size(549, 377); this.tabControl1.SizeMode = System.Windows.Forms.TabSizeMode.FillToRight; this.tabControl1.TabIndex = 2; this.tabControl1.SelectedIndexChanged += new System.EventHandler(this.tabControl1_SelectedIndexChanged); // // tabPage1 // this.tabPage1.Controls.Add(this.axMapControl1); this.tabPage1.Location = new System.Drawing.Point(4, 4); this.tabPage1.Name = "tabPage1"; this.tabPage1.Padding = new System.Windows.Forms.Padding(3); this.tabPage1.Size = new System.Drawing.Size(541, 352); this.tabPage1.TabIndex = 0; this.tabPage1.Text = "工程文件"; this.tabPage1.UseVisualStyleBackColor = true; // // axMapControl1 // this.axMapControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.axMapControl1.Location = new System.Drawing.Point(0, 0); this.axMapControl1.Name = "axMapControl1"; this.axMapControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axMapControl1.OcxState"))); this.axMapControl1.Size = new System.Drawing.Size(541, 352); this.axMapControl1.TabIndex = 1; this.axMapControl1.OnExtentUpdated += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnExtentUpdatedEventHandler(this.axMapControl1_OnExtentUpdated); this.axMapControl1.OnViewRefreshed += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnViewRefreshedEventHandler(this.axMapControl1_OnViewRefreshed); this.axMapControl1.OnAfterScreenDraw += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnAfterScreenDrawEventHandler(this.axMapControl1_OnAfterScreenDraw); // // axMapControl2 // this.axMapControl2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.axMapControl2.Location = new System.Drawing.Point(2, 257); this.axMapControl2.Name = "axMapControl2"; this.axMapControl2.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axMapControl2.OcxState"))); this.axMapControl2.Size = new System.Drawing.Size(221, 119); this.axMapControl2.TabIndex = 4; this.axMapControl2.OnMouseDown += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnMouseDownEventHandler(this.axMapControl2_OnMouseDown); // // ChildForm // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.AutoScroll = true; this.AutoSize = true; this.ClientSize = new System.Drawing.Size(774, 401); this.Controls.Add(this.axMapControl2); this.Controls.Add(this.axTOCControl1); this.Controls.Add(this.statusStrip1); this.Controls.Add(this.tabControl1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "ChildForm"; this.ShowInTaskbar = false; this.Text = "子窗口"; this.Load += new System.EventHandler(this.ChildForm_Load); this.statusStrip1.ResumeLayout(false); this.statusStrip1.PerformLayout(); this.contextMenuStrip1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.axPageLayoutControl1)).EndInit(); this.tabPage2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).EndInit(); this.tabControl1.ResumeLayout(false); this.tabPage1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axMapControl2)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }