private void button1_Click(object sender, EventArgs e) { 加载窗口 form = new 加载窗口(); form.Show(); string TitleName = this.TitleBox.Text; string[] result = search_title.SearchTitle(TitleName); if (result != null) { SearchByIndex_xml content_title = new SearchByIndex_xml(); content_title.getInfomation(result, "D:\\dataxml\\dblp_index.xml", "D:\\dataxml\\result\\result_title.txt"); System.Diagnostics.Process.Start("D:\\dataxml\\result\\result_title.txt"); result = null; } else { Console.WriteLine(); 错误窗口 form1 = new 错误窗口(); form1.Show(); } form.Close(); }
private void 热点搜索button_Click(object sender, EventArgs e) { 加载窗口 form3 = new 加载窗口(); form3.Show(); System.Diagnostics.Process.Start("D:\\dataxml\\Hotspot.txt"); hideSubMenu(子菜单panel2); 拓展功能button.Image = global::文献管理系统.Properties.Resources.角下标left; b = true; form3.Close(); }
private void button3_Click(object sender, EventArgs e) { 加载窗口 form4 = new 加载窗口(); form4.Show(); System.Diagnostics.Process.Start("D:\\dataxml\\top100.txt"); System.Diagnostics.Process.Start("D:\\dataxml\\render.html"); hideSubMenu(子菜单panel); form4.Close(); 工具按钮.Image = global::文献管理系统.Properties.Resources.角下标left; a = true; }
private void button1_Click(object sender, EventArgs e) { string AuthorName = this.textBox1.Text; string[] result = search.SearchAuthor(AuthorName, 0); if (result != null) { 加载窗口 form = new 加载窗口(); form.Show(); SearchByIndex_xml content = new SearchByIndex_xml(); content.getInfomation(result, "D:\\dataxml\\dblp_index.xml", "D:\\dataxml\\result\\result_" + AuthorName + ".txt"); System.Diagnostics.Process.Start("D:\\dataxml\\result\\result_" + AuthorName + ".txt"); //search.DeleteAuthorBTreeLines(); result = null; form.Close(); } else { 错误窗口 form2 = new 错误窗口(); form2.Show(); } }