Exemple #1
0
 public GuiModel(IGuiView View)
 {
     if (View == null)
     {
         throw new ArgumentNullException("View");
     }
     this.View = View;
     this.View.CalculatePushed += DoCalculation;
     this.Calculator = new Calculator();
 }
 public MainPage()
 {
     this.InitializeComponent();
     this.calculator = new Calculator();
 }