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