public CircuitBuilderMaker(FileData data, Dictionary <string, string> input) { fileData = data; ci = input; circuitDirector = new CircuitDirector(); builderFactory = BuilderFactory.GetInstance(); builderList = new Dictionary <string, IBuilder>(); }
static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); CircuitDirector C = new CircuitDirector(); IOutputHandler mainWindow = new Form1(C); C.SetOutputHandler(mainWindow); Form window = (Form)mainWindow; Application.Run(window); }