Skip to content

Commit

Permalink
Last Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Quantumzhao committed Aug 27, 2020
1 parent 288cf93 commit 3c26add
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 8 deletions.
3 changes: 3 additions & 0 deletions CourseScheduler/App.config
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
<setting name="Records" serializeAs="String">
<value>AAEAAAD/////AQAAAAAAAAAEAQAAAIEBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tTeXN0ZW0uU3RyaW5nW10sIG1zY29ybGliLCBWZXJzaW9uPTQuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjc3YTVjNTYxOTM0ZTA4OV1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24DAAARU3lzdGVtLlN0cmluZ1tdW10ICAkCAAAAAAAAAAAAAAAHAgAAAAEBAAAAAAAAAAYL</value>
</setting>
<setting name="ShowNotification" serializeAs="String">
<value>True</value>
</setting>
</CourseSelection.Properties.Settings>
</userSettings>
</configuration>
2 changes: 1 addition & 1 deletion CourseScheduler/CourseScheduler.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<WebPage>publish.htm</WebPage>
<TrustUrlParameters>true</TrustUrlParameters>
<ApplicationRevision>2</ApplicationRevision>
<ApplicationVersion>2.2.3.2</ApplicationVersion>
<ApplicationVersion>2.3.0.2</ApplicationVersion>
<UseApplicationTrust>true</UseApplicationTrust>
<PublishWizardCompleted>true</PublishWizardCompleted>
<BootstrapperEnabled>true</BootstrapperEnabled>
Expand Down
20 changes: 15 additions & 5 deletions CourseScheduler/Pages/About.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,20 @@
d:DesignHeight="450" d:DesignWidth="800">
<Grid>
<TextBlock Text="About" Style="{StaticResource ResourceKey=Heading1}" Grid.Row="0" VerticalAlignment="Top" HorizontalAlignment="Left"/>
<TextBlock Text="Contact Information" Style="{StaticResource ResourceKey=Heading2}" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,60,0,0"/>
<mui:BBCodeBlock BBCode="[b]Email: [/b]yishanzh@terpmail.umd.edu" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,109,0,0"/>
<mui:BBCodeBlock BBCode="[b]Github: [/b][url=https://github.com/Quantumzhao/CourseSelection]Course Selection[/url]" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,130,0,0"/>
<mui:BBCodeBlock BBCode="Feel free to give any feedback on GitHub [i]issue[/i] page" Margin="0,151,0,0" VerticalAlignment="Top" HorizontalAlignment="Left"/>
<mui:BBCodeBlock BBCode="[b]Author:[/b] Quantum" Margin="0,88,0,0" VerticalAlignment="Top" HorizontalAlignment="Left"/>
<StackPanel Margin="0 60 0 0">
<StackPanel>
<TextBlock Text="Contact Information" Style="{StaticResource ResourceKey=Heading2}"/>
<mui:BBCodeBlock BBCode="[b]Author:[/b] Quantum" Margin="0,10,0,0" VerticalAlignment="Top" HorizontalAlignment="Left"/>
<mui:BBCodeBlock BBCode="[b]Email: [/b]yishanzh@terpmail.umd.edu" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,5,0,0"/>
<mui:BBCodeBlock BBCode="[b]Github: [/b][url=https://github.com/Quantumzhao/CourseSelection]Course Scheduler[/url]" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,5,0,0"/>
<mui:BBCodeBlock BBCode="Feel free to give any feedback on GitHub [i]issue[/i] page" Margin="0,5,0,0" VerticalAlignment="Top" HorizontalAlignment="Left"/>
</StackPanel>

<StackPanel Margin="0 60 0 0" Width="500" HorizontalAlignment="Left">
<TextBlock Text="Updates" Style="{StaticResource ResourceKey=Heading2}"/>
<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. "/>
<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. "/>
</StackPanel>
</StackPanel>
</Grid>
</UserControl>
8 changes: 7 additions & 1 deletion CourseScheduler/Pages/MainUI.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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<Course> courseSet = new VMSet<Course>();
Expand Down
14 changes: 13 additions & 1 deletion CourseScheduler/Properties/Settings.Designer.cs

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

3 changes: 3 additions & 0 deletions CourseScheduler/Properties/Settings.settings
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,8 @@
<Setting Name="Records" Type="System.String" Scope="User">
<Value Profile="(Default)">AAEAAAD/////AQAAAAAAAAAEAQAAAIEBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tTeXN0ZW0uU3RyaW5nW10sIG1zY29ybGliLCBWZXJzaW9uPTQuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjc3YTVjNTYxOTM0ZTA4OV1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24DAAARU3lzdGVtLlN0cmluZ1tdW10ICAkCAAAAAAAAAAAAAAAHAgAAAAEBAAAAAAAAAAYL</Value>
</Setting>
<Setting Name="ShowNotification" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">True</Value>
</Setting>
</Settings>
</SettingsFile>

0 comments on commit 3c26add

Please sign in to comment.