Splash Screen

Move initial loading logic to splash screen, before the main interface is shown
This commit is contained in:
2023-08-02 15:29:07 +02:00
parent 3b2c4175fd
commit e25fc82994
8 changed files with 290 additions and 43 deletions

View File

@@ -176,6 +176,12 @@
<Compile Include="gui\launcher\InstanceWindow.Designer.cs">
<DependentUpon>InstanceWindow.cs</DependentUpon>
</Compile>
<Compile Include="gui\other\SplashScreen.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="gui\other\SplashScreen.Designer.cs">
<DependentUpon>SplashScreen.cs</DependentUpon>
</Compile>
<Compile Include="MainLauncherForm.cs">
<SubType>Form</SubType>
</Compile>
@@ -203,6 +209,9 @@
<EmbeddedResource Include="gui\launcher\InstanceWindow.resx">
<DependentUpon>InstanceWindow.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="gui\other\SplashScreen.resx">
<DependentUpon>SplashScreen.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="MainLauncherForm.resx">
<DependentUpon>MainLauncherForm.cs</DependentUpon>
</EmbeddedResource>
@@ -214,19 +223,20 @@
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<None Include="LICENSE" />
<None Include="packages.config" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
@@ -239,6 +249,7 @@
</ItemGroup>
<ItemGroup>
<Content Include=".gitignore" />
<None Include="Resources\splash1.png" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="packages\Microsoft.Web.WebView2.1.0.1823.32\build\Microsoft.Web.WebView2.targets" Condition="Exists('packages\Microsoft.Web.WebView2.1.0.1823.32\build\Microsoft.Web.WebView2.targets')" />