示例#1
0
 public CircuitBuilderMaker(FileData data, Dictionary <string, string> input)
 {
     fileData        = data;
     ci              = input;
     circuitDirector = new CircuitDirector();
     builderFactory  = BuilderFactory.GetInstance();
     builderList     = new Dictionary <string, IBuilder>();
 }
示例#2
0
        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);
        }