<?xml version="1.0" encoding="UTF-8" standalone="no"?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0"><channel><title>藍寶基尼的部落格</title><description>藍寶基尼的部落格</description><managingEditor>noreply@blogger.com (Unknown)</managingEditor><pubDate>Wed, 6 Nov 2024 10:42:29 +0800</pubDate><generator>Blogger http://www.blogger.com</generator><openSearch:totalResults xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">74</openSearch:totalResults><openSearch:startIndex xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">1</openSearch:startIndex><openSearch:itemsPerPage xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">25</openSearch:itemsPerPage><link>http://lambobobobo.blogspot.com/</link><language>en-us</language><itunes:explicit>no</itunes:explicit><itunes:keywords>C,程式,google,windows,tips,密技,software,軟體,香蕉先生,banao</itunes:keywords><itunes:summary>lamborgini's blogspot</itunes:summary><itunes:subtitle>lamborgini's blogspot</itunes:subtitle><itunes:author>Lamborgini</itunes:author><itunes:owner><itunes:email>lamborgini.net@gmail.com</itunes:email><itunes:name>Lamborgini</itunes:name></itunes:owner><item><title>C# Plurk API 自動發文機器人</title><link>http://lambobobobo.blogspot.com/2011/01/c-plurk-api.html</link><category>api</category><category>C#</category><category>plurk</category><category>winform</category><category>噗浪</category><category>外掛</category><category>小密技</category><category>程式</category><category>軟體</category><pubDate>Sat, 15 Jan 2011 22:13:00 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-7947444291396570648.post-885453068504362242</guid><description>&lt;div class="separator"&gt;&lt;img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8ACOetDCh7ndI4cF_yJWcFumOY2yvfb430STR9fQfyqFhClaorCOn3H-GV3NsQh3wU2y8ZrmmAoS9_SM3Q4lMv3BCL6qbRkOK0CpEdvbUPjtgbzb501iRZ_NczlSB1WcF7NZPZfP25LA/s320/plurk.png" width="320" /&gt;&lt;/div&gt;哈哈！好久沒有來PO文章了~~~&lt;br /&gt;
&lt;br /&gt;
長蜘蛛網了!&lt;br /&gt;
&lt;br /&gt;
有時候人太忙~~卡瑪值就默默地一直降一直降一直降一直降一直降~&lt;br /&gt;
&lt;br /&gt;
降個不停~~&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;然後~&lt;br /&gt;
&lt;br /&gt;
所以~&lt;br /&gt;
&lt;br /&gt;
接著~&lt;br /&gt;
&lt;br /&gt;
就有下面的簡易輔助G器人的誕生了~&lt;br /&gt;
&lt;br /&gt;
其實網路上早就一堆人有分享了XDDD&lt;br /&gt;
&lt;br /&gt;
只是喜歡用自己做的程式XDD&lt;br /&gt;
&lt;br /&gt;
有一種快感~~&amp;gt;///&amp;lt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator"&gt;&lt;img border="0" height="260" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVaWZcho6J9WtYyjgl84rgPnHm0PWYDEkZYez1QebS7H85hJIo41I1nId5P0LoxEvH4Q5GkIK9KVi7-dLF6V7Nm-8UlaonwXZ_uRzFpDXJJT7ano6JJ1KGlCCvKuSn38ba2B9gXbW8JlU/s320/plurk1.png" width="320" /&gt;&lt;/div&gt;哈~這就是我的風格!!&lt;br /&gt;
&lt;br /&gt;
程式的開始畫面~~~&lt;br /&gt;
&lt;br /&gt;
可以看到左手邊的大頭娃娃~乃是工作室的吉祥物阿鳴是也~~&lt;br /&gt;
&lt;br /&gt;
還沒登入之前都是他的舞台~&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator"&gt;&lt;img border="0" height="259" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQadrAQeB5O23aRkCjP6SFkBj-msov2YmsomFf9aKdfYN2Lhz0BywxLbt9vh7gb0yPaU5LWsONa-BgtZOKUhCsArnfp5qfcpnsd2iuiX5HVkShgHdynAnDb3REQ48pUBVyswJjO9GM2us/s320/plurk2.png" width="320" /&gt;&lt;/div&gt;登入以後~~&lt;br /&gt;
&lt;br /&gt;
就讀取個人資料~&lt;br /&gt;
&lt;br /&gt;
然後可以選擇整點報時功能~~&lt;br /&gt;
&lt;br /&gt;
手動發文功能~~&lt;br /&gt;
&lt;br /&gt;
自動定時發文功能~~&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator"&gt;&lt;img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQCmZ5yT_3f1fRB79iDUiODl-fK9Ypa7R1dS5_u-i3KENnubFsPydE5Qef5NlN9WAqS4pS7oW1ZFC9PMNqZ3JkSZ-EOfIifrX-znhI3har60Ij2wksmOZ8qPuc-2LvUIaIcblPvaHAXuQ/s1600/plurk3.png" /&gt;&lt;/div&gt;平常就把它縮小~~&lt;br /&gt;
&lt;br /&gt;
他就會自動躲到角落去~&lt;br /&gt;
&lt;br /&gt;
不會妨礙日常起居~~&lt;br /&gt;
&lt;br /&gt;
好棒啊!!!!!!!!!!!!!!&lt;br /&gt;
&lt;br /&gt;
收工~吃飯~!&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijmdfvW6_-GvL8fIIvZDdnB0VS6Ac26YBNGe8tzkGo_vtvi4muCxqTXAALmo0UFhgdz8KlDSUHgo9uNMFdIvRqTg45fmAt7Ip-dW9s9HZO1wz-JF8pjl3UkULetgnCPKuUeIhn1PrJHTCf/s1600/%25E5%25B4%2587%25E6%258B%259C+%25280%2529.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="189" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijmdfvW6_-GvL8fIIvZDdnB0VS6Ac26YBNGe8tzkGo_vtvi4muCxqTXAALmo0UFhgdz8KlDSUHgo9uNMFdIvRqTg45fmAt7Ip-dW9s9HZO1wz-JF8pjl3UkULetgnCPKuUeIhn1PrJHTCf/s200/%25E5%25B4%2587%25E6%258B%259C+%25280%2529.jpg" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8ACOetDCh7ndI4cF_yJWcFumOY2yvfb430STR9fQfyqFhClaorCOn3H-GV3NsQh3wU2y8ZrmmAoS9_SM3Q4lMv3BCL6qbRkOK0CpEdvbUPjtgbzb501iRZ_NczlSB1WcF7NZPZfP25LA/s72-c/plurk.png" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>lamborgini.net@gmail.com (Lamborgini)</author></item><item><title>C# 合併圖片</title><link>http://lambobobobo.blogspot.com/2010/11/c_5801.html</link><category>C#</category><category>tips</category><category>winform</category><category>合併圖片</category><category>小密技</category><category>程式</category><category>筆記</category><pubDate>Tue, 16 Nov 2010 03:25:00 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-7947444291396570648.post-8450970830734498528</guid><description>&lt;div&gt;&lt;img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_Ip9RtphgHPllATndBzQ3OODJ9XbpHoDjdbMdymA7s8QsF36X-192EWj_DbBXxGN7V44z9Rqoq8c12eLal1ARjYrlydGgxuR841jZKhqR0Rtu8_PdrTiynnTp-oSyP4ppKEa1uODx8MgM/s1600/images+%25285%2529.jpg" /&gt;&lt;/div&gt;網頁越來越慢了=口=&lt;br /&gt;
圖片放太多~踏碼ㄉ...&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
MSDN每天逛~今天才發現他們的圖片只有一張而且好長一張=口=&lt;br /&gt;
&lt;div&gt;&lt;img border="0" height="137" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipWI5J5k_3bWpzbeBmYWK2F-Cz-uc4WIAiR8iwMmvtqH51GRtVyxEdelwaaEIVAAzF2m6_C-n8TUE3jN5AnOo4ScphzyhcqSD8qRXbFb01e4X3kGkMilW6tmN2_FlQeUDNafgIVzSGv0ON/s640/msdnnnn.jpg" width="640" /&gt;&lt;/div&gt;&lt;br /&gt;
是真的很長~有2671 * 96 這麼長=口=&lt;br /&gt;
難怪跑這麼快~圖片只要讀取一張~就結束了=口=&lt;br /&gt;
好聰明喔=口=&lt;br /&gt;
而且長長的一張~檔案也才29.8KB&lt;br /&gt;
光是省下來的HTTP Request次數~都可以吃一頓貴族世家了=口=&lt;br /&gt;
&lt;br /&gt;
所以我也要來把圖片弄得超長~&lt;br /&gt;
而且我發現平平是PNG格式~&lt;br /&gt;
C#壓出來的大小~跟ACDSee壓出來的大小~&lt;br /&gt;
ACDSee小很多耶=口=&lt;br /&gt;
ACDSee好棒=口=&lt;br /&gt;
以上廣告&lt;br /&gt;
------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="brush: csharp" title="程式碼"&gt;/// &lt;summary&gt;
/// 合併圖片
/// &lt;/summary&gt;
/// &lt;param name="source" /&gt;要合併的原始圖
/// &lt;param name="img" /&gt;合併後的大圖
private void MergeImg(Image source, ref Image img)
{
    int width = source.Width + img.Width;
    int height = Math.Max(source.Height,img.Height);

    Image tmp = new Bitmap(width, height);
    Graphics g = Graphics.FromImage(tmp);

    g.Clear(Color.Transparent);
    g.DrawImage(img, 0, 0);
    g.DrawImage(source, img.Width, 0);

    img = tmp;
    g.Dispose();
}
&lt;/pre&gt;&lt;br /&gt;
然後我就狂合併&lt;br /&gt;
不知道想把我的電腦逼到甚麼地步*0*&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;&lt;img border="0" height="388" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPyn-50PWO1nTXtp2iZlUAE3e3MJT21Y0jzRKNDUA5cxQA298J1A7ZJFhjScIgDZalfpXIkp2MGbj0HxtAUXlvRQBHC0x8xSFoGWA0WyTJIjFttVBx_IYAUZa8VIUESKh1-pGFCZOUe0ua/s640/longpicture.jpg" width="640" /&gt;&lt;/div&gt;&lt;br /&gt;
哈哈哈哈哈哈哈哈!!! 14497 * 800 !!!!!!!!!!!!!!!!!!!!!!!!&lt;img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoZ-yXcUi129DVhyoDTwwkBux4xl1HMWr7fom-YPkyEwwXKVDTBizks22nbhc1RkJxhI4BPrJtHNLzU592lkXwP9C-TcvksYDIqAH5tZUAoUgWnhTWtn39iA-Y8sZCPd47crSRXFCTk96K/s1600/%25E9%25A9%259A%25E5%259A%2587+%252819%2529.jpg" /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;&lt;img border="0" height="476" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4NHRjMbyUSellWKnAzp7fsgpKKfSyq1rh8W3mE6XCiJw4Y67TIEuYAMGr1HpqfNK-cwfFMTn5KrUs4W9SakaVem6FiCOSkGNEsdglOapesuOCjLLlbzWwABQ7qO3zoOPZ5-mVxHw-dLUi/s640/error.jpg" width="640" /&gt;&lt;/div&gt;我把我的電腦逼到出現錯誤=口=&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;&lt;img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhllLUD7vT1k9Se1SdUOrl5qnLagvAeVG9TaXG8kUdsjfxOOC2WKxgzOOM3bCOuOnKTF5n7Z4ASYM2i-2Mv1cXP1z1McTVVgJrVyumr23eGTDhCg67_ihmLztRSqWQlm2u4B4YvXZhn8GPc/s1600/error.jpg" /&gt;&lt;/div&gt;&lt;br /&gt;
出錯時的圖片大小成長到了 88850 * 50..........................&lt;br /&gt;
&lt;br /&gt;
差點就破十萬了~嘖!!!&lt;br /&gt;
&lt;br /&gt;
整個電腦幾乎都不能動了~好可怕=口=&lt;br /&gt;
&lt;br /&gt;
----------&lt;br /&gt;
然後我又在網路上看到有一個人也是在整電腦~&lt;br /&gt;
方法好有創意~&lt;br /&gt;
&lt;a href="http://www.dotblogs.com.tw/larrynung/archive/2009/07/31/9758.aspx"&gt;網址&lt;/a&gt;&lt;br /&gt;
他是用FlowLayoutPanel控制項搭配PictureBox控制項...&lt;br /&gt;
不停的讀取圖片到PictureBox然後丟進去FlowLayoutPanel&lt;br /&gt;
&lt;br /&gt;
超多物件超帥的=口=&lt;br /&gt;
&lt;br /&gt;
然後丟完以後如果還沒當機~&lt;br /&gt;
那只要三行就收工了=口=&lt;br /&gt;
前提是還沒當機=口=&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="brush: csharp" title="程式碼"&gt;Bitmap b = new Bitmap(flowLayoutPanel1.Width, flowLayoutPanel1.Height);
flowLayoutPanel1.DrawToBitmap(b, flowLayoutPanel1.ClientRectangle);
b.Save(saveFileDialog1.FileName);
&lt;/pre&gt;&lt;br /&gt;
心有餘悸~這個方法太有創意了!!!!</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_Ip9RtphgHPllATndBzQ3OODJ9XbpHoDjdbMdymA7s8QsF36X-192EWj_DbBXxGN7V44z9Rqoq8c12eLal1ARjYrlydGgxuR841jZKhqR0Rtu8_PdrTiynnTp-oSyP4ppKEa1uODx8MgM/s72-c/images+%25285%2529.jpg" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>lamborgini.net@gmail.com (Lamborgini)</author></item><item><title>C# 轉換圖片格式</title><link>http://lambobobobo.blogspot.com/2010/11/c_16.html</link><category>C#</category><category>winform</category><category>圖片轉檔</category><category>壓縮圖片</category><category>小密技</category><category>程式</category><category>筆記</category><pubDate>Tue, 16 Nov 2010 02:30:00 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-7947444291396570648.post-7405067499351450097</guid><description>&lt;div&gt;&lt;img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyMN05zIfgn3rnjYNbcI0rj61I0ux9EYInXdx8HfYExs24xKEJjiAxgqcURFkpxhq5xC1fjoDrDi1wKvmRxk6fvvnxgNhHbsjMhdIZtDBCLoUwK7BKcpKwzBeK4sBB8Dz9TJxay_qb6wD_/s1600/C_sharp.jpg" /&gt;&lt;/div&gt;雖然市面上已經很多轉圖片格式的軟體了=口=&lt;br /&gt;
&lt;br /&gt;
但是有時候~自己寫還是會比較貼近自己的需求=口=&lt;br /&gt;
&lt;br /&gt;
不過大部分的時候還是ACDSee萬歲=口=&lt;br /&gt;
&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
&lt;h1 class="title" style="color: #3f529c; font-family: 'Segoe UI', Verdana, Arial; font-size: 1.769em; font-style: normal; font-variant: normal; font-weight: bold; line-height: normal; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;Image.Save 方法 (String, ImageFormat)&lt;/h1&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;"&gt;將這個影像以指定的格式儲存至指定的檔案。&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #3f529c; font-family: 'Segoe UI', Verdana, Arial; font-size: 13px; font-weight: bold;"&gt;參數&lt;/span&gt;&lt;br /&gt;
&lt;h4 class="subHeading" style="color: #3f529c; font-family: 'Segoe UI', Verdana, Arial; font-size: 1em; font-weight: bold;" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;span class="Apple-style-span" style="color: black; font-size: 13px; font-weight: normal;"&gt;&lt;br /&gt;
&lt;dl paramname="filename" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;dt&gt;&lt;span class="parameter"&gt;filename&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;字串，包含要儲存這個&amp;nbsp;&lt;a href="http://msdn.microsoft.com/zh-tw/library/system.drawing.image(v=VS.80).aspx" style="color: #1364c4; text-decoration: none;"&gt;Image&lt;/a&gt;&amp;nbsp;之目的檔案的名稱。&lt;/dd&gt;&lt;/dl&gt;&lt;dl paramname="format" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;dt&gt;&lt;span class="parameter"&gt;format&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;這個&amp;nbsp;&lt;b&gt;Image&lt;/b&gt;&amp;nbsp;的&amp;nbsp;&lt;a href="http://msdn.microsoft.com/zh-tw/library/system.drawing.imaging.imageformat(v=VS.80).aspx" style="color: #1364c4; text-decoration: none;"&gt;ImageFormat&lt;/a&gt;。&lt;/dd&gt;&lt;/dl&gt;&lt;/span&gt;&lt;/h4&gt;&lt;br /&gt;
&lt;pre class="brush: csharp" title="程式碼"&gt;//path是圖片的路徑
Image img = Image.FromFile(path);

//存成GIF
img.Save(SavePath + Filename + ".gif", System.Drawing.Imaging.ImageFormat.Gif);

//存成BMP
img.Save(SavePath + Filename + ".bmp", System.Drawing.Imaging.ImageFormat.Bmp);

//存成PNG
img.Save(SavePath + Filename + ".png", System.Drawing.Imaging.ImageFormat.Png);

//存成ICON
img.Save(SavePath + Filename + ".ico", System.Drawing.Imaging.ImageFormat.Icon);

//存成JPEG
img.Save(SavePath + Filename + ".jpg", System.Drawing.Imaging.ImageFormat.Jpeg);
&lt;/pre&gt;&lt;br /&gt;
然後因為Jpeg檔還可以壓縮品質~~&lt;br /&gt;
痾~其實可能每種格式都可以壓縮吧....&lt;br /&gt;
只是我只會JPEG的=口=&lt;br /&gt;
夭壽orz...&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="brush: csharp" title="程式碼"&gt;/// &lt;summary&gt;
/// 儲存圖片(JPG)
/// &lt;/summary&gt;
/// &lt;param name="img"&gt;要儲存的圖片&lt;/param&gt;
/// &lt;param name="qulity"&gt;品質(0~100)&lt;/param&gt;
/// &lt;param name="path"&gt;儲存路徑&lt;/param&gt;
private void SaveAsJPEG(Image img, int qulity, string path)
{
            EncoderParameters myEncoderParameters = new EncoderParameters(1);
            EncoderParameter myEncoderParameter = new EncoderParameter(System.Drawing.Imaging.Encoder.Quality, qulity);
            myEncoderParameters.Param[0] = myEncoderParameter;

            img.Save(path, GetEncoder(ImageFormat.Jpeg), myEncoderParameters);
}

/// &lt;summary&gt;
/// 取得已安裝的影像 Codec 的相關資訊
/// &lt;/summary&gt;
/// &lt;param name="format"&gt;System.Drawing.Imaging.ImageFormat&lt;/param&gt;
/// &lt;returns&gt;System.Drawing.Imaging.ImageCodeInfo&lt;/returns&gt;
private ImageCodecInfo GetEncoder(ImageFormat format)
{
            ImageCodecInfo[] codecs = ImageCodecInfo.GetImageDecoders();

            foreach (ImageCodecInfo codec in codecs)
            {
                if (codec.FormatID == format.Guid)
                {
                    return codec;
                }
            }
            return null;
}
&lt;/pre&gt;&lt;br /&gt;
收工~買菜!</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyMN05zIfgn3rnjYNbcI0rj61I0ux9EYInXdx8HfYExs24xKEJjiAxgqcURFkpxhq5xC1fjoDrDi1wKvmRxk6fvvnxgNhHbsjMhdIZtDBCLoUwK7BKcpKwzBeK4sBB8Dz9TJxay_qb6wD_/s72-c/C_sharp.jpg" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>lamborgini.net@gmail.com (Lamborgini)</author></item><item><title>C# 製作縮圖</title><link>http://lambobobobo.blogspot.com/2010/11/c.html</link><category>C#</category><category>thumbnail</category><category>tips</category><category>winform</category><category>小密技</category><category>程式</category><category>筆記</category><category>縮圖</category><pubDate>Tue, 16 Nov 2010 01:57:00 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-7947444291396570648.post-7535471675098640522</guid><description>&lt;div&gt;&lt;img border="0" height="211" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEir2QtJmvUIk_IdpEfyAmZox_FUa6Zx3-42QpCDQrWTwzL6RhjRFMfxPXeYVk4QKbp9RGoupj0QL2CQ_xHTqrEdBN0oFXa14xCalJ2wBHdURMepzixqyaCCD79fr5winhRfNgtSkMrZDynz/s320/Cplus_CSharp.jpg" width="320" /&gt;&lt;/div&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: x-small;"&gt;縮圖&lt;/span&gt;縮圖&lt;span class="Apple-style-span" style="font-size: x-large;"&gt;縮圖&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
C#做縮圖好像蠻簡單的&lt;br /&gt;
筆記一下!!!&lt;br /&gt;
&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;h1 class="title" style="color: #3f529c; font-family: 'Segoe UI', Verdana, Arial; font-size: 1.769em; font-style: normal; font-variant: normal; font-weight: bold; line-height: normal; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;Image.GetThumbnailImage 方法&lt;/h1&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;"&gt;傳回這個&amp;nbsp;&lt;a href="http://msdn.microsoft.com/zh-tw/library/system.drawing.image(v=VS.80).aspx" style="color: #1364c4; text-decoration: none;"&gt;Image&lt;/a&gt;&amp;nbsp;的縮圖。&lt;/div&gt;&lt;div style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;"&gt;&lt;b&gt;命名空間：&lt;/b&gt;&amp;nbsp;System.Drawing&lt;br /&gt;
&lt;b&gt;組件：&lt;/b&gt;&amp;nbsp;System.Drawing (在 system.drawing.dll 中)&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h4 class="subHeading" style="color: #3f529c; font-family: 'Segoe UI', Verdana, Arial; font-size: 1em; font-weight: bold;" xmlns="http://www.w3.org/1999/xhtml"&gt;參數&lt;/h4&gt;&lt;dl paramname="thumbWidth" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;dt&gt;&lt;span class="parameter"&gt;thumbWidth&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;要求的縮圖影像的寬度 (單位為像素)。&lt;/dd&gt;&lt;/dl&gt;&lt;dl paramname="thumbHeight" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;dt&gt;&lt;span class="parameter"&gt;thumbHeight&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;要求的縮圖影像的高度 (單位為像素)。&lt;/dd&gt;&lt;/dl&gt;&lt;dl paramname="callback" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;dt&gt;&lt;span class="parameter"&gt;callback&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href="http://msdn.microsoft.com/zh-tw/library/system.drawing.image.getthumbnailimageabort(v=VS.80).aspx" style="color: #1364c4; text-decoration: none;"&gt;Image.GetThumbnailImageAbort&lt;/a&gt;&amp;nbsp;委派。在 GDI+ 1.0 版中，不使用委派。即使如此，您必須建立委派，並在這個參數中傳遞參考給該委派。&lt;/dd&gt;&lt;/dl&gt;&lt;dl paramname="callbackData" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;dt&gt;&lt;span class="parameter"&gt;callbackData&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;必須是&amp;nbsp;&lt;a href="http://msdn.microsoft.com/zh-tw/library/system.intptr.zero(v=VS.80).aspx" style="color: #1364c4; text-decoration: none;"&gt;Zero&lt;/a&gt;。&lt;/dd&gt;&lt;/dl&gt;&lt;br /&gt;
&lt;h4 class="subHeading" style="color: #3f529c; font-family: 'Segoe UI', Verdana, Arial; font-size: 1em; font-weight: bold;" xmlns="http://www.w3.org/1999/xhtml"&gt;傳回值&lt;/h4&gt;&lt;span class="Apple-style-span" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;"&gt;&lt;b xmlns="http://www.w3.org/1999/xhtml"&gt;Image&lt;/b&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;"&gt;，表示縮圖。&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="brush: csharp" title="程式碼"&gt;Image img = Image.FromFile("PATH");
img.GetThumbnailImage(Width, Height, null, IntPtr.Zero).Save("thumb_" + filename + ext);
&lt;/pre&gt;&lt;br /&gt;
還有另一種方法是用Graphic的DrawImage()&lt;br /&gt;
威力比較強大~&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h1 class="title" style="color: #3f529c; font-family: 'Segoe UI', Verdana, Arial; font-size: 1.769em; font-style: normal; font-variant: normal; font-weight: bold; line-height: normal; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;Graphics.DrawImage&amp;nbsp;方法&lt;/h1&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h1 class="title" style="color: #3f529c; font-family: 'Segoe UI', Verdana, Arial; font-size: 1.769em; font-style: normal; font-variant: normal; font-weight: bold; line-height: normal; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;(Image, Rectangle, Rectangle, GraphicsUnit)&lt;/h1&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;"&gt;以指定的大小，在指定的位置繪製所指定&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;"&gt;&lt;b&gt;Image&lt;/b&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;"&gt;之指定部分。&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h4 class="subHeading" style="color: #3f529c; font-family: 'Segoe UI', Verdana, Arial; font-size: 1em; font-weight: bold;" xmlns="http://www.w3.org/1999/xhtml"&gt;參數&lt;/h4&gt;&lt;dl paramname="image" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;dt&gt;&lt;span class="parameter"&gt;image&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;要繪製的&amp;nbsp;&lt;a href="http://msdn.microsoft.com/zh-tw/library/system.drawing.image(v=VS.80).aspx" style="color: #1364c4; text-decoration: none;"&gt;Image&lt;/a&gt;。&lt;/dd&gt;&lt;/dl&gt;&lt;dl paramname="destRect" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;dt&gt;&lt;span class="parameter"&gt;destRect&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href="http://msdn.microsoft.com/zh-tw/library/system.drawing.rectangle(v=VS.80).aspx" style="color: #1364c4; text-decoration: none;"&gt;Rectangle&lt;/a&gt;&amp;nbsp;結構，指定繪製影像的位置和大小。縮放影像來符合矩形。&lt;/dd&gt;&lt;/dl&gt;&lt;dl paramname="srcRect" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;dt&gt;&lt;span class="parameter"&gt;srcRect&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;b&gt;Rectangle&lt;/b&gt;&amp;nbsp;結構，指定&amp;nbsp;&lt;span class="parameter"&gt;image&lt;/span&gt;&amp;nbsp;物件要繪製的部分。&lt;/dd&gt;&lt;/dl&gt;&lt;dl paramname="srcUnit" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;dt&gt;&lt;span class="parameter"&gt;srcUnit&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href="http://msdn.microsoft.com/zh-tw/library/system.drawing.graphicsunit(v=VS.80).aspx" style="color: #1364c4; text-decoration: none;"&gt;GraphicsUnit&lt;/a&gt;&amp;nbsp;列舉型別的成員，指定&amp;nbsp;&lt;span class="parameter"&gt;srcRect&lt;/span&gt;&amp;nbsp;參數所使用的測量單位。&lt;/dd&gt;&lt;/dl&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="brush: csharp" title="程式碼"&gt;//設定畫布大小
Image tmp = new Bitmap(Width, Height);
Graphics g = Graphics.FromImage(tmp);

//這邊不是重點
g.InterpolationMode = System.Drawing.Drawing2D.InterpolationMode.High;
g.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality;
g.CompositingQuality = System.Drawing.Drawing2D.CompositingQuality.HighQuality;

//設定畫布的底色~透明或白色之類
g.Clear(Color.Transparent);

//把來源圖片轉換成指定的大小畫到畫布上面
g.DrawImage(sourceImg, new Rectangle(0, 0, Width, Height), new Rectangle(0, 0, sourceImg.Width, sourceImg.Height), GraphicsUnit.Pixel);

g.Dispose();

tmp.Save("thumb_" + filename + ext);
&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
收工~吃飯!</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEir2QtJmvUIk_IdpEfyAmZox_FUa6Zx3-42QpCDQrWTwzL6RhjRFMfxPXeYVk4QKbp9RGoupj0QL2CQ_xHTqrEdBN0oFXa14xCalJ2wBHdURMepzixqyaCCD79fr5winhRfNgtSkMrZDynz/s72-c/Cplus_CSharp.jpg" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>lamborgini.net@gmail.com (Lamborgini)</author></item><item><title>C# 簡單的檔案下載(Webclient)</title><link>http://lambobobobo.blogspot.com/2010/11/c-webclient.html</link><category>C#</category><category>file download</category><category>webclient</category><category>小密技</category><category>程式</category><category>筆記</category><pubDate>Fri, 12 Nov 2010 22:23:00 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-7947444291396570648.post-3634976647169230436</guid><description>&lt;div&gt;&lt;img border="0" height="285" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWqaah_UANh4K5C6k-pAbprjKnt5n4MTMGo9XzBI6gwQA9iIshxPKQH2HuHl6J91veQMBKQS98X9USSstwiUy_eZ4-tvB5Hu1ksuEDgEE93qmIfOBY2UEjvKlTaLX8adodv_FubcAHrK2m/s320/5430x383.jpg" width="320" /&gt;&lt;/div&gt;比較陽春的下載檔案方法&lt;br /&gt;
不過不能用timeout~&lt;br /&gt;
&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
&lt;h1 class="title" style="color: #3f529c; font-family: 'Segoe UI', Verdana, Arial; font-size: 1.769em; font-style: normal; font-variant: normal; font-weight: bold; line-height: normal; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;WebClient.DownloadFile 方法 (String, String)&lt;/h1&gt;&lt;h1 class="title" style="color: #3f529c; font-family: 'Segoe UI', Verdana, Arial; font-size: 1.769em; font-style: normal; font-variant: normal; font-weight: bold; line-height: normal; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;WebClient.DownloadFile 方法 (Uri, String)&lt;/h1&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;"&gt;將具有指定之 URI 的資源下載指本機檔案&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;pre class="brush: csharp" title="程式碼"&gt;public void DownloadFile (
 Uri address,
 string fileName
)
&lt;/pre&gt;&lt;h4 class="subHeading" style="color: #3f529c; font-family: 'Segoe UI', Verdana, Arial; font-size: 1em; font-weight: bold;" xmlns="http://www.w3.org/1999/xhtml"&gt;參數&lt;/h4&gt;&lt;dl paramname="address" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;dt&gt;&lt;span class="parameter"&gt;address&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;指定為&amp;nbsp;&lt;a href="http://msdn.microsoft.com/zh-tw/library/system.string(v=VS.80).aspx" style="color: #1364c4; text-decoration: none;"&gt;String&lt;/a&gt;&amp;nbsp;的 URI，可以從其中下載資料。&lt;/dd&gt;&lt;/dl&gt;&lt;dl paramname="fileName" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;dt&gt;&lt;span class="parameter"&gt;fileName&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;要接收資料的本機檔案名稱。&lt;/dd&gt;&lt;/dl&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h1 class="title" style="color: #3f529c; font-family: 'Segoe UI', Verdana, Arial; font-size: 1.769em; font-style: normal; font-variant: normal; font-weight: bold; line-height: normal; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;WebClient.DownloadFileAsync 方法 (Uri, String)&lt;/h1&gt;&lt;div&gt;&lt;h1 class="title" style="color: #3f529c; font-family: 'Segoe UI', Verdana, Arial; font-size: 1.769em; font-style: normal; font-variant: normal; font-weight: bold; line-height: normal; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;WebClient.DownloadFileAsync 方法 (Uri, String, Object)&lt;/h1&gt;&lt;/div&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;"&gt;將具有指定之 URI 的資源下載至本機檔案。這個方法不會封鎖呼叫執行緒。&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="brush: csharp" title="程式碼"&gt;public void DownloadFileAsync (
 Uri address,
 string fileName
)
&lt;/pre&gt;&lt;h4 class="subHeading" style="color: #3f529c; font-family: 'Segoe UI', Verdana, Arial; font-size: 1em; font-weight: bold;" xmlns="http://www.w3.org/1999/xhtml"&gt;參數&lt;/h4&gt;&lt;dl paramname="address" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;dt&gt;&lt;span class="parameter"&gt;address&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;要下載之資源的 URI。&lt;/dd&gt;&lt;/dl&gt;&lt;dl paramname="fileName" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;dt&gt;&lt;span class="parameter"&gt;fileName&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;要置於本機電腦之檔案的名稱。&lt;/dd&gt;&lt;/dl&gt;&lt;br /&gt;
&lt;dt style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;"&gt;&lt;span class="parameter"&gt;userToken&lt;/span&gt;&lt;/dt&gt;&lt;br /&gt;
&lt;dd style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;"&gt;使用者定義的物件，這個物件會在非同步作業完成時傳遞至叫用的方法。&lt;/dd&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="brush: csharp" title="程式碼"&gt;using System.Net;
&lt;/pre&gt;&lt;pre class="brush: csharp" title="程式碼"&gt;private void btnDownload_Click(object sender, EventArgs e)
{
  WebClient webClient = new WebClient();
  webClient.DownloadFileCompleted += new AsyncCompletedEventHandler(Completed);
  webClient.DownloadProgressChanged += new DownloadProgressChangedEventHandler(ProgressChanged);
  webClient.DownloadFileAsync(new Uri("http://mysite.com/myfile.txt"), @"c:\myfile.txt");
}

private void ProgressChanged(object sender, DownloadProgressChangedEventArgs e)
{
  progressBar.Value = e.ProgressPercentage;
}

private void Completed(object sender, AsyncCompletedEventArgs e)
{
  MessageBox.Show("Download completed!");
}
&lt;/pre&gt;</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWqaah_UANh4K5C6k-pAbprjKnt5n4MTMGo9XzBI6gwQA9iIshxPKQH2HuHl6J91veQMBKQS98X9USSstwiUy_eZ4-tvB5Hu1ksuEDgEE93qmIfOBY2UEjvKlTaLX8adodv_FubcAHrK2m/s72-c/5430x383.jpg" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>lamborgini.net@gmail.com (Lamborgini)</author></item><item><title>IE和Firefox和Chrome的分頁class name</title><link>http://lambobobobo.blogspot.com/2010/11/iefirefoxchromeclass-name.html</link><category>api</category><category>C#</category><category>chrome</category><category>firefox</category><category>ie</category><category>windows</category><category>筆記</category><pubDate>Wed, 3 Nov 2010 09:15:00 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-7947444291396570648.post-7585244784840054648</guid><description>&lt;div&gt;&lt;img border="0" height="202" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhbtZQOEpmwRPHISW8q14XrhFqTmYrGkHfrRUlMRx_kXRz2gzC6p4j-3pra1pjUIw2aPzlKltBEQlkxXVr1cQqqKwqv9K1C16YvwxhhvicNZoEDmLPP_sZlLUM9_h55IYXljRkbohFLLIY/s320/API%2520Logo.jpg" width="320" /&gt;&lt;/div&gt;&lt;br /&gt;
IE的是TabThumbnailWindow&lt;br /&gt;
&lt;br /&gt;
Firefox的是MozillaUIWindowClass&lt;br /&gt;
&lt;br /&gt;
Chrome的是Chrome_WidgetWin_0&lt;br /&gt;
&lt;br /&gt;
以上筆記! 啾咪~</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhbtZQOEpmwRPHISW8q14XrhFqTmYrGkHfrRUlMRx_kXRz2gzC6p4j-3pra1pjUIw2aPzlKltBEQlkxXVr1cQqqKwqv9K1C16YvwxhhvicNZoEDmLPP_sZlLUM9_h55IYXljRkbohFLLIY/s72-c/API%2520Logo.jpg" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>lamborgini.net@gmail.com (Lamborgini)</author></item><item><title>C# 不能移動的視窗</title><link>http://lambobobobo.blogspot.com/2010/10/c_27.html</link><category>banao</category><category>C#</category><category>windows</category><category>筆記</category><pubDate>Wed, 27 Oct 2010 05:52:00 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-7947444291396570648.post-7522950746053635228</guid><description>&lt;div&gt;&lt;img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXxclRbZWf3aAN-QvV3_GtMRoPpVtMNqdGNo8uvIntgOJACsReKTEu4Ys7EBblAFvWxHFresCsXmS_PkD7e6GSvCrnhDmLowDI72EKqiiwj3zSlkD7IuccNVvX4_f_Z8bUJqW_lHCtwcCh/s320/DSCF35142_2.jpg" width="320" /&gt;&lt;/div&gt;今天想做一個不能移動的視窗...&lt;br /&gt;
想了老半天 難道真的只能靠WndProc()了嗎Orz...&lt;br /&gt;
&lt;br /&gt;
後來睡醒突然想到就把視窗的ControlBox取消&lt;br /&gt;
然後做一個偽．ControlBox就好了啊~&lt;br /&gt;
而且還可以做得比較漂亮呢~啾咪~*&lt;br /&gt;
&lt;br /&gt;
順便工商服務一下~雖然香蕉先生沒有腳~可是它可以騎馬喔!!!!!</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXxclRbZWf3aAN-QvV3_GtMRoPpVtMNqdGNo8uvIntgOJACsReKTEu4Ys7EBblAFvWxHFresCsXmS_PkD7e6GSvCrnhDmLowDI72EKqiiwj3zSlkD7IuccNVvX4_f_Z8bUJqW_lHCtwcCh/s72-c/DSCF35142_2.jpg" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>lamborgini.net@gmail.com (Lamborgini)</author></item><item><title>C# 子視窗(child form)要使用父視窗(parent form)的變數</title><link>http://lambobobobo.blogspot.com/2010/10/c-child-formparent-form.html</link><category>C#</category><category>mdi</category><category>tips</category><category>winform 傳值</category><category>小密技</category><category>程式</category><category>筆記</category><pubDate>Mon, 25 Oct 2010 23:52:00 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-7947444291396570648.post-806645420914776896</guid><description>&lt;div&gt;&lt;img border="0" height="176" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6N1HVP8TpG-eIoMR6hUAedFcO6gLCNb3l1mS-_AZwsKlS-ullkXLMW9lQKq2r0xJ_1Ic4ZOPPRyRoI1DrYmJFglltSja_B6-sSbMFWFHGX0O-WyAAWSqLFgmA5E5BHyFN1zIE-kwBS0Rc/s320/762.jpg" width="320" /&gt;&lt;/div&gt;印象中我以前好像都是主視窗~&lt;br /&gt;
要拿子視窗的物件來用~~~~&lt;br /&gt;
&lt;br /&gt;
或是WEB FORM之間的親子搞來搞去你儂我儂~&lt;br /&gt;
&lt;br /&gt;
卻很少在使用&lt;b&gt;WINFORM&lt;/b&gt;的情況下~&lt;br /&gt;
新開啟的視窗要使用主視窗的物件~~&lt;br /&gt;
&lt;br /&gt;
摁~仔細想想還真的沒碰過這個問題~&lt;br /&gt;
&lt;br /&gt;
順便筆記一下幾個常見的WINFORM傳值的方法吧~&lt;br /&gt;
WEBFORM 的傳值大家應該都很會了XDD&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
Ex. Form1 A(Main Form) , Form2 B(Child Form)&lt;br /&gt;
&lt;br /&gt;
情況1.&lt;br /&gt;
&lt;br /&gt;
A開B&lt;br /&gt;
A要等待B有熱烈的回應才肯繼續&amp;gt;///&amp;lt;&lt;br /&gt;
&lt;br /&gt;
Form1的部分程式碼&lt;br /&gt;
&lt;pre class="brush: csharp" title="程式碼"&gt;Form2 B = new Form2();
B.Text = textBox1.Text;
//或是兩行遍一行Form2 B = new Form2(textBox1.Text);
if (B.ShowDialog() == DialogResult.OK)
{
 this.textBox1.Text = B.Text;
}
&lt;/pre&gt;&lt;br /&gt;
Form2的部分程式碼&lt;br /&gt;
&lt;pre class="brush: csharp" title="程式碼"&gt;public Form2()
{
 InitializeComponent();
}

public Form2(string Text)
{
 InitializeComponent();
 textBox1.Text = Text;
}

public string Text
{
 set
 {
  textBox1.Text = value;
 }
 get
 {
  return textBox1.Text;
 }
}
&lt;/pre&gt;&lt;br /&gt;
情況2.&lt;br /&gt;
&lt;br /&gt;
只有A要B~B不要A~&lt;br /&gt;
又懶得寫set &amp;amp; get&lt;br /&gt;
那就把B的Access Modifiers提升(public protected private internal)&lt;br /&gt;
這邊改成internal應該就可以了&lt;br /&gt;
&lt;br /&gt;
Form1的部分程式碼&lt;br /&gt;
&lt;pre class="brush: csharp" title="程式碼"&gt;Form2 B = new Form2();
B.Show();
textBox1.Text = B.textBox1.Text;
&lt;/pre&gt;&lt;br /&gt;
Form2的部分程式碼&lt;br /&gt;
&lt;pre class="brush: csharp" title="程式碼"&gt;internal System.Windows.Forms.TextBox textBox1;
&lt;/pre&gt;&lt;br /&gt;
情況3.&lt;br /&gt;
&lt;br /&gt;
B要A的全部&amp;gt;///&amp;lt;&lt;b&gt;(我要的東西)&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
方法1.&lt;br /&gt;
&lt;br /&gt;
Form1的部分程式碼&lt;br /&gt;
&lt;pre class="brush: csharp" title="程式碼"&gt;Form2 B = new Form2();
B.Owner = this;
B.Show();
&lt;/pre&gt;&lt;br /&gt;
Form2的部分程式碼&lt;br /&gt;
&lt;pre class="brush: csharp" title="程式碼"&gt;((Form1)this.Owner).textBox1.Text = "我要動你!!!!!";
&lt;/pre&gt;&lt;br /&gt;
方法2.&lt;br /&gt;
&lt;br /&gt;
Form1的部分程式碼&lt;br /&gt;
&lt;pre class="brush: csharp" title="程式碼"&gt;Form2 B = new Form2(this);
B.Show();
&lt;/pre&gt;&lt;br /&gt;
Form2的部分程式碼&lt;br /&gt;
&lt;pre class="brush: csharp" title="程式碼"&gt;public LinkList(Form1 A)
{
 InitializeComponent();
 this.Tag = A;
}
&lt;/pre&gt;然後&lt;br /&gt;
&lt;pre class="brush: csharp" title="程式碼"&gt;((Form1)this.Tag).textBox1.Text = "我要控制你的全部&amp;gt;///&amp;lt;";
&lt;/pre&gt;&lt;br /&gt;
情況4.&lt;br /&gt;
&lt;br /&gt;
用MDIContainer(((不過這樣子視窗全都在父視窗裡面了~太害羞了~不是我要的)))&lt;br /&gt;
&lt;br /&gt;
Form1的部分程式碼 &lt;br /&gt;
&lt;pre class="brush: csharp" title="程式碼"&gt;this.IsMdiContainer = true;
Form2 B = new Form2();
B.MdiParent = this;
B.Show();
&lt;/pre&gt;&lt;br /&gt;
Form2的部分程式碼 &lt;br /&gt;
&lt;pre class="brush: csharp" title="程式碼"&gt;this.Parent.FindForm().textBox1.Text = "我在你的裡面~(羞";
&lt;/pre&gt;&lt;div&gt;&lt;img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizC8U3ezRqUtIijDwZyfLY8tgWbmMBkARGEpE1AhY7MYRrVhrp5CV2hR6liBKaHnYi8aLEnwTxXK4-6BBOSRCm8B3Ya-0oJ29NmRdQKss1qpeCdOuyutetIjmbqyiib5AsVGHs2tPLJBf6/s1600/%E5%85%AC%E9%9B%9E.jpg" /&gt;&lt;/div&gt;</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6N1HVP8TpG-eIoMR6hUAedFcO6gLCNb3l1mS-_AZwsKlS-ullkXLMW9lQKq2r0xJ_1Ic4ZOPPRyRoI1DrYmJFglltSja_B6-sSbMFWFHGX0O-WyAAWSqLFgmA5E5BHyFN1zIE-kwBS0Rc/s72-c/762.jpg" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">4</thr:total><author>lamborgini.net@gmail.com (Lamborgini)</author></item><item><title>C# webBrowser自動移除網頁元素(Elements)</title><link>http://lambobobobo.blogspot.com/2010/10/c-webbrowserelements.html</link><category>C#</category><category>mshtml</category><category>tips</category><category>webBrowser</category><category>小密技</category><category>程式</category><category>筆記</category><pubDate>Mon, 25 Oct 2010 00:29:00 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-7947444291396570648.post-4571111689479514789</guid><description>&lt;div&gt;&lt;img border="0" height="250" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiypRD__2ILLGKyAOyfkxLYvOSJvv9uOOad2tnAur9e51C2E6Z98OgGxUPL6WGgZZ3xCoVeAVKPvpy7_GILYHpJJ7l1iWBFUEUT2djCk6py6ficA49g_yQC-cfbopDUAnvz64TUvWmnMF4H/s320/imagesCAVXU8Q8.jpg" width="250" /&gt;&lt;/div&gt;&lt;br /&gt;
我在寫一個瀏覽器&lt;br /&gt;
因為我被一些該死的圖片或是javascript或是廣告或是跳出視窗...bluhbluh~&lt;br /&gt;
弄得好煩!&lt;br /&gt;
&lt;br /&gt;
嚴格上來說可以算是Pro版的BlockAd...=口=||&lt;br /&gt;
所以現在來筆記一下怎麼自動移除網頁裡面的元素~&lt;br /&gt;
&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;我是利用mshtml的IHTMLDOMNode來完成&lt;br /&gt;
根據MSDN先生的說法&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style="background-color: #eeeeee; border: 1px solid #aaa;"&gt;&lt;h1 class="title" style="color: #3f529c; font-family: 'Segoe UI', Verdana, Arial; font-size: 1.769em; font-style: normal; font-variant: normal; font-weight: bold; line-height: normal; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;IHTMLDOMNode Interface&lt;/h1&gt;&lt;div class="clsDocBody" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;"&gt;Provides methods to access all of the nodes in the document object model (DOM), to iterate the nodes, to insert nodes, to remove nodes, and to get the attributes of a node.&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
1.首先加一個參考Microsoft.mshtml&lt;br /&gt;
&lt;br /&gt;
2.&lt;br /&gt;
&lt;pre class="brush: csharp" title="程式碼"&gt;using Microsoft.mshtml;
&lt;/pre&gt;&lt;br /&gt;
3.&lt;br /&gt;
&lt;pre class="brush: csharp" title="程式碼"&gt;HTMLDocument doc1 = webBrowser1.Document.Body.Document.DomDocument as HTMLDocument;
 
//所有連結
foreach (IHTMLElement element in doc1.links)
{
   IHTMLDOMNode node = element as IHTMLDOMNode;
   node.removeNode(true);
}
&lt;/pre&gt;&lt;br /&gt;
或是&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="brush: csharp" title="程式碼"&gt;HTMLDocument doc1 = webBrowser1.Document.Body.Document.DomDocument as HTMLDocument;
 
//所有圖片
foreach (IHTMLElement element in doc1.images)
{
   IHTMLDOMNode node = element as IHTMLDOMNode;
   node.removeNode(true);
}
&lt;/pre&gt;&lt;br /&gt;
或是&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="brush: csharp" title="程式碼"&gt;public void RemoveByTag(string Tag)
{
   HTMLDocument doc1 = webBrowser1.Document.Body.Document.DomDocument as HTMLDocument;
 
   //指定的標籤
   foreach (IHTMLElement element in doc1.getElementsByTagName(Tag))
   {
      IHTMLDOMNode node = element as IHTMLDOMNode;
      node.removeNode(true);
   }
}
&lt;/pre&gt;</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiypRD__2ILLGKyAOyfkxLYvOSJvv9uOOad2tnAur9e51C2E6Z98OgGxUPL6WGgZZ3xCoVeAVKPvpy7_GILYHpJJ7l1iWBFUEUT2djCk6py6ficA49g_yQC-cfbopDUAnvz64TUvWmnMF4H/s72-c/imagesCAVXU8Q8.jpg" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>lamborgini.net@gmail.com (Lamborgini)</author></item><item><title>C# webBrowser 見鬼了的StatusTextChanged事件</title><link>http://lambobobobo.blogspot.com/2010/10/c-webbrowser-statustextchanged.html</link><category>C#.vc#2005</category><category>statustextchanged</category><category>tips</category><category>小密技</category><category>程式</category><category>筆記</category><pubDate>Sat, 23 Oct 2010 23:43:00 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-7947444291396570648.post-2196708445639691082</guid><description>&lt;div&gt;&lt;img border="0" height="219" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuooA-tHBcJfNiAqn67QRgo2tKGzGpQBAvfpqAT7TmXh67vs0V1VHTuvc-Iyi7sDHHcjes4R9Mlsenixq1ASuS4MohKmTUQX1dbLshxVeDOI1XhlGyMTb-9nJNqVkYmtyJvaBThUEl4yiI/s320/371px-C_sharp_svg.jpg" width="320" /&gt;&lt;/div&gt;見鬼了~&lt;br /&gt;
&lt;br /&gt;
我肯定我有寫過類似的阿~&lt;br /&gt;
&lt;br /&gt;
可是今天想要找這個事件的時候竟然找不到....哪A安捏=ˇ=&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div&gt;&lt;img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2OsruomfIAQUthK5WtZ2s8IVXlXv54iplYslsocoYKNw2kwlNm7Y49amh7SR6p_gMtgCbW5hlbqAXlJmOYB-1Gw-E0RlxZckgamIoR9fFEr6aNm_MRMOKL5f0MqKkbh4qYJGdiaLx-P3h/s1600/statustextchanged.jpg" /&gt;&lt;/div&gt;&lt;br /&gt;
真的沒有這個事件阿=口= 我有眼花嗎....&lt;br /&gt;
&lt;br /&gt;
可是可是....&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;&lt;img border="0" height="258" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUeVXfOmx3Wyb52JEIj8yhTVy5Q1EljEDMwj7Cowkb4d3PNKjFk4Of_okTzTQRHdO9NRRLJ2O08gHDoc2QfS1SgyJK6Tm5J5tXuMlI4kt0HcKooOyiiA9y_BbWbPgX_ZvXrbTzRwzJ-QBV/s400/statustextchanged2.jpg" width="400" /&gt;&lt;/div&gt;&lt;br /&gt;
真的有阿..........................QQ"&lt;br /&gt;
&lt;br /&gt;
人老了膽子都會變小(抖..&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;&lt;img border="0" height="30" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi65c-cDHTkqd7_mUhWMAJ1JW5I8koO24VpGhxXenzZxG6B_D5m8MiqwpNogyFu1Fa-nagpptfRZ9pEux2i8qOS1kavtmymKHfblTANY1UVAbT_8D-SJulSKzncAdfA1ulMH73iRQSSmvux/s200/%E5%A4%B1%E9%AD%82.jpg" width="30" /&gt;rz&lt;/div&gt;</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuooA-tHBcJfNiAqn67QRgo2tKGzGpQBAvfpqAT7TmXh67vs0V1VHTuvc-Iyi7sDHHcjes4R9Mlsenixq1ASuS4MohKmTUQX1dbLshxVeDOI1XhlGyMTb-9nJNqVkYmtyJvaBThUEl4yiI/s72-c/371px-C_sharp_svg.jpg" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>lamborgini.net@gmail.com (Lamborgini)</author></item><item><title>C# 自訂InputBox(可輸入的對話框)</title><link>http://lambobobobo.blogspot.com/2010/10/c-inputbox.html</link><category>C#</category><category>inputbox</category><category>tips</category><category>程式</category><category>筆記</category><pubDate>Sat, 23 Oct 2010 22:16:00 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-7947444291396570648.post-5244025374538410364</guid><description>&lt;div&gt;&lt;img border="0" height="263" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEir2QtJmvUIk_IdpEfyAmZox_FUa6Zx3-42QpCDQrWTwzL6RhjRFMfxPXeYVk4QKbp9RGoupj0QL2CQ_xHTqrEdBN0oFXa14xCalJ2wBHdURMepzixqyaCCD79fr5winhRfNgtSkMrZDynz/s400/Cplus_CSharp.jpg" width="400" /&gt;&lt;/div&gt;本篇也是筆記XD&lt;br /&gt;
&lt;br /&gt;
又是太久沒用到所以忘記了~&lt;br /&gt;
&lt;br /&gt;
自訂輸入對話框一定是常用的阿!!!!&lt;br /&gt;
&lt;br /&gt;
所以說阿~人一定不能沒筆記喔~啾咪!&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;&lt;img border="0" height="308" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjONAt3RLc0Zql9QdjBqr_WPTSatMZjW8JcIAeMpv5X39NMy5e6COn_QuTCDqbK_nbUjk1vw-LwlEz5EOuJk9cZ3Goft63IiAbGCdgqpzJOwCMk-uQ3gk4YDcPw6Hx1xzAUyWEU_4BgTfMw/s320/0909BANAO_item.jpg" width="320" /&gt;&lt;/div&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
1.首先在 [專案] 功能表上按一下 新增 Windows 表單 將新的表單加入至這個專案。然後就可以用這個表單當對話方塊。&lt;br /&gt;
&lt;br /&gt;
2.畫面拉一拉&lt;br /&gt;
&lt;div"&gt;&lt;img border="0" height="147" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOrV9hUGjIqwxBA8Q1Mk6dWxfACJud4Rayrtv8rg4wlHvIPnMt9xp7gPqTdjEdrVocsQVikFLysE0l6UmYl26ulDNmsaLbYL5nm56IG0FQOiJ-_qZil0VR0tUfWphabLpDZMOgo-YeJcv0/s320/inputbox.jpg" width="320" /&gt;&lt;br /&gt;
&lt;br /&gt;
3.確定和取消的DialogResult屬性分別設定為OK和Cancel&lt;/div"&gt;&lt;div class="separator" style="clear: both;"&gt;&lt;img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrh0tI-jf389ZHL9EGljVabu_VFqzUQ8CzFDctTUis2mdm4AU_FN9x8ztNDlgAbqVtC8P5PuLVGrmoZGtd-Yh9xNYZu1OWG7Rfa7q3xOpk_xa1tKCd82DM_rk8M84C_ogyt7s6FFGL2u4H/s320/OKdialogresult.jpg" width="311" /&gt;&lt;img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJFyVao5NQA49lsRDqGPxid2yS_n6ylmBskXrD5FRTBKf4R3eFurCdtsHXNdd-NAffuZ5qPvqcaTOT8cjWwHIbXrA1bdQKbbNgpo8DxQsf7ImqNW8dEjTZJEDQ2fqVaNujm54GhoAeezFW/s320/CancelDialogresult.jpg" width="303" /&gt;&lt;/div&gt;&lt;br /&gt;
4.程式碼大概長這樣就可以用了&lt;br /&gt;
&lt;pre class="brush: csharp" title="程式碼"&gt;public partial class InputBox : Form
{
        public InputBox()
        {
            InitializeComponent();
        }
        private string Msg;

        private void button1_Click(object sender, EventArgs e)
        {
                Msg = textBox1.Text;
        }

        public string GetMsg()
        {
                return Msg;
        }
}
&lt;/pre&gt;&lt;br /&gt;
5.然後在原表單的呼叫方法如下&lt;br /&gt;
&lt;pre class="brush: csharp" title="程式碼"&gt;InputBox input = new InputBox();
DialogResult dr = input.ShowDiaolog();
if(dr ==DialogResult.OK)
{
        MessageBox.Show(input.GetMsg());
}
&lt;/pre&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;6.收工吃飯&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div&gt;&lt;img border="0" height="125" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcv1_n409vKV0XWi2-z3pTCHZEQ3SvHfRLHXxKuEMaeH_JirfMooFOJe-Hyh2Xfnc8TTSskNWa4_8H-x6zYfDykW4Oh4w2vrPbatD1aCe960vFmdBRTwgHBI7ZcIK_wBc6gYMfdWcEM8aS/s200/%E9%B3%A5.jpg" width="200" /&gt;&lt;/div&gt;</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEir2QtJmvUIk_IdpEfyAmZox_FUa6Zx3-42QpCDQrWTwzL6RhjRFMfxPXeYVk4QKbp9RGoupj0QL2CQ_xHTqrEdBN0oFXa14xCalJ2wBHdURMepzixqyaCCD79fr5winhRfNgtSkMrZDynz/s72-c/Cplus_CSharp.jpg" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>lamborgini.net@gmail.com (Lamborgini)</author></item><item><title>在Http File Server(HFS)上製作專屬的相本(Gallery)</title><link>http://lambobobobo.blogspot.com/2010/10/http-file-serverhfsgallery.html</link><category>css</category><category>galleroo</category><category>HFS</category><category>tips</category><category>小密技</category><category>筆記</category><category>軟體</category><pubDate>Fri, 22 Oct 2010 20:23:00 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-7947444291396570648.post-3926209276340685759</guid><description>&lt;div&gt;&lt;img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMeAVx91Un02Spa4h4DUqj3bb4pcPE8lgpG12e-r_rgmdgpTOcis3KBHZ-qd24f218R5NtGH4uNbv59emeVmQnKCx6vXi6Q-C39UCHAeLNIlFtbYbrTHglQG0uqWIgPCuOU6Dx8kW4xf7z/s1600/logo100.jpg" /&gt;&lt;br /&gt;
HFS是一套專為個人用戶所設計的 HTTP 檔案系統 - Http File Server，如果您覺得架設 FTP Server 太麻煩，那麼這個軟體可以提供您更方便的檔案傳輸系統，下載後無須安裝，只要解壓縮後執行 hfs.exe，於「Virtual File System(虛擬檔案系統)」窗格下按滑鼠右鍵，即可新增/移除虛擬檔案資料夾，或者，直接將欲加入的檔案拖曳至此視窗，便可架設完成個人 HTTP 虛擬檔案伺服器。&lt;/div&gt;&lt;br /&gt;
&lt;div&gt;&lt;img border="0" height="292" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgw1tpRsaTnKKfLjQ6xRsYxVxQ-7cO-fvvykVrlmoCuIP53ewOVJCok7dJuRwvcNwxMyhQgUD-Nwiiz7ozeHpm7QiRmNPOOz5_yDyy__tKvmgul1YWwPaGdKdOFVE7IZFFJDZMuXxsEZh4E/s320/hfs+v2.3+242.jpg" width="320" /&gt;&lt;/div&gt;&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
用這套檔案伺服器軟體也好幾年了&lt;br /&gt;
最近才突然發現原來可以自己做有點類似相簿的功能XDDD&lt;br /&gt;
HFS好棒阿!!!!!&lt;img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZGcojMQ2m5YXQTliWWY7UPa5Iz7gXE_qI41qF9RWE8aFyRHPtp5clMyzIYrE0Yf1MlSQAWIW6vwbYCIdWwPBG1vUY7BAmaKPjsYk1IN8sFn6XkoaMiPHBVSu72RwRYyy0dMn4OKR1eWTL/s1600/%E6%B7%AB%E7%AC%91+(1).jpg" /&gt;&lt;br /&gt;
&lt;br /&gt;
首先要去下載&lt;a href="http://www.xyster.net/galleroo/"&gt;Galleroo&lt;/a&gt;這套軟體~點進去以後按"Download"就可以下載了~&lt;br /&gt;
目前使用的版本是3.5~&lt;br /&gt;
&lt;br /&gt;
安裝完以後打開軟體&lt;br /&gt;
&lt;div&gt;&lt;img border="0" height="300" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiolXffsvzxy2-IQ14HQy9WoipfrbpiheDxNWTzQFqjlNlcorBHx8_lsCXDRtDoTXjZF_Ow9DHZHX3eER5v3MfXp5ESoc_iGEexDFn9lEm7cMJewpZ5QDy7rutnEilK6fKkwS2Hr1NEQKb_/s400/Galleroo+20101022+%E4%B8%8B%E5%8D%88+064236.jpg" width="400" /&gt;&lt;/div&gt;介面大概是長這樣&lt;br /&gt;
&lt;br /&gt;
他有四種樣式(style)可以選~&lt;br /&gt;
我是用Tavla這個樣式~因為好像只有這個可以分頁面~&lt;br /&gt;
其他樣式都是啪啦一口氣就全部的小縮圖(thumb)列出來~&lt;br /&gt;
你就會看到你的HFS狂閃綠光XDDDDDDDDDD&lt;br /&gt;
&lt;br /&gt;
還是其他樣式也有分頁功能~只是我沒發現!!!XDD&lt;br /&gt;
畢竟網站都是英文的= ="&lt;br /&gt;
我也不知道 哈哈哈哈!&lt;br /&gt;
&lt;br /&gt;
這邊是四種樣式的範例網站~可以參考看看!&lt;br /&gt;
&lt;br /&gt;
&lt;div style="background-color: #eeeeee; border: 1px solid #888888; padding: 20px 20px 20px 20px; width: auto;"&gt;Examples&lt;br /&gt;
&lt;ul&gt;&lt;li style="padding-bottom: 0.1em; padding-left: 0.1em; padding-right: 0.1em; padding-top: 0.1em;"&gt;&lt;a href="http://www.xyster.net/galleroo/examples/galleries/pratim_index.html" style="border-bottom-color: rgb(102, 102, 102); border-bottom-style: solid; border-bottom-width: 1px; color: black; text-decoration: none;"&gt;Pratim&lt;/a&gt;&amp;nbsp;- for the photographer&lt;/li&gt;
&lt;li style="padding-bottom: 0.1em; padding-left: 0.1em; padding-right: 0.1em; padding-top: 0.1em;"&gt;&lt;a href="http://www.xyster.net/galleroo/examples/galleries/tavla_index.html" style="border-bottom-color: rgb(102, 102, 102); border-bottom-style: solid; border-bottom-width: 1px; color: black; text-decoration: none;"&gt;Tavla&lt;/a&gt;&amp;nbsp;- thumbnail tables&lt;/li&gt;
&lt;li style="padding-bottom: 0.1em; padding-left: 0.1em; padding-right: 0.1em; padding-top: 0.1em;"&gt;&lt;a href="http://www.xyster.net/galleroo/examples/galleries/misgarot_index.html" style="border-bottom-color: rgb(102, 102, 102); border-bottom-style: solid; border-bottom-width: 1px; color: black; text-decoration: none;"&gt;Misgarot&lt;/a&gt;&amp;nbsp;- frames everywhere&lt;/li&gt;
&lt;li style="padding-bottom: 0.1em; padding-left: 0.1em; padding-right: 0.1em; padding-top: 0.1em;"&gt;&lt;a href="http://www.xyster.net/galleroo/examples/galleries/index.html" style="border-bottom-color: rgb(102, 102, 102); border-bottom-style: solid; border-bottom-width: 1px; color: black; text-decoration: none;"&gt;Tiqur&lt;/a&gt;&amp;nbsp;- annotation gallery&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;br /&gt;
然後我大概介紹一下功能&lt;br /&gt;
&lt;br /&gt;
Go! : 按下去就可以開始產生相片播放的html檔案了&lt;br /&gt;
Mode:這邊分三種「Smart Tweak」 「Tweak Full」 「HTML Only」&lt;br /&gt;
&amp;nbsp;&amp;nbsp; Smart Tweak: 應該是跟表面上的意思一樣~相信他的智慧~交給他判斷吧XDDD&lt;br /&gt;
&amp;nbsp;&amp;nbsp; Tweak Full: 應該是縮圖跟HTML都會重新產生一次&lt;br /&gt;
&amp;nbsp;&amp;nbsp; HTML Only: 應該是只產生HTML檔就好&lt;br /&gt;
Source Folder: 選擇你的圖片來源資料夾&lt;br /&gt;
Gallery Folder: 選擇你要產生的相片撥放的html檔案要放哪個資料夾&lt;br /&gt;
Thumb Size: 程式會產生你指定大小的縮圖(預設75)&lt;br /&gt;
Image Size: 程式會產生你指定大小的放大圖(預設600)&lt;br /&gt;
Thumb Quality: 程式會產生你指定的相片品質的縮圖(預設75)&lt;br /&gt;
Image Quality: 程式會產生你指定的相片品質的放大圖(預設75)&lt;br /&gt;
Title: 主標題&lt;br /&gt;
Sub Title: 子標題&lt;br /&gt;
Sort By: 這邊可以選擇依照日期(date)或是名字(name)來排序&lt;br /&gt;
Sort Order: 這邊可以選擇順排還是逆排&lt;br /&gt;
Do Thumb Slider: 設定yes&lt;br /&gt;
Columns Per Index: 主頁面每一列要放幾張圖&lt;br /&gt;
Rows Per Index: 主頁面要有幾列&lt;br /&gt;
Do Three Stage: 選no (產生縮圖~放大圖) 選yes(產生縮圖 放大圖 原始圖)&lt;br /&gt;
Do Auto Play Movies: 自動開始&lt;br /&gt;
Custom CSS File: 看要不要自訂CSS~我這邊是留空白~可是有重寫一個覆蓋它原始的&lt;br /&gt;
Gallery Root: 他上一層的網址(預設是../index.html) 因為我是用HFS所以改成「../」就可以了&lt;br /&gt;
&lt;br /&gt;
然後功能介紹完了~&lt;br /&gt;
就設定一下就按 Go! 吧!!!!!&lt;br /&gt;
&lt;br /&gt;
ps.&lt;br /&gt;
我再Go!的時候 有時候發現會卡住~&lt;br /&gt;
好像是圖片的問題~可是也不知道圖片是哪裡有問題~&lt;br /&gt;
可是把卡住圖片拿走~他就又可以跑得很順了~真怪=口=&lt;br /&gt;
&lt;br /&gt;
Go!完以後就是要把相本加入HFS了~&lt;br /&gt;
假設你Gallery Folder(就是你產生相片的html檔案的資料夾)的名稱是Image Gallery好了&lt;br /&gt;
你就把Image Gallery這個資料夾拖拖拖拖到HFS裡面~&lt;br /&gt;
看你要放甚麼位置~&lt;br /&gt;
然後我是選real-folder 不然virtual-folder每次重改檔案都要重拉一次很麻煩~&lt;br /&gt;
然後在HFS的Gallery Folder的資料夾上面按右鍵選Properties~找Default file mask&lt;br /&gt;
填入index.html~OK!!&lt;br /&gt;
&lt;img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEip9c79zABpovafebLiOlEKAHq9IcNg6DSHDRvTsWvRhZn78xFhi16asCVhHJwqR2V_Mjy2iftw5EglMf-WASCUbGbiX7nY_vnou1HbG3qXFbIJdW0RWhGvZJbayY4s2CQ9EDy-8Zv8AErI/s400/properties+gallery.jpg" width="373" /&gt;&lt;br /&gt;
然後就可以收工吃飯了=口=&lt;br /&gt;
順便分享一下我的CSS XDDD 雖然很醜~不過比預設的好看5千倍有吧XDD(我真不要臉&lt;br /&gt;
&lt;a href="http://www.box.net/files#/files/0/item/f_530681069"&gt;下載&lt;/a&gt;&lt;br /&gt;
等 Go! 完以後把檔案蓋進去就好~~~~&lt;br /&gt;
要套用我的CSS的話~~~&lt;br /&gt;
Galleroo所有的顏色~字體~背景~按鈕圖片都不要改唷~&lt;br /&gt;
恩~就是細麵這些都用原本的設定就好~&lt;br /&gt;
&lt;div&gt;&lt;img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0gmSdVdF8Qfxp_T36D0g9xDrItpWOe_aGFP98wmRRsLZYkQP4GKBitWmJuwUlYWrkf_7G11apje3sUVrOg8vmGUaoskrhwjhHXNiQG-JN_kB8ASrsWc54X_IuXLMxxR_ehOtu5I8MJ-tr/s1600/Galleroo+20101022+%E4%B8%8B%E5%8D%88+080406.jpg" /&gt;&lt;/div&gt;&lt;br /&gt;
啾咪~&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: left; margin-right: 1em; text-align: left;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgR9uf6HnnembkE0q-De2I4d3jTovsNkj5cw1J2eMvGHjyOzR4BoOVeSFXmyWffYnXK37J-z3Yks63sf3E5EMQsL-jfShK0kDFSBYyl4b8WN6wAQLJW0W3EEm85sO6lj8d2YX6YKAZa2pYQ/s1600/Photo+Gallery+-+.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="297" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgR9uf6HnnembkE0q-De2I4d3jTovsNkj5cw1J2eMvGHjyOzR4BoOVeSFXmyWffYnXK37J-z3Yks63sf3E5EMQsL-jfShK0kDFSBYyl4b8WN6wAQLJW0W3EEm85sO6lj8d2YX6YKAZa2pYQ/s400/Photo+Gallery+-+.jpg" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;這個就是我的版面XDD 雖然還是很醜不過比預設的每了啦XDDD&lt;br /&gt;
然後因為圖片都太害羞了~所以用小畫家把它蓋掉了XDDD&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div&gt;&lt;table cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: left; margin-right: 1em; text-align: left;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCuBKJCUMAwJyDtxDMK_PQeIQsLjPVjWEx5Y3PdeJC9_IK-bnkZDXkaNzWARLEVBttjnrychaKI2I7FcqwriVmeQH56Q-8ENeChwuE5P39CKHSD_2TCJb5_REZk9aSbzUo4grpI0T2TzmY/s1600/galleryslide.jpg" imageanchor="1" style="clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="337" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCuBKJCUMAwJyDtxDMK_PQeIQsLjPVjWEx5Y3PdeJC9_IK-bnkZDXkaNzWARLEVBttjnrychaKI2I7FcqwriVmeQH56Q-8ENeChwuE5P39CKHSD_2TCJb5_REZk9aSbzUo4grpI0T2TzmY/s400/galleryslide.jpg" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;這是點進去的內頁畫面~~~XDDDD&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMeAVx91Un02Spa4h4DUqj3bb4pcPE8lgpG12e-r_rgmdgpTOcis3KBHZ-qd24f218R5NtGH4uNbv59emeVmQnKCx6vXi6Q-C39UCHAeLNIlFtbYbrTHglQG0uqWIgPCuOU6Dx8kW4xf7z/s72-c/logo100.jpg" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">4</thr:total><author>lamborgini.net@gmail.com (Lamborgini)</author></item><item><title>C# 給陌生人的專屬個人版MSN.....</title><link>http://lambobobobo.blogspot.com/2010/10/c-msn.html</link><category>C#</category><category>iframe</category><category>msn</category><category>tips</category><category>webBrowser</category><category>小密技</category><category>程式</category><category>筆記</category><category>軟體</category><pubDate>Thu, 21 Oct 2010 04:54:00 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-7947444291396570648.post-2133667943357456268</guid><description>&lt;div style="clear: both;"&gt;&lt;img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDxfsYQGZMePBIxc338AB7saLgyTdJTcsrgp5K__BiBOHxzAlUZ05cOSAt2AAyiFy3JXZWiK0vawmo3YDsWW7N-N5SHH8R4fMDbk6iOcVJZQSTRP0EulQVBWn5Pt8FU3z_uQ_vMg1kuo_a/s400/%E8%8A%B1_1_~1.JPG" width="340" /&gt;&lt;/div&gt;由於...有人一直抱怨我都不給他MSN帳號~&lt;br /&gt;
所以有今天這個程式的誕生= ="&lt;br /&gt;
至於這個「有人」就是上面這一支.....&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
先看看畫面吧...&lt;br /&gt;
&lt;br /&gt;
&lt;div style="clear: both;"&gt;&lt;img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGtTTD4p8gChL0BbMb67s0jw0lEc-BsmbdxdVw6q7ColTQDWTXy1W0mlqn_mOsIrX7NSteFSORqMup9FQUOJawKjsgnb1D6Lc-MA8ir3zKYIk7UHfrPRtXQ5lEFVfVc6jVzzGjKJGPcMdX/s1600/msntomedesktop.jpg" style="margin-left: auto; margin-right: auto;" width="382" /&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: x-large;"&gt;在桌面的樣子~背景是香蕉&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style="clear: both;"&gt;&lt;img border="0" height="249" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6JX0CVT_4LM4nz7l2xamkohC5xPAeukbstsNKQk2AMyX9mnEUge_DlqB1lKNtRBGt422yKLL0aoT_3C1NTeWdmS0-W46yZgTv5RFbx_jzZPbT9J-3Zipt8LgfPylK_dflg0OpaegnZTRG/s400/msntometaskbar.jpg" style="margin-left: auto; margin-right: auto;" width="400" /&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: x-large;"&gt;在右下角通知區域的樣子&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style="clear: both;"&gt;&lt;img border="0" height="203" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoSWnADG1BiBqeScQb8ScDUgDzpyMaChmBW0nM6lWP8hKjCrsDJeN2iJrAu3EyCfLv51o7FePJ0ILogn1BmE4fw-FsUs1v7BOMqHllmBvHrKT5KfSbD_LCFS2TB0VI7ZJmHOmAd6CLZwZ8/s400/msntometoolbar.jpg" style="margin-left: auto; margin-right: auto;" width="400" /&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: x-large;"&gt;在工具列的樣子&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style="clear: both;"&gt;&lt;img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiO3HCNohTaIYV8bNSvu_FikuE7uz66aQgBld1_ie9XMLPagf9fsHdNHNPQBRjTfvooQYj2XdSjdvpT0jzZgIqjyB02D49BO026ad6XKmR27EiGqjBpwNudaQWUzAGisiAIusoeXqiWH0xe/s400/msntomerightclick.jpg" width="391" /&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: x-large;"&gt;在圖示上按右鍵跑出menu的樣子&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style="clear: both;"&gt;&lt;img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgo0vW7FsIvKd8BUE4VMImMIClqRXiq9rJQAaj9i8Z6CetISxkfYPaxch2aDfIU_RoX6VhUkKnXuIcpnxPk-JPHKy7AkmqKGrYQfMJ_MMMvBT0FiE8abPGQpS4jM_-ApgMIQS4tcjlpunXd/s400/msntomenewmsg.jpg" style="margin-left: auto; margin-right: auto;" width="400" /&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: x-large;"&gt;有新訊息的樣子~&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: x-large;"&gt;聲音當然是經典的等燈燈~&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
--------------------------------------------------------------------------------&lt;br /&gt;
然後其實還蠻簡單的~&lt;br /&gt;
把網頁版的msn嵌入windows form而已...&lt;br /&gt;
&lt;br /&gt;
有人會問槓麻不用網頁的就好了= ="&lt;br /&gt;
請把卷軸捲到最上面~....&lt;br /&gt;
有看到一支嗎?&lt;br /&gt;
因為他說沒聲音提示~很不方便!&lt;br /&gt;
&lt;br /&gt;
然後這個程式稍微麻煩的地方在聲音出來的時機...&lt;br /&gt;
要去抓對方傳訊息過來的事件...&lt;br /&gt;
然後閃爍也太麻煩~所以用成notifyicon來顯示通知!&lt;br /&gt;
方便又不礙眼~啾咪!&lt;br /&gt;
&lt;br /&gt;
話說~其實如果有陌生人跟你要MSN的話~&lt;br /&gt;
可以給他這種個人版的XDDDD&lt;br /&gt;
因為不會透漏自己的MSN帳號~蠻讚的!&lt;br /&gt;
適合常常需要加陌生人MSN的捧由~~~~&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdpuSSIMIVyHtGcTtmI8EEFu3i0HD7Tb6YeANcTrro708S86o6kW7Xq3LjVj8BHZYoAUYUZfCGuKk5XuTuOF0Wk_hpN8tq0TGHQ0TMM3cbMAIxkhYm6kniwIl-u4cuIDXK6ndExaeOVPr5/s1600/Messenger_black_beta.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="76" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdpuSSIMIVyHtGcTtmI8EEFu3i0HD7Tb6YeANcTrro708S86o6kW7Xq3LjVj8BHZYoAUYUZfCGuKk5XuTuOF0Wk_hpN8tq0TGHQ0TMM3cbMAIxkhYm6kniwIl-u4cuIDXK6ndExaeOVPr5/s400/Messenger_black_beta.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDxfsYQGZMePBIxc338AB7saLgyTdJTcsrgp5K__BiBOHxzAlUZ05cOSAt2AAyiFy3JXZWiK0vawmo3YDsWW7N-N5SHH8R4fMDbk6iOcVJZQSTRP0EulQVBWn5Pt8FU3z_uQ_vMg1kuo_a/s72-c/%E8%8A%B1_1_~1.JPG" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">3</thr:total><author>lamborgini.net@gmail.com (Lamborgini)</author></item><item><title>C# 播放wav~筆記</title><link>http://lambobobobo.blogspot.com/2010/10/c-wav.html</link><category>C#</category><category>mediaplayer</category><category>tips</category><category>wav</category><category>windows</category><category>小密技</category><category>程式</category><category>筆記</category><pubDate>Thu, 21 Oct 2010 03:30:00 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-7947444291396570648.post-2028122472090905183</guid><description>突然忘記怎麼用~結果還要去google大神查~&lt;br /&gt;
&lt;br /&gt;
唉~人真的是不能沒有筆記阿~~&lt;br /&gt;
&lt;div style="clear: both;"&gt;&lt;img border="0" height="308" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjONAt3RLc0Zql9QdjBqr_WPTSatMZjW8JcIAeMpv5X39NMy5e6COn_QuTCDqbK_nbUjk1vw-LwlEz5EOuJk9cZ3Goft63IiAbGCdgqpzJOwCMk-uQ3gk4YDcPw6Hx1xzAUyWEU_4BgTfMw/s320/0909BANAO_item.jpg" width="320" /&gt;&lt;br /&gt;
&lt;/div&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div style="clear: both;"&gt;&lt;img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzzsHpfckHwpIBrBCwcpRRVwMdDgS-l7TxLRr2JnuEMcZPKxVajS62pEL2Ht4L0NVrv1ZndqwISUU5gjDv9nwZG7CPzA3_XTxPkANkuDh6PMPRPmxcPcQvrd8-V4hjYBD7rxizTru-T3uY/s320/78231.jpg" width="268" /&gt;&lt;img border="0" height="261" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgNJS68d9zaVerV95aplUDyq7HU9gLJqO_eiBE7iqgXo28YPlOnnB_3TeBL-M4POBer5_zm4r3r9o6jyOgBDAAy4dzWB4nIQERxtX8xbWJlKAGWpwstUPZUHw4iIgwuVLm48ggVNGi5Mho/s320/200855123713408_2.jpg" width="320" /&gt;&lt;img border="0" height="173" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4YTRyu51wxX6yB1EN25ODmozl67BfCno9ALEtPY_jrhK5yhyphenhyphenlPHk65sUbZ-HqJ6IJvSJN5h1eBf8PNU6AE15_mNKXXsYncDXiUeazO2tggWyj9cRzdwa6VvpY6KPQxpNA5gYQ52MWrT8R/s320/GPEN200NW6_3.jpg" width="320" /&gt;&lt;img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg82N0cL-GIdlJn4GGaETbZc_zg9ZCTHON78EbA8GVwu0E_sIx5VbnOf0JqxlZ43lpPtBUE93-df8eYv2r_zwg4W1O3yWU3n7CveXiERKPmuRWvYNCg3c1tHuPs-aZS5QVUxax92ueGCngS/s320/morenotebook.JPG" width="213" /&gt;&lt;img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEha1wSc_IYu3sVp8s2oSvKzkPS81sX-1YnxGVtuDxxgPESzZYljJkRxCRanBYtgi_qEjcdSG8_IlDbIrVvR6b4nx-oQxIxfsy-9yiyZkBDnH-_YyCTvXFXWFhYAiyqcXWg7Qi9W7XHnk-FF/s1600/DSCF3514.jpg" /&gt;&lt;/div&gt;&lt;br /&gt;
以上是香蕉先生的工商時間XDDD&lt;br /&gt;
言歸正傳~~~~&lt;br /&gt;
&lt;br /&gt;
其實google神了一下以後~也學到蠻多新招的啦XD&lt;br /&gt;
播放個音效而已~這麼多招-.-&lt;br /&gt;
&lt;pre class="brush:csharp" title="程式碼"&gt;using System.Media;
&lt;/pre&gt;&lt;pre class="brush:csharp" title="程式碼"&gt;SoundPlayer sp = new SoundPlayer("sound位置");
sp.Play();
&lt;/pre&gt;&lt;br /&gt;
順便筆記一下MSDN的資料~~~&lt;br /&gt;
&lt;br /&gt;
&lt;h1 class="title" style="color: #3f529c; font-family: 'Segoe UI', Verdana, Arial; font-size: 1.769em; font-style: normal; font-variant: normal; font-weight: bold; line-height: normal; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;SoundPlayer 類別&lt;/h1&gt;&lt;span class="Apple-style-span" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;"&gt;控制 .wav 檔音效的播放。&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #3f529c; font-family: 'Segoe UI', Verdana, Arial; font-size: 20px; font-weight: bold;"&gt;備註&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;span class="sentence" id="xn2_c03d91c697fb823928ee25538256267d"&gt;&lt;span xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;span class="selflink"&gt;SoundPlayer&lt;/span&gt;&lt;/span&gt;&amp;nbsp;類別 (Class) 提供簡單的介面可載入和播放 .wav 檔。&lt;/span&gt;&lt;span class="sentence" id="xn3_dc706b123669233d1a4e1b6c35e3438e"&gt;&lt;span xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;span class="selflink"&gt;SoundPlayer&lt;/span&gt;&lt;/span&gt;&amp;nbsp;類別支援從檔案路徑、URL、包含 .wav 檔的&amp;nbsp;&lt;span xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;a href="http://msdn.microsoft.com/zh-tw/library/system.io.stream.aspx" style="color: #1364c4; text-decoration: none;"&gt;Stream&lt;/a&gt;&lt;/span&gt;、或包含 .wav 檔的內嵌資源載入 .wav 檔。&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;span class="sentence" id="xn4_f4cc2608385008cd934e6f0f93bb8ff1"&gt;若要使用&amp;nbsp;&lt;span xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;span class="selflink"&gt;SoundPlayer&lt;/span&gt;&lt;/span&gt;&amp;nbsp;類別播放音效，請設定包含 .wav 檔路徑的&amp;nbsp;&lt;span xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;span class="selflink"&gt;SoundPlayer&lt;/span&gt;&lt;/span&gt;&amp;nbsp;並呼叫其中一個播放方法。&lt;/span&gt;&lt;span class="sentence" id="xn5_f5bacdd8c3734fd7f9161bb522f4d188"&gt;您可以使用其中一個建構函式 (Constructor)，或者設定&lt;span xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;a href="http://msdn.microsoft.com/zh-tw/library/system.media.soundplayer.soundlocation.aspx" style="color: #1364c4; text-decoration: none;"&gt;SoundLocation&lt;/a&gt;&lt;/span&gt;&amp;nbsp;或&amp;nbsp;&lt;span xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;a href="http://msdn.microsoft.com/zh-tw/library/system.media.soundplayer.stream.aspx" style="color: #1364c4; text-decoration: none;"&gt;Stream&lt;/a&gt;&lt;/span&gt;&amp;nbsp;屬性��辨認要播放的 .wav 檔。&lt;/span&gt;&lt;span class="sentence" id="xn6_4e3415b9c4fbf2a017338dd1ea56486a"&gt;在播放之前可使用其中一個載入方法將檔案載入，也可以延到呼叫其中一個播放方法後再載入。&lt;/span&gt;&lt;span class="sentence" id="xn7_d93e55f68f4e2ac3e9518db02e9499b7"&gt;設定從&lt;span xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;a href="http://msdn.microsoft.com/zh-tw/library/system.io.stream.aspx" style="color: #1364c4; text-decoration: none;"&gt;Stream&lt;/a&gt;&lt;/span&gt;&amp;nbsp;或從 URL 載入 .wav 檔的&amp;nbsp;&lt;span xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;span class="selflink"&gt;SoundPlayer&lt;/span&gt;&lt;/span&gt;，必須在播放開始之前將 .wav 檔載入到記憶體中。&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;span class="sentence" id="xn8_6d56df09ba98254b05641f94db8cd832"&gt;您可以同步或非同步載入或播放 .wav 檔。&lt;/span&gt;&lt;span class="sentence" id="xn9_89932d5235518f4808103b0480010a92"&gt;如果您呼叫同步載入或播放方法，呼叫緒執行會等待直到方法傳回，這可能會造成繪製和其他事件被中斷。&lt;/span&gt;&lt;span class="sentence" id="xn10_afeefc7779bd2df6fe2ac178bf6d23ff"&gt;呼叫非同步的載入或播放方法將允許呼叫執行緒持續運作而不中斷。&lt;/span&gt;&lt;span class="sentence" id="xn11_9aaaa679a5d48b865bbd9717413381db"&gt;如需非同步方法呼叫的詳細資訊，請參閱&amp;nbsp;&lt;span xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;a href="http://msdn.microsoft.com/zh-tw/library/hybbz6ke.aspx" style="color: #1364c4; text-decoration: none;"&gt;HOW TO：在背景執行作業&lt;/a&gt;&lt;/span&gt;。&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;span class="sentence" id="xn12_b877a49b1d5f0513857babd9e2ba1f32"&gt;&lt;span xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;span class="selflink"&gt;SoundPlayer&lt;/span&gt;&lt;/span&gt;&amp;nbsp;完成載入 .wav 檔後，它會引發&amp;nbsp;&lt;span xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;a href="http://msdn.microsoft.com/zh-tw/library/system.media.soundplayer.loadcompleted.aspx" style="color: #1364c4; text-decoration: none;"&gt;LoadCompleted&lt;/a&gt;&lt;/span&gt;&amp;nbsp;事件。&lt;/span&gt;&lt;span class="sentence" id="xn13_ff61aa4fa971aae12475dcc4907f4360"&gt;您可以檢查事件處理常式中的&amp;nbsp;&lt;span xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;a href="http://msdn.microsoft.com/zh-tw/library/system.componentmodel.asynccompletedeventargs.aspx" style="color: #1364c4; text-decoration: none;"&gt;AsyncCompletedEventArgs&lt;/a&gt;&lt;/span&gt;，以判斷載入成功或失敗。&lt;/span&gt;&lt;span class="sentence" id="xn14_ccffe2b4c0837fc341a83690e5fd39ef"&gt;當音效來源設定為新的檔案路徑或 URL 時，會引發&amp;nbsp;&lt;span xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;a href="http://msdn.microsoft.com/zh-tw/library/system.media.soundplayer.soundlocationchanged.aspx" style="color: #1364c4; text-decoration: none;"&gt;SoundLocationChanged&lt;/a&gt;&lt;/span&gt;&amp;nbsp;事件。&lt;/span&gt;&lt;span class="sentence" id="xn15_97d09b14baa783f2016d9f313607c6e5"&gt;當音效來源設定為新的&amp;nbsp;&lt;span xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;a href="http://msdn.microsoft.com/zh-tw/library/system.io.stream.aspx" style="color: #1364c4; text-decoration: none;"&gt;Stream&lt;/a&gt;&lt;/span&gt;&amp;nbsp;時，會引發&amp;nbsp;&lt;span xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;a href="http://msdn.microsoft.com/zh-tw/library/system.media.soundplayer.streamchanged.aspx" style="color: #1364c4; text-decoration: none;"&gt;StreamChanged&lt;/a&gt;&lt;/span&gt;&amp;nbsp;事件。&lt;/span&gt;&lt;span class="sentence" id="xn16_33703802057827d73de2f812a905d9dd"&gt;如需處理事件的詳細資訊，請參閱&lt;span xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;a href="http://msdn.microsoft.com/zh-tw/library/2ccyd347.aspx" style="color: #1364c4; text-decoration: none;"&gt;使用事件&lt;/a&gt;&lt;/span&gt;。&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;span class="sentence" id="xn17_8e413d9a78a36eb233e7d02114206ad2"&gt;如需&amp;nbsp;&lt;span xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;span class="selflink"&gt;SoundPlayer&lt;/span&gt;&lt;/span&gt;&amp;nbsp;的詳細資訊，請參閱&amp;nbsp;&lt;span xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;a href="http://msdn.microsoft.com/zh-tw/library/ms171679.aspx" style="color: #1364c4; text-decoration: none;"&gt;SoundPlayer 類別概觀&lt;/a&gt;&lt;/span&gt;。&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #3f529c; font-family: 'Segoe UI', Verdana, Arial; font-size: 20px; font-weight: bold;"&gt;版本資訊&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;"&gt;支援版本：4、3.5、3.0、2.0&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: 16pt;"&gt;--------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: 16pt;"&gt;還有用載入winmm.dll~使用PlaySound的method來播放!!&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h1 class="heading" style="color: #3f529c; font-family: 'Segoe UI', Verdana, Arial; font-size: 1.769em; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;範例&lt;/h1&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;"&gt;在下面的程式碼中，會使用&amp;nbsp;&lt;b&gt;DllImport&lt;/b&gt;&amp;nbsp;將&amp;nbsp;&lt;b&gt;winmm.dll&lt;/b&gt;&amp;nbsp;的&amp;nbsp;&lt;b&gt;PlaySound&lt;/b&gt;&amp;nbsp;方法進入點匯入為&amp;nbsp;&lt;tt xmlns:asp="http://msdn2.microsoft.com/asp"&gt;Form1 PlaySound()&lt;/tt&gt;。這是以簡單的 Windows Form 再加上一個按鈕為例。按一下表單上的按鈕，即會顯示標準的 Windows&amp;nbsp;&lt;span class="linkTerms"&gt;&lt;a href="http://msdn.microsoft.com/zh-tw/library/system.windows.forms.openfiledialog(v=VS.80).aspx" style="color: #1364c4; text-decoration: none;"&gt;OpenFileDialog&lt;/a&gt;&lt;/span&gt;&amp;nbsp;對話方塊，讓您開啟要播放的檔案。選取了 WAV 檔之後，便會使用 winmm.DLL 組件方法的&lt;b&gt;PlaySound()&lt;/b&gt;&amp;nbsp;方法播放。如需 winmm.dll 之&amp;nbsp;&lt;b&gt;PlaySound&lt;/b&gt;&amp;nbsp;方法的詳細資訊，請參閱&amp;nbsp;&lt;a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/multimed/htm/_win32_waveform_audio_files.asphttp://msdn.microsoft.com/library/default.asp?url=/library/en-us/multimed/htm/_win32_waveform_audio_files.asp" style="color: #1364c4; text-decoration: none;"&gt;Using PlaySound to Play Waveform-Audio Files&lt;/a&gt;。瀏覽並選取副檔名為 .wav 的檔案，然後按一下 [開啟]，使用平台叫用播放 WAV 檔。文字方塊會顯示所選取檔案的完整路徑。&lt;/div&gt;&lt;div style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;"&gt;[開啟檔案] 對話方塊會經過篩選設定，只顯示副檔名為 .wav 的檔案：&lt;/div&gt;&lt;pre class="brush:csharp" title="程式碼"&gt;dialog1.Filter = "Wav Files (*.wav)|*.wav";
&lt;/pre&gt;&lt;br /&gt;
&lt;pre class="brush:csharp" title="程式碼"&gt;[System.Runtime.InteropServices.DllImport("winmm.DLL", EntryPoint = "PlaySound", SetLastError = true)]
private static extern bool PlaySound(string szSound, System.IntPtr hMod, PlaySoundFlags flags);

[System.Flags] 
public enum PlaySoundFlags : int
{
   SND_SYNC = 0x0000,
   SND_ASYNC = 0x0001, 
   SND_NODEFAULT = 0x0002, 
   SND_LOOP = 0x0008, 
   SND_NOSTOP = 0x0010,
   SND_NOWAIT = 0x00002000, 
   SND_FILENAME = 0x00020000, 
   SND_RESOURCE = 0x00040004 
}

private void button1_Click (object sender, System.EventArgs e)
{
   OpenFileDialog dialog1 = new OpenFileDialog(); 

   dialog1.Title = "Browse to find sound file to play";
   dialog1.InitialDirectory = @"c:\";
   dialog1.Filter = "Wav Files (*.wav)|*.wav";
   dialog1.FilterIndex = 2;
   dialog1.RestoreDirectory = true;

   if(dialog1.ShowDialog() == DialogResult.OK) 
   { 
      textBox1.Text = dialog1.FileName;
      PlaySound (dialog1.FileName, new System.IntPtr(), PlaySoundFlags.SND_SYNC);
   } 
}
&lt;/pre&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: 16pt;"&gt;----------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: 16pt;"&gt;還有嵌入windows media player activex的方法~&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
不過好像有點太大才小用了XDDD&lt;br /&gt;
&lt;br /&gt;
新增一個Windows Media Player的控制項到Form裡面~&lt;br /&gt;
&lt;br /&gt;
然後....&lt;br /&gt;
&lt;pre class="brush:csharp" title="程式碼"&gt;//如果autopaly為true的話設定好url就會自動撥放了
//@的符號是告訴編譯器不要編譯反斜線~啾咪!
axWindowsMediaPlayer1.URL = @"C:\Users\Lamborgini\Desktop\Gnomeregan.wmv"; 

//停止撥放
axWindowsMediaPlayer1.Ctlcontrols.stop();
&lt;/pre&gt;&lt;br /&gt;
&lt;a href="http://msdn.microsoft.com/zh-tw/library/dd562388(v=vs.85).aspx"&gt;AxWindowsMediaPlayer Object相關屬性+方法+事件底加!&lt;/a&gt;</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjONAt3RLc0Zql9QdjBqr_WPTSatMZjW8JcIAeMpv5X39NMy5e6COn_QuTCDqbK_nbUjk1vw-LwlEz5EOuJk9cZ3Goft63IiAbGCdgqpzJOwCMk-uQ3gk4YDcPw6Hx1xzAUyWEU_4BgTfMw/s72-c/0909BANAO_item.jpg" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>lamborgini.net@gmail.com (Lamborgini)</author></item><item><title>C# 計算字串裡面的某個字串出現了幾次</title><link>http://lambobobobo.blogspot.com/2010/10/c_21.html</link><category>C#</category><category>tips</category><category>字串</category><category>小密技</category><category>程式</category><category>筆記</category><pubDate>Thu, 21 Oct 2010 00:43:00 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-7947444291396570648.post-5423848426974608435</guid><description>&lt;div style="clear: both;"&gt;&lt;img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_Ip9RtphgHPllATndBzQ3OODJ9XbpHoDjdbMdymA7s8QsF36X-192EWj_DbBXxGN7V44z9Rqoq8c12eLal1ARjYrlydGgxuR841jZKhqR0Rtu8_PdrTiynnTp-oSyP4ppKEa1uODx8MgM/s1600/images+(5).jpg" /&gt;&lt;/div&gt;&lt;br /&gt;
我是用RegularExpression解決的~&lt;br /&gt;
當然還有很多其他的方法~就見仁見智囉!!!&lt;br /&gt;
&lt;div style="clear: both;"&gt;&lt;img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibx6_KJcMu_a6HSZ1aF9JtTyuSEfw5He1lRZ-PTFAHVxHulFc0VDgWYFSQRRypinakQ9FEiUAogE_UENhi3A1qQM7fOyzUiJAyEJBJDLJmGJvgj7PrxWq0-PxBOK2_tOEii5JD_fKJ8SC9/s1600/ro+(3).jpg" /&gt;&lt;/div&gt;&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
&lt;pre class="brush:csharp" title="程式碼"&gt;using System.Text.RegularExpressions;
&lt;/pre&gt;&lt;pre class="brush:csharp" title="程式碼"&gt;MatchCollection mc = null;
Regex re = new Regex("要計算的字串");
mc = re.Matches("要被計算要計算的字串的字串要被要計算的字串計算的要計算的字串字串");
//mc.Count 即為出現的次數~啾咪*0*
&lt;/pre&gt;&lt;div style="clear: both;"&gt;&lt;img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhycNYJEmGjNk-rQYhVwAYZsdYx6pdflYO8rnQCamCn5VcVnp6x6Yf2NcRlklXjlEQFQnzB-WLdN0Jt1dYM02K4vARe4I2eV8DOxhTw0qcpaQqeRLWJFXLApUEuZknqxnf8EynYfBK2cKID/s200/%E8%B3%8A%E7%AC%91+(7).jpg" width="190" /&gt;&lt;br /&gt;
&lt;br /&gt;
ps.我想...用split() 或是 substring() 應該也可以做到這個功能=口=&lt;br /&gt;
不過改天有機會再說吧XDDDD&lt;/div&gt;</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_Ip9RtphgHPllATndBzQ3OODJ9XbpHoDjdbMdymA7s8QsF36X-192EWj_DbBXxGN7V44z9Rqoq8c12eLal1ARjYrlydGgxuR841jZKhqR0Rtu8_PdrTiynnTp-oSyP4ppKEa1uODx8MgM/s72-c/images+(5).jpg" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>lamborgini.net@gmail.com (Lamborgini)</author></item><item><title>C# webBrowser 操作iframe 比 js 方便好多= =</title><link>http://lambobobobo.blogspot.com/2010/10/c-webbrowser-iframe-js.html</link><category>C#</category><category>iframe</category><category>tips</category><category>webBrowser</category><category>小密技</category><category>程式</category><category>筆記</category><pubDate>Thu, 21 Oct 2010 00:32:00 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-7947444291396570648.post-1708193744260354035</guid><description>&lt;div style="clear: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_Ip9RtphgHPllATndBzQ3OODJ9XbpHoDjdbMdymA7s8QsF36X-192EWj_DbBXxGN7V44z9Rqoq8c12eLal1ARjYrlydGgxuR841jZKhqR0Rtu8_PdrTiynnTp-oSyP4ppKEa1uODx8MgM/s1600/images+(5).jpg" /&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;原本想用Javascript處理的= =&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;我想存取網頁裡面&amp;lt;iframe&amp;gt;裡面的資料...&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;結果好麻煩阿= ="&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;/div&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;後來用C#發現整個變得超輕鬆~&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;C#真的好棒啊!!!!&lt;img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijmdfvW6_-GvL8fIIvZDdnB0VS6Ac26YBNGe8tzkGo_vtvi4muCxqTXAALmo0UFhgdz8KlDSUHgo9uNMFdIvRqTg45fmAt7Ip-dW9s9HZO1wz-JF8pjl3UkULetgnCPKuUeIhn1PrJHTCf/s1600/%E5%B4%87%E6%8B%9C+(0).jpg" /&gt;&lt;br /&gt;
&lt;br /&gt;
整理一下用法~&lt;br /&gt;
&lt;br /&gt;
1.&lt;br /&gt;
首先是讀取iframe裡面的html原始碼&lt;/div&gt;&lt;pre class="brush:csharp" title="程式碼"&gt;MessageBox.Show(webBrowser1.Document.Window.Frames[0].Document.Body.InnerHtml);
&lt;/pre&gt;&lt;br /&gt;
2.&lt;br /&gt;
iframe裡面被按到的連結&lt;br /&gt;
&lt;pre class="brush:csharp" title="程式碼"&gt;private void webBrowser1_Navigating(object sender, WebBrowserNavigatingEventArgs e)
{
     string url = webBrowser1.Document.Window.Frames["main"].Document.ActiveElement.GetAttribute("src");
}&lt;/pre&gt;&lt;br /&gt;
3.&lt;br /&gt;
iframe裡面某個id物件&lt;br /&gt;
&lt;pre class="brush:csharp" title="程式碼"&gt;//webBrowser1.Document.Window.Frames[0].Document.All["id"];
&lt;/pre&gt;然後可以對屬性做存取的動作&lt;br /&gt;
&lt;pre class="brush:csharp" title="程式碼"&gt;string title = webBrowser1.Document.Window.Frames[0].Document.All["id"].GetAttribute("title");
webBrowser1.Document.Window.Frames[0].Document.All["id"].SetAttribute("title","ABCDEFG");
&lt;/pre&gt;&lt;br /&gt;
&lt;div style="margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfBindU3xW79f08gdnoDvEFuDH7UJgRXgSZ0pfmCo97YsJU4DPsI0hahIa7Y4DvKu8shAU6MAT0L6VvrjDdkvHTlHyM1GGqjKtg-BJlXNXOvBTRXeL0KUqVOknw5WqpP4_Ceda4VEBf3kA/s1600/%E6%B7%AB%E7%AC%91+(3).jpg" /&gt;&lt;/div&gt;</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_Ip9RtphgHPllATndBzQ3OODJ9XbpHoDjdbMdymA7s8QsF36X-192EWj_DbBXxGN7V44z9Rqoq8c12eLal1ARjYrlydGgxuR841jZKhqR0Rtu8_PdrTiynnTp-oSyP4ppKEa1uODx8MgM/s72-c/images+(5).jpg" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>lamborgini.net@gmail.com (Lamborgini)</author></item><item><title>C# 攔截系統訊息</title><link>http://lambobobobo.blogspot.com/2010/10/c_19.html</link><category>api</category><category>C#</category><category>tips</category><category>windows</category><category>程式</category><category>筆記</category><pubDate>Tue, 19 Oct 2010 23:06:00 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-7947444291396570648.post-2754585374015018212</guid><description>&lt;div style="clear: left; margin-bottom: 1em; margin-right: 1em; text-align: left;"&gt;&lt;img border="0" height="116" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhK14HuvyhvI2DqgS6cu_COwzk4rO9OaALMVNpRGAFJFhCADUY2-TkGVQ2wJsvx4a4iBzLoYdTKvRJ7Gnif5k2Xgqi0Vt-akM5v8ujtulTobUnND1cYosLH2nHNzwErabvLdhkCwlkszLVC/s320/msdn.jpg" width="320" /&gt;&lt;/div&gt;最近寫很多視窗程式都有用到這方面的東西&lt;br /&gt;
東西真多...&lt;br /&gt;
&lt;br /&gt;
windows無論你做甚麼動作他都會產生一個訊息&lt;br /&gt;
比如說 按下鍵盤,放開鍵盤,移動滑鼠,按下滑鼠,移動視窗,最小化視窗..&lt;br /&gt;
所以可以透過覆寫WndProc Method可以處理所有你想處理的訊息~&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;有關這方面的文章可以看看&lt;a href="http://msdn.microsoft.com/zh-tw/library/dd229215.aspx"&gt;蔡學鏞的-揭開訊息迴圈的神秘面紗&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
&lt;h1 class="title" style="color: #3f529c; font-family: 'Segoe UI', Verdana, Arial; font-size: 1.769em; font-style: normal; font-variant: normal; font-weight: bold; line-height: normal; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;Control&lt;span xmlns=""&gt;.&lt;/span&gt;WndProc 方法&lt;/h1&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;"&gt;&amp;nbsp;處理 Windows 訊息。&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #3f529c; font-family: 'Segoe UI', Verdana, Arial; font-size: 20px; font-weight: bold;"&gt;範例&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #3f529c; font-family: 'Segoe UI', Verdana, Arial; font-size: 20px; font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="color: black; font-size: 13px; font-weight: normal;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #3f529c; font-family: 'Segoe UI', Verdana, Arial; font-size: 20px; font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="color: black; font-size: 13px; font-weight: normal;"&gt;下列程式碼範例將示範如何覆寫&amp;nbsp;&lt;b&gt;WndProc&lt;/b&gt;&amp;nbsp;方法以處理&amp;nbsp;&lt;b&gt;Message&lt;/b&gt;&amp;nbsp;結構中所示的作業系統訊息。在這個範例中處理的 WM_ACTIVATEAPP 作業系統訊息可以讓您知道另一個應用程式將成為作用中的時間。&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #3f529c; font-family: 'Segoe UI', Verdana, Arial; font-size: 20px; font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="color: black; font-size: 13px; font-weight: normal;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre class="brush: csharp"&gt;protected override void WndProc(ref Message m) 
{
    const int WM_ACTIVATEAPP = 0x001C;
    // Listen for operating system messages.
    switch (m.Msg)
    {
        // The WM_ACTIVATEAPP message occurs when the application
        // becomes the active application or becomes inactive.
        case WM_ACTIVATEAPP:
            // The WParam value identifies what is occurring.
            appActive = (((int)m.WParam != 0));
            // Invalidate to get new text painted.
            this.Invalidate();
            break;
       //case.......more message you want to process
    }

    base.WndProc(ref m);
}
&lt;/pre&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #3f529c; font-family: 'Segoe UI', Verdana, Arial; font-size: 20px; font-weight: bold;"&gt;備註&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;"&gt;所有訊息在透過&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;"&gt;&lt;span xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;a href="http://msdn.microsoft.com/zh-tw/library/system.windows.forms.control.preprocessmessage.aspx" style="color: #1364c4; text-decoration: none;"&gt;PreProcessMessage&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;"&gt;&amp;nbsp;方法過濾後，都會被傳送至&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;"&gt;&lt;span xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;span class="selflink"&gt;WndProc&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;"&gt;。&lt;/span&gt;&lt;br /&gt;
&lt;div style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;span class="sentence" id="xn4_604aae313e8d5b33df91cd76cdace00f"&gt;&lt;span xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;span class="selflink"&gt;WndProc&lt;/span&gt;&lt;/span&gt;&amp;nbsp;方法完全對應於 Windows&amp;nbsp;&lt;span xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;span class="input"&gt;WindowProc&lt;/span&gt;&lt;/span&gt;&amp;nbsp;函式。&lt;/span&gt;&lt;span class="sentence" id="xn5_b5a94b464ee326222e97a33729b03d10"&gt;如需有關處理 Windows 訊息的詳細資訊，請參閱&amp;nbsp;&lt;a href="http://go.microsoft.com/fwlink/?LinkId=181565" style="color: #1364c4; text-decoration: none;" xmlns="http://www.w3.org/1999/xhtml"&gt;WindowProc 函式&lt;/a&gt;&amp;nbsp;(英文)。&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;"&gt;&lt;span class="label" style="font-weight: bold;" xmlns="http://www.w3.org/1999/xhtml"&gt;繼承者注意事項&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;span class="sentence" id="xn6_86c0bf3e2166512c9595bac2210329cb"&gt;繼承的控制項應呼叫基底類別的&amp;nbsp;&lt;span xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;span class="selflink"&gt;WndProc&lt;/span&gt;&lt;/span&gt;&amp;nbsp;方法，以處理控制項本身不處理的任何訊息。&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
以下是一些事件的訊息代碼&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px; white-space: nowrap;"&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ff468922(v=VS.85).aspx" style="color: #e66a38; font-weight: bold; overflow-x: hidden; overflow-y: hidden; padding-bottom: 4pt; padding-top: 4pt; text-align: left; text-decoration: underline; white-space: nowrap;" title="Window Notifications"&gt;Window Notifications&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px; white-space: nowrap;"&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ff468877(v=VS.85).aspx" style="color: #e66a38; font-weight: bold; overflow-x: hidden; overflow-y: hidden; padding-bottom: 4pt; padding-top: 4pt; text-align: left; white-space: nowrap;" title="Mouse Input Notifications"&gt;Mouse Input Notifications&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Segoe UI', Verdana, Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px; white-space: nowrap;"&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ff468861(v=VS.85).aspx" style="color: #e66a38; font-weight: bold; overflow-x: hidden; overflow-y: hidden; padding-bottom: 4pt; padding-top: 4pt; text-align: left; white-space: nowrap;" title="Keyboard Input Notifications"&gt;Keyboard Input Notifications&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhK14HuvyhvI2DqgS6cu_COwzk4rO9OaALMVNpRGAFJFhCADUY2-TkGVQ2wJsvx4a4iBzLoYdTKvRJ7Gnif5k2Xgqi0Vt-akM5v8ujtulTobUnND1cYosLH2nHNzwErabvLdhkCwlkszLVC/s72-c/msdn.jpg" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>lamborgini.net@gmail.com (Lamborgini)</author></item><item><title>C# Windows API</title><link>http://lambobobobo.blogspot.com/2010/10/c-windows-api.html</link><category>api</category><category>C#</category><category>tips</category><category>windows</category><category>小密技</category><category>程式</category><category>筆記</category><pubDate>Tue, 19 Oct 2010 20:33:00 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-7947444291396570648.post-5599501862011201259</guid><description>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbp5aaflbg8dN4KiEUJWso3dehhLj-B6WLUoyj-nvAyHc3vPjcS945VLtRyQuP77LVRj_9ekzV0tNwMv_a7OxN0YIR3bEMVGms6RQcMOzdZLE1Ytp_6fjMKkqQidLk2BndD0dJzMjGFY0T/s1600/microsoft-logo.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="77" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbp5aaflbg8dN4KiEUJWso3dehhLj-B6WLUoyj-nvAyHc3vPjcS945VLtRyQuP77LVRj_9ekzV0tNwMv_a7OxN0YIR3bEMVGms6RQcMOzdZLE1Ytp_6fjMKkqQidLk2BndD0dJzMjGFY0T/s320/microsoft-logo.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
好久沒寫程式了=口=&lt;br /&gt;
&lt;br /&gt;
一堆API都忘光光~&lt;br /&gt;
&lt;br /&gt;
趁現在重操舊業趕快整理起來吧...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
&lt;pre class="brush: csharp"&gt;[DllImport("user32.Dll")]
private static extern int EnumWindows(EnumWindowsProc x, int y);

[DllImport("user32")]
private static extern bool EnumChildWindows(IntPtr window, EnumWindowsProc callback, int lParam);

[DllImport("user32.dll", EntryPoint = "FindWindowEx", SetLastError = true)]
static extern IntPtr FindWindowEx(IntPtr hwndParent, IntPtr hwndChildAfter, string lpszClass, string lpszWindow);

[DllImport("user32.dll", EntryPoint = "FindWindow", CharSet = CharSet.Unicode)]
public static extern IntPtr FindWindowByClass(string ClassName, IntPtr Nothing);

[DllImport("user32.dll", EntryPoint = "FindWindow", SetLastError = true)]
static extern IntPtr FindWindowByCaption(IntPtr ZeroOnly, string lpWindowName);

[DllImport("user32.dll")]
 static extern short GetKeyState(int nVirtKey);

[DllImport("user32.dll")]
private static extern Int32 GetWindowText(IntPtr hWnd, StringBuilder lpsb, Int32 count);

[DllImport("User32.dll")]
public static extern int GetWindowLong(IntPtr hWnd, int index);

[DllImport("User32.dll")]
public static extern IntPtr GetParent(IntPtr hWnd);

[DllImport("user32.dll")]
public static extern int GetWindowThreadProcessId(IntPtr handle, out int processId);

[DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Auto)]
static extern int GetWindowTextLength(IntPtr hWnd);

[DllImport("user32.dll")]
static extern int GetClassName(IntPtr hWnd, StringBuilder lpClassName, int nMaxCount);

[DllImport("user32.dll")]
static extern void keybd_event(byte bVk, byte bScan, uint dwFlags, uint dwExtraInfo);

[DllImport("user32")]
public static extern void mouse_event(int dwFlags, int dx, int dy, int dwData, int dwExtraInfo);

[DllImport("user32.dll")]
public static extern bool RegisterHotKey(
IntPtr hWnd, // handle to window 
int id, // hot key identifier 
uint fsModifiers, // key-modifier options 
Keys vk // virtual-key code 
);

[DllImport("user32")]
public static extern int SetCursorPos(int x, int y);

[DllImport("User32.dll")]
public static extern Int32 SetForegroundWindow(IntPtr hWnd);

[DllImport("user32")]
public static extern Int32 SetActiveWindow(IntPtr hWnd);

[DllImport("user32.dll", EntryPoint = "SendMessageA")]
private static extern int SendMessage(IntPtr hwnd, int wMsg, int wParam, int lParam);

[DllImport("User32.dll")]
public static extern IntPtr SendDlgItemMessage(IntPtr hWnd, int IDDlgItem, int uMsg, int nMaxCount, StringBuilder lpString);

[DllImport("user32.dll")]
 public static extern bool UnregisterHotKey(
 IntPtr hWnd, // handle to window 
 int id // hot key identifier 
 );
&lt;/pre&gt;</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbp5aaflbg8dN4KiEUJWso3dehhLj-B6WLUoyj-nvAyHc3vPjcS945VLtRyQuP77LVRj_9ekzV0tNwMv_a7OxN0YIR3bEMVGms6RQcMOzdZLE1Ytp_6fjMKkqQidLk2BndD0dJzMjGFY0T/s72-c/microsoft-logo.jpg" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>lamborgini.net@gmail.com (Lamborgini)</author></item><item><title>C# 複製文字到剪貼簿</title><link>http://lambobobobo.blogspot.com/2010/10/c.html</link><pubDate>Tue, 19 Oct 2010 19:48:00 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-7947444291396570648.post-6489797133799157933</guid><description>#tip1&lt;br /&gt;
&lt;br /&gt;
&lt;h1 class="title" style="color: #3f529c; font-family: 'Segoe UI', Verdana, Arial; font-size: 1.769em; font-style: normal; font-variant: normal; font-weight: bold; line-height: normal; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;Clipboard.SetText 方法 (String)&lt;/h1&gt;&lt;div&gt;&lt;div style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;"&gt;&lt;span style="color: red;"&gt;注意：這個方法是 .NET Framework 2.0 版的新功能。&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;"&gt;加入&amp;nbsp;&lt;a href="http://msdn.microsoft.com/zh-tw/library/system.windows.forms.textdataformat.text(v=VS.80).aspx" style="color: #1364c4; text-decoration: none;"&gt;Text&lt;/a&gt;&amp;nbsp;或&amp;nbsp;&lt;a href="http://msdn.microsoft.com/zh-tw/library/system.windows.forms.textdataformat.unicodetext(v=VS.80).aspx" style="color: #1364c4; text-decoration: none;"&gt;UnicodeText&lt;/a&gt;&amp;nbsp;格式 (依作業系統而定) 的文字資料至剪貼簿。&lt;/div&gt;&lt;div style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;"&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="color: #3f529c; font-family: 'Segoe UI', Verdana, Arial; font-size: 20px; font-weight: bold;"&gt;語法&lt;/span&gt;&lt;br /&gt;
&lt;pre class="brush: csharp"&gt;public static void SetText (
 string text
)
&lt;/pre&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #3f529c; font-family: 'Segoe UI', Verdana, Arial; font-size: 20px; font-weight: bold;"&gt;例外狀況&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #3f529c; font-family: 'Segoe UI', Verdana, Arial; font-size: 20px; font-weight: bold;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #3f529c; font-family: 'Segoe UI', Verdana, Arial; font-size: 20px; font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="color: black; font-size: 13px; font-weight: normal;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class="LW_CollapsibleArea_Container" xmlns=""&gt;&lt;div class="tableSection" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;table style="border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; width: 450px;"&gt;&lt;tbody&gt;
&lt;tr style="vertical-align: top;"&gt;&lt;th align="left" style="background-color: #e5e5e5; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; color: black; font-family: 'Segoe UI', Verdana, Arial; font-size: 1.077em; font-style: normal; font-weight: normal; height: 21px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px; text-align: left;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;例外狀況類型&lt;/span&gt;&lt;/th&gt;&lt;th align="left" style="background-color: #e5e5e5; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; color: black; font-family: 'Segoe UI', Verdana, Arial; font-style: normal; font-weight: normal; height: 21px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px; text-align: left;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;條件&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: top;" valign="top"&gt;&lt;td style="background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;"&gt;&lt;a href="http://msdn.microsoft.com/zh-tw/library/system.runtime.interopservices.externalexception(v=VS.80).aspx" style="color: #1364c4; text-decoration: none;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;ExternalException&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;無法清除剪貼簿。這通常在剪貼簿由另一個處理序使用時發生。&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: top;" valign="top"&gt;&lt;td style="background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;"&gt;&lt;a href="http://msdn.microsoft.com/zh-tw/library/system.threading.threadstateexception(v=VS.80).aspx" style="color: #1364c4; text-decoration: none;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;ThreadStateException&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;目前執行緒 (Thread) 不是在單一執行緒 Apartment (STA) 模式。將&amp;nbsp;&lt;/span&gt;&lt;a href="http://msdn.microsoft.com/zh-tw/library/system.stathreadattribute(v=VS.80).aspx" style="color: #1364c4; text-decoration: none;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;STAThreadAttribute&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&amp;nbsp;加入至應用程式的&amp;nbsp;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Main&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&amp;nbsp;方法。&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: top;" valign="top"&gt;&lt;td style="background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;"&gt;&lt;a href="http://msdn.microsoft.com/zh-tw/library/system.argumentnullexception(v=VS.80).aspx" style="color: #1364c4; text-decoration: none;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;ArgumentNullException&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;"&gt;&lt;span class="parameter"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;text&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&amp;nbsp;是 Null&amp;nbsp;參照 (即 Visual Basic 中的&amp;nbsp;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Nothing&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;) 或&amp;nbsp;&lt;/span&gt;&lt;a href="http://msdn.microsoft.com/zh-tw/library/system.string.empty(v=VS.80).aspx" style="color: #1364c4; text-decoration: none;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Empty&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;。&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="LW_CollapsibleArea_Container" xmlns=""&gt;&lt;div class="LW_CollapsibleArea_TitleDiv" style="margin-bottom: 19px; margin-top: 19px;"&gt;&lt;span class="Apple-style-span" style="color: #3f529c; font-size: x-large;"&gt;&lt;span class="Apple-style-span" style="font-size: 20px;"&gt;&lt;b&gt;範例&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;pre class="brush: csharp"&gt;string text;
Clipboard.SetText(text);
&lt;/pre&gt;&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
#tip2&lt;br /&gt;
&lt;br /&gt;
&lt;h1 class="title" style="color: #3f529c; font-family: 'Segoe UI', Verdana, Arial; font-size: 1.769em; font-style: normal; font-variant: normal; font-weight: bold; line-height: normal; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;TextBoxBase.Copy 方法&lt;/h1&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;"&gt;將文字方塊中目前選取的範圍複製到 [剪貼簿]。&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="color: #3f529c; font-family: 'Segoe UI', Verdana, Arial; font-size: 20px; font-weight: bold;"&gt;語法&lt;/span&gt;&lt;br /&gt;
&lt;pre class="brush: csharp"&gt;public void Copy ()
&lt;/pre&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #3f529c; font-family: 'Segoe UI', Verdana, Arial; font-size: 20px; font-weight: bold;"&gt;範例&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="brush: csharp"&gt;textBox1.Copy();
&lt;/pre&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>lamborgini.net@gmail.com (Lamborgini)</author></item><item><title>讓FireFox最上層顯示的外掛</title><link>http://lambobobobo.blogspot.com/2010/10/firefox.html</link><category>addon</category><category>firefox</category><category>tips</category><category>外掛</category><category>小密技</category><category>筆記</category><category>軟體</category><pubDate>Tue, 19 Oct 2010 19:09:00 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-7947444291396570648.post-7280065318020682642</guid><description>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxlc2Fx8IEVP_TBwq5fWxELrlmaR6kup83P0sn0fuMofKSPzj3_0-VwqHnPgsaqEU6gDpBGeZUKPMFxK7bLdKF6g9Wo8oRRP39IXVmNNvp1Qi6An1sVEM6MNGwzgUV4yTi9lveLCTK1V7s/s1600/45018.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="85" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxlc2Fx8IEVP_TBwq5fWxELrlmaR6kup83P0sn0fuMofKSPzj3_0-VwqHnPgsaqEU6gDpBGeZUKPMFxK7bLdKF6g9Wo8oRRP39IXVmNNvp1Qi6An1sVEM6MNGwzgUV4yTi9lveLCTK1V7s/s400/45018.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
有這種需求才會有這種外掛!!&lt;br /&gt;
&lt;br /&gt;
&lt;a href="https://addons.mozilla.org/en-US/firefox/addon/142877/"&gt;點我~啾咪~!&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgB_tVBchWNBVK2p5HW8WW6hMEK0_CuLbdFZGGoLuS7zwSUf_OVrKWskhrNU067-93RdIiA1XlMOWaPAHri-hT2ZpDmhrJYP9cfvLcVFdBf5Wzut1h3JxEp5Mwh6VFOgUzkWcfTq4eQ0fof/s1600/firefox.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgB_tVBchWNBVK2p5HW8WW6hMEK0_CuLbdFZGGoLuS7zwSUf_OVrKWskhrNU067-93RdIiA1XlMOWaPAHri-hT2ZpDmhrJYP9cfvLcVFdBf5Wzut1h3JxEp5Mwh6VFOgUzkWcfTq4eQ0fof/s200/firefox.jpg" width="189" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h3 id="more-about"&gt;&lt;/h3&gt;&lt;h3 id="more-about"&gt;&lt;span class="Apple-style-span" style="color: #444444; font-family: 'helvetica neue', arial, helvetica, sans-serif; font-size: 13px; font-weight: normal; line-height: 20px;"&gt;&lt;h3 id="more-about" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #011234; font-family: georgia, serif; font-size: 1.385em; font-weight: normal; line-height: 1.111em; margin-bottom: 0.778em; margin-left: 0px; margin-right: 0px; margin-top: 1.556em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;More about this add-on&lt;/h3&gt;&lt;div class="article userinput" style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(201, 232, 243); border-bottom-left-radius: 3px 3px; border-bottom-right-radius: 3px 3px; border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(201, 232, 243); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(201, 232, 243); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(201, 232, 243); border-top-left-radius: 3px 3px; border-top-right-radius: 3px 3px; border-top-style: solid; border-top-width: 1px; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: visible; overflow-y: visible; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;"&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 1em; margin-bottom: 1.5em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;Very simple "Always on top" addon implements the same simple functionality - it allows you to add style "Always on top" for current Firefox window.&lt;/div&gt;&lt;h4 style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; color: #223355; font-size: 1em; margin-bottom: 0.3em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;Developer Comments&lt;/h4&gt;&lt;div class="prose userinput" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 1em; margin-left: 1em; margin-right: 1em; margin-top: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 1em; margin-bottom: 1.5em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;I have searched for a long time for Firefox addon with this functionality. My search failed. Then I decided to create this very simple but very necessary (at least for me) addon.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3U-9PRi2ZQ7VMATwCFR4ZzeloQVHnX2MieIGv9KqZyXCp1ip5vhSXpbNeOSZxekIquimR7hQcLX26_nhGc_GYGB2zTVQq7dKGINkOCbq3hMqdA100nm55k72pybAivxvjfUbVAr2Sqa_B/s1600/footer-logo.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3U-9PRi2ZQ7VMATwCFR4ZzeloQVHnX2MieIGv9KqZyXCp1ip5vhSXpbNeOSZxekIquimR7hQcLX26_nhGc_GYGB2zTVQq7dKGINkOCbq3hMqdA100nm55k72pybAivxvjfUbVAr2Sqa_B/s1600/footer-logo.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;h3 id="reviews" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #011234; font-family: georgia, serif; font-size: 1.385em; font-weight: normal; line-height: 1.111em; margin-bottom: 0.778em; margin-left: 0px; margin-right: 0px; margin-top: 1.556em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;
&lt;/h3&gt;&lt;/span&gt;&lt;/h3&gt;</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxlc2Fx8IEVP_TBwq5fWxELrlmaR6kup83P0sn0fuMofKSPzj3_0-VwqHnPgsaqEU6gDpBGeZUKPMFxK7bLdKF6g9Wo8oRRP39IXVmNNvp1Qi6An1sVEM6MNGwzgUV4yTi9lveLCTK1V7s/s72-c/45018.jpg" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>lamborgini.net@gmail.com (Lamborgini)</author></item><item><title>C# 自訂ListItem類別(For WinForm)</title><link>http://lambobobobo.blogspot.com/2010/10/c-listitemfor-winform.html</link><category>C#</category><category>tips</category><category>小密技</category><category>程式</category><category>筆記</category><pubDate>Mon, 18 Oct 2010 13:30:00 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-7947444291396570648.post-6803363006313184517</guid><description>因為ListItem只有Web才有~&lt;br /&gt;
WinForm沒有好不方便~筆記一下*0*&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqU2nqoui2QNFOqN8RhwmUmpJxt5_nTg6VsBOndE8g52oLdc47hZvNl1BquUrUtbMTBPzRBVKAwgO5flNkmIjhdUuwJIJ1MCdlcvD0h6LqLQxUIDrcIhRXm-SpUrNfVmX9afj1mSM-WGp-/s1600/1010show_topic.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqU2nqoui2QNFOqN8RhwmUmpJxt5_nTg6VsBOndE8g52oLdc47hZvNl1BquUrUtbMTBPzRBVKAwgO5flNkmIjhdUuwJIJ1MCdlcvD0h6LqLQxUIDrcIhRXm-SpUrNfVmX9afj1mSM-WGp-/s200/1010show_topic.jpg" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="brush: csharp" title="程式碼"&gt;/// 首先添加類別ListItem：
/// 用於ComboBox或是ListBox
/// 
public class ListItem
{ 
private string id = string.Empty;
private string name = string.Empty;

//根據自己的需求繼續添加 如：private Int32 m_Index；
//建構式
public ListItem()    
{   } 

public ListItem(string sid, string sname) 
{ 
   id = sid; 
   name = sname; 
}

//override ToString()的動作
public override string ToString()   
{   
   return this.name;
}

//設定或取得ListItem的ID
public string ID 
{ 
   get
   {
    return this.id;
   } 
   set
   {
    this.id = value;
   } 
} 

//設定或取得ListItem的Name
public string Name 
{ 
   get
   {
    return this.name;
   } 
   set
   {
    this.name = value;
   } 
} 
}
&lt;/pre&gt;</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqU2nqoui2QNFOqN8RhwmUmpJxt5_nTg6VsBOndE8g52oLdc47hZvNl1BquUrUtbMTBPzRBVKAwgO5flNkmIjhdUuwJIJ1MCdlcvD0h6LqLQxUIDrcIhRXm-SpUrNfVmX9afj1mSM-WGp-/s72-c/1010show_topic.jpg" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>lamborgini.net@gmail.com (Lamborgini)</author></item><item><title>噗浪的バナ夫主題</title><link>http://lambobobobo.blogspot.com/2010/10/blog-post_2901.html</link><category>banao</category><category>plurk</category><category>バナ夫</category><category>噗浪</category><category>敗家全紀錄</category><category>生活</category><pubDate>Thu, 14 Oct 2010 06:10:00 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-7947444291396570648.post-5598878552294784028</guid><description>最近迷上了バナ夫BANAO XDD&lt;br /&gt;
也就是傳說中的菁英又優秀的香蕉先生!&lt;br /&gt;
&lt;br /&gt;
&lt;table cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: left; margin-right: 1em; text-align: left;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://kamiojapan.jp/blog/" style="clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZR5cBR80_hsYki6JcrbSQ3jsRuGc4iS9Fz__KCTko2bRxD9qYE4b69-X0s_RArSKiImbV4nab5iAZjWwfLRYuuva2AgKLHTF0e5hvoqNQFdpsx1AEzBfsThw8zWtRgU7BsucOgoWkDrp-/s1600/banaoblogs.jpg" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;バナ夫日記&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
他的笑容太感人了~於是我把我的噗浪改成了香蕉人的主題!!!&lt;br /&gt;
&lt;br /&gt;
感謝&lt;a href="http://baiyu.hds.twgg.org/?p=474"&gt;白毓(baiyu)&lt;/a&gt;的分享~讓我有這麼帥氣的面板可以用&lt;img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfBindU3xW79f08gdnoDvEFuDH7UJgRXgSZ0pfmCo97YsJU4DPsI0hahIa7Y4DvKu8shAU6MAT0L6VvrjDdkvHTlHyM1GGqjKtg-BJlXNXOvBTRXeL0KUqVOknw5WqpP4_Ceda4VEBf3kA/s1600/%E6%B7%AB%E7%AC%91+(3).jpg" /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;以下我就來分享我修改過的面板XDDD&lt;br /&gt;
先貼個畫面!!&lt;br /&gt;
&lt;table cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: left; margin-right: 1em; text-align: left;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6PRliJc57uEZi7jPt5hn-Jc0zEWDtuBg5E_6wWHZWCMd619H7aiP76Vuo0Yq0nuLQ72JZNGwZlo1o6svZVc3zr3al7XfZnXmqZw5aSW_AWFcsk9cpx9gtRHZlCkd2gXw9CK2i-pFNOFI9/s1600/plurkimage.jpg" imageanchor="1" style="clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="336" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6PRliJc57uEZi7jPt5hn-Jc0zEWDtuBg5E_6wWHZWCMd619H7aiP76Vuo0Yq0nuLQ72JZNGwZlo1o6svZVc3zr3al7XfZnXmqZw5aSW_AWFcsk9cpx9gtRHZlCkd2gXw9CK2i-pFNOFI9/s400/plurkimage.jpg" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;連語言都改成日本語XDDD&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
想要跟進バナ夫的噗浪主題的人可以一起來集氣喔XDDD&lt;br /&gt;
&lt;a href="http://www.plurk.com/installDesign/4995073-996a0ef500"&gt;點我安裝&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&amp;nbsp;&amp;nbsp;---&lt;br /&gt;
工商服務時間=口=&lt;br /&gt;
&lt;br /&gt;
&lt;table cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: left; margin-right: 1em; text-align: left;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDokGQ8ub2K06TZi9zjWsxEJqn3e1neq2yMX5eQe6xadOAD_ft7P63iqyRJUf_zBZiU1-A0vu-9lHHuIR2E16iaV5hGAMWcaQ9pXOo3YyLCEqcq3P13u_sKujrc_V0sMH6M6d9X92aSRO1/s1600/1007BANAOchara_info.jpg" imageanchor="1" style="clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDokGQ8ub2K06TZi9zjWsxEJqn3e1neq2yMX5eQe6xadOAD_ft7P63iqyRJUf_zBZiU1-A0vu-9lHHuIR2E16iaV5hGAMWcaQ9pXOo3YyLCEqcq3P13u_sKujrc_V0sMH6M6d9X92aSRO1/s1600/1007BANAOchara_info.jpg" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;バナ夫交友一覽&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&amp;nbsp;&lt;br /&gt;
&lt;table cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: left; margin-right: 1em; text-align: left;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRH62JW8SJV5pmH8gf-xGCmMW3i0KQAcjv-fK3QjC0729IpPUlpcfjDSrrQKWoosCSnhGKfjhyphenhyphenlm2lJPbtokb7tQbJGzhpuMnziiz6CsbxPwRXps-TcKlQGOBiTR53XtyVSe7DGoLYzJyK/s1600/0907BANAO_lisens.jpg" imageanchor="1" style="clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRH62JW8SJV5pmH8gf-xGCmMW3i0KQAcjv-fK3QjC0729IpPUlpcfjDSrrQKWoosCSnhGKfjhyphenhyphenlm2lJPbtokb7tQbJGzhpuMnziiz6CsbxPwRXps-TcKlQGOBiTR53XtyVSe7DGoLYzJyK/s640/0907BANAO_lisens.jpg" width="544" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;衣服跟內褲我都好想要*0*&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;table cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: left; margin-right: 1em; text-align: left;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjONAt3RLc0Zql9QdjBqr_WPTSatMZjW8JcIAeMpv5X39NMy5e6COn_QuTCDqbK_nbUjk1vw-LwlEz5EOuJk9cZ3Goft63IiAbGCdgqpzJOwCMk-uQ3gk4YDcPw6Hx1xzAUyWEU_4BgTfMw/s1600/0909BANAO_item.jpg" imageanchor="1" style="clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="385" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjONAt3RLc0Zql9QdjBqr_WPTSatMZjW8JcIAeMpv5X39NMy5e6COn_QuTCDqbK_nbUjk1vw-LwlEz5EOuJk9cZ3Goft63IiAbGCdgqpzJOwCMk-uQ3gk4YDcPw6Hx1xzAUyWEU_4BgTfMw/s400/0909BANAO_item.jpg" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;帥氣的筆記本*0*我也想要orz....&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjONAt3RLc0Zql9QdjBqr_WPTSatMZjW8JcIAeMpv5X39NMy5e6COn_QuTCDqbK_nbUjk1vw-LwlEz5EOuJk9cZ3Goft63IiAbGCdgqpzJOwCMk-uQ3gk4YDcPw6Hx1xzAUyWEU_4BgTfMw/s1600/0909BANAO_item.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;/a&gt;&lt;br /&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjONAt3RLc0Zql9QdjBqr_WPTSatMZjW8JcIAeMpv5X39NMy5e6COn_QuTCDqbK_nbUjk1vw-LwlEz5EOuJk9cZ3Goft63IiAbGCdgqpzJOwCMk-uQ3gk4YDcPw6Hx1xzAUyWEU_4BgTfMw/s1600/0909BANAO_item.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZR5cBR80_hsYki6JcrbSQ3jsRuGc4iS9Fz__KCTko2bRxD9qYE4b69-X0s_RArSKiImbV4nab5iAZjWwfLRYuuva2AgKLHTF0e5hvoqNQFdpsx1AEzBfsThw8zWtRgU7BsucOgoWkDrp-/s72-c/banaoblogs.jpg" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><author>lamborgini.net@gmail.com (Lamborgini)</author></item><item><title>我的老天爺啊~太棒啦!</title><link>http://lambobobobo.blogspot.com/2010/10/blog-post_14.html</link><category>C#</category><category>tips</category><category>小密技</category><category>程式</category><category>筆記</category><pubDate>Thu, 14 Oct 2010 02:28:00 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-7947444291396570648.post-7412591881699361820</guid><description>&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;每次想要在blog上面貼一點HTML語法&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;就要不停的轉換 "&amp;lt;" ,"&amp;gt;" , "&amp;amp;" , 一大堆有的沒的...&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;不然就會不能正常顯示...&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;槓!!&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;I Hate you!!!!!!!!!! &amp;nbsp;"&amp;amp;nbsp; &amp;nbsp;&amp;amp;lt; &amp;amp;gt; &amp;amp;amp;"&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgL7nsa5ZGW9A_I5Gz9xXmknpcE2e0ChDE_pWIpc4a0-Hi6uNmK_BtGTjsQ7Wu_HF5Xey_NVWS-z2-kdsiLqHo3F7LvBpZYWdS-oCsNWnRQoWFZ9fHtE8CfUs6kTYD61Na-AMz6WcLPjhFM/s1600/%E6%80%92%E4%BA%86+(3).jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgL7nsa5ZGW9A_I5Gz9xXmknpcE2e0ChDE_pWIpc4a0-Hi6uNmK_BtGTjsQ7Wu_HF5Xey_NVWS-z2-kdsiLqHo3F7LvBpZYWdS-oCsNWnRQoWFZ9fHtE8CfUs6kTYD61Na-AMz6WcLPjhFM/s200/%E6%80%92%E4%BA%86+(3).jpg" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;然後我發現有一個偉大的先生!!&lt;br /&gt;
好棒&amp;gt;///&amp;lt;&lt;br /&gt;
&lt;br /&gt;
竟然寫了一個轉換的小工具!!! 天啊~太聰明了!!!&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.elliotswan.com/postable/"&gt;聰明的Elliotswan&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
神奇三步驟!&lt;br /&gt;
1.&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkVM168sgexlUkBv3Bg_ohoKFd_jPAEO3aLLtmcLP7G5ZlSZBfHNtCemVQL0GH-YYMFXq7ti73wVJz_ShBeaGa9Prp3doIbBBLYoVWg-gnsjhvfXQHrK9UG2wrVUkaamW3sCigQwXuz60E/s1600/s1.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="221" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkVM168sgexlUkBv3Bg_ohoKFd_jPAEO3aLLtmcLP7G5ZlSZBfHNtCemVQL0GH-YYMFXq7ti73wVJz_ShBeaGa9Prp3doIbBBLYoVWg-gnsjhvfXQHrK9UG2wrVUkaamW3sCigQwXuz60E/s400/s1.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjS9RnpkRUi_PeN0VwLxf2vbBOqFu_zfNBvTUAwpmszSN6dgUkW0wKapOwEW-VFC9blRMlH6xaJPK1yUUEOzELx5xP2JpNGaU-w7RMoVjTxeENhuD-l65L7DGIW3nskqoetoMAajZ5UrONn/s1600/s2.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="218" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjS9RnpkRUi_PeN0VwLxf2vbBOqFu_zfNBvTUAwpmszSN6dgUkW0wKapOwEW-VFC9blRMlH6xaJPK1yUUEOzELx5xP2JpNGaU-w7RMoVjTxeENhuD-l65L7DGIW3nskqoetoMAajZ5UrONn/s400/s2.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3.&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbqp5g7BxqLapK94NxMY3AAV7YkH-o6G3bZsNVl17pCl8PYqRFPIU-lmYhSf_U0RgrONAD9NRc5UK684T6Lklb88EyFcc1TJP5FaV__UzooboRps8y37bUnyqUo_IZxywo_wO4uTH75Cj1/s1600/s3.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="202" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbqp5g7BxqLapK94NxMY3AAV7YkH-o6G3bZsNVl17pCl8PYqRFPIU-lmYhSf_U0RgrONAD9NRc5UK684T6Lklb88EyFcc1TJP5FaV__UzooboRps8y37bUnyqUo_IZxywo_wO4uTH75Cj1/s400/s3.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
太美妙了吧=口=</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgL7nsa5ZGW9A_I5Gz9xXmknpcE2e0ChDE_pWIpc4a0-Hi6uNmK_BtGTjsQ7Wu_HF5Xey_NVWS-z2-kdsiLqHo3F7LvBpZYWdS-oCsNWnRQoWFZ9fHtE8CfUs6kTYD61Na-AMz6WcLPjhFM/s72-c/%E6%80%92%E4%BA%86+(3).jpg" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>lamborgini.net@gmail.com (Lamborgini)</author></item><item><title>blogspot使用分頁模式</title><link>http://lambobobobo.blogspot.com/2010/10/blogspot.html</link><category>blog</category><category>tips</category><category>小密技</category><category>筆記</category><pubDate>Thu, 14 Oct 2010 01:02:00 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-7947444291396570648.post-4908489351611925167</guid><description>&lt;div style="text-align: left;"&gt;是不是已經看膩blogspot的「較新的文章」跟「較舊的文章」了呢XDD&lt;/div&gt;&lt;div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWiamPbapsvRF4Q6uwGdDd1s1CU546w4qImqNkJRYzWShB764LKxYQNDx8ly8VlMfmkv5oGSF-XHDJrNgP9D752c2SU4eidLvj-ejOS0HyTNcD7Psp6U7KgPtIjH7ymU4-RaAcif9K3hBo/s1600/beforechange.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: left;"&gt;&lt;img border="0" height="63" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWiamPbapsvRF4Q6uwGdDd1s1CU546w4qImqNkJRYzWShB764LKxYQNDx8ly8VlMfmkv5oGSF-XHDJrNgP9D752c2SU4eidLvj-ejOS0HyTNcD7Psp6U7KgPtIjH7ymU4-RaAcif9K3hBo/s400/beforechange.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div style="text-align: left;"&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
今天在網路上亂逛~突然發現有人的網誌竟然是用頁碼的=口=&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: x-large;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipqEFNtK_wlLy09fW8kAFeKyZT7i8ig8xttY5oS5rNuYeL19OPY82NASwp5m3Gz-5pLaZQtcXoqiI6orVlfwIlxO71d6Z4uthXrCmJQ6M2_IioHwSZoNSkGQqbU98OkSqzNaYNGw93kh2s/s800/%E9%A9%9A%E5%9A%87%20(10).jpg" width="200" /&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: x-large;"&gt;大驚!!!!!!!!!!!!&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: xx-large;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEio4e4bNMe-w38iHhlQmzduoU2P-EAkvL-NUFU84C-7C2uHff6dV3osmkBzeZIeXDZN580qrqqh1uvv-v4A8YLtLnig1YCsIpc5Kf7ruNc_gQprbPoktr3Q_oY7e57VkdRJDRBxEJkxUVTH/s1600/afterchange.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: left;"&gt;&lt;img border="0" height="77" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEio4e4bNMe-w38iHhlQmzduoU2P-EAkvL-NUFU84C-7C2uHff6dV3osmkBzeZIeXDZN580qrqqh1uvv-v4A8YLtLnig1YCsIpc5Kf7ruNc_gQprbPoktr3Q_oY7e57VkdRJDRBxEJkxUVTH/s400/afterchange.jpg" width="400" /&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="-webkit-text-decorations-in-effect: none; color: black;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;span class="Apple-style-span" style="-webkit-text-decorations-in-effect: none; color: black;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;a name='more'&gt;&lt;/a&gt;參考 abu_farhan 的&amp;nbsp;&lt;span class="Apple-style-span" style="color: #222222; font-family: Calibri, 'Helvetica Neue', 'Liberation Sans', sans-serif; font-size: 28px; line-height: 28px;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;a href="http://www.abu-farhan.com/2009/12/numbered-page-navigation-for-blogger-new-script/"&gt;Numbered Page Navigation For Blogger New Script&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;span class="Apple-style-span" style="color: #222222; font-family: Calibri, 'Helvetica Neue', 'Liberation Sans', sans-serif; font-size: 28px; line-height: 28px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;span class="Apple-style-span" style="color: #222222; font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif; font-size: 14px; line-height: 22px;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;h3 style="clear: both; font-family: Calibri, 'Helvetica Neue', 'Liberation Sans', sans-serif; font-size: 1.6em; font-weight: 400; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Step 1 : Apply Style&lt;/h3&gt;&lt;ol style="list-style-type: decimal; margin-bottom: 1.5em; margin-left: 2.5em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: black; font-family: Verdana, arial, tahoma, sans-serif; line-height: 19px;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;登入到 Blogger設定頁，點選「版面配置」&lt;/span&gt;&lt;strong&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&amp;nbsp;&amp;gt; 「修改HTML」&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: black; font-family: Verdana, arial, tahoma, sans-serif; line-height: 19px;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;點選「展開小裝置範本」&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;找到&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;pre style="background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; clear: both; font-family: Consolas, Monaco, 'Courier New', Courier, monospace; overflow-x: auto; padding-bottom: 10px; padding-left: 10px; padding-right: 10px; padding-top: 10px; white-space: pre-wrap; word-wrap: break-word;"&gt;]]&amp;gt;
&lt;/pre&gt;&lt;div style="margin-bottom: 1.3em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;nbsp;&amp;nbsp; 然後替換成下面這個&lt;/div&gt;&lt;pre style="background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; clear: both; font-family: Consolas, Monaco, 'Courier New', Courier, monospace; overflow-x: auto; padding-bottom: 10px; padding-left: 10px; padding-right: 10px; padding-top: 10px; white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;code style="background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-family: Consolas, Monaco, 'Courier New', Courier, monospace; margin-bottom: 0px; margin-left: 2px; margin-right: 2px; margin-top: 0px; padding-bottom: 0px; padding-left: 3px; padding-right: 3px; padding-top: 0px;"&gt;
.showpageNum a {
  padding: 3px 8px;
  margin:0 4px;
  text-decoration: none;
  border:1px solid #999;
  -webkit-border-radius:3px;-moz-border-radius:3px;
  background: #ddd;
  }

.showpageOf {
margin:0 8px 0 0;
}
.showpageNum a:hover {
  border:1px solid #888;
  background: #ccc;
  }

.showpagePoint {
  color:#fff;
  text-shadow:0 1px 2px #333;
  padding: 3px 8px;
  margin: 2px;
  font-weight: 700;
  -webkit-border-radius:3px;-moz-border-radius:3px;
  border:1px solid #999;
  background: #666;
  text-decoration: none;
  }

]]&amp;gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEio4e4bNMe-w38iHhlQmzduoU2P-EAkvL-NUFU84C-7C2uHff6dV3osmkBzeZIeXDZN580qrqqh1uvv-v4A8YLtLnig1YCsIpc5Kf7ruNc_gQprbPoktr3Q_oY7e57VkdRJDRBxEJkxUVTH/s1600/afterchange.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: left;"&gt;&lt;br /&gt;
&lt;/a&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEio4e4bNMe-w38iHhlQmzduoU2P-EAkvL-NUFU84C-7C2uHff6dV3osmkBzeZIeXDZN580qrqqh1uvv-v4A8YLtLnig1YCsIpc5Kf7ruNc_gQprbPoktr3Q_oY7e57VkdRJDRBxEJkxUVTH/s1600/afterchange.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: left;"&gt;&lt;br /&gt;
&lt;/a&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEio4e4bNMe-w38iHhlQmzduoU2P-EAkvL-NUFU84C-7C2uHff6dV3osmkBzeZIeXDZN580qrqqh1uvv-v4A8YLtLnig1YCsIpc5Kf7ruNc_gQprbPoktr3Q_oY7e57VkdRJDRBxEJkxUVTH/s1600/afterchange.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: left;"&gt;&lt;br /&gt;
&lt;/a&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEio4e4bNMe-w38iHhlQmzduoU2P-EAkvL-NUFU84C-7C2uHff6dV3osmkBzeZIeXDZN580qrqqh1uvv-v4A8YLtLnig1YCsIpc5Kf7ruNc_gQprbPoktr3Q_oY7e57VkdRJDRBxEJkxUVTH/s1600/afterchange.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: left;"&gt;&lt;br /&gt;
&lt;/a&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEio4e4bNMe-w38iHhlQmzduoU2P-EAkvL-NUFU84C-7C2uHff6dV3osmkBzeZIeXDZN580qrqqh1uvv-v4A8YLtLnig1YCsIpc5Kf7ruNc_gQprbPoktr3Q_oY7e57VkdRJDRBxEJkxUVTH/s1600/afterchange.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: left;"&gt;&lt;br /&gt;
&lt;/a&gt;&lt;span class="Apple-style-span" style="color: #222222; font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif; font-size: medium;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #222222; font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif; font-size: medium;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #222222; font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif; font-size: medium;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #222222; font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif; font-size: medium;"&gt;&lt;div style="text-align: left;"&gt;&lt;span class="Apple-style-span" style="font-size: 14px; font-weight: bold; line-height: 22px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;span class="Apple-style-span" style="font-size: 14px; font-weight: bold; line-height: 22px;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: 14px; font-weight: bold; line-height: 22px;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: 14px; font-weight: bold; line-height: 22px;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: 14px; font-weight: bold; line-height: 22px;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;div style="margin-bottom: 1.3em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;b&gt;上面是舊的樣式，可以到abu farhan的網頁下載其他樣式&amp;nbsp;&lt;/b&gt;&lt;a href="http://www.abu-farhan.com/2009/12/six-style-page-navigation-for-blogger/" style="color: #ff4d00; text-decoration: none;"&gt;Six Styles Page Navigation for Blogger&lt;/a&gt;&lt;/div&gt;&lt;div style="margin-bottom: 1.3em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;a href="http://www.abu-farhan.com/2009/12/six-style-page-navigation-for-blogger/" style="color: #ff4d00; text-decoration: none;"&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-family: Calibri, 'Helvetica Neue', 'Liberation Sans', sans-serif; font-size: 22px;"&gt;Step 2 : Aplly Javascript&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 1.3em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;找到&lt;/div&gt;&lt;pre style="background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; clear: both; font-family: Consolas, Monaco, 'Courier New', Courier, monospace; overflow-x: auto; padding-bottom: 10px; padding-left: 10px; padding-right: 10px; padding-top: 10px; white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;/pre&gt;&lt;div style="margin-bottom: 1.3em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;換成下面這個&lt;/div&gt;&lt;pre style="background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; clear: both; font-family: Consolas, Monaco, 'Courier New', Courier, monospace; overflow-x: auto; padding-bottom: 10px; padding-left: 10px; padding-right: 10px; padding-top: 10px; white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;code style="background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-family: Consolas, Monaco, 'Courier New', Courier, monospace; margin-bottom: 0px; margin-left: 2px; margin-right: 2px; margin-top: 0px; padding-bottom: 0px; padding-left: 3px; padding-right: 3px; padding-top: 0px;"&gt;
&amp;lt;script type='text/javascript'&amp;gt;
var home_page="/";
var urlactivepage=location.href;
var postperpage=7;
var numshowpage=4;
var upPageWord ='Prev';
var downPageWord ='Next';
&amp;lt;/script&amp;gt;
&amp;lt;script src='http://scriptabufarhan.googlecode.com/svn/trunk/pagenaviv202-min.js' type='text/javascript'&amp;gt;&amp;lt;/script&amp;gt;

&lt;/code&gt;
&lt;/pre&gt;&lt;div style="margin-bottom: 1.3em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;下面這兩個依照你的部落格設定自己更改&lt;/div&gt;&lt;div style="margin-bottom: 1.3em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;var postperpage=7;&lt;/div&gt;&lt;div style="margin-bottom: 1.3em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;var numshowpage=4;&lt;/div&gt;&lt;div style="margin-bottom: 1.3em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Postperpage : How many Post every Page for your blog&lt;br /&gt;
numshowpage : how Many number will show in Your page Navigation&lt;/div&gt;&lt;h3 style="clear: both; font-family: Calibri, 'Helvetica Neue', 'Liberation Sans', sans-serif; font-size: 1.6em; font-weight: 400; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Step 3 : Customize Label&lt;/h3&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 1.3em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;/div&gt;&lt;ol style="color: black; font-family: 微軟正黑體; font-size: medium; line-height: normal; list-style-type: decimal; margin-bottom: 1.5em; margin-left: 2.5em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: black; font-family: Verdana, arial, tahoma, sans-serif; line-height: 19px;"&gt;&lt;strong&gt;&lt;span class="Apple-style-span" style="color: #222222; font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal; line-height: 22px;"&gt;到修改HTML的地方&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: black; font-family: Verdana, arial, tahoma, sans-serif; line-height: 19px;"&gt;點選「展開小裝置範本」&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;找到所有的這個&lt;br /&gt;
&lt;pre style="background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; clear: both; font-family: Consolas, Monaco, 'Courier New', Courier, monospace; overflow-x: auto; padding-bottom: 10px; padding-left: 10px; padding-right: 10px; padding-top: 10px; white-space: pre-wrap; word-wrap: break-word;"&gt;'data:label.url'
&lt;/pre&gt;&lt;div style="margin-bottom: 1.3em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;替換成下面這個&lt;/div&gt;&lt;pre style="background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; clear: both; font-family: Consolas, Monaco, 'Courier New', Courier, monospace; overflow-x: auto; padding-bottom: 10px; padding-left: 10px; padding-right: 10px; padding-top: 10px; white-space: pre-wrap; word-wrap: break-word;"&gt;'data:label.url + "?&amp;amp;max-results=7"'
&lt;/pre&gt;&lt;div style="margin-bottom: 1.3em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;上面的數字7要更改成你每頁要顯示的篇數&lt;/div&gt;&lt;div style="margin-bottom: 1.3em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijmdfvW6_-GvL8fIIvZDdnB0VS6Ac26YBNGe8tzkGo_vtvi4muCxqTXAALmo0UFhgdz8KlDSUHgo9uNMFdIvRqTg45fmAt7Ip-dW9s9HZO1wz-JF8pjl3UkULetgnCPKuUeIhn1PrJHTCf/s1600/%E5%B4%87%E6%8B%9C+(0).jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijmdfvW6_-GvL8fIIvZDdnB0VS6Ac26YBNGe8tzkGo_vtvi4muCxqTXAALmo0UFhgdz8KlDSUHgo9uNMFdIvRqTg45fmAt7Ip-dW9s9HZO1wz-JF8pjl3UkULetgnCPKuUeIhn1PrJHTCf/s1600/%E5%B4%87%E6%8B%9C+(0).jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="margin-bottom: 1.3em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;存檔收工~&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWiamPbapsvRF4Q6uwGdDd1s1CU546w4qImqNkJRYzWShB764LKxYQNDx8ly8VlMfmkv5oGSF-XHDJrNgP9D752c2SU4eidLvj-ejOS0HyTNcD7Psp6U7KgPtIjH7ymU4-RaAcif9K3hBo/s72-c/beforechange.jpg" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>lamborgini.net@gmail.com (Lamborgini)</author></item><item><title>有關310%飛行座騎</title><link>http://lambobobobo.blogspot.com/2010/10/310.html</link><category>WOW</category><category>遊戲</category><category>魔獸新聞</category><pubDate>Mon, 11 Oct 2010 18:18:00 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-7947444291396570648.post-5840098174602561849</guid><description>&lt;span class="Apple-style-span" style="border-collapse: collapse;"&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: separate; line-height: 21px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;作者 lovelylion2 (′‧ω‧‵) 看板 WOW&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="border-collapse: collapse;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;標題 [4.0 ] 藍帖 - 有關310%飛行座騎&lt;br /&gt;
時間 Sat Oct 9 21:57:16 2010&lt;br /&gt;
───────────────────────────────────────&lt;br /&gt;
&lt;br /&gt;
只有280%座騎的人: 你可以付錢升級成310% (PTR上的價錢是5000G)&lt;br /&gt;
&lt;br /&gt;
已有310%座騎的人: 自動擁有310%技能&lt;br /&gt;
&lt;br /&gt;
這麼做的目的是讓玩家不用為了310%的速度，而放棄他們喜歡的座騎；反之亦然。&lt;br /&gt;
&lt;br /&gt;
PS. 這個改動4.0.1就會實裝&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="border-collapse: collapse;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="border-collapse: collapse;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;---&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="border-collapse: collapse;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBQtK-WZvSMaWXQjNODkWqbHnYjqZexrferQ2LkJjsA5gcgwT60SnGz3FBs6SBrDU9btaOsdqI3z4rzjSF2w3Y7XZ-NMmqE-24CGaVEiW8z38XbSJ6HGbTDDbmYUzfzbmAskVUjwP511u0/s1600/siggen.php+(11).jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="85" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBQtK-WZvSMaWXQjNODkWqbHnYjqZexrferQ2LkJjsA5gcgwT60SnGz3FBs6SBrDU9btaOsdqI3z4rzjSF2w3Y7XZ-NMmqE-24CGaVEiW8z38XbSJ6HGbTDDbmYUzfzbmAskVUjwP511u0/s400/siggen.php+(11).jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBQtK-WZvSMaWXQjNODkWqbHnYjqZexrferQ2LkJjsA5gcgwT60SnGz3FBs6SBrDU9btaOsdqI3z4rzjSF2w3Y7XZ-NMmqE-24CGaVEiW8z38XbSJ6HGbTDDbmYUzfzbmAskVUjwP511u0/s72-c/siggen.php+(11).jpg" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>lamborgini.net@gmail.com (Lamborgini)</author></item></channel></rss>