Add Summary page.

This commit is contained in:
Greg
2022-04-26 22:38:54 -06:00
parent d78a003fb0
commit dac2afc967
11 changed files with 114 additions and 4 deletions
@@ -7,6 +7,7 @@
<Payload SourceFile="..\SetupBA\BootstrapperCore.config"/>
<Payload SourceFile="..\SetupBA\bin\Release\SetupBA.dll"/>
<Payload SourceFile="..\SetupBA\bin\Release\SimpleUI.dll"/>
<Payload SourceFile="..\SetupBA\bin\Release\WpfAnimatedGif.dll"/>
<Payload SourceFile="..\SetupBA\bin\Release\Microsoft.Expression.Drawing.dll"/>
<Payload SourceFile="C:\Program Files (x86)\WiX Toolset v3.11\SDK\Microsoft.Deployment.WindowsInstaller.dll"/>
</BootstrapperApplicationRef>
@@ -5,6 +5,7 @@
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:SetupBA.MVVM.View"
xmlns:skins="clr-namespace:SimpleUI.Skins;assembly=SimpleUI"
xmlns:gif="http://wpfanimatedgif.codeplex.com"
xmlns:simpleControls="clr-namespace:SimpleUI.Controls;assembly=SimpleUI"
mc:Ignorable="d"
Width="580" Height="380">
@@ -17,13 +18,75 @@
<!-- Main View Area -->
<StackPanel Orientation="Vertical">
<TextBlock Text="Install"
FontSize="22"
<Image gif:ImageBehavior.AnimatedSource="pack://application:,,,/SetupBA;component/Resources/Duck.gif"
RenderOptions.BitmapScalingMode="Fant"
RenderOptions.EdgeMode="Aliased"
Name="Duck"
Width="120"
Margin="20"/>
<TextBlock Text="Thanks for Installing Orbis Suite 3.0!"
FontSize="18"
FontWeight="Bold"
TextWrapping="Wrap"
TextAlignment="Center"
Foreground="White"
HorizontalAlignment="Center"
Margin="20 20 20 0"/>
Margin="30 0 30 0"/>
<TextBlock Text="Special thank you to all the people who have supported this project. If there are any issues you can report bugs on the repo, PR's are welcome :)"
FontSize="16"
TextWrapping="Wrap"
TextAlignment="Center"
Foreground="White"
HorizontalAlignment="Center"
Margin="30 0 30 0"/>
<StackPanel Orientation="Horizontal" Margin="0 30 0 0"
HorizontalAlignment="Center">
<Image Source="pack://application:,,,/SetupBA;component/Resources/Github.png"
RenderOptions.BitmapScalingMode="Fant"
RenderOptions.EdgeMode="Aliased"
Width="35"
Name="Github"
Margin="5 0"
ForceCursor="True"
Cursor="Hand"
MouseDown="Github_MouseDown"/>
<Image Source="pack://application:,,,/SetupBA;component/Resources/Discord.png"
RenderOptions.BitmapScalingMode="Fant"
RenderOptions.EdgeMode="Aliased"
Width="35"
Name="Discord"
Margin="5 0"
ForceCursor="True"
Cursor="Hand"
MouseDown="Discord_MouseDown"/>
<Image Source="pack://application:,,,/SetupBA;component/Resources/Twitter.png"
RenderOptions.BitmapScalingMode="Fant"
RenderOptions.EdgeMode="Aliased"
Width="30"
Name="Twitter"
Margin="5 0"
ForceCursor="True"
Cursor="Hand"
MouseDown="Twitter_MouseDown"/>
<Image Source="pack://application:,,,/SetupBA;component/Resources/Youtube.png"
RenderOptions.BitmapScalingMode="Fant"
RenderOptions.EdgeMode="Aliased"
Width="35"
Name="Youtube"
Margin="5 0"
ForceCursor="True"
Cursor="Hand"
MouseDown="Youtube_MouseDown"/>
</StackPanel>
</StackPanel>
<!-- Button Area -->
@@ -29,5 +29,25 @@ namespace SetupBA.MVVM.View
{
SetupBA.BootstrapperDispatcher.InvokeShutdown();
}
private void Github_MouseDown(object sender, MouseButtonEventArgs e)
{
System.Diagnostics.Process.Start("https://github.com/OSM-Made/Orbis-Suite-3.0");
}
private void Discord_MouseDown(object sender, MouseButtonEventArgs e)
{
System.Diagnostics.Process.Start("https://discord.com/invite/yHcWMwQj4G");
}
private void Twitter_MouseDown(object sender, MouseButtonEventArgs e)
{
System.Diagnostics.Process.Start("https://twitter.com/LegendaryOSM");
}
private void Youtube_MouseDown(object sender, MouseButtonEventArgs e)
{
System.Diagnostics.Process.Start("https://www.youtube.com/channel/UCx4U5AfiVgpiu5WHuP0SqbQ");
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 398 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.8 KiB

+22 -1
View File
@@ -79,6 +79,9 @@
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml" />
<Reference Include="WindowsBase" />
<Reference Include="WpfAnimatedGif, Version=2.0.0.0, Culture=neutral, PublicKeyToken=9e7cd3b544a090dc, processorArchitecture=MSIL">
<HintPath>..\..\..\packages\WpfAnimatedGif.2.0.2\lib\net40\WpfAnimatedGif.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="Helpers\PropertyNotifyBase.cs" />
@@ -140,11 +143,29 @@
<None Include="BootstrapperCore.config" />
<None Include="packages.config" />
</ItemGroup>
<ItemGroup />
<ItemGroup>
<Resource Include="Resources\Duck.gif">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Resource>
</ItemGroup>
<ItemGroup>
<Resource Include="Resources\Header.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Resource>
</ItemGroup>
<ItemGroup>
<Resource Include="Resources\Discord.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Resource>
<Resource Include="Resources\Github.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Resource>
<Resource Include="Resources\Twitter.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Resource>
<Resource Include="Resources\Youtube.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Resource>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
+4
View File
@@ -10,6 +10,10 @@
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Numerics.Vectors" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.1.4.0" newVersion="4.1.4.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>
@@ -8,4 +8,5 @@
<package id="System.Numerics.Vectors" version="4.5.0" targetFramework="net48" />
<package id="System.Runtime.CompilerServices.Unsafe" version="4.5.3" targetFramework="net48" />
<package id="System.Threading.Tasks.Extensions" version="4.5.4" targetFramework="net48" />
<package id="WpfAnimatedGif" version="2.0.2" targetFramework="net48" />
</packages>