Пример #1
0
 public CalcViewModel()
 {
     Model         = new CalcModel();
     tempNumber    = 0;
     lastOperation = LastOperation.None;
     bNewEntry     = false;
 }
Пример #2
0
 public MainWindow()
 {
     InitializeComponent();
     firstOpp   = true;
     firstPress = false;
     cm         = new CalcModel();
 }