经典轻变传奇网站在线观看_1.76情怀赤月手游传奇_传奇sf1.76版本低_我本沉默传奇手游贴吧

安全的QQ軟件下載站 本站非騰訊QQ官方網(wǎng)站

QQ下載|QQ資訊|QQ分類|下載排行|最近更新

軟件
軟件
文章
搜索
當(dāng)前位置:首頁網(wǎng)絡(luò)工具下載工具 → 搜書玩 v1.0 吾愛破解版
搜書玩

搜書玩

v1.0 吾愛破解版搜書玩小說下載器評(píng)分:
下載地址
  • 軟件大。2.2M
  • 軟件語言:中文
  • 更新時(shí)間:2019-01-21 13:29
  • 軟件類別:免費(fèi)/下載工具
  • 軟件性質(zhì):PC軟件
  • 軟件廠商:
  • 運(yùn)行環(huán)境:WinAll
  • 軟件等級(jí):
  • 官方網(wǎng)址:暫無
  • 軟件介紹
  • 軟件截圖
  • 猜你喜歡
  • 同類推薦
  • 相關(guān)文章

搜書玩是一款由吾愛破解論壇網(wǎng)友分享的一款小說下載工具,它是由.net寫的,暫時(shí)是給網(wǎng)站運(yùn)營下書用的,所以加了個(gè)殼,它在使用上也非常簡單,只需輸入你想下載的小說名,點(diǎn)擊搜索即可一鍵搜索下載,有需要的朋友快來下載試試吧。

搜書玩

使用方法

在輸入框內(nèi)輸入你要搜索的小說名稱 或者 小說的作者

鍵盤按回車或者點(diǎn)擊搜書按鈕

然后在左側(cè)的搜索結(jié)果中就能看到搜索的結(jié)果

點(diǎn)擊左側(cè)的結(jié)果即可在中間看到這本小說對(duì)應(yīng)有多少的書源

點(diǎn)擊下載即可在下方看到下載進(jìn)度

點(diǎn)擊目錄即可看到小說下載完畢的位置

軟件說明

搜書玩是一款小說下載軟件,搜書玩支持各大平臺(tái),資源豐富,能夠讓你輕松找到你想要的小說,喜歡看小說的朋友一定不要錯(cuò)過

軟件源碼

using System;

using System.Collections.Generic;

using System.ComponentModel;

using System.Data;

using System.Drawing;

using System.IO;

using System.Linq;

using System.Net;

using System.Text;

using System.Threading;

using System.Threading.Tasks;

using System.Windows.Forms;

using CCWin;

using CCWin.SkinControl;

using libZhuishu;

namespace Novel

{

public partial class Form2 : CCSkinMain

{

public Form2()

{

InitializeComponent();

}

private void Form2_Load(object sender, EventArgs e)

{

skinDataGridView2.Columns.Add(new DataGridViewProgressBarColumn() { Name = "progrescolumn", HeaderText = "進(jìn)度" });

SearchBox.Focus();

SearchBox.SelectAll();

}

private void SearchBtn_Click(object sender, EventArgs e)

{

SearchResultView.Items.Clear();

var booklist = LibZhuishu.fuzzySearch(SearchBox.Text.Trim(), 0, 10000);

ChatListItem ul = new ChatListItem() { Text = "搜索結(jié)果", IsOpen = true };

foreach (var book in booklist)

{

Image image = null;

try

{

string url = WebUtility.UrlDecode(book.cover);

int urlStartIndex = url.IndexOf("http:");

if (urlStartIndex >= 0)

{

url = url.Substring(urlStartIndex);

}

image = Image.FromStream(System.Net.WebRequest.Create(url).GetResponse().GetResponseStream());

}

catch  { }

ChatListSubItem li = new ChatListSubItem()

{

DisplayName = book.title,

NicName = book.author,

Tag = book._id,

PersonalMsg = book.shortIntro,

HeadImage = image

};

ul.SubItems.Add(li);

}

SearchResultView.Items.Add(ul);

}

private Button btn = new Button();

private void SearchResultView_ClickSubItem(object sender, CCWin.SkinControl.ChatListClickEventArgs e, MouseEventArgs es)

{

skinDataGridView1.Rows.Clear();

try

{

string bookid = e.SelectSubItem.Tag.ToString();

TocSummmaryInfo[] shuyuan = LibZhuishu.getTocSummary(bookid);

//  List<TocInfo> tocinfolist = new List<TocInfo>();

if (shuyuan.Length > 0)

{

foreach (var yuan in shuyuan)

{

if (yuan != null)

{

var row = skinDataGridView1.Rows.Add();

skinDataGridView1.Rows[row].Cells["id"].Value = bookid;

skinDataGridView1.Rows[row].Cells["book"].Value = e.SelectSubItem.DisplayName;

skinDataGridView1.Rows[row].Cells["tocid"].Value = yuan._id;

skinDataGridView1.Rows[row].Cells["tocname"].Value = yuan.name;

skinDataGridView1.Rows[row].Cells["lastchapter"].Value = yuan.lastChapter;

skinDataGridView1.Rows[row].Cells["chaptercount"].Value = yuan.chaptersCount.ToString();

skinDataGridView1.Rows[row].Cells["download"].Value = "下載";

// skinDataGridView1.Rows[row].Cells["progrescolumn"].Value = 0;

// ((DataGridViewProgressBarCell)skinDataGridView1.Rows[row].Cells["progrescolumn"]).Maximum = yuan.chaptersCount;

}

}

}

else

{

MessageBox.Show("尚未收錄");

}

}catch(Exception ee)

{

throw ee;

}

}

private void skinDataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)

{

if(e.ColumnIndex==6)

{

var ss = skinDataGridView1.Rows[e.RowIndex].Cells["tocid"].Value.ToString();

var row = skinDataGridView2.Rows.Add();

skinDataGridView2.Rows[row].Cells["cid"].Value = skinDataGridView1.Rows[e.RowIndex].Cells["id"].Value.ToString();

skinDataGridView2.Rows[row].Cells["cbook"].Value = skinDataGridView1.Rows[e.RowIndex].Cells["book"].Value.ToString();

skinDataGridView2.Rows[row].Cells["ctocid"].Value = skinDataGridView1.Rows[e.RowIndex].Cells["tocid"].Value.ToString();

skinDataGridView2.Rows[row].Cells["ctocname"].Value = skinDataGridView1.Rows[e.RowIndex].Cells["tocname"].Value.ToString();

skinDataGridView2.Rows[row].Cells["clastchapter"].Value = skinDataGridView1.Rows[e.RowIndex].Cells["lastchapter"].Value.ToString();

skinDataGridView2.Rows[row].Cells["cchaptercount"].Value = skinDataGridView1.Rows[e.RowIndex].Cells["chaptercount"].Value.ToString();

skinDataGridView2.Rows[row].Cells["cpath"].Value = Application.StartupPath + "\\" + skinDataGridView1.Rows[e.RowIndex].Cells["book"].Value.ToString()+ ".txt";

skinDataGridView2.Rows[row].Cells["progrescolumn"].Value = 0;

((DataGridViewProgressBarCell)skinDataGridView2.Rows[row].Cells["progrescolumn"]).Maximum = Convert.ToInt32(  skinDataGridView1.Rows[e.RowIndex].Cells["chaptercount"].Value.ToString());

TocChaperListInfo chapterlist = LibZhuishu.getChaperList(ss);

Pack pack = new Pack()

{

chapterlist = chapterlist,

bookname = skinDataGridView1.Rows[e.RowIndex].Cells["book"].Value.ToString(),

progress = ((DataGridViewProgressBarCell)skinDataGridView2.Rows[row].Cells["progrescolumn"])

};

// MessageBoxEx.Show(ss);

Thread thread = new Thread(new ParameterizedThreadStart(down));

thread.Start(pack);

}

}

private delegate void GoProgress(ProgressBar metroProgressBar1,int value);

public void GoBar(ProgressBar metroProgressBar1,int value)

{

if (metroProgressBar1.InvokeRequired)

{

GoProgress t = new GoProgress(GoBar);

metroProgressBar1.BeginInvoke(t, new object[] { value });

}

else

{

metroProgressBar1.Value = value;

}

}

public class Pack

{

public TocChaperListInfo chapterlist { set; get; }

public string bookname { set; get; }

public DataGridViewProgressBarCell progress { set; get; }

}

public void down(object pack)

{

try

{

tocChaperInfo[] chlist = ((Pack)pack).chapterlist.chapters;

string bookname = ((Pack)pack).bookname;

for (int i = 0; i < chlist.Length; i++)

{

try

{

var chap = LibZhuishu.getChapter(chlist[i].link);

string path = Path.Combine(Application.StartupPath, bookname + ".txt");

FileStream fs2 = new FileStream(path, FileMode.Append, FileAccess.Write);

StreamWriter sw = new StreamWriter(fs2, new System.Text.UTF8Encoding(false));

sw.WriteLine(chap.title);

sw.WriteLine(chap.body);

sw.Close();

fs2.Close();

fs2.Dispose();

}

catch (Exception eex)

{

throw eex;

}

finally

{

((Pack)pack).progress.Value = i;

}

}

((Pack)pack).progress.Value = ((Pack)pack).progress.Maximum;

}

catch { }

}

private void skinDataGridView2_CellContentClick(object sender, DataGridViewCellEventArgs e)

{

if (skinDataGridView2.Columns[e.ColumnIndex].Name== "cpath")

{

System.Diagnostics.ProcessStartInfo psi = new System.Diagnostics.ProcessStartInfo("Explorer.exe");

psi.Arguments = "/e,/select," + skinDataGridView2.Rows[e.RowIndex].Cells["cpath"].Value.ToString();

System.Diagnostics.Process.Start(psi);

}

}

private void SearchBox_KeyUp(object sender, KeyEventArgs e)

{

if(e.KeyCode==Keys.Enter)

{

SearchBtn_Click(null, null);

}

}

}

}

軟件截圖

  • 搜書玩v1.0 吾愛破解版

下載地址

  • PC版

相關(guān)版本

同類推薦

相關(guān)文章

用戶評(píng)論

請(qǐng)自覺遵守互聯(lián)網(wǎng)相關(guān)政策法規(guī),評(píng)論內(nèi)容只代表網(wǎng)友觀點(diǎn),與本站立場(chǎng)無關(guān)!

熱門評(píng)論

最新評(píng)論

已有0人參與,點(diǎn)擊查看更多精彩評(píng)論

關(guān)于騰牛 | 聯(lián)系方式 | 發(fā)展歷程 | 版權(quán)聲明 | 下載幫助(?) | 廣告聯(lián)系 | 網(wǎng)站地圖 | 友情鏈接

Copyright 2005-2022 QQTN.com 【騰牛網(wǎng)】 版權(quán)所有 鄂ICP備2022005668號(hào)-1 | 鄂公網(wǎng)安備 42011102000260號(hào)

聲明:本站非騰訊QQ官方網(wǎng)站 所有軟件和文章來自互聯(lián)網(wǎng) 如有異議 請(qǐng)與本站聯(lián)系 本站為非贏利性網(wǎng)站 不接受任何贊助和廣告