Beispiel #1
0
 public MainWindow()
 {
     InitializeComponent();
     _model = new CalculatorModel();
     _isEnteringDigitsMode = true;
     _controller           = new CalculatorController(_model);
 }
Beispiel #2
0
 public CalculatorController(CalculatorModel model)
 {
     _model = model;
 }