Skip to content

Commit fcede74

Browse files
authored
Upload wpf splash screen.
1 parent 768d526 commit fcede74

25 files changed

+507
-0
lines changed

Splash_Wpf/Splash_Wpf.sln

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 2012
4+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Splash_Wpf", "Splash_Wpf\Splash_Wpf.csproj", "{25E84081-B003-4F1A-B5A8-D007556B9414}"
5+
EndProject
6+
Global
7+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
8+
Debug|Any CPU = Debug|Any CPU
9+
Release|Any CPU = Release|Any CPU
10+
EndGlobalSection
11+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
12+
{25E84081-B003-4F1A-B5A8-D007556B9414}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
13+
{25E84081-B003-4F1A-B5A8-D007556B9414}.Debug|Any CPU.Build.0 = Debug|Any CPU
14+
{25E84081-B003-4F1A-B5A8-D007556B9414}.Release|Any CPU.ActiveCfg = Release|Any CPU
15+
{25E84081-B003-4F1A-B5A8-D007556B9414}.Release|Any CPU.Build.0 = Release|Any CPU
16+
EndGlobalSection
17+
GlobalSection(SolutionProperties) = preSolution
18+
HideSolutionNode = FALSE
19+
EndGlobalSection
20+
EndGlobal

Splash_Wpf/Splash_Wpf.v11.suo

51.5 KB
Binary file not shown.

Splash_Wpf/Splash_Wpf.v12.suo

51.5 KB
Binary file not shown.

Splash_Wpf/Splash_Wpf/App.xaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<Application x:Class="Splash_Wpf.App"
2+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4+
StartupUri="MainWindow.xaml">
5+
<Application.Resources>
6+
7+
</Application.Resources>
8+
</Application>

Splash_Wpf/Splash_Wpf/App.xaml.cs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Configuration;
4+
using System.Data;
5+
using System.Linq;
6+
using System.Windows;
7+
8+
namespace Splash_Wpf
9+
{
10+
/// <summary>
11+
/// App.xaml 的交互逻辑
12+
/// </summary>
13+
public partial class App : Application
14+
{
15+
}
16+
}

Splash_Wpf/Splash_Wpf/Aurora.ico

151 KB
Binary file not shown.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<Window x:Class="Splash_Wpf.MainWindow"
2+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4+
Title="Aurora_Splash" Height="420" Width="585" Background="Transparent" WindowStartupLocation="CenterScreen" WindowStyle="None" AllowsTransparency="True" Icon="Aurora.ico" MouseDown="Window_MouseDown_1">
5+
<Grid>
6+
<Grid.Background>
7+
<ImageBrush ImageSource="Splash V1.4.png"/>
8+
</Grid.Background>
9+
</Grid>
10+
</Window>
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Text;
5+
using System.Windows;
6+
using System.Windows.Controls;
7+
using System.Windows.Data;
8+
using System.Windows.Documents;
9+
using System.Windows.Input;
10+
using System.Windows.Media;
11+
using System.Windows.Media.Imaging;
12+
using System.Windows.Navigation;
13+
using System.Windows.Shapes;
14+
15+
namespace Splash_Wpf
16+
{
17+
/// <summary>
18+
/// MainWindow.xaml 的交互逻辑
19+
/// </summary>
20+
public partial class MainWindow : Window
21+
{
22+
public MainWindow()
23+
{
24+
InitializeComponent();
25+
}
26+
27+
private void Window_MouseDown_1(object sender, MouseButtonEventArgs e)
28+
{
29+
if (e.LeftButton == MouseButtonState.Pressed)
30+
{
31+
this.DragMove();
32+
}
33+
}
34+
35+
36+
37+
}
38+
}
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
using System.Reflection;
2+
using System.Resources;
3+
using System.Runtime.CompilerServices;
4+
using System.Runtime.InteropServices;
5+
using System.Windows;
6+
7+
// 有关程序集的常规信息通过以下
8+
// 特性集控制。更改这些特性值可修改
9+
// 与程序集关联的信息。
10+
[assembly: AssemblyTitle("Aurora_Splash")]
11+
[assembly: AssemblyDescription("Aurora 启动界面")]
12+
[assembly: AssemblyConfiguration("")]
13+
[assembly: AssemblyCompany("© Aurora")]
14+
[assembly: AssemblyProduct("Aurora_Splash")]
15+
[assembly: AssemblyCopyright("Copyright © 2013")]
16+
[assembly: AssemblyTrademark("Aurora")]
17+
[assembly: AssemblyCulture("")]
18+
19+
// 将 ComVisible 设置为 false 使此程序集中的类型
20+
// 对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型,
21+
// 则将该类型上的 ComVisible 特性设置为 true。
22+
[assembly: ComVisible(false)]
23+
24+
//若要开始生成可本地化的应用程序,请在
25+
//<PropertyGroup> 中的 .csproj 文件中
26+
//设置 <UICulture>CultureYouAreCodingWith</UICulture>。例如,如果您在源文件中
27+
//使用的是美国英语,请将 <UICulture> 设置为 en-US。然后取消
28+
//对以下 NeutralResourceLanguage 特性的注释。更新
29+
//以下行中的“en-US”以匹配项目文件中的 UICulture 设置。
30+
31+
//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
32+
33+
34+
[assembly: ThemeInfo(
35+
ResourceDictionaryLocation.None, //主题特定资源词典所处位置
36+
//(在页面或应用程序资源词典中
37+
// 未找到某个资源的情况下使用)
38+
ResourceDictionaryLocation.SourceAssembly //常规资源词典所处位置
39+
//(在页面、应用程序或任何主题特定资源词典中
40+
// 未找到某个资源的情况下使用)
41+
)]
42+
43+
44+
// 程序集的版本信息由下面四个值组成:
45+
//
46+
// 主版本
47+
// 次版本
48+
// 生成号
49+
// 修订号
50+
//
51+
// 可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值,
52+
// 方法是按如下所示使用“*”:
53+
// [assembly: AssemblyVersion("1.0.*")]
54+
[assembly: AssemblyVersion("1.0.0.0")]
55+
[assembly: AssemblyFileVersion("1.0.0.0")]

Splash_Wpf/Splash_Wpf/Properties/Resources.Designer.cs

Lines changed: 63 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)