Skip to content

Commit 3c26add

Browse files
committed
Last Update
1 parent 288cf93 commit 3c26add

File tree

6 files changed

+42
-8
lines changed

6 files changed

+42
-8
lines changed

CourseScheduler/App.config

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
<setting name="Records" serializeAs="String">
1717
<value>AAEAAAD/////AQAAAAAAAAAEAQAAAIEBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tTeXN0ZW0uU3RyaW5nW10sIG1zY29ybGliLCBWZXJzaW9uPTQuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjc3YTVjNTYxOTM0ZTA4OV1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24DAAARU3lzdGVtLlN0cmluZ1tdW10ICAkCAAAAAAAAAAAAAAAHAgAAAAEBAAAAAAAAAAYL</value>
1818
</setting>
19+
<setting name="ShowNotification" serializeAs="String">
20+
<value>True</value>
21+
</setting>
1922
</CourseSelection.Properties.Settings>
2023
</userSettings>
2124
</configuration>

CourseScheduler/CourseScheduler.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
<WebPage>publish.htm</WebPage>
3434
<TrustUrlParameters>true</TrustUrlParameters>
3535
<ApplicationRevision>2</ApplicationRevision>
36-
<ApplicationVersion>2.2.3.2</ApplicationVersion>
36+
<ApplicationVersion>2.3.0.2</ApplicationVersion>
3737
<UseApplicationTrust>true</UseApplicationTrust>
3838
<PublishWizardCompleted>true</PublishWizardCompleted>
3939
<BootstrapperEnabled>true</BootstrapperEnabled>

CourseScheduler/Pages/About.xaml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,20 @@
99
d:DesignHeight="450" d:DesignWidth="800">
1010
<Grid>
1111
<TextBlock Text="About" Style="{StaticResource ResourceKey=Heading1}" Grid.Row="0" VerticalAlignment="Top" HorizontalAlignment="Left"/>
12-
<TextBlock Text="Contact Information" Style="{StaticResource ResourceKey=Heading2}" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,60,0,0"/>
13-
<mui:BBCodeBlock BBCode="[b]Email: [/b][email protected]" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,109,0,0"/>
14-
<mui:BBCodeBlock BBCode="[b]Github: [/b][url=https://github.com/Quantumzhao/CourseSelection]Course Selection[/url]" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,130,0,0"/>
15-
<mui:BBCodeBlock BBCode="Feel free to give any feedback on GitHub [i]issue[/i] page" Margin="0,151,0,0" VerticalAlignment="Top" HorizontalAlignment="Left"/>
16-
<mui:BBCodeBlock BBCode="[b]Author:[/b] Quantum" Margin="0,88,0,0" VerticalAlignment="Top" HorizontalAlignment="Left"/>
12+
<StackPanel Margin="0 60 0 0">
13+
<StackPanel>
14+
<TextBlock Text="Contact Information" Style="{StaticResource ResourceKey=Heading2}"/>
15+
<mui:BBCodeBlock BBCode="[b]Author:[/b] Quantum" Margin="0,10,0,0" VerticalAlignment="Top" HorizontalAlignment="Left"/>
16+
<mui:BBCodeBlock BBCode="[b]Email: [/b][email protected]" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,5,0,0"/>
17+
<mui:BBCodeBlock BBCode="[b]Github: [/b][url=https://github.com/Quantumzhao/CourseSelection]Course Scheduler[/url]" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,5,0,0"/>
18+
<mui:BBCodeBlock BBCode="Feel free to give any feedback on GitHub [i]issue[/i] page" Margin="0,5,0,0" VerticalAlignment="Top" HorizontalAlignment="Left"/>
19+
</StackPanel>
20+
21+
<StackPanel Margin="0 60 0 0" Width="500" HorizontalAlignment="Left">
22+
<TextBlock Text="Updates" Style="{StaticResource ResourceKey=Heading2}"/>
23+
<mui:BBCodeBlock Margin="0 5 0 0" BBCode="This version will cease to update and maintain in the near future, because I am rewriting the application using Avalonia UI which is a cross-platform framework. In short, it finally supports Mac OS. "/>
24+
<mui:BBCodeBlock Margin="0 5 0 0" BBCode="The new version will also include advanced search and filtering. If you would like to know more about this, please take a look at my GitHub repository. "/>
25+
</StackPanel>
26+
</StackPanel>
1727
</Grid>
1828
</UserControl>

CourseScheduler/Pages/MainUI.xaml.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
using System.Net.Http;
1414
using FirstFloor.ModernUI.Presentation;
1515
using CourseScheduler.Pages;
16-
using System.Collections;
1716
using System.Runtime.Serialization.Formatters.Binary;
1817
using System.IO;
1918

@@ -38,6 +37,13 @@ public MainUI()
3837
GorgeousColors[8] = Color.FromRgb(160, 160, 160);
3938
GorgeousColors[9] = Color.FromRgb(128, 128, 128);
4039
AppearanceManager.Current.AccentColor = CourseSelection.Properties.Settings.Default.AccentColor.FromColor();
40+
41+
if (CourseSelection.Properties.Settings.Default.ShowNotification)
42+
{
43+
ModernDialog.ShowMessage("This is the last update, for more information, please check out the \"About\" page", "Version Info", MessageBoxButton.OK);
44+
CourseSelection.Properties.Settings.Default.ShowNotification = false;
45+
CourseSelection.Properties.Settings.Default.Save();
46+
}
4147
}
4248

4349
private VMSet<Course> courseSet = new VMSet<Course>();

CourseScheduler/Properties/Settings.Designer.cs

Lines changed: 13 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CourseScheduler/Properties/Settings.settings

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,8 @@
88
<Setting Name="Records" Type="System.String" Scope="User">
99
<Value Profile="(Default)">AAEAAAD/////AQAAAAAAAAAEAQAAAIEBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tTeXN0ZW0uU3RyaW5nW10sIG1zY29ybGliLCBWZXJzaW9uPTQuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjc3YTVjNTYxOTM0ZTA4OV1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24DAAARU3lzdGVtLlN0cmluZ1tdW10ICAkCAAAAAAAAAAAAAAAHAgAAAAEBAAAAAAAAAAYL</Value>
1010
</Setting>
11+
<Setting Name="ShowNotification" Type="System.Boolean" Scope="User">
12+
<Value Profile="(Default)">True</Value>
13+
</Setting>
1114
</Settings>
1215
</SettingsFile>

0 commit comments

Comments
 (0)