Exemplo n.º 1
0
        private void PepareToExportToProject()
        {
            List <Component> to_copy = new List <Component>();

            foreach (Component c in this.COMPFactory.ComponentRecord)
            {
                if (c.IsMarked)
                {
                    to_copy.Add(c);
                }
            }
            this.MarkedForImport = ComponentFactory.CopyComponents(to_copy);

            // done
            this.DialogResult = true;
            this.Close();
        }