Пример #1
0
 public Form1()
 {
     InitializeComponent();
     viewModel = new CalculatorViewModel();
     BindToViewModel();
 }
 public CalculateCommand(CalculatorViewModel viewModel)
 {
     this.viewModel = viewModel;
 }
Пример #3
0
 public CalculateCommand(CalculatorViewModel viewModel)
 {
     this.viewModel = viewModel;
 }
Пример #4
0
 public Form1()
 {
     InitializeComponent();
     viewModel = new CalculatorViewModel();
     BindToViewModel();
 }