/// <summary> /// 构造函数 /// </summary> /// <param name="pTOCControl"></param> /// <param name="pMapControl"></param> public TOCEdit(ESRI.ArcGIS.Controls.AxTOCControl pTOCControl, ESRI.ArcGIS.Controls.AxMapControl pMapControl, MainForm pMain) { m_pMainForm = pMain; m_pMapControl = pMapControl; m_pTOCControl = pTOCControl; m_pTOCControl.OnMouseDown += new ESRI.ArcGIS.Controls.ITOCControlEvents_Ax_OnMouseDownEventHandler(m_pTOCControl_OnMouseDown); m_pTOCControl.OnKeyDown += new ESRI.ArcGIS.Controls.ITOCControlEvents_Ax_OnKeyDownEventHandler(m_pTOCControl_OnKeyDown); m_pTOCControl.OnKeyUp += new ESRI.ArcGIS.Controls.ITOCControlEvents_Ax_OnKeyUpEventHandler(m_pTOCControl_OnKeyUp); m_pMapControl.OnMapReplaced += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnMapReplacedEventHandler(m_pMapControl_OnMapReplaced); m_pMapControl.OnAfterDraw += new IMapControlEvents2_Ax_OnAfterDrawEventHandler(m_pMapControl_OnAfterDraw); }
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(MainFrm)); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.statusBarPanel1 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel2 = new System.Windows.Forms.StatusBarPanel(); this.mainMenu1 = new System.Windows.Forms.MainMenu(this.components); this.menuItem1 = new System.Windows.Forms.MenuItem(); this.menuItem2 = new System.Windows.Forms.MenuItem(); this.menuItem3 = new System.Windows.Forms.MenuItem(); this.menuItem4 = new System.Windows.Forms.MenuItem(); this.menuItem17 = new System.Windows.Forms.MenuItem(); this.menuItem31 = new System.Windows.Forms.MenuItem(); this.menuItem30 = new System.Windows.Forms.MenuItem(); this.menuItem25 = new System.Windows.Forms.MenuItem(); this.menuItem27 = new System.Windows.Forms.MenuItem(); this.menuItem28 = new System.Windows.Forms.MenuItem(); this.menuItem29 = new System.Windows.Forms.MenuItem(); this.menuItem5 = new System.Windows.Forms.MenuItem(); this.menuItem20 = new System.Windows.Forms.MenuItem(); this.menuItem11 = new System.Windows.Forms.MenuItem(); this.menuItem36 = new System.Windows.Forms.MenuItem(); this.menuItem37 = new System.Windows.Forms.MenuItem(); this.menuItem38 = new System.Windows.Forms.MenuItem(); this.menuItem39 = new System.Windows.Forms.MenuItem(); this.menuItem40 = new System.Windows.Forms.MenuItem(); this.menuItem15 = new System.Windows.Forms.MenuItem(); this.menuItem16 = new System.Windows.Forms.MenuItem(); this.menuItem34 = new System.Windows.Forms.MenuItem(); this.menuItem41 = new System.Windows.Forms.MenuItem(); this.menuItem42 = new System.Windows.Forms.MenuItem(); this.menuItem43 = new System.Windows.Forms.MenuItem(); this.menuItem44 = new System.Windows.Forms.MenuItem(); this.menuItem45 = new System.Windows.Forms.MenuItem(); this.menuItem46 = new System.Windows.Forms.MenuItem(); this.menuItem47 = new System.Windows.Forms.MenuItem(); this.menuItem48 = new System.Windows.Forms.MenuItem(); this.menuItem49 = new System.Windows.Forms.MenuItem(); this.menuItem52 = new System.Windows.Forms.MenuItem(); this.menuItem50 = new System.Windows.Forms.MenuItem(); this.menuItem51 = new System.Windows.Forms.MenuItem(); this.menuItem53 = new System.Windows.Forms.MenuItem(); this.menuItem54 = new System.Windows.Forms.MenuItem(); this.menuItem55 = new System.Windows.Forms.MenuItem(); this.menuItem56 = new System.Windows.Forms.MenuItem(); this.menuItem57 = new System.Windows.Forms.MenuItem(); this.menuItem58 = new System.Windows.Forms.MenuItem(); this.menuItem59 = new System.Windows.Forms.MenuItem(); this.menuItem60 = new System.Windows.Forms.MenuItem(); this.menuItem61 = new System.Windows.Forms.MenuItem(); this.menuItem12 = new System.Windows.Forms.MenuItem(); this.menuItem69 = new System.Windows.Forms.MenuItem(); this.menuItem18 = new System.Windows.Forms.MenuItem(); this.menuItem19 = new System.Windows.Forms.MenuItem(); this.menuItem8 = new System.Windows.Forms.MenuItem(); this.menuItem9 = new System.Windows.Forms.MenuItem(); this.menuItem10 = new System.Windows.Forms.MenuItem(); this.menuItem13 = new System.Windows.Forms.MenuItem(); this.menuItem14 = new System.Windows.Forms.MenuItem(); this.menuItem64 = new System.Windows.Forms.MenuItem(); this.menuItem65 = new System.Windows.Forms.MenuItem(); this.menuItem67 = new System.Windows.Forms.MenuItem(); this.menuItem70 = new System.Windows.Forms.MenuItem(); this.menuItem68 = new System.Windows.Forms.MenuItem(); this.menuItem72 = new System.Windows.Forms.MenuItem(); this.menuItem71 = new System.Windows.Forms.MenuItem(); this.menuItem66 = new System.Windows.Forms.MenuItem(); this.menuItem6 = new System.Windows.Forms.MenuItem(); this.menuItem7 = new System.Windows.Forms.MenuItem(); this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); this.folderBrowserDialog1 = new System.Windows.Forms.FolderBrowserDialog(); this.contextMenu1 = new System.Windows.Forms.ContextMenu(); this.menuItem23 = new System.Windows.Forms.MenuItem(); this.menuItem62 = new System.Windows.Forms.MenuItem(); this.menuItem63 = new System.Windows.Forms.MenuItem(); this.toolBar1 = new System.Windows.Forms.ToolBar(); this.toolBarBtnNewMxd = new System.Windows.Forms.ToolBarButton(); this.toolBarBtnOpenMxd = new System.Windows.Forms.ToolBarButton(); this.toolBarBtnSave = new System.Windows.Forms.ToolBarButton(); this.toolBarBtnSeperator = new System.Windows.Forms.ToolBarButton(); this.toolBarBtnUndo = new System.Windows.Forms.ToolBarButton(); this.toolBarBtnRedo = new System.Windows.Forms.ToolBarButton(); this.toolBarBtnSeperator2 = new System.Windows.Forms.ToolBarButton(); this.toolBarBtnAddData = new System.Windows.Forms.ToolBarButton(); this.toolBarButton1 = new System.Windows.Forms.ToolBarButton(); this.toolBarBtnZoomIn = new System.Windows.Forms.ToolBarButton(); this.toolBarBtnZoomOut = new System.Windows.Forms.ToolBarButton(); this.toolBarBtnPan = new System.Windows.Forms.ToolBarButton(); this.toolBarBtnFull = new System.Windows.Forms.ToolBarButton(); this.toolBarBFixZoomIn = new System.Windows.Forms.ToolBarButton(); this.toolBarBtnFixZoomOut = new System.Windows.Forms.ToolBarButton(); this.toolBarBtnBack = new System.Windows.Forms.ToolBarButton(); this.toolBarBtnTo = new System.Windows.Forms.ToolBarButton(); this.toolBarBtnRSelect = new System.Windows.Forms.ToolBarButton(); this.toolBarBtnQuery = new System.Windows.Forms.ToolBarButton(); this.toolBarBtnFind = new System.Windows.Forms.ToolBarButton(); this.toolBarBtnMeasure = new System.Windows.Forms.ToolBarButton(); this.toolBarButton2 = new System.Windows.Forms.ToolBarButton(); this.toolBarBtnSelRectangle = new System.Windows.Forms.ToolBarButton(); this.toolBarBtnSelLine = new System.Windows.Forms.ToolBarButton(); this.toolBarBtnSelEcllipse = new System.Windows.Forms.ToolBarButton(); this.toolBarBtnSelPolygon = new System.Windows.Forms.ToolBarButton(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.tabControl1 = new System.Windows.Forms.TabControl(); this.tabPage1 = new System.Windows.Forms.TabPage(); this.axMapControl2 = new ESRI.ArcGIS.Controls.AxMapControl(); this.tabPage2 = new System.Windows.Forms.TabPage(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.treeViewListItem = new System.Windows.Forms.TreeView(); this.comboBoxNetList = new System.Windows.Forms.ComboBox(); this.axTOCControl1 = new ESRI.ArcGIS.Controls.AxTOCControl(); this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl(); this.axToolbarControl1 = new ESRI.ArcGIS.Controls.AxToolbarControl(); this.toolBar2 = new System.Windows.Forms.ToolBar(); this.toolBarButton3 = new System.Windows.Forms.ToolBarButton(); this.contextMenu2 = new System.Windows.Forms.ContextMenu(); this.menuItem21 = new System.Windows.Forms.MenuItem(); this.menuItem22 = new System.Windows.Forms.MenuItem(); this.menuItem24 = new System.Windows.Forms.MenuItem(); this.menuItem26 = new System.Windows.Forms.MenuItem(); this.menuItem32 = new System.Windows.Forms.MenuItem(); this.menuItem33 = new System.Windows.Forms.MenuItem(); this.toolBarButton6 = new System.Windows.Forms.ToolBarButton(); this.toolBarButtonOpen = new System.Windows.Forms.ToolBarButton(); this.toolBarButton4 = new System.Windows.Forms.ToolBarButton(); this.toolBarButtonAdd = new System.Windows.Forms.ToolBarButton(); this.toolBarButtonMove = new System.Windows.Forms.ToolBarButton(); this.toolBarButtonSolve = new System.Windows.Forms.ToolBarButton(); this.toolBarButtonWin = new System.Windows.Forms.ToolBarButton(); this.axMapControl1 = new ESRI.ArcGIS.Controls.AxMapControl(); this.contextMenu3 = new System.Windows.Forms.ContextMenu(); this.menuItem35 = new System.Windows.Forms.MenuItem(); this.buttonNetSetting = new System.Windows.Forms.Button(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); this.tabControl1.SuspendLayout(); this.tabPage1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.axMapControl2)).BeginInit(); this.tabPage2.SuspendLayout(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).BeginInit(); this.SuspendLayout(); // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 429); this.statusBar1.Name = "statusBar1"; this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.statusBarPanel1, this.statusBarPanel2}); this.statusBar1.ShowPanels = true; this.statusBar1.Size = new System.Drawing.Size(960, 22); this.statusBar1.TabIndex = 11; // // statusBarPanel1 // this.statusBarPanel1.Name = "statusBarPanel1"; this.statusBarPanel1.Width = 300; // // statusBarPanel2 // this.statusBarPanel2.Name = "statusBarPanel2"; this.statusBarPanel2.Width = 436; // // mainMenu1 // this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem1, this.menuItem20, this.menuItem11, this.menuItem18, this.menuItem8, this.menuItem64, this.menuItem6}); // // menuItem1 // this.menuItem1.Index = 0; this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem2, this.menuItem3, this.menuItem4, this.menuItem17, this.menuItem31, this.menuItem30, this.menuItem25, this.menuItem27, this.menuItem28, this.menuItem29, this.menuItem5}); this.menuItem1.Text = "�ļ�"; // // menuItem2 // this.menuItem2.Index = 0; this.menuItem2.Text = "����SDE"; this.menuItem2.Click += new System.EventHandler(this.menuItem2_Click); // // menuItem3 // this.menuItem3.Index = 1; this.menuItem3.Text = "��Raster"; this.menuItem3.Click += new System.EventHandler(this.menuItem3_Click); // // menuItem4 // this.menuItem4.Index = 2; this.menuItem4.Text = "��Shape�ļ�"; this.menuItem4.Click += new System.EventHandler(this.menuItem4_Click); // // menuItem17 // this.menuItem17.Index = 3; this.menuItem17.Text = "��Tin"; this.menuItem17.Click += new System.EventHandler(this.menuItem17_Click); // // menuItem31 // this.menuItem31.Index = 4; this.menuItem31.Text = "��Geometric Network"; this.menuItem31.Click += new System.EventHandler(this.menuItem31_Click); // // menuItem30 // this.menuItem30.Index = 5; this.menuItem30.Text = "-"; // // menuItem25 // this.menuItem25.Index = 6; this.menuItem25.Text = "��dataset�д���featureClass"; this.menuItem25.Click += new System.EventHandler(this.menuItem25_Click); // // menuItem27 // this.menuItem27.Index = 7; this.menuItem27.Text = "-"; // // menuItem28 // this.menuItem28.Index = 8; this.menuItem28.Text = "������JPEG�ļ�"; this.menuItem28.Click += new System.EventHandler(this.menuItem28_Click); // // menuItem29 // this.menuItem29.Index = 9; this.menuItem29.Text = "-"; // // menuItem5 // this.menuItem5.Index = 10; this.menuItem5.Text = "�˳�"; this.menuItem5.Click += new System.EventHandler(this.menuItem5_Click); // // menuItem20 // this.menuItem20.Index = 1; this.menuItem20.Text = "�༭"; // // menuItem11 // this.menuItem11.Index = 2; this.menuItem11.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem36, this.menuItem15, this.menuItem16, this.menuItem43, this.menuItem52, this.menuItem50, this.menuItem51, this.menuItem53, this.menuItem54, this.menuItem55, this.menuItem56, this.menuItem57, this.menuItem58, this.menuItem61, this.menuItem12, this.menuItem69}); this.menuItem11.Text = "�ռ����"; // // menuItem36 // this.menuItem36.Index = 0; this.menuItem36.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem37, this.menuItem38, this.menuItem39, this.menuItem40}); this.menuItem36.Text = "����"; // // menuItem37 // this.menuItem37.Index = 0; this.menuItem37.Text = "ֱ��"; this.menuItem37.Click += new System.EventHandler(this.menuItem37_Click); // // menuItem38 // this.menuItem38.Index = 1; this.menuItem38.Text = "����"; this.menuItem38.Click += new System.EventHandler(this.menuItem38_Click); // // menuItem39 // this.menuItem39.Index = 2; this.menuItem39.Text = "����Ȩ��"; this.menuItem39.Click += new System.EventHandler(this.menuItem39_Click); // // menuItem40 // this.menuItem40.Index = 3; this.menuItem40.Text = "���·��"; this.menuItem40.Click += new System.EventHandler(this.menuItem40_Click); // // menuItem15 // this.menuItem15.Index = 1; this.menuItem15.Text = "�ܶȷ���"; this.menuItem15.Click += new System.EventHandler(this.menuItem15_Click); // // menuItem16 // this.menuItem16.Index = 2; this.menuItem16.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem34, this.menuItem41, this.menuItem42}); this.menuItem16.Text = "դ���ֵ"; // // menuItem34 // this.menuItem34.Index = 0; this.menuItem34.Text = "������Ȩ��"; this.menuItem34.Click += new System.EventHandler(this.menuItem34_Click_1); // // menuItem41 // this.menuItem41.Index = 1; this.menuItem41.Text = "������ֵ"; this.menuItem41.Click += new System.EventHandler(this.menuItem41_Click); // // menuItem42 // this.menuItem42.Index = 2; this.menuItem42.Text = "������"; // // menuItem43 // this.menuItem43.Index = 3; this.menuItem43.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem44, this.menuItem45, this.menuItem46, this.menuItem47, this.menuItem48, this.menuItem49}); this.menuItem43.Text = "�������"; // // menuItem44 // this.menuItem44.Index = 0; this.menuItem44.Text = "��ֵ��"; this.menuItem44.Click += new System.EventHandler(this.menuItem44_Click); // // menuItem45 // this.menuItem45.Index = 1; this.menuItem45.Text = "�¶�"; this.menuItem45.Click += new System.EventHandler(this.menuItem45_Click); // // menuItem46 // this.menuItem46.Index = 2; this.menuItem46.Text = "����"; this.menuItem46.Click += new System.EventHandler(this.menuItem46_Click); // // menuItem47 // this.menuItem47.Index = 3; this.menuItem47.Text = "ɽ����Ӱ"; this.menuItem47.Click += new System.EventHandler(this.menuItem47_Click); // // menuItem48 // this.menuItem48.Index = 4; this.menuItem48.Text = "ͨ��"; this.menuItem48.Click += new System.EventHandler(this.menuItem48_Click); // // menuItem49 // this.menuItem49.Index = 5; this.menuItem49.Text = "���ڷ�"; this.menuItem49.Click += new System.EventHandler(this.menuItem49_Click); // // menuItem52 // this.menuItem52.Index = 4; this.menuItem52.Text = "-"; // // menuItem50 // this.menuItem50.Index = 5; this.menuItem50.Text = "����ͳ��"; this.menuItem50.Click += new System.EventHandler(this.menuItem50_Click); // // menuItem51 // this.menuItem51.Index = 6; this.menuItem51.Text = "�ٽ�ͳ��"; // // menuItem53 // this.menuItem53.Index = 7; this.menuItem53.Text = "����ͳ��"; // // menuItem54 // this.menuItem54.Index = 8; this.menuItem54.Text = "-"; // // menuItem55 // this.menuItem55.Index = 9; this.menuItem55.Text = "դ�����"; // // menuItem56 // this.menuItem56.Index = 10; this.menuItem56.Text = "-"; // // menuItem57 // this.menuItem57.Index = 11; this.menuItem57.Text = "������"; this.menuItem57.Click += new System.EventHandler(this.menuItem57_Click); // // menuItem58 // this.menuItem58.Index = 12; this.menuItem58.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem59, this.menuItem60}); this.menuItem58.Text = "����ת��"; // // menuItem59 // this.menuItem59.Index = 0; this.menuItem59.Text = "����תդ��"; this.menuItem59.Click += new System.EventHandler(this.menuItem59_Click); // // menuItem60 // this.menuItem60.Index = 1; this.menuItem60.Text = "դ��ת����"; this.menuItem60.Click += new System.EventHandler(this.menuItem60_Click); // // menuItem61 // this.menuItem61.Index = 13; this.menuItem61.Text = "-"; // // menuItem12 // this.menuItem12.Index = 14; this.menuItem12.Text = "��������"; this.menuItem12.Click += new System.EventHandler(this.menuItem12_Click_1); // // menuItem69 // this.menuItem69.Index = 15; this.menuItem69.Text = "��ʼ������"; this.menuItem69.Click += new System.EventHandler(this.menuItem69_Click); // // menuItem18 // this.menuItem18.Index = 3; this.menuItem18.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem19}); this.menuItem18.Text = "3D����"; // // menuItem19 // this.menuItem19.Index = 0; this.menuItem19.Text = "��ʾTIN"; this.menuItem19.Click += new System.EventHandler(this.menuItem19_Click); // // menuItem8 // this.menuItem8.Index = 4; this.menuItem8.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem9, this.menuItem10, this.menuItem13, this.menuItem14}); this.menuItem8.Text = "�������"; // // menuItem9 // this.menuItem9.Index = 0; this.menuItem9.Text = "�����ʩ����"; this.menuItem9.Click += new System.EventHandler(this.menuItem9_Click); // // menuItem10 // this.menuItem10.Index = 1; this.menuItem10.Text = "����·������"; this.menuItem10.Click += new System.EventHandler(this.menuItem10_Click); // // menuItem13 // this.menuItem13.Index = 2; this.menuItem13.Text = "-"; // // menuItem14 // this.menuItem14.Index = 3; this.menuItem14.Text = "�����������"; this.menuItem14.Click += new System.EventHandler(this.menuItem14_Click); // // menuItem64 // this.menuItem64.Index = 5; this.menuItem64.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem65, this.menuItem67, this.menuItem70, this.menuItem68, this.menuItem72, this.menuItem71, this.menuItem66}); this.menuItem64.Text = "Utility�������"; // // menuItem65 // this.menuItem65.Index = 0; this.menuItem65.Text = "ˮ�ܺͷ��Ź�ͣ"; this.menuItem65.Click += new System.EventHandler(this.menuItem65_Click); // // menuItem67 // this.menuItem67.Index = 1; this.menuItem67.Text = "��˷��"; this.menuItem67.Click += new System.EventHandler(this.menuItem67_Click); // // menuItem70 // this.menuItem70.Index = 2; this.menuItem70.Text = "����ά����Ƶ���"; this.menuItem70.Click += new System.EventHandler(this.menuItem70_Click); // // menuItem68 // this.menuItem68.Index = 3; this.menuItem68.Text = "�������"; this.menuItem68.Click += new System.EventHandler(this.menuItem68_Click); // // menuItem72 // this.menuItem72.Index = 4; this.menuItem72.Text = "��������ͼ"; this.menuItem72.Click += new System.EventHandler(this.menuItem72_Click); // // menuItem71 // this.menuItem71.Index = 5; this.menuItem71.Text = "���̻�ͼ"; this.menuItem71.Click += new System.EventHandler(this.menuItem71_Click); // // menuItem66 // this.menuItem66.Index = 6; this.menuItem66.Text = "��ʼ������"; this.menuItem66.Click += new System.EventHandler(this.menuItem66_Click); // // menuItem6 // this.menuItem6.Index = 6; this.menuItem6.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem7}); this.menuItem6.Text = "����"; // // menuItem7 // this.menuItem7.Index = 0; this.menuItem7.Text = "����"; this.menuItem7.Click += new System.EventHandler(this.menuItem7_Click); // // openFileDialog1 // this.openFileDialog1.Filter = "ͼ���ļ� (*.BMP;*.JPG;*.GIF,*.TIF)|*.BMP;*.JPG;*.GIF,*.tif|Shape�ļ�(*.shp)|*.SHP|�����ļ� " + "(*.*)|*.*"; // // contextMenu1 // this.contextMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem23, this.menuItem62, this.menuItem63}); // // menuItem23 // this.menuItem23.Index = 0; this.menuItem23.Text = "�Ƴ��ò�"; this.menuItem23.Click += new System.EventHandler(this.menuItem23_Click); // // menuItem62 // this.menuItem62.Index = 1; this.menuItem62.Text = "���Ż�"; this.menuItem62.Click += new System.EventHandler(this.menuItem62_Click); // // menuItem63 // this.menuItem63.Index = 2; this.menuItem63.Text = "��ͼ��ʾ"; this.menuItem63.Click += new System.EventHandler(this.menuItem63_Click); // // toolBar1 // this.toolBar1.Appearance = System.Windows.Forms.ToolBarAppearance.Flat; this.toolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] { this.toolBarBtnNewMxd, this.toolBarBtnOpenMxd, this.toolBarBtnSave, this.toolBarBtnSeperator, this.toolBarBtnUndo, this.toolBarBtnRedo, this.toolBarBtnSeperator2, this.toolBarBtnAddData, this.toolBarButton1, this.toolBarBtnZoomIn, this.toolBarBtnZoomOut, this.toolBarBtnPan, this.toolBarBtnFull, this.toolBarBFixZoomIn, this.toolBarBtnFixZoomOut, this.toolBarBtnBack, this.toolBarBtnTo, this.toolBarBtnRSelect, this.toolBarBtnQuery, this.toolBarBtnFind, this.toolBarBtnMeasure, this.toolBarButton2, this.toolBarBtnSelRectangle, this.toolBarBtnSelLine, this.toolBarBtnSelEcllipse, this.toolBarBtnSelPolygon}); this.toolBar1.Divider = false; this.toolBar1.DropDownArrows = true; this.toolBar1.ImageList = this.imageList1; this.toolBar1.Location = new System.Drawing.Point(0, 0); this.toolBar1.Name = "toolBar1"; this.toolBar1.ShowToolTips = true; this.toolBar1.Size = new System.Drawing.Size(960, 26); this.toolBar1.TabIndex = 17; this.toolBar1.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBar1_ButtonClick); // // toolBarBtnNewMxd // this.toolBarBtnNewMxd.ImageIndex = 0; this.toolBarBtnNewMxd.Name = "toolBarBtnNewMxd"; // // toolBarBtnOpenMxd // this.toolBarBtnOpenMxd.ImageIndex = 1; this.toolBarBtnOpenMxd.Name = "toolBarBtnOpenMxd"; // // toolBarBtnSave // this.toolBarBtnSave.ImageIndex = 18; this.toolBarBtnSave.Name = "toolBarBtnSave"; // // toolBarBtnSeperator // this.toolBarBtnSeperator.Name = "toolBarBtnSeperator"; this.toolBarBtnSeperator.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // toolBarBtnUndo // this.toolBarBtnUndo.ImageIndex = 3; this.toolBarBtnUndo.Name = "toolBarBtnUndo"; // // toolBarBtnRedo // this.toolBarBtnRedo.ImageIndex = 4; this.toolBarBtnRedo.Name = "toolBarBtnRedo"; // // toolBarBtnSeperator2 // this.toolBarBtnSeperator2.Name = "toolBarBtnSeperator2"; this.toolBarBtnSeperator2.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // toolBarBtnAddData // this.toolBarBtnAddData.ImageIndex = 5; this.toolBarBtnAddData.Name = "toolBarBtnAddData"; // // toolBarButton1 // this.toolBarButton1.Name = "toolBarButton1"; this.toolBarButton1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // toolBarBtnZoomIn // this.toolBarBtnZoomIn.ImageIndex = 6; this.toolBarBtnZoomIn.Name = "toolBarBtnZoomIn"; // // toolBarBtnZoomOut // this.toolBarBtnZoomOut.ImageIndex = 7; this.toolBarBtnZoomOut.Name = "toolBarBtnZoomOut"; // // toolBarBtnPan // this.toolBarBtnPan.ImageIndex = 8; this.toolBarBtnPan.Name = "toolBarBtnPan"; // // toolBarBtnFull // this.toolBarBtnFull.ImageIndex = 9; this.toolBarBtnFull.Name = "toolBarBtnFull"; // // toolBarBFixZoomIn // this.toolBarBFixZoomIn.ImageIndex = 11; this.toolBarBFixZoomIn.Name = "toolBarBFixZoomIn"; // // toolBarBtnFixZoomOut // this.toolBarBtnFixZoomOut.ImageIndex = 10; this.toolBarBtnFixZoomOut.Name = "toolBarBtnFixZoomOut"; // // toolBarBtnBack // this.toolBarBtnBack.ImageIndex = 12; this.toolBarBtnBack.Name = "toolBarBtnBack"; // // toolBarBtnTo // this.toolBarBtnTo.ImageIndex = 13; this.toolBarBtnTo.Name = "toolBarBtnTo"; // // toolBarBtnRSelect // this.toolBarBtnRSelect.ImageIndex = 14; this.toolBarBtnRSelect.Name = "toolBarBtnRSelect"; this.toolBarBtnRSelect.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // toolBarBtnQuery // this.toolBarBtnQuery.ImageIndex = 15; this.toolBarBtnQuery.Name = "toolBarBtnQuery"; // // toolBarBtnFind // this.toolBarBtnFind.ImageIndex = 16; this.toolBarBtnFind.Name = "toolBarBtnFind"; // // toolBarBtnMeasure // this.toolBarBtnMeasure.ImageIndex = 17; this.toolBarBtnMeasure.Name = "toolBarBtnMeasure"; // // toolBarButton2 // this.toolBarButton2.Name = "toolBarButton2"; this.toolBarButton2.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // toolBarBtnSelRectangle // this.toolBarBtnSelRectangle.ImageIndex = 19; this.toolBarBtnSelRectangle.Name = "toolBarBtnSelRectangle"; // // toolBarBtnSelLine // this.toolBarBtnSelLine.ImageIndex = 21; this.toolBarBtnSelLine.Name = "toolBarBtnSelLine"; // // toolBarBtnSelEcllipse // this.toolBarBtnSelEcllipse.ImageIndex = 20; this.toolBarBtnSelEcllipse.Name = "toolBarBtnSelEcllipse"; // // toolBarBtnSelPolygon // this.toolBarBtnSelPolygon.ImageIndex = 22; this.toolBarBtnSelPolygon.Name = "toolBarBtnSelPolygon"; // // imageList1 // this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Transparent; this.imageList1.Images.SetKeyName(0, ""); this.imageList1.Images.SetKeyName(1, ""); this.imageList1.Images.SetKeyName(2, ""); this.imageList1.Images.SetKeyName(3, ""); this.imageList1.Images.SetKeyName(4, ""); this.imageList1.Images.SetKeyName(5, ""); this.imageList1.Images.SetKeyName(6, ""); this.imageList1.Images.SetKeyName(7, ""); this.imageList1.Images.SetKeyName(8, ""); this.imageList1.Images.SetKeyName(9, ""); this.imageList1.Images.SetKeyName(10, ""); this.imageList1.Images.SetKeyName(11, ""); this.imageList1.Images.SetKeyName(12, ""); this.imageList1.Images.SetKeyName(13, ""); this.imageList1.Images.SetKeyName(14, ""); this.imageList1.Images.SetKeyName(15, ""); this.imageList1.Images.SetKeyName(16, ""); this.imageList1.Images.SetKeyName(17, ""); this.imageList1.Images.SetKeyName(18, ""); this.imageList1.Images.SetKeyName(19, ""); this.imageList1.Images.SetKeyName(20, ""); this.imageList1.Images.SetKeyName(21, ""); this.imageList1.Images.SetKeyName(22, ""); this.imageList1.Images.SetKeyName(23, "openNetworkWindow.bmp"); this.imageList1.Images.SetKeyName(24, "AddNetFlags.bmp"); this.imageList1.Images.SetKeyName(25, "moveNetFalgs.bmp"); this.imageList1.Images.SetKeyName(26, "Solve.bmp"); this.imageList1.Images.SetKeyName(27, "openwindow.bmp"); this.imageList1.Images.SetKeyName(28, "openNetSeetingWin.bmp"); // // splitContainer1 // this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer1.Location = new System.Drawing.Point(0, 26); this.splitContainer1.Name = "splitContainer1"; // // splitContainer1.Panel1 // this.splitContainer1.Panel1.Controls.Add(this.tabControl1); this.splitContainer1.Panel1.Controls.Add(this.axTOCControl1); // // splitContainer1.Panel2 // this.splitContainer1.Panel2.Controls.Add(this.axLicenseControl1); this.splitContainer1.Panel2.Controls.Add(this.axToolbarControl1); this.splitContainer1.Panel2.Controls.Add(this.toolBar2); this.splitContainer1.Panel2.Controls.Add(this.axMapControl1); this.splitContainer1.Size = new System.Drawing.Size(960, 403); this.splitContainer1.SplitterDistance = 196; this.splitContainer1.TabIndex = 18; // // tabControl1 // this.tabControl1.Alignment = System.Windows.Forms.TabAlignment.Bottom; 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(0, 226); this.tabControl1.Name = "tabControl1"; this.tabControl1.SelectedIndex = 0; this.tabControl1.Size = new System.Drawing.Size(196, 177); this.tabControl1.TabIndex = 2; // // tabPage1 // this.tabPage1.Controls.Add(this.axMapControl2); 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(188, 152); this.tabPage1.TabIndex = 0; this.tabPage1.Text = "ӥ��"; this.tabPage1.UseVisualStyleBackColor = true; // // axMapControl2 // this.axMapControl2.Dock = System.Windows.Forms.DockStyle.Fill; this.axMapControl2.Location = new System.Drawing.Point(3, 3); this.axMapControl2.Name = "axMapControl2"; this.axMapControl2.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axMapControl2.OcxState"))); this.axMapControl2.Size = new System.Drawing.Size(182, 146); this.axMapControl2.TabIndex = 1; this.axMapControl2.OnFullExtentUpdated += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnFullExtentUpdatedEventHandler(this.axMapControl2_OnFullExtentUpdated); this.axMapControl2.OnMouseDown += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnMouseDownEventHandler(this.axMapControl2_OnMouseDown); this.axMapControl2.OnMouseMove += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnMouseMoveEventHandler(this.axMapControl2_OnMouseMove); this.axMapControl2.OnAfterDraw += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnAfterDrawEventHandler(this.axMapControl2_OnAfterDraw); this.axMapControl2.OnMouseUp += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnMouseUpEventHandler(this.axMapControl2_OnMouseUp); // // tabPage2 // this.tabPage2.Controls.Add(this.groupBox1); 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(188, 152); this.tabPage2.TabIndex = 1; this.tabPage2.Text = "�������"; this.tabPage2.UseVisualStyleBackColor = true; // // groupBox1 // this.groupBox1.Controls.Add(this.treeViewListItem); this.groupBox1.Controls.Add(this.comboBoxNetList); this.groupBox1.Controls.Add(this.buttonNetSetting); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox1.Location = new System.Drawing.Point(3, 3); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(182, 146); this.groupBox1.TabIndex = 3; this.groupBox1.TabStop = false; // // treeViewListItem // this.treeViewListItem.Dock = System.Windows.Forms.DockStyle.Bottom; this.treeViewListItem.Location = new System.Drawing.Point(3, 46); this.treeViewListItem.Name = "treeViewListItem"; this.treeViewListItem.Size = new System.Drawing.Size(176, 97); this.treeViewListItem.TabIndex = 4; this.treeViewListItem.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeViewListItem_AfterSelect); this.treeViewListItem.MouseDown += new System.Windows.Forms.MouseEventHandler(this.treeViewListItem_MouseDown); // // comboBoxNetList // this.comboBoxNetList.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBoxNetList.FormattingEnabled = true; this.comboBoxNetList.Location = new System.Drawing.Point(3, 20); this.comboBoxNetList.Name = "comboBoxNetList"; this.comboBoxNetList.Size = new System.Drawing.Size(146, 20); this.comboBoxNetList.TabIndex = 0; // // axTOCControl1 // this.axTOCControl1.Dock = System.Windows.Forms.DockStyle.Top; this.axTOCControl1.Location = new System.Drawing.Point(0, 0); this.axTOCControl1.Name = "axTOCControl1"; this.axTOCControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axTOCControl1.OcxState"))); this.axTOCControl1.Size = new System.Drawing.Size(196, 226); this.axTOCControl1.TabIndex = 0; this.axTOCControl1.OnMouseDown += new ESRI.ArcGIS.Controls.ITOCControlEvents_Ax_OnMouseDownEventHandler(this.axTOCControl1_OnMouseDown); // // axLicenseControl1 // this.axLicenseControl1.Enabled = true; this.axLicenseControl1.Location = new System.Drawing.Point(112, 53); 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 = 20; // // axToolbarControl1 // this.axToolbarControl1.Location = new System.Drawing.Point(20, 103); this.axToolbarControl1.Name = "axToolbarControl1"; this.axToolbarControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axToolbarControl1.OcxState"))); this.axToolbarControl1.Size = new System.Drawing.Size(645, 28); this.axToolbarControl1.TabIndex = 19; // // toolBar2 // this.toolBar2.Appearance = System.Windows.Forms.ToolBarAppearance.Flat; this.toolBar2.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] { this.toolBarButton3, this.toolBarButton6, this.toolBarButtonOpen, this.toolBarButton4, this.toolBarButtonAdd, this.toolBarButtonMove, this.toolBarButtonSolve, this.toolBarButtonWin}); this.toolBar2.Divider = false; this.toolBar2.Dock = System.Windows.Forms.DockStyle.None; this.toolBar2.DropDownArrows = true; this.toolBar2.Font = new System.Drawing.Font("����", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.toolBar2.ImageList = this.imageList1; this.toolBar2.Location = new System.Drawing.Point(294, 51); this.toolBar2.Name = "toolBar2"; this.toolBar2.ShowToolTips = true; this.toolBar2.Size = new System.Drawing.Size(300, 34); this.toolBar2.TabIndex = 1; this.toolBar2.TextAlign = System.Windows.Forms.ToolBarTextAlign.Right; this.toolBar2.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBar2_ButtonClick); // // toolBarButton3 // this.toolBarButton3.DropDownMenu = this.contextMenu2; this.toolBarButton3.Name = "toolBarButton3"; this.toolBarButton3.Style = System.Windows.Forms.ToolBarButtonStyle.DropDownButton; this.toolBarButton3.Text = "�������"; // // contextMenu2 // this.contextMenu2.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem21, this.menuItem22, this.menuItem24, this.menuItem26, this.menuItem32, this.menuItem33}); // // menuItem21 // this.menuItem21.Index = 0; this.menuItem21.Text = "����·��"; this.menuItem21.Click += new System.EventHandler(this.menuItem21_Click); // // menuItem22 // this.menuItem22.Index = 1; this.menuItem22.Text = "��������"; this.menuItem22.Click += new System.EventHandler(this.menuItem22_Click); // // menuItem24 // this.menuItem24.Index = 2; this.menuItem24.Text = "�����ʩ"; this.menuItem24.Click += new System.EventHandler(this.menuItem24_Click); // // menuItem26 // this.menuItem26.Index = 3; this.menuItem26.Text = "���þ���"; this.menuItem26.Click += new System.EventHandler(this.menuItem26_Click_1); // // menuItem32 // this.menuItem32.Index = 4; this.menuItem32.Text = "-"; // // menuItem33 // this.menuItem33.Index = 5; this.menuItem33.Text = "ѡ��"; // // toolBarButton6 // this.toolBarButton6.Name = "toolBarButton6"; this.toolBarButton6.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // toolBarButtonOpen // this.toolBarButtonOpen.ImageIndex = 23; this.toolBarButtonOpen.Name = "toolBarButtonOpen"; // // toolBarButton4 // this.toolBarButton4.Name = "toolBarButton4"; this.toolBarButton4.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // toolBarButtonAdd // this.toolBarButtonAdd.ImageIndex = 24; this.toolBarButtonAdd.Name = "toolBarButtonAdd"; // // toolBarButtonMove // this.toolBarButtonMove.ImageIndex = 25; this.toolBarButtonMove.Name = "toolBarButtonMove"; // // toolBarButtonSolve // this.toolBarButtonSolve.ImageIndex = 26; this.toolBarButtonSolve.Name = "toolBarButtonSolve"; // // toolBarButtonWin // this.toolBarButtonWin.ImageIndex = 27; this.toolBarButtonWin.Name = "toolBarButtonWin"; // // 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(760, 403); this.axMapControl1.TabIndex = 0; this.axMapControl1.OnMouseDown += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnMouseDownEventHandler(this.axMapControl1_OnMouseDown); this.axMapControl1.OnMouseMove += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnMouseMoveEventHandler(this.axMapControl1_OnMouseMove); this.axMapControl1.OnExtentUpdated += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnExtentUpdatedEventHandler(this.axMapControl1_OnExtentUpdated); this.axMapControl1.OnMouseUp += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnMouseUpEventHandler(this.axMapControl1_OnMouseUp); // // contextMenu3 // this.contextMenu3.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem35}); // // menuItem35 // this.menuItem35.Index = 0; this.menuItem35.Text = "װ������"; this.menuItem35.Click += new System.EventHandler(this.menuItem35_Click); // // buttonNetSetting // this.buttonNetSetting.ImageIndex = 28; this.buttonNetSetting.ImageList = this.imageList1; this.buttonNetSetting.Location = new System.Drawing.Point(152, 20); this.buttonNetSetting.Name = "buttonNetSetting"; this.buttonNetSetting.Size = new System.Drawing.Size(27, 21); this.buttonNetSetting.TabIndex = 1; this.buttonNetSetting.UseVisualStyleBackColor = true; this.buttonNetSetting.Click += new System.EventHandler(this.buttonNetSetting_Click); // // MainFrm // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(960, 451); this.ContextMenu = this.contextMenu1; this.Controls.Add(this.splitContainer1); this.Controls.Add(this.toolBar1); this.Controls.Add(this.statusBar1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Menu = this.mainMenu1; this.Name = "MainFrm"; this.Text = "ArcGIS Engine .Net ��ʾ����"; this.Closing += new System.ComponentModel.CancelEventHandler(this.Form1_Closing); this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit(); this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false); this.splitContainer1.Panel2.PerformLayout(); this.splitContainer1.ResumeLayout(false); this.tabControl1.ResumeLayout(false); this.tabPage1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.axMapControl2)).EndInit(); this.tabPage2.ResumeLayout(false); this.groupBox1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).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() { 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() { 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); }
/// <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.statusBar1 = new System.Windows.Forms.StatusBar(); this.statusBarXY = new System.Windows.Forms.StatusBarPanel(); this.mainMenu1 = new System.Windows.Forms.MainMenu(this.components); this.menuFile = new System.Windows.Forms.MenuItem(); this.menuNewDoc = new System.Windows.Forms.MenuItem(); this.menuOpenDoc = 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.menuExitApp = new System.Windows.Forms.MenuItem(); this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl(); this.axMapControl1 = new ESRI.ArcGIS.Controls.AxMapControl(); this.axTOCControl1 = new ESRI.ArcGIS.Controls.AxTOCControl(); this.axToolbarControl1 = new ESRI.ArcGIS.Controls.AxToolbarControl(); this.splitter1 = new System.Windows.Forms.Splitter(); ((System.ComponentModel.ISupportInitialize)(this.statusBarXY)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).BeginInit(); this.SuspendLayout(); // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 512); this.statusBar1.Name = "statusBar1"; this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.statusBarXY}); this.statusBar1.ShowPanels = true; this.statusBar1.Size = new System.Drawing.Size(784, 22); this.statusBar1.TabIndex = 4; // // statusBarXY // this.statusBarXY.Name = "statusBarXY"; this.statusBarXY.Width = 210; // // 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.menuNewDoc, this.menuOpenDoc, this.menuSaveDoc, this.menuSaveAsDoc, this.menuSeparator, this.menuExitApp}); this.menuFile.Text = "File"; // // menuNewDoc // this.menuNewDoc.Index = 0; this.menuNewDoc.Text = "New Document"; this.menuNewDoc.Click += new System.EventHandler(this.menuNewDoc_Click); // // menuOpenDoc // this.menuOpenDoc.Index = 1; this.menuOpenDoc.Text = "Open Document..."; this.menuOpenDoc.Click += new System.EventHandler(this.menuOpenDoc_Click); // // menuSaveDoc // this.menuSaveDoc.Index = 2; this.menuSaveDoc.Text = "SaveDocuement"; 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 = "-"; // // menuExitApp // this.menuExitApp.Index = 5; this.menuExitApp.Text = "Exit"; this.menuExitApp.Click += new System.EventHandler(this.menuExitApp_Click); // // axLicenseControl1 // this.axLicenseControl1.Enabled = true; this.axLicenseControl1.Location = new System.Drawing.Point(320, 176); 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; // // axMapControl1 // this.axMapControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.axMapControl1.Location = new System.Drawing.Point(0, 28); this.axMapControl1.Name = "axMapControl1"; this.axMapControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axMapControl1.OcxState"))); this.axMapControl1.Size = new System.Drawing.Size(784, 484); this.axMapControl1.TabIndex = 6; this.axMapControl1.OnMouseMove += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnMouseMoveEventHandler(this.axMapControl1_OnMouseMove); this.axMapControl1.OnMapReplaced += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnMapReplacedEventHandler(this.axMapControl1_OnMapReplaced); // // axTOCControl1 // this.axTOCControl1.Dock = System.Windows.Forms.DockStyle.Left; this.axTOCControl1.Location = new System.Drawing.Point(3, 28); this.axTOCControl1.Name = "axTOCControl1"; this.axTOCControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axTOCControl1.OcxState"))); this.axTOCControl1.Size = new System.Drawing.Size(209, 484); this.axTOCControl1.TabIndex = 7; this.axTOCControl1.OnMouseDown += new ESRI.ArcGIS.Controls.ITOCControlEvents_Ax_OnMouseDownEventHandler(this.axTOCControl1_OnMouseDown); // // 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 = 8; // // splitter1 // this.splitter1.Location = new System.Drawing.Point(0, 28); this.splitter1.Name = "splitter1"; this.splitter1.Size = new System.Drawing.Size(3, 484); this.splitter1.TabIndex = 9; this.splitter1.TabStop = false; // // frmMain // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(784, 534); this.Controls.Add(this.axTOCControl1); this.Controls.Add(this.axLicenseControl1); this.Controls.Add(this.splitter1); this.Controls.Add(this.axMapControl1); this.Controls.Add(this.axToolbarControl1); this.Controls.Add(this.statusBar1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Menu = this.mainMenu1; this.Name = "frmMain"; this.Text = "ArcEngine Controls Application"; this.Load += new System.EventHandler(this.frmMain_Load); ((System.ComponentModel.ISupportInitialize)(this.statusBarXY)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).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(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); }
protected override Control CreateControl() { m_TocControl= new AxTOCControl(); return m_TocControl; }
/// <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.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmMain)); this.axMapControl1 = new ESRI.ArcGIS.Controls.AxMapControl(); this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl(); this.axToolbarControl1 = new ESRI.ArcGIS.Controls.AxToolbarControl(); this.splitter1 = new System.Windows.Forms.Splitter(); this.axTOCControl1 = new ESRI.ArcGIS.Controls.AxTOCControl(); this.contextMenu1 = new System.Windows.Forms.ContextMenu(); this.miLoadLocations = new System.Windows.Forms.MenuItem(); this.miClearLocations = new System.Windows.Forms.MenuItem(); this.miAddItem = new System.Windows.Forms.MenuItem(); ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).BeginInit(); this.SuspendLayout(); // // axMapControl1 // this.axMapControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.axMapControl1.Location = new System.Drawing.Point(227, 28); this.axMapControl1.Name = "axMapControl1"; this.axMapControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axMapControl1.OcxState"))); this.axMapControl1.Size = new System.Drawing.Size(645, 472); this.axMapControl1.TabIndex = 2; // // axLicenseControl1 // this.axLicenseControl1.Enabled = true; this.axLicenseControl1.Location = new System.Drawing.Point(664, 0); 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.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(872, 28); this.axToolbarControl1.TabIndex = 0; // // splitter1 // this.splitter1.Location = new System.Drawing.Point(224, 28); this.splitter1.Name = "splitter1"; this.splitter1.Size = new System.Drawing.Size(3, 472); this.splitter1.TabIndex = 4; this.splitter1.TabStop = false; // // 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(224, 472); this.axTOCControl1.TabIndex = 1; this.axTOCControl1.OnMouseDown += new ESRI.ArcGIS.Controls.ITOCControlEvents_Ax_OnMouseDownEventHandler(this.axTOCControl1_OnMouseDown); // // contextMenu1 // this.contextMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.miLoadLocations, this.miClearLocations }); // // miLoadLocations // this.miLoadLocations.Index = 0; this.miLoadLocations.Text = "Load Locations..."; this.miLoadLocations.Click += new System.EventHandler(this.miLoadLocations_Click); // // miClearLocations // this.miClearLocations.Index = 1; this.miClearLocations.Text = "Clear Locations"; this.miClearLocations.Click += new System.EventHandler(this.miClearLocations_Click); // // miAddItem // this.miAddItem.Index = -1; this.miAddItem.Text = "Add Item"; this.miAddItem.Click += new System.EventHandler(this.miAddItem_Click); // // frmMain // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(872, 500); this.Controls.Add(this.axLicenseControl1); this.Controls.Add(this.axMapControl1); this.Controls.Add(this.splitter1); this.Controls.Add(this.axTOCControl1); this.Controls.Add(this.axToolbarControl1); this.Name = "frmMain"; this.Text = "Network Analyst Engine Application"; this.Load += new System.EventHandler(this.frmMain_Load); ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).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(frmMain)); this.axMapControl1 = new ESRI.ArcGIS.Controls.AxMapControl(); this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl(); this.axToolbarControl1 = new ESRI.ArcGIS.Controls.AxToolbarControl(); this.splitter1 = new System.Windows.Forms.Splitter(); this.axTOCControl1 = new ESRI.ArcGIS.Controls.AxTOCControl(); this.contextMenu1 = new System.Windows.Forms.ContextMenu(); this.miLoadLocations = new System.Windows.Forms.MenuItem(); this.miClearLocations = new System.Windows.Forms.MenuItem(); this.miAddItem = new System.Windows.Forms.MenuItem(); this.menuStrip1 = new System.Windows.Forms.MenuStrip(); this.文件ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.ToolStripMenuItemOpen = new System.Windows.Forms.ToolStripMenuItem(); this.ToolStripMenuItemQueryByAttribute = new System.Windows.Forms.ToolStripMenuItem(); this.ToolStripMenuItemQueryBySpatial = new System.Windows.Forms.ToolStripMenuItem(); this.statusStrip1 = new System.Windows.Forms.StatusStrip(); this.toolStripStatusMessage = new System.Windows.Forms.ToolStripStatusLabel(); this.toolStripStatusBlank = new System.Windows.Forms.ToolStripStatusLabel(); this.toolStripStatusScale = new System.Windows.Forms.ToolStripStatusLabel(); this.toolStripStatusCoordinates = new System.Windows.Forms.ToolStripStatusLabel(); ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).BeginInit(); this.menuStrip1.SuspendLayout(); this.statusStrip1.SuspendLayout(); this.SuspendLayout(); // // axMapControl1 // this.axMapControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.axMapControl1.Location = new System.Drawing.Point(173, 53); this.axMapControl1.Name = "axMapControl1"; this.axMapControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axMapControl1.OcxState"))); this.axMapControl1.Size = new System.Drawing.Size(706, 454); this.axMapControl1.TabIndex = 2; this.axMapControl1.OnMouseMove += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnMouseMoveEventHandler(this.axMapControl1_OnMouseMove); // // axLicenseControl1 // this.axLicenseControl1.Enabled = true; this.axLicenseControl1.Location = new System.Drawing.Point(797, 0); 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.Dock = System.Windows.Forms.DockStyle.Top; this.axToolbarControl1.Location = new System.Drawing.Point(0, 25); this.axToolbarControl1.Name = "axToolbarControl1"; this.axToolbarControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axToolbarControl1.OcxState"))); this.axToolbarControl1.Size = new System.Drawing.Size(879, 28); this.axToolbarControl1.TabIndex = 0; // // splitter1 // this.splitter1.Location = new System.Drawing.Point(170, 53); this.splitter1.Name = "splitter1"; this.splitter1.Size = new System.Drawing.Size(3, 454); this.splitter1.TabIndex = 4; this.splitter1.TabStop = false; // // axTOCControl1 // this.axTOCControl1.Dock = System.Windows.Forms.DockStyle.Left; this.axTOCControl1.Location = new System.Drawing.Point(0, 53); this.axTOCControl1.Name = "axTOCControl1"; this.axTOCControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axTOCControl1.OcxState"))); this.axTOCControl1.Size = new System.Drawing.Size(170, 454); this.axTOCControl1.TabIndex = 1; this.axTOCControl1.OnMouseDown += new ESRI.ArcGIS.Controls.ITOCControlEvents_Ax_OnMouseDownEventHandler(this.axTOCControl1_OnMouseDown); // // contextMenu1 // this.contextMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.miLoadLocations, this.miClearLocations }); // // miLoadLocations // this.miLoadLocations.Index = 0; this.miLoadLocations.Text = "Load Locations..."; this.miLoadLocations.Click += new System.EventHandler(this.miLoadLocations_Click); // // miClearLocations // this.miClearLocations.Index = 1; this.miClearLocations.Text = "Clear Locations"; this.miClearLocations.Click += new System.EventHandler(this.miClearLocations_Click); // // miAddItem // this.miAddItem.Index = -1; this.miAddItem.Text = "Add Item"; this.miAddItem.Click += new System.EventHandler(this.miAddItem_Click); // // menuStrip1 // this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.文件ToolStripMenuItem, this.ToolStripMenuItemQueryByAttribute, this.ToolStripMenuItemQueryBySpatial }); this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Name = "menuStrip1"; this.menuStrip1.Size = new System.Drawing.Size(879, 25); this.menuStrip1.TabIndex = 5; this.menuStrip1.Text = "menuStrip1"; // // 文件ToolStripMenuItem // this.文件ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.ToolStripMenuItemOpen }); this.文件ToolStripMenuItem.Name = "文件ToolStripMenuItem"; this.文件ToolStripMenuItem.Size = new System.Drawing.Size(44, 21); this.文件ToolStripMenuItem.Text = "文件"; // // ToolStripMenuItemOpen // this.ToolStripMenuItemOpen.Name = "ToolStripMenuItemOpen"; this.ToolStripMenuItemOpen.Size = new System.Drawing.Size(100, 22); this.ToolStripMenuItemOpen.Text = "打开"; this.ToolStripMenuItemOpen.Click += new System.EventHandler(this.ToolStripMenuItemOpen_Click); // // ToolStripMenuItemQueryByAttribute // this.ToolStripMenuItemQueryByAttribute.Name = "ToolStripMenuItemQueryByAttribute"; this.ToolStripMenuItemQueryByAttribute.Size = new System.Drawing.Size(68, 21); this.ToolStripMenuItemQueryByAttribute.Text = "属性查询"; this.ToolStripMenuItemQueryByAttribute.Click += new System.EventHandler(this.ToolStripMenuItemQueryByAttribute_Click); // // ToolStripMenuItemQueryBySpatial // this.ToolStripMenuItemQueryBySpatial.Name = "ToolStripMenuItemQueryBySpatial"; this.ToolStripMenuItemQueryBySpatial.Size = new System.Drawing.Size(68, 21); this.ToolStripMenuItemQueryBySpatial.Text = "空间查询"; this.ToolStripMenuItemQueryBySpatial.Click += new System.EventHandler(this.ToolStripMenuItemQueryBySpatial_Click); // // statusStrip1 // this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripStatusMessage, this.toolStripStatusBlank, this.toolStripStatusScale, this.toolStripStatusCoordinates }); this.statusStrip1.Location = new System.Drawing.Point(173, 485); this.statusStrip1.Name = "statusStrip1"; this.statusStrip1.Size = new System.Drawing.Size(706, 22); this.statusStrip1.TabIndex = 10; this.statusStrip1.Text = "statusStrip1"; // // toolStripStatusMessage // this.toolStripStatusMessage.Name = "toolStripStatusMessage"; this.toolStripStatusMessage.Size = new System.Drawing.Size(32, 17); this.toolStripStatusMessage.Text = "就绪"; // // toolStripStatusBlank // this.toolStripStatusBlank.Name = "toolStripStatusBlank"; this.toolStripStatusBlank.Size = new System.Drawing.Size(535, 17); this.toolStripStatusBlank.Spring = true; // // toolStripStatusScale // this.toolStripStatusScale.Name = "toolStripStatusScale"; this.toolStripStatusScale.Size = new System.Drawing.Size(56, 17); this.toolStripStatusScale.Text = "当前坐标"; // // toolStripStatusCoordinates // this.toolStripStatusCoordinates.Name = "toolStripStatusCoordinates"; this.toolStripStatusCoordinates.Size = new System.Drawing.Size(68, 17); this.toolStripStatusCoordinates.Text = "当前比例尺"; this.toolStripStatusCoordinates.Click += new System.EventHandler(this.toolStripStatusCoordinates_Click); // // frmMain // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(879, 507); this.Controls.Add(this.statusStrip1); this.Controls.Add(this.axLicenseControl1); this.Controls.Add(this.axMapControl1); this.Controls.Add(this.splitter1); this.Controls.Add(this.axTOCControl1); this.Controls.Add(this.axToolbarControl1); this.Controls.Add(this.menuStrip1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MainMenuStrip = this.menuStrip1; this.Name = "frmMain"; this.Text = "Road analysis System"; this.Load += new System.EventHandler(this.frmMain_Load); ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).EndInit(); this.menuStrip1.ResumeLayout(false); this.menuStrip1.PerformLayout(); this.statusStrip1.ResumeLayout(false); this.statusStrip1.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.btnOptions1 = new System.Windows.Forms.Button(); this.btnOptions2 = new System.Windows.Forms.Button(); this.axToolbarControl1 = new ESRI.ArcGIS.Controls.AxToolbarControl(); this.axToolbarControl2 = new ESRI.ArcGIS.Controls.AxToolbarControl(); this.axTOCControl1 = new ESRI.ArcGIS.Controls.AxTOCControl(); this.axMapControl1 = new ESRI.ArcGIS.Controls.AxMapControl(); this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit(); this.tableLayoutPanel1.SuspendLayout(); this.SuspendLayout(); // // btnOptions1 // this.btnOptions1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnOptions1.Location = new System.Drawing.Point(876, 3); this.btnOptions1.Name = "btnOptions1"; this.btnOptions1.Size = new System.Drawing.Size(90, 23); this.btnOptions1.TabIndex = 5; this.btnOptions1.Text = "Edit Options1"; this.btnOptions1.Click += new System.EventHandler(this.btnOptions1_Click); // // btnOptions2 // this.btnOptions2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnOptions2.Location = new System.Drawing.Point(876, 37); this.btnOptions2.Name = "btnOptions2"; this.btnOptions2.Size = new System.Drawing.Size(90, 23); this.btnOptions2.TabIndex = 6; this.btnOptions2.Text = "Edit Options2"; this.btnOptions2.Click += new System.EventHandler(this.btnOptions2_Click); // // 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(159, 37); this.axToolbarControl1.Name = "axToolbarControl1"; this.axToolbarControl1.Size = new System.Drawing.Size(704, 28); this.axToolbarControl1.TabIndex = 7; // // axToolbarControl2 // this.axToolbarControl2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.axToolbarControl2.Location = new System.Drawing.Point(159, 3); this.axToolbarControl2.Name = "axToolbarControl2"; this.axToolbarControl2.Size = new System.Drawing.Size(704, 28); this.axToolbarControl2.TabIndex = 8; // // 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(3, 66); this.axTOCControl1.Name = "axTOCControl1"; this.axTOCControl1.Size = new System.Drawing.Size(150, 433); this.axTOCControl1.TabIndex = 9; // // 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(159, 66); this.axMapControl1.Name = "axMapControl1"; this.axMapControl1.Size = new System.Drawing.Size(704, 433); this.axMapControl1.TabIndex = 10; this.axMapControl1.OnMouseDown += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnMouseDownEventHandler(this.axMapControl1_OnMouseDown); // // axLicenseControl1 // this.axLicenseControl1.Enabled = true; this.axLicenseControl1.Location = new System.Drawing.Point(3, 3); 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 = 11; // // tableLayoutPanel1 // this.tableLayoutPanel1.ColumnCount = 3; this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 18.02493F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 81.97507F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 102F)); this.tableLayoutPanel1.Controls.Add(this.axMapControl1, 1, 2); this.tableLayoutPanel1.Controls.Add(this.axTOCControl1, 0, 2); this.tableLayoutPanel1.Controls.Add(this.btnOptions1, 2, 0); this.tableLayoutPanel1.Controls.Add(this.btnOptions2, 2, 1); this.tableLayoutPanel1.Controls.Add(this.axLicenseControl1, 0, 0); this.tableLayoutPanel1.Controls.Add(this.axToolbarControl2, 1, 0); this.tableLayoutPanel1.Controls.Add(this.axToolbarControl1, 1, 1); this.tableLayoutPanel1.Location = new System.Drawing.Point(11, 10); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.RowCount = 3; this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 53.42466F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 46.57534F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 438F)); this.tableLayoutPanel1.Size = new System.Drawing.Size(969, 502); this.tableLayoutPanel1.TabIndex = 12; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(1188, 599); this.Controls.Add(this.tableLayoutPanel1); this.KeyPreview = true; this.Name = "Form1"; this.Text = "Feature Editing"; this.Load += new System.EventHandler(this.Form1_Load); this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Form1_KeyDown); ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit(); this.tableLayoutPanel1.ResumeLayout(false); this.ResumeLayout(false); }
protected override Control CreateControl() { m_TocControl = new AxTOCControl(); return(m_TocControl); }
private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.btnOptions1 = new System.Windows.Forms.Button(); this.btnOptions2 = new System.Windows.Forms.Button(); this.axToolbarControl1 = new ESRI.ArcGIS.Controls.AxToolbarControl(); this.axToolbarControl2 = new ESRI.ArcGIS.Controls.AxToolbarControl(); this.axTOCControl1 = new ESRI.ArcGIS.Controls.AxTOCControl(); this.axMapControl1 = new ESRI.ArcGIS.Controls.AxMapControl(); this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit(); this.tableLayoutPanel1.SuspendLayout(); this.SuspendLayout(); // // btnOptions1 // this.btnOptions1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnOptions1.Location = new System.Drawing.Point(876, 3); this.btnOptions1.Name = "btnOptions1"; this.btnOptions1.Size = new System.Drawing.Size(90, 23); this.btnOptions1.TabIndex = 5; this.btnOptions1.Text = "Edit Options1"; this.btnOptions1.Click += new System.EventHandler(this.btnOptions1_Click); // // btnOptions2 // this.btnOptions2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnOptions2.Location = new System.Drawing.Point(876, 37); this.btnOptions2.Name = "btnOptions2"; this.btnOptions2.Size = new System.Drawing.Size(90, 23); this.btnOptions2.TabIndex = 6; this.btnOptions2.Text = "Edit Options2"; this.btnOptions2.Click += new System.EventHandler(this.btnOptions2_Click); // // 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(159, 37); this.axToolbarControl1.Name = "axToolbarControl1"; this.axToolbarControl1.Size = new System.Drawing.Size(704, 28); this.axToolbarControl1.TabIndex = 7; // // axToolbarControl2 // this.axToolbarControl2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.axToolbarControl2.Location = new System.Drawing.Point(159, 3); this.axToolbarControl2.Name = "axToolbarControl2"; this.axToolbarControl2.Size = new System.Drawing.Size(704, 28); this.axToolbarControl2.TabIndex = 8; // // 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(3, 66); this.axTOCControl1.Name = "axTOCControl1"; this.axTOCControl1.Size = new System.Drawing.Size(150, 433); this.axTOCControl1.TabIndex = 9; // // 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(159, 66); this.axMapControl1.Name = "axMapControl1"; this.axMapControl1.Size = new System.Drawing.Size(704, 433); this.axMapControl1.TabIndex = 10; this.axMapControl1.OnMouseDown += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnMouseDownEventHandler(this.axMapControl1_OnMouseDown); // // axLicenseControl1 // this.axLicenseControl1.Enabled = true; this.axLicenseControl1.Location = new System.Drawing.Point(3, 3); 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 = 11; // // tableLayoutPanel1 // this.tableLayoutPanel1.ColumnCount = 3; this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 18.02493F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 81.97507F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 102F)); this.tableLayoutPanel1.Controls.Add(this.axMapControl1, 1, 2); this.tableLayoutPanel1.Controls.Add(this.axTOCControl1, 0, 2); this.tableLayoutPanel1.Controls.Add(this.btnOptions1, 2, 0); this.tableLayoutPanel1.Controls.Add(this.btnOptions2, 2, 1); this.tableLayoutPanel1.Controls.Add(this.axLicenseControl1, 0, 0); this.tableLayoutPanel1.Controls.Add(this.axToolbarControl2, 1, 0); this.tableLayoutPanel1.Controls.Add(this.axToolbarControl1, 1, 1); this.tableLayoutPanel1.Location = new System.Drawing.Point(11, 10); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.RowCount = 3; this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 53.42466F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 46.57534F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 438F)); this.tableLayoutPanel1.Size = new System.Drawing.Size(969, 502); this.tableLayoutPanel1.TabIndex = 12; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(1188, 599); this.Controls.Add(this.tableLayoutPanel1); this.KeyPreview = true; this.Name = "Form1"; this.Text = "Feature Editing"; this.Load += new System.EventHandler(this.Form1_Load); this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Form1_KeyDown); ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit(); this.tableLayoutPanel1.ResumeLayout(false); 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.statusBar1 = new System.Windows.Forms.StatusBar(); this.statusBarXY = new System.Windows.Forms.StatusBarPanel(); this.mainMenu1 = new System.Windows.Forms.MainMenu(this.components); this.menuFile = new System.Windows.Forms.MenuItem(); this.menuNewDoc = new System.Windows.Forms.MenuItem(); this.menuOpenDoc = 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.menuExitApp = new System.Windows.Forms.MenuItem(); this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl(); this.axMapControl1 = new ESRI.ArcGIS.Controls.AxMapControl(); this.axTOCControl1 = new ESRI.ArcGIS.Controls.AxTOCControl(); this.axToolbarControl1 = new ESRI.ArcGIS.Controls.AxToolbarControl(); this.splitter1 = new System.Windows.Forms.Splitter(); ((System.ComponentModel.ISupportInitialize)(this.statusBarXY)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).BeginInit(); this.SuspendLayout(); // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 512); this.statusBar1.Name = "statusBar1"; this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.statusBarXY }); this.statusBar1.ShowPanels = true; this.statusBar1.Size = new System.Drawing.Size(784, 22); this.statusBar1.TabIndex = 4; // // statusBarXY // this.statusBarXY.Name = "statusBarXY"; this.statusBarXY.Width = 210; // // 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.menuNewDoc, this.menuOpenDoc, this.menuSaveDoc, this.menuSaveAsDoc, this.menuSeparator, this.menuExitApp }); this.menuFile.Text = "File"; // // menuNewDoc // this.menuNewDoc.Index = 0; this.menuNewDoc.Text = "New Document"; this.menuNewDoc.Click += new System.EventHandler(this.menuNewDoc_Click); // // menuOpenDoc // this.menuOpenDoc.Index = 1; this.menuOpenDoc.Text = "Open Document..."; this.menuOpenDoc.Click += new System.EventHandler(this.menuOpenDoc_Click); // // menuSaveDoc // this.menuSaveDoc.Index = 2; this.menuSaveDoc.Text = "SaveDocuement"; 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 = "-"; // // menuExitApp // this.menuExitApp.Index = 5; this.menuExitApp.Text = "Exit"; this.menuExitApp.Click += new System.EventHandler(this.menuExitApp_Click); // // axLicenseControl1 // this.axLicenseControl1.Enabled = true; this.axLicenseControl1.Location = new System.Drawing.Point(320, 176); 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; // // axMapControl1 // this.axMapControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.axMapControl1.Location = new System.Drawing.Point(0, 28); this.axMapControl1.Name = "axMapControl1"; this.axMapControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axMapControl1.OcxState"))); this.axMapControl1.Size = new System.Drawing.Size(784, 484); this.axMapControl1.TabIndex = 6; this.axMapControl1.OnMouseMove += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnMouseMoveEventHandler(this.axMapControl1_OnMouseMove); this.axMapControl1.OnMapReplaced += new ESRI.ArcGIS.Controls.IMapControlEvents2_Ax_OnMapReplacedEventHandler(this.axMapControl1_OnMapReplaced); // // axTOCControl1 // this.axTOCControl1.Dock = System.Windows.Forms.DockStyle.Left; this.axTOCControl1.Location = new System.Drawing.Point(3, 28); this.axTOCControl1.Name = "axTOCControl1"; this.axTOCControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axTOCControl1.OcxState"))); this.axTOCControl1.Size = new System.Drawing.Size(209, 484); this.axTOCControl1.TabIndex = 7; this.axTOCControl1.OnMouseDown += new ESRI.ArcGIS.Controls.ITOCControlEvents_Ax_OnMouseDownEventHandler(this.axTOCControl1_OnMouseDown); // // 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 = 8; // // splitter1 // this.splitter1.Location = new System.Drawing.Point(0, 28); this.splitter1.Name = "splitter1"; this.splitter1.Size = new System.Drawing.Size(3, 484); this.splitter1.TabIndex = 9; this.splitter1.TabStop = false; // // frmMain // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(784, 534); this.Controls.Add(this.axTOCControl1); this.Controls.Add(this.axLicenseControl1); this.Controls.Add(this.splitter1); this.Controls.Add(this.axMapControl1); this.Controls.Add(this.axToolbarControl1); this.Controls.Add(this.statusBar1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Menu = this.mainMenu1; this.Name = "frmMain"; this.Text = "ArcEngine Controls Application"; this.Load += new System.EventHandler(this.frmMain_Load); ((System.ComponentModel.ISupportInitialize)(this.statusBarXY)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).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() { 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); }
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() { 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); }
/// <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(frmMain)); this.axMapControl1 = new ESRI.ArcGIS.Controls.AxMapControl(); this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl(); this.axToolbarControl1 = new ESRI.ArcGIS.Controls.AxToolbarControl(); this.splitter1 = new System.Windows.Forms.Splitter(); this.axTOCControl1 = new ESRI.ArcGIS.Controls.AxTOCControl(); this.contextMenu1 = new System.Windows.Forms.ContextMenu(); this.miLoadLocations = new System.Windows.Forms.MenuItem(); this.miClearLocations = new System.Windows.Forms.MenuItem(); this.miAddItem = new System.Windows.Forms.MenuItem(); ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).BeginInit(); this.SuspendLayout(); // // axMapControl1 // this.axMapControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.axMapControl1.Location = new System.Drawing.Point(227, 28); this.axMapControl1.Name = "axMapControl1"; this.axMapControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axMapControl1.OcxState"))); this.axMapControl1.Size = new System.Drawing.Size(645, 472); this.axMapControl1.TabIndex = 2; // // axLicenseControl1 // this.axLicenseControl1.Enabled = true; this.axLicenseControl1.Location = new System.Drawing.Point(664, 0); 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.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(872, 28); this.axToolbarControl1.TabIndex = 0; // // splitter1 // this.splitter1.Location = new System.Drawing.Point(224, 28); this.splitter1.Name = "splitter1"; this.splitter1.Size = new System.Drawing.Size(3, 472); this.splitter1.TabIndex = 4; this.splitter1.TabStop = false; // // 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(224, 472); this.axTOCControl1.TabIndex = 1; this.axTOCControl1.OnMouseDown += new ESRI.ArcGIS.Controls.ITOCControlEvents_Ax_OnMouseDownEventHandler(this.axTOCControl1_OnMouseDown); // // contextMenu1 // this.contextMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.miLoadLocations, this.miClearLocations}); // // miLoadLocations // this.miLoadLocations.Index = 0; this.miLoadLocations.Text = "Load Locations..."; this.miLoadLocations.Click += new System.EventHandler(this.miLoadLocations_Click); // // miClearLocations // this.miClearLocations.Index = 1; this.miClearLocations.Text = "Clear Locations"; this.miClearLocations.Click += new System.EventHandler(this.miClearLocations_Click); // // miAddItem // this.miAddItem.Index = -1; this.miAddItem.Text = "Add Item"; this.miAddItem.Click += new System.EventHandler(this.miAddItem_Click); // // frmMain // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(872, 500); this.Controls.Add(this.axLicenseControl1); this.Controls.Add(this.axMapControl1); this.Controls.Add(this.splitter1); this.Controls.Add(this.axTOCControl1); this.Controls.Add(this.axToolbarControl1); this.Name = "frmMain"; this.Text = "Network Analyst Engine Application"; this.Load += new System.EventHandler(this.frmMain_Load); ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).EndInit(); this.ResumeLayout(false); }