示例#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();
 }