Beispiel #1
0
        public OutputWindow(MainWindow mainWindow, string name, IList <RootModel> allRootModels)
        {
            _mainWindow = mainWindow;
            Name        = name;


            var conveyor = ConveyorFactory.CreateNew(name, allRootModels);

            RootModel = conveyor.RootModel;
            conveyor.MessageReceived += HandleMessage;

            _window        = new MainOutputWindow(mainWindow, _rootModel);
            VisibleControl = _window;
        }