Example #1
0
        public HomeVM()
        {
            InitFromModel(ComputerModel.CreateModelForGUI());

            _codeGenerator              = new CodeGenerator();
            _consoleWriter              = new ConsoleWriter();
            _consoleWriter.TextChanged += _consoleWriter_TextChanged;
            _window = Application.Current.MainWindow as MainWindow;
        }
Example #2
0
 public void ClearCircuit(object parameter)
 {
     InitFromModel(ComputerModel.CreateModelForGUI());
 }
Example #3
0
 //only for design
 public CircuitGridVM()
     : this(ComputerModel.CreateModelForGUI())
 {
 }