private void Clear_Click(object sender, RoutedEventArgs e)
 {
     CalculationHistory.ClearHistory();
     HistoryCollection = new ObservableCollection <string>();
 }
Exemple #2
0
 private void ClearDatabase_Click(object sender, EventArgs e)
 {
     CalculationHistory.ClearHistory();
     lbHistory.DataSource = CalculationHistory.FetchEntireHistory();
 }