Exemplo n.º 1
0
        private static void RunAnalyze()
        {
            Contents c = new Contents();
            Sasac web = new Sasac();

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

            web.UpdatePages();

            return;
        }
Exemplo n.º 2
0
        // 树右键菜单的更新
        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("更新完成");
        }