Skip to content

Commit

Permalink
Add 256 character limit to text boxes
Browse files Browse the repository at this point in the history
  • Loading branch information
LucifersCircle committed Mar 8, 2024
1 parent 3a3a271 commit 1cbdba3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/Form1.Designer.vb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/Form1.vb
Original file line number Diff line number Diff line change
Expand Up @@ -1713,7 +1713,7 @@ Public Class Form1

If latestVersion IsNot Nothing Then
' Compare the latest version with a certain threshold
Dim thresholdVersion As Version = New Version("1.1") ' Update this to current version before building
Dim thresholdVersion As Version = New Version("1.1") ' Increment version before building

If latestVersion > thresholdVersion Then
Dim result As DialogResult = MessageBox.Show("New version available! Would you like to go to GitHub to download it?", "Alert", MessageBoxButtons.YesNo, MessageBoxIcon.Information)
Expand Down

0 comments on commit 1cbdba3

Please sign in to comment.