public Form1() { InitializeComponent(); ProgressBarDelegate.sendPEvent += new ProgressBarDelegate.SendPMessage(this.fileConvertListProgress); ViewMatchOverDays = -1; appPath = Application.StartupPath.ToString(); filterMatchPath = appPath + @"\FilterMatch.sdf"; loaddatatree = new LoadDataToTree(ViewMatchOverDays, false); }
private void filterMatchToolStripMenuItem_Click(object sender, EventArgs e) { //重新处理 2011.6.16 treeView5.Nodes.Clear(); loaddatatree = new LoadDataToTree(ViewMatchOverDays, true); loaddatatree.TreeViewMatch(treeView5, "type"); GC.Collect(); GC.Collect(); Application.DoEvents(); }