public bool CollectFromText(string vsInput) { if (oReader.GetLinkFilesFromFile(vsInput)) { if (oReader.ReadLinksFromTextFiles()) { oReader.SaveLinks(); return(true); } } return(false); }
private void btnTextLinkLoad_Click(object sender, EventArgs e) { CBookmarkReader oReader = new CBookmarkReader(); string spath = txtTextInputPath.Text; if (!oReader.GetLinkFilesFromFile(spath)) { return; } if (oReader.ReadLinksFromTextFiles()) { oReader.SaveLinks(); } }