Example #1
0
        private void selectAll()
        {
            string           statusString      = TopInFormEnum.ALL.ToString();
            TopInFormEnum    status            = (TopInFormEnum)Enum.Parse(typeof(TopInFormEnum), statusString);
            List <_Assembly> filteredAssemblys = DataSorting.filterAssemblysByTIF(_data, status);

            TeklaHandler.selectAssemblys(filteredAssemblys);
        }
Example #2
0
        private void select()
        {
            string           statusString      = cb_selectFrom.SelectedValue.ToString();
            TopInFormEnum    status            = (TopInFormEnum)Enum.Parse(typeof(TopInFormEnum), statusString);
            List <_Assembly> filteredAssemblys = DataSorting.filterAssemblysByTIF(_data, status);
            string           report            = "Selected " + filteredAssemblys.Count.ToString() + " assemblys \n";

            TeklaHandler.selectAssemblys(filteredAssemblys);
            print(report);
        }