示例#1
0
文件: Program.cs 项目: hmxiaoxiao/leo
        private static void RunAnalyze()
        {
            Contents c = new Contents();
            Sasac web = new Sasac();

            web.FindedLink += c.SaveContents;
            web.FindedLink += DebugOut;

            web.UpdatePages();

            return;
        }
示例#2
0
文件: winMain.cs 项目: hmxiaoxiao/leo
        // 树右键菜单的更新
        private void menuTreeUpdate_Click(object sender, EventArgs e)
        {
            if (treeView1.SelectedNode == null)
                return;

            string id = treeView1.SelectedNode.Tag.ToString();
            Contents c = new Contents();
            Sasac web = new Sasac();

            web.FindedLink += c.SaveContents;
            c.SavedLink += AddTreeNodeTipGridLine;

            web.UpdatePages(int.Parse(treeView1.SelectedNode.Name));
            MessageBox.Show("更新完成");
        }