从网站下载favico.ico,然后自绘到TabControl的页头上。参考 http://www.codeproject.com/Articles/12185/A-NET-Flat-TabControl-CustomDraw

解决方案 »

  1.   

    http://blog.csdn.net/happy09li/article/details/12000161跟这个类似,改改就可以了
      

  2.   


    <head>
    <link rel="shortcut icon" href="images/favicon.ico" />
    </head>
      

  3.   


    是这个意思么?只需要自绘tab就可以了。所以的网站都有favico.ico
    比如csdn的就在http://csdnimg.cn/www/images/favicon.ico
    你只要分析网页的     <link href="http://csdnimg.cn/www/images/favicon.ico" rel="SHORTCUT ICON">就可以得到地址了
      

  4.   

    这是什么浏览器 看起来很fashion哦
      

  5.   


    原理知道,给点代码看看呀
    关闭按钮会画
    webclient.downloaddata("http://csdnimg.cn/www/images/favicon.ico")
    然后直接把ico设置到picturebox上就好了。
      

  6.   


    原理知道,给点代码看看呀
    关闭按钮会画
    webclient.downloaddata("http://csdnimg.cn/www/images/favicon.ico")
    然后直接把ico设置到picturebox上就好了。

    需要借助imagelist吧,关键是imagelist怎么写,给几行关键的代码看看
      

  7.   


    原理知道,给点代码看看呀
    关闭按钮会画
    webclient.downloaddata("http://csdnimg.cn/www/images/favicon.ico")
    然后直接把ico设置到picturebox上就好了。

    需要借助imagelist吧,关键是imagelist怎么写,给几行关键的代码看看
    慢慢写,总会写出来的。
      

  8.   

    有是有,不过需要时间做,你可以google找些例子看看
    http://www.codeproject.com/Articles/20050/FireFox-like-Tab-Control
      

  9.   

    有是有,不过需要时间做,你可以google找些例子看看
    http://www.codeproject.com/Articles/20050/FireFox-like-Tab-Control目前求的是网站图标的绘制,关键图标不固定,并需要下载。不知道用imagelist怎么弄?
    简单地说就是,如何把用户访问网站的图标时时地保存到imagelist?
      

  10.   

    获取图标Uri url = new Uri("地址");
    string faviconIcon = "http://" + url.Host + "/favicon.ico";
    WebRequest request = WebRequest.Create(faviconIcon);
    WebResponse response = request.GetResponse();
    Stream s = response.GetResponseStream();
    Image image=Image.FromStream(s);
      

  11.   

    你说的图标不固定?获取不到图标就用你自己设置默认的图标代替Uri url = new Uri("地址");
    string faviconIcon = "http://" + url.Host + "/favicon.ico";
    WebRequest request = WebRequest.Create(faviconIcon);
    Image image=null;
    try{
       WebResponse response = request.GetResponse();
       Stream s = response.GetResponseStream();
       image=Image.FromStream(s);
    }
    catch{   image=Image.FromFile("缺省的图标"); }