├── favicon.ico
├── .vs
└── Love
│ ├── v16
│ └── .suo
│ └── DesignTimeBuild
│ └── .dtbcache.v2
├── Resources
└── 11.jpg
├── obj
├── Debug
│ └── net5.0-windows
│ │ ├── Love.genruntimeconfig.cache
│ │ ├── Love.AssemblyInfoInputs.cache
│ │ ├── Love.csproj.CoreCompileInputs.cache
│ │ ├── Love.dll
│ │ ├── Love.pdb
│ │ ├── apphost.exe
│ │ ├── ref
│ │ └── Love.dll
│ │ ├── Love.assets.cache
│ │ ├── Love.Form1.resources
│ │ ├── Love.Properties.Resources.resources
│ │ ├── Love.csproj.GenerateResource.cache
│ │ ├── Love.csprojAssemblyReference.cache
│ │ ├── .NETCoreApp,Version=v5.0.AssemblyAttributes.cs
│ │ ├── Love.designer.deps.json
│ │ ├── Love.GeneratedMSBuildEditorConfig.editorconfig
│ │ ├── Love.designer.runtimeconfig.json
│ │ ├── Love.AssemblyInfo.cs
│ │ └── Love.csproj.FileListAbsolute.txt
├── Release
│ └── net5.0-windows
│ │ ├── Love.AssemblyInfoInputs.cache
│ │ ├── Love.genruntimeconfig.cache
│ │ ├── Love.csproj.CoreCompileInputs.cache
│ │ ├── Love.dll
│ │ ├── Love.pdb
│ │ ├── apphost.exe
│ │ ├── ref
│ │ └── Love.dll
│ │ ├── Love.assets.cache
│ │ ├── Love.Form1.resources
│ │ ├── Love.Properties.Resources.resources
│ │ ├── Love.csproj.GenerateResource.cache
│ │ ├── .NETCoreApp,Version=v5.0.AssemblyAttributes.cs
│ │ ├── Love.designer.deps.json
│ │ ├── Love.GeneratedMSBuildEditorConfig.editorconfig
│ │ ├── Love.designer.runtimeconfig.json
│ │ ├── Love.AssemblyInfo.cs
│ │ └── Love.csproj.FileListAbsolute.txt
├── project.nuget.cache
├── Love.csproj.nuget.g.targets
├── Love.csproj.nuget.g.props
├── Love.csproj.nuget.dgspec.json
└── project.assets.json
├── 解压然后运行exe程序(可能需要安装.NET5.0框架).zip
├── bin
├── Debug
│ └── net5.0-windows
│ │ ├── Love.dll
│ │ ├── Love.exe
│ │ ├── Love.pdb
│ │ ├── ref
│ │ └── Love.dll
│ │ ├── Love.runtimeconfig.json
│ │ ├── Love.runtimeconfig.dev.json
│ │ └── Love.deps.json
└── Release
│ └── net5.0-windows
│ ├── Love.dll
│ ├── Love.exe
│ ├── Love.pdb
│ ├── ref
│ └── Love.dll
│ ├── Love.runtimeconfig.json
│ ├── Love.runtimeconfig.dev.json
│ └── Love.deps.json
├── Love.csproj.user
├── Program.cs
├── Love.csproj
├── Love.sln
├── Form1.cs
├── Properties
├── Resources.Designer.cs
└── Resources.resx
├── Readme.md
└── Form1.Designer.cs
/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sun0225SUN/be-my-girlfriend/HEAD/favicon.ico
--------------------------------------------------------------------------------
/.vs/Love/v16/.suo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sun0225SUN/be-my-girlfriend/HEAD/.vs/Love/v16/.suo
--------------------------------------------------------------------------------
/Resources/11.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sun0225SUN/be-my-girlfriend/HEAD/Resources/11.jpg
--------------------------------------------------------------------------------
/obj/Debug/net5.0-windows/Love.genruntimeconfig.cache:
--------------------------------------------------------------------------------
1 | b77385759961451b6e92855eac83bad314e9a2c4
2 |
--------------------------------------------------------------------------------
/obj/Debug/net5.0-windows/Love.AssemblyInfoInputs.cache:
--------------------------------------------------------------------------------
1 | b64f0996a5910578909882711788e3369f397cc5
2 |
--------------------------------------------------------------------------------
/obj/Release/net5.0-windows/Love.AssemblyInfoInputs.cache:
--------------------------------------------------------------------------------
1 | c7bb9dfe4887a668b7473c0b635ac9026ba94209
2 |
--------------------------------------------------------------------------------
/obj/Release/net5.0-windows/Love.genruntimeconfig.cache:
--------------------------------------------------------------------------------
1 | b77385759961451b6e92855eac83bad314e9a2c4
2 |
--------------------------------------------------------------------------------
/obj/Debug/net5.0-windows/Love.csproj.CoreCompileInputs.cache:
--------------------------------------------------------------------------------
1 | 8283e2ce368145e8307367f921013157bdcee34b
2 |
--------------------------------------------------------------------------------
/obj/Release/net5.0-windows/Love.csproj.CoreCompileInputs.cache:
--------------------------------------------------------------------------------
1 | a064c0544b7bc6f71037cb44adbbf383ae5fc62a
2 |
--------------------------------------------------------------------------------
/解压然后运行exe程序(可能需要安装.NET5.0框架).zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sun0225SUN/be-my-girlfriend/HEAD/解压然后运行exe程序(可能需要安装.NET5.0框架).zip
--------------------------------------------------------------------------------
/bin/Debug/net5.0-windows/Love.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sun0225SUN/be-my-girlfriend/HEAD/bin/Debug/net5.0-windows/Love.dll
--------------------------------------------------------------------------------
/bin/Debug/net5.0-windows/Love.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sun0225SUN/be-my-girlfriend/HEAD/bin/Debug/net5.0-windows/Love.exe
--------------------------------------------------------------------------------
/bin/Debug/net5.0-windows/Love.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sun0225SUN/be-my-girlfriend/HEAD/bin/Debug/net5.0-windows/Love.pdb
--------------------------------------------------------------------------------
/bin/Release/net5.0-windows/Love.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sun0225SUN/be-my-girlfriend/HEAD/bin/Release/net5.0-windows/Love.dll
--------------------------------------------------------------------------------
/bin/Release/net5.0-windows/Love.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sun0225SUN/be-my-girlfriend/HEAD/bin/Release/net5.0-windows/Love.exe
--------------------------------------------------------------------------------
/bin/Release/net5.0-windows/Love.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sun0225SUN/be-my-girlfriend/HEAD/bin/Release/net5.0-windows/Love.pdb
--------------------------------------------------------------------------------
/obj/Debug/net5.0-windows/Love.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sun0225SUN/be-my-girlfriend/HEAD/obj/Debug/net5.0-windows/Love.dll
--------------------------------------------------------------------------------
/obj/Debug/net5.0-windows/Love.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sun0225SUN/be-my-girlfriend/HEAD/obj/Debug/net5.0-windows/Love.pdb
--------------------------------------------------------------------------------
/obj/Release/net5.0-windows/Love.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sun0225SUN/be-my-girlfriend/HEAD/obj/Release/net5.0-windows/Love.dll
--------------------------------------------------------------------------------
/obj/Release/net5.0-windows/Love.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sun0225SUN/be-my-girlfriend/HEAD/obj/Release/net5.0-windows/Love.pdb
--------------------------------------------------------------------------------
/.vs/Love/DesignTimeBuild/.dtbcache.v2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sun0225SUN/be-my-girlfriend/HEAD/.vs/Love/DesignTimeBuild/.dtbcache.v2
--------------------------------------------------------------------------------
/bin/Debug/net5.0-windows/ref/Love.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sun0225SUN/be-my-girlfriend/HEAD/bin/Debug/net5.0-windows/ref/Love.dll
--------------------------------------------------------------------------------
/obj/Debug/net5.0-windows/apphost.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sun0225SUN/be-my-girlfriend/HEAD/obj/Debug/net5.0-windows/apphost.exe
--------------------------------------------------------------------------------
/obj/Debug/net5.0-windows/ref/Love.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sun0225SUN/be-my-girlfriend/HEAD/obj/Debug/net5.0-windows/ref/Love.dll
--------------------------------------------------------------------------------
/bin/Release/net5.0-windows/ref/Love.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sun0225SUN/be-my-girlfriend/HEAD/bin/Release/net5.0-windows/ref/Love.dll
--------------------------------------------------------------------------------
/obj/Release/net5.0-windows/apphost.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sun0225SUN/be-my-girlfriend/HEAD/obj/Release/net5.0-windows/apphost.exe
--------------------------------------------------------------------------------
/obj/Release/net5.0-windows/ref/Love.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sun0225SUN/be-my-girlfriend/HEAD/obj/Release/net5.0-windows/ref/Love.dll
--------------------------------------------------------------------------------
/obj/Debug/net5.0-windows/Love.assets.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sun0225SUN/be-my-girlfriend/HEAD/obj/Debug/net5.0-windows/Love.assets.cache
--------------------------------------------------------------------------------
/obj/Debug/net5.0-windows/Love.Form1.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sun0225SUN/be-my-girlfriend/HEAD/obj/Debug/net5.0-windows/Love.Form1.resources
--------------------------------------------------------------------------------
/obj/Release/net5.0-windows/Love.assets.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sun0225SUN/be-my-girlfriend/HEAD/obj/Release/net5.0-windows/Love.assets.cache
--------------------------------------------------------------------------------
/obj/Release/net5.0-windows/Love.Form1.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sun0225SUN/be-my-girlfriend/HEAD/obj/Release/net5.0-windows/Love.Form1.resources
--------------------------------------------------------------------------------
/obj/Debug/net5.0-windows/Love.Properties.Resources.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sun0225SUN/be-my-girlfriend/HEAD/obj/Debug/net5.0-windows/Love.Properties.Resources.resources
--------------------------------------------------------------------------------
/obj/Debug/net5.0-windows/Love.csproj.GenerateResource.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sun0225SUN/be-my-girlfriend/HEAD/obj/Debug/net5.0-windows/Love.csproj.GenerateResource.cache
--------------------------------------------------------------------------------
/obj/Debug/net5.0-windows/Love.csprojAssemblyReference.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sun0225SUN/be-my-girlfriend/HEAD/obj/Debug/net5.0-windows/Love.csprojAssemblyReference.cache
--------------------------------------------------------------------------------
/obj/Release/net5.0-windows/Love.Properties.Resources.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sun0225SUN/be-my-girlfriend/HEAD/obj/Release/net5.0-windows/Love.Properties.Resources.resources
--------------------------------------------------------------------------------
/obj/Release/net5.0-windows/Love.csproj.GenerateResource.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sun0225SUN/be-my-girlfriend/HEAD/obj/Release/net5.0-windows/Love.csproj.GenerateResource.cache
--------------------------------------------------------------------------------
/bin/Debug/net5.0-windows/Love.runtimeconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "runtimeOptions": {
3 | "tfm": "net5.0",
4 | "framework": {
5 | "name": "Microsoft.WindowsDesktop.App",
6 | "version": "5.0.0"
7 | }
8 | }
9 | }
--------------------------------------------------------------------------------
/bin/Release/net5.0-windows/Love.runtimeconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "runtimeOptions": {
3 | "tfm": "net5.0",
4 | "framework": {
5 | "name": "Microsoft.WindowsDesktop.App",
6 | "version": "5.0.0"
7 | }
8 | }
9 | }
--------------------------------------------------------------------------------
/obj/Debug/net5.0-windows/.NETCoreApp,Version=v5.0.AssemblyAttributes.cs:
--------------------------------------------------------------------------------
1 | //
2 | using System;
3 | using System.Reflection;
4 | [assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v5.0", FrameworkDisplayName = "")]
5 |
--------------------------------------------------------------------------------
/obj/Release/net5.0-windows/.NETCoreApp,Version=v5.0.AssemblyAttributes.cs:
--------------------------------------------------------------------------------
1 | //
2 | using System;
3 | using System.Reflection;
4 | [assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v5.0", FrameworkDisplayName = "")]
5 |
--------------------------------------------------------------------------------
/obj/Debug/net5.0-windows/Love.designer.deps.json:
--------------------------------------------------------------------------------
1 | {
2 | "runtimeTarget": {
3 | "name": ".NETCoreApp,Version=v5.0",
4 | "signature": ""
5 | },
6 | "compilationOptions": {},
7 | "targets": {
8 | ".NETCoreApp,Version=v5.0": {}
9 | },
10 | "libraries": {}
11 | }
--------------------------------------------------------------------------------
/obj/Release/net5.0-windows/Love.designer.deps.json:
--------------------------------------------------------------------------------
1 | {
2 | "runtimeTarget": {
3 | "name": ".NETCoreApp,Version=v5.0",
4 | "signature": ""
5 | },
6 | "compilationOptions": {},
7 | "targets": {
8 | ".NETCoreApp,Version=v5.0": {}
9 | },
10 | "libraries": {}
11 | }
--------------------------------------------------------------------------------
/obj/project.nuget.cache:
--------------------------------------------------------------------------------
1 | {
2 | "version": 2,
3 | "dgSpecHash": "coPqt1pG4E2lIwP0+6U9jEcfUMfnO99netlE32UPACWiFA9Gj99dMcuXBjYOxp2bqz6L7lNS9ZtvulZ8bSc0cQ==",
4 | "success": true,
5 | "projectFilePath": "J:\\code\\C#\\Love\\Love.csproj",
6 | "expectedPackageFiles": [],
7 | "logs": []
8 | }
--------------------------------------------------------------------------------
/Love.csproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Form
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/bin/Debug/net5.0-windows/Love.runtimeconfig.dev.json:
--------------------------------------------------------------------------------
1 | {
2 | "runtimeOptions": {
3 | "additionalProbingPaths": [
4 | "C:\\Users\\Lenovo\\.dotnet\\store\\|arch|\\|tfm|",
5 | "C:\\Users\\Lenovo\\.nuget\\packages",
6 | "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
7 | ]
8 | }
9 | }
--------------------------------------------------------------------------------
/bin/Release/net5.0-windows/Love.runtimeconfig.dev.json:
--------------------------------------------------------------------------------
1 | {
2 | "runtimeOptions": {
3 | "additionalProbingPaths": [
4 | "C:\\Users\\Lenovo\\.dotnet\\store\\|arch|\\|tfm|",
5 | "C:\\Users\\Lenovo\\.nuget\\packages",
6 | "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
7 | ]
8 | }
9 | }
--------------------------------------------------------------------------------
/obj/Love.csproj.nuget.g.targets:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath)
5 |
6 |
--------------------------------------------------------------------------------
/obj/Debug/net5.0-windows/Love.GeneratedMSBuildEditorConfig.editorconfig:
--------------------------------------------------------------------------------
1 | is_global = true
2 | build_property.TargetFramework = net5.0-windows
3 | build_property.TargetPlatformMinVersion = 7.0
4 | build_property.UsingMicrosoftNETSdkWeb =
5 | build_property.ProjectTypeGuids =
6 | build_property.PublishSingleFile =
7 | build_property.IncludeAllContentForSelfExtract =
8 | build_property._SupportedPlatformList = Android,iOS,Linux,macOS,Windows
9 |
--------------------------------------------------------------------------------
/obj/Release/net5.0-windows/Love.GeneratedMSBuildEditorConfig.editorconfig:
--------------------------------------------------------------------------------
1 | is_global = true
2 | build_property.TargetFramework = net5.0-windows
3 | build_property.TargetPlatformMinVersion = 7.0
4 | build_property.UsingMicrosoftNETSdkWeb =
5 | build_property.ProjectTypeGuids =
6 | build_property.PublishSingleFile =
7 | build_property.IncludeAllContentForSelfExtract =
8 | build_property._SupportedPlatformList = Android,iOS,Linux,macOS,Windows
9 |
--------------------------------------------------------------------------------
/bin/Debug/net5.0-windows/Love.deps.json:
--------------------------------------------------------------------------------
1 | {
2 | "runtimeTarget": {
3 | "name": ".NETCoreApp,Version=v5.0",
4 | "signature": ""
5 | },
6 | "compilationOptions": {},
7 | "targets": {
8 | ".NETCoreApp,Version=v5.0": {
9 | "Love/1.0.0": {
10 | "runtime": {
11 | "Love.dll": {}
12 | }
13 | }
14 | }
15 | },
16 | "libraries": {
17 | "Love/1.0.0": {
18 | "type": "project",
19 | "serviceable": false,
20 | "sha512": ""
21 | }
22 | }
23 | }
--------------------------------------------------------------------------------
/bin/Release/net5.0-windows/Love.deps.json:
--------------------------------------------------------------------------------
1 | {
2 | "runtimeTarget": {
3 | "name": ".NETCoreApp,Version=v5.0",
4 | "signature": ""
5 | },
6 | "compilationOptions": {},
7 | "targets": {
8 | ".NETCoreApp,Version=v5.0": {
9 | "Love/1.0.0": {
10 | "runtime": {
11 | "Love.dll": {}
12 | }
13 | }
14 | }
15 | },
16 | "libraries": {
17 | "Love/1.0.0": {
18 | "type": "project",
19 | "serviceable": false,
20 | "sha512": ""
21 | }
22 | }
23 | }
--------------------------------------------------------------------------------
/obj/Debug/net5.0-windows/Love.designer.runtimeconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "runtimeOptions": {
3 | "tfm": "net5.0",
4 | "framework": {
5 | "name": "Microsoft.WindowsDesktop.App",
6 | "version": "5.0.0"
7 | },
8 | "additionalProbingPaths": [
9 | "C:\\Users\\Lenovo\\.dotnet\\store\\|arch|\\|tfm|",
10 | "C:\\Users\\Lenovo\\.nuget\\packages",
11 | "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
12 | ],
13 | "configProperties": {
14 | "Microsoft.NETCore.DotNetHostPolicy.SetAppPaths": true
15 | }
16 | }
17 | }
--------------------------------------------------------------------------------
/obj/Release/net5.0-windows/Love.designer.runtimeconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "runtimeOptions": {
3 | "tfm": "net5.0",
4 | "framework": {
5 | "name": "Microsoft.WindowsDesktop.App",
6 | "version": "5.0.0"
7 | },
8 | "additionalProbingPaths": [
9 | "C:\\Users\\Lenovo\\.dotnet\\store\\|arch|\\|tfm|",
10 | "C:\\Users\\Lenovo\\.nuget\\packages",
11 | "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
12 | ],
13 | "configProperties": {
14 | "Microsoft.NETCore.DotNetHostPolicy.SetAppPaths": true
15 | }
16 | }
17 | }
--------------------------------------------------------------------------------
/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Threading.Tasks;
5 | using System.Windows.Forms;
6 |
7 | namespace Love
8 | {
9 | static class Program
10 | {
11 | ///
12 | /// The main entry point for the application.
13 | ///
14 | [STAThread]
15 | static void Main()
16 | {
17 | Application.SetHighDpiMode(HighDpiMode.SystemAware);
18 | Application.EnableVisualStyles();
19 | Application.SetCompatibleTextRenderingDefault(false);
20 | Application.Run(new Form1());
21 | }
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/Love.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | WinExe
5 | net5.0-windows
6 | true
7 | favicon.ico
8 | Love.Program
9 |
10 |
11 |
12 |
13 | True
14 | True
15 | Resources.resx
16 |
17 |
18 |
19 |
20 |
21 | ResXFileCodeGenerator
22 | Resources.Designer.cs
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/obj/Debug/net5.0-windows/Love.AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // 此代码由工具生成。
4 | // 运行时版本:4.0.30319.42000
5 | //
6 | // 对此文件的更改可能会导致不正确的行为,并且如果
7 | // 重新生成代码,这些更改将会丢失。
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | using System;
12 | using System.Reflection;
13 |
14 | [assembly: System.Reflection.AssemblyCompanyAttribute("Love")]
15 | [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
16 | [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
17 | [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
18 | [assembly: System.Reflection.AssemblyProductAttribute("Love")]
19 | [assembly: System.Reflection.AssemblyTitleAttribute("Love")]
20 | [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
21 | [assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")]
22 | [assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")]
23 |
24 | // 由 MSBuild WriteCodeFragment 类生成。
25 |
26 |
--------------------------------------------------------------------------------
/obj/Release/net5.0-windows/Love.AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // 此代码由工具生成。
4 | // 运行时版本:4.0.30319.42000
5 | //
6 | // 对此文件的更改可能会导致不正确的行为,并且如果
7 | // 重新生成代码,这些更改将会丢失。
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | using System;
12 | using System.Reflection;
13 |
14 | [assembly: System.Reflection.AssemblyCompanyAttribute("Love")]
15 | [assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
16 | [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
17 | [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
18 | [assembly: System.Reflection.AssemblyProductAttribute("Love")]
19 | [assembly: System.Reflection.AssemblyTitleAttribute("Love")]
20 | [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
21 | [assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")]
22 | [assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")]
23 |
24 | // 由 MSBuild WriteCodeFragment 类生成。
25 |
26 |
--------------------------------------------------------------------------------
/Love.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.31129.286
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Love", "Love.csproj", "{40F14CF4-929C-4DB5-8FF8-9E5C1BFCC092}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {40F14CF4-929C-4DB5-8FF8-9E5C1BFCC092}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {40F14CF4-929C-4DB5-8FF8-9E5C1BFCC092}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {40F14CF4-929C-4DB5-8FF8-9E5C1BFCC092}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {40F14CF4-929C-4DB5-8FF8-9E5C1BFCC092}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {78D8188B-3492-496A-B0C6-1F592C277893}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/obj/Release/net5.0-windows/Love.csproj.FileListAbsolute.txt:
--------------------------------------------------------------------------------
1 | J:\code\C#\Love\bin\Release\net5.0-windows\Love.exe
2 | J:\code\C#\Love\bin\Release\net5.0-windows\Love.deps.json
3 | J:\code\C#\Love\bin\Release\net5.0-windows\Love.runtimeconfig.json
4 | J:\code\C#\Love\bin\Release\net5.0-windows\Love.runtimeconfig.dev.json
5 | J:\code\C#\Love\bin\Release\net5.0-windows\Love.dll
6 | J:\code\C#\Love\bin\Release\net5.0-windows\ref\Love.dll
7 | J:\code\C#\Love\bin\Release\net5.0-windows\Love.pdb
8 | J:\code\C#\Love\obj\Release\net5.0-windows\Love.Form1.resources
9 | J:\code\C#\Love\obj\Release\net5.0-windows\Love.Properties.Resources.resources
10 | J:\code\C#\Love\obj\Release\net5.0-windows\Love.csproj.GenerateResource.cache
11 | J:\code\C#\Love\obj\Release\net5.0-windows\Love.GeneratedMSBuildEditorConfig.editorconfig
12 | J:\code\C#\Love\obj\Release\net5.0-windows\Love.AssemblyInfoInputs.cache
13 | J:\code\C#\Love\obj\Release\net5.0-windows\Love.AssemblyInfo.cs
14 | J:\code\C#\Love\obj\Release\net5.0-windows\Love.csproj.CoreCompileInputs.cache
15 | J:\code\C#\Love\obj\Release\net5.0-windows\Love.dll
16 | J:\code\C#\Love\obj\Release\net5.0-windows\ref\Love.dll
17 | J:\code\C#\Love\obj\Release\net5.0-windows\Love.pdb
18 | J:\code\C#\Love\obj\Release\net5.0-windows\Love.genruntimeconfig.cache
19 |
--------------------------------------------------------------------------------
/Form1.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Data;
5 | using System.Drawing;
6 | using System.Linq;
7 | using System.Text;
8 | using System.Threading.Tasks;
9 | using System.Windows.Forms;
10 |
11 | namespace Love
12 | {
13 | public partial class Form1 : Form
14 | {
15 | public Form1()
16 | {
17 | InitializeComponent();
18 | }
19 |
20 | private void button1_Click(object sender, EventArgs e)
21 | {
22 | MessageBox.Show("我就知道你会同意的", "^v^");
23 | MessageBox.Show("恭喜你拥有一名可爱的男朋友~~", "^v^");
24 | MessageBox.Show("🤍🤍爱你,么么哒🤍🤍", "^v^");
25 | this.Dispose();
26 | }
27 | private void button2_MouseEnter(object sender, EventArgs e)
28 | {
29 | int x = this.ClientSize.Width - button2.Width;
30 | int y = this.ClientSize.Height - button2.Height;
31 | Random r = new Random();
32 | button2.Location = new Point(r.Next(0, x + 1), r.Next(0, y + 1));
33 | }
34 |
35 | private void Form1_FormClosing(object sender, FormClosingEventArgs e)
36 | {
37 | MessageBox.Show("不回答不能退出哦!", "(╯_╰)╭");
38 | e.Cancel = true;
39 | }
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/obj/Debug/net5.0-windows/Love.csproj.FileListAbsolute.txt:
--------------------------------------------------------------------------------
1 | J:\code\C#\Love\bin\Debug\net5.0-windows\Love.exe
2 | J:\code\C#\Love\bin\Debug\net5.0-windows\Love.deps.json
3 | J:\code\C#\Love\bin\Debug\net5.0-windows\Love.runtimeconfig.json
4 | J:\code\C#\Love\bin\Debug\net5.0-windows\Love.runtimeconfig.dev.json
5 | J:\code\C#\Love\bin\Debug\net5.0-windows\Love.dll
6 | J:\code\C#\Love\bin\Debug\net5.0-windows\ref\Love.dll
7 | J:\code\C#\Love\bin\Debug\net5.0-windows\Love.pdb
8 | J:\code\C#\Love\obj\Debug\net5.0-windows\Love.csprojAssemblyReference.cache
9 | J:\code\C#\Love\obj\Debug\net5.0-windows\Love.Form1.resources
10 | J:\code\C#\Love\obj\Debug\net5.0-windows\Love.Properties.Resources.resources
11 | J:\code\C#\Love\obj\Debug\net5.0-windows\Love.csproj.GenerateResource.cache
12 | J:\code\C#\Love\obj\Debug\net5.0-windows\Love.GeneratedMSBuildEditorConfig.editorconfig
13 | J:\code\C#\Love\obj\Debug\net5.0-windows\Love.AssemblyInfoInputs.cache
14 | J:\code\C#\Love\obj\Debug\net5.0-windows\Love.AssemblyInfo.cs
15 | J:\code\C#\Love\obj\Debug\net5.0-windows\Love.csproj.CoreCompileInputs.cache
16 | J:\code\C#\Love\obj\Debug\net5.0-windows\Love.dll
17 | J:\code\C#\Love\obj\Debug\net5.0-windows\ref\Love.dll
18 | J:\code\C#\Love\obj\Debug\net5.0-windows\Love.pdb
19 | J:\code\C#\Love\obj\Debug\net5.0-windows\Love.genruntimeconfig.cache
20 |
--------------------------------------------------------------------------------
/obj/Love.csproj.nuget.g.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | True
5 | NuGet
6 | $(MSBuildThisFileDirectory)project.assets.json
7 | $(UserProfile)\.nuget\packages\
8 | C:\Users\Lenovo\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages
9 | PackageReference
10 | 5.9.1
11 |
12 |
13 |
14 |
15 |
16 |
17 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath)
18 |
19 |
--------------------------------------------------------------------------------
/obj/Love.csproj.nuget.dgspec.json:
--------------------------------------------------------------------------------
1 | {
2 | "format": 1,
3 | "restore": {
4 | "J:\\code\\C#\\Love\\Love.csproj": {}
5 | },
6 | "projects": {
7 | "J:\\code\\C#\\Love\\Love.csproj": {
8 | "version": "1.0.0",
9 | "restore": {
10 | "projectUniqueName": "J:\\code\\C#\\Love\\Love.csproj",
11 | "projectName": "Love",
12 | "projectPath": "J:\\code\\C#\\Love\\Love.csproj",
13 | "packagesPath": "C:\\Users\\Lenovo\\.nuget\\packages\\",
14 | "outputPath": "J:\\code\\C#\\Love\\obj\\",
15 | "projectStyle": "PackageReference",
16 | "fallbackFolders": [
17 | "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
18 | ],
19 | "configFilePaths": [
20 | "C:\\Users\\Lenovo\\AppData\\Roaming\\NuGet\\NuGet.Config",
21 | "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
22 | "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
23 | ],
24 | "originalTargetFrameworks": [
25 | "net5.0-windows7.0"
26 | ],
27 | "sources": {
28 | "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
29 | "https://api.nuget.org/v3/index.json": {}
30 | },
31 | "frameworks": {
32 | "net5.0-windows7.0": {
33 | "targetAlias": "net5.0-windows",
34 | "projectReferences": {}
35 | }
36 | },
37 | "warningProperties": {
38 | "warnAsError": [
39 | "NU1605"
40 | ]
41 | }
42 | },
43 | "frameworks": {
44 | "net5.0-windows7.0": {
45 | "targetAlias": "net5.0-windows",
46 | "imports": [
47 | "net461",
48 | "net462",
49 | "net47",
50 | "net471",
51 | "net472",
52 | "net48"
53 | ],
54 | "assetTargetFallback": true,
55 | "warn": true,
56 | "frameworkReferences": {
57 | "Microsoft.NETCore.App": {
58 | "privateAssets": "all"
59 | },
60 | "Microsoft.WindowsDesktop.App.WindowsForms": {
61 | "privateAssets": "none"
62 | }
63 | },
64 | "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.201\\RuntimeIdentifierGraph.json"
65 | }
66 | }
67 | }
68 | }
69 | }
--------------------------------------------------------------------------------
/obj/project.assets.json:
--------------------------------------------------------------------------------
1 | {
2 | "version": 3,
3 | "targets": {
4 | "net5.0-windows7.0": {}
5 | },
6 | "libraries": {},
7 | "projectFileDependencyGroups": {
8 | "net5.0-windows7.0": []
9 | },
10 | "packageFolders": {
11 | "C:\\Users\\Lenovo\\.nuget\\packages\\": {},
12 | "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}
13 | },
14 | "project": {
15 | "version": "1.0.0",
16 | "restore": {
17 | "projectUniqueName": "J:\\code\\C#\\Love\\Love.csproj",
18 | "projectName": "Love",
19 | "projectPath": "J:\\code\\C#\\Love\\Love.csproj",
20 | "packagesPath": "C:\\Users\\Lenovo\\.nuget\\packages\\",
21 | "outputPath": "J:\\code\\C#\\Love\\obj\\",
22 | "projectStyle": "PackageReference",
23 | "fallbackFolders": [
24 | "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
25 | ],
26 | "configFilePaths": [
27 | "C:\\Users\\Lenovo\\AppData\\Roaming\\NuGet\\NuGet.Config",
28 | "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
29 | "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
30 | ],
31 | "originalTargetFrameworks": [
32 | "net5.0-windows7.0"
33 | ],
34 | "sources": {
35 | "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
36 | "https://api.nuget.org/v3/index.json": {}
37 | },
38 | "frameworks": {
39 | "net5.0-windows7.0": {
40 | "targetAlias": "net5.0-windows",
41 | "projectReferences": {}
42 | }
43 | },
44 | "warningProperties": {
45 | "warnAsError": [
46 | "NU1605"
47 | ]
48 | }
49 | },
50 | "frameworks": {
51 | "net5.0-windows7.0": {
52 | "targetAlias": "net5.0-windows",
53 | "imports": [
54 | "net461",
55 | "net462",
56 | "net47",
57 | "net471",
58 | "net472",
59 | "net48"
60 | ],
61 | "assetTargetFallback": true,
62 | "warn": true,
63 | "frameworkReferences": {
64 | "Microsoft.NETCore.App": {
65 | "privateAssets": "all"
66 | },
67 | "Microsoft.WindowsDesktop.App.WindowsForms": {
68 | "privateAssets": "none"
69 | }
70 | },
71 | "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.201\\RuntimeIdentifierGraph.json"
72 | }
73 | }
74 | }
75 | }
--------------------------------------------------------------------------------
/Properties/Resources.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // 此代码由工具生成。
4 | // 运行时版本:4.0.30319.42000
5 | //
6 | // 对此文件的更改可能会导致不正确的行为,并且如果
7 | // 重新生成代码,这些更改将会丢失。
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace Love.Properties {
12 | using System;
13 |
14 |
15 | ///
16 | /// 一个强类型的资源类,用于查找本地化的字符串等。
17 | ///
18 | // 此类是由 StronglyTypedResourceBuilder
19 | // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
20 | // 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen
21 | // (以 /str 作为命令选项),或重新生成 VS 项目。
22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
25 | internal class Resources {
26 |
27 | private static global::System.Resources.ResourceManager resourceMan;
28 |
29 | private static global::System.Globalization.CultureInfo resourceCulture;
30 |
31 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
32 | internal Resources() {
33 | }
34 |
35 | ///
36 | /// 返回此类使用的缓存的 ResourceManager 实例。
37 | ///
38 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
39 | internal static global::System.Resources.ResourceManager ResourceManager {
40 | get {
41 | if (object.ReferenceEquals(resourceMan, null)) {
42 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Love.Properties.Resources", typeof(Resources).Assembly);
43 | resourceMan = temp;
44 | }
45 | return resourceMan;
46 | }
47 | }
48 |
49 | ///
50 | /// 重写当前线程的 CurrentUICulture 属性,对
51 | /// 使用此强类型资源类的所有资源查找执行重写。
52 | ///
53 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
54 | internal static global::System.Globalization.CultureInfo Culture {
55 | get {
56 | return resourceCulture;
57 | }
58 | set {
59 | resourceCulture = value;
60 | }
61 | }
62 |
63 | ///
64 | /// 查找 System.Drawing.Bitmap 类型的本地化资源。
65 | ///
66 | internal static System.Drawing.Bitmap _11 {
67 | get {
68 | object obj = ResourceManager.GetObject("11", resourceCulture);
69 | return ((System.Drawing.Bitmap)(obj));
70 | }
71 | }
72 | }
73 | }
74 |
--------------------------------------------------------------------------------
/Readme.md:
--------------------------------------------------------------------------------
1 |
2 | # 前言
3 |
4 | 好看的皮囊千篇一律,有趣的灵魂万里挑一。最近在学习`C#`,接触到了`winform`,记得曾经在抖音上看到过这样一个小程序,觉得很有意思,就用C#语言实现了下,实现起来很简单(可以说没有任何技术含量)程序执行后效果如下。
5 |
6 | **视频演示** [传送门](https://www.bilibili.com/video/BV1wK4y1m7Li)
7 |
8 |
9 | 
10 |
11 | ---
12 | # 第一步:创建项目
13 |
14 | ## 1、创建windows窗体应用程序
15 | 
16 | ## 2、更改项目名称和储存位置
17 | 
18 | ## 3、选择合适的.NET框架
19 | 
20 | ## 4、项目创建完成
21 | 
22 |
23 | ---
24 | # 第二步:设计窗体
25 | 通过左侧工具箱拖拽绘制窗口,`Label`显示文本,`pictureBox`显示图片,`Button`按钮等,各控件可在右侧修改属性,包括标题栏内容,程序图标,文本的字体大小内容,图片大小内容,按钮的文字等。
26 |
27 | ## 1、添加控件
28 | 
29 | ## 2、更改属性
30 | 
31 | **图片加载方法**
32 |
33 | 
34 | ## 3、更改窗体属性
35 | 
36 |
37 | ---
38 | # 第三步:添加事件
39 |
40 | ## 1、添加[好呀]事件
41 |
42 | 双击[好呀]按钮,进入点击事件代码编辑区,添加如下代码。
43 |
44 | ```csharp
45 | MessageBox.Show("我就知道你会同意的", "^v^");
46 | MessageBox.Show("恭喜你拥有一名可爱的男朋友~~", "^v^");
47 | MessageBox.Show("🤍🤍爱你,么么哒🤍🤍", "^v^");
48 | this.Dispose();
49 | ```
50 | 
51 | ## 2、添加[算了吧]事件
52 |
53 | 选中`[算了吧]`按钮,点击右侧属性栏中的`事件`图标,在下面找到`MouseEnter`事件,双击`MouseEnter`事件添加如下代码。
54 |
55 | ```csharp
56 | int x = this.ClientSize.Width - button2.Width;
57 | int y = this.ClientSize.Height - button2.Height;
58 | Random r = new Random();
59 | button2.Location = new Point(r.Next(0, x + 1), r.Next(0, y + 1));
60 | ```
61 |
62 | 
63 | 
64 | ## 3、禁用关闭窗口
65 |
66 | 选中`form1`窗体,点击右侧属性栏上面的`事件`图标,在下面找到`FormClosing`事件,然后双击`FormClosing`事件添加如下代码。
67 |
68 | ```csharp
69 | MessageBox.Show("不回答不能退出哦!", "(╯_╰)╭");
70 | e.Cancel = true;
71 | ```
72 | 
73 | 
74 |
75 | ---
76 | # 第四步:调试生成打包程序
77 |
78 | ## 1、调试(F5/CTRL+F5)
79 |
80 | 调试程序发现`算了吧`按钮在移动时会被其他控件遮挡(这和你一开始拖控件的顺序有关,如果出现这种情况,我们可以右键将控件置于顶层)
81 |
82 | 
83 | 
84 | ## 2、更改应用程序(生成的.exe)图标
85 | 右键项目解决方案,更改图标,图标格式应为`.ico`格式
86 |
87 | 
88 | ## 3、生成
89 |
90 | 选择`release`生成发布版本,`debug`版本内容包含调试代码,`release`版本是代码优化后的发布版本。
91 |
92 | 
93 | 右键项目解决方案,生成程序!
94 |
95 | 
96 | ## 4、打包
97 |
98 | 生成之后,在你项目储存的位置的相应目录下会出现如下内容,我们可以双击运行`Love.exe`这就是最终成果。
99 |
100 | 
101 |
102 | 倘若将此程序发送给小伙伴,在小伙伴电脑上运行成功,则需要拷贝或打包此目录下的所有文件,并且如果小伙伴的电脑上没有`.NET5.0`框架的话,运行此程序时,系统会提示安装框架。
103 |
104 |
105 |
--------------------------------------------------------------------------------
/Form1.Designer.cs:
--------------------------------------------------------------------------------
1 |
2 | namespace Love
3 | {
4 | partial class Form1
5 | {
6 | ///
7 | /// Required designer variable.
8 | ///
9 | private System.ComponentModel.IContainer components = null;
10 |
11 | ///
12 | /// Clean up any resources being used.
13 | ///
14 | /// true if managed resources should be disposed; otherwise, false.
15 | protected override void Dispose(bool disposing)
16 | {
17 | if (disposing && (components != null))
18 | {
19 | components.Dispose();
20 | }
21 | base.Dispose(disposing);
22 | }
23 |
24 | #region Windows Form Designer generated code
25 |
26 | ///
27 | /// Required method for Designer support - do not modify
28 | /// the contents of this method with the code editor.
29 | ///
30 | private void InitializeComponent()
31 | {
32 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
33 | this.button1 = new System.Windows.Forms.Button();
34 | this.button2 = new System.Windows.Forms.Button();
35 | this.pictureBox1 = new System.Windows.Forms.PictureBox();
36 | this.label1 = new System.Windows.Forms.Label();
37 | this.label2 = new System.Windows.Forms.Label();
38 | ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
39 | this.SuspendLayout();
40 | //
41 | // button1
42 | //
43 | this.button1.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
44 | this.button1.Location = new System.Drawing.Point(67, 365);
45 | this.button1.Name = "button1";
46 | this.button1.Size = new System.Drawing.Size(120, 50);
47 | this.button1.TabIndex = 0;
48 | this.button1.Text = "好呀";
49 | this.button1.UseVisualStyleBackColor = true;
50 | this.button1.Click += new System.EventHandler(this.button1_Click);
51 | //
52 | // button2
53 | //
54 | this.button2.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
55 | this.button2.Location = new System.Drawing.Point(568, 365);
56 | this.button2.Name = "button2";
57 | this.button2.Size = new System.Drawing.Size(120, 50);
58 | this.button2.TabIndex = 1;
59 | this.button2.Text = "算了吧";
60 | this.button2.UseVisualStyleBackColor = true;
61 | this.button2.MouseEnter += new System.EventHandler(this.button2_MouseEnter);
62 | //
63 | // pictureBox1
64 | //
65 | this.pictureBox1.BackgroundImage = global::Love.Properties.Resources._11;
66 | this.pictureBox1.Location = new System.Drawing.Point(488, 49);
67 | this.pictureBox1.Name = "pictureBox1";
68 | this.pictureBox1.Size = new System.Drawing.Size(284, 244);
69 | this.pictureBox1.TabIndex = 2;
70 | this.pictureBox1.TabStop = false;
71 | //
72 | // label1
73 | //
74 | this.label1.AutoSize = true;
75 | this.label1.Font = new System.Drawing.Font("Microsoft YaHei UI", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
76 | this.label1.Location = new System.Drawing.Point(67, 114);
77 | this.label1.Name = "label1";
78 | this.label1.Size = new System.Drawing.Size(347, 39);
79 | this.label1.TabIndex = 3;
80 | this.label1.Text = "小姐姐,我喜欢你很久了";
81 | //
82 | // label2
83 | //
84 | this.label2.AutoSize = true;
85 | this.label2.Font = new System.Drawing.Font("Microsoft YaHei UI", 24F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
86 | this.label2.ForeColor = System.Drawing.Color.Red;
87 | this.label2.Location = new System.Drawing.Point(67, 220);
88 | this.label2.Name = "label2";
89 | this.label2.Size = new System.Drawing.Size(382, 52);
90 | this.label2.TabIndex = 4;
91 | this.label2.Text = "做我女朋友好不好?";
92 | //
93 | // Form1
94 | //
95 | this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
96 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
97 | this.BackColor = System.Drawing.Color.White;
98 | this.ClientSize = new System.Drawing.Size(816, 458);
99 | this.Controls.Add(this.button2);
100 | this.Controls.Add(this.label2);
101 | this.Controls.Add(this.label1);
102 | this.Controls.Add(this.pictureBox1);
103 | this.Controls.Add(this.button1);
104 | this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
105 | this.Name = "Form1";
106 | this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
107 | this.Text = "来自一位爱你的小哥哥";
108 | this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing);
109 | ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
110 | this.ResumeLayout(false);
111 | this.PerformLayout();
112 |
113 | }
114 |
115 | #endregion
116 |
117 | private System.Windows.Forms.Button button1;
118 | private System.Windows.Forms.Button button2;
119 | private System.Windows.Forms.PictureBox pictureBox1;
120 | private System.Windows.Forms.Label label1;
121 | private System.Windows.Forms.Label label2;
122 | }
123 | }
124 |
125 |
--------------------------------------------------------------------------------
/Properties/Resources.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
121 |
122 | ..\Resources\11.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
123 |
124 |
--------------------------------------------------------------------------------