public bool CollectFromHtml(string vsInput) { if (oReader.GetLinkFilesFromFile(vsInput)) { if (oReader.ReadWriteLinksFromHtmlFiles()) { oReader.SaveLinks(); return(true); } } return(false); }
private void btnHtml_Click(object sender, EventArgs e) { CBookmarkReader oReader = new CBookmarkReader(); string spath = txtHtml.Text; if (!oReader.GetLinkFilesFromFile(spath)) { return; } if (oReader.ReadWriteLinksFromHtmlFiles()) { MessageBox.Show("done"); } }