Skip to content

Commit

Permalink
small fix monthly reset
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthiasBenaets committed Feb 1, 2022
1 parent f0d719b commit b11f2f7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Binary file modified .vs/BasedBudgeting/v17/.suo
Binary file not shown.
6 changes: 4 additions & 2 deletions BasedBudgeting/App.vb
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,10 @@ Public Class App
My.Settings.startDate = DateTime.Now.ToString("MMM yyyy") ' Reset global dat to current date

For Each row As DataGridViewRow In dgvBudget.Rows
row.Cells(1).Value = 0
row.Cells(2).Value = 0 ' Reset activity & budget for new month
If row.Cells(0).Value.ToString <> "" Then
row.Cells(1).Value = 0
row.Cells(2).Value = 0 ' Reset activity & budget for new month
End If
Next
End If
End If
Expand Down

0 comments on commit b11f2f7

Please sign in to comment.