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