예제 #1
0
        private void timer1_Tick(object sender, EventArgs e)
        {
            timer1.Enabled = false;
            tvGac.LoadGac();
            //
            StringCollection sc   = new StringCollection();
            List <Assembly>  refs = _project.GetReferences(sc);

            if (sc.Count > 0)
            {
                MathNode.Log(sc);
            }
            foreach (Assembly a in refs)
            {
                tvGac.Nodes.Add(new TreeNodeAssembly(a));
            }
            //add an empty node to make sure all nodes are visible
            tvGac.Nodes.Add(new TreeNodeDummy());
        }