MainForm.Designer.cs
上传用户:sex100000
上传日期:2013-11-09
资源大小:1377k
文件大小:36k
源码类别:

GIS编程

开发平台:

C#

  1. // Copyright 2007 - Rory Plaire (codekaizen@gmail.com)
  2. //
  3. // This file is part of SharpMap.
  4. // SharpMap is free software; you can redistribute it and/or modify
  5. // it under the terms of the GNU Lesser General Public License as published by
  6. // the Free Software Foundation; either version 2 of the License, or
  7. // (at your option) any later version.
  8. // 
  9. // SharpMap is distributed in the hope that it will be useful,
  10. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12. // GNU Lesser General Public License for more details.
  13. // You should have received a copy of the GNU Lesser General Public License
  14. // along with SharpMap; if not, write to the Free Software
  15. // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
  16. namespace DemoWinForm
  17. {
  18. partial class MainForm
  19. {
  20. /// <summary>
  21. /// Required designer variable.
  22. /// </summary>
  23. private System.ComponentModel.IContainer components = null;
  24. /// <summary>
  25. /// Clean up any resources being used.
  26. /// </summary>
  27. /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
  28. protected override void Dispose(bool disposing)
  29. {
  30. if (disposing && (components != null))
  31. {
  32. components.Dispose();
  33. }
  34. base.Dispose(disposing);
  35. }
  36. #region Windows Form Designer generated code
  37. /// <summary>
  38. /// Required method for Designer support - do not modify
  39. /// the contents of this method with the code editor.
  40. /// </summary>
  41. private void InitializeComponent()
  42. {
  43. this.components = new System.ComponentModel.Container();
  44. System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
  45. System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
  46. System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
  47. System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
  48. System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
  49. System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
  50. System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
  51. this.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer();
  52. this.MainStatusStrip = new System.Windows.Forms.StatusStrip();
  53. this.CoordinatesLabel = new System.Windows.Forms.ToolStripStatusLabel();
  54. this.splitContainer1 = new System.Windows.Forms.SplitContainer();
  55. this.LayersDataGridView = new System.Windows.Forms.DataGridView();
  56. this.EnabledColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn();
  57. this.LayerTypeColumn = new System.Windows.Forms.DataGridViewImageColumn();
  58. this.LayerNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
  59. this.LayerPropertiesColumn = new System.Windows.Forms.DataGridViewButtonColumn();
  60. this.splitContainer2 = new System.Windows.Forms.SplitContainer();
  61. this.FeaturesDataGridView = new System.Windows.Forms.DataGridView();
  62. this.MainToolStrip = new System.Windows.Forms.ToolStrip();
  63. this.toolStripSeparator = new System.Windows.Forms.ToolStripSeparator();
  64. this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
  65. this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
  66. this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
  67. this.splitContainer4 = new System.Windows.Forms.SplitContainer();
  68. this.LayerContextMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
  69. this.MoveUpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
  70. this.MoveDownToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
  71. this.LayerContextMenuSeparator = new System.Windows.Forms.ToolStripSeparator();
  72. this.AddLayerToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
  73. this.RemoveLayerToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
  74. this.AddLayerDialog = new System.Windows.Forms.OpenFileDialog();
  75. this.MainMapImage = new SharpMap.Forms.MapImage();
  76. this.NewToolStripButton = new System.Windows.Forms.ToolStripButton();
  77. this.AddNewRandomGeometryLayer = new System.Windows.Forms.ToolStripButton();
  78. this.OpenToolStripButton = new System.Windows.Forms.ToolStripButton();
  79. this.SaveToolStripButton = new System.Windows.Forms.ToolStripButton();
  80. this.PrintToolStripButton = new System.Windows.Forms.ToolStripButton();
  81. this.CutToolStripButton = new System.Windows.Forms.ToolStripButton();
  82. this.CopyToolStripButton = new System.Windows.Forms.ToolStripButton();
  83. this.PasteToolStripButton = new System.Windows.Forms.ToolStripButton();
  84. this.AddLayerToolStripButton = new System.Windows.Forms.ToolStripButton();
  85. this.RemoveLayerToolStripButton = new System.Windows.Forms.ToolStripButton();
  86. this.ZoomToExtentsToolStripButton = new System.Windows.Forms.ToolStripButton();
  87. this.ZoomOutModeToolStripButton = new System.Windows.Forms.ToolStripButton();
  88. this.ZoomInModeToolStripButton = new System.Windows.Forms.ToolStripButton();
  89. this.PanToolStripButton = new System.Windows.Forms.ToolStripButton();
  90. this.QueryModeToolStripButton = new System.Windows.Forms.ToolStripButton();
  91. this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
  92. this.toolStripContainer1.BottomToolStripPanel.SuspendLayout();
  93. this.toolStripContainer1.ContentPanel.SuspendLayout();
  94. this.toolStripContainer1.TopToolStripPanel.SuspendLayout();
  95. this.toolStripContainer1.SuspendLayout();
  96. this.MainStatusStrip.SuspendLayout();
  97. this.splitContainer1.Panel1.SuspendLayout();
  98. this.splitContainer1.Panel2.SuspendLayout();
  99. this.splitContainer1.SuspendLayout();
  100. ((System.ComponentModel.ISupportInitialize)(this.LayersDataGridView)).BeginInit();
  101. this.splitContainer2.Panel1.SuspendLayout();
  102. this.splitContainer2.Panel2.SuspendLayout();
  103. this.splitContainer2.SuspendLayout();
  104. ((System.ComponentModel.ISupportInitialize)(this.FeaturesDataGridView)).BeginInit();
  105. this.MainToolStrip.SuspendLayout();
  106. this.splitContainer4.SuspendLayout();
  107. this.LayerContextMenu.SuspendLayout();
  108. ((System.ComponentModel.ISupportInitialize)(this.MainMapImage)).BeginInit();
  109. this.SuspendLayout();
  110. // 
  111. // toolStripContainer1
  112. // 
  113. // 
  114. // toolStripContainer1.BottomToolStripPanel
  115. // 
  116. this.toolStripContainer1.BottomToolStripPanel.Controls.Add(this.MainStatusStrip);
  117. // 
  118. // toolStripContainer1.ContentPanel
  119. // 
  120. this.toolStripContainer1.ContentPanel.Controls.Add(this.splitContainer1);
  121. this.toolStripContainer1.ContentPanel.Size = new System.Drawing.Size(686, 452);
  122. this.toolStripContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
  123. this.toolStripContainer1.Location = new System.Drawing.Point(0, 0);
  124. this.toolStripContainer1.Name = "toolStripContainer1";
  125. this.toolStripContainer1.Size = new System.Drawing.Size(686, 499);
  126. this.toolStripContainer1.TabIndex = 0;
  127. this.toolStripContainer1.Text = "toolStripContainer1";
  128. // 
  129. // toolStripContainer1.TopToolStripPanel
  130. // 
  131. this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.MainToolStrip);
  132. // 
  133. // MainStatusStrip
  134. // 
  135. this.MainStatusStrip.Dock = System.Windows.Forms.DockStyle.None;
  136. this.MainStatusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
  137.             this.CoordinatesLabel});
  138. this.MainStatusStrip.Location = new System.Drawing.Point(0, 0);
  139. this.MainStatusStrip.Name = "MainStatusStrip";
  140. this.MainStatusStrip.Size = new System.Drawing.Size(686, 22);
  141. this.MainStatusStrip.TabIndex = 0;
  142. // 
  143. // CoordinatesLabel
  144. // 
  145. this.CoordinatesLabel.AutoSize = false;
  146. this.CoordinatesLabel.Name = "CoordinatesLabel";
  147. this.CoordinatesLabel.Size = new System.Drawing.Size(671, 17);
  148. this.CoordinatesLabel.Spring = true;
  149. // 
  150. // splitContainer1
  151. // 
  152. this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
  153. this.splitContainer1.Location = new System.Drawing.Point(0, 0);
  154. this.splitContainer1.Name = "splitContainer1";
  155. // 
  156. // splitContainer1.Panel1
  157. // 
  158. this.splitContainer1.Panel1.Controls.Add(this.LayersDataGridView);
  159. // 
  160. // splitContainer1.Panel2
  161. // 
  162. this.splitContainer1.Panel2.Controls.Add(this.splitContainer2);
  163. this.splitContainer1.Size = new System.Drawing.Size(686, 452);
  164. this.splitContainer1.SplitterDistance = 187;
  165. this.splitContainer1.TabIndex = 1;
  166. // 
  167. // LayersDataGridView
  168. // 
  169. this.LayersDataGridView.AllowUserToAddRows = false;
  170. this.LayersDataGridView.AllowUserToDeleteRows = false;
  171. dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
  172. dataGridViewCellStyle7.BackColor = System.Drawing.SystemColors.Control;
  173. dataGridViewCellStyle7.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  174. dataGridViewCellStyle7.ForeColor = System.Drawing.SystemColors.WindowText;
  175. dataGridViewCellStyle7.SelectionBackColor = System.Drawing.SystemColors.Highlight;
  176. dataGridViewCellStyle7.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
  177. dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
  178. this.LayersDataGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle7;
  179. this.LayersDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
  180. this.LayersDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
  181.             this.EnabledColumn,
  182.             this.LayerTypeColumn,
  183.             this.LayerNameColumn,
  184.             this.LayerPropertiesColumn});
  185. this.LayersDataGridView.ContextMenuStrip = this.LayerContextMenu;
  186. dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
  187. dataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Window;
  188. dataGridViewCellStyle8.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  189. dataGridViewCellStyle8.ForeColor = System.Drawing.SystemColors.ControlText;
  190. dataGridViewCellStyle8.SelectionBackColor = System.Drawing.SystemColors.Highlight;
  191. dataGridViewCellStyle8.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
  192. dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
  193. this.LayersDataGridView.DefaultCellStyle = dataGridViewCellStyle8;
  194. this.LayersDataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
  195. this.LayersDataGridView.GridColor = System.Drawing.SystemColors.ControlLightLight;
  196. this.LayersDataGridView.Location = new System.Drawing.Point(0, 0);
  197. this.LayersDataGridView.MultiSelect = false;
  198. this.LayersDataGridView.Name = "LayersDataGridView";
  199. this.LayersDataGridView.ReadOnly = true;
  200. dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
  201. dataGridViewCellStyle9.BackColor = System.Drawing.SystemColors.Control;
  202. dataGridViewCellStyle9.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  203. dataGridViewCellStyle9.ForeColor = System.Drawing.SystemColors.WindowText;
  204. dataGridViewCellStyle9.SelectionBackColor = System.Drawing.SystemColors.Highlight;
  205. dataGridViewCellStyle9.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
  206. dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
  207. this.LayersDataGridView.RowHeadersDefaultCellStyle = dataGridViewCellStyle9;
  208. this.LayersDataGridView.RowHeadersVisible = false;
  209. this.LayersDataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
  210. this.LayersDataGridView.Size = new System.Drawing.Size(187, 452);
  211. this.LayersDataGridView.TabIndex = 0;
  212. this.LayersDataGridView.SelectionChanged += new System.EventHandler(this.LayersDataGridView_SelectionChanged);
  213. // 
  214. // EnabledColumn
  215. // 
  216. this.EnabledColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
  217. this.EnabledColumn.Frozen = true;
  218. this.EnabledColumn.HeaderText = "";
  219. this.EnabledColumn.MinimumWidth = 25;
  220. this.EnabledColumn.Name = "EnabledColumn";
  221. this.EnabledColumn.ReadOnly = true;
  222. this.EnabledColumn.Width = 25;
  223. // 
  224. // LayerTypeColumn
  225. // 
  226. this.LayerTypeColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
  227. this.LayerTypeColumn.HeaderText = "";
  228. this.LayerTypeColumn.MinimumWidth = 25;
  229. this.LayerTypeColumn.Name = "LayerTypeColumn";
  230. this.LayerTypeColumn.ReadOnly = true;
  231. this.LayerTypeColumn.Width = 25;
  232. // 
  233. // LayerNameColumn
  234. // 
  235. this.LayerNameColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
  236. this.LayerNameColumn.HeaderText = "Layer";
  237. this.LayerNameColumn.Name = "LayerNameColumn";
  238. this.LayerNameColumn.ReadOnly = true;
  239. // 
  240. // LayerPropertiesColumn
  241. // 
  242. this.LayerPropertiesColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
  243. this.LayerPropertiesColumn.HeaderText = "";
  244. this.LayerPropertiesColumn.MinimumWidth = 25;
  245. this.LayerPropertiesColumn.Name = "LayerPropertiesColumn";
  246. this.LayerPropertiesColumn.ReadOnly = true;
  247. this.LayerPropertiesColumn.Width = 25;
  248. // 
  249. // splitContainer2
  250. // 
  251. this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
  252. this.splitContainer2.Location = new System.Drawing.Point(0, 0);
  253. this.splitContainer2.Name = "splitContainer2";
  254. this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal;
  255. // 
  256. // splitContainer2.Panel1
  257. // 
  258. this.splitContainer2.Panel1.Controls.Add(this.MainMapImage);
  259. // 
  260. // splitContainer2.Panel2
  261. // 
  262. this.splitContainer2.Panel2.Controls.Add(this.FeaturesDataGridView);
  263. this.splitContainer2.Size = new System.Drawing.Size(495, 452);
  264. this.splitContainer2.SplitterDistance = 277;
  265. this.splitContainer2.TabIndex = 0;
  266. // 
  267. // FeaturesDataGridView
  268. // 
  269. this.FeaturesDataGridView.AllowUserToAddRows = false;
  270. this.FeaturesDataGridView.AllowUserToDeleteRows = false;
  271. dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
  272. dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
  273. dataGridViewCellStyle1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  274. dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
  275. dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
  276. dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
  277. dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
  278. this.FeaturesDataGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
  279. this.FeaturesDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
  280. dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
  281. dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
  282. dataGridViewCellStyle2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  283. dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
  284. dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
  285. dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
  286. dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
  287. this.FeaturesDataGridView.DefaultCellStyle = dataGridViewCellStyle2;
  288. this.FeaturesDataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
  289. this.FeaturesDataGridView.Location = new System.Drawing.Point(0, 0);
  290. this.FeaturesDataGridView.Name = "FeaturesDataGridView";
  291. dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
  292. dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Control;
  293. dataGridViewCellStyle3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  294. dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText;
  295. dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
  296. dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
  297. dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
  298. this.FeaturesDataGridView.RowHeadersDefaultCellStyle = dataGridViewCellStyle3;
  299. this.FeaturesDataGridView.Size = new System.Drawing.Size(495, 171);
  300. this.FeaturesDataGridView.TabIndex = 0;
  301. // 
  302. // MainToolStrip
  303. // 
  304. this.MainToolStrip.Dock = System.Windows.Forms.DockStyle.None;
  305. this.MainToolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
  306.             this.NewToolStripButton,
  307.             this.AddNewRandomGeometryLayer,
  308.             this.toolStripSeparator4,
  309.             this.OpenToolStripButton,
  310.             this.SaveToolStripButton,
  311.             this.PrintToolStripButton,
  312.             this.toolStripSeparator,
  313.             this.CutToolStripButton,
  314.             this.CopyToolStripButton,
  315.             this.PasteToolStripButton,
  316.             this.toolStripSeparator1,
  317.             this.AddLayerToolStripButton,
  318.             this.RemoveLayerToolStripButton,
  319.             this.toolStripSeparator3,
  320.             this.ZoomToExtentsToolStripButton,
  321.             this.ZoomOutModeToolStripButton,
  322.             this.ZoomInModeToolStripButton,
  323.             this.PanToolStripButton,
  324.             this.QueryModeToolStripButton,
  325.             this.toolStripSeparator2});
  326. this.MainToolStrip.Location = new System.Drawing.Point(3, 0);
  327. this.MainToolStrip.Name = "MainToolStrip";
  328. this.MainToolStrip.Size = new System.Drawing.Size(418, 25);
  329. this.MainToolStrip.TabIndex = 0;
  330. // 
  331. // toolStripSeparator
  332. // 
  333. this.toolStripSeparator.Name = "toolStripSeparator";
  334. this.toolStripSeparator.Size = new System.Drawing.Size(6, 25);
  335. // 
  336. // toolStripSeparator1
  337. // 
  338. this.toolStripSeparator1.Name = "toolStripSeparator1";
  339. this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
  340. // 
  341. // toolStripSeparator3
  342. // 
  343. this.toolStripSeparator3.Name = "toolStripSeparator3";
  344. this.toolStripSeparator3.Size = new System.Drawing.Size(6, 25);
  345. // 
  346. // toolStripSeparator2
  347. // 
  348. this.toolStripSeparator2.Name = "toolStripSeparator2";
  349. this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25);
  350. // 
  351. // splitContainer4
  352. // 
  353. this.splitContainer4.Dock = System.Windows.Forms.DockStyle.Fill;
  354. this.splitContainer4.Location = new System.Drawing.Point(0, 0);
  355. this.splitContainer4.Name = "splitContainer4";
  356. this.splitContainer4.Orientation = System.Windows.Forms.Orientation.Horizontal;
  357. this.splitContainer4.Size = new System.Drawing.Size(481, 358);
  358. this.splitContainer4.SplitterDistance = 220;
  359. this.splitContainer4.TabIndex = 0;
  360. // 
  361. // LayerContextMenu
  362. // 
  363. this.LayerContextMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
  364.             this.MoveUpToolStripMenuItem,
  365.             this.MoveDownToolStripMenuItem,
  366.             this.LayerContextMenuSeparator,
  367.             this.AddLayerToolStripMenuItem,
  368.             this.RemoveLayerToolStripMenuItem});
  369. this.LayerContextMenu.Name = "LayerContextMenu";
  370. this.LayerContextMenu.Size = new System.Drawing.Size(155, 98);
  371. // 
  372. // MoveUpToolStripMenuItem
  373. // 
  374. this.MoveUpToolStripMenuItem.Name = "MoveUpToolStripMenuItem";
  375. this.MoveUpToolStripMenuItem.Size = new System.Drawing.Size(154, 22);
  376. this.MoveUpToolStripMenuItem.Text = "Move &Up";
  377. this.MoveUpToolStripMenuItem.Visible = false;
  378. this.MoveUpToolStripMenuItem.Click += new System.EventHandler(this.MoveUpToolStripMenuItem_Click);
  379. // 
  380. // MoveDownToolStripMenuItem
  381. // 
  382. this.MoveDownToolStripMenuItem.Name = "MoveDownToolStripMenuItem";
  383. this.MoveDownToolStripMenuItem.Size = new System.Drawing.Size(154, 22);
  384. this.MoveDownToolStripMenuItem.Text = "Move &Down";
  385. this.MoveDownToolStripMenuItem.Visible = false;
  386. this.MoveDownToolStripMenuItem.Click += new System.EventHandler(this.MoveDownToolStripMenuItem_Click);
  387. // 
  388. // LayerContextMenuSeparator
  389. // 
  390. this.LayerContextMenuSeparator.Name = "LayerContextMenuSeparator";
  391. this.LayerContextMenuSeparator.Size = new System.Drawing.Size(151, 6);
  392. this.LayerContextMenuSeparator.Visible = false;
  393. // 
  394. // AddLayerToolStripMenuItem
  395. // 
  396. this.AddLayerToolStripMenuItem.Name = "AddLayerToolStripMenuItem";
  397. this.AddLayerToolStripMenuItem.Size = new System.Drawing.Size(154, 22);
  398. this.AddLayerToolStripMenuItem.Text = "&Add Layer";
  399. this.AddLayerToolStripMenuItem.Click += new System.EventHandler(this.AddLayerToolStripMenuItem_Click);
  400. // 
  401. // RemoveLayerToolStripMenuItem
  402. // 
  403. this.RemoveLayerToolStripMenuItem.Name = "RemoveLayerToolStripMenuItem";
  404. this.RemoveLayerToolStripMenuItem.Size = new System.Drawing.Size(154, 22);
  405. this.RemoveLayerToolStripMenuItem.Text = "&Remove Layer";
  406. this.RemoveLayerToolStripMenuItem.Click += new System.EventHandler(this.RemoveLayerToolStripMenuItem_Click);
  407. // 
  408. // AddLayerDialog
  409. // 
  410. this.AddLayerDialog.Filter = "Shapefiles|*.shp|All files|*.*";
  411. this.AddLayerDialog.InitialDirectory = ".";
  412. this.AddLayerDialog.Multiselect = true;
  413. this.AddLayerDialog.RestoreDirectory = true;
  414. this.AddLayerDialog.Title = "Choose Layer Data";
  415. // 
  416. // MainMapImage
  417. // 
  418. this.MainMapImage.ActiveTool = SharpMap.Forms.MapImage.Tools.None;
  419. this.MainMapImage.Cursor = System.Windows.Forms.Cursors.Cross;
  420. this.MainMapImage.Dock = System.Windows.Forms.DockStyle.Fill;
  421. this.MainMapImage.FineZoomFactor = 10;
  422. this.MainMapImage.Location = new System.Drawing.Point(0, 0);
  423. this.MainMapImage.Name = "MainMapImage";
  424. this.MainMapImage.QueryLayerIndex = 0;
  425. this.MainMapImage.Size = new System.Drawing.Size(495, 277);
  426. this.MainMapImage.TabIndex = 0;
  427. this.MainMapImage.TabStop = false;
  428. this.MainMapImage.WheelZoomMagnitude = 2;
  429. this.MainMapImage.MouseMove += new SharpMap.Forms.MapImage.MouseEventHandler(this.MainMapImage_MouseMove);
  430. // 
  431. // NewToolStripButton
  432. // 
  433. this.NewToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  434. this.NewToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("NewToolStripButton.Image")));
  435. this.NewToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
  436. this.NewToolStripButton.Name = "NewToolStripButton";
  437. this.NewToolStripButton.Size = new System.Drawing.Size(23, 22);
  438. this.NewToolStripButton.Text = "&New";
  439. // 
  440. // AddNewRandomGeometryLayer
  441. // 
  442. this.AddNewRandomGeometryLayer.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  443. this.AddNewRandomGeometryLayer.Image = global::DemoWinForm.Properties.Resources.NewRandomGeometry;
  444. this.AddNewRandomGeometryLayer.ImageTransparentColor = System.Drawing.Color.Magenta;
  445. this.AddNewRandomGeometryLayer.Name = "AddNewRandomGeometryLayer";
  446. this.AddNewRandomGeometryLayer.Size = new System.Drawing.Size(23, 22);
  447. this.AddNewRandomGeometryLayer.Text = "toolStripButton1";
  448. this.AddNewRandomGeometryLayer.Click += new System.EventHandler(this.AddNewRandomGeometryLayer_Click);
  449. // 
  450. // OpenToolStripButton
  451. // 
  452. this.OpenToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  453. this.OpenToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("OpenToolStripButton.Image")));
  454. this.OpenToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
  455. this.OpenToolStripButton.Name = "OpenToolStripButton";
  456. this.OpenToolStripButton.Size = new System.Drawing.Size(23, 22);
  457. this.OpenToolStripButton.Text = "&Open";
  458. // 
  459. // SaveToolStripButton
  460. // 
  461. this.SaveToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  462. this.SaveToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("SaveToolStripButton.Image")));
  463. this.SaveToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
  464. this.SaveToolStripButton.Name = "SaveToolStripButton";
  465. this.SaveToolStripButton.Size = new System.Drawing.Size(23, 22);
  466. this.SaveToolStripButton.Text = "&Save";
  467. // 
  468. // PrintToolStripButton
  469. // 
  470. this.PrintToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  471. this.PrintToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("PrintToolStripButton.Image")));
  472. this.PrintToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
  473. this.PrintToolStripButton.Name = "PrintToolStripButton";
  474. this.PrintToolStripButton.Size = new System.Drawing.Size(23, 22);
  475. this.PrintToolStripButton.Text = "&Print";
  476. // 
  477. // CutToolStripButton
  478. // 
  479. this.CutToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  480. this.CutToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("CutToolStripButton.Image")));
  481. this.CutToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
  482. this.CutToolStripButton.Name = "CutToolStripButton";
  483. this.CutToolStripButton.Size = new System.Drawing.Size(23, 22);
  484. this.CutToolStripButton.Text = "C&ut";
  485. // 
  486. // CopyToolStripButton
  487. // 
  488. this.CopyToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  489. this.CopyToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("CopyToolStripButton.Image")));
  490. this.CopyToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
  491. this.CopyToolStripButton.Name = "CopyToolStripButton";
  492. this.CopyToolStripButton.Size = new System.Drawing.Size(23, 22);
  493. this.CopyToolStripButton.Text = "&Copy";
  494. // 
  495. // PasteToolStripButton
  496. // 
  497. this.PasteToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  498. this.PasteToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("PasteToolStripButton.Image")));
  499. this.PasteToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
  500. this.PasteToolStripButton.Name = "PasteToolStripButton";
  501. this.PasteToolStripButton.Size = new System.Drawing.Size(23, 22);
  502. this.PasteToolStripButton.Text = "&Paste";
  503. // 
  504. // AddLayerToolStripButton
  505. // 
  506. this.AddLayerToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  507. this.AddLayerToolStripButton.Image = global::DemoWinForm.Properties.Resources.AddTableHS;
  508. this.AddLayerToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
  509. this.AddLayerToolStripButton.Name = "AddLayerToolStripButton";
  510. this.AddLayerToolStripButton.Size = new System.Drawing.Size(23, 22);
  511. this.AddLayerToolStripButton.Text = "Add Layer";
  512. this.AddLayerToolStripButton.Click += new System.EventHandler(this.AddLayerToolStripButton_Click);
  513. // 
  514. // RemoveLayerToolStripButton
  515. // 
  516. this.RemoveLayerToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  517. this.RemoveLayerToolStripButton.Image = global::DemoWinForm.Properties.Resources.RemoveTable;
  518. this.RemoveLayerToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
  519. this.RemoveLayerToolStripButton.Name = "RemoveLayerToolStripButton";
  520. this.RemoveLayerToolStripButton.Size = new System.Drawing.Size(23, 22);
  521. this.RemoveLayerToolStripButton.Text = "Remove Layer";
  522. this.RemoveLayerToolStripButton.Click += new System.EventHandler(this.RemoveLayerToolStripButton_Click);
  523. // 
  524. // ZoomToExtentsToolStripButton
  525. // 
  526. this.ZoomToExtentsToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  527. this.ZoomToExtentsToolStripButton.Image = global::DemoWinForm.Properties.Resources.ZoomToExtents;
  528. this.ZoomToExtentsToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
  529. this.ZoomToExtentsToolStripButton.Name = "ZoomToExtentsToolStripButton";
  530. this.ZoomToExtentsToolStripButton.Size = new System.Drawing.Size(23, 22);
  531. this.ZoomToExtentsToolStripButton.Text = "Zoom to Extents";
  532. this.ZoomToExtentsToolStripButton.Click += new System.EventHandler(this.ZoomToExtentsToolStripButton_Click);
  533. // 
  534. // ZoomOutModeToolStripButton
  535. // 
  536. this.ZoomOutModeToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  537. this.ZoomOutModeToolStripButton.Image = global::DemoWinForm.Properties.Resources.ZoomOut;
  538. this.ZoomOutModeToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
  539. this.ZoomOutModeToolStripButton.Name = "ZoomOutModeToolStripButton";
  540. this.ZoomOutModeToolStripButton.Size = new System.Drawing.Size(23, 22);
  541. this.ZoomOutModeToolStripButton.Text = "Zoom Out";
  542. this.ZoomOutModeToolStripButton.Click += new System.EventHandler(this.ZoomOutModeToolStripButton_Click);
  543. // 
  544. // ZoomInModeToolStripButton
  545. // 
  546. this.ZoomInModeToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  547. this.ZoomInModeToolStripButton.Image = global::DemoWinForm.Properties.Resources.ZoomIn;
  548. this.ZoomInModeToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
  549. this.ZoomInModeToolStripButton.Name = "ZoomInModeToolStripButton";
  550. this.ZoomInModeToolStripButton.Size = new System.Drawing.Size(23, 22);
  551. this.ZoomInModeToolStripButton.Text = "Zoom In";
  552. this.ZoomInModeToolStripButton.Click += new System.EventHandler(this.ZoomInModeToolStripButton_Click);
  553. // 
  554. // PanToolStripButton
  555. // 
  556. this.PanToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  557. this.PanToolStripButton.Image = global::DemoWinForm.Properties.Resources.pan;
  558. this.PanToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
  559. this.PanToolStripButton.Name = "PanToolStripButton";
  560. this.PanToolStripButton.Size = new System.Drawing.Size(23, 22);
  561. this.PanToolStripButton.Text = "Pan";
  562. this.PanToolStripButton.Click += new System.EventHandler(this.PanToolStripButton_Click);
  563. // 
  564. // QueryModeToolStripButton
  565. // 
  566. this.QueryModeToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  567. this.QueryModeToolStripButton.Image = global::DemoWinForm.Properties.Resources.query;
  568. this.QueryModeToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
  569. this.QueryModeToolStripButton.Name = "QueryModeToolStripButton";
  570. this.QueryModeToolStripButton.Size = new System.Drawing.Size(23, 22);
  571. this.QueryModeToolStripButton.Text = "Query";
  572. this.QueryModeToolStripButton.Click += new System.EventHandler(this.QueryModeToolStripButton_Click);
  573. // 
  574. // toolStripSeparator4
  575. // 
  576. this.toolStripSeparator4.Name = "toolStripSeparator4";
  577. this.toolStripSeparator4.Size = new System.Drawing.Size(6, 25);
  578. // 
  579. // MainForm
  580. // 
  581. this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
  582. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  583. this.ClientSize = new System.Drawing.Size(686, 499);
  584. this.Controls.Add(this.toolStripContainer1);
  585. this.Name = "MainForm";
  586. this.Text = "Form1";
  587. this.toolStripContainer1.BottomToolStripPanel.ResumeLayout(false);
  588. this.toolStripContainer1.BottomToolStripPanel.PerformLayout();
  589. this.toolStripContainer1.ContentPanel.ResumeLayout(false);
  590. this.toolStripContainer1.TopToolStripPanel.ResumeLayout(false);
  591. this.toolStripContainer1.TopToolStripPanel.PerformLayout();
  592. this.toolStripContainer1.ResumeLayout(false);
  593. this.toolStripContainer1.PerformLayout();
  594. this.MainStatusStrip.ResumeLayout(false);
  595. this.MainStatusStrip.PerformLayout();
  596. this.splitContainer1.Panel1.ResumeLayout(false);
  597. this.splitContainer1.Panel2.ResumeLayout(false);
  598. this.splitContainer1.ResumeLayout(false);
  599. ((System.ComponentModel.ISupportInitialize)(this.LayersDataGridView)).EndInit();
  600. this.splitContainer2.Panel1.ResumeLayout(false);
  601. this.splitContainer2.Panel2.ResumeLayout(false);
  602. this.splitContainer2.ResumeLayout(false);
  603. ((System.ComponentModel.ISupportInitialize)(this.FeaturesDataGridView)).EndInit();
  604. this.MainToolStrip.ResumeLayout(false);
  605. this.MainToolStrip.PerformLayout();
  606. this.splitContainer4.ResumeLayout(false);
  607. this.LayerContextMenu.ResumeLayout(false);
  608. ((System.ComponentModel.ISupportInitialize)(this.MainMapImage)).EndInit();
  609. this.ResumeLayout(false);
  610. }
  611. #endregion
  612. private System.Windows.Forms.ToolStripContainer toolStripContainer1;
  613. private System.Windows.Forms.SplitContainer splitContainer1;
  614. private System.Windows.Forms.SplitContainer splitContainer2;
  615. private System.Windows.Forms.SplitContainer splitContainer4;
  616. private SharpMap.Forms.MapImage MainMapImage;
  617. private System.Windows.Forms.ToolStrip MainToolStrip;
  618. private System.Windows.Forms.ToolStripButton NewToolStripButton;
  619. private System.Windows.Forms.ToolStripButton OpenToolStripButton;
  620. private System.Windows.Forms.ToolStripButton SaveToolStripButton;
  621. private System.Windows.Forms.ToolStripButton PrintToolStripButton;
  622. private System.Windows.Forms.ToolStripSeparator toolStripSeparator;
  623. private System.Windows.Forms.ToolStripButton CutToolStripButton;
  624. private System.Windows.Forms.ToolStripButton CopyToolStripButton;
  625. private System.Windows.Forms.ToolStripButton PasteToolStripButton;
  626. private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
  627. private System.Windows.Forms.StatusStrip MainStatusStrip;
  628. private System.Windows.Forms.ToolStripStatusLabel CoordinatesLabel;
  629. private System.Windows.Forms.ToolStripButton ZoomToExtentsToolStripButton;
  630. private System.Windows.Forms.ToolStripButton ZoomInModeToolStripButton;
  631. private System.Windows.Forms.ToolStripButton QueryModeToolStripButton;
  632. private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
  633. private System.Windows.Forms.DataGridView LayersDataGridView;
  634. private System.Windows.Forms.DataGridViewCheckBoxColumn EnabledColumn;
  635. private System.Windows.Forms.DataGridViewImageColumn LayerTypeColumn;
  636. private System.Windows.Forms.DataGridViewTextBoxColumn LayerNameColumn;
  637. private System.Windows.Forms.DataGridViewButtonColumn LayerPropertiesColumn;
  638. private System.Windows.Forms.DataGridView FeaturesDataGridView;
  639. private System.Windows.Forms.ToolStripButton AddLayerToolStripButton;
  640. private System.Windows.Forms.ToolStripButton RemoveLayerToolStripButton;
  641. private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
  642. private System.Windows.Forms.ContextMenuStrip LayerContextMenu;
  643. private System.Windows.Forms.ToolStripMenuItem MoveUpToolStripMenuItem;
  644. private System.Windows.Forms.ToolStripMenuItem MoveDownToolStripMenuItem;
  645. private System.Windows.Forms.ToolStripSeparator LayerContextMenuSeparator;
  646. private System.Windows.Forms.ToolStripMenuItem AddLayerToolStripMenuItem;
  647. private System.Windows.Forms.ToolStripMenuItem RemoveLayerToolStripMenuItem;
  648. private System.Windows.Forms.OpenFileDialog AddLayerDialog;
  649. private System.Windows.Forms.ToolStripButton ZoomOutModeToolStripButton;
  650. private System.Windows.Forms.ToolStripButton PanToolStripButton;
  651. private System.Windows.Forms.ToolStripButton AddNewRandomGeometryLayer;
  652. private System.Windows.Forms.ToolStripSeparator toolStripSeparator4;
  653. }
  654. }