-
Notifications
You must be signed in to change notification settings - Fork 305
Expand file tree
/
Copy pathWktGeometryCreator.Designer.cs
More file actions
121 lines (112 loc) · 5.25 KB
/
WktGeometryCreator.Designer.cs
File metadata and controls
121 lines (112 loc) · 5.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
using System;
using System.Collections.Generic;
namespace SharpMap.Forms
{
partial class WktGeometryCreator
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.cboWktKeywords = new System.Windows.Forms.ComboBox();
this.txtWkt = new System.Windows.Forms.TextBox();
this.btnOk = new System.Windows.Forms.Button();
this.lblError = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// cboWktKeywords
//
this.cboWktKeywords.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.cboWktKeywords.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cboWktKeywords.FormattingEnabled = true;
this.cboWktKeywords.Location = new System.Drawing.Point(12, 12);
this.cboWktKeywords.Name = "cboWktKeywords";
this.cboWktKeywords.Size = new System.Drawing.Size(516, 21);
this.cboWktKeywords.TabIndex = 0;
this.cboWktKeywords.SelectedIndexChanged += OnSelectedIndexChanged;
//
// txtWkt
//
this.txtWkt.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.txtWkt.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.txtWkt.Location = new System.Drawing.Point(12, 39);
this.txtWkt.Multiline = true;
this.txtWkt.Name = "txtWkt";
this.txtWkt.Size = new System.Drawing.Size(516, 158);
this.txtWkt.TabIndex = 1;
this.txtWkt.TextChanged += new System.EventHandler(this.txtWkt_TextChanged);
//
// btnOk
//
this.btnOk.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnOk.Location = new System.Drawing.Point(453, 231);
this.btnOk.Name = "btnOk";
this.btnOk.Size = new System.Drawing.Size(75, 23);
this.btnOk.TabIndex = 2;
this.btnOk.Text = "&OK";
this.btnOk.UseVisualStyleBackColor = true;
this.btnOk.Click += new System.EventHandler(this.btnOk_Click);
//
// lblError
//
this.lblError.AutoSize = true;
this.lblError.Location = new System.Drawing.Point(9, 200);
this.lblError.Name = "lblError";
this.lblError.Size = new System.Drawing.Size(35, 13);
this.lblError.TabIndex = 3;
this.lblError.Text = "label1";
//
// WktGeometryCreator
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(540, 266);
this.Controls.Add(this.lblError);
this.Controls.Add(this.btnOk);
this.Controls.Add(this.txtWkt);
this.Controls.Add(this.cboWktKeywords);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "WktGeometryCreator";
this.ShowIcon = false;
this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "WktGeometryCreator";
this.ResumeLayout(false);
this.PerformLayout();
}
private void OnSelectedIndexChanged(object sender, EventArgs eventArgs)
{
if (cboWktKeywords.SelectedIndex == -1)
return;
txtWkt.Text = ((KeyValuePair<string, string>) cboWktKeywords.SelectedItem).Value;
}
#endregion
private System.Windows.Forms.ComboBox cboWktKeywords;
private System.Windows.Forms.TextBox txtWkt;
private System.Windows.Forms.Button btnOk;
private System.Windows.Forms.Label lblError;
}
}