Skip to content
This repository was archived by the owner on Apr 28, 2023. It is now read-only.

Commit 463a564

Browse files
committed
Set due time to 11:59:59 PM by default
1 parent 6febf03 commit 463a564

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

AssignmentReminder/AssignmentManager.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ public AssignmentManager()
1212
InitializeComponent();
1313
TimeChooser.CustomFormat = "hh:mm:ss tt";
1414
TimeChooser.Format = DateTimePickerFormat.Custom;
15+
DateTime now = DateTime.Now;
16+
TimeChooser.Value = new DateTime( now.Year, now.Month, now.Day, 23, 59, 59 );
1517
AssignmentReminder.CloseTimer.Stop();
1618
AssignmentReminder.ManagerWindow = this;
1719
FormClosed += delegate { AssignmentReminder.ManagerWindow = null; };

AssignmentReminder/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@
3131
// You can specify all the values or you can default the Build and Revision Numbers
3232
// by using the '*' as shown below:
3333
// [assembly: AssemblyVersion("1.0.*")]
34-
[assembly: AssemblyVersion( "2.1" )]
35-
[assembly: AssemblyFileVersion( "2.1" )]
34+
[assembly: AssemblyVersion( "2.1.1" )]
35+
[assembly: AssemblyFileVersion( "2.1.1" )]

0 commit comments

Comments
 (0)