コード例 #1
0
 private void buttonExpenses_Click(object sender, EventArgs e)
 {
     StatisticsTextBox.Clear();
     ChangeTextbox(datePickerStart.Value, datePickerEnd.Value, TransactionType.RegularExpense, StatisticsTextBox);
     ChangeTextbox(datePickerStart.Value, datePickerEnd.Value, TransactionType.IrregularExpense, StatisticsTextBox);
     CheckIfEmpty(datePickerStart.Value, datePickerEnd.Value, "Expense", StatisticsTextBox);
 }
コード例 #2
0
 private void buttonIrregularIncomes_Click(object sender, EventArgs e)
 {
     StatisticsTextBox.Clear();
     ChangeTextbox(datePickerStart.Value, datePickerEnd.Value, TransactionType.IrregularIncome, StatisticsTextBox);
     CheckIfEmpty(datePickerStart.Value, datePickerEnd.Value, TransactionType.IrregularIncome.ToString(), StatisticsTextBox);
 }