This commit is contained in:
2022-10-09 12:22:57 +09:00
parent b5f2064792
commit 07c71e3dc6
34 changed files with 5924 additions and 91 deletions

515
.gitignore vendored Normal file
View File

@@ -0,0 +1,515 @@

# Created by https://www.gitignore.io/api/csharp,visualstudio
# Edit at https://www.gitignore.io/?templates=csharp,visualstudio
### Csharp ###
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
##
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
# User-specific files
*.rsuser
*.suo
*.user
*.userosscache
*.sln.docstates
# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs
# Mono auto generated files
mono_crash.*
# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
[Aa][Rr][Mm]/
[Aa][Rr][Mm]64/
bld/
[Bb]in/
[Oo]bj/
[Ll]og/
# Visual Studio 2015/2017 cache/options directory
.vs/
# Uncomment if you have tasks that create the project's static files in wwwroot
#wwwroot/
# Visual Studio 2017 auto generated files
Generated\ Files/
# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*
# NUnit
*.VisualState.xml
TestResult.xml
nunit-*.xml
# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
dlldata.c
# Benchmark Results
BenchmarkDotNet.Artifacts/
# .NET Core
project.lock.json
project.fragment.lock.json
artifacts/
# StyleCop
StyleCopReport.xml
# Files built by Visual Studio
*_i.c
*_p.c
*_h.h
*.ilk
*.meta
*.obj
*.iobj
*.pch
*.pdb
*.ipdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*_wpftmp.csproj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.svclog
*.scc
# Chutzpah Test files
_Chutzpah*
# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opendb
*.opensdf
*.sdf
*.cachefile
*.VC.db
*.VC.VC.opendb
# Visual Studio profiler
*.psess
*.vsp
*.vspx
*.sap
# Visual Studio Trace Files
*.e2e
# TFS 2012 Local Workspace
$tf/
# Guidance Automation Toolkit
*.gpState
# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user
# JustCode is a .NET coding add-in
.JustCode
# TeamCity is a build add-in
_TeamCity*
# DotCover is a Code Coverage Tool
*.dotCover
# AxoCover is a Code Coverage Tool
.axoCover/*
!.axoCover/settings.json
# Visual Studio code coverage results
*.coverage
*.coveragexml
# NCrunch
_NCrunch_*
.*crunch*.local.xml
nCrunchTemp_*
# MightyMoose
*.mm.*
AutoTest.Net/
# Web workbench (sass)
.sass-cache/
# Installshield output folder
[Ee]xpress/
# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html
# Click-Once directory
publish/
# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml
# Note: Comment the next line if you want to checkin your web deploy settings,
# but database connection strings (with potential passwords) will be unencrypted
*.pubxml
*.publishproj
# Microsoft Azure Web App publish settings. Comment the next line if you want to
# checkin your Azure Web App publish settings, but sensitive information contained
# in these scripts will be unencrypted
PublishScripts/
# NuGet Packages
*.nupkg
# NuGet Symbol Packages
*.snupkg
# The packages folder can be ignored because of Package Restore
**/[Pp]ackages/*
# except build/, which is used as an MSBuild target.
!**/[Pp]ackages/build/
# Uncomment if necessary however generally it will be regenerated when needed
#!**/[Pp]ackages/repositories.config
# NuGet v3's project.json files produces more ignorable files
*.nuget.props
*.nuget.targets
# Microsoft Azure Build Output
csx/
*.build.csdef
# Microsoft Azure Emulator
ecf/
rcf/
# Windows Store app package directories and files
AppPackages/
BundleArtifacts/
Package.StoreAssociation.xml
_pkginfo.txt
*.appx
*.appxbundle
*.appxupload
# Visual Studio cache files
# files ending in .cache can be ignored
*.[Cc]ache
# but keep track of directories ending in .cache
!?*.[Cc]ache/
# Others
ClientBin/
~$*
*~
*.dbmdl
*.dbproj.schemaview
*.jfm
*.pfx
*.publishsettings
orleans.codegen.cs
# Including strong name files can present a security risk
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
#*.snk
# Since there are multiple workflows, uncomment next line to ignore bower_components
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
#bower_components/
# RIA/Silverlight projects
Generated_Code/
# Backup & report files from converting an old project file
# to a newer Visual Studio version. Backup files are not needed,
# because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm
ServiceFabricBackup/
*.rptproj.bak
# SQL Server files
*.mdf
*.ldf
*.ndf
# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings
*.rptproj.rsuser
*- [Bb]ackup.rdl
*- [Bb]ackup ([0-9]).rdl
*- [Bb]ackup ([0-9][0-9]).rdl
# Microsoft Fakes
FakesAssemblies/
# GhostDoc plugin setting file
*.GhostDoc.xml
# Node.js Tools for Visual Studio
.ntvs_analysis.dat
node_modules/
# Visual Studio 6 build log
*.plg
# Visual Studio 6 workspace options file
*.opt
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
*.vbw
# Visual Studio LightSwitch build output
**/*.HTMLClient/GeneratedArtifacts
**/*.DesktopClient/GeneratedArtifacts
**/*.DesktopClient/ModelManifest.xml
**/*.Server/GeneratedArtifacts
**/*.Server/ModelManifest.xml
_Pvt_Extensions
# Paket dependency manager
.paket/paket.exe
paket-files/
# FAKE - F# Make
.fake/
# CodeRush personal settings
.cr/personal
# Python Tools for Visual Studio (PTVS)
__pycache__/
*.pyc
# Cake - Uncomment if you are using it
# tools/**
# !tools/packages.config
# Tabs Studio
*.tss
# Telerik's JustMock configuration file
*.jmconfig
# BizTalk build output
*.btp.cs
*.btm.cs
*.odx.cs
*.xsd.cs
# OpenCover UI analysis results
OpenCover/
# Azure Stream Analytics local run output
ASALocalRun/
# MSBuild Binary and Structured Log
*.binlog
# NVidia Nsight GPU debugger configuration file
*.nvuser
# MFractors (Xamarin productivity tool) working folder
.mfractor/
# Local History for Visual Studio
.localhistory/
# BeatPulse healthcheck temp database
healthchecksdb
# Backup folder for Package Reference Convert tool in Visual Studio 2017
MigrationBackup/
### VisualStudio ###
# User-specific files
# User-specific files (MonoDevelop/Xamarin Studio)
# Mono auto generated files
# Build results
# Visual Studio 2015/2017 cache/options directory
# Uncomment if you have tasks that create the project's static files in wwwroot
# Visual Studio 2017 auto generated files
# MSTest test Results
# NUnit
# Build Results of an ATL Project
# Benchmark Results
# .NET Core
# StyleCop
# Files built by Visual Studio
# Chutzpah Test files
# Visual C++ cache files
# Visual Studio profiler
# Visual Studio Trace Files
# TFS 2012 Local Workspace
# Guidance Automation Toolkit
# ReSharper is a .NET coding add-in
# JustCode is a .NET coding add-in
# TeamCity is a build add-in
# DotCover is a Code Coverage Tool
# AxoCover is a Code Coverage Tool
# Visual Studio code coverage results
# NCrunch
# MightyMoose
# Web workbench (sass)
# Installshield output folder
# DocProject is a documentation generator add-in
# Click-Once directory
# Publish Web Output
# Note: Comment the next line if you want to checkin your web deploy settings,
# but database connection strings (with potential passwords) will be unencrypted
# Microsoft Azure Web App publish settings. Comment the next line if you want to
# checkin your Azure Web App publish settings, but sensitive information contained
# in these scripts will be unencrypted
# NuGet Packages
# NuGet Symbol Packages
# The packages folder can be ignored because of Package Restore
# except build/, which is used as an MSBuild target.
# Uncomment if necessary however generally it will be regenerated when needed
# NuGet v3's project.json files produces more ignorable files
# Microsoft Azure Build Output
# Microsoft Azure Emulator
# Windows Store app package directories and files
# Visual Studio cache files
# files ending in .cache can be ignored
# but keep track of directories ending in .cache
# Others
# Including strong name files can present a security risk
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
# Since there are multiple workflows, uncomment next line to ignore bower_components
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
# RIA/Silverlight projects
# Backup & report files from converting an old project file
# to a newer Visual Studio version. Backup files are not needed,
# because we have git ;-)
# SQL Server files
# Business Intelligence projects
# Microsoft Fakes
# GhostDoc plugin setting file
# Node.js Tools for Visual Studio
# Visual Studio 6 build log
# Visual Studio 6 workspace options file
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
# Visual Studio LightSwitch build output
# Paket dependency manager
# FAKE - F# Make
# CodeRush personal settings
# Python Tools for Visual Studio (PTVS)
# Cake - Uncomment if you are using it
# tools/**
# !tools/packages.config
# Tabs Studio
# Telerik's JustMock configuration file
# BizTalk build output
# OpenCover UI analysis results
# Azure Stream Analytics local run output
# MSBuild Binary and Structured Log
# NVidia Nsight GPU debugger configuration file
# MFractors (Xamarin productivity tool) working folder
# Local History for Visual Studio
# BeatPulse healthcheck temp database
# Backup folder for Package Reference Convert tool in Visual Studio 2017
# End of https://www.gitignore.io/api/csharp,visualstudio
×
Drag and Drop
The image will be downloaded by Fatkun

View File

@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
</startup>
<entityFramework>
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
<parameters>
<parameter value="mssqllocaldb" />
</parameters>
</defaultConnectionFactory>
<providers>
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
<provider invariantName="System.Data.SQLite.EF6" type="System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6" />
</providers>
</entityFramework>
<system.data>
<DbProviderFactories>
<remove invariant="System.Data.SQLite.EF6" />
<add name="SQLite Data Provider (Entity Framework 6)" invariant="System.Data.SQLite.EF6" description=".NET Framework Data Provider for SQLite (Entity Framework 6)" type="System.Data.SQLite.EF6.SQLiteProviderFactory, System.Data.SQLite.EF6" />
<remove invariant="System.Data.SQLite" /><add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".NET Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" /></DbProviderFactories>
</system.data>
</configuration>

View File

@@ -0,0 +1,170 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\packages\EntityFramework.6.4.4\build\EntityFramework.props" Condition="Exists('..\packages\EntityFramework.6.4.4\build\EntityFramework.props')" />
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{B83960C6-210D-477E-B831-6EB2798EC9C6}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>Cheongbuk_MegaPark_Key_Management</RootNamespace>
<AssemblyName>C.MPKey</AssemblyName>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>true</Deterministic>
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>ha_k9N_icon.ico</ApplicationIcon>
</PropertyGroup>
<PropertyGroup>
<StartupObject>Cheongbuk_MegaPark_Key_Management.Program</StartupObject>
</PropertyGroup>
<ItemGroup>
<Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
<HintPath>..\packages\EntityFramework.6.4.4\lib\net45\EntityFramework.dll</HintPath>
</Reference>
<Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
<HintPath>..\packages\EntityFramework.6.4.4\lib\net45\EntityFramework.SqlServer.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Buffers, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Buffers.4.4.0\lib\netstandard2.0\System.Buffers.dll</HintPath>
</Reference>
<Reference Include="System.ComponentModel.DataAnnotations" />
<Reference Include="System.Core" />
<Reference Include="System.Data.SQLite, Version=1.0.116.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL">
<HintPath>..\packages\Stub.System.Data.SQLite.Core.NetFramework.1.0.116.0\lib\net46\System.Data.SQLite.dll</HintPath>
</Reference>
<Reference Include="System.Data.SQLite.EF6, Version=1.0.116.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL">
<HintPath>..\packages\System.Data.SQLite.EF6.1.0.116.0\lib\net46\System.Data.SQLite.EF6.dll</HintPath>
</Reference>
<Reference Include="System.Data.SQLite.Linq, Version=1.0.116.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL">
<HintPath>..\packages\System.Data.SQLite.Linq.1.0.116.0\lib\net46\System.Data.SQLite.Linq.dll</HintPath>
</Reference>
<Reference Include="System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Memory.4.5.3\lib\netstandard2.0\System.Memory.dll</HintPath>
</Reference>
<Reference Include="System.Numerics" />
<Reference Include="System.Numerics.Vectors, Version=4.1.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Numerics.Vectors.4.4.0\lib\net46\System.Numerics.Vectors.dll</HintPath>
</Reference>
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.4.5.2\lib\netstandard2.0\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
</Reference>
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="DB.cs" />
<Compile Include="Extends.cs" />
<Compile Include="FontLibrary.cs" />
<Compile Include="MainForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="MainForm.Designer.cs">
<DependentUpon>MainForm.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="RentKey.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="RentKey.Designer.cs">
<DependentUpon>RentKey.cs</DependentUpon>
</Compile>
<Compile Include="RentKeyInfo.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="RentKeyInfo.Designer.cs">
<DependentUpon>RentKeyInfo.cs</DependentUpon>
</Compile>
<Compile Include="ReturnKey.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="ReturnKey.Designer.cs">
<DependentUpon>ReturnKey.cs</DependentUpon>
</Compile>
<Compile Include="ReturnKeyInfo.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="ReturnKeyInfo.Designer.cs">
<DependentUpon>ReturnKeyInfo.cs</DependentUpon>
</Compile>
<Compile Include="Setting.cs" />
<EmbeddedResource Include="MainForm.resx">
<DependentUpon>MainForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<EmbeddedResource Include="RentKeyInfo.resx">
<DependentUpon>RentKeyInfo.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="ReturnKey.resx">
<DependentUpon>ReturnKey.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="ReturnKeyInfo.resx">
<DependentUpon>ReturnKeyInfo.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="RentKey.resx">
<DependentUpon>RentKey.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Resources\DS-DIGIB.TTF" />
<None Include="packages.config" />
<None Include="Resources\data.sqlite" />
<None Include="Resources\NotoSansCJKkr-Black.otf" />
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<Content Include="ha_k9N_icon.ico" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="..\packages\EntityFramework.6.4.4\build\EntityFramework.targets" Condition="Exists('..\packages\EntityFramework.6.4.4\build\EntityFramework.targets')" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>이 프로젝트는 이 컴퓨터에 없는 NuGet 패키지를 참조합니다. 해당 패키지를 다운로드하려면 NuGet 패키지 복원을 사용하십시오. 자세한 내용은 http://go.microsoft.com/fwlink/?LinkID=322105를 참조하십시오. 누락된 파일은 {0}입니다.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\packages\EntityFramework.6.4.4\build\EntityFramework.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\EntityFramework.6.4.4\build\EntityFramework.targets'))" />
<Error Condition="!Exists('..\packages\Stub.System.Data.SQLite.Core.NetFramework.1.0.116.0\build\net46\Stub.System.Data.SQLite.Core.NetFramework.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Stub.System.Data.SQLite.Core.NetFramework.1.0.116.0\build\net46\Stub.System.Data.SQLite.Core.NetFramework.targets'))" />
</Target>
<Import Project="..\packages\Stub.System.Data.SQLite.Core.NetFramework.1.0.116.0\build\net46\Stub.System.Data.SQLite.Core.NetFramework.targets" Condition="Exists('..\packages\Stub.System.Data.SQLite.Core.NetFramework.1.0.116.0\build\net46\Stub.System.Data.SQLite.Core.NetFramework.targets')" />
</Project>

View File

@@ -0,0 +1,112 @@
using System;
using System.Collections.Generic;
using System.Data.SQLite;
namespace Cheongbuk_MegaPark_Key_Management
{
internal class DB
{
private SQLiteCommand _sqLiteCommand;
private readonly SQLiteConnection _sqLiteConnection;
private SQLiteDataReader _sqLiteDataReader;
public DB()
{
if(!System.IO.File.Exists(Setting.DbLocation))
{
System.IO.File.WriteAllBytes(Setting.DbLocation, Properties.Resources.data);
}
_sqLiteConnection = new SQLiteConnection("Data Source=" + Setting.DbLocation + ";Version=3;");
_sqLiteConnection.Open();
}
public void LoadData()
{
// RentData Load
Setting.RentDatas = new List<RentData>();
var query = "Select * FROM RentData";
_sqLiteCommand = new SQLiteCommand(query, _sqLiteConnection);
_sqLiteDataReader = _sqLiteCommand.ExecuteReader();
while (_sqLiteDataReader.Read())
{
var rentData = new RentData();
int.TryParse(_sqLiteDataReader["KeyCode"].ToString(), out rentData.KeyCode);
int.TryParse(_sqLiteDataReader["Category"].ToString(), out rentData.Category);
rentData.StartDateTime = Convert.ToDateTime(_sqLiteDataReader["StartDateTime"]);
int.TryParse(_sqLiteDataReader["People"].ToString(), out rentData.People);
Setting.RentDatas.Add(rentData);
}
_sqLiteDataReader.Close();
var startDateTime = DateTime.Now;
var endDateTime = DateTime.Now.AddDays(1);
query = "Select * FROM ProfitData Where EndDateTime >= '" + startDateTime.Year.ToString("0000") + "-" +
startDateTime.Month.ToString("00") +
"-" + startDateTime.Day.ToString("00") + "' And EndDateTime < '" +
endDateTime.Year.ToString("0000") + "-" + endDateTime.Month.ToString("00") +
"-" + endDateTime.Day.ToString("00") + "' And DeleteData = 0";
_sqLiteCommand = new SQLiteCommand(query, _sqLiteConnection);
_sqLiteDataReader = _sqLiteCommand.ExecuteReader();
while (_sqLiteDataReader.Read())
{
var profitData = new ProfitData();
int.TryParse(_sqLiteDataReader["ID"].ToString(), out profitData.Id);
int.TryParse(_sqLiteDataReader["KeyCode"].ToString(), out profitData.KeyCode);
int.TryParse(_sqLiteDataReader["Category"].ToString(), out profitData.Category);
profitData.StartDateTime = Convert.ToDateTime(_sqLiteDataReader["StartDateTime"]);
int.TryParse(_sqLiteDataReader["People"].ToString(), out profitData.People);
profitData.EndDateTime = Convert.ToDateTime(_sqLiteDataReader["EndDateTime"]);
int.TryParse(_sqLiteDataReader["UseTime"].ToString(), out profitData.UseTime);
int.TryParse(_sqLiteDataReader["ProfitBase"].ToString(), out profitData.ProfitBase);
int.TryParse(_sqLiteDataReader["ProfitAdd"].ToString(), out profitData.ProfitAdd);
int.TryParse(_sqLiteDataReader["ProfitDiscount"].ToString(), out profitData.ProfitDiscount);
Setting.ProfitDatas.Add(profitData);
}
_sqLiteDataReader.Close();
}
public void InsertRent(RentData rentData)
{
var query = "Insert INTO RentData VALUES(" + rentData.KeyCode + "," + rentData.Category + ", '" +
rentData.StartDateTime.ToString("yyyy/MM/dd HH:mm:ss") + "'," + rentData.People + ")";
_sqLiteCommand = new SQLiteCommand(query, _sqLiteConnection);
_sqLiteCommand.ExecuteNonQuery();
}
public int ReturnRent(ProfitData profitData)
{
var query =
"Insert INTO ProfitData (KeyCode, Category, StartDateTime, People, EndDateTime, UseTime, ProfitBase, ProfitAdd, ProfitDiscount) VALUES(" +
profitData.KeyCode + "," + profitData.Category + ", '" +
profitData.StartDateTime.ToString("yyyy/MM/dd HH:mm:ss") + "', " +
profitData.People + ", '" +
profitData.EndDateTime.ToString("yyyy/MM/dd HH:mm:ss") + "', " +
profitData.UseTime + ", " +
profitData.ProfitBase + ", " +
profitData.ProfitAdd + ", " +
profitData.ProfitDiscount + "); SELECT last_insert_rowid()";
_sqLiteCommand = new SQLiteCommand(query, _sqLiteConnection);
_sqLiteDataReader = _sqLiteCommand.ExecuteReader();
int id = 0;
while (_sqLiteDataReader.Read())
{
int.TryParse(_sqLiteDataReader[0].ToString(), out id);
}
query = "Delete From RentData Where KeyCode=" + profitData.KeyCode;
_sqLiteCommand = new SQLiteCommand(query, _sqLiteConnection);
_sqLiteCommand.ExecuteNonQuery();
return id;
}
public void DeleteProfitData(int id)
{
var query = "Update ProfitData Set DeleteData=1 Where Id=" + id;
_sqLiteCommand = new SQLiteCommand(query, _sqLiteConnection);
_sqLiteCommand.ExecuteNonQuery();
}
}
}

View File

@@ -0,0 +1,18 @@
namespace Cheongbuk_MegaPark_Key_Management
{
public static class Extends
{
public static string ToThousand(this int value)
{
return $"{value:#,#00}";
}
public static string ToMoney(this int value)
{
return $"{value:#,##0원}";
}
public static string ToPeople(this int value)
{
return $"{value:#,##0명}";
}
}
}

View File

@@ -0,0 +1,37 @@
using System;
using System.Drawing;
using System.Drawing.Text;
namespace Cheongbuk_MegaPark_Key_Management
{
public class FontLibrary
{
private static FontLibrary inst = new FontLibrary();
public PrivateFontCollection privateFont = new PrivateFontCollection();
[System.Runtime.InteropServices.DllImport("gdi32.dll")]
private static extern IntPtr AddFontMemResourceEx(IntPtr pbFont, uint cbFont,
IntPtr pdv, [System.Runtime.InteropServices.In] ref uint pcFonts);
public static FontFamily[] Families
{
get { return inst.privateFont.Families; }
}
public FontLibrary()
{
AddFontFromMemory(Properties.Resources.DS_DIGIB);
AddFontFromMemory(Properties.Resources.NotoSansCJKkr_Black);
}
private void AddFontFromMemory(byte[] fontData)
{
IntPtr fontPtr = System.Runtime.InteropServices.Marshal.AllocCoTaskMem(fontData.Length);
System.Runtime.InteropServices.Marshal.Copy(fontData, 0, fontPtr, fontData.Length);
uint dummy = 0;
privateFont.AddMemoryFont(fontPtr, fontData.Length);
AddFontMemResourceEx(fontPtr, (uint)fontData.Length, IntPtr.Zero, ref dummy);
System.Runtime.InteropServices.Marshal.FreeCoTaskMem(fontPtr);
}
}
}

View File

@@ -0,0 +1,70 @@
using System;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Text;
namespace MitriaGames_Minecraft_Launcher_MK2
{
internal static class Log
{
//로그파일 이름 규칙 어셈블리명-숫자.log
private static readonly string LogName = $"{Assembly.GetExecutingAssembly().GetName().Name}";
static Log()
{
if (!System.IO.Directory.Exists("logs"))
{
System.IO.Directory.CreateDirectory("logs");
}
var logFileName = $"logs\\{LogName}-" + DateTime.Now.ToString("yyyy-MM-dd") + ".log";
Trace.Listeners.Add(
new TextWriterTraceListener(new FileStream(logFileName, FileMode.Append, FileAccess.Write,
FileShare.Read)));
}
public static void Initialize()
{
Trace.Write("====================================================================================================// ");
Trace.Write(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"));
Trace.WriteLine(" //====================================================================================================");
Trace.Flush();
}
public static void WriteLog(LogLevel logLevel, string message)
{
// Call Location
var stackTrace = new StackTrace();
var methodBase = stackTrace.GetFrame(1).GetMethod();
string location = methodBase.DeclaringType != null
? methodBase.DeclaringType.Name + "/"
: location = "null/";
location += methodBase.Name;
// Call Location End
// Log String
var stringBuilder = new StringBuilder();
stringBuilder.Append("[");
stringBuilder.Append(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"));
stringBuilder.Append("]");
stringBuilder.Append("\t");
stringBuilder.Append(logLevel);
stringBuilder.Append("\t");
stringBuilder.Append(location.Trim());
stringBuilder.Append("\t");
stringBuilder.Append(message.Trim());
Trace.WriteLine(stringBuilder.ToString());
Trace.Flush();
}
}
public enum LogLevel
{
Fatal,
Error,
Warn,
Info,
Debug,
Trace
}
}

View File

@@ -0,0 +1,596 @@
namespace Cheongbuk_MegaPark_Key_Management
{
partial class MainForm
{
/// <summary>
/// 필수 디자이너 변수입니다.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 사용 중인 모든 리소스를 정리합니다.
/// </summary>
/// <param name="disposing">관리되는 리소스를 삭제해야 하면 true이고, 그렇지 않으면 false입니다.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form
/// <summary>
/// 디자이너 지원에 필요한 메서드입니다.
/// 이 메서드의 내용을 코드 편집기로 수정하지 마세요.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
this.Clock = new System.Windows.Forms.Label();
this.ClockTimer = new System.Windows.Forms.Timer(this.components);
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.textBox_KeyNumber = new System.Windows.Forms.TextBox();
this.button_RentKey = new System.Windows.Forms.Button();
this.button_Num1 = new System.Windows.Forms.Button();
this.button_Num2 = new System.Windows.Forms.Button();
this.button_Num3 = new System.Windows.Forms.Button();
this.button_Num4 = new System.Windows.Forms.Button();
this.button_Num5 = new System.Windows.Forms.Button();
this.button_Num6 = new System.Windows.Forms.Button();
this.button_Num7 = new System.Windows.Forms.Button();
this.button_Num8 = new System.Windows.Forms.Button();
this.button_Num9 = new System.Windows.Forms.Button();
this.button_NumB = new System.Windows.Forms.Button();
this.button_Num0 = new System.Windows.Forms.Button();
this.button_NumC = new System.Windows.Forms.Button();
this.panel_NumberKey = new System.Windows.Forms.Panel();
this.label_AllKeyCount = new System.Windows.Forms.Label();
this.label_NowKeyCount = new System.Windows.Forms.Label();
this.label_Profit = new System.Windows.Forms.Label();
this.informationLayoutPanel = new System.Windows.Forms.TableLayoutPanel();
this.listView_Profit = new System.Windows.Forms.ListView();
this.ID = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.KeyCode = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.columnHeader5 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.columnHeader6 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.columnHeader4 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.listView_Rent = new System.Windows.Forms.ListView();
this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.label4 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.panel_NumberKey.SuspendLayout();
this.informationLayoutPanel.SuspendLayout();
this.SuspendLayout();
//
// Clock
//
this.Clock.AutoSize = true;
this.Clock.Font = new System.Drawing.Font("굴림", 30F);
this.Clock.Location = new System.Drawing.Point(20, 20);
this.Clock.Name = "Clock";
this.Clock.Size = new System.Drawing.Size(412, 40);
this.Clock.TabIndex = 0;
this.Clock.Text = "0000/00/00 00:00:00";
//
// ClockTimer
//
this.ClockTimer.Enabled = true;
this.ClockTimer.Interval = 1000;
this.ClockTimer.Tick += new System.EventHandler(this.ClockTimer_Tick);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("맑은 고딕", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.label1.Location = new System.Drawing.Point(70, 80);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(204, 37);
this.label1.TabIndex = 2;
this.label1.Text = "오늘 전체대여 :";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Font = new System.Drawing.Font("맑은 고딕", 20.25F, System.Drawing.FontStyle.Bold);
this.label2.Location = new System.Drawing.Point(70, 120);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(204, 37);
this.label2.TabIndex = 3;
this.label2.Text = "현재  대여 :";
//
// label3
//
this.label3.AutoSize = true;
this.label3.Font = new System.Drawing.Font("맑은 고딕", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.label3.Location = new System.Drawing.Point(70, 160);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(204, 37);
this.label3.TabIndex = 4;
this.label3.Text = "추가이용 수익 :";
//
// textBox_KeyNumber
//
this.textBox_KeyNumber.Font = new System.Drawing.Font("맑은 고딕", 20F);
this.textBox_KeyNumber.Location = new System.Drawing.Point(17, 12);
this.textBox_KeyNumber.Name = "textBox_KeyNumber";
this.textBox_KeyNumber.Size = new System.Drawing.Size(100, 43);
this.textBox_KeyNumber.TabIndex = 0;
this.textBox_KeyNumber.TextChanged += new System.EventHandler(this.TextBox_KeyNumber_TextChanged);
this.textBox_KeyNumber.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.TextBox_KeyNumber_KeyPress);
//
// button_RentKey
//
this.button_RentKey.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(47)))), ((int)(((byte)(67)))), ((int)(((byte)(163)))));
this.button_RentKey.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.button_RentKey.Font = new System.Drawing.Font("맑은 고딕", 20F);
this.button_RentKey.ForeColor = System.Drawing.Color.White;
this.button_RentKey.Location = new System.Drawing.Point(137, 12);
this.button_RentKey.Margin = new System.Windows.Forms.Padding(0);
this.button_RentKey.Name = "button_RentKey";
this.button_RentKey.Size = new System.Drawing.Size(200, 43);
this.button_RentKey.TabIndex = 1;
this.button_RentKey.Text = "대여/반납";
this.button_RentKey.UseVisualStyleBackColor = false;
this.button_RentKey.Click += new System.EventHandler(this.Button_RentKey_Click);
//
// button_Num1
//
this.button_Num1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(61)))), ((int)(((byte)(85)))), ((int)(((byte)(189)))));
this.button_Num1.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.button_Num1.Font = new System.Drawing.Font("맑은 고딕", 30F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.button_Num1.ForeColor = System.Drawing.Color.White;
this.button_Num1.Location = new System.Drawing.Point(17, 72);
this.button_Num1.Name = "button_Num1";
this.button_Num1.Size = new System.Drawing.Size(80, 80);
this.button_Num1.TabIndex = 2;
this.button_Num1.Tag = "1";
this.button_Num1.Text = "1";
this.button_Num1.UseVisualStyleBackColor = false;
this.button_Num1.Click += new System.EventHandler(this.TextBox_KeyNumber_Changer);
//
// button_Num2
//
this.button_Num2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(61)))), ((int)(((byte)(85)))), ((int)(((byte)(189)))));
this.button_Num2.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.button_Num2.Font = new System.Drawing.Font("맑은 고딕", 30F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.button_Num2.ForeColor = System.Drawing.Color.White;
this.button_Num2.Location = new System.Drawing.Point(137, 72);
this.button_Num2.Name = "button_Num2";
this.button_Num2.Size = new System.Drawing.Size(80, 80);
this.button_Num2.TabIndex = 3;
this.button_Num2.Tag = "2";
this.button_Num2.Text = "2";
this.button_Num2.UseVisualStyleBackColor = false;
this.button_Num2.Click += new System.EventHandler(this.TextBox_KeyNumber_Changer);
//
// button_Num3
//
this.button_Num3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(61)))), ((int)(((byte)(85)))), ((int)(((byte)(189)))));
this.button_Num3.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.button_Num3.Font = new System.Drawing.Font("맑은 고딕", 30F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.button_Num3.ForeColor = System.Drawing.Color.White;
this.button_Num3.Location = new System.Drawing.Point(257, 72);
this.button_Num3.Name = "button_Num3";
this.button_Num3.Size = new System.Drawing.Size(80, 80);
this.button_Num3.TabIndex = 4;
this.button_Num3.Tag = "3";
this.button_Num3.Text = "3";
this.button_Num3.UseVisualStyleBackColor = false;
this.button_Num3.Click += new System.EventHandler(this.TextBox_KeyNumber_Changer);
//
// button_Num4
//
this.button_Num4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(61)))), ((int)(((byte)(85)))), ((int)(((byte)(189)))));
this.button_Num4.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.button_Num4.Font = new System.Drawing.Font("맑은 고딕", 30F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.button_Num4.ForeColor = System.Drawing.Color.White;
this.button_Num4.Location = new System.Drawing.Point(17, 172);
this.button_Num4.Name = "button_Num4";
this.button_Num4.Size = new System.Drawing.Size(80, 80);
this.button_Num4.TabIndex = 5;
this.button_Num4.Tag = "4";
this.button_Num4.Text = "4";
this.button_Num4.UseVisualStyleBackColor = false;
this.button_Num4.Click += new System.EventHandler(this.TextBox_KeyNumber_Changer);
//
// button_Num5
//
this.button_Num5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(61)))), ((int)(((byte)(85)))), ((int)(((byte)(189)))));
this.button_Num5.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.button_Num5.Font = new System.Drawing.Font("맑은 고딕", 30F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.button_Num5.ForeColor = System.Drawing.Color.White;
this.button_Num5.Location = new System.Drawing.Point(137, 172);
this.button_Num5.Name = "button_Num5";
this.button_Num5.Size = new System.Drawing.Size(80, 80);
this.button_Num5.TabIndex = 6;
this.button_Num5.Tag = "5";
this.button_Num5.Text = "5";
this.button_Num5.UseVisualStyleBackColor = false;
this.button_Num5.Click += new System.EventHandler(this.TextBox_KeyNumber_Changer);
//
// button_Num6
//
this.button_Num6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(61)))), ((int)(((byte)(85)))), ((int)(((byte)(189)))));
this.button_Num6.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.button_Num6.Font = new System.Drawing.Font("맑은 고딕", 30F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.button_Num6.ForeColor = System.Drawing.Color.White;
this.button_Num6.Location = new System.Drawing.Point(257, 172);
this.button_Num6.Name = "button_Num6";
this.button_Num6.Size = new System.Drawing.Size(80, 80);
this.button_Num6.TabIndex = 7;
this.button_Num6.Tag = "6";
this.button_Num6.Text = "6";
this.button_Num6.UseVisualStyleBackColor = false;
this.button_Num6.Click += new System.EventHandler(this.TextBox_KeyNumber_Changer);
//
// button_Num7
//
this.button_Num7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(61)))), ((int)(((byte)(85)))), ((int)(((byte)(189)))));
this.button_Num7.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.button_Num7.Font = new System.Drawing.Font("맑은 고딕", 30F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.button_Num7.ForeColor = System.Drawing.Color.White;
this.button_Num7.Location = new System.Drawing.Point(17, 272);
this.button_Num7.Name = "button_Num7";
this.button_Num7.Size = new System.Drawing.Size(80, 80);
this.button_Num7.TabIndex = 8;
this.button_Num7.Tag = "7";
this.button_Num7.Text = "7";
this.button_Num7.UseVisualStyleBackColor = false;
this.button_Num7.Click += new System.EventHandler(this.TextBox_KeyNumber_Changer);
//
// button_Num8
//
this.button_Num8.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(61)))), ((int)(((byte)(85)))), ((int)(((byte)(189)))));
this.button_Num8.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.button_Num8.Font = new System.Drawing.Font("맑은 고딕", 30F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.button_Num8.ForeColor = System.Drawing.Color.White;
this.button_Num8.Location = new System.Drawing.Point(137, 272);
this.button_Num8.Name = "button_Num8";
this.button_Num8.Size = new System.Drawing.Size(80, 80);
this.button_Num8.TabIndex = 9;
this.button_Num8.Tag = "8";
this.button_Num8.Text = "8";
this.button_Num8.UseVisualStyleBackColor = false;
this.button_Num8.Click += new System.EventHandler(this.TextBox_KeyNumber_Changer);
//
// button_Num9
//
this.button_Num9.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(61)))), ((int)(((byte)(85)))), ((int)(((byte)(189)))));
this.button_Num9.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.button_Num9.Font = new System.Drawing.Font("맑은 고딕", 30F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.button_Num9.ForeColor = System.Drawing.Color.White;
this.button_Num9.Location = new System.Drawing.Point(257, 272);
this.button_Num9.Name = "button_Num9";
this.button_Num9.Size = new System.Drawing.Size(80, 80);
this.button_Num9.TabIndex = 10;
this.button_Num9.Tag = "9";
this.button_Num9.Text = "9";
this.button_Num9.UseVisualStyleBackColor = false;
this.button_Num9.Click += new System.EventHandler(this.TextBox_KeyNumber_Changer);
//
// button_NumB
//
this.button_NumB.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(47)))), ((int)(((byte)(67)))), ((int)(((byte)(163)))));
this.button_NumB.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.button_NumB.Font = new System.Drawing.Font("맑은 고딕", 30F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.button_NumB.ForeColor = System.Drawing.Color.White;
this.button_NumB.Location = new System.Drawing.Point(17, 372);
this.button_NumB.Name = "button_NumB";
this.button_NumB.Size = new System.Drawing.Size(80, 80);
this.button_NumB.TabIndex = 12;
this.button_NumB.Tag = "-1";
this.button_NumB.Text = "←";
this.button_NumB.UseVisualStyleBackColor = false;
this.button_NumB.Click += new System.EventHandler(this.TextBox_KeyNumber_Changer);
//
// button_Num0
//
this.button_Num0.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(47)))), ((int)(((byte)(67)))), ((int)(((byte)(163)))));
this.button_Num0.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.button_Num0.Font = new System.Drawing.Font("맑은 고딕", 30F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.button_Num0.ForeColor = System.Drawing.Color.White;
this.button_Num0.Location = new System.Drawing.Point(137, 372);
this.button_Num0.Name = "button_Num0";
this.button_Num0.Size = new System.Drawing.Size(80, 80);
this.button_Num0.TabIndex = 11;
this.button_Num0.Tag = "0";
this.button_Num0.Text = "0";
this.button_Num0.UseVisualStyleBackColor = false;
this.button_Num0.Click += new System.EventHandler(this.TextBox_KeyNumber_Changer);
//
// button_NumC
//
this.button_NumC.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(47)))), ((int)(((byte)(67)))), ((int)(((byte)(163)))));
this.button_NumC.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.button_NumC.Font = new System.Drawing.Font("맑은 고딕", 30F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.button_NumC.ForeColor = System.Drawing.Color.White;
this.button_NumC.Location = new System.Drawing.Point(257, 372);
this.button_NumC.Name = "button_NumC";
this.button_NumC.Size = new System.Drawing.Size(80, 80);
this.button_NumC.TabIndex = 13;
this.button_NumC.Tag = "-2";
this.button_NumC.Text = "C";
this.button_NumC.UseVisualStyleBackColor = false;
this.button_NumC.Click += new System.EventHandler(this.TextBox_KeyNumber_Changer);
//
// panel_NumberKey
//
this.panel_NumberKey.BackColor = System.Drawing.Color.White;
this.panel_NumberKey.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel_NumberKey.Controls.Add(this.textBox_KeyNumber);
this.panel_NumberKey.Controls.Add(this.button_NumC);
this.panel_NumberKey.Controls.Add(this.button_RentKey);
this.panel_NumberKey.Controls.Add(this.button_Num0);
this.panel_NumberKey.Controls.Add(this.button_Num1);
this.panel_NumberKey.Controls.Add(this.button_NumB);
this.panel_NumberKey.Controls.Add(this.button_Num2);
this.panel_NumberKey.Controls.Add(this.button_Num9);
this.panel_NumberKey.Controls.Add(this.button_Num3);
this.panel_NumberKey.Controls.Add(this.button_Num8);
this.panel_NumberKey.Controls.Add(this.button_Num4);
this.panel_NumberKey.Controls.Add(this.button_Num7);
this.panel_NumberKey.Controls.Add(this.button_Num5);
this.panel_NumberKey.Controls.Add(this.button_Num6);
this.panel_NumberKey.Location = new System.Drawing.Point(50, 220);
this.panel_NumberKey.Name = "panel_NumberKey";
this.panel_NumberKey.Size = new System.Drawing.Size(360, 500);
this.panel_NumberKey.TabIndex = 8;
//
// label_AllKeyCount
//
this.label_AllKeyCount.AutoSize = true;
this.label_AllKeyCount.Font = new System.Drawing.Font("맑은 고딕", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.label_AllKeyCount.Location = new System.Drawing.Point(280, 80);
this.label_AllKeyCount.Name = "label_AllKeyCount";
this.label_AllKeyCount.Size = new System.Drawing.Size(33, 37);
this.label_AllKeyCount.TabIndex = 2;
this.label_AllKeyCount.Text = "0";
//
// label_NowKeyCount
//
this.label_NowKeyCount.AutoSize = true;
this.label_NowKeyCount.Font = new System.Drawing.Font("맑은 고딕", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.label_NowKeyCount.Location = new System.Drawing.Point(280, 120);
this.label_NowKeyCount.Name = "label_NowKeyCount";
this.label_NowKeyCount.Size = new System.Drawing.Size(33, 37);
this.label_NowKeyCount.TabIndex = 2;
this.label_NowKeyCount.Text = "0";
//
// label_Profit
//
this.label_Profit.AutoSize = true;
this.label_Profit.Font = new System.Drawing.Font("맑은 고딕", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.label_Profit.Location = new System.Drawing.Point(280, 160);
this.label_Profit.Name = "label_Profit";
this.label_Profit.Size = new System.Drawing.Size(60, 37);
this.label_Profit.TabIndex = 2;
this.label_Profit.Text = "0원";
//
// informationLayoutPanel
//
this.informationLayoutPanel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(47)))), ((int)(((byte)(67)))), ((int)(((byte)(163)))));
this.informationLayoutPanel.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
this.informationLayoutPanel.CellBorderStyle = System.Windows.Forms.TableLayoutPanelCellBorderStyle.Single;
this.informationLayoutPanel.ColumnCount = 1;
this.informationLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.informationLayoutPanel.Controls.Add(this.listView_Profit, 0, 3);
this.informationLayoutPanel.Controls.Add(this.listView_Rent, 0, 1);
this.informationLayoutPanel.Controls.Add(this.label4, 0, 0);
this.informationLayoutPanel.Controls.Add(this.label6, 0, 2);
this.informationLayoutPanel.Dock = System.Windows.Forms.DockStyle.Right;
this.informationLayoutPanel.GrowStyle = System.Windows.Forms.TableLayoutPanelGrowStyle.FixedSize;
this.informationLayoutPanel.Location = new System.Drawing.Point(556, 0);
this.informationLayoutPanel.Name = "informationLayoutPanel";
this.informationLayoutPanel.RowCount = 4;
this.informationLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 50F));
this.informationLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.informationLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 50F));
this.informationLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.informationLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
this.informationLayoutPanel.Size = new System.Drawing.Size(452, 729);
this.informationLayoutPanel.TabIndex = 0;
//
// listView_Profit
//
this.listView_Profit.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.ID,
this.KeyCode,
this.columnHeader5,
this.columnHeader6,
this.columnHeader4});
this.listView_Profit.Dock = System.Windows.Forms.DockStyle.Fill;
this.listView_Profit.Font = new System.Drawing.Font("맑은 고딕", 13F);
this.listView_Profit.FullRowSelect = true;
this.listView_Profit.GridLines = true;
this.listView_Profit.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
this.listView_Profit.HideSelection = false;
this.listView_Profit.Location = new System.Drawing.Point(4, 419);
this.listView_Profit.MultiSelect = false;
this.listView_Profit.Name = "listView_Profit";
this.listView_Profit.Size = new System.Drawing.Size(444, 306);
this.listView_Profit.TabIndex = 3;
this.listView_Profit.TabStop = false;
this.listView_Profit.UseCompatibleStateImageBehavior = false;
this.listView_Profit.View = System.Windows.Forms.View.Details;
this.listView_Profit.MouseClick += new System.Windows.Forms.MouseEventHandler(this.ListView_Profit_MouseClick);
this.listView_Profit.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.ListView_Profit_MouseDoubleClick);
//
// ID
//
this.ID.Text = "ID";
this.ID.Width = 0;
//
// KeyCode
//
this.KeyCode.Text = "키번호";
this.KeyCode.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.KeyCode.Width = 80;
//
// columnHeader5
//
this.columnHeader5.Text = "기본시간";
this.columnHeader5.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.columnHeader5.Width = 100;
//
// columnHeader6
//
this.columnHeader6.Text = "추가이용";
this.columnHeader6.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.columnHeader6.Width = 110;
//
// columnHeader4
//
this.columnHeader4.Text = "수익금";
this.columnHeader4.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.columnHeader4.Width = 100;
//
// listView_Rent
//
this.listView_Rent.Alignment = System.Windows.Forms.ListViewAlignment.Default;
this.listView_Rent.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.columnHeader1,
this.columnHeader2,
this.columnHeader3});
this.listView_Rent.Dock = System.Windows.Forms.DockStyle.Fill;
this.listView_Rent.Font = new System.Drawing.Font("맑은 고딕", 13F);
this.listView_Rent.FullRowSelect = true;
this.listView_Rent.GridLines = true;
this.listView_Rent.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
this.listView_Rent.HideSelection = false;
this.listView_Rent.Location = new System.Drawing.Point(4, 55);
this.listView_Rent.MultiSelect = false;
this.listView_Rent.Name = "listView_Rent";
this.listView_Rent.Size = new System.Drawing.Size(444, 306);
this.listView_Rent.TabIndex = 0;
this.listView_Rent.TabStop = false;
this.listView_Rent.UseCompatibleStateImageBehavior = false;
this.listView_Rent.View = System.Windows.Forms.View.Details;
this.listView_Rent.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.ListView_Rent_MouseDoubleClick);
//
// columnHeader1
//
this.columnHeader1.Text = "키번호";
this.columnHeader1.Width = 90;
//
// columnHeader2
//
this.columnHeader2.Text = "기본시간";
this.columnHeader2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.columnHeader2.Width = 100;
//
// columnHeader3
//
this.columnHeader3.Text = "시작 시간";
this.columnHeader3.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.columnHeader3.Width = 200;
//
// label4
//
this.label4.AutoSize = true;
this.label4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(47)))), ((int)(((byte)(67)))), ((int)(((byte)(163)))));
this.label4.Dock = System.Windows.Forms.DockStyle.Fill;
this.label4.Font = new System.Drawing.Font("맑은 고딕", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.label4.ForeColor = System.Drawing.Color.White;
this.label4.Location = new System.Drawing.Point(31, 1);
this.label4.Margin = new System.Windows.Forms.Padding(30, 0, 0, 0);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(420, 50);
this.label4.TabIndex = 0;
this.label4.Text = "대여중인 키";
this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// label6
//
this.label6.AutoSize = true;
this.label6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(47)))), ((int)(((byte)(67)))), ((int)(((byte)(163)))));
this.label6.Dock = System.Windows.Forms.DockStyle.Fill;
this.label6.Font = new System.Drawing.Font("맑은 고딕", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.label6.ForeColor = System.Drawing.Color.White;
this.label6.Location = new System.Drawing.Point(31, 365);
this.label6.Margin = new System.Windows.Forms.Padding(30, 0, 0, 0);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(420, 50);
this.label6.TabIndex = 1;
this.label6.Text = "오늘 회수된 키";
this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// MainForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.White;
this.ClientSize = new System.Drawing.Size(1008, 729);
this.Controls.Add(this.informationLayoutPanel);
this.Controls.Add(this.panel_NumberKey);
this.Controls.Add(this.label3);
this.Controls.Add(this.label2);
this.Controls.Add(this.label_Profit);
this.Controls.Add(this.label_NowKeyCount);
this.Controls.Add(this.label_AllKeyCount);
this.Controls.Add(this.label1);
this.Controls.Add(this.Clock);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.MaximumSize = new System.Drawing.Size(1024, 768);
this.Name = "MainForm";
this.Text = "청북 메가파크 키 관리 프로그램";
this.Load += new System.EventHandler(this.MainForm_Load);
this.panel_NumberKey.ResumeLayout(false);
this.panel_NumberKey.PerformLayout();
this.informationLayoutPanel.ResumeLayout(false);
this.informationLayoutPanel.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label Clock;
private System.Windows.Forms.Timer ClockTimer;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.TextBox textBox_KeyNumber;
private System.Windows.Forms.Button button_RentKey;
private System.Windows.Forms.Button button_Num1;
private System.Windows.Forms.Button button_Num2;
private System.Windows.Forms.Button button_Num3;
private System.Windows.Forms.Button button_Num4;
private System.Windows.Forms.Button button_Num5;
private System.Windows.Forms.Button button_Num6;
private System.Windows.Forms.Button button_Num7;
private System.Windows.Forms.Button button_Num8;
private System.Windows.Forms.Button button_Num9;
private System.Windows.Forms.Button button_NumB;
private System.Windows.Forms.Button button_Num0;
private System.Windows.Forms.Button button_NumC;
private System.Windows.Forms.Panel panel_NumberKey;
private System.Windows.Forms.Label label_AllKeyCount;
private System.Windows.Forms.Label label_NowKeyCount;
private System.Windows.Forms.Label label_Profit;
private System.Windows.Forms.TableLayoutPanel informationLayoutPanel;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.ListView listView_Profit;
private System.Windows.Forms.ColumnHeader KeyCode;
private System.Windows.Forms.ColumnHeader columnHeader5;
private System.Windows.Forms.ColumnHeader columnHeader6;
private System.Windows.Forms.ColumnHeader columnHeader4;
private System.Windows.Forms.ListView listView_Rent;
private System.Windows.Forms.ColumnHeader columnHeader1;
private System.Windows.Forms.ColumnHeader columnHeader2;
private System.Windows.Forms.ColumnHeader columnHeader3;
private System.Windows.Forms.ColumnHeader ID;
}
}

View File

@@ -0,0 +1,247 @@
using System;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using System.Windows.Forms;
namespace Cheongbuk_MegaPark_Key_Management
{
public partial class MainForm : Form
{
// 기본 Database
private readonly DB _database = new DB();
public MainForm()
{
InitializeComponent();
}
private void ClockTimer_Tick(object sender, EventArgs e)
{
ClockChanger();
}
private void ClockChanger()
{
Clock.Text = DateTime.Now.ToString("yyyy/MM/dd HH:mm:ss");
}
private void MainForm_Load(object sender, EventArgs e)
{
// Check DBFile
if (!File.Exists(Setting.DbLocation))
{
MessageBox.Show("DATABASE 파일을 찾을수 없습니다.\r\n프로그램을 종료합니다.", "프로그램 에러", MessageBoxButtons.OK,
MessageBoxIcon.Error);
Application.Exit();
}
// Clock Init Setting
Clock.Font = new Font(FontLibrary.Families[0], 30, FontStyle.Bold);
//button_RentKey.Font = new Font(FontLibrary.Families[1], 10);
ClockChanger();
//Database Load
_database.LoadData();
//MainScreen Init Change
ChangeMainScreenData();
//ListView Init Setting
listView_Profit.Items.Clear();
listView_Rent.Items.Clear();
foreach (var rentData in Setting.RentDatas) ListViewRentDataAdd(rentData);
foreach (var profitData in Setting.ProfitDatas) ListViewProfitDataAdd(profitData);
}
private void ListViewRentDataAdd(RentData rentData)
{
var data = new string[3];
data[0] = rentData.KeyCode.ToString();
data[1] = Setting.CategoryDictionary[rentData.Category].CategoryName;
data[2] = rentData.StartDateTime.ToString("yyyy/MM/dd HH:mm:ss");
listView_Rent.Items.Add(new ListViewItem(data));
}
private void ListViewProfitDataAdd(ProfitData profitData)
{
var data = new string[5];
data[0] = profitData.Id.ToString();
data[1] = profitData.KeyCode.ToString();
data[2] = Setting.CategoryDictionary[profitData.Category].CategoryName;
data[3] = profitData.UseTime / 60 + "시간 " + profitData.UseTime % 60 + "분";
data[4] = $"{profitData.ProfitAdd - profitData.ProfitDiscount:#,##0원}";
listView_Profit.Items.Add(new ListViewItem(data));
}
// 메인 스크린 데이터 갱신
private void ChangeMainScreenData()
{
int sumProfitAdd = Setting.ProfitDatas.Sum(x => x.ProfitAdd);
int sumProfitDiscount = Setting.ProfitDatas.Sum(x => x.ProfitDiscount);
label_AllKeyCount.Text = $"{Setting.RentDatas.Count + Setting.ProfitDatas.Count:#,##0}";
label_NowKeyCount.Text = $"{Setting.RentDatas.Count:#,##0}";
label_Profit.Text = (sumProfitAdd - sumProfitDiscount).ToMoney();
}
private void TextBox_KeyNumber_TextChanged(object sender, EventArgs e)
{
var value = Regex.Replace(textBox_KeyNumber.Text, "[^0-9]", "");
if (value != textBox_KeyNumber.Text)
{
textBox_KeyNumber.Text = value;
textBox_KeyNumber.SelectionStart = textBox_KeyNumber.Text.Length;
}
}
private void TextBox_KeyNumber_Changer(object sender, EventArgs e)
{
int.TryParse(((Button)sender).Tag.ToString(), out var key);
if (key > -1)
{
if (key != 0 || textBox_KeyNumber.Text != string.Empty) textBox_KeyNumber.Text += key.ToString();
}
else
{
switch (key)
{
case -1:
{
if (textBox_KeyNumber.Text.Length != 0)
textBox_KeyNumber.Text =
textBox_KeyNumber.Text.Substring(0, textBox_KeyNumber.Text.Length - 1);
break;
}
case -2:
textBox_KeyNumber.Text = string.Empty;
break;
}
}
textBox_KeyNumber.Focus();
textBox_KeyNumber.SelectionStart = textBox_KeyNumber.Text.Length;
}
private void Button_RentKey_Click(object sender, EventArgs e)
{
RentReturnProcess();
textBox_KeyNumber.Focus();
}
private void TextBox_KeyNumber_KeyPress(object sender, KeyPressEventArgs e)
{
if (e.KeyChar != 13) return;
RentReturnProcess();
textBox_KeyNumber.Focus();
}
private void RentReturnProcess()
{
int.TryParse(textBox_KeyNumber.Text, out var key);
if (key == 0) return;
var tempRentData = (from rentData in Setting.RentDatas where rentData.KeyCode == key select rentData)
.FirstOrDefault();
// 대여 프로세스
if (tempRentData.KeyCode == 0)
{
var rentKey = new RentKey { KeyCode = key };
if (DialogResult.Yes == rentKey.ShowDialog())
{
var returnData = rentKey.ReturnData;
Setting.RentDatas.Add(returnData);
ListViewRentDataAdd(returnData);
_database.InsertRent(returnData);
textBox_KeyNumber.Text = string.Empty;
}
}
// 반납프로세스
else
{
var returnKey = new ReturnKey { Data = tempRentData };
if (DialogResult.Yes == returnKey.ShowDialog())
{
var returnData = returnKey.ReturnData;
var rD = new RentData();
foreach (var rentData in Setting.RentDatas)
if (rentData.KeyCode == returnData.KeyCode)
rD = rentData;
Setting.RentDatas.Remove(rD);
foreach (ListViewItem listViewItem in listView_Rent.Items)
if (listViewItem.SubItems[0].Text == returnData.KeyCode.ToString())
listView_Rent.Items.Remove(listViewItem);
returnData.Id = _database.ReturnRent(returnData);
Setting.ProfitDatas.Add(returnData);
ListViewProfitDataAdd(returnData);
}
textBox_KeyNumber.Text = string.Empty;
}
ChangeMainScreenData();
}
private void ListView_Profit_MouseClick(object sender, MouseEventArgs e)
{
if (e.Button.Equals(MouseButtons.Right))
{
int.TryParse(listView_Profit.SelectedItems[0].Text, out int value);
if (DialogResult.Yes == MessageBox.Show("정말 선택된 데이터를 삭제하시겠습니까?", "삭제 확인",
MessageBoxButtons.YesNo,
MessageBoxIcon.Question))
{
ProfitData pf = new ProfitData();
foreach (var profitData in Setting.ProfitDatas.Where(profitData => profitData.Id == value))
{
pf = profitData;
}
Setting.ProfitDatas.Remove(pf);
_database.DeleteProfitData(value);
listView_Profit.Items.RemoveAt(listView_Profit.SelectedItems[0].Index);
ChangeMainScreenData();
}
}
}
private void ListView_Rent_MouseDoubleClick(object sender, MouseEventArgs e)
{
int.TryParse(listView_Rent.SelectedItems[0].Text, out int value);
RentData rD = new RentData();
foreach (var rentData in Setting.RentDatas.Where(x => x.KeyCode == value))
{
rD = rentData;
}
RentKeyInfo rentKeyInfo = new RentKeyInfo();
rentKeyInfo.RentKeyData = rD;
rentKeyInfo.ShowDialog();
textBox_KeyNumber.Focus();
}
private void ListView_Profit_MouseDoubleClick(object sender, MouseEventArgs e)
{
int.TryParse(listView_Profit.SelectedItems[0].Text, out int value);
ProfitData pD = new ProfitData();
foreach (var profitData in Setting.ProfitDatas.Where(x => x.Id == value))
{
pD = profitData;
}
ReturnKeyInfo returnKeyInfo = new ReturnKeyInfo();
returnKeyInfo.ProfitDataInfo = pD;
returnKeyInfo.ShowDialog();
textBox_KeyNumber.Focus();
}
}
}

View File

@@ -0,0 +1,473 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="ClockTimer.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="$this.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAUAEBAAAAEAIABoBAAAVgAAABgYAAABACAAiAkAAL4EAAAgIAAAAQAgAKgQAABGDgAAMDAAAAEA
IACoJQAA7h4AAAAAAAABACAAgQsAAJZEAAAoAAAAEAAAACAAAAABACAAAAAAAAAEAADDDgAAww4AAAAA
AAAAAAAA////9f//////////////////////////////////////////////////////////////////
////////////9f////X/////////////////////////////////////////////////////////////
//////////////////X////1///////////////////////////Hx8f/cXFx/3Z2dv/Pz8//////////
///////////////////////1////9f/////////////////////Nzc3/Kysr/05OTv9ISEj/MjIy/9nZ
2f//////////////////////////9f////X/////////////////////g4OD/0VFRf/19fX/7u7u/zg4
OP+Wlpb///////////////////////////X////1/////////////////////5CQkP83Nzf/39/f/9bW
1v8uLi7/oqKi///////////////////////////1////9f/////////////////////h4eH/RUVF/yws
LP8pKSn/UFBQ/+np6f//////////////////////////9f////X//////////////////////////+fn
5/+QkJD/l5eX/+zs7P////////////////////////////////X////1////////////////////////
////////b29v/4CAgP/////////////////////////////////////1////9f//////////////////
///+/v7/5ubm/1FRUf9xcXH/////////////////////////////////////9f////X/////////////
////////9fX1/1xcXP8KCgr/dHR0//////////////////////////////////////X////1////////
//////////////r6+v+pqan/MjIy/3Nzc//////////////////////////////////////1////9f//
///////////////////19fX/W1tb/xkZGf+BgYH/////////////////////////////////////9f//
//X//////////////////////f39/+Dg4P/W1tb/6urq////////////////////////////////////
//X////1////////////////////////////////////////////////////////////////////////
///////1////9f//////////////////////////////////////////////////////////////////
////////////9QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAoAAAAGAAAADAAAAABACAAAAAAAAAJAADDDgAAww4AAAAAAAAAAAAA////7///
////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////v////7///////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
///////v////7///////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////v////7///////////////////
////////////////////////+/v7/8zMzP+ampr/np6e/9TU1P/9/f3/////////////////////////
///////////////////////v////7//////////////////////////////////////4+Pj/hISE/xMT
E/8AAAD/AAAA/xoaGv+YmJj//Pz8///////////////////////////////////////////v////7///
//////////////////////////////////+pqan/CQkJ/ywsLP+Pj4//h4eH/yAgIP8SEhL/wMDA////
///////////////////////////////////////v////7/////////////////////////////////z8
/P9YWFj/CgoK/7u7u////////////6SkpP8CAgL/c3Nz////////////////////////////////////
///////v////7/////////////////////////////////j4+P9FRUX/GBgY/9zc3P///////////8nJ
yf8KCgr/X19f///////////////////////////////////////////v////7///////////////////
//////////////////9wcHD/AgIC/4uLi//29vb/8fHx/3R0dP8AAAD/i4uL////////////////////
///////////////////////v////7//////////////////////////////////////Pz8//JSUl/wkJ
Cf8+Pj7/ODg4/wUFBf81NTX/39/f///////////////////////////////////////////v////7///
////////////////////////////////////////xMTE/05OTv8dHR3/Hx8f/1paWv/R0dH/////////
///////////////////////////////////////v////7///////////////////////////////////
//////////////Ly8v+4uLj/vr6+//f39///////////////////////////////////////////////
///////v////7////////////////////////////////////////////////+np6f81NTX/S0tL//X1
9f/////////////////////////////////////////////////////v////7///////////////////
/////////////////////////////+fn5/8jIyP/Ojo6//T09P//////////////////////////////
///////////////////////v////7//////////////////////////////////////+/v7/6enp/8nJ
yf8eHh7/Ojo6//T09P/////////////////////////////////////////////////////v////7///
///////////////////////////////////6+vr/XFxc/xQUFP8AAAD/PDw8//T09P//////////////
///////////////////////////////////////v////7///////////////////////////////////
///7+/v/f39//0BAQP8HBwf/PDw8//T09P//////////////////////////////////////////////
///////v////7//////////////////////////////////////9/f3/0dHR/6mpqf8ZGRn/Ojo6//T0
9P/////////////////////////////////////////////////////v////7///////////////////
///////////////////5+fn/T09P/wMDA/8AAAD/PDw8//T09P//////////////////////////////
///////////////////////v////7//////////////////////////////////////8/Pz/lpaW/2lp
af9qamr/j4+P//n5+f/////////////////////////////////////////////////////v////7///
////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////v////7///////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
///////v////7///////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////v////7///////////////////
////////////////////////////////////////////////////////////////////////////////
///////////////////////vAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAAACAA
AABAAAAAAQAgAAAAAAAAEAAAww4AAMMOAAAAAAAAAAAAAP///+n/////////////////////////////
////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////p////6f//////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////+n////p////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////6f//
/+n/////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
///////p////6f////////////////////////////////////////////////////////////////v7
+//d3d3/v7+//8LCwv/j4+P//f39////////////////////////////////////////////////////
/////////////////+n////p////////////////////////////////////////////////////////
///i4uL/b29v/x8fH/8JCQn/CgoK/ycnJ/+Dg4P/7e3t////////////////////////////////////
////////////////////////////6f///+n/////////////////////////////////////////////
////////5ubm/0hISP8AAAD/AQEB/wsLC/8JCQn/AAAA/wICAv9kZGT/8/Pz////////////////////
///////////////////////////////////////p////6f//////////////////////////////////
//////////////////+BgYH/AAAA/wkJCf9ubm7/w8PD/7y8vP9aWlr/AwMD/wYGBv+jo6P/////////
/////////////////////////////////////////////////+n////p////////////////////////
////////////////////////7e3t/zQ0NP8AAAD/YGBg//f39////////////+zs7P9CQkL/AAAA/1JS
Uv/6+vr/////////////////////////////////////////////////////6f///+n/////////////
///////////////////////////////////c3Nz/Gxsb/wAAAP+ioqL//////////////////////35+
fv8AAAD/NDQ0/+/v7//////////////////////////////////////////////////////p////6f//
/////////////////////////////////////////////+Li4v8jIyP/AAAA/4yMjP//////////////
///+/v7/aWlp/wAAAP8+Pj7/9PT0////////////////////////////////////////////////////
/+n////p////////////////////////////////////////////////+Pj4/1NTU/8AAAD/LCws/8nJ
yf/9/f3/+/v7/7Ozs/8ZGRn/AAAA/3V1df//////////////////////////////////////////////
////////////6f///+n/////////////////////////////////////////////////////uLi4/xMT
E/8AAAD/Hh4e/1hYWP9RUVH/FBQU/wAAAP8kJCT/0tLS////////////////////////////////////
///////////////////////p////6f//////////////////////////////////////////////////
///9/f3/nZ2d/xsbG/8AAAD/AAAA/wAAAP8AAAD/KSkp/7W1tf//////////////////////////////
/////////////////////////////////+n////p////////////////////////////////////////
///////////////////9/f3/zs7O/39/f/9WVlb/Wlpa/4qKiv/b29v/////////////////////////
////////////////////////////////////////////6f///+n/////////////////////////////
////////////////////////////////////////8PDw/8rKyv/Ozs7/9vb2////////////////////
///////////////////////////////////////////////////////p////6f//////////////////
//////////////////////////////////////////////////+3t7f/FBQU/yMjI//V1dX/////////
/////////////////////////////////////////////////////////////////+n////p////////
/////////////////////////////////////////////////////////////7Kysv8EBAT/FBQU/9LS
0v//////////////////////////////////////////////////////////////////////////6f//
/+n/////////////////////////////////////////////////////////////////////s7Oz/wQE
BP8UFBT/0tLS////////////////////////////////////////////////////////////////////
///////p////6f//////////////////////////////////////////////////////////6urq/+Hh
4f+cnJz/AwMD/xQUFP/S0tL/////////////////////////////////////////////////////////
/////////////////+n////p//////////////////////////////////////////////////////7+
/v9ubm7/Ghoa/xUVFf8AAAD/FBQU/9LS0v//////////////////////////////////////////////
////////////////////////////6f///+n/////////////////////////////////////////////
/////////v7+/1tbW/8AAAD/AAAA/wAAAP8UFBT/0tLS////////////////////////////////////
///////////////////////////////////////p////6f//////////////////////////////////
////////////////////////xsbG/6enp/90dHT/AgIC/xQUFP/S0tL/////////////////////////
/////////////////////////////////////////////////+n////p////////////////////////
///////////////////////////////////U1NT/vr6+/4ODg/8DAwP/FBQU/9LS0v//////////////
////////////////////////////////////////////////////////////6f///+n/////////////
/////////////////////////////////////////v7+/19fX/8CAgL/BAQE/wAAAP8UFBT/0tLS////
///////////////////////////////////////////////////////////////////////p////6f//
///////////////////////////////////////////////////+/v7/ZmZm/w0NDf8RERH/EBAQ/yQk
JP/V1dX/////////////////////////////////////////////////////////////////////////
/+n////p///////////////////////////////////////////////////////////f39//zc3N/87O
zv/Ozs7/0tLS//b29v//////////////////////////////////////////////////////////////
////////////6f///+n/////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
///////////////////////p////6f//////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////+n////p////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////6f///+n/////////////////////////////
////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////p////6f//////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////+kAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACgA
AAAwAAAAYAAAAAEAIAAAAAAAACQAAMMOAADDDgAAAAAAAAAAAAD////c////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////9z////c////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/9z////c////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////9z////c////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////9z////c////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////9z////c////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////9z////c////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////+vr6//Pz8//09PT//Pz8////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/9z////c////////////////////////////////////////////////////////////////////////
/////////////////////////v7+/9fX1/+Li4v/UlJS/zs7O/8+Pj7/XV1d/52dnf/m5ub/////////
////////////////////////////////////////////////////////////////////////////////
/////////////////9z////c////////////////////////////////////////////////////////
///////////////////////////////////19fX/kpKS/yEhIf8BAQH/AAAA/wAAAP8AAAD/AAAA/wMD
A/81NTX/srKy//39/f//////////////////////////////////////////////////////////////
/////////////////////////////////9z////c////////////////////////////////////////
//////////////////////////////////////////////j4+P97e3v/BwcH/wAAAP8AAAD/AAAA/wAA
AP8AAAD/AAAA/wAAAP8AAAD/FRUV/6Wlpf//////////////////////////////////////////////
/////////////////////////////////////////////////9z////c////////////////////////
/////////////////////////////////////////////////////////////6Kiov8LCwv/AAAA/wAA
AP8DAwP/KCgo/1FRUf9KSkr/HBwc/wEBAf8AAAD/AAAA/yAgIP/MzMz/////////////////////////
/////////////////////////////////////////////////////////////////9z////c////////
////////////////////////////////////////////////////////////////////////6enp/zc3
N/8AAAD/AAAA/wsLC/97e3v/4uLi//v7+//5+fn/09PT/1hYWP8CAgL/AAAA/wAAAP9kZGT/+/v7////
////////////////////////////////////////////////////////////////////////////////
/9z////c////////////////////////////////////////////////////////////////////////
////////s7Oz/wgICP8AAAD/AAAA/2xsbP/4+Pj//////////////////////+fn5/8/Pz//AAAA/wAA
AP8gICD/3Nzc////////////////////////////////////////////////////////////////////
/////////////////9z////c////////////////////////////////////////////////////////
////////////////////////hISE/wAAAP8AAAD/EhIS/8nJyf//////////////////////////////
//+ZmZn/AQEB/wAAAP8ICAj/uLi4////////////////////////////////////////////////////
/////////////////////////////////9z////c////////////////////////////////////////
////////////////////////////////////////cXFx/wAAAP8AAAD/IyMj/+Li4v//////////////
//////////////////+8vLz/CQkJ/wAAAP8DAwP/p6en////////////////////////////////////
/////////////////////////////////////////////////9z////c////////////////////////
////////////////////////////////////////////////////////fX19/wAAAP8AAAD/GBgY/9TU
1P////////////////////////////////+np6f/BAQE/wAAAP8GBgb/sbGx////////////////////
/////////////////////////////////////////////////////////////////9z////c////////
////////////////////////////////////////////////////////////////////////paWl/wMD
A/8AAAD/AQEB/4qKiv////////////////////////////X19f9YWFj/AAAA/wAAAP8XFxf/0tLS////
////////////////////////////////////////////////////////////////////////////////
/9z////c////////////////////////////////////////////////////////////////////////
////////3d3d/yUlJf8AAAD/AAAA/xoaGv+pqan/+fn5////////////8PDw/4KCgv8ICAj/AAAA/wAA
AP9OTk7/9vb2////////////////////////////////////////////////////////////////////
/////////////////9z////c////////////////////////////////////////////////////////
/////////////////////////////4SEhP8CAgL/AAAA/wAAAP8PDw//VFRU/4eHh/9/f3//QUFB/wcH
B/8AAAD/AAAA/w8PD/+zs7P/////////////////////////////////////////////////////////
/////////////////////////////////9z////c////////////////////////////////////////
/////////////////////////////////////////////+zs7P9UVFT/AAAA/wAAAP8AAAD/AAAA/wAA
AP8AAAD/AAAA/wAAAP8AAAD/BgYG/39/f//6+vr/////////////////////////////////////////
/////////////////////////////////////////////////9z////c////////////////////////
///////////////////////////////////////////////////////////////////l5eX/YmJi/woK
Cv8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8VFRX/hoaG//T09P//////////////////////////////
/////////////////////////////////////////////////////////////////9z////c////////
////////////////////////////////////////////////////////////////////////////////
////////9fX1/62trf9WVlb/JiYm/xUVFf8YGBj/Li4u/2lpaf/FxcX//Pz8////////////////////
////////////////////////////////////////////////////////////////////////////////
/9z////c////////////////////////////////////////////////////////////////////////
///////////////////////////////////6+vr/5+fn/9fX1//a2tr/7Ozs//z8/P//////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////9z////c////////////////////////////////////////////////////////
///////////////////////////////////////////////////6+vr/zs7O/8PDw//Dw8P/2tra////
////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////9z////c////////////////////////////////////////
///////////////////////////////////////////////////////////////////t7e3/ODg4/wgI
CP8HBwf/aGho//7+/v//////////////////////////////////////////////////////////////
/////////////////////////////////////////////////9z////c////////////////////////
////////////////////////////////////////////////////////////////////////////////
///s7Oz/Ly8v/wAAAP8AAAD/YWFh//7+/v//////////////////////////////////////////////
/////////////////////////////////////////////////////////////////9z////c////////
////////////////////////////////////////////////////////////////////////////////
///////////////////s7Oz/Ly8v/wAAAP8AAAD/YWFh//7+/v//////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/9z////c////////////////////////////////////////////////////////////////////////
///////////////////////////////////s7Oz/Ly8v/wAAAP8AAAD/YWFh//7+/v//////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////9z////c////////////////////////////////////////////////////////
///////////////////////////////////////////////////s7Oz/Ly8v/wAAAP8AAAD/YWFh//7+
/v//////////////////////////////////////////////////////////////////////////////
/////////////////////////////////9z////c////////////////////////////////////////
///////////////////////////////////////////////////u7u7/3Nzc/97e3v/MzMz/KSkp/wAA
AP8AAAD/YWFh//7+/v//////////////////////////////////////////////////////////////
/////////////////////////////////////////////////9z////c////////////////////////
//////////////////////////////////////////////////////////////////+Pj4//Gxsb/x4e
Hv8bGxv/BQUF/wAAAP8AAAD/YWFh//7+/v//////////////////////////////////////////////
/////////////////////////////////////////////////////////////////9z////c////////
////////////////////////////////////////////////////////////////////////////////
//+AgID/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/YWFh//7+/v//////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/9z////c////////////////////////////////////////////////////////////////////////
//////////////////+AgID/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/YWFh//7+/v//////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////9z////c////////////////////////////////////////////////////////
//////////////////////////////////++vr7/e3t7/319ff9zc3P/FxcX/wAAAP8AAAD/YWFh//7+
/v//////////////////////////////////////////////////////////////////////////////
/////////////////////////////////9z////c////////////////////////////////////////
///////////////////////////////////////////////////////////////////s7Oz/MDAw/wAA
AP8AAAD/YWFh//7+/v//////////////////////////////////////////////////////////////
/////////////////////////////////////////////////9z////c////////////////////////
///////////////////////////////////////////////////////////////////Pz8//nZ2d/5+f
n/+SkpL/HR0d/wAAAP8AAAD/YWFh//7+/v//////////////////////////////////////////////
/////////////////////////////////////////////////////////////////9z////c////////
////////////////////////////////////////////////////////////////////////////////
//+BgYH/AAAA/wEBAf8BAQH/AAAA/wAAAP8AAAD/YWFh//7+/v//////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/9z////c////////////////////////////////////////////////////////////////////////
//////////////////+AgID/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/YWFh//7+/v//////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////9z////c////////////////////////////////////////////////////////
//////////////////////////////////+Hh4f/CQkJ/wwMDP8MDAz/DAwM/wwMDP8ICAj/aWlp//7+
/v//////////////////////////////////////////////////////////////////////////////
/////////////////////////////////9z////c////////////////////////////////////////
///////////////////////////////////////////////////h4eH/wsLC/8PDw//Dw8P/w8PD/8PD
w//CwsL/2tra////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////9z////c////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////9z////c////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/9z////c////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////9z////c////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////9z////c////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////9z////c////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////9z////c////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/9z////c////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////9wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACJUE5HDQoaCgAAAA1JSERSAAABAAAA
AQAIBAAAAPZ7YO0AAAtISURBVHja7Z1rcJTVGYCf3VwIJCEJkEJEIhAKoVzKrUWKQ4tDobbYotQWq63T
sXZUBovWjmUKDgpltKUyaqc3KBYZLVK0ilYqKmMpDjhEUgeGolwEAyVIuASSkGSTTX9YCwqYs99+2bPn
vO/z++yec9599ru85xaBtjYUoUQiUdtNUOyiAghHBRCOCiAcFUA4KoBwVADhqADCUQGEowIIRwUQjgog
HBVAOCqAcFQA4agAwlEBhKMCCEcFEI4KIBwVQDgqgHBUAOGoAMJRAYSjAghHBRCOCiAcFUA4KoBwVADh
qADCUQGEowIIRwUQjgogHBVAOCqAcFQA4agAwlEBhKMCCEcFEI4KIBwVQDiZthsQBg0cJ6wtz7tQJOpf
4YUAG5lHI5EQvinOFO4jz3aHUogXApxkB40hfdcgWm13J6V4cbUL479/9rvC/Lb0xwsBlOCoAMJRAYSj
AghHBRCOCiAcFUA4KoBwVADhqADCUQGEowIIRwUQjgogHC8ECGs2kES8mBDSjZE0tVMmQj17idluatrh
hQDjWdXuVSBKJTdTY7upaYcXAuSSa1CqmgzbDU1DvHgGUIKjAghHBRCOCiAcFUA4KoBwVADhqADC8SIR
1NJuIhgyOKNjBhfACwE2s4Tmdtb0RThBre2GpiFeCHCIdaGtDpaGF88AstbzhosXAijBUQGEowIIRwUQ
jgogHBVAOCqAcFQA4agAwlEBhKMCCEcFEI4KIBwVQDgqgHC8mBDSmd4G5wU0U0PcdlPTDi8EuIKnDFYH
b+cujttuatrhhQDd6GZQqpVs2w1NQ0Q9A+is4PMRJYByPiqAcFQA4agAwlEBhKMCCEcFEI4KIBwVQDgq
gHBUAOGoAMJRAYSjAghHBRCOCiAcFUA4KoBwVADhqADCUQGEowIIRwUQjgogHBVAOCqAcFQA4agAwlEB
PkabsCWkXiwPNyObEjLa2UYiTndh/4kItAlRvpkaWtst1YUiQQpEIoIEUM4nEpEju3JBVADhqADCUQGE
owIIRwUQjqBE0FnitNBCK3HaiJBBBplkCj1/VJAALdTxH/ayn/c4wjHqaCBGJ3IpoAcllNKfgRTRWdRl
UYQAp3mPSirYxn6O03CRbH+UrhQzkM8xhqH0opPtZqcEzzOBzbzL67zKVg5yxjgkXRnAeCYxhp6eXw28
TgWfoZLneJm3aQjw6QjdGMnVXEWZxxJ4K0CMCh5nHQcNhn8+iRyGcB3foq+nj4ieCrCfZaykKqSR/WxG
cCvXUmC7Wx2AhwLU8zwPszXJf/7HyePr3MFo756ZvRNgN4/wZIccCxGhjLu4nkLbXQy3Vz4J0MI/eYBX
Q/7vn0sh3+YnlNnuaIh4JECM1SzgnQ6e0ZfFFO5npO3OhoY3AsT4E/dSnYKaIoxiMV/05K3AEwEaWcr8
FB4INYglTPEiO+DFlLBGlrEgpeeBvc3drPfkCDrnBYjxJIs4muJad3IvW213PRScF+BFFnDYQr0V3Mc+
250PAccF2MkC9lupuY2XWEit7QAkjdMCHGU+b1qrPc6fWU6L7SAkicMCxFjOWqstaGQJG2yHIUkcTm6/
zu9pCvjZbLqSRyeitHKGU9QFzB9W8TCf4VLboUgCZwWo4Te8m/CnIhQzmM8zjEsoojMZxKjjGAd4iwr+
HWDmwAZWcScZtsMRGGcFWMfLCXe1nGlMZSBdL/CDxahhG2tYz+GE0smNrGQKw2yHIzCOZgIP8f2EBIjy
aW7gBvq1k8JtooLlPJtQWimDOcxz9GRyZ1PBjzGLeuPSeVzLLEYaXqhP83ceZQsx4+8v5ymG2w5JIBxN
BdewKoGfv5SFLGGM8X06n2/yGDfR2biGd/irs4lhJwXYxGbjsgNYzO10S+j7I5SxiJl0MSwf5xmqbAcl
IA4K0MTTnDYs25cHmU5WgFqKmcttxmsDdiX8SJouOCjALv5hWLKY+XwjcBcLmMN3DV+TmnmBOtuBCYSD
Amw0HPzJ4gfMSOoNvTvzmGRYdhu7bAcmEM4JUMdGw/z7RGYlvbyrlJ9SalTyCFssRyYYzglQxQ6jcr24
k5IQ6hvP94xuA81sCbQCyTbOCbDL8AYwlQmh1JfJjYZ5vp0pmZMYNo4JEGeH0cNWL64zfolrjzKmGV0D
DgUYm7CPYwI0ssto3G4so0OrM5PJ9DEoV8tea3EJjmMCnDRKuGQyPsHUzydTbrQSIMZeB6eHOCbAMWoM
Sn2KsaHO2y9klMHrZJwqmq1FJiiOCXCSkwalShkQcr2jjNYE1jiYDHJMgFqjQaD+oS/l7k9RaK1LLxwT
4LTRXbYkgZE8MwooNihVT6OFmCSHYwI0GA275oberRyjW0CTPgN0NDFL53lkGl1TmvUtQDZxB6eFOCZA
lqVl2S1Gd/ccB2cGOiaA2S6e9aHfKBo5YVCqkwrQ0XQ1ysofDn1crtZo/XEuORZikhyOCVBgNMSzL/RF
m3uMJooXkGshJsnhmACFRgmZqtAXbv/LKAPZg7zUhyRJHBOgOz0MSh2lItSngFoqDZ7vo/TRZ4COptBo
YLaZ10LdMmYX2wxKZdHPwZV2jgmQQ7nRNM83Qtw3oIWXOGhQLp9+1uISHMcEiDLE6D5bzV9CexPYw7NG
y8T6hD4GmQocEwDKDad6Ps+mUOprYTXbjUoODmUSaqpxToDLGGpU7giPhDJJczPLjDL8WYwNbRZiKnFO
gFwmGD5qree3gXcQ+ZADLDJc9deTyy1HJhjOCQATuMSoXIzf8URS43Mn+SWvGJYdxWDbgQmEgwIMMp7x
/z7380zg3cPreZTHDQXKZir5tgMTCAcFyGG6cbAPcA9rAl0FanmIXxmvQh7El22HJSAOCgBXJHC/3c/d
LOVUgjXs4x4eNB5RiDLdcAVh+uGkAD2YkcCwy0HmMJutxteBOp7jFv6YwATPgVzjZiBxdpewyYwzfjyD
WlawhZu4hv7tdLiRClayNqEXyEymU247IIFxdJMoWMkdRiN0Z8lhMF9jCuUUXXCbuKO8wd94haoEJ3Z9
lpXObhPn7C5hUMNtrEn4U1GK6MtERlBKMblEaeEU1eyjks3sC7CwI4eFzHZ2o0iHBYAN3Bx4p/Bs8ulM
JhHiNNMQeKtY+Cp/oLftUATGaQFiPMBCyzPxS1nKZNuBSAJH9wn8gCx+yDSrLchhJlfaDkOSOCwA9ORn
jLBWe5QbucXV16hzeuE0w1lAX0t1T2SO0QzF9MZxAeArzKWnhXpHMp/+tjsfAs4LkMn1zKZrimsdyiK+
YLvroeC8ANCF2/lxSg91HsIvmOxD6HA4E/hRGliRsuPjRrKYL/ny87ucB/goLTzNXPZ0cC2ZXMnPGWO7
s6HhkQDQygYWsakD1+jnM4M5Tk7+vhheCQCwm4dY3UHnCJfxI75Dd9tdDBXvBIDTrOXXVIR8HcjnKmYy
LtDJA+mMhwJAnL2s4AkOhLQ+MJNR3MrVRqsSXcNLAQBivMVSXqA6yU1bsv532lippZ1JOhpvBQBoYhtr
eZHdnAnw6QiFDGMq0yjz5JXvgr30WQCAVnbzGhuo5JCxBhEK6Ms4JnE5JZ7+8//fV98FAGjjFPuo5E22
U8X7NF7ktpBBPr3ozwhGM5xLHdzuJXFECPABbTRzkkMc4gBVVHOCBmK0ESWbPHpQwmWU0psS8pwf4jVH
kADn0kacVpppoY0oWWQRJer5xf7CCBVA+RCnp4QpYaACCEcFEI4KIBwVQDgqgHBUAOGoAMJRAYSjAghH
BRCOCiAcFUA4KoBwVADhqADCUQGEowIIRwUQjgogHBVAOCqAcFQA4agAwlEBhKMCCEcFEI4KIBwVQDgq
gHBUAOGoAMJRAYSjAghHBRCOCiCc/wIMZEAAbTedSgAAAABJRU5ErkJggg==
</value>
</data>
</root>

View File

@@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Cheongbuk_MegaPark_Key_Management
{
static class Program
{
/// <summary>
/// 해당 애플리케이션의 주 진입점입니다.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new MainForm());
}
}
}

View File

@@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 어셈블리에 대한 일반 정보는 다음 특성 집합을 통해
// 제어됩니다. 어셈블리와 관련된 정보를 수정하려면
// 이러한 특성 값을 변경하세요.
[assembly: AssemblyTitle("Cheongbuk_MegaPark_Key_Management")]
[assembly: AssemblyDescription("청북 메가파크 키 관리프로그램")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("손대령")]
[assembly: AssemblyProduct("C.MPKey")]
[assembly: AssemblyCopyright("Copyright © DaeRyeong-Son 2019")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// ComVisible을 false로 설정하면 이 어셈블리의 형식이 COM 구성 요소에
// 표시되지 않습니다. COM에서 이 어셈블리의 형식에 액세스하려면
// 해당 형식에 대해 ComVisible 특성을 true로 설정하세요.
[assembly: ComVisible(true)]
// 이 프로젝트가 COM에 노출되는 경우 다음 GUID는 typelib의 ID를 나타냅니다.
[assembly: Guid("b83960c6-210d-477e-b831-6eb2798ec9c6")]
// 어셈블리의 버전 정보는 다음 네 가지 값으로 구성됩니다.
//
// 주 버전
// 부 버전
// 빌드 번호
// 수정 버전
//
// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호를
// 기본값으로 할 수 있습니다.
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.5.2.0")]
[assembly: AssemblyFileVersion("0.5.2.0")]

View File

@@ -0,0 +1,93 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 이 코드는 도구를 사용하여 생성되었습니다.
// 런타임 버전:4.0.30319.42000
//
// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면
// 이러한 변경 내용이 손실됩니다.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Cheongbuk_MegaPark_Key_Management.Properties {
using System;
/// <summary>
/// 지역화된 문자열 등을 찾기 위한 강력한 형식의 리소스 클래스입니다.
/// </summary>
// 이 클래스는 ResGen 또는 Visual Studio와 같은 도구를 통해 StronglyTypedResourceBuilder
// 클래스에서 자동으로 생성되었습니다.
// 멤버를 추가하거나 제거하려면 .ResX 파일을 편집한 다음 /str 옵션을 사용하여 ResGen을
// 다시 실행하거나 VS 프로젝트를 다시 빌드하십시오.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources() {
}
/// <summary>
/// 이 클래스에서 사용하는 캐시된 ResourceManager 인스턴스를 반환합니다.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Cheongbuk_MegaPark_Key_Management.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// 이 강력한 형식의 리소스 클래스를 사용하여 모든 리소스 조회에 대해 현재 스레드의 CurrentUICulture 속성을
/// 재정의합니다.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// System.Byte[] 형식의 지역화된 리소스를 찾습니다.
/// </summary>
internal static byte[] data {
get {
object obj = ResourceManager.GetObject("data", resourceCulture);
return ((byte[])(obj));
}
}
/// <summary>
/// System.Byte[] 형식의 지역화된 리소스를 찾습니다.
/// </summary>
internal static byte[] DS_DIGIB {
get {
object obj = ResourceManager.GetObject("DS_DIGIB", resourceCulture);
return ((byte[])(obj));
}
}
/// <summary>
/// System.Byte[] 형식의 지역화된 리소스를 찾습니다.
/// </summary>
internal static byte[] NotoSansCJKkr_Black {
get {
object obj = ResourceManager.GetObject("NotoSansCJKkr_Black", resourceCulture);
return ((byte[])(obj));
}
}
}
}

View File

@@ -0,0 +1,130 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="data" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\data.sqlite;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="DS_DIGIB" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\DS-DIGIB.TTF;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="NotoSansCJKkr_Black" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\NotoSansCJKkr-Black.otf;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
</root>

View File

@@ -0,0 +1,432 @@
namespace Cheongbuk_MegaPark_Key_Management
{
partial class RentKey
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(RentKey));
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.dateTimePicker_ManualTime = new System.Windows.Forms.DateTimePicker();
this.radioButton_ManualTime = new System.Windows.Forms.RadioButton();
this.radioButton_NowTime = new System.Windows.Forms.RadioButton();
this.textBox_KeyNumber = new System.Windows.Forms.TextBox();
this.panel_NumberKey = new System.Windows.Forms.Panel();
this.button_NumC = new System.Windows.Forms.Button();
this.button_Num0 = new System.Windows.Forms.Button();
this.button_Num1 = new System.Windows.Forms.Button();
this.button_NumB = new System.Windows.Forms.Button();
this.button_Num2 = new System.Windows.Forms.Button();
this.button_Num9 = new System.Windows.Forms.Button();
this.button_Num3 = new System.Windows.Forms.Button();
this.button_Num8 = new System.Windows.Forms.Button();
this.button_Num4 = new System.Windows.Forms.Button();
this.button_Num7 = new System.Windows.Forms.Button();
this.button_Num5 = new System.Windows.Forms.Button();
this.button_Num6 = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.button_Category3 = new System.Windows.Forms.Button();
this.button_Cancel = new System.Windows.Forms.Button();
this.button_Category2 = new System.Windows.Forms.Button();
this.button_Category1 = new System.Windows.Forms.Button();
this.panel1 = new System.Windows.Forms.Panel();
this.groupBox1.SuspendLayout();
this.panel_NumberKey.SuspendLayout();
this.panel1.SuspendLayout();
this.SuspendLayout();
//
// groupBox1
//
this.groupBox1.Controls.Add(this.dateTimePicker_ManualTime);
this.groupBox1.Controls.Add(this.radioButton_ManualTime);
this.groupBox1.Controls.Add(this.radioButton_NowTime);
this.groupBox1.Font = new System.Drawing.Font("맑은 고딕", 9F);
this.groupBox1.Location = new System.Drawing.Point(10, 10);
this.groupBox1.Margin = new System.Windows.Forms.Padding(0);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(426, 128);
this.groupBox1.TabIndex = 0;
this.groupBox1.TabStop = false;
//
// dateTimePicker_ManualTime
//
this.dateTimePicker_ManualTime.CalendarFont = new System.Drawing.Font("굴림", 20F);
this.dateTimePicker_ManualTime.CustomFormat = "yyyy/MM/dd HH:mm";
this.dateTimePicker_ManualTime.Enabled = false;
this.dateTimePicker_ManualTime.Font = new System.Drawing.Font("맑은 고딕", 20F);
this.dateTimePicker_ManualTime.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
this.dateTimePicker_ManualTime.Location = new System.Drawing.Point(169, 70);
this.dateTimePicker_ManualTime.Name = "dateTimePicker_ManualTime";
this.dateTimePicker_ManualTime.ShowUpDown = true;
this.dateTimePicker_ManualTime.Size = new System.Drawing.Size(243, 43);
this.dateTimePicker_ManualTime.TabIndex = 1;
//
// radioButton_ManualTime
//
this.radioButton_ManualTime.AutoSize = true;
this.radioButton_ManualTime.Font = new System.Drawing.Font("맑은 고딕", 20F);
this.radioButton_ManualTime.Location = new System.Drawing.Point(20, 70);
this.radioButton_ManualTime.Name = "radioButton_ManualTime";
this.radioButton_ManualTime.Size = new System.Drawing.Size(143, 41);
this.radioButton_ManualTime.TabIndex = 0;
this.radioButton_ManualTime.Text = "수동시간";
this.radioButton_ManualTime.UseVisualStyleBackColor = true;
this.radioButton_ManualTime.CheckedChanged += new System.EventHandler(this.RadioButton_ManualTime_CheckedChanged);
//
// radioButton_NowTime
//
this.radioButton_NowTime.AutoSize = true;
this.radioButton_NowTime.Checked = true;
this.radioButton_NowTime.Font = new System.Drawing.Font("맑은 고딕", 20F);
this.radioButton_NowTime.Location = new System.Drawing.Point(20, 20);
this.radioButton_NowTime.Name = "radioButton_NowTime";
this.radioButton_NowTime.Size = new System.Drawing.Size(143, 41);
this.radioButton_NowTime.TabIndex = 0;
this.radioButton_NowTime.TabStop = true;
this.radioButton_NowTime.Text = "현재시간";
this.radioButton_NowTime.UseVisualStyleBackColor = true;
//
// textBox_KeyNumber
//
this.textBox_KeyNumber.Font = new System.Drawing.Font("맑은 고딕", 20F);
this.textBox_KeyNumber.Location = new System.Drawing.Point(193, 20);
this.textBox_KeyNumber.Name = "textBox_KeyNumber";
this.textBox_KeyNumber.Size = new System.Drawing.Size(107, 43);
this.textBox_KeyNumber.TabIndex = 0;
//
// panel_NumberKey
//
this.panel_NumberKey.BackColor = System.Drawing.Color.White;
this.panel_NumberKey.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel_NumberKey.Controls.Add(this.button_NumC);
this.panel_NumberKey.Controls.Add(this.button_Num0);
this.panel_NumberKey.Controls.Add(this.button_Num1);
this.panel_NumberKey.Controls.Add(this.button_NumB);
this.panel_NumberKey.Controls.Add(this.button_Num2);
this.panel_NumberKey.Controls.Add(this.button_Num9);
this.panel_NumberKey.Controls.Add(this.button_Num3);
this.panel_NumberKey.Controls.Add(this.button_Num8);
this.panel_NumberKey.Controls.Add(this.button_Num4);
this.panel_NumberKey.Controls.Add(this.button_Num7);
this.panel_NumberKey.Controls.Add(this.button_Num5);
this.panel_NumberKey.Controls.Add(this.button_Num6);
this.panel_NumberKey.Location = new System.Drawing.Point(20, 70);
this.panel_NumberKey.Name = "panel_NumberKey";
this.panel_NumberKey.Size = new System.Drawing.Size(280, 370);
this.panel_NumberKey.TabIndex = 9;
//
// button_NumC
//
this.button_NumC.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.button_NumC.Font = new System.Drawing.Font("맑은 고딕", 30F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.button_NumC.Location = new System.Drawing.Point(190, 280);
this.button_NumC.Name = "button_NumC";
this.button_NumC.Size = new System.Drawing.Size(80, 80);
this.button_NumC.TabIndex = 13;
this.button_NumC.Tag = "-2";
this.button_NumC.Text = "C";
this.button_NumC.UseVisualStyleBackColor = true;
this.button_NumC.Click += new System.EventHandler(this.Button_Num_Click);
//
// button_Num0
//
this.button_Num0.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.button_Num0.Font = new System.Drawing.Font("맑은 고딕", 30F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.button_Num0.Location = new System.Drawing.Point(100, 280);
this.button_Num0.Name = "button_Num0";
this.button_Num0.Size = new System.Drawing.Size(80, 80);
this.button_Num0.TabIndex = 11;
this.button_Num0.Tag = "0";
this.button_Num0.Text = "0";
this.button_Num0.UseVisualStyleBackColor = true;
this.button_Num0.Click += new System.EventHandler(this.Button_Num_Click);
//
// button_Num1
//
this.button_Num1.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.button_Num1.Font = new System.Drawing.Font("맑은 고딕", 30F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.button_Num1.Location = new System.Drawing.Point(10, 10);
this.button_Num1.Name = "button_Num1";
this.button_Num1.Size = new System.Drawing.Size(80, 80);
this.button_Num1.TabIndex = 2;
this.button_Num1.Tag = "1";
this.button_Num1.Text = "1";
this.button_Num1.UseVisualStyleBackColor = true;
this.button_Num1.Click += new System.EventHandler(this.Button_Num_Click);
//
// button_NumB
//
this.button_NumB.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.button_NumB.Font = new System.Drawing.Font("맑은 고딕", 30F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.button_NumB.Location = new System.Drawing.Point(10, 280);
this.button_NumB.Name = "button_NumB";
this.button_NumB.Size = new System.Drawing.Size(80, 80);
this.button_NumB.TabIndex = 12;
this.button_NumB.Tag = "-1";
this.button_NumB.Text = "←";
this.button_NumB.UseVisualStyleBackColor = true;
this.button_NumB.Click += new System.EventHandler(this.Button_Num_Click);
//
// button_Num2
//
this.button_Num2.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.button_Num2.Font = new System.Drawing.Font("맑은 고딕", 30F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.button_Num2.Location = new System.Drawing.Point(100, 10);
this.button_Num2.Name = "button_Num2";
this.button_Num2.Size = new System.Drawing.Size(80, 80);
this.button_Num2.TabIndex = 3;
this.button_Num2.Tag = "2";
this.button_Num2.Text = "2";
this.button_Num2.UseVisualStyleBackColor = true;
this.button_Num2.Click += new System.EventHandler(this.Button_Num_Click);
//
// button_Num9
//
this.button_Num9.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.button_Num9.Font = new System.Drawing.Font("맑은 고딕", 30F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.button_Num9.Location = new System.Drawing.Point(190, 190);
this.button_Num9.Name = "button_Num9";
this.button_Num9.Size = new System.Drawing.Size(80, 80);
this.button_Num9.TabIndex = 10;
this.button_Num9.Tag = "9";
this.button_Num9.Text = "9";
this.button_Num9.UseVisualStyleBackColor = true;
this.button_Num9.Click += new System.EventHandler(this.Button_Num_Click);
//
// button_Num3
//
this.button_Num3.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.button_Num3.Font = new System.Drawing.Font("맑은 고딕", 30F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.button_Num3.Location = new System.Drawing.Point(190, 10);
this.button_Num3.Name = "button_Num3";
this.button_Num3.Size = new System.Drawing.Size(80, 80);
this.button_Num3.TabIndex = 4;
this.button_Num3.Tag = "3";
this.button_Num3.Text = "3";
this.button_Num3.UseVisualStyleBackColor = true;
this.button_Num3.Click += new System.EventHandler(this.Button_Num_Click);
//
// button_Num8
//
this.button_Num8.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.button_Num8.Font = new System.Drawing.Font("맑은 고딕", 30F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.button_Num8.Location = new System.Drawing.Point(100, 190);
this.button_Num8.Name = "button_Num8";
this.button_Num8.Size = new System.Drawing.Size(80, 80);
this.button_Num8.TabIndex = 9;
this.button_Num8.Tag = "8";
this.button_Num8.Text = "8";
this.button_Num8.UseVisualStyleBackColor = true;
this.button_Num8.Click += new System.EventHandler(this.Button_Num_Click);
//
// button_Num4
//
this.button_Num4.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.button_Num4.Font = new System.Drawing.Font("맑은 고딕", 30F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.button_Num4.Location = new System.Drawing.Point(10, 100);
this.button_Num4.Name = "button_Num4";
this.button_Num4.Size = new System.Drawing.Size(80, 80);
this.button_Num4.TabIndex = 5;
this.button_Num4.Tag = "4";
this.button_Num4.Text = "4";
this.button_Num4.UseVisualStyleBackColor = true;
this.button_Num4.Click += new System.EventHandler(this.Button_Num_Click);
//
// button_Num7
//
this.button_Num7.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.button_Num7.Font = new System.Drawing.Font("맑은 고딕", 30F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.button_Num7.Location = new System.Drawing.Point(10, 190);
this.button_Num7.Name = "button_Num7";
this.button_Num7.Size = new System.Drawing.Size(80, 80);
this.button_Num7.TabIndex = 8;
this.button_Num7.Tag = "7";
this.button_Num7.Text = "7";
this.button_Num7.UseVisualStyleBackColor = true;
this.button_Num7.Click += new System.EventHandler(this.Button_Num_Click);
//
// button_Num5
//
this.button_Num5.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.button_Num5.Font = new System.Drawing.Font("맑은 고딕", 30F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.button_Num5.Location = new System.Drawing.Point(100, 100);
this.button_Num5.Name = "button_Num5";
this.button_Num5.Size = new System.Drawing.Size(80, 80);
this.button_Num5.TabIndex = 6;
this.button_Num5.Tag = "5";
this.button_Num5.Text = "5";
this.button_Num5.UseVisualStyleBackColor = true;
this.button_Num5.Click += new System.EventHandler(this.Button_Num_Click);
//
// button_Num6
//
this.button_Num6.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.button_Num6.Font = new System.Drawing.Font("맑은 고딕", 30F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.button_Num6.Location = new System.Drawing.Point(190, 100);
this.button_Num6.Name = "button_Num6";
this.button_Num6.Size = new System.Drawing.Size(80, 80);
this.button_Num6.TabIndex = 7;
this.button_Num6.Tag = "6";
this.button_Num6.Text = "6";
this.button_Num6.UseVisualStyleBackColor = true;
this.button_Num6.Click += new System.EventHandler(this.Button_Num_Click);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("맑은 고딕", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.label1.Location = new System.Drawing.Point(110, 20);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(80, 37);
this.label1.TabIndex = 5;
this.label1.Text = "인 원";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// button_Category3
//
this.button_Category3.BackColor = System.Drawing.Color.White;
this.button_Category3.DialogResult = System.Windows.Forms.DialogResult.Yes;
this.button_Category3.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.button_Category3.Font = new System.Drawing.Font("맑은 고딕", 20F);
this.button_Category3.Location = new System.Drawing.Point(450, 386);
this.button_Category3.Name = "button_Category3";
this.button_Category3.Size = new System.Drawing.Size(200, 100);
this.button_Category3.TabIndex = 4;
this.button_Category3.Tag = "4";
this.button_Category3.Text = "4시간 선불";
this.button_Category3.UseVisualStyleBackColor = false;
this.button_Category3.Click += new System.EventHandler(this.Button_Rent_Click);
//
// button_Cancel
//
this.button_Cancel.BackColor = System.Drawing.Color.White;
this.button_Cancel.DialogResult = System.Windows.Forms.DialogResult.No;
this.button_Cancel.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.button_Cancel.Font = new System.Drawing.Font("맑은 고딕", 20F);
this.button_Cancel.Location = new System.Drawing.Point(450, 496);
this.button_Cancel.Name = "button_Cancel";
this.button_Cancel.Size = new System.Drawing.Size(203, 100);
this.button_Cancel.TabIndex = 3;
this.button_Cancel.Text = "취소";
this.button_Cancel.UseVisualStyleBackColor = false;
//
// button_Category2
//
this.button_Category2.BackColor = System.Drawing.Color.White;
this.button_Category2.DialogResult = System.Windows.Forms.DialogResult.Yes;
this.button_Category2.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.button_Category2.Font = new System.Drawing.Font("맑은 고딕", 20F);
this.button_Category2.Location = new System.Drawing.Point(450, 276);
this.button_Category2.Name = "button_Category2";
this.button_Category2.Size = new System.Drawing.Size(200, 100);
this.button_Category2.TabIndex = 2;
this.button_Category2.Tag = "2";
this.button_Category2.Text = "2시간 선불";
this.button_Category2.UseVisualStyleBackColor = false;
this.button_Category2.Click += new System.EventHandler(this.Button_Rent_Click);
//
// button_Category1
//
this.button_Category1.BackColor = System.Drawing.Color.White;
this.button_Category1.DialogResult = System.Windows.Forms.DialogResult.Yes;
this.button_Category1.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.button_Category1.Font = new System.Drawing.Font("맑은 고딕", 20F);
this.button_Category1.Location = new System.Drawing.Point(450, 166);
this.button_Category1.Name = "button_Category1";
this.button_Category1.Size = new System.Drawing.Size(200, 100);
this.button_Category1.TabIndex = 1;
this.button_Category1.Tag = "1";
this.button_Category1.Text = "1시간 선불";
this.button_Category1.UseVisualStyleBackColor = false;
this.button_Category1.Click += new System.EventHandler(this.Button_Rent_Click);
//
// panel1
//
this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel1.Controls.Add(this.textBox_KeyNumber);
this.panel1.Controls.Add(this.label1);
this.panel1.Controls.Add(this.panel_NumberKey);
this.panel1.Location = new System.Drawing.Point(116, 150);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(320, 450);
this.panel1.TabIndex = 5;
//
// RentKey
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
this.ClientSize = new System.Drawing.Size(670, 620);
this.Controls.Add(this.panel1);
this.Controls.Add(this.groupBox1);
this.Controls.Add(this.button_Category1);
this.Controls.Add(this.button_Category2);
this.Controls.Add(this.button_Category3);
this.Controls.Add(this.button_Cancel);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "RentKey";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "RentKey";
this.TopMost = true;
this.Shown += new System.EventHandler(this.RentKey_Shown);
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
this.panel_NumberKey.ResumeLayout(false);
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.DateTimePicker dateTimePicker_ManualTime;
private System.Windows.Forms.RadioButton radioButton_ManualTime;
private System.Windows.Forms.RadioButton radioButton_NowTime;
private System.Windows.Forms.Button button_Category1;
private System.Windows.Forms.Button button_Category2;
private System.Windows.Forms.Button button_Cancel;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Button button_Category3;
private System.Windows.Forms.Panel panel_NumberKey;
private System.Windows.Forms.Button button_NumC;
private System.Windows.Forms.Button button_Num0;
private System.Windows.Forms.Button button_Num1;
private System.Windows.Forms.Button button_NumB;
private System.Windows.Forms.Button button_Num2;
private System.Windows.Forms.Button button_Num9;
private System.Windows.Forms.Button button_Num3;
private System.Windows.Forms.Button button_Num8;
private System.Windows.Forms.Button button_Num4;
private System.Windows.Forms.Button button_Num7;
private System.Windows.Forms.Button button_Num5;
private System.Windows.Forms.Button button_Num6;
private System.Windows.Forms.TextBox textBox_KeyNumber;
private System.Windows.Forms.Panel panel1;
}
}

View File

@@ -0,0 +1,81 @@
using System;
using System.Text;
using System.Windows.Forms;
namespace Cheongbuk_MegaPark_Key_Management
{
public partial class RentKey : Form
{
public int KeyCode;
public RentData ReturnData;
public RentKey()
{
InitializeComponent();
}
private void RadioButton_ManualTime_CheckedChanged(object sender, EventArgs e)
{
dateTimePicker_ManualTime.Enabled = radioButton_ManualTime.Checked;
textBox_KeyNumber.Focus();
textBox_KeyNumber.SelectionStart = textBox_KeyNumber.Text.Length;
}
private void Process(int category)
{
int.TryParse(textBox_KeyNumber.Text, out int people);
people = people == 0 ? 1 : people;
var dateTime = dateTimePicker_ManualTime.Enabled
? Convert.ToDateTime(dateTimePicker_ManualTime.Text)
: DateTime.Now;
ReturnData.KeyCode = KeyCode;
ReturnData.Category = category;
ReturnData.StartDateTime = dateTime;
ReturnData.People = people;
}
private void Button_Num_Click(object sender, EventArgs e)
{
int.TryParse(((Button)sender).Tag.ToString(), out var key);
if (key > -1)
{
if (key != 0 || textBox_KeyNumber.Text != string.Empty) textBox_KeyNumber.Text += key.ToString();
}
else switch (key)
{
case -1:
{
if (textBox_KeyNumber.Text.Length != 0)
textBox_KeyNumber.Text = textBox_KeyNumber.Text.Substring(0, textBox_KeyNumber.Text.Length - 1);
break;
}
case -2:
textBox_KeyNumber.Text = string.Empty;
break;
}
textBox_KeyNumber.Focus();
textBox_KeyNumber.SelectionStart = textBox_KeyNumber.Text.Length;
}
private void Button_Rent_Click(object sender, EventArgs e)
{
int.TryParse(((Button)sender).Tag.ToString(), out var process);
Process(process);
}
private void RentKey_Shown(object sender, EventArgs e)
{
textBox_KeyNumber.Focus();
textBox_KeyNumber.SelectionStart = textBox_KeyNumber.Text.Length;
}
}
}

View File

@@ -0,0 +1,467 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAUAEBAAAAEAIABoBAAAVgAAABgYAAABACAAiAkAAL4EAAAgIAAAAQAgAKgQAABGDgAAMDAAAAEA
IACoJQAA7h4AAAAAAAABACAAgQsAAJZEAAAoAAAAEAAAACAAAAABACAAAAAAAAAEAADDDgAAww4AAAAA
AAAAAAAA////9f//////////////////////////////////////////////////////////////////
////////////9f////X/////////////////////////////////////////////////////////////
//////////////////X////1///////////////////////////Hx8f/cXFx/3Z2dv/Pz8//////////
///////////////////////1////9f/////////////////////Nzc3/Kysr/05OTv9ISEj/MjIy/9nZ
2f//////////////////////////9f////X/////////////////////g4OD/0VFRf/19fX/7u7u/zg4
OP+Wlpb///////////////////////////X////1/////////////////////5CQkP83Nzf/39/f/9bW
1v8uLi7/oqKi///////////////////////////1////9f/////////////////////h4eH/RUVF/yws
LP8pKSn/UFBQ/+np6f//////////////////////////9f////X//////////////////////////+fn
5/+QkJD/l5eX/+zs7P////////////////////////////////X////1////////////////////////
////////b29v/4CAgP/////////////////////////////////////1////9f//////////////////
///+/v7/5ubm/1FRUf9xcXH/////////////////////////////////////9f////X/////////////
////////9fX1/1xcXP8KCgr/dHR0//////////////////////////////////////X////1////////
//////////////r6+v+pqan/MjIy/3Nzc//////////////////////////////////////1////9f//
///////////////////19fX/W1tb/xkZGf+BgYH/////////////////////////////////////9f//
//X//////////////////////f39/+Dg4P/W1tb/6urq////////////////////////////////////
//X////1////////////////////////////////////////////////////////////////////////
///////1////9f//////////////////////////////////////////////////////////////////
////////////9QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAoAAAAGAAAADAAAAABACAAAAAAAAAJAADDDgAAww4AAAAAAAAAAAAA////7///
////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////v////7///////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
///////v////7///////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////v////7///////////////////
////////////////////////+/v7/8zMzP+ampr/np6e/9TU1P/9/f3/////////////////////////
///////////////////////v////7//////////////////////////////////////4+Pj/hISE/xMT
E/8AAAD/AAAA/xoaGv+YmJj//Pz8///////////////////////////////////////////v////7///
//////////////////////////////////+pqan/CQkJ/ywsLP+Pj4//h4eH/yAgIP8SEhL/wMDA////
///////////////////////////////////////v////7/////////////////////////////////z8
/P9YWFj/CgoK/7u7u////////////6SkpP8CAgL/c3Nz////////////////////////////////////
///////v////7/////////////////////////////////j4+P9FRUX/GBgY/9zc3P///////////8nJ
yf8KCgr/X19f///////////////////////////////////////////v////7///////////////////
//////////////////9wcHD/AgIC/4uLi//29vb/8fHx/3R0dP8AAAD/i4uL////////////////////
///////////////////////v////7//////////////////////////////////////Pz8//JSUl/wkJ
Cf8+Pj7/ODg4/wUFBf81NTX/39/f///////////////////////////////////////////v////7///
////////////////////////////////////////xMTE/05OTv8dHR3/Hx8f/1paWv/R0dH/////////
///////////////////////////////////////v////7///////////////////////////////////
//////////////Ly8v+4uLj/vr6+//f39///////////////////////////////////////////////
///////v////7////////////////////////////////////////////////+np6f81NTX/S0tL//X1
9f/////////////////////////////////////////////////////v////7///////////////////
/////////////////////////////+fn5/8jIyP/Ojo6//T09P//////////////////////////////
///////////////////////v////7//////////////////////////////////////+/v7/6enp/8nJ
yf8eHh7/Ojo6//T09P/////////////////////////////////////////////////////v////7///
///////////////////////////////////6+vr/XFxc/xQUFP8AAAD/PDw8//T09P//////////////
///////////////////////////////////////v////7///////////////////////////////////
///7+/v/f39//0BAQP8HBwf/PDw8//T09P//////////////////////////////////////////////
///////v////7//////////////////////////////////////9/f3/0dHR/6mpqf8ZGRn/Ojo6//T0
9P/////////////////////////////////////////////////////v////7///////////////////
///////////////////5+fn/T09P/wMDA/8AAAD/PDw8//T09P//////////////////////////////
///////////////////////v////7//////////////////////////////////////8/Pz/lpaW/2lp
af9qamr/j4+P//n5+f/////////////////////////////////////////////////////v////7///
////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////v////7///////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
///////v////7///////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////v////7///////////////////
////////////////////////////////////////////////////////////////////////////////
///////////////////////vAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAAACAA
AABAAAAAAQAgAAAAAAAAEAAAww4AAMMOAAAAAAAAAAAAAP///+n/////////////////////////////
////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////p////6f//////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////+n////p////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////6f//
/+n/////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
///////p////6f////////////////////////////////////////////////////////////////v7
+//d3d3/v7+//8LCwv/j4+P//f39////////////////////////////////////////////////////
/////////////////+n////p////////////////////////////////////////////////////////
///i4uL/b29v/x8fH/8JCQn/CgoK/ycnJ/+Dg4P/7e3t////////////////////////////////////
////////////////////////////6f///+n/////////////////////////////////////////////
////////5ubm/0hISP8AAAD/AQEB/wsLC/8JCQn/AAAA/wICAv9kZGT/8/Pz////////////////////
///////////////////////////////////////p////6f//////////////////////////////////
//////////////////+BgYH/AAAA/wkJCf9ubm7/w8PD/7y8vP9aWlr/AwMD/wYGBv+jo6P/////////
/////////////////////////////////////////////////+n////p////////////////////////
////////////////////////7e3t/zQ0NP8AAAD/YGBg//f39////////////+zs7P9CQkL/AAAA/1JS
Uv/6+vr/////////////////////////////////////////////////////6f///+n/////////////
///////////////////////////////////c3Nz/Gxsb/wAAAP+ioqL//////////////////////35+
fv8AAAD/NDQ0/+/v7//////////////////////////////////////////////////////p////6f//
/////////////////////////////////////////////+Li4v8jIyP/AAAA/4yMjP//////////////
///+/v7/aWlp/wAAAP8+Pj7/9PT0////////////////////////////////////////////////////
/+n////p////////////////////////////////////////////////+Pj4/1NTU/8AAAD/LCws/8nJ
yf/9/f3/+/v7/7Ozs/8ZGRn/AAAA/3V1df//////////////////////////////////////////////
////////////6f///+n/////////////////////////////////////////////////////uLi4/xMT
E/8AAAD/Hh4e/1hYWP9RUVH/FBQU/wAAAP8kJCT/0tLS////////////////////////////////////
///////////////////////p////6f//////////////////////////////////////////////////
///9/f3/nZ2d/xsbG/8AAAD/AAAA/wAAAP8AAAD/KSkp/7W1tf//////////////////////////////
/////////////////////////////////+n////p////////////////////////////////////////
///////////////////9/f3/zs7O/39/f/9WVlb/Wlpa/4qKiv/b29v/////////////////////////
////////////////////////////////////////////6f///+n/////////////////////////////
////////////////////////////////////////8PDw/8rKyv/Ozs7/9vb2////////////////////
///////////////////////////////////////////////////////p////6f//////////////////
//////////////////////////////////////////////////+3t7f/FBQU/yMjI//V1dX/////////
/////////////////////////////////////////////////////////////////+n////p////////
/////////////////////////////////////////////////////////////7Kysv8EBAT/FBQU/9LS
0v//////////////////////////////////////////////////////////////////////////6f//
/+n/////////////////////////////////////////////////////////////////////s7Oz/wQE
BP8UFBT/0tLS////////////////////////////////////////////////////////////////////
///////p////6f//////////////////////////////////////////////////////////6urq/+Hh
4f+cnJz/AwMD/xQUFP/S0tL/////////////////////////////////////////////////////////
/////////////////+n////p//////////////////////////////////////////////////////7+
/v9ubm7/Ghoa/xUVFf8AAAD/FBQU/9LS0v//////////////////////////////////////////////
////////////////////////////6f///+n/////////////////////////////////////////////
/////////v7+/1tbW/8AAAD/AAAA/wAAAP8UFBT/0tLS////////////////////////////////////
///////////////////////////////////////p////6f//////////////////////////////////
////////////////////////xsbG/6enp/90dHT/AgIC/xQUFP/S0tL/////////////////////////
/////////////////////////////////////////////////+n////p////////////////////////
///////////////////////////////////U1NT/vr6+/4ODg/8DAwP/FBQU/9LS0v//////////////
////////////////////////////////////////////////////////////6f///+n/////////////
/////////////////////////////////////////v7+/19fX/8CAgL/BAQE/wAAAP8UFBT/0tLS////
///////////////////////////////////////////////////////////////////////p////6f//
///////////////////////////////////////////////////+/v7/ZmZm/w0NDf8RERH/EBAQ/yQk
JP/V1dX/////////////////////////////////////////////////////////////////////////
/+n////p///////////////////////////////////////////////////////////f39//zc3N/87O
zv/Ozs7/0tLS//b29v//////////////////////////////////////////////////////////////
////////////6f///+n/////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
///////////////////////p////6f//////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////+n////p////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////6f///+n/////////////////////////////
////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////p////6f//////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////+kAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACgA
AAAwAAAAYAAAAAEAIAAAAAAAACQAAMMOAADDDgAAAAAAAAAAAAD////c////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////9z////c////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/9z////c////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////9z////c////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////9z////c////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////9z////c////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////9z////c////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////+vr6//Pz8//09PT//Pz8////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/9z////c////////////////////////////////////////////////////////////////////////
/////////////////////////v7+/9fX1/+Li4v/UlJS/zs7O/8+Pj7/XV1d/52dnf/m5ub/////////
////////////////////////////////////////////////////////////////////////////////
/////////////////9z////c////////////////////////////////////////////////////////
///////////////////////////////////19fX/kpKS/yEhIf8BAQH/AAAA/wAAAP8AAAD/AAAA/wMD
A/81NTX/srKy//39/f//////////////////////////////////////////////////////////////
/////////////////////////////////9z////c////////////////////////////////////////
//////////////////////////////////////////////j4+P97e3v/BwcH/wAAAP8AAAD/AAAA/wAA
AP8AAAD/AAAA/wAAAP8AAAD/FRUV/6Wlpf//////////////////////////////////////////////
/////////////////////////////////////////////////9z////c////////////////////////
/////////////////////////////////////////////////////////////6Kiov8LCwv/AAAA/wAA
AP8DAwP/KCgo/1FRUf9KSkr/HBwc/wEBAf8AAAD/AAAA/yAgIP/MzMz/////////////////////////
/////////////////////////////////////////////////////////////////9z////c////////
////////////////////////////////////////////////////////////////////////6enp/zc3
N/8AAAD/AAAA/wsLC/97e3v/4uLi//v7+//5+fn/09PT/1hYWP8CAgL/AAAA/wAAAP9kZGT/+/v7////
////////////////////////////////////////////////////////////////////////////////
/9z////c////////////////////////////////////////////////////////////////////////
////////s7Oz/wgICP8AAAD/AAAA/2xsbP/4+Pj//////////////////////+fn5/8/Pz//AAAA/wAA
AP8gICD/3Nzc////////////////////////////////////////////////////////////////////
/////////////////9z////c////////////////////////////////////////////////////////
////////////////////////hISE/wAAAP8AAAD/EhIS/8nJyf//////////////////////////////
//+ZmZn/AQEB/wAAAP8ICAj/uLi4////////////////////////////////////////////////////
/////////////////////////////////9z////c////////////////////////////////////////
////////////////////////////////////////cXFx/wAAAP8AAAD/IyMj/+Li4v//////////////
//////////////////+8vLz/CQkJ/wAAAP8DAwP/p6en////////////////////////////////////
/////////////////////////////////////////////////9z////c////////////////////////
////////////////////////////////////////////////////////fX19/wAAAP8AAAD/GBgY/9TU
1P////////////////////////////////+np6f/BAQE/wAAAP8GBgb/sbGx////////////////////
/////////////////////////////////////////////////////////////////9z////c////////
////////////////////////////////////////////////////////////////////////paWl/wMD
A/8AAAD/AQEB/4qKiv////////////////////////////X19f9YWFj/AAAA/wAAAP8XFxf/0tLS////
////////////////////////////////////////////////////////////////////////////////
/9z////c////////////////////////////////////////////////////////////////////////
////////3d3d/yUlJf8AAAD/AAAA/xoaGv+pqan/+fn5////////////8PDw/4KCgv8ICAj/AAAA/wAA
AP9OTk7/9vb2////////////////////////////////////////////////////////////////////
/////////////////9z////c////////////////////////////////////////////////////////
/////////////////////////////4SEhP8CAgL/AAAA/wAAAP8PDw//VFRU/4eHh/9/f3//QUFB/wcH
B/8AAAD/AAAA/w8PD/+zs7P/////////////////////////////////////////////////////////
/////////////////////////////////9z////c////////////////////////////////////////
/////////////////////////////////////////////+zs7P9UVFT/AAAA/wAAAP8AAAD/AAAA/wAA
AP8AAAD/AAAA/wAAAP8AAAD/BgYG/39/f//6+vr/////////////////////////////////////////
/////////////////////////////////////////////////9z////c////////////////////////
///////////////////////////////////////////////////////////////////l5eX/YmJi/woK
Cv8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8VFRX/hoaG//T09P//////////////////////////////
/////////////////////////////////////////////////////////////////9z////c////////
////////////////////////////////////////////////////////////////////////////////
////////9fX1/62trf9WVlb/JiYm/xUVFf8YGBj/Li4u/2lpaf/FxcX//Pz8////////////////////
////////////////////////////////////////////////////////////////////////////////
/9z////c////////////////////////////////////////////////////////////////////////
///////////////////////////////////6+vr/5+fn/9fX1//a2tr/7Ozs//z8/P//////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////9z////c////////////////////////////////////////////////////////
///////////////////////////////////////////////////6+vr/zs7O/8PDw//Dw8P/2tra////
////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////9z////c////////////////////////////////////////
///////////////////////////////////////////////////////////////////t7e3/ODg4/wgI
CP8HBwf/aGho//7+/v//////////////////////////////////////////////////////////////
/////////////////////////////////////////////////9z////c////////////////////////
////////////////////////////////////////////////////////////////////////////////
///s7Oz/Ly8v/wAAAP8AAAD/YWFh//7+/v//////////////////////////////////////////////
/////////////////////////////////////////////////////////////////9z////c////////
////////////////////////////////////////////////////////////////////////////////
///////////////////s7Oz/Ly8v/wAAAP8AAAD/YWFh//7+/v//////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/9z////c////////////////////////////////////////////////////////////////////////
///////////////////////////////////s7Oz/Ly8v/wAAAP8AAAD/YWFh//7+/v//////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////9z////c////////////////////////////////////////////////////////
///////////////////////////////////////////////////s7Oz/Ly8v/wAAAP8AAAD/YWFh//7+
/v//////////////////////////////////////////////////////////////////////////////
/////////////////////////////////9z////c////////////////////////////////////////
///////////////////////////////////////////////////u7u7/3Nzc/97e3v/MzMz/KSkp/wAA
AP8AAAD/YWFh//7+/v//////////////////////////////////////////////////////////////
/////////////////////////////////////////////////9z////c////////////////////////
//////////////////////////////////////////////////////////////////+Pj4//Gxsb/x4e
Hv8bGxv/BQUF/wAAAP8AAAD/YWFh//7+/v//////////////////////////////////////////////
/////////////////////////////////////////////////////////////////9z////c////////
////////////////////////////////////////////////////////////////////////////////
//+AgID/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/YWFh//7+/v//////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/9z////c////////////////////////////////////////////////////////////////////////
//////////////////+AgID/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/YWFh//7+/v//////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////9z////c////////////////////////////////////////////////////////
//////////////////////////////////++vr7/e3t7/319ff9zc3P/FxcX/wAAAP8AAAD/YWFh//7+
/v//////////////////////////////////////////////////////////////////////////////
/////////////////////////////////9z////c////////////////////////////////////////
///////////////////////////////////////////////////////////////////s7Oz/MDAw/wAA
AP8AAAD/YWFh//7+/v//////////////////////////////////////////////////////////////
/////////////////////////////////////////////////9z////c////////////////////////
///////////////////////////////////////////////////////////////////Pz8//nZ2d/5+f
n/+SkpL/HR0d/wAAAP8AAAD/YWFh//7+/v//////////////////////////////////////////////
/////////////////////////////////////////////////////////////////9z////c////////
////////////////////////////////////////////////////////////////////////////////
//+BgYH/AAAA/wEBAf8BAQH/AAAA/wAAAP8AAAD/YWFh//7+/v//////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/9z////c////////////////////////////////////////////////////////////////////////
//////////////////+AgID/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/YWFh//7+/v//////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////9z////c////////////////////////////////////////////////////////
//////////////////////////////////+Hh4f/CQkJ/wwMDP8MDAz/DAwM/wwMDP8ICAj/aWlp//7+
/v//////////////////////////////////////////////////////////////////////////////
/////////////////////////////////9z////c////////////////////////////////////////
///////////////////////////////////////////////////h4eH/wsLC/8PDw//Dw8P/w8PD/8PD
w//CwsL/2tra////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////9z////c////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////9z////c////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/9z////c////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////9z////c////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////9z////c////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////9z////c////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////9z////c////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/9z////c////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////9wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACJUE5HDQoaCgAAAA1JSERSAAABAAAA
AQAIBAAAAPZ7YO0AAAtISURBVHja7Z1rcJTVGYCf3VwIJCEJkEJEIhAKoVzKrUWKQ4tDobbYotQWq63T
sXZUBovWjmUKDgpltKUyaqc3KBYZLVK0ilYqKmMpDjhEUgeGolwEAyVIuASSkGSTTX9YCwqYs99+2bPn
vO/z++yec9599ru85xaBtjYUoUQiUdtNUOyiAghHBRCOCiAcFUA4KoBwVADhqADCUQGEowIIRwUQjgog
HBVAOCqAcFQA4agAwlEBhKMCCEcFEI4KIBwVQDgqgHBUAOGoAMJRAYSjAghHBRCOCiAcFUA4KoBwVADh
qADCUQGEowIIRwUQjgogHBVAOCqAcFQA4agAwlEBhKMCCEcFEI4KIBwVQDiZthsQBg0cJ6wtz7tQJOpf
4YUAG5lHI5EQvinOFO4jz3aHUogXApxkB40hfdcgWm13J6V4cbUL479/9rvC/Lb0xwsBlOCoAMJRAYSj
AghHBRCOCiAcFUA4KoBwVADhqADCUQGEowIIRwUQjgogHC8ECGs2kES8mBDSjZE0tVMmQj17idluatrh
hQDjWdXuVSBKJTdTY7upaYcXAuSSa1CqmgzbDU1DvHgGUIKjAghHBRCOCiAcFUA4KoBwVADhqADC8SIR
1NJuIhgyOKNjBhfACwE2s4Tmdtb0RThBre2GpiFeCHCIdaGtDpaGF88AstbzhosXAijBUQGEowIIRwUQ
jgogHBVAOCqAcFQA4agAwlEBhKMCCEcFEI4KIBwVQDgqgHC8mBDSmd4G5wU0U0PcdlPTDi8EuIKnDFYH
b+cujttuatrhhQDd6GZQqpVs2w1NQ0Q9A+is4PMRJYByPiqAcFQA4agAwlEBhKMCCEcFEI4KIBwVQDgq
gHBUAOGoAMJRAYSjAghHBRCOCiAcFUA4KoBwVADhqADCUQGEowIIRwUQjgogHBVAOCqAcFQA4agAwlEB
PkabsCWkXiwPNyObEjLa2UYiTndh/4kItAlRvpkaWtst1YUiQQpEIoIEUM4nEpEju3JBVADhqADCUQGE
owIIRwUQjqBE0FnitNBCK3HaiJBBBplkCj1/VJAALdTxH/ayn/c4wjHqaCBGJ3IpoAcllNKfgRTRWdRl
UYQAp3mPSirYxn6O03CRbH+UrhQzkM8xhqH0opPtZqcEzzOBzbzL67zKVg5yxjgkXRnAeCYxhp6eXw28
TgWfoZLneJm3aQjw6QjdGMnVXEWZxxJ4K0CMCh5nHQcNhn8+iRyGcB3foq+nj4ieCrCfZaykKqSR/WxG
cCvXUmC7Wx2AhwLU8zwPszXJf/7HyePr3MFo756ZvRNgN4/wZIccCxGhjLu4nkLbXQy3Vz4J0MI/eYBX
Q/7vn0sh3+YnlNnuaIh4JECM1SzgnQ6e0ZfFFO5npO3OhoY3AsT4E/dSnYKaIoxiMV/05K3AEwEaWcr8
FB4INYglTPEiO+DFlLBGlrEgpeeBvc3drPfkCDrnBYjxJIs4muJad3IvW213PRScF+BFFnDYQr0V3Mc+
250PAccF2MkC9lupuY2XWEit7QAkjdMCHGU+b1qrPc6fWU6L7SAkicMCxFjOWqstaGQJG2yHIUkcTm6/
zu9pCvjZbLqSRyeitHKGU9QFzB9W8TCf4VLboUgCZwWo4Te8m/CnIhQzmM8zjEsoojMZxKjjGAd4iwr+
HWDmwAZWcScZtsMRGGcFWMfLCXe1nGlMZSBdL/CDxahhG2tYz+GE0smNrGQKw2yHIzCOZgIP8f2EBIjy
aW7gBvq1k8JtooLlPJtQWimDOcxz9GRyZ1PBjzGLeuPSeVzLLEYaXqhP83ceZQsx4+8v5ymG2w5JIBxN
BdewKoGfv5SFLGGM8X06n2/yGDfR2biGd/irs4lhJwXYxGbjsgNYzO10S+j7I5SxiJl0MSwf5xmqbAcl
IA4K0MTTnDYs25cHmU5WgFqKmcttxmsDdiX8SJouOCjALv5hWLKY+XwjcBcLmMN3DV+TmnmBOtuBCYSD
Amw0HPzJ4gfMSOoNvTvzmGRYdhu7bAcmEM4JUMdGw/z7RGYlvbyrlJ9SalTyCFssRyYYzglQxQ6jcr24
k5IQ6hvP94xuA81sCbQCyTbOCbDL8AYwlQmh1JfJjYZ5vp0pmZMYNo4JEGeH0cNWL64zfolrjzKmGV0D
DgUYm7CPYwI0ssto3G4so0OrM5PJ9DEoV8tea3EJjmMCnDRKuGQyPsHUzydTbrQSIMZeB6eHOCbAMWoM
Sn2KsaHO2y9klMHrZJwqmq1FJiiOCXCSkwalShkQcr2jjNYE1jiYDHJMgFqjQaD+oS/l7k9RaK1LLxwT
4LTRXbYkgZE8MwooNihVT6OFmCSHYwI0GA275oberRyjW0CTPgN0NDFL53lkGl1TmvUtQDZxB6eFOCZA
lqVl2S1Gd/ccB2cGOiaA2S6e9aHfKBo5YVCqkwrQ0XQ1ysofDn1crtZo/XEuORZikhyOCVBgNMSzL/RF
m3uMJooXkGshJsnhmACFRgmZqtAXbv/LKAPZg7zUhyRJHBOgOz0MSh2lItSngFoqDZ7vo/TRZ4COptBo
YLaZ10LdMmYX2wxKZdHPwZV2jgmQQ7nRNM83Qtw3oIWXOGhQLp9+1uISHMcEiDLE6D5bzV9CexPYw7NG
y8T6hD4GmQocEwDKDad6Ps+mUOprYTXbjUoODmUSaqpxToDLGGpU7giPhDJJczPLjDL8WYwNbRZiKnFO
gFwmGD5qree3gXcQ+ZADLDJc9deTyy1HJhjOCQATuMSoXIzf8URS43Mn+SWvGJYdxWDbgQmEgwIMMp7x
/z7380zg3cPreZTHDQXKZir5tgMTCAcFyGG6cbAPcA9rAl0FanmIXxmvQh7El22HJSAOCgBXJHC/3c/d
LOVUgjXs4x4eNB5RiDLdcAVh+uGkAD2YkcCwy0HmMJutxteBOp7jFv6YwATPgVzjZiBxdpewyYwzfjyD
WlawhZu4hv7tdLiRClayNqEXyEymU247IIFxdJMoWMkdRiN0Z8lhMF9jCuUUXXCbuKO8wd94haoEJ3Z9
lpXObhPn7C5hUMNtrEn4U1GK6MtERlBKMblEaeEU1eyjks3sC7CwI4eFzHZ2o0iHBYAN3Bx4p/Bs8ulM
JhHiNNMQeKtY+Cp/oLftUATGaQFiPMBCyzPxS1nKZNuBSAJH9wn8gCx+yDSrLchhJlfaDkOSOCwA9ORn
jLBWe5QbucXV16hzeuE0w1lAX0t1T2SO0QzF9MZxAeArzKWnhXpHMp/+tjsfAs4LkMn1zKZrimsdyiK+
YLvroeC8ANCF2/lxSg91HsIvmOxD6HA4E/hRGliRsuPjRrKYL/ny87ucB/goLTzNXPZ0cC2ZXMnPGWO7
s6HhkQDQygYWsakD1+jnM4M5Tk7+vhheCQCwm4dY3UHnCJfxI75Dd9tdDBXvBIDTrOXXVIR8HcjnKmYy
LtDJA+mMhwJAnL2s4AkOhLQ+MJNR3MrVRqsSXcNLAQBivMVSXqA6yU1bsv532lippZ1JOhpvBQBoYhtr
eZHdnAnw6QiFDGMq0yjz5JXvgr30WQCAVnbzGhuo5JCxBhEK6Ms4JnE5JZ7+8//fV98FAGjjFPuo5E22
U8X7NF7ktpBBPr3ozwhGM5xLHdzuJXFECPABbTRzkkMc4gBVVHOCBmK0ESWbPHpQwmWU0psS8pwf4jVH
kADn0kacVpppoY0oWWQRJer5xf7CCBVA+RCnp4QpYaACCEcFEI4KIBwVQDgqgHBUAOGoAMJRAYSjAghH
BRCOCiAcFUA4KoBwVADhqADCUQGEowIIRwUQjgogHBVAOCqAcFQA4agAwlEBhKMCCEcFEI4KIBwVQDgq
gHBUAOGoAMJRAYSjAghHBRCOCiCc/wIMZEAAbTedSgAAAABJRU5ErkJggg==
</value>
</data>
</root>

View File

@@ -0,0 +1,136 @@
namespace Cheongbuk_MegaPark_Key_Management
{
partial class RentKeyInfo
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(RentKeyInfo));
this.panel1 = new System.Windows.Forms.Panel();
this.label4 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.label_StartDate = new System.Windows.Forms.Label();
this.button_Close = new System.Windows.Forms.Button();
this.label3 = new System.Windows.Forms.Label();
this.label_Key = new System.Windows.Forms.Label();
this.label_People = new System.Windows.Forms.Label();
this.label_Category = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.panel1.SuspendLayout();
this.SuspendLayout();
//
// panel1
//
this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel1.Controls.Add(this.label4);
this.panel1.Controls.Add(this.label1);
this.panel1.Controls.Add(this.label_StartDate);
this.panel1.Controls.Add(this.button_Close);
this.panel1.Controls.Add(this.label3);
this.panel1.Controls.Add(this.label_Key);
this.panel1.Controls.Add(this.label_People);
this.panel1.Controls.Add(this.label_Category);
this.panel1.Controls.Add(this.label2);
resources.ApplyResources(this.panel1, "panel1");
this.panel1.Name = "panel1";
//
// label4
//
resources.ApplyResources(this.label4, "label4");
this.label4.Name = "label4";
//
// label1
//
resources.ApplyResources(this.label1, "label1");
this.label1.Name = "label1";
//
// label_StartDate
//
resources.ApplyResources(this.label_StartDate, "label_StartDate");
this.label_StartDate.Name = "label_StartDate";
//
// button_Close
//
this.button_Close.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
resources.ApplyResources(this.button_Close, "button_Close");
this.button_Close.Name = "button_Close";
this.button_Close.UseVisualStyleBackColor = false;
this.button_Close.Click += new System.EventHandler(this.Button_Close_Click);
//
// label3
//
resources.ApplyResources(this.label3, "label3");
this.label3.Name = "label3";
//
// label_Key
//
resources.ApplyResources(this.label_Key, "label_Key");
this.label_Key.Name = "label_Key";
//
// label_People
//
resources.ApplyResources(this.label_People, "label_People");
this.label_People.Name = "label_People";
//
// label_Category
//
resources.ApplyResources(this.label_Category, "label_Category");
this.label_Category.Name = "label_Category";
//
// label2
//
resources.ApplyResources(this.label2, "label2");
this.label2.Name = "label2";
//
// RentKeyInfo
//
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
this.Controls.Add(this.panel1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Name = "RentKeyInfo";
this.Load += new System.EventHandler(this.RentKeyInfo_Load);
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label_StartDate;
private System.Windows.Forms.Button button_Close;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label_Key;
private System.Windows.Forms.Label label_People;
private System.Windows.Forms.Label label_Category;
private System.Windows.Forms.Label label2;
}
}

View File

@@ -0,0 +1,33 @@
using System;
using System.Windows.Forms;
namespace Cheongbuk_MegaPark_Key_Management
{
public partial class RentKeyInfo : Form
{
public RentData RentKeyData;
public RentKeyInfo()
{
InitializeComponent();
}
private void Button_Close_Click(object sender, EventArgs e)
{
Close();
}
private void RentKeyInfo_Load(object sender, EventArgs e)
{
label_Key.Text = RentKeyData.KeyCode.ToString();
label_Category.Text = Setting.CategoryDictionary[RentKeyData.Category].CategoryName;
label_People.Text = RentKeyData.People.ToPeople();
label_StartDate.Text = RentKeyData.StartDateTime.ToString("yyyy/MM/dd HH:mm:ss");
// 키번호
// 시작시간
// 기본권
// 인원수
}
}
}

View File

@@ -0,0 +1,462 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="label4.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="label4.Font" type="System.Drawing.Font, System.Drawing">
<value>맑은 고딕, 20.25pt, style=Bold</value>
</data>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="label4.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="label4.Location" type="System.Drawing.Point, System.Drawing">
<value>30, 70</value>
</data>
<data name="label4.Size" type="System.Drawing.Size, System.Drawing">
<value>141, 37</value>
</data>
<data name="label4.TabIndex" type="System.Int32, mscorlib">
<value>5</value>
</data>
<data name="label4.Text" xml:space="preserve">
<value>기 본 권:</value>
</data>
<data name="&gt;&gt;label4.Name" xml:space="preserve">
<value>label4</value>
</data>
<data name="&gt;&gt;label4.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;label4.Parent" xml:space="preserve">
<value>panel1</value>
</data>
<data name="&gt;&gt;label4.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="label1.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="label1.Font" type="System.Drawing.Font, System.Drawing">
<value>맑은 고딕, 20.25pt, style=Bold</value>
</data>
<data name="label1.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="label1.Location" type="System.Drawing.Point, System.Drawing">
<value>30, 30</value>
</data>
<data name="label1.Size" type="System.Drawing.Size, System.Drawing">
<value>141, 37</value>
</data>
<data name="label1.TabIndex" type="System.Int32, mscorlib">
<value>12</value>
</data>
<data name="label1.Text" xml:space="preserve">
<value>키 번 호:</value>
</data>
<data name="&gt;&gt;label1.Name" xml:space="preserve">
<value>label1</value>
</data>
<data name="&gt;&gt;label1.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;label1.Parent" xml:space="preserve">
<value>panel1</value>
</data>
<data name="&gt;&gt;label1.ZOrder" xml:space="preserve">
<value>1</value>
</data>
<data name="label_StartDate.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="label_StartDate.Font" type="System.Drawing.Font, System.Drawing">
<value>맑은 고딕, 20.25pt, style=Bold</value>
</data>
<data name="label_StartDate.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="label_StartDate.Location" type="System.Drawing.Point, System.Drawing">
<value>180, 150</value>
</data>
<data name="label_StartDate.Size" type="System.Drawing.Size, System.Drawing">
<value>288, 37</value>
</data>
<data name="label_StartDate.TabIndex" type="System.Int32, mscorlib">
<value>6</value>
</data>
<data name="label_StartDate.Text" xml:space="preserve">
<value>0000/00/00 00:00:00</value>
</data>
<data name="&gt;&gt;label_StartDate.Name" xml:space="preserve">
<value>label_StartDate</value>
</data>
<data name="&gt;&gt;label_StartDate.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;label_StartDate.Parent" xml:space="preserve">
<value>panel1</value>
</data>
<data name="&gt;&gt;label_StartDate.ZOrder" xml:space="preserve">
<value>2</value>
</data>
<data name="button_Close.Font" type="System.Drawing.Font, System.Drawing">
<value>맑은 고딕, 30pt</value>
</data>
<data name="button_Close.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="button_Close.Location" type="System.Drawing.Point, System.Drawing">
<value>30, 200</value>
</data>
<data name="button_Close.Size" type="System.Drawing.Size, System.Drawing">
<value>438, 85</value>
</data>
<data name="button_Close.TabIndex" type="System.Int32, mscorlib">
<value>4</value>
</data>
<data name="button_Close.Text" xml:space="preserve">
<value>닫  기</value>
</data>
<data name="&gt;&gt;button_Close.Name" xml:space="preserve">
<value>button_Close</value>
</data>
<data name="&gt;&gt;button_Close.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;button_Close.Parent" xml:space="preserve">
<value>panel1</value>
</data>
<data name="&gt;&gt;button_Close.ZOrder" xml:space="preserve">
<value>3</value>
</data>
<data name="label3.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="label3.Font" type="System.Drawing.Font, System.Drawing">
<value>맑은 고딕, 20.25pt, style=Bold</value>
</data>
<data name="label3.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="label3.Location" type="System.Drawing.Point, System.Drawing">
<value>30, 150</value>
</data>
<data name="label3.Size" type="System.Drawing.Size, System.Drawing">
<value>141, 37</value>
</data>
<data name="label3.TabIndex" type="System.Int32, mscorlib">
<value>7</value>
</data>
<data name="label3.Text" xml:space="preserve">
<value>시작 시간:</value>
</data>
<data name="&gt;&gt;label3.Name" xml:space="preserve">
<value>label3</value>
</data>
<data name="&gt;&gt;label3.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;label3.Parent" xml:space="preserve">
<value>panel1</value>
</data>
<data name="&gt;&gt;label3.ZOrder" xml:space="preserve">
<value>4</value>
</data>
<data name="label_Key.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="label_Key.Font" type="System.Drawing.Font, System.Drawing">
<value>맑은 고딕, 20.25pt, style=Bold</value>
</data>
<data name="label_Key.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="label_Key.Location" type="System.Drawing.Point, System.Drawing">
<value>180, 30</value>
</data>
<data name="label_Key.Size" type="System.Drawing.Size, System.Drawing">
<value>65, 37</value>
</data>
<data name="label_Key.TabIndex" type="System.Int32, mscorlib">
<value>11</value>
</data>
<data name="label_Key.Text" xml:space="preserve">
<value>000</value>
</data>
<data name="&gt;&gt;label_Key.Name" xml:space="preserve">
<value>label_Key</value>
</data>
<data name="&gt;&gt;label_Key.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;label_Key.Parent" xml:space="preserve">
<value>panel1</value>
</data>
<data name="&gt;&gt;label_Key.ZOrder" xml:space="preserve">
<value>5</value>
</data>
<data name="label_People.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="label_People.Font" type="System.Drawing.Font, System.Drawing">
<value>맑은 고딕, 20.25pt, style=Bold</value>
</data>
<data name="label_People.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="label_People.Location" type="System.Drawing.Point, System.Drawing">
<value>180, 110</value>
</data>
<data name="label_People.Size" type="System.Drawing.Size, System.Drawing">
<value>60, 37</value>
</data>
<data name="label_People.TabIndex" type="System.Int32, mscorlib">
<value>8</value>
</data>
<data name="label_People.Text" xml:space="preserve">
<value>1명</value>
</data>
<data name="&gt;&gt;label_People.Name" xml:space="preserve">
<value>label_People</value>
</data>
<data name="&gt;&gt;label_People.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;label_People.Parent" xml:space="preserve">
<value>panel1</value>
</data>
<data name="&gt;&gt;label_People.ZOrder" xml:space="preserve">
<value>6</value>
</data>
<data name="label_Category.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="label_Category.Font" type="System.Drawing.Font, System.Drawing">
<value>맑은 고딕, 20.25pt, style=Bold</value>
</data>
<data name="label_Category.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="label_Category.Location" type="System.Drawing.Point, System.Drawing">
<value>180, 70</value>
</data>
<data name="label_Category.Size" type="System.Drawing.Size, System.Drawing">
<value>98, 37</value>
</data>
<data name="label_Category.TabIndex" type="System.Int32, mscorlib">
<value>10</value>
</data>
<data name="label_Category.Text" xml:space="preserve">
<value>종일권</value>
</data>
<data name="&gt;&gt;label_Category.Name" xml:space="preserve">
<value>label_Category</value>
</data>
<data name="&gt;&gt;label_Category.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;label_Category.Parent" xml:space="preserve">
<value>panel1</value>
</data>
<data name="&gt;&gt;label_Category.ZOrder" xml:space="preserve">
<value>7</value>
</data>
<data name="label2.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="label2.Font" type="System.Drawing.Font, System.Drawing">
<value>맑은 고딕, 20.25pt, style=Bold</value>
</data>
<data name="label2.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="label2.Location" type="System.Drawing.Point, System.Drawing">
<value>30, 110</value>
</data>
<data name="label2.Size" type="System.Drawing.Size, System.Drawing">
<value>141, 37</value>
</data>
<data name="label2.TabIndex" type="System.Int32, mscorlib">
<value>9</value>
</data>
<data name="label2.Text" xml:space="preserve">
<value>인 원 수:</value>
</data>
<data name="&gt;&gt;label2.Name" xml:space="preserve">
<value>label2</value>
</data>
<data name="&gt;&gt;label2.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;label2.Parent" xml:space="preserve">
<value>panel1</value>
</data>
<data name="&gt;&gt;label2.ZOrder" xml:space="preserve">
<value>8</value>
</data>
<data name="panel1.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
<value>Fill</value>
</data>
<data name="panel1.Location" type="System.Drawing.Point, System.Drawing">
<value>0, 0</value>
</data>
<data name="panel1.Size" type="System.Drawing.Size, System.Drawing">
<value>490, 320</value>
</data>
<data name="panel1.TabIndex" type="System.Int32, mscorlib">
<value>3</value>
</data>
<data name="&gt;&gt;panel1.Name" xml:space="preserve">
<value>panel1</value>
</data>
<data name="&gt;&gt;panel1.Type" xml:space="preserve">
<value>System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;panel1.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;panel1.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<data name="$this.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing">
<value>7, 12</value>
</data>
<data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
<value>490, 320</value>
</data>
<data name="$this.StartPosition" type="System.Windows.Forms.FormStartPosition, System.Windows.Forms">
<value>CenterParent</value>
</data>
<data name="$this.Text" xml:space="preserve">
<value>RentKeyInfo</value>
</data>
<data name="&gt;&gt;$this.Name" xml:space="preserve">
<value>RentKeyInfo</value>
</data>
<data name="&gt;&gt;$this.Type" xml:space="preserve">
<value>System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
</root>

View File

@@ -0,0 +1,538 @@
namespace Cheongbuk_MegaPark_Key_Management
{
partial class ReturnKey
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ReturnKey));
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.button_ReturnOk = new System.Windows.Forms.Button();
this.button_Cancel = new System.Windows.Forms.Button();
this.label5 = new System.Windows.Forms.Label();
this.label_KeyCode = new System.Windows.Forms.Label();
this.label_Category = new System.Windows.Forms.Label();
this.label_StartDateTime = new System.Windows.Forms.Label();
this.label_UseTime = new System.Windows.Forms.Label();
this.label_Price = new System.Windows.Forms.Label();
this.panel_BaseInformation = new System.Windows.Forms.Panel();
this.label_People = new System.Windows.Forms.Label();
this.label9 = new System.Windows.Forms.Label();
this.panel_Price = new System.Windows.Forms.Panel();
this.label_ElapsedTime = new System.Windows.Forms.Label();
this.label10 = new System.Windows.Forms.Label();
this.panel_Discount = new System.Windows.Forms.Panel();
this.button_DCC = new System.Windows.Forms.Button();
this.button_DC5 = new System.Windows.Forms.Button();
this.button_DC4 = new System.Windows.Forms.Button();
this.button_DC3 = new System.Windows.Forms.Button();
this.button_DC2 = new System.Windows.Forms.Button();
this.button_DC1 = new System.Windows.Forms.Button();
this.button_DC0 = new System.Windows.Forms.Button();
this.label8 = new System.Windows.Forms.Label();
this.panel_FinalPrice = new System.Windows.Forms.Panel();
this.label7 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.label_PriceFinal = new System.Windows.Forms.Label();
this.label_PriceDiscount = new System.Windows.Forms.Label();
this.button_DCALL = new System.Windows.Forms.Button();
this.panel_BaseInformation.SuspendLayout();
this.panel_Price.SuspendLayout();
this.panel_Discount.SuspendLayout();
this.panel_FinalPrice.SuspendLayout();
this.SuspendLayout();
//
// label1
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("맑은 고딕", 20F);
this.label1.Location = new System.Drawing.Point(20, 10);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(203, 37);
this.label1.TabIndex = 0;
this.label1.Text = "키    호:";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Font = new System.Drawing.Font("맑은 고딕", 20F);
this.label2.Location = new System.Drawing.Point(20, 50);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(203, 37);
this.label2.TabIndex = 0;
this.label2.Text = "기본 이용 종류:";
//
// label3
//
this.label3.AutoSize = true;
this.label3.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Bold);
this.label3.Location = new System.Drawing.Point(20, 10);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(204, 37);
this.label3.TabIndex = 0;
this.label3.Text = "대여 시작 시간:";
//
// label4
//
this.label4.AutoSize = true;
this.label4.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Bold);
this.label4.Location = new System.Drawing.Point(20, 90);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(204, 37);
this.label4.TabIndex = 0;
this.label4.Text = "추가 이용 시간:";
//
// button_ReturnOk
//
this.button_ReturnOk.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
this.button_ReturnOk.DialogResult = System.Windows.Forms.DialogResult.Yes;
this.button_ReturnOk.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.button_ReturnOk.Font = new System.Drawing.Font("맑은 고딕", 30F);
this.button_ReturnOk.Location = new System.Drawing.Point(495, 351);
this.button_ReturnOk.Name = "button_ReturnOk";
this.button_ReturnOk.Size = new System.Drawing.Size(416, 70);
this.button_ReturnOk.TabIndex = 0;
this.button_ReturnOk.Text = "반 납";
this.button_ReturnOk.UseVisualStyleBackColor = false;
this.button_ReturnOk.Click += new System.EventHandler(this.Button_ReturnOk_Click);
//
// button_Cancel
//
this.button_Cancel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
this.button_Cancel.DialogResult = System.Windows.Forms.DialogResult.No;
this.button_Cancel.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.button_Cancel.Font = new System.Drawing.Font("맑은 고딕", 30F);
this.button_Cancel.Location = new System.Drawing.Point(495, 427);
this.button_Cancel.Name = "button_Cancel";
this.button_Cancel.Size = new System.Drawing.Size(416, 70);
this.button_Cancel.TabIndex = 1;
this.button_Cancel.Text = "취 소";
this.button_Cancel.UseVisualStyleBackColor = false;
//
// label5
//
this.label5.AutoSize = true;
this.label5.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Bold);
this.label5.Location = new System.Drawing.Point(20, 10);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(204, 37);
this.label5.TabIndex = 0;
this.label5.Text = "추가 이용 요금:";
//
// label_KeyCode
//
this.label_KeyCode.AutoSize = true;
this.label_KeyCode.Font = new System.Drawing.Font("맑은 고딕", 20F);
this.label_KeyCode.Location = new System.Drawing.Point(220, 10);
this.label_KeyCode.Name = "label_KeyCode";
this.label_KeyCode.Size = new System.Drawing.Size(62, 37);
this.label_KeyCode.TabIndex = 0;
this.label_KeyCode.Text = "000";
//
// label_Category
//
this.label_Category.AutoSize = true;
this.label_Category.Font = new System.Drawing.Font("맑은 고딕", 20F);
this.label_Category.Location = new System.Drawing.Point(220, 50);
this.label_Category.Name = "label_Category";
this.label_Category.Size = new System.Drawing.Size(113, 37);
this.label_Category.TabIndex = 0;
this.label_Category.Text = "0시간권";
//
// label_StartDateTime
//
this.label_StartDateTime.AutoSize = true;
this.label_StartDateTime.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Bold);
this.label_StartDateTime.ForeColor = System.Drawing.Color.Red;
this.label_StartDateTime.Location = new System.Drawing.Point(220, 10);
this.label_StartDateTime.Name = "label_StartDateTime";
this.label_StartDateTime.Size = new System.Drawing.Size(288, 37);
this.label_StartDateTime.TabIndex = 0;
this.label_StartDateTime.Text = "0000/00/00 00:00:00";
//
// label_UseTime
//
this.label_UseTime.AutoSize = true;
this.label_UseTime.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Bold);
this.label_UseTime.ForeColor = System.Drawing.Color.Blue;
this.label_UseTime.Location = new System.Drawing.Point(220, 90);
this.label_UseTime.Name = "label_UseTime";
this.label_UseTime.Size = new System.Drawing.Size(171, 37);
this.label_UseTime.TabIndex = 0;
this.label_UseTime.Text = "00시간 00분";
//
// label_Price
//
this.label_Price.Anchor = System.Windows.Forms.AnchorStyles.None;
this.label_Price.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Bold);
this.label_Price.Location = new System.Drawing.Point(220, 10);
this.label_Price.Name = "label_Price";
this.label_Price.Size = new System.Drawing.Size(160, 37);
this.label_Price.TabIndex = 0;
this.label_Price.Text = "00,000원";
this.label_Price.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// panel_BaseInformation
//
this.panel_BaseInformation.BackColor = System.Drawing.Color.White;
this.panel_BaseInformation.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel_BaseInformation.Controls.Add(this.label_People);
this.panel_BaseInformation.Controls.Add(this.label9);
this.panel_BaseInformation.Controls.Add(this.label1);
this.panel_BaseInformation.Controls.Add(this.label_KeyCode);
this.panel_BaseInformation.Controls.Add(this.label_Category);
this.panel_BaseInformation.Controls.Add(this.label2);
this.panel_BaseInformation.Location = new System.Drawing.Point(20, 20);
this.panel_BaseInformation.Name = "panel_BaseInformation";
this.panel_BaseInformation.Size = new System.Drawing.Size(360, 145);
this.panel_BaseInformation.TabIndex = 0;
//
// label_People
//
this.label_People.AutoSize = true;
this.label_People.Font = new System.Drawing.Font("맑은 고딕", 20F);
this.label_People.Location = new System.Drawing.Point(220, 90);
this.label_People.Name = "label_People";
this.label_People.Size = new System.Drawing.Size(59, 37);
this.label_People.TabIndex = 2;
this.label_People.Text = "0명";
//
// label9
//
this.label9.AutoSize = true;
this.label9.Font = new System.Drawing.Font("맑은 고딕", 20F);
this.label9.Location = new System.Drawing.Point(20, 90);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(203, 37);
this.label9.TabIndex = 1;
this.label9.Text = "인    수:";
//
// panel_Price
//
this.panel_Price.BackColor = System.Drawing.Color.White;
this.panel_Price.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel_Price.Controls.Add(this.label3);
this.panel_Price.Controls.Add(this.label_StartDateTime);
this.panel_Price.Controls.Add(this.label_ElapsedTime);
this.panel_Price.Controls.Add(this.label_UseTime);
this.panel_Price.Controls.Add(this.label10);
this.panel_Price.Controls.Add(this.label4);
this.panel_Price.Location = new System.Drawing.Point(391, 20);
this.panel_Price.Name = "panel_Price";
this.panel_Price.Size = new System.Drawing.Size(520, 145);
this.panel_Price.TabIndex = 0;
//
// label_ElapsedTime
//
this.label_ElapsedTime.AutoSize = true;
this.label_ElapsedTime.Font = new System.Drawing.Font("맑은 고딕", 20F);
this.label_ElapsedTime.ForeColor = System.Drawing.Color.Blue;
this.label_ElapsedTime.Location = new System.Drawing.Point(220, 50);
this.label_ElapsedTime.Name = "label_ElapsedTime";
this.label_ElapsedTime.Size = new System.Drawing.Size(167, 37);
this.label_ElapsedTime.TabIndex = 0;
this.label_ElapsedTime.Text = "00시간 00분";
//
// label10
//
this.label10.AutoSize = true;
this.label10.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Bold);
this.label10.Location = new System.Drawing.Point(20, 50);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(204, 37);
this.label10.TabIndex = 0;
this.label10.Text = "경과    시간:";
//
// panel_Discount
//
this.panel_Discount.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
this.panel_Discount.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel_Discount.Controls.Add(this.button_DCALL);
this.panel_Discount.Controls.Add(this.button_DCC);
this.panel_Discount.Controls.Add(this.button_DC5);
this.panel_Discount.Controls.Add(this.button_DC4);
this.panel_Discount.Controls.Add(this.button_DC3);
this.panel_Discount.Controls.Add(this.button_DC2);
this.panel_Discount.Controls.Add(this.button_DC1);
this.panel_Discount.Controls.Add(this.button_DC0);
this.panel_Discount.Controls.Add(this.label8);
this.panel_Discount.Location = new System.Drawing.Point(100, 180);
this.panel_Discount.Name = "panel_Discount";
this.panel_Discount.Size = new System.Drawing.Size(380, 322);
this.panel_Discount.TabIndex = 0;
//
// button_DCC
//
this.button_DCC.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
this.button_DCC.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.button_DCC.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Bold);
this.button_DCC.Location = new System.Drawing.Point(210, 266);
this.button_DCC.Name = "button_DCC";
this.button_DCC.Size = new System.Drawing.Size(150, 50);
this.button_DCC.TabIndex = 8;
this.button_DCC.Tag = "-1";
this.button_DCC.Text = "할인취소";
this.button_DCC.UseVisualStyleBackColor = false;
this.button_DCC.Click += new System.EventHandler(this.Button_DC_Click);
//
// button_DC5
//
this.button_DC5.BackColor = System.Drawing.Color.White;
this.button_DC5.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.button_DC5.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Bold);
this.button_DC5.Location = new System.Drawing.Point(50, 210);
this.button_DC5.Name = "button_DC5";
this.button_DC5.Size = new System.Drawing.Size(150, 50);
this.button_DC5.TabIndex = 7;
this.button_DC5.Tag = "5";
this.button_DC5.Text = "5,000원";
this.button_DC5.UseVisualStyleBackColor = false;
this.button_DC5.Click += new System.EventHandler(this.Button_DC_Click);
//
// button_DC4
//
this.button_DC4.BackColor = System.Drawing.Color.White;
this.button_DC4.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.button_DC4.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Bold);
this.button_DC4.Location = new System.Drawing.Point(210, 158);
this.button_DC4.Name = "button_DC4";
this.button_DC4.Size = new System.Drawing.Size(150, 50);
this.button_DC4.TabIndex = 6;
this.button_DC4.Tag = "4";
this.button_DC4.Text = "4,000원";
this.button_DC4.UseVisualStyleBackColor = false;
this.button_DC4.Click += new System.EventHandler(this.Button_DC_Click);
//
// button_DC3
//
this.button_DC3.BackColor = System.Drawing.Color.White;
this.button_DC3.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.button_DC3.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Bold);
this.button_DC3.Location = new System.Drawing.Point(50, 155);
this.button_DC3.Name = "button_DC3";
this.button_DC3.Size = new System.Drawing.Size(150, 50);
this.button_DC3.TabIndex = 5;
this.button_DC3.Tag = "3";
this.button_DC3.Text = "3,000원";
this.button_DC3.UseVisualStyleBackColor = false;
this.button_DC3.Click += new System.EventHandler(this.Button_DC_Click);
//
// button_DC2
//
this.button_DC2.BackColor = System.Drawing.Color.White;
this.button_DC2.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.button_DC2.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Bold);
this.button_DC2.Location = new System.Drawing.Point(210, 100);
this.button_DC2.Name = "button_DC2";
this.button_DC2.Size = new System.Drawing.Size(150, 50);
this.button_DC2.TabIndex = 4;
this.button_DC2.Tag = "2";
this.button_DC2.Text = "2,000원";
this.button_DC2.UseVisualStyleBackColor = false;
this.button_DC2.Click += new System.EventHandler(this.Button_DC_Click);
//
// button_DC1
//
this.button_DC1.BackColor = System.Drawing.Color.White;
this.button_DC1.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.button_DC1.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Bold);
this.button_DC1.Location = new System.Drawing.Point(50, 100);
this.button_DC1.Name = "button_DC1";
this.button_DC1.Size = new System.Drawing.Size(150, 50);
this.button_DC1.TabIndex = 3;
this.button_DC1.Tag = "1";
this.button_DC1.Text = "1,000원";
this.button_DC1.UseVisualStyleBackColor = false;
this.button_DC1.Click += new System.EventHandler(this.Button_DC_Click);
//
// button_DC0
//
this.button_DC0.BackColor = System.Drawing.Color.White;
this.button_DC0.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.button_DC0.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Bold);
this.button_DC0.Location = new System.Drawing.Point(30, 45);
this.button_DC0.Name = "button_DC0";
this.button_DC0.Size = new System.Drawing.Size(150, 50);
this.button_DC0.TabIndex = 2;
this.button_DC0.Tag = "91";
this.button_DC0.Text = "식사할인";
this.button_DC0.UseVisualStyleBackColor = false;
this.button_DC0.Click += new System.EventHandler(this.Button_DC_Click);
//
// label8
//
this.label8.AutoSize = true;
this.label8.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Bold);
this.label8.Location = new System.Drawing.Point(3, 4);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(89, 37);
this.label8.TabIndex = 0;
this.label8.Text = "할 인";
//
// panel_FinalPrice
//
this.panel_FinalPrice.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
this.panel_FinalPrice.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel_FinalPrice.Controls.Add(this.label7);
this.panel_FinalPrice.Controls.Add(this.label6);
this.panel_FinalPrice.Controls.Add(this.label5);
this.panel_FinalPrice.Controls.Add(this.label_PriceFinal);
this.panel_FinalPrice.Controls.Add(this.label_PriceDiscount);
this.panel_FinalPrice.Controls.Add(this.label_Price);
this.panel_FinalPrice.Location = new System.Drawing.Point(495, 180);
this.panel_FinalPrice.Name = "panel_FinalPrice";
this.panel_FinalPrice.Size = new System.Drawing.Size(416, 157);
this.panel_FinalPrice.TabIndex = 0;
//
// label7
//
this.label7.AutoSize = true;
this.label7.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Bold);
this.label7.Location = new System.Drawing.Point(20, 90);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(204, 37);
this.label7.TabIndex = 0;
this.label7.Text = "최종 결제 금액:";
//
// label6
//
this.label6.AutoSize = true;
this.label6.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Bold);
this.label6.Location = new System.Drawing.Point(20, 50);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(204, 37);
this.label6.TabIndex = 0;
this.label6.Text = "할인    금액:";
//
// label_PriceFinal
//
this.label_PriceFinal.Anchor = System.Windows.Forms.AnchorStyles.None;
this.label_PriceFinal.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Bold);
this.label_PriceFinal.ForeColor = System.Drawing.Color.Blue;
this.label_PriceFinal.Location = new System.Drawing.Point(220, 90);
this.label_PriceFinal.Name = "label_PriceFinal";
this.label_PriceFinal.Size = new System.Drawing.Size(160, 37);
this.label_PriceFinal.TabIndex = 0;
this.label_PriceFinal.Text = "00,000원";
this.label_PriceFinal.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label_PriceDiscount
//
this.label_PriceDiscount.Anchor = System.Windows.Forms.AnchorStyles.None;
this.label_PriceDiscount.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Bold);
this.label_PriceDiscount.ForeColor = System.Drawing.Color.Red;
this.label_PriceDiscount.Location = new System.Drawing.Point(220, 50);
this.label_PriceDiscount.Name = "label_PriceDiscount";
this.label_PriceDiscount.Size = new System.Drawing.Size(160, 37);
this.label_PriceDiscount.TabIndex = 0;
this.label_PriceDiscount.Text = "00,000원";
this.label_PriceDiscount.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// button_DCALL
//
this.button_DCALL.BackColor = System.Drawing.Color.White;
this.button_DCALL.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.button_DCALL.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Bold);
this.button_DCALL.Location = new System.Drawing.Point(210, 210);
this.button_DCALL.Name = "button_DCALL";
this.button_DCALL.Size = new System.Drawing.Size(150, 50);
this.button_DCALL.TabIndex = 9;
this.button_DCALL.Tag = "0";
this.button_DCALL.Text = "전액할인";
this.button_DCALL.UseVisualStyleBackColor = false;
this.button_DCALL.Click += new System.EventHandler(this.Button_DC_Click);
//
// ReturnKey
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
this.ClientSize = new System.Drawing.Size(930, 520);
this.Controls.Add(this.panel_FinalPrice);
this.Controls.Add(this.panel_Discount);
this.Controls.Add(this.panel_Price);
this.Controls.Add(this.panel_BaseInformation);
this.Controls.Add(this.button_Cancel);
this.Controls.Add(this.button_ReturnOk);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "ReturnKey";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "ReturnKey";
this.TopMost = true;
this.Shown += new System.EventHandler(this.ReturnKey_Shown);
this.panel_BaseInformation.ResumeLayout(false);
this.panel_BaseInformation.PerformLayout();
this.panel_Price.ResumeLayout(false);
this.panel_Price.PerformLayout();
this.panel_Discount.ResumeLayout(false);
this.panel_Discount.PerformLayout();
this.panel_FinalPrice.ResumeLayout(false);
this.panel_FinalPrice.PerformLayout();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Button button_ReturnOk;
private System.Windows.Forms.Button button_Cancel;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label_KeyCode;
private System.Windows.Forms.Label label_Category;
private System.Windows.Forms.Label label_StartDateTime;
private System.Windows.Forms.Label label_UseTime;
private System.Windows.Forms.Label label_Price;
private System.Windows.Forms.Panel panel_BaseInformation;
private System.Windows.Forms.Panel panel_Price;
private System.Windows.Forms.Panel panel_Discount;
private System.Windows.Forms.Panel panel_FinalPrice;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.Label label_PriceFinal;
private System.Windows.Forms.Label label_PriceDiscount;
private System.Windows.Forms.Button button_DCC;
private System.Windows.Forms.Button button_DC5;
private System.Windows.Forms.Button button_DC4;
private System.Windows.Forms.Button button_DC3;
private System.Windows.Forms.Button button_DC2;
private System.Windows.Forms.Button button_DC1;
private System.Windows.Forms.Button button_DC0;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.Label label_People;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.Label label_ElapsedTime;
private System.Windows.Forms.Label label10;
private System.Windows.Forms.Button button_DCALL;
}
}

View File

@@ -0,0 +1,111 @@
using System;
using System.Windows.Forms;
namespace Cheongbuk_MegaPark_Key_Management
{
public partial class ReturnKey : Form
{
private int _price;
private int _priceDiscount;
private int _priceFinal;
private ProfitData _profitData;
public RentData Data;
public ProfitData ReturnData;
public ReturnKey()
{
InitializeComponent();
_price = 0;
_priceDiscount = 0;
_priceFinal = 0;
}
private void Button_ReturnOk_Click(object sender, EventArgs e)
{
_profitData.ProfitAdd = _price;
_profitData.ProfitDiscount = _priceDiscount;
ReturnData = _profitData;
}
private void ReturnKey_Shown(object sender, EventArgs e)
{
_profitData = new ProfitData();
_profitData.KeyCode = Data.KeyCode;
_profitData.Category = Data.Category;
_profitData.StartDateTime = Data.StartDateTime;
_profitData.People = Data.People;
_profitData.EndDateTime = DateTime.Now;
_profitData.ProfitBase = Setting.CategoryDictionary[Data.Category].CategoryProfit * Data.People;
var elapsedTime = (int)(DateTime.Now - Data.StartDateTime).TotalMinutes;
var elapsedTimeH = elapsedTime / 60;
var elapsedTimeM = elapsedTime % 60;
label_ElapsedTime.Text = elapsedTimeH.ToThousand() + "시간 " + elapsedTimeM.ToThousand() + "분";
var useTime = elapsedTime - (_profitData.Category * 60);
_profitData.UseTime = useTime > 0 ? useTime : 0;
_price = _profitData.UseTime / Setting.OverTime * Setting.OverAmount * Data.People;
// 할인 버튼 활성화
label_KeyCode.Text = _profitData.KeyCode.ToString();
label_Category.Text = Setting.CategoryDictionary[_profitData.Category].CategoryName;
label_People.Text = _profitData.People.ToPeople();
label_StartDateTime.Text = _profitData.StartDateTime.ToString("yyyy/MM/dd HH:mm:ss");
var useTimeH = _profitData.UseTime / 60;
var useTimeM = _profitData.UseTime % 60;
label_UseTime.Text = useTimeH.ToThousand() + "시간 " + useTimeM.ToThousand() + "분";
ChangePrice();
button_ReturnOk.Focus();
}
private void ChangePrice()
{
_priceFinal = _price - _priceDiscount;
label_Price.Text = _price.ToMoney();
label_PriceDiscount.Text = _priceDiscount.ToMoney();
label_PriceFinal.Text = _priceFinal.ToMoney();
}
private void Button_DC_Click(object sender, EventArgs e)
{
int.TryParse(((Button)sender).Tag.ToString(), out var value);
if (value == -1)
{
_priceDiscount = 0;
_priceFinal = _price;
}
else
{
int sumDiscount = 0;
if (value == 91)
{
sumDiscount = _priceDiscount + (Setting.DiscountDatas[value].Value * _profitData.People);
}
else if(value ==0)
{
sumDiscount = _price;
}
else
{
sumDiscount = _priceDiscount + Setting.DiscountDatas[value].Value;
}
if (sumDiscount <= _price)
{
_priceDiscount = sumDiscount;
_priceFinal = _price - _priceDiscount;
}
else
{
_priceDiscount = _price;
_priceFinal = 0;
}
}
ChangePrice();
}
}
}

View File

@@ -0,0 +1,467 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAUAEBAAAAEAIABoBAAAVgAAABgYAAABACAAiAkAAL4EAAAgIAAAAQAgAKgQAABGDgAAMDAAAAEA
IACoJQAA7h4AAAAAAAABACAAgQsAAJZEAAAoAAAAEAAAACAAAAABACAAAAAAAAAEAADDDgAAww4AAAAA
AAAAAAAA////9f//////////////////////////////////////////////////////////////////
////////////9f////X/////////////////////////////////////////////////////////////
//////////////////X////1///////////////////////////Hx8f/cXFx/3Z2dv/Pz8//////////
///////////////////////1////9f/////////////////////Nzc3/Kysr/05OTv9ISEj/MjIy/9nZ
2f//////////////////////////9f////X/////////////////////g4OD/0VFRf/19fX/7u7u/zg4
OP+Wlpb///////////////////////////X////1/////////////////////5CQkP83Nzf/39/f/9bW
1v8uLi7/oqKi///////////////////////////1////9f/////////////////////h4eH/RUVF/yws
LP8pKSn/UFBQ/+np6f//////////////////////////9f////X//////////////////////////+fn
5/+QkJD/l5eX/+zs7P////////////////////////////////X////1////////////////////////
////////b29v/4CAgP/////////////////////////////////////1////9f//////////////////
///+/v7/5ubm/1FRUf9xcXH/////////////////////////////////////9f////X/////////////
////////9fX1/1xcXP8KCgr/dHR0//////////////////////////////////////X////1////////
//////////////r6+v+pqan/MjIy/3Nzc//////////////////////////////////////1////9f//
///////////////////19fX/W1tb/xkZGf+BgYH/////////////////////////////////////9f//
//X//////////////////////f39/+Dg4P/W1tb/6urq////////////////////////////////////
//X////1////////////////////////////////////////////////////////////////////////
///////1////9f//////////////////////////////////////////////////////////////////
////////////9QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAoAAAAGAAAADAAAAABACAAAAAAAAAJAADDDgAAww4AAAAAAAAAAAAA////7///
////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////v////7///////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
///////v////7///////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////v////7///////////////////
////////////////////////+/v7/8zMzP+ampr/np6e/9TU1P/9/f3/////////////////////////
///////////////////////v////7//////////////////////////////////////4+Pj/hISE/xMT
E/8AAAD/AAAA/xoaGv+YmJj//Pz8///////////////////////////////////////////v////7///
//////////////////////////////////+pqan/CQkJ/ywsLP+Pj4//h4eH/yAgIP8SEhL/wMDA////
///////////////////////////////////////v////7/////////////////////////////////z8
/P9YWFj/CgoK/7u7u////////////6SkpP8CAgL/c3Nz////////////////////////////////////
///////v////7/////////////////////////////////j4+P9FRUX/GBgY/9zc3P///////////8nJ
yf8KCgr/X19f///////////////////////////////////////////v////7///////////////////
//////////////////9wcHD/AgIC/4uLi//29vb/8fHx/3R0dP8AAAD/i4uL////////////////////
///////////////////////v////7//////////////////////////////////////Pz8//JSUl/wkJ
Cf8+Pj7/ODg4/wUFBf81NTX/39/f///////////////////////////////////////////v////7///
////////////////////////////////////////xMTE/05OTv8dHR3/Hx8f/1paWv/R0dH/////////
///////////////////////////////////////v////7///////////////////////////////////
//////////////Ly8v+4uLj/vr6+//f39///////////////////////////////////////////////
///////v////7////////////////////////////////////////////////+np6f81NTX/S0tL//X1
9f/////////////////////////////////////////////////////v////7///////////////////
/////////////////////////////+fn5/8jIyP/Ojo6//T09P//////////////////////////////
///////////////////////v////7//////////////////////////////////////+/v7/6enp/8nJ
yf8eHh7/Ojo6//T09P/////////////////////////////////////////////////////v////7///
///////////////////////////////////6+vr/XFxc/xQUFP8AAAD/PDw8//T09P//////////////
///////////////////////////////////////v////7///////////////////////////////////
///7+/v/f39//0BAQP8HBwf/PDw8//T09P//////////////////////////////////////////////
///////v////7//////////////////////////////////////9/f3/0dHR/6mpqf8ZGRn/Ojo6//T0
9P/////////////////////////////////////////////////////v////7///////////////////
///////////////////5+fn/T09P/wMDA/8AAAD/PDw8//T09P//////////////////////////////
///////////////////////v////7//////////////////////////////////////8/Pz/lpaW/2lp
af9qamr/j4+P//n5+f/////////////////////////////////////////////////////v////7///
////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////v////7///////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
///////v////7///////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////v////7///////////////////
////////////////////////////////////////////////////////////////////////////////
///////////////////////vAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAAACAA
AABAAAAAAQAgAAAAAAAAEAAAww4AAMMOAAAAAAAAAAAAAP///+n/////////////////////////////
////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////p////6f//////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////+n////p////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////6f//
/+n/////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
///////p////6f////////////////////////////////////////////////////////////////v7
+//d3d3/v7+//8LCwv/j4+P//f39////////////////////////////////////////////////////
/////////////////+n////p////////////////////////////////////////////////////////
///i4uL/b29v/x8fH/8JCQn/CgoK/ycnJ/+Dg4P/7e3t////////////////////////////////////
////////////////////////////6f///+n/////////////////////////////////////////////
////////5ubm/0hISP8AAAD/AQEB/wsLC/8JCQn/AAAA/wICAv9kZGT/8/Pz////////////////////
///////////////////////////////////////p////6f//////////////////////////////////
//////////////////+BgYH/AAAA/wkJCf9ubm7/w8PD/7y8vP9aWlr/AwMD/wYGBv+jo6P/////////
/////////////////////////////////////////////////+n////p////////////////////////
////////////////////////7e3t/zQ0NP8AAAD/YGBg//f39////////////+zs7P9CQkL/AAAA/1JS
Uv/6+vr/////////////////////////////////////////////////////6f///+n/////////////
///////////////////////////////////c3Nz/Gxsb/wAAAP+ioqL//////////////////////35+
fv8AAAD/NDQ0/+/v7//////////////////////////////////////////////////////p////6f//
/////////////////////////////////////////////+Li4v8jIyP/AAAA/4yMjP//////////////
///+/v7/aWlp/wAAAP8+Pj7/9PT0////////////////////////////////////////////////////
/+n////p////////////////////////////////////////////////+Pj4/1NTU/8AAAD/LCws/8nJ
yf/9/f3/+/v7/7Ozs/8ZGRn/AAAA/3V1df//////////////////////////////////////////////
////////////6f///+n/////////////////////////////////////////////////////uLi4/xMT
E/8AAAD/Hh4e/1hYWP9RUVH/FBQU/wAAAP8kJCT/0tLS////////////////////////////////////
///////////////////////p////6f//////////////////////////////////////////////////
///9/f3/nZ2d/xsbG/8AAAD/AAAA/wAAAP8AAAD/KSkp/7W1tf//////////////////////////////
/////////////////////////////////+n////p////////////////////////////////////////
///////////////////9/f3/zs7O/39/f/9WVlb/Wlpa/4qKiv/b29v/////////////////////////
////////////////////////////////////////////6f///+n/////////////////////////////
////////////////////////////////////////8PDw/8rKyv/Ozs7/9vb2////////////////////
///////////////////////////////////////////////////////p////6f//////////////////
//////////////////////////////////////////////////+3t7f/FBQU/yMjI//V1dX/////////
/////////////////////////////////////////////////////////////////+n////p////////
/////////////////////////////////////////////////////////////7Kysv8EBAT/FBQU/9LS
0v//////////////////////////////////////////////////////////////////////////6f//
/+n/////////////////////////////////////////////////////////////////////s7Oz/wQE
BP8UFBT/0tLS////////////////////////////////////////////////////////////////////
///////p////6f//////////////////////////////////////////////////////////6urq/+Hh
4f+cnJz/AwMD/xQUFP/S0tL/////////////////////////////////////////////////////////
/////////////////+n////p//////////////////////////////////////////////////////7+
/v9ubm7/Ghoa/xUVFf8AAAD/FBQU/9LS0v//////////////////////////////////////////////
////////////////////////////6f///+n/////////////////////////////////////////////
/////////v7+/1tbW/8AAAD/AAAA/wAAAP8UFBT/0tLS////////////////////////////////////
///////////////////////////////////////p////6f//////////////////////////////////
////////////////////////xsbG/6enp/90dHT/AgIC/xQUFP/S0tL/////////////////////////
/////////////////////////////////////////////////+n////p////////////////////////
///////////////////////////////////U1NT/vr6+/4ODg/8DAwP/FBQU/9LS0v//////////////
////////////////////////////////////////////////////////////6f///+n/////////////
/////////////////////////////////////////v7+/19fX/8CAgL/BAQE/wAAAP8UFBT/0tLS////
///////////////////////////////////////////////////////////////////////p////6f//
///////////////////////////////////////////////////+/v7/ZmZm/w0NDf8RERH/EBAQ/yQk
JP/V1dX/////////////////////////////////////////////////////////////////////////
/+n////p///////////////////////////////////////////////////////////f39//zc3N/87O
zv/Ozs7/0tLS//b29v//////////////////////////////////////////////////////////////
////////////6f///+n/////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
///////////////////////p////6f//////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////+n////p////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////6f///+n/////////////////////////////
////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////p////6f//////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////+kAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACgA
AAAwAAAAYAAAAAEAIAAAAAAAACQAAMMOAADDDgAAAAAAAAAAAAD////c////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////9z////c////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/9z////c////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////9z////c////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////9z////c////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////9z////c////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////9z////c////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////+vr6//Pz8//09PT//Pz8////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/9z////c////////////////////////////////////////////////////////////////////////
/////////////////////////v7+/9fX1/+Li4v/UlJS/zs7O/8+Pj7/XV1d/52dnf/m5ub/////////
////////////////////////////////////////////////////////////////////////////////
/////////////////9z////c////////////////////////////////////////////////////////
///////////////////////////////////19fX/kpKS/yEhIf8BAQH/AAAA/wAAAP8AAAD/AAAA/wMD
A/81NTX/srKy//39/f//////////////////////////////////////////////////////////////
/////////////////////////////////9z////c////////////////////////////////////////
//////////////////////////////////////////////j4+P97e3v/BwcH/wAAAP8AAAD/AAAA/wAA
AP8AAAD/AAAA/wAAAP8AAAD/FRUV/6Wlpf//////////////////////////////////////////////
/////////////////////////////////////////////////9z////c////////////////////////
/////////////////////////////////////////////////////////////6Kiov8LCwv/AAAA/wAA
AP8DAwP/KCgo/1FRUf9KSkr/HBwc/wEBAf8AAAD/AAAA/yAgIP/MzMz/////////////////////////
/////////////////////////////////////////////////////////////////9z////c////////
////////////////////////////////////////////////////////////////////////6enp/zc3
N/8AAAD/AAAA/wsLC/97e3v/4uLi//v7+//5+fn/09PT/1hYWP8CAgL/AAAA/wAAAP9kZGT/+/v7////
////////////////////////////////////////////////////////////////////////////////
/9z////c////////////////////////////////////////////////////////////////////////
////////s7Oz/wgICP8AAAD/AAAA/2xsbP/4+Pj//////////////////////+fn5/8/Pz//AAAA/wAA
AP8gICD/3Nzc////////////////////////////////////////////////////////////////////
/////////////////9z////c////////////////////////////////////////////////////////
////////////////////////hISE/wAAAP8AAAD/EhIS/8nJyf//////////////////////////////
//+ZmZn/AQEB/wAAAP8ICAj/uLi4////////////////////////////////////////////////////
/////////////////////////////////9z////c////////////////////////////////////////
////////////////////////////////////////cXFx/wAAAP8AAAD/IyMj/+Li4v//////////////
//////////////////+8vLz/CQkJ/wAAAP8DAwP/p6en////////////////////////////////////
/////////////////////////////////////////////////9z////c////////////////////////
////////////////////////////////////////////////////////fX19/wAAAP8AAAD/GBgY/9TU
1P////////////////////////////////+np6f/BAQE/wAAAP8GBgb/sbGx////////////////////
/////////////////////////////////////////////////////////////////9z////c////////
////////////////////////////////////////////////////////////////////////paWl/wMD
A/8AAAD/AQEB/4qKiv////////////////////////////X19f9YWFj/AAAA/wAAAP8XFxf/0tLS////
////////////////////////////////////////////////////////////////////////////////
/9z////c////////////////////////////////////////////////////////////////////////
////////3d3d/yUlJf8AAAD/AAAA/xoaGv+pqan/+fn5////////////8PDw/4KCgv8ICAj/AAAA/wAA
AP9OTk7/9vb2////////////////////////////////////////////////////////////////////
/////////////////9z////c////////////////////////////////////////////////////////
/////////////////////////////4SEhP8CAgL/AAAA/wAAAP8PDw//VFRU/4eHh/9/f3//QUFB/wcH
B/8AAAD/AAAA/w8PD/+zs7P/////////////////////////////////////////////////////////
/////////////////////////////////9z////c////////////////////////////////////////
/////////////////////////////////////////////+zs7P9UVFT/AAAA/wAAAP8AAAD/AAAA/wAA
AP8AAAD/AAAA/wAAAP8AAAD/BgYG/39/f//6+vr/////////////////////////////////////////
/////////////////////////////////////////////////9z////c////////////////////////
///////////////////////////////////////////////////////////////////l5eX/YmJi/woK
Cv8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8VFRX/hoaG//T09P//////////////////////////////
/////////////////////////////////////////////////////////////////9z////c////////
////////////////////////////////////////////////////////////////////////////////
////////9fX1/62trf9WVlb/JiYm/xUVFf8YGBj/Li4u/2lpaf/FxcX//Pz8////////////////////
////////////////////////////////////////////////////////////////////////////////
/9z////c////////////////////////////////////////////////////////////////////////
///////////////////////////////////6+vr/5+fn/9fX1//a2tr/7Ozs//z8/P//////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////9z////c////////////////////////////////////////////////////////
///////////////////////////////////////////////////6+vr/zs7O/8PDw//Dw8P/2tra////
////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////9z////c////////////////////////////////////////
///////////////////////////////////////////////////////////////////t7e3/ODg4/wgI
CP8HBwf/aGho//7+/v//////////////////////////////////////////////////////////////
/////////////////////////////////////////////////9z////c////////////////////////
////////////////////////////////////////////////////////////////////////////////
///s7Oz/Ly8v/wAAAP8AAAD/YWFh//7+/v//////////////////////////////////////////////
/////////////////////////////////////////////////////////////////9z////c////////
////////////////////////////////////////////////////////////////////////////////
///////////////////s7Oz/Ly8v/wAAAP8AAAD/YWFh//7+/v//////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/9z////c////////////////////////////////////////////////////////////////////////
///////////////////////////////////s7Oz/Ly8v/wAAAP8AAAD/YWFh//7+/v//////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////9z////c////////////////////////////////////////////////////////
///////////////////////////////////////////////////s7Oz/Ly8v/wAAAP8AAAD/YWFh//7+
/v//////////////////////////////////////////////////////////////////////////////
/////////////////////////////////9z////c////////////////////////////////////////
///////////////////////////////////////////////////u7u7/3Nzc/97e3v/MzMz/KSkp/wAA
AP8AAAD/YWFh//7+/v//////////////////////////////////////////////////////////////
/////////////////////////////////////////////////9z////c////////////////////////
//////////////////////////////////////////////////////////////////+Pj4//Gxsb/x4e
Hv8bGxv/BQUF/wAAAP8AAAD/YWFh//7+/v//////////////////////////////////////////////
/////////////////////////////////////////////////////////////////9z////c////////
////////////////////////////////////////////////////////////////////////////////
//+AgID/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/YWFh//7+/v//////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/9z////c////////////////////////////////////////////////////////////////////////
//////////////////+AgID/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/YWFh//7+/v//////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////9z////c////////////////////////////////////////////////////////
//////////////////////////////////++vr7/e3t7/319ff9zc3P/FxcX/wAAAP8AAAD/YWFh//7+
/v//////////////////////////////////////////////////////////////////////////////
/////////////////////////////////9z////c////////////////////////////////////////
///////////////////////////////////////////////////////////////////s7Oz/MDAw/wAA
AP8AAAD/YWFh//7+/v//////////////////////////////////////////////////////////////
/////////////////////////////////////////////////9z////c////////////////////////
///////////////////////////////////////////////////////////////////Pz8//nZ2d/5+f
n/+SkpL/HR0d/wAAAP8AAAD/YWFh//7+/v//////////////////////////////////////////////
/////////////////////////////////////////////////////////////////9z////c////////
////////////////////////////////////////////////////////////////////////////////
//+BgYH/AAAA/wEBAf8BAQH/AAAA/wAAAP8AAAD/YWFh//7+/v//////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/9z////c////////////////////////////////////////////////////////////////////////
//////////////////+AgID/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/YWFh//7+/v//////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////9z////c////////////////////////////////////////////////////////
//////////////////////////////////+Hh4f/CQkJ/wwMDP8MDAz/DAwM/wwMDP8ICAj/aWlp//7+
/v//////////////////////////////////////////////////////////////////////////////
/////////////////////////////////9z////c////////////////////////////////////////
///////////////////////////////////////////////////h4eH/wsLC/8PDw//Dw8P/w8PD/8PD
w//CwsL/2tra////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////9z////c////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////9z////c////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/9z////c////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////9z////c////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////9z////c////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////9z////c////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////9z////c////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/9z////c////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////9wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACJUE5HDQoaCgAAAA1JSERSAAABAAAA
AQAIBAAAAPZ7YO0AAAtISURBVHja7Z1rcJTVGYCf3VwIJCEJkEJEIhAKoVzKrUWKQ4tDobbYotQWq63T
sXZUBovWjmUKDgpltKUyaqc3KBYZLVK0ilYqKmMpDjhEUgeGolwEAyVIuASSkGSTTX9YCwqYs99+2bPn
vO/z++yec9599ru85xaBtjYUoUQiUdtNUOyiAghHBRCOCiAcFUA4KoBwVADhqADCUQGEowIIRwUQjgog
HBVAOCqAcFQA4agAwlEBhKMCCEcFEI4KIBwVQDgqgHBUAOGoAMJRAYSjAghHBRCOCiAcFUA4KoBwVADh
qADCUQGEowIIRwUQjgogHBVAOCqAcFQA4agAwlEBhKMCCEcFEI4KIBwVQDiZthsQBg0cJ6wtz7tQJOpf
4YUAG5lHI5EQvinOFO4jz3aHUogXApxkB40hfdcgWm13J6V4cbUL479/9rvC/Lb0xwsBlOCoAMJRAYSj
AghHBRCOCiAcFUA4KoBwVADhqADCUQGEowIIRwUQjgogHC8ECGs2kES8mBDSjZE0tVMmQj17idluatrh
hQDjWdXuVSBKJTdTY7upaYcXAuSSa1CqmgzbDU1DvHgGUIKjAghHBRCOCiAcFUA4KoBwVADhqADC8SIR
1NJuIhgyOKNjBhfACwE2s4Tmdtb0RThBre2GpiFeCHCIdaGtDpaGF88AstbzhosXAijBUQGEowIIRwUQ
jgogHBVAOCqAcFQA4agAwlEBhKMCCEcFEI4KIBwVQDgqgHC8mBDSmd4G5wU0U0PcdlPTDi8EuIKnDFYH
b+cujttuatrhhQDd6GZQqpVs2w1NQ0Q9A+is4PMRJYByPiqAcFQA4agAwlEBhKMCCEcFEI4KIBwVQDgq
gHBUAOGoAMJRAYSjAghHBRCOCiAcFUA4KoBwVADhqADCUQGEowIIRwUQjgogHBVAOCqAcFQA4agAwlEB
PkabsCWkXiwPNyObEjLa2UYiTndh/4kItAlRvpkaWtst1YUiQQpEIoIEUM4nEpEju3JBVADhqADCUQGE
owIIRwUQjqBE0FnitNBCK3HaiJBBBplkCj1/VJAALdTxH/ayn/c4wjHqaCBGJ3IpoAcllNKfgRTRWdRl
UYQAp3mPSirYxn6O03CRbH+UrhQzkM8xhqH0opPtZqcEzzOBzbzL67zKVg5yxjgkXRnAeCYxhp6eXw28
TgWfoZLneJm3aQjw6QjdGMnVXEWZxxJ4K0CMCh5nHQcNhn8+iRyGcB3foq+nj4ieCrCfZaykKqSR/WxG
cCvXUmC7Wx2AhwLU8zwPszXJf/7HyePr3MFo756ZvRNgN4/wZIccCxGhjLu4nkLbXQy3Vz4J0MI/eYBX
Q/7vn0sh3+YnlNnuaIh4JECM1SzgnQ6e0ZfFFO5npO3OhoY3AsT4E/dSnYKaIoxiMV/05K3AEwEaWcr8
FB4INYglTPEiO+DFlLBGlrEgpeeBvc3drPfkCDrnBYjxJIs4muJad3IvW213PRScF+BFFnDYQr0V3Mc+
250PAccF2MkC9lupuY2XWEit7QAkjdMCHGU+b1qrPc6fWU6L7SAkicMCxFjOWqstaGQJG2yHIUkcTm6/
zu9pCvjZbLqSRyeitHKGU9QFzB9W8TCf4VLboUgCZwWo4Te8m/CnIhQzmM8zjEsoojMZxKjjGAd4iwr+
HWDmwAZWcScZtsMRGGcFWMfLCXe1nGlMZSBdL/CDxahhG2tYz+GE0smNrGQKw2yHIzCOZgIP8f2EBIjy
aW7gBvq1k8JtooLlPJtQWimDOcxz9GRyZ1PBjzGLeuPSeVzLLEYaXqhP83ceZQsx4+8v5ymG2w5JIBxN
BdewKoGfv5SFLGGM8X06n2/yGDfR2biGd/irs4lhJwXYxGbjsgNYzO10S+j7I5SxiJl0MSwf5xmqbAcl
IA4K0MTTnDYs25cHmU5WgFqKmcttxmsDdiX8SJouOCjALv5hWLKY+XwjcBcLmMN3DV+TmnmBOtuBCYSD
Amw0HPzJ4gfMSOoNvTvzmGRYdhu7bAcmEM4JUMdGw/z7RGYlvbyrlJ9SalTyCFssRyYYzglQxQ6jcr24
k5IQ6hvP94xuA81sCbQCyTbOCbDL8AYwlQmh1JfJjYZ5vp0pmZMYNo4JEGeH0cNWL64zfolrjzKmGV0D
DgUYm7CPYwI0ssto3G4so0OrM5PJ9DEoV8tea3EJjmMCnDRKuGQyPsHUzydTbrQSIMZeB6eHOCbAMWoM
Sn2KsaHO2y9klMHrZJwqmq1FJiiOCXCSkwalShkQcr2jjNYE1jiYDHJMgFqjQaD+oS/l7k9RaK1LLxwT
4LTRXbYkgZE8MwooNihVT6OFmCSHYwI0GA275oberRyjW0CTPgN0NDFL53lkGl1TmvUtQDZxB6eFOCZA
lqVl2S1Gd/ccB2cGOiaA2S6e9aHfKBo5YVCqkwrQ0XQ1ysofDn1crtZo/XEuORZikhyOCVBgNMSzL/RF
m3uMJooXkGshJsnhmACFRgmZqtAXbv/LKAPZg7zUhyRJHBOgOz0MSh2lItSngFoqDZ7vo/TRZ4COptBo
YLaZ10LdMmYX2wxKZdHPwZV2jgmQQ7nRNM83Qtw3oIWXOGhQLp9+1uISHMcEiDLE6D5bzV9CexPYw7NG
y8T6hD4GmQocEwDKDad6Ps+mUOprYTXbjUoODmUSaqpxToDLGGpU7giPhDJJczPLjDL8WYwNbRZiKnFO
gFwmGD5qree3gXcQ+ZADLDJc9deTyy1HJhjOCQATuMSoXIzf8URS43Mn+SWvGJYdxWDbgQmEgwIMMp7x
/z7380zg3cPreZTHDQXKZir5tgMTCAcFyGG6cbAPcA9rAl0FanmIXxmvQh7El22HJSAOCgBXJHC/3c/d
LOVUgjXs4x4eNB5RiDLdcAVh+uGkAD2YkcCwy0HmMJutxteBOp7jFv6YwATPgVzjZiBxdpewyYwzfjyD
WlawhZu4hv7tdLiRClayNqEXyEymU247IIFxdJMoWMkdRiN0Z8lhMF9jCuUUXXCbuKO8wd94haoEJ3Z9
lpXObhPn7C5hUMNtrEn4U1GK6MtERlBKMblEaeEU1eyjks3sC7CwI4eFzHZ2o0iHBYAN3Bx4p/Bs8ulM
JhHiNNMQeKtY+Cp/oLftUATGaQFiPMBCyzPxS1nKZNuBSAJH9wn8gCx+yDSrLchhJlfaDkOSOCwA9ORn
jLBWe5QbucXV16hzeuE0w1lAX0t1T2SO0QzF9MZxAeArzKWnhXpHMp/+tjsfAs4LkMn1zKZrimsdyiK+
YLvroeC8ANCF2/lxSg91HsIvmOxD6HA4E/hRGliRsuPjRrKYL/ny87ucB/goLTzNXPZ0cC2ZXMnPGWO7
s6HhkQDQygYWsakD1+jnM4M5Tk7+vhheCQCwm4dY3UHnCJfxI75Dd9tdDBXvBIDTrOXXVIR8HcjnKmYy
LtDJA+mMhwJAnL2s4AkOhLQ+MJNR3MrVRqsSXcNLAQBivMVSXqA6yU1bsv532lippZ1JOhpvBQBoYhtr
eZHdnAnw6QiFDGMq0yjz5JXvgr30WQCAVnbzGhuo5JCxBhEK6Ms4JnE5JZ7+8//fV98FAGjjFPuo5E22
U8X7NF7ktpBBPr3ozwhGM5xLHdzuJXFECPABbTRzkkMc4gBVVHOCBmK0ESWbPHpQwmWU0psS8pwf4jVH
kADn0kacVpppoY0oWWQRJer5xf7CCBVA+RCnp4QpYaACCEcFEI4KIBwVQDgqgHBUAOGoAMJRAYSjAghH
BRCOCiAcFUA4KoBwVADhqADCUQGEowIIRwUQjgogHBVAOCqAcFQA4agAwlEBhKMCCEcFEI4KIBwVQDgq
gHBUAOGoAMJRAYSjAghHBRCOCiCc/wIMZEAAbTedSgAAAABJRU5ErkJggg==
</value>
</data>
</root>

View File

@@ -0,0 +1,367 @@
namespace Cheongbuk_MegaPark_Key_Management
{
partial class ReturnKeyInfo
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.panel1 = new System.Windows.Forms.Panel();
this.button_Close = new System.Windows.Forms.Button();
this.panel_FinalPrice = new System.Windows.Forms.Panel();
this.label7 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.label_PriceFinal = new System.Windows.Forms.Label();
this.label_PriceDiscount = new System.Windows.Forms.Label();
this.label_Price = new System.Windows.Forms.Label();
this.panel_Price = new System.Windows.Forms.Panel();
this.label3 = new System.Windows.Forms.Label();
this.label_StartDateTime = new System.Windows.Forms.Label();
this.label_UseTime = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.panel_BaseInformation = new System.Windows.Forms.Panel();
this.label_People = new System.Windows.Forms.Label();
this.label9 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.label_KeyCode = new System.Windows.Forms.Label();
this.label_Category = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label8 = new System.Windows.Forms.Label();
this.label_EndDateTime = new System.Windows.Forms.Label();
this.panel1.SuspendLayout();
this.panel_FinalPrice.SuspendLayout();
this.panel_Price.SuspendLayout();
this.panel_BaseInformation.SuspendLayout();
this.SuspendLayout();
//
// panel1
//
this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel1.Controls.Add(this.panel_FinalPrice);
this.panel1.Controls.Add(this.panel_Price);
this.panel1.Controls.Add(this.panel_BaseInformation);
this.panel1.Controls.Add(this.button_Close);
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(910, 330);
this.panel1.TabIndex = 0;
//
// button_Close
//
this.button_Close.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
this.button_Close.Font = new System.Drawing.Font("맑은 고딕", 30F);
this.button_Close.Location = new System.Drawing.Point(452, 181);
this.button_Close.Name = "button_Close";
this.button_Close.Size = new System.Drawing.Size(448, 137);
this.button_Close.TabIndex = 0;
this.button_Close.Text = "닫 기";
this.button_Close.UseVisualStyleBackColor = false;
this.button_Close.Click += new System.EventHandler(this.Button_Close_Click);
//
// panel_FinalPrice
//
this.panel_FinalPrice.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
this.panel_FinalPrice.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel_FinalPrice.Controls.Add(this.label7);
this.panel_FinalPrice.Controls.Add(this.label6);
this.panel_FinalPrice.Controls.Add(this.label5);
this.panel_FinalPrice.Controls.Add(this.label_PriceFinal);
this.panel_FinalPrice.Controls.Add(this.label_PriceDiscount);
this.panel_FinalPrice.Controls.Add(this.label_Price);
this.panel_FinalPrice.Location = new System.Drawing.Point(10, 161);
this.panel_FinalPrice.Name = "panel_FinalPrice";
this.panel_FinalPrice.Size = new System.Drawing.Size(416, 157);
this.panel_FinalPrice.TabIndex = 1;
//
// label7
//
this.label7.AutoSize = true;
this.label7.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Bold);
this.label7.Location = new System.Drawing.Point(20, 90);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(204, 37);
this.label7.TabIndex = 0;
this.label7.Text = "최종 결제 금액:";
//
// label6
//
this.label6.AutoSize = true;
this.label6.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Bold);
this.label6.Location = new System.Drawing.Point(20, 50);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(204, 37);
this.label6.TabIndex = 0;
this.label6.Text = "할인    금액:";
//
// label5
//
this.label5.AutoSize = true;
this.label5.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Bold);
this.label5.Location = new System.Drawing.Point(20, 10);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(204, 37);
this.label5.TabIndex = 0;
this.label5.Text = "추가 이용 요금:";
//
// label_PriceFinal
//
this.label_PriceFinal.Anchor = System.Windows.Forms.AnchorStyles.None;
this.label_PriceFinal.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Bold);
this.label_PriceFinal.ForeColor = System.Drawing.Color.Blue;
this.label_PriceFinal.Location = new System.Drawing.Point(220, 90);
this.label_PriceFinal.Name = "label_PriceFinal";
this.label_PriceFinal.Size = new System.Drawing.Size(160, 37);
this.label_PriceFinal.TabIndex = 0;
this.label_PriceFinal.Text = "00,000원";
this.label_PriceFinal.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label_PriceDiscount
//
this.label_PriceDiscount.Anchor = System.Windows.Forms.AnchorStyles.None;
this.label_PriceDiscount.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Bold);
this.label_PriceDiscount.ForeColor = System.Drawing.Color.Red;
this.label_PriceDiscount.Location = new System.Drawing.Point(220, 50);
this.label_PriceDiscount.Name = "label_PriceDiscount";
this.label_PriceDiscount.Size = new System.Drawing.Size(160, 37);
this.label_PriceDiscount.TabIndex = 0;
this.label_PriceDiscount.Text = "00,000원";
this.label_PriceDiscount.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label_Price
//
this.label_Price.Anchor = System.Windows.Forms.AnchorStyles.None;
this.label_Price.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Bold);
this.label_Price.Location = new System.Drawing.Point(220, 10);
this.label_Price.Name = "label_Price";
this.label_Price.Size = new System.Drawing.Size(160, 37);
this.label_Price.TabIndex = 0;
this.label_Price.Text = "00,000원";
this.label_Price.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// panel_Price
//
this.panel_Price.BackColor = System.Drawing.Color.White;
this.panel_Price.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel_Price.Controls.Add(this.label8);
this.panel_Price.Controls.Add(this.label3);
this.panel_Price.Controls.Add(this.label_EndDateTime);
this.panel_Price.Controls.Add(this.label_StartDateTime);
this.panel_Price.Controls.Add(this.label_UseTime);
this.panel_Price.Controls.Add(this.label4);
this.panel_Price.Location = new System.Drawing.Point(380, 10);
this.panel_Price.Name = "panel_Price";
this.panel_Price.Size = new System.Drawing.Size(520, 145);
this.panel_Price.TabIndex = 2;
//
// label3
//
this.label3.AutoSize = true;
this.label3.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Bold);
this.label3.Location = new System.Drawing.Point(20, 10);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(204, 37);
this.label3.TabIndex = 0;
this.label3.Text = "대여 시작 시간:";
//
// label_StartDateTime
//
this.label_StartDateTime.AutoSize = true;
this.label_StartDateTime.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Bold);
this.label_StartDateTime.ForeColor = System.Drawing.Color.Red;
this.label_StartDateTime.Location = new System.Drawing.Point(220, 10);
this.label_StartDateTime.Name = "label_StartDateTime";
this.label_StartDateTime.Size = new System.Drawing.Size(288, 37);
this.label_StartDateTime.TabIndex = 0;
this.label_StartDateTime.Text = "0000/00/00 00:00:00";
//
// label_UseTime
//
this.label_UseTime.AutoSize = true;
this.label_UseTime.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Bold);
this.label_UseTime.ForeColor = System.Drawing.Color.Blue;
this.label_UseTime.Location = new System.Drawing.Point(220, 90);
this.label_UseTime.Name = "label_UseTime";
this.label_UseTime.Size = new System.Drawing.Size(171, 37);
this.label_UseTime.TabIndex = 0;
this.label_UseTime.Text = "00시간 00분";
//
// label4
//
this.label4.AutoSize = true;
this.label4.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Bold);
this.label4.Location = new System.Drawing.Point(20, 90);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(204, 37);
this.label4.TabIndex = 0;
this.label4.Text = "추가 이용 시간:";
//
// panel_BaseInformation
//
this.panel_BaseInformation.BackColor = System.Drawing.Color.White;
this.panel_BaseInformation.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel_BaseInformation.Controls.Add(this.label_People);
this.panel_BaseInformation.Controls.Add(this.label9);
this.panel_BaseInformation.Controls.Add(this.label1);
this.panel_BaseInformation.Controls.Add(this.label_KeyCode);
this.panel_BaseInformation.Controls.Add(this.label_Category);
this.panel_BaseInformation.Controls.Add(this.label2);
this.panel_BaseInformation.Location = new System.Drawing.Point(10, 10);
this.panel_BaseInformation.Name = "panel_BaseInformation";
this.panel_BaseInformation.Size = new System.Drawing.Size(360, 145);
this.panel_BaseInformation.TabIndex = 3;
//
// label_People
//
this.label_People.AutoSize = true;
this.label_People.Font = new System.Drawing.Font("맑은 고딕", 20F);
this.label_People.Location = new System.Drawing.Point(220, 90);
this.label_People.Name = "label_People";
this.label_People.Size = new System.Drawing.Size(59, 37);
this.label_People.TabIndex = 2;
this.label_People.Text = "0명";
//
// label9
//
this.label9.AutoSize = true;
this.label9.Font = new System.Drawing.Font("맑은 고딕", 20F);
this.label9.Location = new System.Drawing.Point(20, 90);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(203, 37);
this.label9.TabIndex = 1;
this.label9.Text = "인    수:";
//
// label1
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("맑은 고딕", 20F);
this.label1.Location = new System.Drawing.Point(20, 10);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(203, 37);
this.label1.TabIndex = 0;
this.label1.Text = "키    호:";
//
// label_KeyCode
//
this.label_KeyCode.AutoSize = true;
this.label_KeyCode.Font = new System.Drawing.Font("맑은 고딕", 20F);
this.label_KeyCode.Location = new System.Drawing.Point(220, 10);
this.label_KeyCode.Name = "label_KeyCode";
this.label_KeyCode.Size = new System.Drawing.Size(62, 37);
this.label_KeyCode.TabIndex = 0;
this.label_KeyCode.Text = "000";
//
// label_Category
//
this.label_Category.AutoSize = true;
this.label_Category.Font = new System.Drawing.Font("맑은 고딕", 20F);
this.label_Category.Location = new System.Drawing.Point(220, 50);
this.label_Category.Name = "label_Category";
this.label_Category.Size = new System.Drawing.Size(113, 37);
this.label_Category.TabIndex = 0;
this.label_Category.Text = "0시간권";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Font = new System.Drawing.Font("맑은 고딕", 20F);
this.label2.Location = new System.Drawing.Point(20, 50);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(203, 37);
this.label2.TabIndex = 0;
this.label2.Text = "기본 이용 종류:";
//
// label8
//
this.label8.AutoSize = true;
this.label8.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Bold);
this.label8.Location = new System.Drawing.Point(20, 50);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(204, 37);
this.label8.TabIndex = 0;
this.label8.Text = "대여 종료 시간:";
//
// label_EndDateTime
//
this.label_EndDateTime.AutoSize = true;
this.label_EndDateTime.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Bold);
this.label_EndDateTime.ForeColor = System.Drawing.Color.Red;
this.label_EndDateTime.Location = new System.Drawing.Point(220, 50);
this.label_EndDateTime.Name = "label_EndDateTime";
this.label_EndDateTime.Size = new System.Drawing.Size(288, 37);
this.label_EndDateTime.TabIndex = 0;
this.label_EndDateTime.Text = "0000/00/00 00:00:00";
//
// ReturnKeyInfo
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(910, 330);
this.Controls.Add(this.panel1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Name = "ReturnKeyInfo";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "ReturnKeyInfo";
this.Load += new System.EventHandler(this.ReturnKeyInfo_Load);
this.panel1.ResumeLayout(false);
this.panel_FinalPrice.ResumeLayout(false);
this.panel_FinalPrice.PerformLayout();
this.panel_Price.ResumeLayout(false);
this.panel_Price.PerformLayout();
this.panel_BaseInformation.ResumeLayout(false);
this.panel_BaseInformation.PerformLayout();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Button button_Close;
private System.Windows.Forms.Panel panel_FinalPrice;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label_PriceFinal;
private System.Windows.Forms.Label label_PriceDiscount;
private System.Windows.Forms.Label label_Price;
private System.Windows.Forms.Panel panel_Price;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label_EndDateTime;
private System.Windows.Forms.Label label_StartDateTime;
private System.Windows.Forms.Label label_UseTime;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Panel panel_BaseInformation;
private System.Windows.Forms.Label label_People;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label_KeyCode;
private System.Windows.Forms.Label label_Category;
private System.Windows.Forms.Label label2;
}
}

View File

@@ -0,0 +1,37 @@
using System;
using System.Windows.Forms;
namespace Cheongbuk_MegaPark_Key_Management
{
public partial class ReturnKeyInfo : Form
{
public ProfitData ProfitDataInfo;
public ReturnKeyInfo()
{
InitializeComponent();
}
private void Button_Close_Click(object sender, EventArgs e)
{
Close();
}
private void ReturnKeyInfo_Load(object sender, EventArgs e)
{
label_KeyCode.Text = ProfitDataInfo.KeyCode.ToString();
label_Category.Text = Setting.CategoryDictionary[ProfitDataInfo.Category].CategoryName;
label_People.Text = ProfitDataInfo.People.ToPeople();
label_StartDateTime.Text = ProfitDataInfo.StartDateTime.ToString("yyyy/MM/dd HH:mm:ss");
label_EndDateTime.Text = ProfitDataInfo.EndDateTime.ToString("yyyy/MM/dd HH:mm:ss");
int useTimeH = ProfitDataInfo.UseTime / 60;
int useTimeM = ProfitDataInfo.UseTime % 60;
label_UseTime.Text = useTimeH.ToThousand() + "시간 " + useTimeM.ToThousand() + "분";
label_Price.Text = ProfitDataInfo.ProfitAdd.ToMoney();
label_PriceDiscount.Text = ProfitDataInfo.ProfitDiscount.ToMoney();
label_PriceFinal.Text = (ProfitDataInfo.ProfitAdd - ProfitDataInfo.ProfitDiscount).ToMoney();
}
}
}

View File

@@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@@ -0,0 +1,87 @@
using System;
using System.Collections.Generic;
namespace Cheongbuk_MegaPark_Key_Management
{
internal static class Setting
{
public static List<RentData> RentDatas = new List<RentData>();
public static List<ProfitData> ProfitDatas = new List<ProfitData>();
public static string DbLocation = "data.sqlite";
public static Dictionary<int, Category> CategoryDictionary = new Dictionary<int, Category>
{
{0, new Category {CategoryProfit = 90000, CategoryName = "종일권"}},
{1, new Category {CategoryProfit = 10000, CategoryName = "1시간권"}},
{2, new Category {CategoryProfit = 18000, CategoryName = "2시간권"}},
{4, new Category {CategoryProfit = 30000, CategoryName = "4시간권"}},
};
public static Dictionary<int, DiscountData> DiscountDatas = new Dictionary<int, DiscountData>
{
{91, new DiscountData {Name = "식사권 할인", Value = 3000}},
{0, new DiscountData {Name = "전액할인", Value = 99999999}},
{1, new DiscountData {Name = "1,000 할인", Value = 1000}},
{2, new DiscountData {Name = "2,000 할인", Value = 2000}},
{3, new DiscountData {Name = "3,000 할인", Value = 3000}},
{4, new DiscountData {Name = "4,000 할인", Value = 4000}},
{5, new DiscountData {Name = "5,000 할인", Value = 5000}}
};
public static int OverTime = 10;
public static int OverAmount = 1000;
}
public struct ChargesStruct
{
public int Code;
public string ChargesName;
public int ChargesValue;
public bool OverTeim;
// 오버타임
}
public struct DiscountStruct
{
public int Code;
public string DiscountName;
public int DiscountValue;
}
public struct RentData
{
public int KeyCode;
public int Category;
public DateTime StartDateTime;
public int People;
}
public struct ProfitData
{
public int Id;
public int KeyCode;
public int Category;
public DateTime StartDateTime;
public int People;
public DateTime EndDateTime;
public int UseTime;
public int ProfitBase;
public int ProfitAdd;
public int ProfitDiscount;
}
public struct Category
{
public int CategoryProfit;
public string CategoryName;
}
public struct DiscountData
{
public string Name;
public int Value;
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="EntityFramework" version="6.4.4" targetFramework="net472" />
<package id="Stub.System.Data.SQLite.Core.NetFramework" version="1.0.116.0" targetFramework="net472" />
<package id="System.Buffers" version="4.4.0" targetFramework="net472" />
<package id="System.Data.SQLite" version="1.0.116.0" targetFramework="net472" />
<package id="System.Data.SQLite.Core" version="1.0.116.0" targetFramework="net472" />
<package id="System.Data.SQLite.EF6" version="1.0.116.0" targetFramework="net472" />
<package id="System.Data.SQLite.Linq" version="1.0.116.0" targetFramework="net472" />
<package id="System.Memory" version="4.5.3" targetFramework="net472" />
<package id="System.Numerics.Vectors" version="4.4.0" targetFramework="net472" />
<package id="System.Runtime.CompilerServices.Unsafe" version="4.5.2" targetFramework="net472" />
</packages>

View File

@@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.29123.88
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Cheongbuk_MegaPark_Key_Management", "CheongBuk_MegaPark_Key_Management\Cheongbuk_MegaPark_Key_Management.csproj", "{B83960C6-210D-477E-B831-6EB2798EC9C6}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{B83960C6-210D-477E-B831-6EB2798EC9C6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B83960C6-210D-477E-B831-6EB2798EC9C6}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B83960C6-210D-477E-B831-6EB2798EC9C6}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B83960C6-210D-477E-B831-6EB2798EC9C6}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {4628B84A-1FCD-45D2-8A47-FE044B2FF6D0}
EndGlobalSection
EndGlobal

View File

@@ -1,92 +1,2 @@
# CheongBuk MegaPark Key Management
# Cheongbuk_MegaPark_Key_Management
## Getting started
To make it easy for you to get started with GitLab, here's a list of recommended next steps.
Already a pro? Just edit this README.md and make it your own. Want to make it easy? [Use the template at the bottom](#editing-this-readme)!
## Add your files
- [ ] [Create](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#create-a-file) or [upload](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#upload-a-file) files
- [ ] [Add files using the command line](https://docs.gitlab.com/ee/gitlab-basics/add-file.html#add-a-file-using-the-command-line) or push an existing Git repository with the following command:
```
cd existing_repo
git remote add origin http://git.crudelis.kr/crudelis/CheongBuk_MegaPark_Key_Management.git
git branch -M main
git push -uf origin main
```
## Integrate with your tools
- [ ] [Set up project integrations](http://git.crudelis.kr/crudelis/CheongBuk_MegaPark_Key_Management/-/settings/integrations)
## Collaborate with your team
- [ ] [Invite team members and collaborators](https://docs.gitlab.com/ee/user/project/members/)
- [ ] [Create a new merge request](https://docs.gitlab.com/ee/user/project/merge_requests/creating_merge_requests.html)
- [ ] [Automatically close issues from merge requests](https://docs.gitlab.com/ee/user/project/issues/managing_issues.html#closing-issues-automatically)
- [ ] [Enable merge request approvals](https://docs.gitlab.com/ee/user/project/merge_requests/approvals/)
- [ ] [Automatically merge when pipeline succeeds](https://docs.gitlab.com/ee/user/project/merge_requests/merge_when_pipeline_succeeds.html)
## Test and Deploy
Use the built-in continuous integration in GitLab.
- [ ] [Get started with GitLab CI/CD](https://docs.gitlab.com/ee/ci/quick_start/index.html)
- [ ] [Analyze your code for known vulnerabilities with Static Application Security Testing(SAST)](https://docs.gitlab.com/ee/user/application_security/sast/)
- [ ] [Deploy to Kubernetes, Amazon EC2, or Amazon ECS using Auto Deploy](https://docs.gitlab.com/ee/topics/autodevops/requirements.html)
- [ ] [Use pull-based deployments for improved Kubernetes management](https://docs.gitlab.com/ee/user/clusters/agent/)
- [ ] [Set up protected environments](https://docs.gitlab.com/ee/ci/environments/protected_environments.html)
***
# Editing this README
When you're ready to make this README your own, just edit this file and use the handy template below (or feel free to structure it however you want - this is just a starting point!). Thank you to [makeareadme.com](https://www.makeareadme.com/) for this template.
## Suggestions for a good README
Every project is different, so consider which of these sections apply to yours. The sections used in the template are suggestions for most open source projects. Also keep in mind that while a README can be too long and detailed, too long is better than too short. If you think your README is too long, consider utilizing another form of documentation rather than cutting out information.
## Name
Choose a self-explaining name for your project.
## Description
Let people know what your project can do specifically. Provide context and add a link to any reference visitors might be unfamiliar with. A list of Features or a Background subsection can also be added here. If there are alternatives to your project, this is a good place to list differentiating factors.
## Badges
On some READMEs, you may see small images that convey metadata, such as whether or not all the tests are passing for the project. You can use Shields to add some to your README. Many services also have instructions for adding a badge.
## Visuals
Depending on what you are making, it can be a good idea to include screenshots or even a video (you'll frequently see GIFs rather than actual videos). Tools like ttygif can help, but check out Asciinema for a more sophisticated method.
## Installation
Within a particular ecosystem, there may be a common way of installing things, such as using Yarn, NuGet, or Homebrew. However, consider the possibility that whoever is reading your README is a novice and would like more guidance. Listing specific steps helps remove ambiguity and gets people to using your project as quickly as possible. If it only runs in a specific context like a particular programming language version or operating system or has dependencies that have to be installed manually, also add a Requirements subsection.
## Usage
Use examples liberally, and show the expected output if you can. It's helpful to have inline the smallest example of usage that you can demonstrate, while providing links to more sophisticated examples if they are too long to reasonably include in the README.
## Support
Tell people where they can go to for help. It can be any combination of an issue tracker, a chat room, an email address, etc.
## Roadmap
If you have ideas for releases in the future, it is a good idea to list them in the README.
## Contributing
State if you are open to contributions and what your requirements are for accepting them.
For people who want to make changes to your project, it's helpful to have some documentation on how to get started. Perhaps there is a script that they should run or some environment variables that they need to set. Make these steps explicit. These instructions could also be useful to your future self.
You can also document commands to lint the code or run tests. These steps help to ensure high code quality and reduce the likelihood that the changes inadvertently break something. Having instructions for running tests is especially helpful if it requires external setup, such as starting a Selenium server for testing in a browser.
## Authors and acknowledgment
Show your appreciation to those who have contributed to the project.
## License
For open source projects, say how it is licensed.
## Project status
If you have run out of energy or time for your project, put a note at the top of the README saying that development has slowed down or stopped completely. Someone may choose to fork your project or volunteer to step in as a maintainer or owner, allowing your project to keep going. You can also make an explicit request for maintainers.