Browse Source

地图适配高DPI

dependabot/nuget/XCoderWpf/Microsoft.Data.SqlClient-4.0.5
智能大石头 3 years ago
parent
commit
0ea2f56831
  1. 202
      XCoder/XRegex/FrmMain.designer.cs
  2. 65
      XCoder/XRegex/FrmMain.resx
  3. 123
      XCoder/Yun/FrmMap.Designer.cs
  4. 15
      XCoder/Yun/FrmMap.cs

202
XCoder/XRegex/FrmMain.designer.cs

@ -53,19 +53,19 @@
this.groupBox3 = new System.Windows.Forms.GroupBox(); this.groupBox3 = new System.Windows.Forms.GroupBox();
this.splitContainer3 = new System.Windows.Forms.SplitContainer(); this.splitContainer3 = new System.Windows.Forms.SplitContainer();
this.lvMatch = new System.Windows.Forms.ListView(); this.lvMatch = new System.Windows.Forms.ListView();
this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.columnHeader8 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.columnHeader1 = new System.Windows.Forms.ColumnHeader();
this.columnHeader2 = new System.Windows.Forms.ColumnHeader();
this.columnHeader8 = new System.Windows.Forms.ColumnHeader();
this.splitContainer4 = new System.Windows.Forms.SplitContainer(); this.splitContainer4 = new System.Windows.Forms.SplitContainer();
this.lvGroup = new System.Windows.Forms.ListView(); this.lvGroup = new System.Windows.Forms.ListView();
this.columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.columnHeader4 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.columnHeader7 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.columnHeader9 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.columnHeader3 = new System.Windows.Forms.ColumnHeader();
this.columnHeader4 = new System.Windows.Forms.ColumnHeader();
this.columnHeader7 = new System.Windows.Forms.ColumnHeader();
this.columnHeader9 = new System.Windows.Forms.ColumnHeader();
this.lvCapture = new System.Windows.Forms.ListView(); this.lvCapture = new System.Windows.Forms.ListView();
this.columnHeader5 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.columnHeader6 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.columnHeader10 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.columnHeader5 = new System.Windows.Forms.ColumnHeader();
this.columnHeader6 = new System.Windows.Forms.ColumnHeader();
this.columnHeader10 = new System.Windows.Forms.ColumnHeader();
this.rtReplace = new System.Windows.Forms.RichTextBox(); this.rtReplace = new System.Windows.Forms.RichTextBox();
this.statusStrip1 = new System.Windows.Forms.StatusStrip(); this.statusStrip1 = new System.Windows.Forms.StatusStrip();
this.lbStatus = new System.Windows.Forms.ToolStripStatusLabel(); this.lbStatus = new System.Windows.Forms.ToolStripStatusLabel();
@ -108,10 +108,10 @@
this.groupBox1.Controls.Add(this.chkIgnoreCase); this.groupBox1.Controls.Add(this.chkIgnoreCase);
this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill;
this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Location = new System.Drawing.Point(0, 0);
this.groupBox1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.groupBox1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.groupBox1.Name = "groupBox1"; this.groupBox1.Name = "groupBox1";
this.groupBox1.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.groupBox1.Size = new System.Drawing.Size(1013, 186);
this.groupBox1.Padding = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.groupBox1.Size = new System.Drawing.Size(1150, 255);
this.groupBox1.TabIndex = 0; this.groupBox1.TabIndex = 0;
this.groupBox1.TabStop = false; this.groupBox1.TabStop = false;
this.groupBox1.Text = "正则表达式"; this.groupBox1.Text = "正则表达式";
@ -124,12 +124,12 @@
this.txtPattern.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192))))); this.txtPattern.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
this.txtPattern.ContextMenuStrip = this.ptMenu; this.txtPattern.ContextMenuStrip = this.ptMenu;
this.txtPattern.DetectUrls = false; this.txtPattern.DetectUrls = false;
this.txtPattern.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.txtPattern.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtPattern.HideSelection = false; this.txtPattern.HideSelection = false;
this.txtPattern.Location = new System.Drawing.Point(8, 56);
this.txtPattern.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.txtPattern.Location = new System.Drawing.Point(9, 75);
this.txtPattern.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.txtPattern.Name = "txtPattern"; this.txtPattern.Name = "txtPattern";
this.txtPattern.Size = new System.Drawing.Size(996, 116);
this.txtPattern.Size = new System.Drawing.Size(1117, 160);
this.txtPattern.TabIndex = 15; this.txtPattern.TabIndex = 15;
this.txtPattern.Text = ""; this.txtPattern.Text = "";
// //
@ -153,11 +153,11 @@
// //
this.txtOption.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) this.txtOption.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right))); | System.Windows.Forms.AnchorStyles.Right)));
this.txtOption.Location = new System.Drawing.Point(561, 22);
this.txtOption.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.txtOption.Location = new System.Drawing.Point(631, 29);
this.txtOption.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.txtOption.Name = "txtOption"; this.txtOption.Name = "txtOption";
this.txtOption.ReadOnly = true; this.txtOption.ReadOnly = true;
this.txtOption.Size = new System.Drawing.Size(443, 25);
this.txtOption.Size = new System.Drawing.Size(495, 27);
this.txtOption.TabIndex = 14; this.txtOption.TabIndex = 14;
// //
// chkSingleline // chkSingleline
@ -165,10 +165,10 @@
this.chkSingleline.AutoSize = true; this.chkSingleline.AutoSize = true;
this.chkSingleline.Checked = true; this.chkSingleline.Checked = true;
this.chkSingleline.CheckState = System.Windows.Forms.CheckState.Checked; this.chkSingleline.CheckState = System.Windows.Forms.CheckState.Checked;
this.chkSingleline.Location = new System.Drawing.Point(141, 25);
this.chkSingleline.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.chkSingleline.Location = new System.Drawing.Point(159, 33);
this.chkSingleline.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.chkSingleline.Name = "chkSingleline"; this.chkSingleline.Name = "chkSingleline";
this.chkSingleline.Size = new System.Drawing.Size(89, 19);
this.chkSingleline.Size = new System.Drawing.Size(91, 24);
this.chkSingleline.TabIndex = 6; this.chkSingleline.TabIndex = 6;
this.chkSingleline.Text = "单行模式"; this.chkSingleline.Text = "单行模式";
this.toolTip1.SetToolTip(this.chkSingleline, "使用单行模式,其中句点 (.)匹配每个字符(而不是与除 \\n 之外的每个字符匹配)。 "); this.toolTip1.SetToolTip(this.chkSingleline, "使用单行模式,其中句点 (.)匹配每个字符(而不是与除 \\n 之外的每个字符匹配)。 ");
@ -180,10 +180,10 @@
this.chkIgnorePatternWhitespace.AutoSize = true; this.chkIgnorePatternWhitespace.AutoSize = true;
this.chkIgnorePatternWhitespace.Checked = true; this.chkIgnorePatternWhitespace.Checked = true;
this.chkIgnorePatternWhitespace.CheckState = System.Windows.Forms.CheckState.Checked; this.chkIgnorePatternWhitespace.CheckState = System.Windows.Forms.CheckState.Checked;
this.chkIgnorePatternWhitespace.Location = new System.Drawing.Point(373, 25);
this.chkIgnorePatternWhitespace.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.chkIgnorePatternWhitespace.Location = new System.Drawing.Point(420, 33);
this.chkIgnorePatternWhitespace.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.chkIgnorePatternWhitespace.Name = "chkIgnorePatternWhitespace"; this.chkIgnorePatternWhitespace.Name = "chkIgnorePatternWhitespace";
this.chkIgnorePatternWhitespace.Size = new System.Drawing.Size(149, 19);
this.chkIgnorePatternWhitespace.Size = new System.Drawing.Size(151, 24);
this.chkIgnorePatternWhitespace.TabIndex = 4; this.chkIgnorePatternWhitespace.TabIndex = 4;
this.chkIgnorePatternWhitespace.Text = "忽略正则中的空白"; this.chkIgnorePatternWhitespace.Text = "忽略正则中的空白";
this.toolTip1.SetToolTip(this.chkIgnorePatternWhitespace, "从模式中排除保留的空白并启用数字符号 ( #) 后的注释。"); this.toolTip1.SetToolTip(this.chkIgnorePatternWhitespace, "从模式中排除保留的空白并启用数字符号 ( #) 后的注释。");
@ -195,10 +195,10 @@
this.chkMultiline.AutoSize = true; this.chkMultiline.AutoSize = true;
this.chkMultiline.Checked = true; this.chkMultiline.Checked = true;
this.chkMultiline.CheckState = System.Windows.Forms.CheckState.Checked; this.chkMultiline.CheckState = System.Windows.Forms.CheckState.Checked;
this.chkMultiline.Location = new System.Drawing.Point(257, 25);
this.chkMultiline.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.chkMultiline.Location = new System.Drawing.Point(289, 33);
this.chkMultiline.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.chkMultiline.Name = "chkMultiline"; this.chkMultiline.Name = "chkMultiline";
this.chkMultiline.Size = new System.Drawing.Size(89, 19);
this.chkMultiline.Size = new System.Drawing.Size(91, 24);
this.chkMultiline.TabIndex = 3; this.chkMultiline.TabIndex = 3;
this.chkMultiline.Text = "多线模式"; this.chkMultiline.Text = "多线模式";
this.toolTip1.SetToolTip(this.chkMultiline, "使用多线模式,其中 ^ 和 $ 匹配每行的开头和末尾(不是输入字符串的开头和末尾)。 "); this.toolTip1.SetToolTip(this.chkMultiline, "使用多线模式,其中 ^ 和 $ 匹配每行的开头和末尾(不是输入字符串的开头和末尾)。 ");
@ -210,10 +210,10 @@
this.chkIgnoreCase.AutoSize = true; this.chkIgnoreCase.AutoSize = true;
this.chkIgnoreCase.Checked = true; this.chkIgnoreCase.Checked = true;
this.chkIgnoreCase.CheckState = System.Windows.Forms.CheckState.Checked; this.chkIgnoreCase.CheckState = System.Windows.Forms.CheckState.Checked;
this.chkIgnoreCase.Location = new System.Drawing.Point(9, 25);
this.chkIgnoreCase.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.chkIgnoreCase.Location = new System.Drawing.Point(10, 33);
this.chkIgnoreCase.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.chkIgnoreCase.Name = "chkIgnoreCase"; this.chkIgnoreCase.Name = "chkIgnoreCase";
this.chkIgnoreCase.Size = new System.Drawing.Size(104, 19);
this.chkIgnoreCase.Size = new System.Drawing.Size(106, 24);
this.chkIgnoreCase.TabIndex = 2; this.chkIgnoreCase.TabIndex = 2;
this.chkIgnoreCase.Text = "忽略大小写"; this.chkIgnoreCase.Text = "忽略大小写";
this.toolTip1.SetToolTip(this.chkIgnoreCase, "使用不区分大小写的匹配"); this.toolTip1.SetToolTip(this.chkIgnoreCase, "使用不区分大小写的匹配");
@ -230,10 +230,10 @@
this.groupBox2.Controls.Add(this.button2); this.groupBox2.Controls.Add(this.button2);
this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
this.groupBox2.Location = new System.Drawing.Point(0, 0); this.groupBox2.Location = new System.Drawing.Point(0, 0);
this.groupBox2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.groupBox2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.groupBox2.Name = "groupBox2"; this.groupBox2.Name = "groupBox2";
this.groupBox2.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.groupBox2.Size = new System.Drawing.Size(1013, 238);
this.groupBox2.Padding = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.groupBox2.Size = new System.Drawing.Size(1150, 324);
this.groupBox2.TabIndex = 1; this.groupBox2.TabIndex = 1;
this.groupBox2.TabStop = false; this.groupBox2.TabStop = false;
this.groupBox2.Text = "数据源"; this.groupBox2.Text = "数据源";
@ -245,12 +245,12 @@
| System.Windows.Forms.AnchorStyles.Right))); | System.Windows.Forms.AnchorStyles.Right)));
this.txtContent.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.txtContent.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
this.txtContent.ContextMenuStrip = this.txtMenu; this.txtContent.ContextMenuStrip = this.txtMenu;
this.txtContent.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.txtContent.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtContent.HideSelection = false; this.txtContent.HideSelection = false;
this.txtContent.Location = new System.Drawing.Point(8, 54);
this.txtContent.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.txtContent.Location = new System.Drawing.Point(9, 72);
this.txtContent.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.txtContent.Name = "txtContent"; this.txtContent.Name = "txtContent";
this.txtContent.Size = new System.Drawing.Size(996, 177);
this.txtContent.Size = new System.Drawing.Size(1117, 246);
this.txtContent.TabIndex = 16; this.txtContent.TabIndex = 16;
this.txtContent.Text = ""; this.txtContent.Text = "";
// //
@ -273,10 +273,10 @@
// radioButton2 // radioButton2
// //
this.radioButton2.AutoSize = true; this.radioButton2.AutoSize = true;
this.radioButton2.Location = new System.Drawing.Point(84, 20);
this.radioButton2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.radioButton2.Location = new System.Drawing.Point(94, 27);
this.radioButton2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.radioButton2.Name = "radioButton2"; this.radioButton2.Name = "radioButton2";
this.radioButton2.Size = new System.Drawing.Size(58, 19);
this.radioButton2.Size = new System.Drawing.Size(60, 24);
this.radioButton2.TabIndex = 12; this.radioButton2.TabIndex = 12;
this.radioButton2.TabStop = true; this.radioButton2.TabStop = true;
this.radioButton2.Text = "替换"; this.radioButton2.Text = "替换";
@ -286,10 +286,10 @@
// //
this.radioButton1.AutoSize = true; this.radioButton1.AutoSize = true;
this.radioButton1.Checked = true; this.radioButton1.Checked = true;
this.radioButton1.Location = new System.Drawing.Point(12, 20);
this.radioButton1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.radioButton1.Location = new System.Drawing.Point(14, 27);
this.radioButton1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.radioButton1.Name = "radioButton1"; this.radioButton1.Name = "radioButton1";
this.radioButton1.Size = new System.Drawing.Size(58, 19);
this.radioButton1.Size = new System.Drawing.Size(60, 24);
this.radioButton1.TabIndex = 11; this.radioButton1.TabIndex = 11;
this.radioButton1.TabStop = true; this.radioButton1.TabStop = true;
this.radioButton1.Text = "匹配"; this.radioButton1.Text = "匹配";
@ -302,27 +302,27 @@
this.panel1.Controls.Add(this.button4); this.panel1.Controls.Add(this.button4);
this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.label1);
this.panel1.Controls.Add(this.button5); this.panel1.Controls.Add(this.button5);
this.panel1.Location = new System.Drawing.Point(473, 16);
this.panel1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.panel1.Location = new System.Drawing.Point(532, 21);
this.panel1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.panel1.Name = "panel1"; this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(379, 35);
this.panel1.Size = new System.Drawing.Size(426, 47);
this.panel1.TabIndex = 10; this.panel1.TabIndex = 10;
// //
// textBox2 // textBox2
// //
this.textBox2.Location = new System.Drawing.Point(185, 4);
this.textBox2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.textBox2.Location = new System.Drawing.Point(208, 5);
this.textBox2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.textBox2.Name = "textBox2"; this.textBox2.Name = "textBox2";
this.textBox2.Size = new System.Drawing.Size(73, 25);
this.textBox2.Size = new System.Drawing.Size(82, 27);
this.textBox2.TabIndex = 5; this.textBox2.TabIndex = 5;
this.textBox2.Text = "*.*"; this.textBox2.Text = "*.*";
// //
// button4 // button4
// //
this.button4.Location = new System.Drawing.Point(9, 2);
this.button4.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.button4.Location = new System.Drawing.Point(10, 3);
this.button4.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.button4.Name = "button4"; this.button4.Name = "button4";
this.button4.Size = new System.Drawing.Size(100, 29);
this.button4.Size = new System.Drawing.Size(112, 39);
this.button4.TabIndex = 4; this.button4.TabIndex = 4;
this.button4.Text = "打开目录"; this.button4.Text = "打开目录";
this.button4.UseVisualStyleBackColor = true; this.button4.UseVisualStyleBackColor = true;
@ -331,19 +331,19 @@
// label1 // label1
// //
this.label1.AutoSize = true; this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(131, 9);
this.label1.Location = new System.Drawing.Point(147, 12);
this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label1.Name = "label1"; this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(45, 15);
this.label1.Size = new System.Drawing.Size(43, 20);
this.label1.TabIndex = 6; this.label1.TabIndex = 6;
this.label1.Text = "过滤:"; this.label1.Text = "过滤:";
// //
// button5 // button5
// //
this.button5.Location = new System.Drawing.Point(271, 2);
this.button5.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.button5.Location = new System.Drawing.Point(305, 3);
this.button5.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.button5.Name = "button5"; this.button5.Name = "button5";
this.button5.Size = new System.Drawing.Size(100, 29);
this.button5.Size = new System.Drawing.Size(112, 39);
this.button5.TabIndex = 7; this.button5.TabIndex = 7;
this.button5.Text = "全部替换"; this.button5.Text = "全部替换";
this.button5.UseVisualStyleBackColor = true; this.button5.UseVisualStyleBackColor = true;
@ -351,10 +351,10 @@
// //
// button2 // button2
// //
this.button2.Location = new System.Drawing.Point(176, 16);
this.button2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.button2.Location = new System.Drawing.Point(198, 21);
this.button2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.button2.Name = "button2"; this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(100, 29);
this.button2.Size = new System.Drawing.Size(112, 39);
this.button2.TabIndex = 1; this.button2.TabIndex = 1;
this.button2.Text = "正则匹配"; this.button2.Text = "正则匹配";
this.toolTip1.SetToolTip(this.button2, "如果正则中选中部分文本,则以选中部分文本作为匹配用正则。"); this.toolTip1.SetToolTip(this.button2, "如果正则中选中部分文本,则以选中部分文本作为匹配用正则。");
@ -367,10 +367,10 @@
this.groupBox3.Controls.Add(this.rtReplace); this.groupBox3.Controls.Add(this.rtReplace);
this.groupBox3.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox3.Dock = System.Windows.Forms.DockStyle.Fill;
this.groupBox3.Location = new System.Drawing.Point(0, 0); this.groupBox3.Location = new System.Drawing.Point(0, 0);
this.groupBox3.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.groupBox3.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.groupBox3.Name = "groupBox3"; this.groupBox3.Name = "groupBox3";
this.groupBox3.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.groupBox3.Size = new System.Drawing.Size(1013, 212);
this.groupBox3.Padding = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.groupBox3.Size = new System.Drawing.Size(1150, 298);
this.groupBox3.TabIndex = 2; this.groupBox3.TabIndex = 2;
this.groupBox3.TabStop = false; this.groupBox3.TabStop = false;
this.groupBox3.Text = "匹配结果(Match|Group|Capture)"; this.groupBox3.Text = "匹配结果(Match|Group|Capture)";
@ -378,8 +378,8 @@
// splitContainer3 // splitContainer3
// //
this.splitContainer3.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer3.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer3.Location = new System.Drawing.Point(4, 22);
this.splitContainer3.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.splitContainer3.Location = new System.Drawing.Point(4, 25);
this.splitContainer3.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.splitContainer3.Name = "splitContainer3"; this.splitContainer3.Name = "splitContainer3";
// //
// splitContainer3.Panel1 // splitContainer3.Panel1
@ -389,9 +389,9 @@
// splitContainer3.Panel2 // splitContainer3.Panel2
// //
this.splitContainer3.Panel2.Controls.Add(this.splitContainer4); this.splitContainer3.Panel2.Controls.Add(this.splitContainer4);
this.splitContainer3.Size = new System.Drawing.Size(1005, 186);
this.splitContainer3.SplitterDistance = 294;
this.splitContainer3.SplitterWidth = 5;
this.splitContainer3.Size = new System.Drawing.Size(1142, 268);
this.splitContainer3.SplitterDistance = 333;
this.splitContainer3.SplitterWidth = 6;
this.splitContainer3.TabIndex = 0; this.splitContainer3.TabIndex = 0;
// //
// lvMatch // lvMatch
@ -404,12 +404,11 @@
this.lvMatch.Dock = System.Windows.Forms.DockStyle.Fill; this.lvMatch.Dock = System.Windows.Forms.DockStyle.Fill;
this.lvMatch.FullRowSelect = true; this.lvMatch.FullRowSelect = true;
this.lvMatch.GridLines = true; this.lvMatch.GridLines = true;
this.lvMatch.HideSelection = false;
this.lvMatch.Location = new System.Drawing.Point(0, 0); this.lvMatch.Location = new System.Drawing.Point(0, 0);
this.lvMatch.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.lvMatch.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.lvMatch.MultiSelect = false; this.lvMatch.MultiSelect = false;
this.lvMatch.Name = "lvMatch"; this.lvMatch.Name = "lvMatch";
this.lvMatch.Size = new System.Drawing.Size(294, 186);
this.lvMatch.Size = new System.Drawing.Size(333, 268);
this.lvMatch.TabIndex = 0; this.lvMatch.TabIndex = 0;
this.lvMatch.UseCompatibleStateImageBehavior = false; this.lvMatch.UseCompatibleStateImageBehavior = false;
this.lvMatch.View = System.Windows.Forms.View.Details; this.lvMatch.View = System.Windows.Forms.View.Details;
@ -433,7 +432,7 @@
// //
this.splitContainer4.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer4.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer4.Location = new System.Drawing.Point(0, 0); this.splitContainer4.Location = new System.Drawing.Point(0, 0);
this.splitContainer4.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.splitContainer4.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.splitContainer4.Name = "splitContainer4"; this.splitContainer4.Name = "splitContainer4";
// //
// splitContainer4.Panel1 // splitContainer4.Panel1
@ -443,9 +442,9 @@
// splitContainer4.Panel2 // splitContainer4.Panel2
// //
this.splitContainer4.Panel2.Controls.Add(this.lvCapture); this.splitContainer4.Panel2.Controls.Add(this.lvCapture);
this.splitContainer4.Size = new System.Drawing.Size(706, 186);
this.splitContainer4.SplitterDistance = 419;
this.splitContainer4.SplitterWidth = 5;
this.splitContainer4.Size = new System.Drawing.Size(803, 268);
this.splitContainer4.SplitterDistance = 475;
this.splitContainer4.SplitterWidth = 6;
this.splitContainer4.TabIndex = 0; this.splitContainer4.TabIndex = 0;
// //
// lvGroup // lvGroup
@ -459,12 +458,11 @@
this.lvGroup.Dock = System.Windows.Forms.DockStyle.Fill; this.lvGroup.Dock = System.Windows.Forms.DockStyle.Fill;
this.lvGroup.FullRowSelect = true; this.lvGroup.FullRowSelect = true;
this.lvGroup.GridLines = true; this.lvGroup.GridLines = true;
this.lvGroup.HideSelection = false;
this.lvGroup.Location = new System.Drawing.Point(0, 0); this.lvGroup.Location = new System.Drawing.Point(0, 0);
this.lvGroup.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.lvGroup.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.lvGroup.MultiSelect = false; this.lvGroup.MultiSelect = false;
this.lvGroup.Name = "lvGroup"; this.lvGroup.Name = "lvGroup";
this.lvGroup.Size = new System.Drawing.Size(419, 186);
this.lvGroup.Size = new System.Drawing.Size(475, 268);
this.lvGroup.TabIndex = 0; this.lvGroup.TabIndex = 0;
this.lvGroup.UseCompatibleStateImageBehavior = false; this.lvGroup.UseCompatibleStateImageBehavior = false;
this.lvGroup.View = System.Windows.Forms.View.Details; this.lvGroup.View = System.Windows.Forms.View.Details;
@ -498,12 +496,11 @@
this.lvCapture.Dock = System.Windows.Forms.DockStyle.Fill; this.lvCapture.Dock = System.Windows.Forms.DockStyle.Fill;
this.lvCapture.FullRowSelect = true; this.lvCapture.FullRowSelect = true;
this.lvCapture.GridLines = true; this.lvCapture.GridLines = true;
this.lvCapture.HideSelection = false;
this.lvCapture.Location = new System.Drawing.Point(0, 0); this.lvCapture.Location = new System.Drawing.Point(0, 0);
this.lvCapture.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.lvCapture.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.lvCapture.MultiSelect = false; this.lvCapture.MultiSelect = false;
this.lvCapture.Name = "lvCapture"; this.lvCapture.Name = "lvCapture";
this.lvCapture.Size = new System.Drawing.Size(282, 186);
this.lvCapture.Size = new System.Drawing.Size(322, 268);
this.lvCapture.TabIndex = 0; this.lvCapture.TabIndex = 0;
this.lvCapture.UseCompatibleStateImageBehavior = false; this.lvCapture.UseCompatibleStateImageBehavior = false;
this.lvCapture.View = System.Windows.Forms.View.Details; this.lvCapture.View = System.Windows.Forms.View.Details;
@ -528,12 +525,12 @@
this.rtReplace.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.rtReplace.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
this.rtReplace.DetectUrls = false; this.rtReplace.DetectUrls = false;
this.rtReplace.Dock = System.Windows.Forms.DockStyle.Fill; this.rtReplace.Dock = System.Windows.Forms.DockStyle.Fill;
this.rtReplace.Font = new System.Drawing.Font("新宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.rtReplace.Font = new System.Drawing.Font("新宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.rtReplace.HideSelection = false; this.rtReplace.HideSelection = false;
this.rtReplace.Location = new System.Drawing.Point(4, 22);
this.rtReplace.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.rtReplace.Location = new System.Drawing.Point(4, 25);
this.rtReplace.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.rtReplace.Name = "rtReplace"; this.rtReplace.Name = "rtReplace";
this.rtReplace.Size = new System.Drawing.Size(1005, 186);
this.rtReplace.Size = new System.Drawing.Size(1142, 268);
this.rtReplace.TabIndex = 1; this.rtReplace.TabIndex = 1;
this.rtReplace.Text = ""; this.rtReplace.Text = "";
this.rtReplace.Visible = false; this.rtReplace.Visible = false;
@ -543,10 +540,10 @@
this.statusStrip1.ImageScalingSize = new System.Drawing.Size(20, 20); this.statusStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.lbStatus}); this.lbStatus});
this.statusStrip1.Location = new System.Drawing.Point(0, 676);
this.statusStrip1.Location = new System.Drawing.Point(0, 910);
this.statusStrip1.Name = "statusStrip1"; this.statusStrip1.Name = "statusStrip1";
this.statusStrip1.Padding = new System.Windows.Forms.Padding(1, 0, 19, 0);
this.statusStrip1.Size = new System.Drawing.Size(1045, 26);
this.statusStrip1.Padding = new System.Windows.Forms.Padding(1, 0, 21, 0);
this.statusStrip1.Size = new System.Drawing.Size(1176, 26);
this.statusStrip1.TabIndex = 3; this.statusStrip1.TabIndex = 3;
this.statusStrip1.Text = "statusStrip1"; this.statusStrip1.Text = "statusStrip1";
// //
@ -561,8 +558,8 @@
this.splitContainer1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) this.splitContainer1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right))); | System.Windows.Forms.AnchorStyles.Right)));
this.splitContainer1.Location = new System.Drawing.Point(16, 15);
this.splitContainer1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.splitContainer1.Location = new System.Drawing.Point(13, 14);
this.splitContainer1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.splitContainer1.Name = "splitContainer1"; this.splitContainer1.Name = "splitContainer1";
this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal; this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
// //
@ -573,16 +570,16 @@
// splitContainer1.Panel2 // splitContainer1.Panel2
// //
this.splitContainer1.Panel2.Controls.Add(this.splitContainer2); this.splitContainer1.Panel2.Controls.Add(this.splitContainer2);
this.splitContainer1.Size = new System.Drawing.Size(1013, 646);
this.splitContainer1.SplitterDistance = 186;
this.splitContainer1.SplitterWidth = 5;
this.splitContainer1.Size = new System.Drawing.Size(1150, 891);
this.splitContainer1.SplitterDistance = 255;
this.splitContainer1.SplitterWidth = 7;
this.splitContainer1.TabIndex = 4; this.splitContainer1.TabIndex = 4;
// //
// splitContainer2 // splitContainer2
// //
this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer2.Location = new System.Drawing.Point(0, 0); this.splitContainer2.Location = new System.Drawing.Point(0, 0);
this.splitContainer2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.splitContainer2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.splitContainer2.Name = "splitContainer2"; this.splitContainer2.Name = "splitContainer2";
this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal; this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal;
// //
@ -593,9 +590,9 @@
// splitContainer2.Panel2 // splitContainer2.Panel2
// //
this.splitContainer2.Panel2.Controls.Add(this.groupBox3); this.splitContainer2.Panel2.Controls.Add(this.groupBox3);
this.splitContainer2.Size = new System.Drawing.Size(1013, 455);
this.splitContainer2.SplitterDistance = 238;
this.splitContainer2.SplitterWidth = 5;
this.splitContainer2.Size = new System.Drawing.Size(1150, 629);
this.splitContainer2.SplitterDistance = 324;
this.splitContainer2.SplitterWidth = 7;
this.splitContainer2.TabIndex = 0; this.splitContainer2.TabIndex = 0;
// //
// folderBrowserDialog1 // folderBrowserDialog1
@ -604,12 +601,11 @@
// //
// FrmMain // FrmMain
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1045, 702);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(1176, 936);
this.Controls.Add(this.splitContainer1); this.Controls.Add(this.splitContainer1);
this.Controls.Add(this.statusStrip1); this.Controls.Add(this.statusStrip1);
this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.Name = "FrmMain"; this.Name = "FrmMain";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "正则表达式"; this.Text = "正则表达式";

65
XCoder/XRegex/FrmMain.resx

@ -1,64 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<root>
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true"> <xsd:element name="root" msdata:IsDataSet="true">
@ -129,9 +69,6 @@
<metadata name="statusStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="statusStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value> <value>17, 17</value>
</metadata> </metadata>
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>138, 17</value>
</metadata>
<metadata name="folderBrowserDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="folderBrowserDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>505, 17</value> <value>505, 17</value>
</metadata> </metadata>

123
XCoder/Yun/FrmMap.Designer.cs

@ -66,10 +66,10 @@
// label6 // label6
// //
this.label6.AutoSize = true; this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(284, 32);
this.label6.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
this.label6.Location = new System.Drawing.Point(232, 27);
this.label6.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
this.label6.Name = "label6"; this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(82, 24);
this.label6.Size = new System.Drawing.Size(69, 20);
this.label6.TabIndex = 35; this.label6.TabIndex = 35;
this.label6.Text = "坐标系:"; this.label6.Text = "坐标系:";
// //
@ -77,49 +77,49 @@
// //
this.cbCoordtype.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbCoordtype.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cbCoordtype.FormattingEnabled = true; this.cbCoordtype.FormattingEnabled = true;
this.cbCoordtype.Location = new System.Drawing.Point(392, 24);
this.cbCoordtype.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6);
this.cbCoordtype.Location = new System.Drawing.Point(321, 23);
this.cbCoordtype.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
this.cbCoordtype.Name = "cbCoordtype"; this.cbCoordtype.Name = "cbCoordtype";
this.cbCoordtype.Size = new System.Drawing.Size(138, 32);
this.cbCoordtype.Size = new System.Drawing.Size(114, 28);
this.cbCoordtype.TabIndex = 34; this.cbCoordtype.TabIndex = 34;
// //
// cbMethod // cbMethod
// //
this.cbMethod.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbMethod.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cbMethod.FormattingEnabled = true; this.cbMethod.FormattingEnabled = true;
this.cbMethod.Location = new System.Drawing.Point(631, 24);
this.cbMethod.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6);
this.cbMethod.Location = new System.Drawing.Point(516, 23);
this.cbMethod.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
this.cbMethod.Name = "cbMethod"; this.cbMethod.Name = "cbMethod";
this.cbMethod.Size = new System.Drawing.Size(231, 32);
this.cbMethod.Size = new System.Drawing.Size(190, 28);
this.cbMethod.TabIndex = 33; this.cbMethod.TabIndex = 33;
// //
// label5 // label5
// //
this.label5.AutoSize = true; this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(544, 32);
this.label5.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
this.label5.Location = new System.Drawing.Point(445, 27);
this.label5.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
this.label5.Name = "label5"; this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(64, 24);
this.label5.Size = new System.Drawing.Size(54, 20);
this.label5.TabIndex = 32; this.label5.TabIndex = 32;
this.label5.Text = "接口:"; this.label5.Text = "接口:";
// //
// label4 // label4
// //
this.label4.AutoSize = true; this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(29, 32);
this.label4.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
this.label4.Location = new System.Drawing.Point(24, 27);
this.label4.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
this.label4.Name = "label4"; this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(64, 24);
this.label4.Size = new System.Drawing.Size(54, 20);
this.label4.TabIndex = 31; this.label4.TabIndex = 31;
this.label4.Text = "地图:"; this.label4.Text = "地图:";
// //
// label2 // label2
// //
this.label2.AutoSize = true; this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(627, 96);
this.label2.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
this.label2.Location = new System.Drawing.Point(513, 80);
this.label2.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
this.label2.Name = "label2"; this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(64, 24);
this.label2.Size = new System.Drawing.Size(54, 20);
this.label2.TabIndex = 30; this.label2.TabIndex = 30;
this.label2.Text = "城市:"; this.label2.Text = "城市:";
// //
@ -128,10 +128,10 @@
this.chkFormatAddress.AutoSize = true; this.chkFormatAddress.AutoSize = true;
this.chkFormatAddress.Checked = true; this.chkFormatAddress.Checked = true;
this.chkFormatAddress.CheckState = System.Windows.Forms.CheckState.Checked; this.chkFormatAddress.CheckState = System.Windows.Forms.CheckState.Checked;
this.chkFormatAddress.Location = new System.Drawing.Point(884, 92);
this.chkFormatAddress.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6);
this.chkFormatAddress.Location = new System.Drawing.Point(723, 78);
this.chkFormatAddress.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
this.chkFormatAddress.Name = "chkFormatAddress"; this.chkFormatAddress.Name = "chkFormatAddress";
this.chkFormatAddress.Size = new System.Drawing.Size(126, 28);
this.chkFormatAddress.Size = new System.Drawing.Size(106, 24);
this.chkFormatAddress.TabIndex = 38; this.chkFormatAddress.TabIndex = 38;
this.chkFormatAddress.Text = "格式化地址"; this.chkFormatAddress.Text = "格式化地址";
this.chkFormatAddress.UseVisualStyleBackColor = true; this.chkFormatAddress.UseVisualStyleBackColor = true;
@ -139,19 +139,19 @@
// label1 // label1
// //
this.label1.AutoSize = true; this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(29, 96);
this.label1.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
this.label1.Location = new System.Drawing.Point(24, 80);
this.label1.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
this.label1.Name = "label1"; this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(64, 24);
this.label1.Size = new System.Drawing.Size(54, 20);
this.label1.TabIndex = 29; this.label1.TabIndex = 29;
this.label1.Text = "地址:"; this.label1.Text = "地址:";
// //
// txtAddress // txtAddress
// //
this.txtAddress.Location = new System.Drawing.Point(116, 88);
this.txtAddress.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6);
this.txtAddress.Location = new System.Drawing.Point(95, 77);
this.txtAddress.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
this.txtAddress.Name = "txtAddress"; this.txtAddress.Name = "txtAddress";
this.txtAddress.Size = new System.Drawing.Size(466, 30);
this.txtAddress.Size = new System.Drawing.Size(382, 27);
this.txtAddress.TabIndex = 27; this.txtAddress.TabIndex = 27;
this.txtAddress.Text = "陆家嘴银城中路501号"; this.txtAddress.Text = "陆家嘴银城中路501号";
// //
@ -159,10 +159,10 @@
// //
this.cbMap.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbMap.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cbMap.FormattingEnabled = true; this.cbMap.FormattingEnabled = true;
this.cbMap.Location = new System.Drawing.Point(116, 24);
this.cbMap.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6);
this.cbMap.Location = new System.Drawing.Point(95, 23);
this.cbMap.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
this.cbMap.Name = "cbMap"; this.cbMap.Name = "cbMap";
this.cbMap.Size = new System.Drawing.Size(160, 32);
this.cbMap.Size = new System.Drawing.Size(132, 28);
this.cbMap.TabIndex = 26; this.cbMap.TabIndex = 26;
this.cbMap.SelectedIndexChanged += new System.EventHandler(this.cbMap_SelectedIndexChanged); this.cbMap.SelectedIndexChanged += new System.EventHandler(this.cbMap_SelectedIndexChanged);
// //
@ -171,19 +171,19 @@
this.pgResult.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) this.pgResult.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Right))); | System.Windows.Forms.AnchorStyles.Right)));
this.pgResult.LineColor = System.Drawing.SystemColors.ControlDark; this.pgResult.LineColor = System.Drawing.SystemColors.ControlDark;
this.pgResult.Location = new System.Drawing.Point(708, 216);
this.pgResult.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6);
this.pgResult.Location = new System.Drawing.Point(579, 180);
this.pgResult.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
this.pgResult.Name = "pgResult"; this.pgResult.Name = "pgResult";
this.pgResult.PropertySort = System.Windows.Forms.PropertySort.NoSort; this.pgResult.PropertySort = System.Windows.Forms.PropertySort.NoSort;
this.pgResult.Size = new System.Drawing.Size(515, 750);
this.pgResult.Size = new System.Drawing.Size(421, 625);
this.pgResult.TabIndex = 25; this.pgResult.TabIndex = 25;
// //
// btnInvoke // btnInvoke
// //
this.btnInvoke.Location = new System.Drawing.Point(1025, 16);
this.btnInvoke.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6);
this.btnInvoke.Location = new System.Drawing.Point(839, 13);
this.btnInvoke.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
this.btnInvoke.Name = "btnInvoke"; this.btnInvoke.Name = "btnInvoke";
this.btnInvoke.Size = new System.Drawing.Size(123, 58);
this.btnInvoke.Size = new System.Drawing.Size(101, 48);
this.btnInvoke.TabIndex = 23; this.btnInvoke.TabIndex = 23;
this.btnInvoke.Text = "调用"; this.btnInvoke.Text = "调用";
this.btnInvoke.UseVisualStyleBackColor = true; this.btnInvoke.UseVisualStyleBackColor = true;
@ -193,19 +193,19 @@
// //
this.txtReceive.Dock = System.Windows.Forms.DockStyle.Fill; this.txtReceive.Dock = System.Windows.Forms.DockStyle.Fill;
this.txtReceive.HideSelection = false; this.txtReceive.HideSelection = false;
this.txtReceive.Location = new System.Drawing.Point(6, 29);
this.txtReceive.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6);
this.txtReceive.Location = new System.Drawing.Point(5, 25);
this.txtReceive.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
this.txtReceive.Name = "txtReceive"; this.txtReceive.Name = "txtReceive";
this.txtReceive.Size = new System.Drawing.Size(686, 721);
this.txtReceive.Size = new System.Drawing.Size(561, 600);
this.txtReceive.TabIndex = 22; this.txtReceive.TabIndex = 22;
this.txtReceive.Text = ""; this.txtReceive.Text = "";
// //
// txtCity // txtCity
// //
this.txtCity.Location = new System.Drawing.Point(719, 88);
this.txtCity.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6);
this.txtCity.Location = new System.Drawing.Point(588, 77);
this.txtCity.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
this.txtCity.Name = "txtCity"; this.txtCity.Name = "txtCity";
this.txtCity.Size = new System.Drawing.Size(134, 30);
this.txtCity.Size = new System.Drawing.Size(110, 27);
this.txtCity.TabIndex = 28; this.txtCity.TabIndex = 28;
this.txtCity.Text = "上海"; this.txtCity.Text = "上海";
// //
@ -215,30 +215,30 @@
| System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right))); | System.Windows.Forms.AnchorStyles.Right)));
this.gbReceive.Controls.Add(this.txtReceive); this.gbReceive.Controls.Add(this.txtReceive);
this.gbReceive.Location = new System.Drawing.Point(4, 216);
this.gbReceive.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6);
this.gbReceive.Location = new System.Drawing.Point(3, 180);
this.gbReceive.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
this.gbReceive.Name = "gbReceive"; this.gbReceive.Name = "gbReceive";
this.gbReceive.Padding = new System.Windows.Forms.Padding(6, 6, 6, 6);
this.gbReceive.Size = new System.Drawing.Size(698, 756);
this.gbReceive.Padding = new System.Windows.Forms.Padding(5, 5, 5, 5);
this.gbReceive.Size = new System.Drawing.Size(571, 630);
this.gbReceive.TabIndex = 24; this.gbReceive.TabIndex = 24;
this.gbReceive.TabStop = false; this.gbReceive.TabStop = false;
// //
// label3 // label3
// //
this.label3.AutoSize = true; this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(29, 154);
this.label3.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
this.label3.Location = new System.Drawing.Point(24, 128);
this.label3.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
this.label3.Name = "label3"; this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(64, 24);
this.label3.Size = new System.Drawing.Size(54, 20);
this.label3.TabIndex = 36; this.label3.TabIndex = 36;
this.label3.Text = "坐标:"; this.label3.Text = "坐标:";
// //
// txtLocation // txtLocation
// //
this.txtLocation.Location = new System.Drawing.Point(116, 146);
this.txtLocation.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6);
this.txtLocation.Location = new System.Drawing.Point(95, 125);
this.txtLocation.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
this.txtLocation.Name = "txtLocation"; this.txtLocation.Name = "txtLocation";
this.txtLocation.Size = new System.Drawing.Size(384, 30);
this.txtLocation.Size = new System.Drawing.Size(315, 27);
this.txtLocation.TabIndex = 37; this.txtLocation.TabIndex = 37;
// //
// button1 // button1
@ -251,26 +251,25 @@
// label7 // label7
// //
this.label7.AutoSize = true; this.label7.AutoSize = true;
this.label7.Location = new System.Drawing.Point(548, 154);
this.label7.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
this.label7.Location = new System.Drawing.Point(448, 128);
this.label7.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
this.label7.Name = "label7"; this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(100, 24);
this.label7.Size = new System.Drawing.Size(84, 20);
this.label7.TabIndex = 39; this.label7.TabIndex = 39;
this.label7.Text = "第二坐标:"; this.label7.Text = "第二坐标:";
// //
// txtLocation2 // txtLocation2
// //
this.txtLocation2.Location = new System.Drawing.Point(678, 146);
this.txtLocation2.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6);
this.txtLocation2.Location = new System.Drawing.Point(555, 125);
this.txtLocation2.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
this.txtLocation2.Name = "txtLocation2"; this.txtLocation2.Name = "txtLocation2";
this.txtLocation2.Size = new System.Drawing.Size(384, 30);
this.txtLocation2.Size = new System.Drawing.Size(315, 27);
this.txtLocation2.TabIndex = 40; this.txtLocation2.TabIndex = 40;
// //
// FrmMap // FrmMap
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(11F, 24F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1228, 976);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(1005, 813);
this.Controls.Add(this.label7); this.Controls.Add(this.label7);
this.Controls.Add(this.txtLocation2); this.Controls.Add(this.txtLocation2);
this.Controls.Add(this.label6); this.Controls.Add(this.label6);
@ -289,7 +288,7 @@
this.Controls.Add(this.label3); this.Controls.Add(this.label3);
this.Controls.Add(this.txtLocation); this.Controls.Add(this.txtLocation);
this.Controls.Add(this.chkFormatAddress); this.Controls.Add(this.chkFormatAddress);
this.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6);
this.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
this.Name = "FrmMap"; this.Name = "FrmMap";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "地图接口"; this.Text = "地图接口";

15
XCoder/Yun/FrmMap.cs

@ -210,8 +210,19 @@ public partial class FrmMap : Form, IXForm
XTrace.WriteLine(map.LastUrl); XTrace.WriteLine(map.LastUrl);
var js = new JsonParser(map.LastString).Decode();
XTrace.WriteLine(js.ToJson(true));
var last = map.LastString?.Trim();
if (!last.IsNullOrWhiteSpace())
{
try
{
var js = new JsonParser(last).Decode();
XTrace.WriteLine(js.ToJson(true));
}
catch
{
XTrace.WriteLine(last);
}
}
}); });
} }
#endregion #endregion

Loading…
Cancel
Save