Exemple #1
0
        public void Import_Click(object sender, EventArgs e)
        {
            //retrieves a null instance of the TopLevel class
            topLevel = inventorImportProcess.GetToplevel();

            //subscribes to the event in the TopLevel class to update the progress bar
            SubscribeToTopLevelEvent(topLevel);

            //begins the import process
            inventorImportProcess.ImportANewInventorModel(InventorConnectionStatus, ValidDocumentType, UpdateProgressBar);

            treeViewNodeData = TreeListView.BuildTreeViewNodeDataNested(topLevel.AssemblyList);

            sheetMetalListData = SheetMetalListView.BuildSheetMetalNodeData(topLevel.AssemblyList);

            FillTree();

            FillSheetMetalList();
        }
Exemple #2
0
 private void AddSheetMetalListView()
 {
     sheetMetalListView = SheetMetalListView.CreateTreeListView();
     Controls.Add(sheetMetalListView);
 }