锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲电影第1页,欧美日本二区,色88888久久久久久影院http://www.aygfsteel.com/TiGERTiAN/category/29344.html----TiGERTiANzh-cnSat, 02 Oct 2010 07:22:47 GMTSat, 02 Oct 2010 07:22:47 GMT60MapXtreme 2005 6.7.1 鏈夋晥鎺堟潈 Licensehttp://www.aygfsteel.com/TiGERTiAN/archive/2010/09/11/331755.htmlTiGERTiANTiGERTiANSat, 11 Sep 2010 09:50:00 GMThttp://www.aygfsteel.com/TiGERTiAN/archive/2010/09/11/331755.htmlhttp://www.aygfsteel.com/TiGERTiAN/comments/331755.htmlhttp://www.aygfsteel.com/TiGERTiAN/archive/2010/09/11/331755.html#Feedback0http://www.aygfsteel.com/TiGERTiAN/comments/commentRss/331755.htmlhttp://www.aygfsteel.com/TiGERTiAN/services/trackbacks/331755.html HOSTID=ANY TS_OK SIGN=587047A2E876
FEATURE MapXtremeDesktop unisw20 6.0 permanent uncounted HOSTID=ANY \
TS_OK SIGN=4F1B9846086E
FEATURE MapXtremeDesktopSDK unisw20 6.0 permanent uncounted \
HOSTID=ANY TS_OK SIGN=380F26A8EE22
FEATURE MapXtremeWebIntl unisw20 6.0 permanent uncounted HOSTID=ANY \
TS_OK SIGN=DA9F322A1B06
FEATURE MapXtremeWeb unisw20 6.0 permanent uncounted HOSTID=ANY TS_OK \
SIGN=EF06227ECDA4
FEATURE MapXtremeSDK unisw20 6.0 permanent uncounted HOSTID=ANY \
vendor_info=MTUWE TS_OK SIGN=153376928804

TiGERTiAN 2010-09-11 17:50 鍙戣〃璇勮
]]>
Mapxtreme 浠?005 鍗囩駭鍒?2008 鏂規硶http://www.aygfsteel.com/TiGERTiAN/archive/2009/11/03/300955.htmlTiGERTiANTiGERTiANTue, 03 Nov 2009 10:37:00 GMThttp://www.aygfsteel.com/TiGERTiAN/archive/2009/11/03/300955.htmlhttp://www.aygfsteel.com/TiGERTiAN/comments/300955.htmlhttp://www.aygfsteel.com/TiGERTiAN/archive/2009/11/03/300955.html#Feedback0http://www.aygfsteel.com/TiGERTiAN/comments/commentRss/300955.htmlhttp://www.aygfsteel.com/TiGERTiAN/services/trackbacks/300955.html1銆佸皢鍘熸湁鐨勫紩鐢ㄧЩ闄?br /> 2銆佹坊鍔?008鐨勫紩鐢?br /> 3銆佸皢2008鐨勫紩鐢ㄦ枃浠跺睘鎬т腑錛屽鍒舵湰鍦幫紙Copy Local錛夊睘鎬ц緗負false錛屽惁鍒欎細鍑虹幇鎵句笉鍒板緢澶歞ll銆?/p>

TiGERTiAN 2009-11-03 18:37 鍙戣〃璇勮
]]>
C#(.Net) 瑙e喅Informix涓枃涔辯爜闂http://www.aygfsteel.com/TiGERTiAN/archive/2008/02/27/182558.htmlTiGERTiANTiGERTiANWed, 27 Feb 2008 13:30:00 GMThttp://www.aygfsteel.com/TiGERTiAN/archive/2008/02/27/182558.htmlhttp://www.aygfsteel.com/TiGERTiAN/comments/182558.htmlhttp://www.aygfsteel.com/TiGERTiAN/archive/2008/02/27/182558.html#Feedback8http://www.aygfsteel.com/TiGERTiAN/comments/commentRss/182558.htmlhttp://www.aygfsteel.com/TiGERTiAN/services/trackbacks/182558.html        public static string GetEncodingString(string srcString)
        
{
            Encoding e8859Encode 
= Encoding.GetEncoding("iso-8859-1");
            Encoding srcEncode 
= Encoding.GetEncoding("gb2312");
            Encoding dstEncode 
= Encoding.Unicode;
            
byte[] srcBytes = e8859Encode.GetBytes(srcString);//鐢╥so-8859-1鍘昏漿鎹㈡簮瀛楃涓?/span>
            byte[] dstBytes = Encoding.Convert(srcEncode, dstEncode, srcBytes);//浣嗘槸錛屾槸浠巊b2312杞埌unicode鐨?/span>
            char[] dstChars = new char[dstEncode.GetCharCount(dstBytes, 0, dstBytes.Length)];
            dstEncode.GetChars(dstBytes, 
0, dstBytes.Length, dstChars, 0);
            
return new string(dstChars);
            
        }
鍏蜂綋鍘熷洜鎴戞帹嫻嬫槸鍥犱負鏁版嵁榪囨潵鏄疘SO-8859-1,浣?Net搴曞眰澶勭悊鎴愪簡Gb2312浜嗭紝鎵浠ラ渶瑕侀氳繃涓ょ緙栫爜杞崲鎴怳nicode鎵嶈兘姝e父鏄劇ず錛屽惉璇村湪Java涓彧瑕乶ew String(s.getBytes("ISO-8859-1"),"gb2312");灝監K浜嗐?

TiGERTiAN 2008-02-27 21:30 鍙戣〃璇勮
]]>
Mapxtreme 娣誨姞鍜屽垹闄ゅ浘鍏冨茍涓旀坊鍔犱竴浜涜嚜瀹氫箟鐨勫睘鎬?/title><link>http://www.aygfsteel.com/TiGERTiAN/archive/2008/02/25/182065.html</link><dc:creator>TiGERTiAN</dc:creator><author>TiGERTiAN</author><pubDate>Mon, 25 Feb 2008 10:52:00 GMT</pubDate><guid>http://www.aygfsteel.com/TiGERTiAN/archive/2008/02/25/182065.html</guid><wfw:comment>http://www.aygfsteel.com/TiGERTiAN/comments/182065.html</wfw:comment><comments>http://www.aygfsteel.com/TiGERTiAN/archive/2008/02/25/182065.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/TiGERTiAN/comments/commentRss/182065.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/TiGERTiAN/services/trackbacks/182065.html</trackback:ping><description><![CDATA[<div style="padding-right: 5px; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left-color: #cccccc; width: 98%; word-break: break-all; padding-top: 4px; background-color: #eeeeee; "><img id="Codehighlighter1_8_151_Open_Image" onclick="this.style.display='none'; Codehighlighter1_8_151_Open_Text.style.display='none'; Codehighlighter1_8_151_Closed_Image.style.display='inline'; Codehighlighter1_8_151_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_8_151_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_8_151_Closed_Text.style.display='none'; Codehighlighter1_8_151_Open_Image.style.display='inline'; Codehighlighter1_8_151_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedBlock.gif" align="top" alt="" /><span style="color: #000000">        </span><span id="Codehighlighter1_8_151_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff">/**/</span><span id="Codehighlighter1_8_151_Open_Text"><span style="color: #808080">///</span><span style="color: #008000"> </span><span style="color: #808080"><summary></span><span style="color: #008000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        </span><span style="color: #808080">///</span><span style="color: #008000"> 緇欑粰瀹氬浘灞傛坊鍔犲浘鍏?br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        </span><span style="color: #808080">///</span><span style="color: #008000"> </span><span style="color: #808080"></summary></span><span style="color: #008000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        </span><span style="color: #808080">///</span><span style="color: #008000"> </span><span style="color: #808080"><param name="layerName"></param></span><span style="color: #008000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" alt="" />        </span><span style="color: #808080">///</span><span style="color: #008000"> </span><span style="color: #808080"><param name="list"></param></span></span><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /><span style="color: #000000">        </span><span style="color: #0000ff">private</span><span style="color: #000000"> </span><span style="color: #0000ff">void</span><span style="color: #000000"> DrawFeature(</span><span style="color: #0000ff">string</span><span style="color: #000000"> layerName, ArrayList list)<br /> <img id="Codehighlighter1_227_1640_Open_Image" onclick="this.style.display='none'; Codehighlighter1_227_1640_Open_Text.style.display='none'; Codehighlighter1_227_1640_Closed_Image.style.display='inline'; Codehighlighter1_227_1640_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_227_1640_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_227_1640_Closed_Text.style.display='none'; Codehighlighter1_227_1640_Open_Image.style.display='inline'; Codehighlighter1_227_1640_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedBlock.gif" align="top" alt="" />        </span><span id="Codehighlighter1_227_1640_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://www.aygfsteel.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_227_1640_Open_Text"><span style="color: #000000">{<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            DPoint dpoint;<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            Point point;<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            BitmapPointStyle vs;<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            Feature f;<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            FeatureLayer flayer;<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" /><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            </span><span style="color: #0000ff">try</span><span style="color: #000000"><br /> <img id="Codehighlighter1_399_1499_Open_Image" onclick="this.style.display='none'; Codehighlighter1_399_1499_Open_Text.style.display='none'; Codehighlighter1_399_1499_Closed_Image.style.display='inline'; Codehighlighter1_399_1499_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_399_1499_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_399_1499_Closed_Text.style.display='none'; Codehighlighter1_399_1499_Open_Image.style.display='inline'; Codehighlighter1_399_1499_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />            </span><span id="Codehighlighter1_399_1499_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://www.aygfsteel.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_399_1499_Open_Text"><span style="color: #000000">{<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                flayer </span><span style="color: #000000">=</span><span style="color: #000000"> map.Layers[layerName] </span><span style="color: #0000ff">as</span><span style="color: #000000"> FeatureLayer;<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                </span><span style="color: #0000ff">if</span><span style="color: #000000"> (flayer </span><span style="color: #000000">==</span><span style="color: #000000"> </span><span style="color: #0000ff">null</span><span style="color: #000000">)<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    </span><span style="color: #0000ff">return</span><span style="color: #000000">;<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" /><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                Table fTable </span><span style="color: #000000">=</span><span style="color: #000000"> flayer.Table;<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" /><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                </span><span style="color: #0000ff">foreach</span><span style="color: #000000"> (</span><span style="color: #0000ff">object</span><span style="color: #000000"> o </span><span style="color: #0000ff">in</span><span style="color: #000000"> list)<br /> <img id="Codehighlighter1_635_1484_Open_Image" onclick="this.style.display='none'; Codehighlighter1_635_1484_Open_Text.style.display='none'; Codehighlighter1_635_1484_Closed_Image.style.display='inline'; Codehighlighter1_635_1484_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_635_1484_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_635_1484_Closed_Text.style.display='none'; Codehighlighter1_635_1484_Open_Image.style.display='inline'; Codehighlighter1_635_1484_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />                </span><span id="Codehighlighter1_635_1484_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://www.aygfsteel.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_635_1484_Open_Text"><span style="color: #000000">{<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    <br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    Trouble t </span><span style="color: #000000">=</span><span style="color: #000000"> (Trouble) o;<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    dpoint </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> DPoint(t.X, t.Y);<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    point </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> Point(map.GetDisplayCoordSys(), dpoint);<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" /><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    vs </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> BitmapPointStyle();<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    vs.Name </span><span style="color: #000000">=</span><span style="color: #000000"> @t.BmpName;<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    vs.PointSize </span><span style="color: #000000">=</span><span style="color: #000000"> Convert.ToInt16(</span><span style="color: #000000">24</span><span style="color: #000000">);<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    vs.Attributes </span><span style="color: #000000">=</span><span style="color: #000000"> StyleAttributes.PointAttributes.BaseAll;<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    vs.SetApplyAll();<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" /><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    f </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> Feature(fTable.TableInfo.Columns);<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    f.Geometry </span><span style="color: #000000">=</span><span style="color: #000000"> point;<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    f.Style </span><span style="color: #000000">=</span><span style="color: #000000"> vs;<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    f[GlobalHelper.MIFields[</span><span style="color: #000000">0</span><span style="color: #000000">]] </span><span style="color: #000000">=</span><span style="color: #000000"> t.TroubleType;<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    f[GlobalHelper.MIFields[</span><span style="color: #000000">1</span><span style="color: #000000">]] </span><span style="color: #000000">=</span><span style="color: #000000"> t.Id;<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    f[GlobalHelper.MIFields[</span><span style="color: #000000">2</span><span style="color: #000000">]] </span><span style="color: #000000">=</span><span style="color: #000000"> t.SpecTypeCode;<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" /><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" /><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    flayer.Table.InsertFeature(f);<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />                }</span></span><span style="color: #000000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" /><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />            }</span></span><span style="color: #000000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            </span><span style="color: #0000ff">catch</span><span style="color: #000000"> (Exception ex)<br /> <img id="Codehighlighter1_1546_1629_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1546_1629_Open_Text.style.display='none'; Codehighlighter1_1546_1629_Closed_Image.style.display='inline'; Codehighlighter1_1546_1629_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_1546_1629_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_1546_1629_Closed_Text.style.display='none'; Codehighlighter1_1546_1629_Open_Image.style.display='inline'; Codehighlighter1_1546_1629_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />            </span><span id="Codehighlighter1_1546_1629_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://www.aygfsteel.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_1546_1629_Open_Text"><span style="color: #000000">{<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                GlobalHelper.ShowError(</span><span style="color: #000000">"</span><span style="color: #000000">緇樺埗闅愭偅鍥懼厓閿欒錛屽師鍥狅細</span><span style="color: #000000">"</span><span style="color: #000000"> </span><span style="color: #000000">+</span><span style="color: #000000"> ex.Message);<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />            }</span></span><span style="color: #000000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" /><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" alt="" />        }</span></span></div> 涓婂崐閮ㄥ垎閮芥槸鑾峰緱鍦扮悊淇℃伅鍜屽浘鏍囷紝鍒頒簡榪欒竟<br /> <br />                     f = new Feature(fTable.TableInfo.Columns);<br />                     f.Geometry = point;<br />                     f.Style = vs;<br />                     f[GlobalHelper.MIFields[0]] = t.TroubleType;<br />                     f[GlobalHelper.MIFields[1]] = t.Id;<br />                     f[GlobalHelper.MIFields[2]] = t.SpecTypeCode;<br /> 絎竴鍙ヤ富瑕佹槸浠庡浘灞傜殑琛ㄤ腑鑾峰緱鍒楃粨鏋勶紝鐒跺悗緇欒繖涓猣eature璧嬪煎湴鐞嗕俊鎭拰鍥炬爣錛屽悗闈笁鍙ュ氨鏄粰榪欎釜feature娣誨姞緙栧彿鍜岀被鍨嬬瓑淇℃伅錛堝綋鐒惰繖浜涘睘鎬ч兘鏄浘灞傝〃涓殑緇撴瀯錛夛紝榪欐牱褰撶偣鍑誨浘鍏冪殑鏃跺欏彲浠ユ牴鎹繖浜涗俊鎭繘琛屾悳绱?br /> 褰撶劧濡傛灉鍥劇墖涓嶅湪緋葷粺鑷畾涔夊浘鐗囩洰褰曚笅錛屼綘闇瑕佽嚜瀹氫箟涓涓浘鐗囦粨搴擄細<br />                 bool value = Session.Current.StyleRepository.BitmapPointStyleRepository.Reload(Constants.AppPath + "Resources");<br /> 涔嬪悗灝卞彲浠ヤ嬌鐢?br />                 vs = new BitmapPointStyle();<br />                 vs.Name = @t.BmpName;<br /> 鐩存帴杞藉叆鐩稿叧鍥劇墖浜嗭紝璇存槑涓鐐癸紝鍥劇墖闇瑕佹槸4浣嶈壊娣辯殑錛屽鏋滄槸鏇村ぇ鐨勮壊娣卞垯鍥劇墖浼氭棤娉曡澆鍏ワ紝鍦ㄥ湴鍥句笂浼氭樉紺轟竴涓粦鏂瑰潡銆?br /> <img src ="http://www.aygfsteel.com/TiGERTiAN/aggbug/182065.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/TiGERTiAN/" target="_blank">TiGERTiAN</a> 2008-02-25 18:52 <a href="http://www.aygfsteel.com/TiGERTiAN/archive/2008/02/25/182065.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Mapxtreme 娣誨姞鑷畾涔夊伐鍏鳳紝嫻嬮噺璺濈錛屾祴閲忛潰縐瓑絳?/title><link>http://www.aygfsteel.com/TiGERTiAN/archive/2008/02/25/181992.html</link><dc:creator>TiGERTiAN</dc:creator><author>TiGERTiAN</author><pubDate>Mon, 25 Feb 2008 06:30:00 GMT</pubDate><guid>http://www.aygfsteel.com/TiGERTiAN/archive/2008/02/25/181992.html</guid><wfw:comment>http://www.aygfsteel.com/TiGERTiAN/comments/181992.html</wfw:comment><comments>http://www.aygfsteel.com/TiGERTiAN/archive/2008/02/25/181992.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.aygfsteel.com/TiGERTiAN/comments/commentRss/181992.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/TiGERTiAN/services/trackbacks/181992.html</trackback:ping><description><![CDATA[     鎽樿: 娣誨姞鐩稿簲宸ュ叿             //娣誨姞鑷畾涔夋祴閲忚窛紱?            mapControl.Tools.Add("DistanceToo...  <a href='http://www.aygfsteel.com/TiGERTiAN/archive/2008/02/25/181992.html'>闃呰鍏ㄦ枃</a><img src ="http://www.aygfsteel.com/TiGERTiAN/aggbug/181992.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/TiGERTiAN/" target="_blank">TiGERTiAN</a> 2008-02-25 14:30 <a href="http://www.aygfsteel.com/TiGERTiAN/archive/2008/02/25/181992.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>mapxtreme 楣扮溂鍥劇殑寮鍙?/title><link>http://www.aygfsteel.com/TiGERTiAN/archive/2008/02/25/181988.html</link><dc:creator>TiGERTiAN</dc:creator><author>TiGERTiAN</author><pubDate>Mon, 25 Feb 2008 06:24:00 GMT</pubDate><guid>http://www.aygfsteel.com/TiGERTiAN/archive/2008/02/25/181988.html</guid><wfw:comment>http://www.aygfsteel.com/TiGERTiAN/comments/181988.html</wfw:comment><comments>http://www.aygfsteel.com/TiGERTiAN/archive/2008/02/25/181988.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.aygfsteel.com/TiGERTiAN/comments/commentRss/181988.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/TiGERTiAN/services/trackbacks/181988.html</trackback:ping><description><![CDATA[<p>寰堜箙娌″啓blog浜嗭紝澶囦喚涓涓嬶紝榪欐浠g爜鏄垜浠庣綉涓婄湅鏉ョ殑錛屾牴鎹渶瑕佷慨鏀逛簡涓涓嬨?br /> </p> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><img id="Codehighlighter1_7_61_Open_Image" onclick="this.style.display='none'; Codehighlighter1_7_61_Open_Text.style.display='none'; Codehighlighter1_7_61_Closed_Image.style.display='inline'; Codehighlighter1_7_61_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_7_61_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_7_61_Closed_Text.style.display='none'; Codehighlighter1_7_61_Open_Image.style.display='inline'; Codehighlighter1_7_61_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedBlock.gif" align="top" alt="" /><span style="color: #000000">       </span><span id="Codehighlighter1_7_61_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff">/**/</span><span id="Codehighlighter1_7_61_Open_Text"><span style="color: #808080">///</span><span style="color: #008000"> </span><span style="color: #808080"><summary></span><span style="color: #008000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        </span><span style="color: #808080">///</span><span style="color: #008000"> 鏇存柊楣扮溂鍥?br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" alt="" />        </span><span style="color: #808080">///</span><span style="color: #008000"> </span><span style="color: #808080"></summary></span></span><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /><span style="color: #000000">        </span><span style="color: #0000ff">private</span><span style="color: #000000"> </span><span style="color: #0000ff">void</span><span style="color: #000000"> UpdateEyeMap()<br /> <img id="Codehighlighter1_106_2386_Open_Image" onclick="this.style.display='none'; Codehighlighter1_106_2386_Open_Text.style.display='none'; Codehighlighter1_106_2386_Closed_Image.style.display='inline'; Codehighlighter1_106_2386_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_106_2386_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_106_2386_Closed_Text.style.display='none'; Codehighlighter1_106_2386_Open_Image.style.display='inline'; Codehighlighter1_106_2386_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedBlock.gif" align="top" alt="" />        </span><span id="Codehighlighter1_106_2386_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://www.aygfsteel.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_106_2386_Open_Text"><span style="color: #000000">{<br /> <img id="Codehighlighter1_124_2264_Open_Image" onclick="this.style.display='none'; Codehighlighter1_124_2264_Open_Text.style.display='none'; Codehighlighter1_124_2264_Closed_Image.style.display='inline'; Codehighlighter1_124_2264_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_124_2264_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_124_2264_Closed_Text.style.display='none'; Codehighlighter1_124_2264_Open_Image.style.display='inline'; Codehighlighter1_124_2264_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />            </span><span style="color: #0000ff">try</span><span style="color: #000000"> </span><span id="Codehighlighter1_124_2264_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://www.aygfsteel.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_124_2264_Open_Text"><span style="color: #000000">{<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                </span><span style="color: #008000">//</span><span style="color: #008000">濡傛灉涓誨浘鍜岄拱鐪煎浘鍔犺澆鐨勬槸鍚屼竴瀹炰緥錛岄偅涔堥拱鐪煎浘灝遍渶瑕佹嫻嬫槸鍚︽湁鏁?br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                </span><span style="color: #008000">//</span><span style="color: #008000">if (eyeMap != null)</span><span style="color: #008000"><br /> <img id="Codehighlighter1_230_2236_Open_Image" onclick="this.style.display='none'; Codehighlighter1_230_2236_Open_Text.style.display='none'; Codehighlighter1_230_2236_Closed_Image.style.display='inline'; Codehighlighter1_230_2236_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_230_2236_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_230_2236_Closed_Text.style.display='none'; Codehighlighter1_230_2236_Open_Image.style.display='inline'; Codehighlighter1_230_2236_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" /></span><span style="color: #000000">                </span><span id="Codehighlighter1_230_2236_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://www.aygfsteel.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_230_2236_Open_Text"><span style="color: #000000">{<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    </span><span style="color: #008000">//</span><span style="color: #008000">鍔犺澆楣扮溂鐭╁艦涓存椂琛?/span><span style="color: #008000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" /></span><span style="color: #000000">                    Table tblRect;<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    tblRect </span><span style="color: #000000">=</span><span style="color: #000000"> Session.Current.Catalog.GetTable(</span><span style="color: #000000">"</span><span style="color: #000000">TempRect</span><span style="color: #000000">"</span><span style="color: #000000">);<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    </span><span style="color: #0000ff">if</span><span style="color: #000000"> (tblRect </span><span style="color: #000000">!=</span><span style="color: #000000"> </span><span style="color: #0000ff">null</span><span style="color: #000000">)<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                        tblRect.Close();<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    TableInfo tblInfo;<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    tblInfo </span><span style="color: #000000">=</span><span style="color: #000000"> TableInfoFactory.CreateTemp(</span><span style="color: #000000">"</span><span style="color: #000000">TempRect</span><span style="color: #000000">"</span><span style="color: #000000">);<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    TableSessionInfo tblSessionInfo </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> TableSessionInfo();<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" /><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    tblRect </span><span style="color: #000000">=</span><span style="color: #000000"> Session.Current.Catalog.CreateTable(tblInfo, tblSessionInfo);<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    FeatureLayer feaLayer </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> FeatureLayer(tblRect);<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    eyeMap.Layers.Insert(</span><span style="color: #000000">0</span><span style="color: #000000">, feaLayer);<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" /><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    </span><span style="color: #008000">//</span><span style="color: #008000">瀹炴椂鍦ㄩ拱鐪間復鏃惰〃鍥句笂鐢葷煩褰?/span><span style="color: #008000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" /></span><span style="color: #000000">                    tblRect </span><span style="color: #000000">=</span><span style="color: #000000"> Session.Current.Catalog.GetTable(</span><span style="color: #000000">"</span><span style="color: #000000">TempRect</span><span style="color: #000000">"</span><span style="color: #000000">);<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    (tblRect </span><span style="color: #0000ff">as</span><span style="color: #000000"> ITableFeatureCollection).Clear();</span><span style="color: #008000">//</span><span style="color: #008000">娓呴櫎褰撳墠灞備笂鐨勫浘鍏?br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" /><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    </span><span style="color: #008000">//</span><span style="color: #008000">璁劇疆鐭╁艦鐨勬牱寮?/span><span style="color: #008000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" /></span><span style="color: #000000">                    DRect rect </span><span style="color: #000000">=</span><span style="color: #000000"> mapControl.Map.Bounds;<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    FeatureGeometry feageo </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> MapInfo.Geometry.Rectangle(mapControl.Map.GetDisplayCoordSys(), rect);<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    SimpleLineStyle simLineStyle </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> SimpleLineStyle(</span><span style="color: #0000ff">new</span><span style="color: #000000"> LineWidth(</span><span style="color: #000000">2</span><span style="color: #000000">, MapInfo.Styles.LineWidthUnit.Point), </span><span style="color: #000000">2</span><span style="color: #000000">, System.Drawing.Color.Red);<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    SimpleInterior simInterior </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> SimpleInterior(</span><span style="color: #000000">9</span><span style="color: #000000">, System.Drawing.Color.Gray, System.Drawing.Color.Green, </span><span style="color: #0000ff">true</span><span style="color: #000000">);<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    CompositeStyle comStyle </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> CompositeStyle(</span><span style="color: #0000ff">new</span><span style="color: #000000"> AreaStyle(simLineStyle, simInterior), </span><span style="color: #0000ff">null</span><span style="color: #000000">, </span><span style="color: #0000ff">null</span><span style="color: #000000">, </span><span style="color: #0000ff">null</span><span style="color: #000000">);<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" /><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    </span><span style="color: #008000">//</span><span style="color: #008000">灝嗙煩褰㈡彃鍏ュ埌鍥懼眰涓?/span><span style="color: #008000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" /></span><span style="color: #000000">                    Feature fea </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> Feature(feageo, comStyle);<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    tblRect.InsertFeature(fea);<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    </span><span style="color: #008000">//</span><span style="color: #008000">閲嶆柊瀹氫綅楣扮溂鍥劇殑涓績</span><span style="color: #008000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" /></span><span style="color: #000000">                    eyeMap.Center </span><span style="color: #000000">=</span><span style="color: #000000"> map.Center;<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    eyeMap.Layers[</span><span style="color: #000000">"</span><span style="color: #000000">TempRect</span><span style="color: #000000">"</span><span style="color: #000000">].Invalidate();<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" /><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    </span><span style="color: #008000">//</span><span style="color: #008000">娓呯悊瀵硅薄鍙橀噺</span><span style="color: #008000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" /></span><span style="color: #000000">                    tblSessionInfo </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">null</span><span style="color: #000000">;<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    feageo </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">null</span><span style="color: #000000">;<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    simLineStyle </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">null</span><span style="color: #000000">;<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    simInterior </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">null</span><span style="color: #000000">;<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    comStyle </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">null</span><span style="color: #000000">;<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    fea </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">null</span><span style="color: #000000">;<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />                }</span></span><span style="color: #000000">              <br /> <img id="Codehighlighter1_2285_2362_Open_Image" onclick="this.style.display='none'; Codehighlighter1_2285_2362_Open_Text.style.display='none'; Codehighlighter1_2285_2362_Closed_Image.style.display='inline'; Codehighlighter1_2285_2362_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_2285_2362_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_2285_2362_Closed_Text.style.display='none'; Codehighlighter1_2285_2362_Open_Image.style.display='inline'; Codehighlighter1_2285_2362_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />            }</span></span><span style="color: #0000ff">catch</span><span style="color: #000000">(Exception ex) </span><span id="Codehighlighter1_2285_2362_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://www.aygfsteel.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_2285_2362_Open_Text"><span style="color: #000000">{<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                GlobalHelper.ShowError(</span><span style="color: #000000">"</span><span style="color: #000000">鏄劇ず楣扮溂鍥鵑敊璇紝</span><span style="color: #000000">"</span><span style="color: #000000">+</span><span style="color: #000000">ex.Message);<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />            }</span></span><span style="color: #000000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" /> <br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />           <br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" alt="" />        }</span></span></div> 灝嗚鍑芥暟鏀懼叆Map_ViewChangedEvent浜嬩歡涓紝姣忓綋涓誨浘鏀瑰彉鐨勬椂鍊欓拱鐪煎浘浼氳窡鐫鍙樺寲錛屼笉榪囬熷害鎱簡鐐癸紝鍥犱負闇瑕侀噸緇樻柟妗嗗拰縐誨姩涓績鍧愭爣銆?br /> 褰撶劧涔嬪墠浣犺杞藉叆鍜屼富鍥句竴鏍風殑鍦板浘錛?br /> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /><span style="color: #000000">                </span><span style="color: #008000">//</span><span style="color: #008000">楣扮溂鍥懼姞杞斤紝娣誨姞涓嶅悓瀹炰緥錛屽噺灝忚﹀悎鎬?/span><span style="color: #008000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #000000">                eyeMap.Load(</span><span style="color: #0000ff">new</span><span style="color: #000000"> MapGeosetLoader(basePath </span><span style="color: #000000">+</span><span style="color: #000000"> GlobalHelper.IniFile[</span><span style="color: #000000">"</span><span style="color: #000000">GST</span><span style="color: #000000">"</span><span style="color: #000000">][</span><span style="color: #000000">"</span><span style="color: #000000">gstFile</span><span style="color: #000000">"</span><span style="color: #000000">]));</span></div> <img src ="http://www.aygfsteel.com/TiGERTiAN/aggbug/181988.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/TiGERTiAN/" target="_blank">TiGERTiAN</a> 2008-02-25 14:24 <a href="http://www.aygfsteel.com/TiGERTiAN/archive/2008/02/25/181988.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鍙屽嚮鏍戝瀷鑿滃崟錛屽湴鍥捐嚜鍔ㄥ畾浣嶃?/title><link>http://www.aygfsteel.com/TiGERTiAN/archive/2008/02/05/179318.html</link><dc:creator>TiGERTiAN</dc:creator><author>TiGERTiAN</author><pubDate>Mon, 04 Feb 2008 18:58:00 GMT</pubDate><guid>http://www.aygfsteel.com/TiGERTiAN/archive/2008/02/05/179318.html</guid><wfw:comment>http://www.aygfsteel.com/TiGERTiAN/comments/179318.html</wfw:comment><comments>http://www.aygfsteel.com/TiGERTiAN/archive/2008/02/05/179318.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/TiGERTiAN/comments/commentRss/179318.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/TiGERTiAN/services/trackbacks/179318.html</trackback:ping><description><![CDATA[榪欏姛鑳芥湁涓涓湴鏂硅楄垂浜嗘垜涓涓櫄涓婂悗鏉ユ墠鍙戠幇鏄嚜宸辨妸鍥懼眰鍚嶇О寮勯敊浜嗗鑷存庝箞閮芥壘涓嶅埌鍦板浘涓婂搴旂殑鐐廣傘傛皵姝繪垜浜嗐傘傜湅鏉ヤ笅嬈¤澶氭崲涓剳瀛愭兂鎯熾?br /> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /><span style="color: #000000">        </span><span style="color: #0000ff">private</span><span style="color: #000000"> </span><span style="color: #0000ff">void</span><span style="color: #000000"> treeViewEquipment_NodeMouseDoubleClick(</span><span style="color: #0000ff">object</span><span style="color: #000000"> sender, TreeNodeMouseClickEventArgs e)<br /> <img id="Codehighlighter1_114_503_Open_Image" onclick="this.style.display='none'; Codehighlighter1_114_503_Open_Text.style.display='none'; Codehighlighter1_114_503_Closed_Image.style.display='inline'; Codehighlighter1_114_503_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_114_503_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_114_503_Closed_Text.style.display='none'; Codehighlighter1_114_503_Open_Image.style.display='inline'; Codehighlighter1_114_503_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedBlock.gif" align="top" alt="" />        </span><span id="Codehighlighter1_114_503_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://www.aygfsteel.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_114_503_Open_Text"><span style="color: #000000">{<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            IResultSetFeatureCollection result </span><span style="color: #000000">=</span><span style="color: #000000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                 Session.Current.Catalog.Search(</span><span style="color: #000000">"</span><span style="color: #000000">鍩虹珯绔欑偣璧勬簮妯″瀷</span><span style="color: #000000">"</span><span style="color: #000000">, MapInfo.Data.SearchInfoFactory.SearchWhere(</span><span style="color: #000000">"</span><span style="color: #000000">ID='</span><span style="color: #000000">"</span><span style="color: #000000"> </span><span style="color: #000000">+</span><span style="color: #000000"> e.Node.Name </span><span style="color: #000000">+</span><span style="color: #000000"> </span><span style="color: #000000">"</span><span style="color: #000000">'</span><span style="color: #000000">"</span><span style="color: #000000">));<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" /><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            </span><span style="color: #0000ff">if</span><span style="color: #000000"> (result.Count </span><span style="color: #000000"><</span><span style="color: #000000"> </span><span style="color: #000000">1</span><span style="color: #000000">)<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                </span><span style="color: #0000ff">return</span><span style="color: #000000">;<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" /><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            mapControl.Map.SetView(result.Envelope);<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            mapControl.Map.Zoom</span><span style="color: #000000">=</span><span style="color: #0000ff">new</span><span style="color: #000000"> Distance(</span><span style="color: #000000">1</span><span style="color: #000000">,DistanceUnit.Kilometer);            <br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" alt="" />        }</span></span></div> 榪欎釜鍑芥暟鐨勫姛鑳藉氨鏄悳绱㈠綋鍓嶅湴鍥句笂ID絳変簬緇欏畾ID鐨勭偣錛屽鏋滃瓨鍦ㄥ垯瀹氫綅錛屽惁鍒欒繑鍥炪?br /> 娉ㄦ剰榪欓噷鐨勬煡璇㈣鍙ユ槸鍗曞紩鍙鳳紝涓嶆槸Mapinfo Professional鍜孧apx涓殑鍙屽紩鍙楓? <img src ="http://www.aygfsteel.com/TiGERTiAN/aggbug/179318.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/TiGERTiAN/" target="_blank">TiGERTiAN</a> 2008-02-05 02:58 <a href="http://www.aygfsteel.com/TiGERTiAN/archive/2008/02/05/179318.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鎺у埗鍚勪釜鑷畾涔夊浘灞傛樉紺?/title><link>http://www.aygfsteel.com/TiGERTiAN/archive/2008/02/05/179317.html</link><dc:creator>TiGERTiAN</dc:creator><author>TiGERTiAN</author><pubDate>Mon, 04 Feb 2008 18:54:00 GMT</pubDate><guid>http://www.aygfsteel.com/TiGERTiAN/archive/2008/02/05/179317.html</guid><wfw:comment>http://www.aygfsteel.com/TiGERTiAN/comments/179317.html</wfw:comment><comments>http://www.aygfsteel.com/TiGERTiAN/archive/2008/02/05/179317.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/TiGERTiAN/comments/commentRss/179317.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/TiGERTiAN/services/trackbacks/179317.html</trackback:ping><description><![CDATA[鍦ㄨ澆鍏ュ浘灞傜殑鏃跺欏氨灝嗗悇鍥懼眰鍚嶇О涓㈠叆鍒板瓙鎺т歡鐨刲ayerList涓紝騫惰皟鐢⊿howLayers()鏉ユ妸鍚勪釜鍥懼眰鏄劇ず鍑烘潵騫跺姞涓奀heckBox鏉ユ帶鍒跺浘灞傜殑鏄劇ず銆?br /> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><img id="Codehighlighter1_8_63_Open_Image" onclick="this.style.display='none'; Codehighlighter1_8_63_Open_Text.style.display='none'; Codehighlighter1_8_63_Closed_Image.style.display='inline'; Codehighlighter1_8_63_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_8_63_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_8_63_Closed_Text.style.display='none'; Codehighlighter1_8_63_Open_Image.style.display='inline'; Codehighlighter1_8_63_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedBlock.gif" align="top" alt="" /><span style="color: #000000">        </span><span id="Codehighlighter1_8_63_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff">/**/</span><span id="Codehighlighter1_8_63_Open_Text"><span style="color: #808080">///</span><span style="color: #008000"> </span><span style="color: #808080"><summary></span><span style="color: #008000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        </span><span style="color: #808080">///</span><span style="color: #008000"> 鏄劇ず鍥懼眰鍚嶇О<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" alt="" />        </span><span style="color: #808080">///</span><span style="color: #008000"> </span><span style="color: #808080"></summary></span></span><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /><span style="color: #000000">        </span><span style="color: #0000ff">public</span><span style="color: #000000"> </span><span style="color: #0000ff">void</span><span style="color: #000000"> ShowLayers()<br /> <img id="Codehighlighter1_105_290_Open_Image" onclick="this.style.display='none'; Codehighlighter1_105_290_Open_Text.style.display='none'; Codehighlighter1_105_290_Closed_Image.style.display='inline'; Codehighlighter1_105_290_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_105_290_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_105_290_Closed_Text.style.display='none'; Codehighlighter1_105_290_Open_Image.style.display='inline'; Codehighlighter1_105_290_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedBlock.gif" align="top" alt="" />        </span><span id="Codehighlighter1_105_290_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://www.aygfsteel.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_105_290_Open_Text"><span style="color: #000000">{<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            checkedListBoxLayerControl.Items.Clear();<br /> <img id="Codehighlighter1_205_280_Open_Image" onclick="this.style.display='none'; Codehighlighter1_205_280_Open_Text.style.display='none'; Codehighlighter1_205_280_Closed_Image.style.display='inline'; Codehighlighter1_205_280_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_205_280_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_205_280_Closed_Text.style.display='none'; Codehighlighter1_205_280_Open_Image.style.display='inline'; Codehighlighter1_205_280_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />            </span><span style="color: #0000ff">foreach</span><span style="color: #000000">(</span><span style="color: #0000ff">string</span><span style="color: #000000"> layer </span><span style="color: #0000ff">in</span><span style="color: #000000"> layers) </span><span id="Codehighlighter1_205_280_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://www.aygfsteel.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_205_280_Open_Text"><span style="color: #000000">{<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                checkedListBoxLayerControl.Items.Add(layer);<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />            }</span></span><span style="color: #000000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" alt="" />        }</span></span></div> 鐢ㄥ埌浜咰heckedListBox鎺т歡銆?br /> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><img id="Codehighlighter1_8_152_Open_Image" onclick="this.style.display='none'; Codehighlighter1_8_152_Open_Text.style.display='none'; Codehighlighter1_8_152_Closed_Image.style.display='inline'; Codehighlighter1_8_152_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_8_152_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_8_152_Closed_Text.style.display='none'; Codehighlighter1_8_152_Open_Image.style.display='inline'; Codehighlighter1_8_152_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedBlock.gif" align="top" alt="" /><span style="color: #000000">        </span><span id="Codehighlighter1_8_152_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff">/**/</span><span id="Codehighlighter1_8_152_Open_Text"><span style="color: #808080">///</span><span style="color: #008000"> </span><span style="color: #808080"><summary></span><span style="color: #008000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        </span><span style="color: #808080">///</span><span style="color: #008000"> 鍏ㄩ夋寜閽敼鍙楥hecked鐘舵佹椂<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        </span><span style="color: #808080">///</span><span style="color: #008000"> </span><span style="color: #808080"></summary></span><span style="color: #008000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        </span><span style="color: #808080">///</span><span style="color: #008000"> </span><span style="color: #808080"><param name="sender"></param></span><span style="color: #008000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" alt="" />        </span><span style="color: #808080">///</span><span style="color: #008000"> </span><span style="color: #808080"><param name="e"></param></span></span><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /><span style="color: #000000">        </span><span style="color: #0000ff">private</span><span style="color: #000000"> </span><span style="color: #0000ff">void</span><span style="color: #000000"> checkBoxAll_CheckedChanged(</span><span style="color: #0000ff">object</span><span style="color: #000000"> sender, EventArgs e)<br /> <img id="Codehighlighter1_237_781_Open_Image" onclick="this.style.display='none'; Codehighlighter1_237_781_Open_Text.style.display='none'; Codehighlighter1_237_781_Closed_Image.style.display='inline'; Codehighlighter1_237_781_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_237_781_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_237_781_Closed_Text.style.display='none'; Codehighlighter1_237_781_Open_Image.style.display='inline'; Codehighlighter1_237_781_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedBlock.gif" align="top" alt="" />        </span><span id="Codehighlighter1_237_781_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://www.aygfsteel.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_237_781_Open_Text"><span style="color: #000000">{<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" /><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            </span><span style="color: #0000ff">if</span><span style="color: #000000"> (checkBoxAll.Checked)<br /> <img id="Codehighlighter1_289_530_Open_Image" onclick="this.style.display='none'; Codehighlighter1_289_530_Open_Text.style.display='none'; Codehighlighter1_289_530_Closed_Image.style.display='inline'; Codehighlighter1_289_530_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_289_530_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_289_530_Closed_Text.style.display='none'; Codehighlighter1_289_530_Open_Image.style.display='inline'; Codehighlighter1_289_530_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />            </span><span id="Codehighlighter1_289_530_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://www.aygfsteel.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_289_530_Open_Text"><span style="color: #000000">{<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                </span><span style="color: #008000">//</span><span style="color: #008000">琚夋嫨浜嗗垯灝咰heckedListBox涓殑鎵鏈夋潯鐩兘鍙樹負Checked鐘舵?/span><span style="color: #008000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" /></span><span style="color: #000000">                </span><span style="color: #0000ff">for</span><span style="color: #000000"> (</span><span style="color: #0000ff">int</span><span style="color: #000000"> i </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #000000">0</span><span style="color: #000000">; i </span><span style="color: #000000"><</span><span style="color: #000000"> checkedListBoxLayerControl.Items.Count; i</span><span style="color: #000000">++</span><span style="color: #000000">)<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    checkedListBoxLayerControl.SetItemCheckState(i, CheckState.Checked);<br /> <img id="Codehighlighter1_536_771_Open_Image" onclick="this.style.display='none'; Codehighlighter1_536_771_Open_Text.style.display='none'; Codehighlighter1_536_771_Closed_Image.style.display='inline'; Codehighlighter1_536_771_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_536_771_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_536_771_Closed_Text.style.display='none'; Codehighlighter1_536_771_Open_Image.style.display='inline'; Codehighlighter1_536_771_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />            }</span></span><span style="color: #0000ff">else</span><span style="color: #000000"> </span><span id="Codehighlighter1_536_771_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://www.aygfsteel.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_536_771_Open_Text"><span style="color: #000000">{<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                </span><span style="color: #008000">//</span><span style="color: #008000">鍚﹀垯鍙樻垚Unchecked鐘舵?/span><span style="color: #008000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" /></span><span style="color: #000000">                </span><span style="color: #0000ff">for</span><span style="color: #000000"> (</span><span style="color: #0000ff">int</span><span style="color: #000000"> i </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #000000">0</span><span style="color: #000000">; i </span><span style="color: #000000"><</span><span style="color: #000000"> checkedListBoxLayerControl.Items.Count; i</span><span style="color: #000000">++</span><span style="color: #000000">)<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    checkedListBoxLayerControl.SetItemCheckState(i, CheckState.Unchecked);               <br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />            }</span></span><span style="color: #000000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" alt="" />        }</span></span><span style="color: #000000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> <img id="Codehighlighter1_792_950_Open_Image" onclick="this.style.display='none'; Codehighlighter1_792_950_Open_Text.style.display='none'; Codehighlighter1_792_950_Closed_Image.style.display='inline'; Codehighlighter1_792_950_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_792_950_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_792_950_Closed_Text.style.display='none'; Codehighlighter1_792_950_Open_Image.style.display='inline'; Codehighlighter1_792_950_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedBlock.gif" align="top" alt="" />        </span><span id="Codehighlighter1_792_950_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff">/**/</span><span id="Codehighlighter1_792_950_Open_Text"><span style="color: #808080">///</span><span style="color: #008000"> </span><span style="color: #808080"><summary></span><span style="color: #008000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        </span><span style="color: #808080">///</span><span style="color: #008000"> CheckedListBox涓殑鏉$洰鏀瑰彉Checked鐘舵佹椂<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        </span><span style="color: #808080">///</span><span style="color: #008000"> </span><span style="color: #808080"></summary></span><span style="color: #008000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        </span><span style="color: #808080">///</span><span style="color: #008000"> </span><span style="color: #808080"><param name="sender"></param></span><span style="color: #008000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" alt="" />        </span><span style="color: #808080">///</span><span style="color: #008000"> </span><span style="color: #808080"><param name="e"></param></span></span><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /><span style="color: #000000">        </span><span style="color: #0000ff">private</span><span style="color: #000000"> </span><span style="color: #0000ff">void</span><span style="color: #000000"> checkedListBoxLayerControl_ItemCheck(</span><span style="color: #0000ff">object</span><span style="color: #000000"> sender, ItemCheckEventArgs e)<br /> <img id="Codehighlighter1_1054_1451_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1054_1451_Open_Text.style.display='none'; Codehighlighter1_1054_1451_Closed_Image.style.display='inline'; Codehighlighter1_1054_1451_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_1054_1451_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_1054_1451_Closed_Text.style.display='none'; Codehighlighter1_1054_1451_Open_Image.style.display='inline'; Codehighlighter1_1054_1451_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedBlock.gif" align="top" alt="" />        </span><span id="Codehighlighter1_1054_1451_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://www.aygfsteel.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_1054_1451_Open_Text"><span style="color: #000000">{<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            </span><span style="color: #0000ff">if</span><span style="color: #000000"> (e.NewValue </span><span style="color: #000000">==</span><span style="color: #000000"> CheckState.Checked)<br /> <img id="Codehighlighter1_1118_1285_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1118_1285_Open_Text.style.display='none'; Codehighlighter1_1118_1285_Closed_Image.style.display='inline'; Codehighlighter1_1118_1285_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_1118_1285_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_1118_1285_Closed_Text.style.display='none'; Codehighlighter1_1118_1285_Open_Image.style.display='inline'; Codehighlighter1_1118_1285_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />            </span><span id="Codehighlighter1_1118_1285_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://www.aygfsteel.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_1118_1285_Open_Text"><span style="color: #000000">{<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                </span><span style="color: #008000">//</span><span style="color: #008000">琚夋嫨浜嗗垯鏄劇ず鐩稿簲鍥懼眰</span><span style="color: #008000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" /></span><span style="color: #000000">                mapControl.Map.Layers[checkedListBoxLayerControl.Items[e.Index].ToString()].Enabled </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">true</span><span style="color: #000000">;               <br /> <img id="Codehighlighter1_1291_1441_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1291_1441_Open_Text.style.display='none'; Codehighlighter1_1291_1441_Closed_Image.style.display='inline'; Codehighlighter1_1291_1441_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_1291_1441_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_1291_1441_Closed_Text.style.display='none'; Codehighlighter1_1291_1441_Open_Image.style.display='inline'; Codehighlighter1_1291_1441_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />            }</span></span><span style="color: #0000ff">else</span><span style="color: #000000"> </span><span id="Codehighlighter1_1291_1441_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://www.aygfsteel.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_1291_1441_Open_Text"><span style="color: #000000">{<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                </span><span style="color: #008000">//</span><span style="color: #008000">鍚﹀垯闅愯棌鐩稿簲鍥懼眰</span><span style="color: #008000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" /></span><span style="color: #000000">                mapControl.Map.Layers[checkedListBoxLayerControl.Items[e.Index].ToString()].Enabled </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">false</span><span style="color: #000000">;<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />            }</span></span><span style="color: #000000"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" alt="" />        }</span></span></div> 鏈潵鎯沖仛鎴愬彧瑕乁ncheck涓涓浘灞傦紝CheckAll灝變細鑷姩鍙樻垚Unchecked鐘舵侊紝浣嗘槸瀹為檯褰撲腑濡傛灉榪欐牱鍋氱殑璇濅細褰卞搷鍏朵粬鐨勪竴浜涘姛鑳斤紝鏆備笖涓嶈繖鏍峰仛錛岀瓑鍚庨潰鎯沖ソ浜嗗啀閲嶆瀯銆? <img src ="http://www.aygfsteel.com/TiGERTiAN/aggbug/179317.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/TiGERTiAN/" target="_blank">TiGERTiAN</a> 2008-02-05 02:54 <a href="http://www.aygfsteel.com/TiGERTiAN/archive/2008/02/05/179317.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>涓轟簡璁ML鐢熸垚鏍戝瀷鑿滃崟鍐欑殑涓涓猉mlParserhttp://www.aygfsteel.com/TiGERTiAN/archive/2008/02/05/179316.htmlTiGERTiANTiGERTiANMon, 04 Feb 2008 18:47:00 GMThttp://www.aygfsteel.com/TiGERTiAN/archive/2008/02/05/179316.htmlhttp://www.aygfsteel.com/TiGERTiAN/comments/179316.htmlhttp://www.aygfsteel.com/TiGERTiAN/archive/2008/02/05/179316.html#Feedback0http://www.aygfsteel.com/TiGERTiAN/comments/commentRss/179316.htmlhttp://www.aygfsteel.com/TiGERTiAN/services/trackbacks/179316.html    /// <summary>
    
/// XML瑙f瀽鍣?br />     /// </summary>

    public class XmlParsers
    
{
        
/// <summary>
        
/// 鍏叡瑙f瀽鏂規硶
        
/// </summary>
        
/// <param name="nodeList"></param>
        
/// <param name="treeNode"></param>
        
/// <param name="table"></param>

        public static void Parse(XmlNodeList nodeList, TreeNodeCollection treeNode, Hashtable table)
        
{
            
foreach (XmlNode node in nodeList)
            
{
                
if (node.NodeType != XmlNodeType.Element)
                
{
                    
continue;
                }


                TreeNode newTreeNode 
= new TreeNode();
                newTreeNode.Text 
= node.Attributes["name"].Value;

                
//鐖惰妭鐐?/span>
                if (node.HasChildNodes)
                
{
                    Parse(node.ChildNodes, newTreeNode.Nodes, table);
                    treeNode.Add(newTreeNode);
                }

                
else
                
{
                    
//瀛愯妭鐐?/span>
                    try
                    
{
                        
//濡傛灉瀛樺湪鏈塱d鐨勮妭鐐瑰垯鍔犲叆鍒皌able涓?br />                         //GISNode gNode = new GISNode();
                        
//gNode.Id = node.Attributes["id"].Value;
                        
//gNode.Name = node.Attributes["name"].Value;
                        
//gNode.Area = node.Attributes["area"].Value;
                        
//gNode.Latitude = node.Attributes["latitude"].Value;
                        
//gNode.Longitude = node.Attributes["longitude"].Value;
                        
//table.Add(gNode.Id, gNode);
                        
//treeNode.Add(gNode.Id, gNode.Name);

                        treeNode.Add(node.Attributes[
"id"].Value, node.Attributes["name"].Value);
                    }

                    
catch (Exception ex)
                    
{
                        
//鍚﹀垯涓㈠純
                    }


                }


            }

        }


        
/// <summary>
        
/// 瑙f瀽璁懼鏍戠殑鏂規硶
        
/// </summary>
        
/// <param name="filePath"></param>
        
/// <param name="tv"></param>
        
/// <param name="table"></param>

        public static void ParseEquipmentXml(string filePath, TreeView tv, Hashtable table)
        
{
           
            XmlDocument xmlDoc 
= new XmlDocument();
            xmlDoc.Load(@filePath);

            XmlNodeList nodeList 
= xmlDoc.DocumentElement.ChildNodes;

            tv.BeginUpdate();
            tv.Nodes.Clear();
            Parse(nodeList, tv.Nodes, table);
            tv.EndUpdate();
        }

    }
綆鍗曞疄鐢紝涓嶈繃濡傛灉XML閮戒笉鐩稿悓鐨勮瘽鍙兘瑕佸啓澶氫釜鍑芥暟錛屽悗闈㈡湁鏃墮棿閲嶆瀯涓涓嬶紝閫氱敤涓鐐廣?

TiGERTiAN 2008-02-05 02:47 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 泰兴市| 云霄县| 黄龙县| 商洛市| 泰兴市| 嘉祥县| 随州市| 开封县| 赫章县| 南木林县| 德昌县| 会理县| 栾城县| 清涧县| 南京市| 高青县| 莫力| 赣榆县| 津市市| 天等县| 新源县| 宁明县| 聊城市| 双鸭山市| 武义县| 东乡族自治县| 阳朔县| 福安市| 淮南市| 兰州市| 丹阳市| 德江县| 乌海市| 长寿区| 云林县| 宜章县| 合川市| 汶川县| 察隅县| 北川| 富蕴县|