diff --git a/CourseScheduler/App.config b/CourseScheduler/App.config index 22b7df2..2c20b66 100644 --- a/CourseScheduler/App.config +++ b/CourseScheduler/App.config @@ -16,6 +16,9 @@ AAEAAAD/////AQAAAAAAAAAEAQAAAIEBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tTeXN0ZW0uU3RyaW5nW10sIG1zY29ybGliLCBWZXJzaW9uPTQuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjc3YTVjNTYxOTM0ZTA4OV1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24DAAARU3lzdGVtLlN0cmluZ1tdW10ICAkCAAAAAAAAAAAAAAAHAgAAAAEBAAAAAAAAAAYL + + True + \ No newline at end of file diff --git a/CourseScheduler/CourseScheduler.csproj b/CourseScheduler/CourseScheduler.csproj index 486b15b..0f2eeb2 100644 --- a/CourseScheduler/CourseScheduler.csproj +++ b/CourseScheduler/CourseScheduler.csproj @@ -33,7 +33,7 @@ publish.htm true 2 - 2.2.3.2 + 2.3.0.2 true true true diff --git a/CourseScheduler/Pages/About.xaml b/CourseScheduler/Pages/About.xaml index 15c735e..2ab7011 100644 --- a/CourseScheduler/Pages/About.xaml +++ b/CourseScheduler/Pages/About.xaml @@ -9,10 +9,20 @@ d:DesignHeight="450" d:DesignWidth="800"> - - - - - + + + + + + + + + + + + + + + diff --git a/CourseScheduler/Pages/MainUI.xaml.cs b/CourseScheduler/Pages/MainUI.xaml.cs index 90f40fc..6bacd39 100644 --- a/CourseScheduler/Pages/MainUI.xaml.cs +++ b/CourseScheduler/Pages/MainUI.xaml.cs @@ -13,7 +13,6 @@ using System.Net.Http; using FirstFloor.ModernUI.Presentation; using CourseScheduler.Pages; -using System.Collections; using System.Runtime.Serialization.Formatters.Binary; using System.IO; @@ -38,6 +37,13 @@ public MainUI() GorgeousColors[8] = Color.FromRgb(160, 160, 160); GorgeousColors[9] = Color.FromRgb(128, 128, 128); AppearanceManager.Current.AccentColor = CourseSelection.Properties.Settings.Default.AccentColor.FromColor(); + + if (CourseSelection.Properties.Settings.Default.ShowNotification) + { + ModernDialog.ShowMessage("This is the last update, for more information, please check out the \"About\" page", "Version Info", MessageBoxButton.OK); + CourseSelection.Properties.Settings.Default.ShowNotification = false; + CourseSelection.Properties.Settings.Default.Save(); + } } private VMSet courseSet = new VMSet(); diff --git a/CourseScheduler/Properties/Settings.Designer.cs b/CourseScheduler/Properties/Settings.Designer.cs index 79faf60..edad371 100644 --- a/CourseScheduler/Properties/Settings.Designer.cs +++ b/CourseScheduler/Properties/Settings.Designer.cs @@ -12,7 +12,7 @@ namespace CourseSelection.Properties { [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.4.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.6.0.0")] internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); @@ -46,5 +46,17 @@ public string Records { this["Records"] = value; } } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("True")] + public bool ShowNotification { + get { + return ((bool)(this["ShowNotification"])); + } + set { + this["ShowNotification"] = value; + } + } } } diff --git a/CourseScheduler/Properties/Settings.settings b/CourseScheduler/Properties/Settings.settings index e1e49a3..9b60013 100644 --- a/CourseScheduler/Properties/Settings.settings +++ b/CourseScheduler/Properties/Settings.settings @@ -8,5 +8,8 @@ AAEAAAD/////AQAAAAAAAAAEAQAAAIEBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tTeXN0ZW0uU3RyaW5nW10sIG1zY29ybGliLCBWZXJzaW9uPTQuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjc3YTVjNTYxOTM0ZTA4OV1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24DAAARU3lzdGVtLlN0cmluZ1tdW10ICAkCAAAAAAAAAAAAAAAHAgAAAAEBAAAAAAAAAAYL + + True + \ No newline at end of file