Exemplo n.º 1
0
 public MainPage()
 {
     this.InitializeComponent();
     evaluator = new Evaluator();
     DataContext = (viewModel = new ViewModel());
     RefreshVariables();
 }
Exemplo n.º 2
0
 private void ClearData_Click(object sender, RoutedEventArgs e)
 {
     evaluator.Clear();
     DataContext = (viewModel = new ViewModel());
     RefreshVariables();
 }