Example #1
0
        TestForm(ArrayList testFuncs)
        {
            InitializeComponent();

            // Set the column sorter for the list view
            m_colSorter = new MgdDbg.Utils.ListViewColumnSorter();
            m_lvData.ListViewItemSorter = m_colSorter;

            m_treeView.BeginUpdate();

            // sort the TestFuncInfo objects into buckets
            foreach (MgdDbgTestFuncs testFuncGroup in testFuncs)
            {
                foreach (MgdDbgTestFuncInfo testFuncInfo in testFuncGroup.m_testFrameworkFuncs)
                {
                    AddFuncToBucket(testFuncInfo);
                }
            }

            BuildTree();

            m_treeView.ExpandAll();
            m_treeView.EndUpdate();

            m_treeView.AfterSelect += new TreeViewEventHandler(TreeView_AfterSelect);

            RestoreDialogState();
        }
Example #2
0
 ClassesComp(ArrayList tempArray)
 {
     InitializeComponent();
     m_colSorter = new MgdDbg.Utils.ListViewColumnSorter();
     m_lvData.ListViewItemSorter = m_colSorter;
     m_classArray = tempArray;
     Display();
 }
Example #3
0
 ClassesComp()
 {
     InitializeComponent();
     m_colSorter = new MgdDbg.Utils.ListViewColumnSorter();
     m_lvData.ListViewItemSorter = m_colSorter;
     BuildClassList();
     Display();
 }