public SystemGeneratorController()
 {
     InitializeComponent();
     typeDetector = new systemElementTypeDetection(maxCircles);
     typeDetector.showPropabilities(textBox1);
     //systemElements = new List<systemElement>();
     Worker = new SystemGeneratorWorker2(textBox1);
 }
        public SolarSystem(systemElementTypeDetection _typeDetector, System.Windows.Forms.TextBox textbox, bool _showtext, bool startsystem)
        {
            typeDetector = _typeDetector;
            TextBox      = textbox;
            showText     = _showtext;
            StartSystem  = startsystem;

            systemElements = new List <systemElement>();
        }
        public SystemGeneratorWorker(System.Windows.Forms.TextBox textbox = null)
        {
            TextBox = textbox;

            typeDetector = new systemElementTypeDetection(maxCircles);
            typeDetector.showPropabilities(textbox);

            startingSystemTypeDetector = new systemElementTypeDetection(16, true);
            startingSystemTypeDetector.showPropabilities(textbox);
        }