From: <lk...@us...> - 2007-12-08 18:56:21
|
Revision: 1135 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=1135&view=rev Author: lkuech Date: 2007-12-08 10:56:18 -0800 (Sat, 08 Dec 2007) Log Message: ----------- Updated URLs for GM First implementation of the new GM terrain maps (needs some final work) Modified Paths: -------------- trunk/plugins/WorldMap/MAPS/MapFunctions.cs trunk/plugins/WorldMap/MAPS/MapTiles.cs trunk/plugins/WorldMap/MAPS/ThreadedDownload.cs trunk/plugins/WorldMap/Settings.cs trunk/plugins/WorldMap/WorldMap.cs trunk/plugins/WorldMap/WorldmapConfig.Designer.cs trunk/plugins/WorldMap/WorldmapConfig.cs Modified: trunk/plugins/WorldMap/MAPS/MapFunctions.cs =================================================================== --- trunk/plugins/WorldMap/MAPS/MapFunctions.cs 2007-12-08 13:42:04 UTC (rev 1134) +++ trunk/plugins/WorldMap/MAPS/MapFunctions.cs 2007-12-08 18:56:18 UTC (rev 1135) @@ -9,6 +9,7 @@ public enum MapType { GMRoad, + GMTerrain, GMAerial, GMHybrid, VERoad, @@ -257,7 +258,41 @@ } + public static string GetGTerrainUrl(int TileX, int TileY, int zoomLevel, ref MapConfig curConfig) + { + string tileCode = GetGMapSatUrlTileCode(TileX, TileY, zoomLevel); + if (tileCode == "") return ""; + int servNum = -1; + + try + { + switch (tileCode[tileCode.Length - 1]) + { + case 'q': servNum = 0; + break; + case 'r': servNum = 1; + break; + case 's': servNum = 2; + break; + case 't': servNum = 3; + break; + } + } + catch (Exception err) + { } + + string StringServNum; + if (servNum == -1) StringServNum = ""; + else StringServNum = servNum.ToString(); + + string TileCode = GetGMapTileCode(TileX, TileY, zoomLevel); + string[] urltab = TileCode.Split('_'); + string fullurl = string.Format(curConfig.GMTUrl, StringServNum, urltab[0], urltab[1], urltab[2]); + return fullurl; + + } + public static string GetGMapUrl(int TileX, int TileY, int zoomLevel, ref MapConfig curConfig) { string tileCode = GetGMapSatUrlTileCode(TileX, TileY, zoomLevel); @@ -342,6 +377,8 @@ string url = null; switch (mapType) { + case MapType.GMTerrain: url = GetGTerrainUrl(TileX, TileY, zoomLevel, ref curConfig); + break; case MapType.GMRoad: url = GetGMapUrl(TileX, TileY, zoomLevel, ref curConfig); break; case MapType.GMAerial: url = GetGMapSatUrl(TileX, TileY, zoomLevel, ref curConfig); @@ -420,7 +457,8 @@ { case MapType.GMAerial: case MapType.GMHybrid: - case MapType.GMRoad: url = GetGMTileUrl(mapType,TileX,TileY,zoomLevel, ref curConfig); + case MapType.GMTerrain: + case MapType.GMRoad: url = GetGMTileUrl(mapType, TileX, TileY, zoomLevel, ref curConfig); break; case MapType.VERoad: case MapType.VEAerial: Modified: trunk/plugins/WorldMap/MAPS/MapTiles.cs =================================================================== --- trunk/plugins/WorldMap/MAPS/MapTiles.cs 2007-12-08 13:42:04 UTC (rev 1134) +++ trunk/plugins/WorldMap/MAPS/MapTiles.cs 2007-12-08 18:56:18 UTC (rev 1135) @@ -12,6 +12,7 @@ public int ThreadCountGMR; public int ThreadCountGMA; public int ThreadCountGMH; + public int ThreadCountGMT; public int ThreadCountVER; public int ThreadCountVEA; public int ThreadCountVEH; @@ -20,6 +21,7 @@ public string GMAUrl; public string GMRUrl; public string GMHUrl; + public string GMTUrl; public string VEUrl; public Bitmap TileNotAvailable; public Bitmap IPBlocked; @@ -28,9 +30,10 @@ public MapConfig() { CacheFolder = "C:\\"; - ThreadCountGMR = 4; - ThreadCountGMA = 1; - ThreadCountGMH = 1; + ThreadCountGMR = 5; + ThreadCountGMA = 5; + ThreadCountGMH = 5; + ThreadCountGMT = 5; ThreadCountVER = 5; ThreadCountVEA = 5; ThreadCountVEH = 5; Modified: trunk/plugins/WorldMap/MAPS/ThreadedDownload.cs =================================================================== --- trunk/plugins/WorldMap/MAPS/ThreadedDownload.cs 2007-12-08 13:42:04 UTC (rev 1134) +++ trunk/plugins/WorldMap/MAPS/ThreadedDownload.cs 2007-12-08 18:56:18 UTC (rev 1135) @@ -44,6 +44,8 @@ break; case MapFunctions.MapType.GMHybrid: FilePreFix = "gmh"; break; + case MapFunctions.MapType.GMTerrain: FilePreFix = "gmt"; + break; case MapFunctions.MapType.VERoad: FilePreFix = "ver"; break; case MapFunctions.MapType.VEAerial: FilePreFix = "vea"; @@ -263,6 +265,8 @@ break; case MapFunctions.MapType.GMHybrid: FilePreFix = "gmh"; break; + case MapFunctions.MapType.GMTerrain: FilePreFix = "gmt"; + break; case MapFunctions.MapType.VERoad: FilePreFix = "ver"; break; case MapFunctions.MapType.VEAerial: FilePreFix = "vea"; Modified: trunk/plugins/WorldMap/Settings.cs =================================================================== --- trunk/plugins/WorldMap/Settings.cs 2007-12-08 13:42:04 UTC (rev 1134) +++ trunk/plugins/WorldMap/Settings.cs 2007-12-08 18:56:18 UTC (rev 1135) @@ -18,6 +18,7 @@ public int ThreadCountGMR; public int ThreadCountGMA; public int ThreadCountGMH; + public int ThreadCountGMT; public int ThreadCountVER; public int ThreadCountVEA; public int ThreadCountVEH; @@ -28,6 +29,7 @@ public string GMAUrl; public string GMRUrl; public string GMHUrl; + public string GMTUrl; public string VEUrl; public Action.ActionType ActionMoveUp; @@ -54,6 +56,7 @@ public static string ParmThreadCountGMR = "parmthreadcountgmr"; public static string ParmThreadCountGMA = "parmthreadcountgma"; public static string ParmThreadCountGMH = "parmthreadcountgmh"; + public static string ParmThreadCountGMT = "parmthreadcountgmt"; public static string ParmThreadCountVER = "parmthreadcountver"; public static string ParmThreadCountVEA = "parmthreadcountvea"; public static string ParmThreadCountVEH = "parmthreadcountveh"; @@ -62,6 +65,7 @@ public static string ParmGMAUrl = "parmgmaurl"; public static string ParmGMRUrl = "parmgmrurl"; public static string ParmGMHUrl = "parmgmhurl"; + public static string ParmGMTUrl = "parmgmturl"; public static string ParmVEUrl = "parmveurl"; public static string ParmActionMoveUp = "parmactionmoveup"; @@ -98,6 +102,7 @@ ThreadCountGMR = reader.GetValueAsInt(SectionName, ParmThreadCountGMR, 5); ThreadCountGMA = reader.GetValueAsInt(SectionName, ParmThreadCountGMA, 5); ThreadCountGMH = reader.GetValueAsInt(SectionName, ParmThreadCountGMH, 5); + ThreadCountGMT = reader.GetValueAsInt(SectionName, ParmThreadCountGMT, 5); ThreadCountVER = reader.GetValueAsInt(SectionName, ParmThreadCountVER, 5); ThreadCountVEA = reader.GetValueAsInt(SectionName, ParmThreadCountVEA, 5); ThreadCountVEH = reader.GetValueAsInt(SectionName, ParmThreadCountVEH, 5); @@ -125,6 +130,7 @@ GMAUrl = reader.GetValueAsString(SectionName, ParmGMAUrl, "http://kh{0}.google.com/kh?n=404&v=18&t={1}"); GMRUrl = reader.GetValueAsString(SectionName, ParmGMRUrl, "http://mt{0}.google.com/mt?n=404&v=w2.99&x={1}&y={2}&zoom={3}"); GMHUrl = reader.GetValueAsString(SectionName, ParmGMHUrl, "http://mt{0}.google.com/mt?n=404&v=w2t.99&x={1}&y={2}&zoom={3}"); + GMTUrl = reader.GetValueAsString(SectionName, ParmGMTUrl, "http://mt{0}.google.com/mt?n=404&v=w2p.99&x={1}&y={2}&zoom={3}"); VEUrl = reader.GetValueAsString(SectionName, ParmVEUrl, "http://{0}{1}.ortho.tiles.virtualearth.net/tiles/{0}{2}{3}?g=1"); } } @@ -142,6 +148,7 @@ xmlwriter.SetValue(SectionName, ParmThreadCountGMR, ThreadCountGMR.ToString()); xmlwriter.SetValue(SectionName, ParmThreadCountGMA, ThreadCountGMA.ToString()); xmlwriter.SetValue(SectionName, ParmThreadCountGMH, ThreadCountGMH.ToString()); + xmlwriter.SetValue(SectionName, ParmThreadCountGMT, ThreadCountGMT.ToString()); xmlwriter.SetValue(SectionName, ParmThreadCountVER, ThreadCountVER.ToString()); xmlwriter.SetValue(SectionName, ParmThreadCountVEA, ThreadCountVEA.ToString()); xmlwriter.SetValue(SectionName, ParmThreadCountVEH, ThreadCountVEH.ToString()); @@ -172,6 +179,7 @@ xmlwriter.SetValue(SectionName, ParmGMAUrl, GMAUrl); xmlwriter.SetValue(SectionName, ParmGMRUrl, GMRUrl); xmlwriter.SetValue(SectionName, ParmGMHUrl, GMHUrl); + xmlwriter.SetValue(SectionName, ParmGMTUrl, GMTUrl); xmlwriter.SetValue(SectionName, ParmVEUrl, VEUrl); } } Modified: trunk/plugins/WorldMap/WorldMap.cs =================================================================== --- trunk/plugins/WorldMap/WorldMap.cs 2007-12-08 13:42:04 UTC (rev 1134) +++ trunk/plugins/WorldMap/WorldMap.cs 2007-12-08 18:56:18 UTC (rev 1135) @@ -233,6 +233,7 @@ mapConfig.ThreadCountGMR = settings.ThreadCountGMR; mapConfig.ThreadCountGMA = settings.ThreadCountGMA; mapConfig.ThreadCountGMH = settings.ThreadCountGMH; + mapConfig.ThreadCountGMT = settings.ThreadCountGMT; mapConfig.ThreadCountVER = settings.ThreadCountVER; mapConfig.ThreadCountVEA = settings.ThreadCountVEA; mapConfig.ThreadCountVEH = settings.ThreadCountVEH; @@ -240,6 +241,7 @@ mapConfig.GMAUrl = settings.GMAUrl; mapConfig.GMRUrl = settings.GMRUrl; mapConfig.GMHUrl = settings.GMHUrl; + mapConfig.GMTUrl = settings.GMTUrl; mapConfig.VEUrl = settings.VEUrl; string tmpSkinFolder = Config.GetSubFolder(Config.Dir.Skin, GUIGraphicsContext.Skin); @@ -307,6 +309,7 @@ settings.ThreadCountGMR = mapConfig.ThreadCountGMR; settings.ThreadCountGMA = mapConfig.ThreadCountGMA; settings.ThreadCountGMH = mapConfig.ThreadCountGMH; + settings.ThreadCountGMT = mapConfig.ThreadCountGMT; settings.ThreadCountVER = mapConfig.ThreadCountVER; settings.ThreadCountVEA = mapConfig.ThreadCountVEA; settings.ThreadCountVEH = mapConfig.ThreadCountVEH; Modified: trunk/plugins/WorldMap/WorldmapConfig.Designer.cs =================================================================== --- trunk/plugins/WorldMap/WorldmapConfig.Designer.cs 2007-12-08 13:42:04 UTC (rev 1134) +++ trunk/plugins/WorldMap/WorldmapConfig.Designer.cs 2007-12-08 18:56:18 UTC (rev 1135) @@ -91,6 +91,10 @@ this.label25 = new System.Windows.Forms.Label(); this.btnOk = new System.Windows.Forms.Button(); this.btnCancel = new System.Windows.Forms.Button(); + this.uadGMT = new System.Windows.Forms.NumericUpDown(); + this.label29 = new System.Windows.Forms.Label(); + this.txbGMTUrl = new System.Windows.Forms.TextBox(); + this.label30 = new System.Windows.Forms.Label(); this.tbConfig.SuspendLayout(); this.tpMain.SuspendLayout(); this.panel1.SuspendLayout(); @@ -104,6 +108,7 @@ this.panel3.SuspendLayout(); this.tpRemote.SuspendLayout(); this.tpUrls.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.uadGMT)).BeginInit(); this.SuspendLayout(); // // tbConfig @@ -118,7 +123,7 @@ this.tbConfig.Location = new System.Drawing.Point(1, 1); this.tbConfig.Name = "tbConfig"; this.tbConfig.SelectedIndex = 0; - this.tbConfig.Size = new System.Drawing.Size(682, 231); + this.tbConfig.Size = new System.Drawing.Size(682, 252); this.tbConfig.TabIndex = 0; // // tpMain @@ -130,7 +135,7 @@ this.tpMain.Location = new System.Drawing.Point(4, 22); this.tpMain.Name = "tpMain"; this.tpMain.Padding = new System.Windows.Forms.Padding(3); - this.tpMain.Size = new System.Drawing.Size(674, 205); + this.tpMain.Size = new System.Drawing.Size(674, 226); this.tpMain.TabIndex = 0; this.tpMain.Text = "Main"; this.tpMain.UseVisualStyleBackColor = true; @@ -138,6 +143,8 @@ // panel1 // this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))); + this.panel1.Controls.Add(this.uadGMT); + this.panel1.Controls.Add(this.label29); this.panel1.Controls.Add(this.uadGMH); this.panel1.Controls.Add(this.label2); this.panel1.Controls.Add(this.uadVEH); @@ -153,12 +160,12 @@ this.panel1.Controls.Add(this.label6); this.panel1.Location = new System.Drawing.Point(10, 11); this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(162, 185); + this.panel1.Size = new System.Drawing.Size(162, 209); this.panel1.TabIndex = 17; // // uadGMH // - this.uadGMH.Location = new System.Drawing.Point(109, 75); + this.uadGMH.Location = new System.Drawing.Point(111, 75); this.uadGMH.Maximum = new decimal(new int[] { 10, 0, @@ -190,7 +197,7 @@ // // uadVEH // - this.uadVEH.Location = new System.Drawing.Point(109, 153); + this.uadVEH.Location = new System.Drawing.Point(111, 180); this.uadVEH.Maximum = new decimal(new int[] { 10, 0, @@ -212,7 +219,7 @@ // // uadVEA // - this.uadVEA.Location = new System.Drawing.Point(109, 127); + this.uadVEA.Location = new System.Drawing.Point(111, 154); this.uadVEA.Maximum = new decimal(new int[] { 10, 0, @@ -243,7 +250,7 @@ // // uadVER // - this.uadVER.Location = new System.Drawing.Point(109, 101); + this.uadVER.Location = new System.Drawing.Point(111, 128); this.uadVER.Maximum = new decimal(new int[] { 10, 0, @@ -274,7 +281,7 @@ // // uadGMA // - this.uadGMA.Location = new System.Drawing.Point(109, 49); + this.uadGMA.Location = new System.Drawing.Point(111, 49); this.uadGMA.Maximum = new decimal(new int[] { 10, 0, @@ -305,7 +312,7 @@ // // uadGMR // - this.uadGMR.Location = new System.Drawing.Point(109, 23); + this.uadGMR.Location = new System.Drawing.Point(111, 23); this.uadGMR.Maximum = new decimal(new int[] { 10, 0, @@ -328,7 +335,7 @@ // label5 // this.label5.AutoSize = true; - this.label5.Location = new System.Drawing.Point(6, 103); + this.label5.Location = new System.Drawing.Point(6, 130); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(93, 13); this.label5.TabIndex = 8; @@ -337,7 +344,7 @@ // label7 // this.label7.AutoSize = true; - this.label7.Location = new System.Drawing.Point(6, 155); + this.label7.Location = new System.Drawing.Point(6, 182); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(97, 13); this.label7.TabIndex = 12; @@ -346,7 +353,7 @@ // label6 // this.label6.AutoSize = true; - this.label6.Location = new System.Drawing.Point(6, 129); + this.label6.Location = new System.Drawing.Point(6, 156); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(93, 13); this.label6.TabIndex = 10; @@ -426,7 +433,7 @@ this.panel3.Controls.Add(this.label23); this.panel3.Location = new System.Drawing.Point(171, 114); this.panel3.Name = "panel3"; - this.panel3.Size = new System.Drawing.Size(493, 82); + this.panel3.Size = new System.Drawing.Size(493, 106); this.panel3.TabIndex = 24; // // txbCacheDaysDetailed @@ -703,6 +710,8 @@ // // tpUrls // + this.tpUrls.Controls.Add(this.txbGMTUrl); + this.tpUrls.Controls.Add(this.label30); this.tpUrls.Controls.Add(this.txbGMRUrl); this.tpUrls.Controls.Add(this.label28); this.tpUrls.Controls.Add(this.txbGMHUrl); @@ -714,7 +723,7 @@ this.tpUrls.Location = new System.Drawing.Point(4, 22); this.tpUrls.Name = "tpUrls"; this.tpUrls.Padding = new System.Windows.Forms.Padding(3); - this.tpUrls.Size = new System.Drawing.Size(674, 205); + this.tpUrls.Size = new System.Drawing.Size(674, 226); this.tpUrls.TabIndex = 2; this.tpUrls.Text = "Tile URL\'s"; this.tpUrls.UseVisualStyleBackColor = true; @@ -755,7 +764,7 @@ // // txbVEUrl // - this.txbVEUrl.Location = new System.Drawing.Point(108, 92); + this.txbVEUrl.Location = new System.Drawing.Point(108, 122); this.txbVEUrl.Name = "txbVEUrl"; this.txbVEUrl.Size = new System.Drawing.Size(309, 20); this.txbVEUrl.TabIndex = 3; @@ -764,7 +773,7 @@ // label26 // this.label26.AutoSize = true; - this.label26.Location = new System.Drawing.Point(7, 95); + this.label26.Location = new System.Drawing.Point(7, 125); this.label26.Name = "label26"; this.label26.Size = new System.Drawing.Size(80, 13); this.label26.TabIndex = 2; @@ -790,7 +799,7 @@ // // btnOk // - this.btnOk.Location = new System.Drawing.Point(627, 238); + this.btnOk.Location = new System.Drawing.Point(627, 259); this.btnOk.Name = "btnOk"; this.btnOk.Size = new System.Drawing.Size(42, 23); this.btnOk.TabIndex = 1; @@ -800,7 +809,7 @@ // // btnCancel // - this.btnCancel.Location = new System.Drawing.Point(569, 238); + this.btnCancel.Location = new System.Drawing.Point(569, 259); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(52, 23); this.btnCancel.TabIndex = 2; @@ -808,11 +817,59 @@ this.btnCancel.UseVisualStyleBackColor = true; this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); // + // uadGMT + // + this.uadGMT.Location = new System.Drawing.Point(111, 101); + this.uadGMT.Maximum = new decimal(new int[] { + 10, + 0, + 0, + 0}); + this.uadGMT.Minimum = new decimal(new int[] { + 1, + 0, + 0, + 0}); + this.uadGMT.Name = "uadGMT"; + this.uadGMT.Size = new System.Drawing.Size(33, 20); + this.uadGMT.TabIndex = 13; + this.uadGMT.Value = new decimal(new int[] { + 1, + 0, + 0, + 0}); + // + // label29 + // + this.label29.AutoSize = true; + this.label29.Location = new System.Drawing.Point(6, 103); + this.label29.Name = "label29"; + this.label29.Size = new System.Drawing.Size(106, 13); + this.label29.TabIndex = 14; + this.label29.Text = "Google Maps Terrain"; + // + // txbGMTUrl + // + this.txbGMTUrl.Location = new System.Drawing.Point(108, 96); + this.txbGMTUrl.Name = "txbGMTUrl"; + this.txbGMTUrl.Size = new System.Drawing.Size(309, 20); + this.txbGMTUrl.TabIndex = 9; + this.txbGMTUrl.TextChanged += new System.EventHandler(this.txbGMTUrl_TextChanged); + // + // label30 + // + this.label30.AutoSize = true; + this.label30.Location = new System.Drawing.Point(7, 99); + this.label30.Name = "label30"; + this.label30.Size = new System.Drawing.Size(93, 13); + this.label30.TabIndex = 8; + this.label30.Text = "Google Terrain Url"; + // // WorldmapConfig // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(681, 273); + this.ClientSize = new System.Drawing.Size(681, 294); this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnOk); this.Controls.Add(this.tbConfig); @@ -839,6 +896,7 @@ this.tpRemote.PerformLayout(); this.tpUrls.ResumeLayout(false); this.tpUrls.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.uadGMT)).EndInit(); this.ResumeLayout(false); } @@ -908,5 +966,9 @@ private System.Windows.Forms.Label label27; private System.Windows.Forms.TextBox txbVEUrl; private System.Windows.Forms.Label label26; + private System.Windows.Forms.NumericUpDown uadGMT; + private System.Windows.Forms.Label label29; + private System.Windows.Forms.TextBox txbGMTUrl; + private System.Windows.Forms.Label label30; } } \ No newline at end of file Modified: trunk/plugins/WorldMap/WorldmapConfig.cs =================================================================== --- trunk/plugins/WorldMap/WorldmapConfig.cs 2007-12-08 13:42:04 UTC (rev 1134) +++ trunk/plugins/WorldMap/WorldmapConfig.cs 2007-12-08 18:56:18 UTC (rev 1135) @@ -120,6 +120,7 @@ uadGMR.Value = (int)settings.ThreadCountGMR; uadGMA.Value = (int)settings.ThreadCountGMA; uadGMH.Value = (int)settings.ThreadCountGMH; + uadGMT.Value = (int)settings.ThreadCountGMT; uadVER.Value = (int)settings.ThreadCountVER; uadVEA.Value = (int)settings.ThreadCountVEA; uadVEH.Value = (int)settings.ThreadCountVEH; @@ -144,6 +145,7 @@ txbGMAUrl.Text = settings.GMAUrl; txbGMRUrl.Text = settings.GMRUrl; txbGMHUrl.Text = settings.GMHUrl; + txbGMTUrl.Text = settings.GMTUrl; txbVEUrl.Text = settings.VEUrl; } @@ -158,6 +160,7 @@ settings.ThreadCountGMR = (int)uadGMR.Value; settings.ThreadCountGMA = (int)uadGMA.Value; settings.ThreadCountGMH = (int)uadGMH.Value; + settings.ThreadCountGMT = (int)uadGMT.Value; settings.ThreadCountVER = (int)uadVER.Value; settings.ThreadCountVEA = (int)uadVEA.Value; settings.ThreadCountVEH = (int)uadVEH.Value; @@ -179,6 +182,7 @@ settings.GMAUrl = txbGMAUrl.Text; settings.GMRUrl = txbGMRUrl.Text; settings.GMHUrl = txbGMHUrl.Text; + settings.GMTUrl = txbGMTUrl.Text; settings.VEUrl = txbVEUrl.Text; try @@ -239,5 +243,15 @@ } else txbVEUrl.BackColor = System.Drawing.SystemColors.Window; } + + private void txbGMTUrl_TextChanged(object sender, EventArgs e) + { + if (txbGMTUrl.Text != settings.GMTUrl) + { + txbGMTUrl.BackColor = Color.LightCoral; + MapUrlsChanged = true; + } + else txbGMTUrl.BackColor = System.Drawing.SystemColors.Window; + } } } \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |