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