깃랩 재정비
This commit is contained in:
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
Helper_DB.cs
|
||||||
|
Skill.cs
|
||||||
BIN
ExcelTest/.vs/ExcelTest/DesignTimeBuild/.dtbcache.v2
Normal file
BIN
ExcelTest/.vs/ExcelTest/DesignTimeBuild/.dtbcache.v2
Normal file
Binary file not shown.
BIN
ExcelTest/.vs/ExcelTest/v16/.suo
Normal file
BIN
ExcelTest/.vs/ExcelTest/v16/.suo
Normal file
Binary file not shown.
31
ExcelTest/ExcelTest.sln
Normal file
31
ExcelTest/ExcelTest.sln
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio Version 16
|
||||||
|
VisualStudioVersion = 16.0.30128.74
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ExcelTest", "ExcelTest\ExcelTest.csproj", "{F3034EDF-59E0-4838-9C54-C79F14C60601}"
|
||||||
|
EndProject
|
||||||
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ConsoleTextProject", "..\ConsoleTextProject\ConsoleTextProject\ConsoleTextProject.csproj", "{81F51E73-77A3-4284-8611-1781201570D5}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{F3034EDF-59E0-4838-9C54-C79F14C60601}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{F3034EDF-59E0-4838-9C54-C79F14C60601}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{F3034EDF-59E0-4838-9C54-C79F14C60601}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{F3034EDF-59E0-4838-9C54-C79F14C60601}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{81F51E73-77A3-4284-8611-1781201570D5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{81F51E73-77A3-4284-8611-1781201570D5}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{81F51E73-77A3-4284-8611-1781201570D5}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{81F51E73-77A3-4284-8611-1781201570D5}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
|
SolutionGuid = {CE58C7E1-5279-41CF-9E87-A5A5FFFA5320}
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
||||||
6
ExcelTest/ExcelTest/App.config
Normal file
6
ExcelTest/ExcelTest/App.config
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<configuration>
|
||||||
|
<startup>
|
||||||
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||||
|
</startup>
|
||||||
|
</configuration>
|
||||||
12
ExcelTest/ExcelTest/Class1.cs
Normal file
12
ExcelTest/ExcelTest/Class1.cs
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace ExcelTest
|
||||||
|
{
|
||||||
|
class Class1
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
162
ExcelTest/ExcelTest/ExcelTest.csproj
Normal file
162
ExcelTest/ExcelTest/ExcelTest.csproj
Normal file
@@ -0,0 +1,162 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<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>{F3034EDF-59E0-4838-9C54-C79F14C60601}</ProjectGuid>
|
||||||
|
<OutputType>WinExe</OutputType>
|
||||||
|
<RootNamespace>ExcelTest</RootNamespace>
|
||||||
|
<AssemblyName>ExcelTest</AssemblyName>
|
||||||
|
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
|
||||||
|
<FileAlignment>512</FileAlignment>
|
||||||
|
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||||
|
<Deterministic>true</Deterministic>
|
||||||
|
</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>
|
||||||
|
<ItemGroup>
|
||||||
|
<Reference Include="Microsoft.VisualBasic" />
|
||||||
|
<Reference Include="MySql.Data, Version=8.0.21.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL" />
|
||||||
|
<Reference Include="System" />
|
||||||
|
<Reference Include="System.Core" />
|
||||||
|
<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="Help008Tag.cs" />
|
||||||
|
<Compile Include="Helper008.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Helper008.Designer.cs">
|
||||||
|
<DependentUpon>Helper008.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Helper_DB.cs" />
|
||||||
|
<Compile Include="NewFolder1\EmailSub.cs" />
|
||||||
|
<Compile Include="findNchange.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="findNchange.Designer.cs">
|
||||||
|
<DependentUpon>findNchange.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="NewFolder1\Font.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="NewFolder1\Font.Designer.cs">
|
||||||
|
<DependentUpon>Font.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="NewFolder1\Email.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="NewFolder1\Email.Designer.cs">
|
||||||
|
<DependentUpon>Email.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Marc.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Marc.Designer.cs">
|
||||||
|
<DependentUpon>Marc.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Program.cs" />
|
||||||
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
|
<Compile Include="NewFolder1\SubString.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="NewFolder1\SubString.Designer.cs">
|
||||||
|
<DependentUpon>SubString.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<EmbeddedResource Include="findNchange.resx">
|
||||||
|
<DependentUpon>findNchange.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Helper008.resx">
|
||||||
|
<DependentUpon>Helper008.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="NewFolder1\Font.resx">
|
||||||
|
<DependentUpon>Font.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="NewFolder1\Email.resx">
|
||||||
|
<DependentUpon>Email.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Marc.resx">
|
||||||
|
<DependentUpon>Marc.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>
|
||||||
|
</Compile>
|
||||||
|
<EmbeddedResource Include="NewFolder1\SubString.resx">
|
||||||
|
<DependentUpon>SubString.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<None Include="Properties\Settings.settings">
|
||||||
|
<Generator>SettingsSingleFileGenerator</Generator>
|
||||||
|
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||||
|
</None>
|
||||||
|
<Compile Include="Properties\Settings.Designer.cs">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DependentUpon>Settings.settings</DependentUpon>
|
||||||
|
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||||
|
</Compile>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="App.config" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<COMReference Include="Microsoft.Office.Core">
|
||||||
|
<Guid>{2DF8D04C-5BFA-101B-BDE5-00AA0044DE52}</Guid>
|
||||||
|
<VersionMajor>2</VersionMajor>
|
||||||
|
<VersionMinor>4</VersionMinor>
|
||||||
|
<Lcid>0</Lcid>
|
||||||
|
<WrapperTool>primary</WrapperTool>
|
||||||
|
<Isolated>False</Isolated>
|
||||||
|
<EmbedInteropTypes>True</EmbedInteropTypes>
|
||||||
|
</COMReference>
|
||||||
|
<COMReference Include="Microsoft.Office.Interop.Excel">
|
||||||
|
<Guid>{00020813-0000-0000-C000-000000000046}</Guid>
|
||||||
|
<VersionMajor>1</VersionMajor>
|
||||||
|
<VersionMinor>6</VersionMinor>
|
||||||
|
<Lcid>0</Lcid>
|
||||||
|
<WrapperTool>primary</WrapperTool>
|
||||||
|
<Isolated>False</Isolated>
|
||||||
|
<EmbedInteropTypes>True</EmbedInteropTypes>
|
||||||
|
</COMReference>
|
||||||
|
<COMReference Include="VBIDE">
|
||||||
|
<Guid>{0002E157-0000-0000-C000-000000000046}</Guid>
|
||||||
|
<VersionMajor>5</VersionMajor>
|
||||||
|
<VersionMinor>3</VersionMinor>
|
||||||
|
<Lcid>0</Lcid>
|
||||||
|
<WrapperTool>primary</WrapperTool>
|
||||||
|
<Isolated>False</Isolated>
|
||||||
|
<EmbedInteropTypes>True</EmbedInteropTypes>
|
||||||
|
</COMReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
|
</Project>
|
||||||
96
ExcelTest/ExcelTest/Help008Tag.cs
Normal file
96
ExcelTest/ExcelTest/Help008Tag.cs
Normal file
@@ -0,0 +1,96 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace ExcelTest
|
||||||
|
{
|
||||||
|
class Help008Tag
|
||||||
|
{
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 나라 코드 입력
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="strValue"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public string Country_008(string strValue)
|
||||||
|
{
|
||||||
|
string ulk = "서울", bnk = "부산", tgk = "대구", ick = "인천", kjk = "광주", tjk = "대전", usk = "울산", sjk = "세종";
|
||||||
|
string[] ggk = { "경기도", "경기", "수원", "성남", "의정부", "안양", "부천", "광명", "평택", "송탄", "동두천", "안산", "고양", "과천", "구리", "미금", "남양주", "오산", "시흥", "군포", "의왕", "하남", "용인", "파주", "이천", "안성", "김포", "양주", "여주", "화성", "연천", "포천", "가평", "양평", "강화", "옹진" };
|
||||||
|
string[] gak = { "강원도", "강원", "춘천", "원주", "강릉", "동해", "태백", "속초", "삼척", "양양", "철원", "화천", "양구", "인제", "홍천", "횡성", "평창", "영월", "정선" };
|
||||||
|
string[] hbk = { "충청북도", "충북", "충주", "제천", "단양", "음성", "진천", "괴산", "증평", "청주", "청원", "보은", "영동", "옥천" };
|
||||||
|
string[] hck = { "충청남도", "충남", "천안", "아산", "예산", "홍성", "청양", "당진", "서산", "태안", "보령", "서천" };
|
||||||
|
string[] gbk = { "경상북도", "경북", "울진", "봉화", "영주", "영양", "영덕", "안동", "문경", "예천", "의성", "청송", "울릉", "독도", "김천", "상주", "구미", "성주", "칠곡", "군위", "고령", "청도", "경산", "포항", "경주", "영천" };
|
||||||
|
string[] gnk = { "경상남도", "경남", "거창", "함양", "합천", "창녕", "의령", "산청", "하동", "진주", "사천", "함안", "고성", "남해", "통영", "창원", "마산", "진해", "거제", "김해", "양산", "밀양" };
|
||||||
|
string[] jbk = { "전라북도", "전북", "전주", "무주", "완주", "진안", "익산", "장수", "군산", "김제", "부안", "고창", "정읍", "임실", "순창", "남원" };
|
||||||
|
string[] jnk = { "전라남도", "전남", "담양", "장성", "영광", "함평", "나주", "순천", "광양", "구례", "곡성", "화순", "여수", "보성", "고흥", "목포", "무안", "신안", "영암", "장흥", "강진", "해남", "진도", "완도" };
|
||||||
|
string[] jjk = { "제주도", "제주", "서귀포" };
|
||||||
|
string[] us = { "new york", "boston", "los angeles", "san francisco", "washington", "san diego" };
|
||||||
|
string[] uk = { "london", "oxford", "manchester", "chesterfield", "lincoln", "hong kong", "glasgow", "edinburgh", "leeds", "liverpool", "sheffield", "birmingham" };
|
||||||
|
string result = "";
|
||||||
|
|
||||||
|
strValue = strValue.ToLower();
|
||||||
|
if (strValue.Contains(ulk) == true) { result = "ulk"; } // 서울
|
||||||
|
if (strValue.Contains(bnk) == true) { result = "bnk"; } // 부산
|
||||||
|
if (strValue.Contains(tgk) == true) { result = "tgk"; } // 대구
|
||||||
|
if (strValue.Contains(ick) == true) { result = "ick"; } // 인천
|
||||||
|
if (strValue.Contains(kjk) == true) { result = "kjk"; } // 광주
|
||||||
|
if (strValue.Contains(tjk) == true) { result = "tjk"; } // 대전
|
||||||
|
if (strValue.Contains(usk) == true) { result = "usk"; } // 울산
|
||||||
|
if (strValue.Contains(sjk) == true) { result = "sjk"; } // 세종
|
||||||
|
for (int a = 0; a < ggk.Length; a++) { if (strValue.Contains(ggk[a]) == true) { result = "ggk"; } } // 경기
|
||||||
|
for (int a = 0; a < gak.Length; a++) { if (strValue.Contains(gak[a]) == true) { result = "gak"; } } // 강원
|
||||||
|
for (int a = 0; a < hbk.Length; a++) { if (strValue.Contains(hbk[a]) == true) { result = "hbk"; } } // 충북
|
||||||
|
for (int a = 0; a < hck.Length; a++) { if (strValue.Contains(hck[a]) == true) { result = "hck"; } } // 충남
|
||||||
|
for (int a = 0; a < gbk.Length; a++) { if (strValue.Contains(gbk[a]) == true) { result = "gbk"; } } // 경북
|
||||||
|
for (int a = 0; a < gnk.Length; a++) { if (strValue.Contains(gnk[a]) == true) { result = "gnk"; } } // 경남
|
||||||
|
for (int a = 0; a < jbk.Length; a++) { if (strValue.Contains(jbk[a]) == true) { result = "jbk"; } } // 전북
|
||||||
|
for (int a = 0; a < jnk.Length; a++) { if (strValue.Contains(jnk[a]) == true) { result = "jnk"; } } // 전남
|
||||||
|
for (int a = 0; a < jjk.Length; a++) { if (strValue.Contains(jjk[a]) == true) { result = "jjk"; } } // 제주
|
||||||
|
for (int a = 0; a < us.Length; a++) { if (strValue.Contains(us[a]) == true) { result = "us"; } } // 미국
|
||||||
|
for (int a = 0; a < uk.Length; a++) { if (strValue.Contains(uk[a]) == true) { result = "uk"; } } // 영국
|
||||||
|
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
public string Picture_008(string strValue)
|
||||||
|
{
|
||||||
|
string result = "";
|
||||||
|
string[] dpfk = { "삽화", "지도", "초상화", "표", "설계도",
|
||||||
|
"도판", "악보", "영인물", "문장", "계보",
|
||||||
|
"서식", "양식", "견본", "녹음자료", "사진",
|
||||||
|
"채색장식",
|
||||||
|
"ill", "map", "photo" };
|
||||||
|
string[] tlqkf = { "a", "b", "c", "d", "e",
|
||||||
|
"f", "g", "h", "i", "j",
|
||||||
|
"k", "k", "l", "m", "o",
|
||||||
|
"p",
|
||||||
|
"a", "b", "o" };
|
||||||
|
strValue = strValue.ToLower();
|
||||||
|
string[] str1 = strValue.Split(',');
|
||||||
|
for(int a = 0; a < str1.Length; a++)
|
||||||
|
{
|
||||||
|
for (int b = 0; b < dpfk.Length; b++)
|
||||||
|
{
|
||||||
|
if(str1[a].Contains(dpfk[b]) == true) { result += tlqkf[b]; }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (result.Length > 4)
|
||||||
|
{
|
||||||
|
result = result.Substring(0, 4);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
for(int a = 0; a < 4; a++)
|
||||||
|
{
|
||||||
|
if (result.Length < 4) { result += " "; }
|
||||||
|
else { break; }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
84
ExcelTest/ExcelTest/Helper008.Designer.cs
generated
Normal file
84
ExcelTest/ExcelTest/Helper008.Designer.cs
generated
Normal file
@@ -0,0 +1,84 @@
|
|||||||
|
namespace ExcelTest
|
||||||
|
{
|
||||||
|
partial class Helper008
|
||||||
|
{
|
||||||
|
/// <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.dataGridView1 = new System.Windows.Forms.DataGridView();
|
||||||
|
this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// dataGridView1
|
||||||
|
//
|
||||||
|
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||||
|
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||||
|
this.Column1,
|
||||||
|
this.Column2});
|
||||||
|
this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
|
this.dataGridView1.Location = new System.Drawing.Point(0, 0);
|
||||||
|
this.dataGridView1.Name = "dataGridView1";
|
||||||
|
this.dataGridView1.RowTemplate.Height = 23;
|
||||||
|
this.dataGridView1.Size = new System.Drawing.Size(443, 197);
|
||||||
|
this.dataGridView1.TabIndex = 0;
|
||||||
|
this.dataGridView1.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellDoubleClick);
|
||||||
|
this.dataGridView1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dataGridView1_KeyDown);
|
||||||
|
//
|
||||||
|
// Column1
|
||||||
|
//
|
||||||
|
this.Column1.HeaderText = "명칭";
|
||||||
|
this.Column1.Name = "Column1";
|
||||||
|
this.Column1.ReadOnly = true;
|
||||||
|
this.Column1.Width = 300;
|
||||||
|
//
|
||||||
|
// Column2
|
||||||
|
//
|
||||||
|
this.Column2.HeaderText = "코드번호";
|
||||||
|
this.Column2.Name = "Column2";
|
||||||
|
this.Column2.ReadOnly = true;
|
||||||
|
//
|
||||||
|
// Helper008
|
||||||
|
//
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
this.ClientSize = new System.Drawing.Size(443, 197);
|
||||||
|
this.Controls.Add(this.dataGridView1);
|
||||||
|
this.Name = "Helper008";
|
||||||
|
this.Text = "Helper008";
|
||||||
|
this.Load += new System.EventHandler(this.Helper008_Load);
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
|
||||||
|
public System.Windows.Forms.DataGridView dataGridView1;
|
||||||
|
}
|
||||||
|
}
|
||||||
89
ExcelTest/ExcelTest/Helper008.cs
Normal file
89
ExcelTest/ExcelTest/Helper008.cs
Normal file
File diff suppressed because one or more lines are too long
126
ExcelTest/ExcelTest/Helper008.resx
Normal file
126
ExcelTest/ExcelTest/Helper008.resx
Normal file
@@ -0,0 +1,126 @@
|
|||||||
|
<?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="Column1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="Column2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
</root>
|
||||||
1480
ExcelTest/ExcelTest/Marc.Designer.cs
generated
Normal file
1480
ExcelTest/ExcelTest/Marc.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
1675
ExcelTest/ExcelTest/Marc.cs
Normal file
1675
ExcelTest/ExcelTest/Marc.cs
Normal file
File diff suppressed because it is too large
Load Diff
219
ExcelTest/ExcelTest/Marc.resx
Normal file
219
ExcelTest/ExcelTest/Marc.resx
Normal file
@@ -0,0 +1,219 @@
|
|||||||
|
<?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="Column4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="Column1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="Column2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="Column3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="Column10.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="Column5.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="Column6.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="Column9.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="Column7.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="Column8.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="Column11.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="Column12.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="dataGridViewTextBoxColumn1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="dataGridViewTextBoxColumn2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="text440a.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="text440n.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="text440p.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="text440v.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="Column13.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="text440x.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="text490a.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="text490v.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="text505n.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="text505t.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="text505d.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="text505e.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="Column14.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="Column15.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="Column16.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="Column17.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="Column18.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="Column19.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="Column20.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
</root>
|
||||||
118
ExcelTest/ExcelTest/NewFolder1/Email.Designer.cs
generated
Normal file
118
ExcelTest/ExcelTest/NewFolder1/Email.Designer.cs
generated
Normal file
@@ -0,0 +1,118 @@
|
|||||||
|
namespace ExcelTest
|
||||||
|
{
|
||||||
|
partial class Email
|
||||||
|
{
|
||||||
|
/// <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.button1 = new System.Windows.Forms.Button();
|
||||||
|
this.label1 = new System.Windows.Forms.Label();
|
||||||
|
this.label2 = new System.Windows.Forms.Label();
|
||||||
|
this.textBox1 = new System.Windows.Forms.TextBox();
|
||||||
|
this.textBox2 = new System.Windows.Forms.TextBox();
|
||||||
|
this.richTextBox1 = new System.Windows.Forms.RichTextBox();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// button1
|
||||||
|
//
|
||||||
|
this.button1.Location = new System.Drawing.Point(654, 396);
|
||||||
|
this.button1.Name = "button1";
|
||||||
|
this.button1.Size = new System.Drawing.Size(75, 23);
|
||||||
|
this.button1.TabIndex = 0;
|
||||||
|
this.button1.Text = "button1";
|
||||||
|
this.button1.UseVisualStyleBackColor = true;
|
||||||
|
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||||
|
//
|
||||||
|
// label1
|
||||||
|
//
|
||||||
|
this.label1.AutoSize = true;
|
||||||
|
this.label1.Location = new System.Drawing.Point(124, 63);
|
||||||
|
this.label1.Name = "label1";
|
||||||
|
this.label1.Size = new System.Drawing.Size(62, 12);
|
||||||
|
this.label1.TabIndex = 1;
|
||||||
|
this.label1.Text = "toAddress";
|
||||||
|
//
|
||||||
|
// label2
|
||||||
|
//
|
||||||
|
this.label2.AutoSize = true;
|
||||||
|
this.label2.Location = new System.Drawing.Point(124, 97);
|
||||||
|
this.label2.Name = "label2";
|
||||||
|
this.label2.Size = new System.Drawing.Size(46, 12);
|
||||||
|
this.label2.TabIndex = 1;
|
||||||
|
this.label2.Text = "subject";
|
||||||
|
//
|
||||||
|
// textBox1
|
||||||
|
//
|
||||||
|
this.textBox1.Location = new System.Drawing.Point(192, 59);
|
||||||
|
this.textBox1.Name = "textBox1";
|
||||||
|
this.textBox1.Size = new System.Drawing.Size(424, 21);
|
||||||
|
this.textBox1.TabIndex = 2;
|
||||||
|
//
|
||||||
|
// textBox2
|
||||||
|
//
|
||||||
|
this.textBox2.Location = new System.Drawing.Point(192, 93);
|
||||||
|
this.textBox2.Name = "textBox2";
|
||||||
|
this.textBox2.Size = new System.Drawing.Size(424, 21);
|
||||||
|
this.textBox2.TabIndex = 2;
|
||||||
|
this.textBox2.Text = "Test_Mail_Title_By_SeungHo";
|
||||||
|
//
|
||||||
|
// richTextBox1
|
||||||
|
//
|
||||||
|
this.richTextBox1.Location = new System.Drawing.Point(126, 133);
|
||||||
|
this.richTextBox1.Name = "richTextBox1";
|
||||||
|
this.richTextBox1.Size = new System.Drawing.Size(490, 286);
|
||||||
|
this.richTextBox1.TabIndex = 3;
|
||||||
|
this.richTextBox1.Text = "Test_Mail_Body_By_SeungHo";
|
||||||
|
//
|
||||||
|
// Form2
|
||||||
|
//
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
this.ClientSize = new System.Drawing.Size(800, 450);
|
||||||
|
this.Controls.Add(this.richTextBox1);
|
||||||
|
this.Controls.Add(this.textBox2);
|
||||||
|
this.Controls.Add(this.textBox1);
|
||||||
|
this.Controls.Add(this.label2);
|
||||||
|
this.Controls.Add(this.label1);
|
||||||
|
this.Controls.Add(this.button1);
|
||||||
|
this.Name = "Form2";
|
||||||
|
this.Text = "Form2";
|
||||||
|
this.Load += new System.EventHandler(this.Form2_Load);
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
this.PerformLayout();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private System.Windows.Forms.Button button1;
|
||||||
|
private System.Windows.Forms.Label label1;
|
||||||
|
private System.Windows.Forms.Label label2;
|
||||||
|
private System.Windows.Forms.TextBox textBox1;
|
||||||
|
private System.Windows.Forms.TextBox textBox2;
|
||||||
|
private System.Windows.Forms.RichTextBox richTextBox1;
|
||||||
|
}
|
||||||
|
}
|
||||||
48
ExcelTest/ExcelTest/NewFolder1/Email.cs
Normal file
48
ExcelTest/ExcelTest/NewFolder1/Email.cs
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel;
|
||||||
|
using System.Data;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Net;
|
||||||
|
using System.Net.Mail;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace ExcelTest
|
||||||
|
{
|
||||||
|
public partial class Email : Form
|
||||||
|
{
|
||||||
|
Mail mail = new Mail("jhk132765@naver.com");
|
||||||
|
public Email()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
private void Form2_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void button1_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
string toAddress = this.textBox1.Text;
|
||||||
|
string subject = this.textBox2.Text;
|
||||||
|
string body = this.richTextBox1.Text;
|
||||||
|
if(toAddress=="")
|
||||||
|
{
|
||||||
|
MessageBox.Show("받을 메일을 입력해 주세요.");
|
||||||
|
}
|
||||||
|
if (subject == "")
|
||||||
|
{
|
||||||
|
MessageBox.Show("메일 제목을 입력해 주세요.");
|
||||||
|
}
|
||||||
|
if (body == "")
|
||||||
|
{
|
||||||
|
MessageBox.Show("메일 내용을 입력해 주세요.");
|
||||||
|
}
|
||||||
|
mail.SetToAddress(toAddress);
|
||||||
|
MessageBox.Show(mail.SendEmail(subject, body));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
120
ExcelTest/ExcelTest/NewFolder1/Email.resx
Normal file
120
ExcelTest/ExcelTest/NewFolder1/Email.resx
Normal 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>
|
||||||
62
ExcelTest/ExcelTest/NewFolder1/EmailSub.cs
Normal file
62
ExcelTest/ExcelTest/NewFolder1/EmailSub.cs
Normal file
@@ -0,0 +1,62 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Net;
|
||||||
|
using System.Net.Mail;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace ExcelTest
|
||||||
|
{
|
||||||
|
class Mail
|
||||||
|
{
|
||||||
|
private MailAddress sendAddress = null;
|
||||||
|
private MailAddress toAddress = null;
|
||||||
|
private string sendPassword = "cjaeks3356!";
|
||||||
|
|
||||||
|
public Mail(string sendMail)
|
||||||
|
{
|
||||||
|
this.sendAddress = new MailAddress(sendMail);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void SetToAddress(string toMail)
|
||||||
|
{
|
||||||
|
this.toAddress = new MailAddress(toMail);
|
||||||
|
}
|
||||||
|
|
||||||
|
public string SendEmail(string subject, string body)
|
||||||
|
{
|
||||||
|
SmtpClient smtp = null;
|
||||||
|
MailMessage message = null;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
smtp = new SmtpClient
|
||||||
|
{
|
||||||
|
Host = "smtp.naver.com",
|
||||||
|
EnableSsl = true,
|
||||||
|
DeliveryMethod = SmtpDeliveryMethod.Network,
|
||||||
|
Credentials = new NetworkCredential(sendAddress.Address, sendPassword),
|
||||||
|
Timeout = 20000
|
||||||
|
};
|
||||||
|
message = new MailMessage(sendAddress, toAddress)
|
||||||
|
{
|
||||||
|
Subject = subject,
|
||||||
|
Body = body
|
||||||
|
};
|
||||||
|
smtp.Send(message);
|
||||||
|
return "send mail ok";
|
||||||
|
}
|
||||||
|
catch (Exception e)
|
||||||
|
{
|
||||||
|
return "send mail fail";
|
||||||
|
}
|
||||||
|
finally
|
||||||
|
{
|
||||||
|
if(smtp != null) { smtp.Dispose(); }
|
||||||
|
if (message != null) { message.Dispose(); }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
121
ExcelTest/ExcelTest/NewFolder1/Font.Designer.cs
generated
Normal file
121
ExcelTest/ExcelTest/NewFolder1/Font.Designer.cs
generated
Normal file
@@ -0,0 +1,121 @@
|
|||||||
|
namespace ExcelTest
|
||||||
|
{
|
||||||
|
partial class Font
|
||||||
|
{
|
||||||
|
/// <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.richTextBox1 = new System.Windows.Forms.RichTextBox();
|
||||||
|
this.comboBox1 = new System.Windows.Forms.ComboBox();
|
||||||
|
this.comboBox2 = new System.Windows.Forms.ComboBox();
|
||||||
|
this.richTextBox2 = new System.Windows.Forms.RichTextBox();
|
||||||
|
this.label1 = new System.Windows.Forms.Label();
|
||||||
|
this.button1 = new System.Windows.Forms.Button();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// richTextBox1
|
||||||
|
//
|
||||||
|
this.richTextBox1.Location = new System.Drawing.Point(117, 119);
|
||||||
|
this.richTextBox1.Name = "richTextBox1";
|
||||||
|
this.richTextBox1.Size = new System.Drawing.Size(796, 174);
|
||||||
|
this.richTextBox1.TabIndex = 0;
|
||||||
|
this.richTextBox1.Text = "안녕하세요";
|
||||||
|
//
|
||||||
|
// comboBox1
|
||||||
|
//
|
||||||
|
this.comboBox1.FormattingEnabled = true;
|
||||||
|
this.comboBox1.Location = new System.Drawing.Point(117, 70);
|
||||||
|
this.comboBox1.Name = "comboBox1";
|
||||||
|
this.comboBox1.Size = new System.Drawing.Size(121, 20);
|
||||||
|
this.comboBox1.TabIndex = 1;
|
||||||
|
this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
|
||||||
|
//
|
||||||
|
// comboBox2
|
||||||
|
//
|
||||||
|
this.comboBox2.FormattingEnabled = true;
|
||||||
|
this.comboBox2.Location = new System.Drawing.Point(117, 343);
|
||||||
|
this.comboBox2.Name = "comboBox2";
|
||||||
|
this.comboBox2.Size = new System.Drawing.Size(121, 20);
|
||||||
|
this.comboBox2.TabIndex = 3;
|
||||||
|
this.comboBox2.SelectedIndexChanged += new System.EventHandler(this.comboBox2_SelectedIndexChanged);
|
||||||
|
//
|
||||||
|
// richTextBox2
|
||||||
|
//
|
||||||
|
this.richTextBox2.Location = new System.Drawing.Point(117, 392);
|
||||||
|
this.richTextBox2.Name = "richTextBox2";
|
||||||
|
this.richTextBox2.Size = new System.Drawing.Size(796, 174);
|
||||||
|
this.richTextBox2.TabIndex = 2;
|
||||||
|
this.richTextBox2.Text = "반갑습니다";
|
||||||
|
//
|
||||||
|
// label1
|
||||||
|
//
|
||||||
|
this.label1.AutoSize = true;
|
||||||
|
this.label1.Location = new System.Drawing.Point(355, 70);
|
||||||
|
this.label1.Name = "label1";
|
||||||
|
this.label1.Size = new System.Drawing.Size(38, 12);
|
||||||
|
this.label1.TabIndex = 4;
|
||||||
|
this.label1.Text = "label1";
|
||||||
|
//
|
||||||
|
// button1
|
||||||
|
//
|
||||||
|
this.button1.Location = new System.Drawing.Point(496, 58);
|
||||||
|
this.button1.Name = "button1";
|
||||||
|
this.button1.Size = new System.Drawing.Size(75, 23);
|
||||||
|
this.button1.TabIndex = 5;
|
||||||
|
this.button1.Text = "button1";
|
||||||
|
this.button1.UseVisualStyleBackColor = true;
|
||||||
|
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||||
|
//
|
||||||
|
// Form1
|
||||||
|
//
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
this.ClientSize = new System.Drawing.Size(1698, 966);
|
||||||
|
this.Controls.Add(this.button1);
|
||||||
|
this.Controls.Add(this.label1);
|
||||||
|
this.Controls.Add(this.comboBox2);
|
||||||
|
this.Controls.Add(this.richTextBox2);
|
||||||
|
this.Controls.Add(this.comboBox1);
|
||||||
|
this.Controls.Add(this.richTextBox1);
|
||||||
|
this.Name = "Form1";
|
||||||
|
this.Text = "Form1";
|
||||||
|
this.Load += new System.EventHandler(this.Form1_Load);
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
this.PerformLayout();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private System.Windows.Forms.RichTextBox richTextBox1;
|
||||||
|
private System.Windows.Forms.ComboBox comboBox1;
|
||||||
|
private System.Windows.Forms.ComboBox comboBox2;
|
||||||
|
private System.Windows.Forms.RichTextBox richTextBox2;
|
||||||
|
private System.Windows.Forms.Label label1;
|
||||||
|
private System.Windows.Forms.Button button1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
51
ExcelTest/ExcelTest/NewFolder1/Font.cs
Normal file
51
ExcelTest/ExcelTest/NewFolder1/Font.cs
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel;
|
||||||
|
using System.Data;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace ExcelTest
|
||||||
|
{
|
||||||
|
public partial class Font : Form
|
||||||
|
{
|
||||||
|
public Font()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
this.Load += Form1_Load;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Form1_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
// richTextBox1.LanguageOption = RichTextBoxLanguageOptions.UIFonts;
|
||||||
|
foreach(FontFamily oneFontFamily in FontFamily.Families)
|
||||||
|
{
|
||||||
|
comboBox1.Items.Add(oneFontFamily.Name);
|
||||||
|
}
|
||||||
|
comboBox1.Text = this.richTextBox1.Font.Name.ToString();
|
||||||
|
comboBox2.Text = this.richTextBox1.Font.Size.ToString();
|
||||||
|
|
||||||
|
richTextBox1.Focus();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void comboBox2_SelectedIndexChanged(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
//richTextBox1.SelectionFont = new Font(comboBox1.Text, 12, FontStyle.Bold);
|
||||||
|
|
||||||
|
label1.Text = comboBox1.Text;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void button1_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
120
ExcelTest/ExcelTest/NewFolder1/Font.resx
Normal file
120
ExcelTest/ExcelTest/NewFolder1/Font.resx
Normal 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>
|
||||||
230
ExcelTest/ExcelTest/NewFolder1/SubString.Designer.cs
generated
Normal file
230
ExcelTest/ExcelTest/NewFolder1/SubString.Designer.cs
generated
Normal file
@@ -0,0 +1,230 @@
|
|||||||
|
namespace ExcelTest
|
||||||
|
{
|
||||||
|
partial class SubString
|
||||||
|
{
|
||||||
|
/// <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.lab_Regex_1 = new System.Windows.Forms.Label();
|
||||||
|
this.lab_Regex_2 = new System.Windows.Forms.Label();
|
||||||
|
this.label3 = new System.Windows.Forms.Label();
|
||||||
|
this.tb_1_1 = new System.Windows.Forms.TextBox();
|
||||||
|
this.tb_2_1 = new System.Windows.Forms.TextBox();
|
||||||
|
this.tb_3_1 = new System.Windows.Forms.TextBox();
|
||||||
|
this.tb_4_1 = new System.Windows.Forms.TextBox();
|
||||||
|
this.tb_1_2 = new System.Windows.Forms.TextBox();
|
||||||
|
this.tb_2_2 = new System.Windows.Forms.TextBox();
|
||||||
|
this.tb_3_2 = new System.Windows.Forms.TextBox();
|
||||||
|
this.tb_4_2 = new System.Windows.Forms.TextBox();
|
||||||
|
this.tb_1_3 = new System.Windows.Forms.TextBox();
|
||||||
|
this.tb_2_3 = new System.Windows.Forms.TextBox();
|
||||||
|
this.tb_3_3 = new System.Windows.Forms.TextBox();
|
||||||
|
this.tb_4_3 = new System.Windows.Forms.TextBox();
|
||||||
|
this.btn_Regex = new System.Windows.Forms.Button();
|
||||||
|
this.btn_Substring = new System.Windows.Forms.Button();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// lab_Regex_1
|
||||||
|
//
|
||||||
|
this.lab_Regex_1.AutoSize = true;
|
||||||
|
this.lab_Regex_1.Location = new System.Drawing.Point(197, 114);
|
||||||
|
this.lab_Regex_1.Name = "lab_Regex_1";
|
||||||
|
this.lab_Regex_1.Size = new System.Drawing.Size(45, 12);
|
||||||
|
this.lab_Regex_1.TabIndex = 0;
|
||||||
|
this.lab_Regex_1.Text = "추출 전";
|
||||||
|
//
|
||||||
|
// lab_Regex_2
|
||||||
|
//
|
||||||
|
this.lab_Regex_2.AutoSize = true;
|
||||||
|
this.lab_Regex_2.Location = new System.Drawing.Point(377, 114);
|
||||||
|
this.lab_Regex_2.Name = "lab_Regex_2";
|
||||||
|
this.lab_Regex_2.Size = new System.Drawing.Size(45, 12);
|
||||||
|
this.lab_Regex_2.TabIndex = 0;
|
||||||
|
this.lab_Regex_2.Text = "추출 후";
|
||||||
|
//
|
||||||
|
// label3
|
||||||
|
//
|
||||||
|
this.label3.AutoSize = true;
|
||||||
|
this.label3.Location = new System.Drawing.Point(551, 114);
|
||||||
|
this.label3.Name = "label3";
|
||||||
|
this.label3.Size = new System.Drawing.Size(57, 12);
|
||||||
|
this.label3.TabIndex = 0;
|
||||||
|
this.label3.Text = "부분 출력";
|
||||||
|
//
|
||||||
|
// tb_1_1
|
||||||
|
//
|
||||||
|
this.tb_1_1.Location = new System.Drawing.Point(169, 140);
|
||||||
|
this.tb_1_1.Name = "tb_1_1";
|
||||||
|
this.tb_1_1.Size = new System.Drawing.Size(100, 21);
|
||||||
|
this.tb_1_1.TabIndex = 1;
|
||||||
|
//
|
||||||
|
// tb_2_1
|
||||||
|
//
|
||||||
|
this.tb_2_1.Location = new System.Drawing.Point(169, 167);
|
||||||
|
this.tb_2_1.Name = "tb_2_1";
|
||||||
|
this.tb_2_1.Size = new System.Drawing.Size(100, 21);
|
||||||
|
this.tb_2_1.TabIndex = 1;
|
||||||
|
//
|
||||||
|
// tb_3_1
|
||||||
|
//
|
||||||
|
this.tb_3_1.Location = new System.Drawing.Point(169, 194);
|
||||||
|
this.tb_3_1.Name = "tb_3_1";
|
||||||
|
this.tb_3_1.Size = new System.Drawing.Size(100, 21);
|
||||||
|
this.tb_3_1.TabIndex = 1;
|
||||||
|
//
|
||||||
|
// tb_4_1
|
||||||
|
//
|
||||||
|
this.tb_4_1.Location = new System.Drawing.Point(169, 221);
|
||||||
|
this.tb_4_1.Name = "tb_4_1";
|
||||||
|
this.tb_4_1.Size = new System.Drawing.Size(100, 21);
|
||||||
|
this.tb_4_1.TabIndex = 1;
|
||||||
|
//
|
||||||
|
// tb_1_2
|
||||||
|
//
|
||||||
|
this.tb_1_2.Location = new System.Drawing.Point(349, 140);
|
||||||
|
this.tb_1_2.Name = "tb_1_2";
|
||||||
|
this.tb_1_2.Size = new System.Drawing.Size(100, 21);
|
||||||
|
this.tb_1_2.TabIndex = 1;
|
||||||
|
//
|
||||||
|
// tb_2_2
|
||||||
|
//
|
||||||
|
this.tb_2_2.Location = new System.Drawing.Point(349, 167);
|
||||||
|
this.tb_2_2.Name = "tb_2_2";
|
||||||
|
this.tb_2_2.Size = new System.Drawing.Size(100, 21);
|
||||||
|
this.tb_2_2.TabIndex = 1;
|
||||||
|
//
|
||||||
|
// tb_3_2
|
||||||
|
//
|
||||||
|
this.tb_3_2.Location = new System.Drawing.Point(349, 194);
|
||||||
|
this.tb_3_2.Name = "tb_3_2";
|
||||||
|
this.tb_3_2.Size = new System.Drawing.Size(100, 21);
|
||||||
|
this.tb_3_2.TabIndex = 1;
|
||||||
|
//
|
||||||
|
// tb_4_2
|
||||||
|
//
|
||||||
|
this.tb_4_2.Location = new System.Drawing.Point(349, 221);
|
||||||
|
this.tb_4_2.Name = "tb_4_2";
|
||||||
|
this.tb_4_2.Size = new System.Drawing.Size(100, 21);
|
||||||
|
this.tb_4_2.TabIndex = 1;
|
||||||
|
//
|
||||||
|
// tb_1_3
|
||||||
|
//
|
||||||
|
this.tb_1_3.Location = new System.Drawing.Point(529, 140);
|
||||||
|
this.tb_1_3.Name = "tb_1_3";
|
||||||
|
this.tb_1_3.Size = new System.Drawing.Size(100, 21);
|
||||||
|
this.tb_1_3.TabIndex = 1;
|
||||||
|
//
|
||||||
|
// tb_2_3
|
||||||
|
//
|
||||||
|
this.tb_2_3.Location = new System.Drawing.Point(529, 167);
|
||||||
|
this.tb_2_3.Name = "tb_2_3";
|
||||||
|
this.tb_2_3.Size = new System.Drawing.Size(100, 21);
|
||||||
|
this.tb_2_3.TabIndex = 1;
|
||||||
|
//
|
||||||
|
// tb_3_3
|
||||||
|
//
|
||||||
|
this.tb_3_3.Location = new System.Drawing.Point(529, 194);
|
||||||
|
this.tb_3_3.Name = "tb_3_3";
|
||||||
|
this.tb_3_3.Size = new System.Drawing.Size(100, 21);
|
||||||
|
this.tb_3_3.TabIndex = 1;
|
||||||
|
//
|
||||||
|
// tb_4_3
|
||||||
|
//
|
||||||
|
this.tb_4_3.Location = new System.Drawing.Point(529, 221);
|
||||||
|
this.tb_4_3.Name = "tb_4_3";
|
||||||
|
this.tb_4_3.Size = new System.Drawing.Size(100, 21);
|
||||||
|
this.tb_4_3.TabIndex = 1;
|
||||||
|
//
|
||||||
|
// btn_Regex
|
||||||
|
//
|
||||||
|
this.btn_Regex.Location = new System.Drawing.Point(255, 262);
|
||||||
|
this.btn_Regex.Name = "btn_Regex";
|
||||||
|
this.btn_Regex.Size = new System.Drawing.Size(75, 23);
|
||||||
|
this.btn_Regex.TabIndex = 2;
|
||||||
|
this.btn_Regex.Text = "추출";
|
||||||
|
this.btn_Regex.UseVisualStyleBackColor = true;
|
||||||
|
this.btn_Regex.Click += new System.EventHandler(this.btn_Regex_Click);
|
||||||
|
//
|
||||||
|
// btn_Substring
|
||||||
|
//
|
||||||
|
this.btn_Substring.Location = new System.Drawing.Point(451, 262);
|
||||||
|
this.btn_Substring.Name = "btn_Substring";
|
||||||
|
this.btn_Substring.Size = new System.Drawing.Size(75, 23);
|
||||||
|
this.btn_Substring.TabIndex = 2;
|
||||||
|
this.btn_Substring.Text = "부분추출";
|
||||||
|
this.btn_Substring.UseVisualStyleBackColor = true;
|
||||||
|
this.btn_Substring.Click += new System.EventHandler(this.btn_Substring_Click);
|
||||||
|
//
|
||||||
|
// SubString
|
||||||
|
//
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
this.ClientSize = new System.Drawing.Size(800, 450);
|
||||||
|
this.Controls.Add(this.btn_Substring);
|
||||||
|
this.Controls.Add(this.btn_Regex);
|
||||||
|
this.Controls.Add(this.tb_4_3);
|
||||||
|
this.Controls.Add(this.tb_4_2);
|
||||||
|
this.Controls.Add(this.tb_4_1);
|
||||||
|
this.Controls.Add(this.tb_3_3);
|
||||||
|
this.Controls.Add(this.tb_3_2);
|
||||||
|
this.Controls.Add(this.tb_3_1);
|
||||||
|
this.Controls.Add(this.tb_2_3);
|
||||||
|
this.Controls.Add(this.tb_2_2);
|
||||||
|
this.Controls.Add(this.tb_2_1);
|
||||||
|
this.Controls.Add(this.tb_1_3);
|
||||||
|
this.Controls.Add(this.tb_1_2);
|
||||||
|
this.Controls.Add(this.tb_1_1);
|
||||||
|
this.Controls.Add(this.label3);
|
||||||
|
this.Controls.Add(this.lab_Regex_2);
|
||||||
|
this.Controls.Add(this.lab_Regex_1);
|
||||||
|
this.Name = "SubString";
|
||||||
|
this.Text = "SubString";
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
this.PerformLayout();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private System.Windows.Forms.Label lab_Regex_1;
|
||||||
|
private System.Windows.Forms.Label lab_Regex_2;
|
||||||
|
private System.Windows.Forms.Label label3;
|
||||||
|
private System.Windows.Forms.TextBox tb_1_1;
|
||||||
|
private System.Windows.Forms.TextBox tb_2_1;
|
||||||
|
private System.Windows.Forms.TextBox tb_3_1;
|
||||||
|
private System.Windows.Forms.TextBox tb_4_1;
|
||||||
|
private System.Windows.Forms.TextBox tb_1_2;
|
||||||
|
private System.Windows.Forms.TextBox tb_2_2;
|
||||||
|
private System.Windows.Forms.TextBox tb_3_2;
|
||||||
|
private System.Windows.Forms.TextBox tb_4_2;
|
||||||
|
private System.Windows.Forms.TextBox tb_1_3;
|
||||||
|
private System.Windows.Forms.TextBox tb_2_3;
|
||||||
|
private System.Windows.Forms.TextBox tb_3_3;
|
||||||
|
private System.Windows.Forms.TextBox tb_4_3;
|
||||||
|
private System.Windows.Forms.Button btn_Regex;
|
||||||
|
private System.Windows.Forms.Button btn_Substring;
|
||||||
|
}
|
||||||
|
}
|
||||||
55
ExcelTest/ExcelTest/NewFolder1/SubString.cs
Normal file
55
ExcelTest/ExcelTest/NewFolder1/SubString.cs
Normal file
@@ -0,0 +1,55 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel;
|
||||||
|
using System.Data;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Text.RegularExpressions;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
using System.Text.RegularExpressions;
|
||||||
|
|
||||||
|
namespace ExcelTest
|
||||||
|
{
|
||||||
|
public partial class SubString : Form
|
||||||
|
{
|
||||||
|
public SubString()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
tb_Clear();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void tb_Clear()
|
||||||
|
{
|
||||||
|
tb_1_1.Text = "2017.02.01";
|
||||||
|
tb_2_1.Text = "17-02-01";
|
||||||
|
tb_3_1.Text = "2017년02월01일";
|
||||||
|
tb_4_1.Text = "17 02 01";
|
||||||
|
}
|
||||||
|
|
||||||
|
private void btn_Regex_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
string StrTemp1 = Regex.Replace(tb_1_1.Text, @"\D", "");
|
||||||
|
string StrTemp2 = Regex.Replace(tb_2_1.Text, @"\D", "");
|
||||||
|
string StrTemp3 = Regex.Replace(tb_3_1.Text, @"\D", "");
|
||||||
|
string StrTemp4 = Regex.Replace(tb_4_1.Text, @"\D", "");
|
||||||
|
|
||||||
|
tb_1_2.Text = StrTemp1;
|
||||||
|
tb_2_2.Text = StrTemp2;
|
||||||
|
tb_3_2.Text = StrTemp3;
|
||||||
|
tb_4_2.Text = StrTemp4;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void btn_Substring_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if((tb_1_2.Text != "") && (tb_1_2.Text != "") &&(tb_1_2.Text!="") && (tb_1_2.Text != ""))
|
||||||
|
{
|
||||||
|
tb_1_3.Text = tb_1_2.Text.Substring(2);
|
||||||
|
tb_2_3.Text = tb_2_2.Text.Substring(2, 4);
|
||||||
|
tb_3_3.Text = tb_3_2.Text.Substring(2, 6);
|
||||||
|
tb_4_3.Text = tb_4_2.Text.Substring(2, 3);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
120
ExcelTest/ExcelTest/NewFolder1/SubString.resx
Normal file
120
ExcelTest/ExcelTest/NewFolder1/SubString.resx
Normal 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>
|
||||||
23
ExcelTest/ExcelTest/Program.cs
Normal file
23
ExcelTest/ExcelTest/Program.cs
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace ExcelTest
|
||||||
|
{
|
||||||
|
static class Program
|
||||||
|
{
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 해당 애플리케이션의 주 진입점입니다.
|
||||||
|
/// </summary>
|
||||||
|
[STAThread]
|
||||||
|
static void Main()
|
||||||
|
{
|
||||||
|
Application.EnableVisualStyles();
|
||||||
|
Application.SetCompatibleTextRenderingDefault(false);
|
||||||
|
Application.Run(new Marc());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
36
ExcelTest/ExcelTest/Properties/AssemblyInfo.cs
Normal file
36
ExcelTest/ExcelTest/Properties/AssemblyInfo.cs
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
using System.Reflection;
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
|
// 어셈블리에 대한 일반 정보는 다음 특성 집합을 통해
|
||||||
|
// 제어됩니다. 어셈블리와 관련된 정보를 수정하려면
|
||||||
|
// 이러한 특성 값을 변경하세요.
|
||||||
|
[assembly: AssemblyTitle("ExcelTest")]
|
||||||
|
[assembly: AssemblyDescription("")]
|
||||||
|
[assembly: AssemblyConfiguration("")]
|
||||||
|
[assembly: AssemblyCompany("Microsoft Corporation")]
|
||||||
|
[assembly: AssemblyProduct("ExcelTest")]
|
||||||
|
[assembly: AssemblyCopyright("Copyright © Microsoft Corporation 2020")]
|
||||||
|
[assembly: AssemblyTrademark("")]
|
||||||
|
[assembly: AssemblyCulture("")]
|
||||||
|
|
||||||
|
// ComVisible을 false로 설정하면 이 어셈블리의 형식이 COM 구성 요소에
|
||||||
|
// 표시되지 않습니다. COM에서 이 어셈블리의 형식에 액세스하려면
|
||||||
|
// 해당 형식에 대해 ComVisible 특성을 true로 설정하세요.
|
||||||
|
[assembly: ComVisible(false)]
|
||||||
|
|
||||||
|
// 이 프로젝트가 COM에 노출되는 경우 다음 GUID는 typelib의 ID를 나타냅니다.
|
||||||
|
[assembly: Guid("f3034edf-59e0-4838-9c54-c79f14c60601")]
|
||||||
|
|
||||||
|
// 어셈블리의 버전 정보는 다음 네 가지 값으로 구성됩니다.
|
||||||
|
//
|
||||||
|
// 주 버전
|
||||||
|
// 부 버전
|
||||||
|
// 빌드 번호
|
||||||
|
// 수정 버전
|
||||||
|
//
|
||||||
|
// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호를
|
||||||
|
// 기본값으로 할 수 있습니다.
|
||||||
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
|
[assembly: AssemblyVersion("1.0.0.0")]
|
||||||
|
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||||
71
ExcelTest/ExcelTest/Properties/Resources.Designer.cs
generated
Normal file
71
ExcelTest/ExcelTest/Properties/Resources.Designer.cs
generated
Normal file
@@ -0,0 +1,71 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// 이 코드는 도구를 사용하여 생성되었습니다.
|
||||||
|
// 런타임 버전:4.0.30319.42000
|
||||||
|
//
|
||||||
|
// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면
|
||||||
|
// 이러한 변경 내용이 손실됩니다.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
namespace ExcelTest.Properties
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 지역화된 문자열 등을 찾기 위한 강력한 형식의 리소스 클래스입니다.
|
||||||
|
/// </summary>
|
||||||
|
// 이 클래스는 ResGen 또는 Visual Studio와 같은 도구를 통해 StronglyTypedResourceBuilder
|
||||||
|
// 클래스에서 자동으로 생성되었습니다.
|
||||||
|
// 멤버를 추가하거나 제거하려면 .ResX 파일을 편집한 다음 /str 옵션을 사용하여
|
||||||
|
// ResGen을 다시 실행하거나 VS 프로젝트를 다시 빌드하십시오.
|
||||||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.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 ((resourceMan == null))
|
||||||
|
{
|
||||||
|
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("ExcelTest.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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
117
ExcelTest/ExcelTest/Properties/Resources.resx
Normal file
117
ExcelTest/ExcelTest/Properties/Resources.resx
Normal file
@@ -0,0 +1,117 @@
|
|||||||
|
<?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.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: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" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
</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" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
</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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
</root>
|
||||||
30
ExcelTest/ExcelTest/Properties/Settings.Designer.cs
generated
Normal file
30
ExcelTest/ExcelTest/Properties/Settings.Designer.cs
generated
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// This code was generated by a tool.
|
||||||
|
// Runtime Version:4.0.30319.42000
|
||||||
|
//
|
||||||
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
|
// the code is regenerated.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
namespace ExcelTest.Properties
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
|
||||||
|
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
|
||||||
|
{
|
||||||
|
|
||||||
|
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
||||||
|
|
||||||
|
public static Settings Default
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return defaultInstance;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
7
ExcelTest/ExcelTest/Properties/Settings.settings
Normal file
7
ExcelTest/ExcelTest/Properties/Settings.settings
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
<?xml version='1.0' encoding='utf-8'?>
|
||||||
|
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
|
||||||
|
<Profiles>
|
||||||
|
<Profile Name="(Default)" />
|
||||||
|
</Profiles>
|
||||||
|
<Settings />
|
||||||
|
</SettingsFile>
|
||||||
BIN
ExcelTest/ExcelTest/bin/Debug/BouncyCastle.Crypto.dll
Normal file
BIN
ExcelTest/ExcelTest/bin/Debug/BouncyCastle.Crypto.dll
Normal file
Binary file not shown.
BIN
ExcelTest/ExcelTest/bin/Debug/ExcelTest.exe
Normal file
BIN
ExcelTest/ExcelTest/bin/Debug/ExcelTest.exe
Normal file
Binary file not shown.
14
ExcelTest/ExcelTest/bin/Debug/ExcelTest.exe.config
Normal file
14
ExcelTest/ExcelTest/bin/Debug/ExcelTest.exe.config
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<configuration>
|
||||||
|
<startup>
|
||||||
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||||
|
</startup>
|
||||||
|
<runtime>
|
||||||
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
</assemblyBinding>
|
||||||
|
</runtime>
|
||||||
|
</configuration>
|
||||||
BIN
ExcelTest/ExcelTest/bin/Debug/ExcelTest.pdb
Normal file
BIN
ExcelTest/ExcelTest/bin/Debug/ExcelTest.pdb
Normal file
Binary file not shown.
BIN
ExcelTest/ExcelTest/bin/Debug/Google.Protobuf.dll
Normal file
BIN
ExcelTest/ExcelTest/bin/Debug/Google.Protobuf.dll
Normal file
Binary file not shown.
BIN
ExcelTest/ExcelTest/bin/Debug/K4os.Compression.LZ4.Streams.dll
Normal file
BIN
ExcelTest/ExcelTest/bin/Debug/K4os.Compression.LZ4.Streams.dll
Normal file
Binary file not shown.
BIN
ExcelTest/ExcelTest/bin/Debug/K4os.Compression.LZ4.dll
Normal file
BIN
ExcelTest/ExcelTest/bin/Debug/K4os.Compression.LZ4.dll
Normal file
Binary file not shown.
BIN
ExcelTest/ExcelTest/bin/Debug/K4os.Hash.xxHash.dll
Normal file
BIN
ExcelTest/ExcelTest/bin/Debug/K4os.Hash.xxHash.dll
Normal file
Binary file not shown.
BIN
ExcelTest/ExcelTest/bin/Debug/MySql.Data.dll
Normal file
BIN
ExcelTest/ExcelTest/bin/Debug/MySql.Data.dll
Normal file
Binary file not shown.
17803
ExcelTest/ExcelTest/bin/Debug/MySql.Data.xml
Normal file
17803
ExcelTest/ExcelTest/bin/Debug/MySql.Data.xml
Normal file
File diff suppressed because it is too large
Load Diff
BIN
ExcelTest/ExcelTest/bin/Debug/Renci.SshNet.dll
Normal file
BIN
ExcelTest/ExcelTest/bin/Debug/Renci.SshNet.dll
Normal file
Binary file not shown.
BIN
ExcelTest/ExcelTest/bin/Debug/System.Buffers.dll
Normal file
BIN
ExcelTest/ExcelTest/bin/Debug/System.Buffers.dll
Normal file
Binary file not shown.
BIN
ExcelTest/ExcelTest/bin/Debug/System.Memory.dll
Normal file
BIN
ExcelTest/ExcelTest/bin/Debug/System.Memory.dll
Normal file
Binary file not shown.
BIN
ExcelTest/ExcelTest/bin/Debug/System.Numerics.Vectors.dll
Normal file
BIN
ExcelTest/ExcelTest/bin/Debug/System.Numerics.Vectors.dll
Normal file
Binary file not shown.
Binary file not shown.
BIN
ExcelTest/ExcelTest/bin/Debug/Ubiety.Dns.Core.dll
Normal file
BIN
ExcelTest/ExcelTest/bin/Debug/Ubiety.Dns.Core.dll
Normal file
Binary file not shown.
BIN
ExcelTest/ExcelTest/bin/Debug/Zstandard.Net.dll
Normal file
BIN
ExcelTest/ExcelTest/bin/Debug/Zstandard.Net.dll
Normal file
Binary file not shown.
113
ExcelTest/ExcelTest/findNchange.Designer.cs
generated
Normal file
113
ExcelTest/ExcelTest/findNchange.Designer.cs
generated
Normal file
@@ -0,0 +1,113 @@
|
|||||||
|
namespace ExcelTest
|
||||||
|
{
|
||||||
|
partial class findNchange
|
||||||
|
{
|
||||||
|
/// <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.label1 = new System.Windows.Forms.Label();
|
||||||
|
this.button1 = new System.Windows.Forms.Button();
|
||||||
|
this.button2 = new System.Windows.Forms.Button();
|
||||||
|
this.textBox1 = new System.Windows.Forms.TextBox();
|
||||||
|
this.textBox2 = new System.Windows.Forms.TextBox();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// label1
|
||||||
|
//
|
||||||
|
this.label1.AutoSize = true;
|
||||||
|
this.label1.Location = new System.Drawing.Point(13, 13);
|
||||||
|
this.label1.Name = "label1";
|
||||||
|
this.label1.Size = new System.Drawing.Size(149, 12);
|
||||||
|
this.label1.TabIndex = 3;
|
||||||
|
this.label1.Text = "바꿀 단어를 입력해주세요.";
|
||||||
|
//
|
||||||
|
// button1
|
||||||
|
//
|
||||||
|
this.button1.Location = new System.Drawing.Point(365, 31);
|
||||||
|
this.button1.Name = "button1";
|
||||||
|
this.button1.Size = new System.Drawing.Size(75, 23);
|
||||||
|
this.button1.TabIndex = 3;
|
||||||
|
this.button1.Text = "확인";
|
||||||
|
this.button1.UseVisualStyleBackColor = true;
|
||||||
|
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||||
|
//
|
||||||
|
// button2
|
||||||
|
//
|
||||||
|
this.button2.Location = new System.Drawing.Point(365, 60);
|
||||||
|
this.button2.Name = "button2";
|
||||||
|
this.button2.Size = new System.Drawing.Size(75, 23);
|
||||||
|
this.button2.TabIndex = 4;
|
||||||
|
this.button2.Text = "취소";
|
||||||
|
this.button2.UseVisualStyleBackColor = true;
|
||||||
|
this.button2.Click += new System.EventHandler(this.button2_Click);
|
||||||
|
//
|
||||||
|
// textBox1
|
||||||
|
//
|
||||||
|
this.textBox1.Location = new System.Drawing.Point(12, 78);
|
||||||
|
this.textBox1.Name = "textBox1";
|
||||||
|
this.textBox1.Size = new System.Drawing.Size(324, 21);
|
||||||
|
this.textBox1.TabIndex = 1;
|
||||||
|
this.textBox1.Text = "찾을 내용";
|
||||||
|
this.textBox1.Click += new System.EventHandler(this.textBox1_Click);
|
||||||
|
this.textBox1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.textBox2_KeyDown);
|
||||||
|
//
|
||||||
|
// textBox2
|
||||||
|
//
|
||||||
|
this.textBox2.Location = new System.Drawing.Point(12, 105);
|
||||||
|
this.textBox2.Name = "textBox2";
|
||||||
|
this.textBox2.Size = new System.Drawing.Size(324, 21);
|
||||||
|
this.textBox2.TabIndex = 2;
|
||||||
|
this.textBox2.Text = "바꿀 내용";
|
||||||
|
this.textBox2.Click += new System.EventHandler(this.textBox2_Click);
|
||||||
|
this.textBox2.KeyDown += new System.Windows.Forms.KeyEventHandler(this.textBox2_KeyDown);
|
||||||
|
//
|
||||||
|
// findNchange
|
||||||
|
//
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
this.ClientSize = new System.Drawing.Size(452, 138);
|
||||||
|
this.Controls.Add(this.textBox2);
|
||||||
|
this.Controls.Add(this.textBox1);
|
||||||
|
this.Controls.Add(this.button2);
|
||||||
|
this.Controls.Add(this.button1);
|
||||||
|
this.Controls.Add(this.label1);
|
||||||
|
this.Name = "findNchange";
|
||||||
|
this.Text = "바꾸기(Ctrl+H)";
|
||||||
|
this.Load += new System.EventHandler(this.findNchange_Load);
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
this.PerformLayout();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private System.Windows.Forms.Label label1;
|
||||||
|
private System.Windows.Forms.Button button2;
|
||||||
|
public System.Windows.Forms.TextBox textBox1;
|
||||||
|
public System.Windows.Forms.TextBox textBox2;
|
||||||
|
public System.Windows.Forms.Button button1;
|
||||||
|
}
|
||||||
|
}
|
||||||
86
ExcelTest/ExcelTest/findNchange.cs
Normal file
86
ExcelTest/ExcelTest/findNchange.cs
Normal file
@@ -0,0 +1,86 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel;
|
||||||
|
using System.Data;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Runtime.Remoting.Channels;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace ExcelTest
|
||||||
|
{
|
||||||
|
public partial class findNchange : Form
|
||||||
|
{
|
||||||
|
public bool buttonClick1 = false;
|
||||||
|
public bool buttonClick2 = false;
|
||||||
|
string find = "";
|
||||||
|
string change = "";
|
||||||
|
Marc mac;
|
||||||
|
public findNchange(Marc _mac)
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
mac = _mac;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void findNchange_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
private void textBox2_KeyDown(object sender, KeyEventArgs e)
|
||||||
|
{
|
||||||
|
if (e.KeyCode == Keys.Escape)
|
||||||
|
{
|
||||||
|
Close();
|
||||||
|
}
|
||||||
|
if (e.KeyCode == Keys.Enter)
|
||||||
|
{
|
||||||
|
button1_Click(sender, e);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void button1_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
buttonClick1 = true;
|
||||||
|
find = this.textBox1.Text;
|
||||||
|
change = this.textBox2.Text;
|
||||||
|
textChange(find, change);
|
||||||
|
mac.Color_change("▼");
|
||||||
|
mac.Color_change("▲");
|
||||||
|
Close();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void button2_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
buttonClick2 = true;
|
||||||
|
Close();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void textChange(string ftext, string ctext)
|
||||||
|
{
|
||||||
|
var temp="";
|
||||||
|
if (mac.call == "richTextBox1")
|
||||||
|
{
|
||||||
|
//mac.richTextBox1.Text = mac.richTextBox1.Text.Replace(ftext, ctext);
|
||||||
|
temp = mac.Controls[mac.call].Text.Replace(ftext, ctext);
|
||||||
|
mac.Controls[mac.call].Text = temp;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// mac.text245e.Text = mac.text245e.Text.Replace(ftext, ctext);
|
||||||
|
mac.Controls[mac.call].Text = mac.Controls[mac.call].Text.Replace(ftext, ctext);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void textBox1_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
textBox1.Text = "";
|
||||||
|
}
|
||||||
|
|
||||||
|
private void textBox2_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
textBox2.Text = "";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
120
ExcelTest/ExcelTest/findNchange.resx
Normal file
120
ExcelTest/ExcelTest/findNchange.resx
Normal 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>
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
// <autogenerated />
|
||||||
|
using System;
|
||||||
|
using System.Reflection;
|
||||||
|
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]
|
||||||
Binary file not shown.
Binary file not shown.
BIN
ExcelTest/ExcelTest/obj/Debug/ExcelTest.Email.resources
Normal file
BIN
ExcelTest/ExcelTest/obj/Debug/ExcelTest.Email.resources
Normal file
Binary file not shown.
BIN
ExcelTest/ExcelTest/obj/Debug/ExcelTest.Font.resources
Normal file
BIN
ExcelTest/ExcelTest/obj/Debug/ExcelTest.Font.resources
Normal file
Binary file not shown.
BIN
ExcelTest/ExcelTest/obj/Debug/ExcelTest.Helper008.resources
Normal file
BIN
ExcelTest/ExcelTest/obj/Debug/ExcelTest.Helper008.resources
Normal file
Binary file not shown.
BIN
ExcelTest/ExcelTest/obj/Debug/ExcelTest.Marc.resources
Normal file
BIN
ExcelTest/ExcelTest/obj/Debug/ExcelTest.Marc.resources
Normal file
Binary file not shown.
Binary file not shown.
BIN
ExcelTest/ExcelTest/obj/Debug/ExcelTest.SubString.resources
Normal file
BIN
ExcelTest/ExcelTest/obj/Debug/ExcelTest.SubString.resources
Normal file
Binary file not shown.
@@ -0,0 +1 @@
|
|||||||
|
fee1a1b30b8fc2dbfc80646a4bcc0bbd917067e6
|
||||||
@@ -0,0 +1,47 @@
|
|||||||
|
C:\Users\Administrator\Desktop\ExcelTest\ExcelTest\bin\Debug\ExcelTest.exe.config
|
||||||
|
C:\Users\Administrator\Desktop\ExcelTest\ExcelTest\bin\Debug\ExcelTest.exe
|
||||||
|
C:\Users\Administrator\Desktop\ExcelTest\ExcelTest\bin\Debug\ExcelTest.pdb
|
||||||
|
C:\Users\Administrator\Desktop\ExcelTest\ExcelTest\obj\Debug\ExcelTest.csprojAssemblyReference.cache
|
||||||
|
C:\Users\Administrator\Desktop\ExcelTest\ExcelTest\obj\Debug\ExcelTest.csproj.ResolveComReference.cache
|
||||||
|
C:\Users\Administrator\Desktop\ExcelTest\ExcelTest\obj\Debug\ExcelTest.Properties.Resources.resources
|
||||||
|
C:\Users\Administrator\Desktop\ExcelTest\ExcelTest\obj\Debug\ExcelTest.csproj.GenerateResource.cache
|
||||||
|
C:\Users\Administrator\Desktop\ExcelTest\ExcelTest\obj\Debug\ExcelTest.csproj.CoreCompileInputs.cache
|
||||||
|
C:\Users\Administrator\Desktop\ExcelTest\ExcelTest\obj\Debug\ExcelTest.exe
|
||||||
|
C:\Users\Administrator\Desktop\ExcelTest\ExcelTest\obj\Debug\ExcelTest.pdb
|
||||||
|
C:\Users\Administrator\Desktop\ExcelTest\ExcelTest\obj\Debug\ExcelTest.Font.resources
|
||||||
|
C:\Users\Administrator\Desktop\ExcelTest\ExcelTest\obj\Debug\ExcelTest.Email.resources
|
||||||
|
C:\Users\Administrator\Desktop\ExcelTest\ExcelTest\obj\Debug\ExcelTest.Marc.resources
|
||||||
|
C:\Users\Administrator\Desktop\ExcelTest\ExcelTest\obj\Debug\ExcelTest.SubString.resources
|
||||||
|
C:\Users\Administrator\Desktop\ExcelTest\ExcelTest\obj\Debug\ExcelTest.findNchange.resources
|
||||||
|
C:\Users\Administrator\Desktop\project\ExcelTest\ExcelTest\bin\Debug\ExcelTest.exe.config
|
||||||
|
C:\Users\Administrator\Desktop\project\ExcelTest\ExcelTest\bin\Debug\ExcelTest.exe
|
||||||
|
C:\Users\Administrator\Desktop\project\ExcelTest\ExcelTest\bin\Debug\ExcelTest.pdb
|
||||||
|
C:\Users\Administrator\Desktop\project\ExcelTest\ExcelTest\obj\Debug\ExcelTest.csprojAssemblyReference.cache
|
||||||
|
C:\Users\Administrator\Desktop\project\ExcelTest\ExcelTest\obj\Debug\ExcelTest.csproj.ResolveComReference.cache
|
||||||
|
C:\Users\Administrator\Desktop\project\ExcelTest\ExcelTest\obj\Debug\ExcelTest.findNchange.resources
|
||||||
|
C:\Users\Administrator\Desktop\project\ExcelTest\ExcelTest\obj\Debug\ExcelTest.Font.resources
|
||||||
|
C:\Users\Administrator\Desktop\project\ExcelTest\ExcelTest\obj\Debug\ExcelTest.Email.resources
|
||||||
|
C:\Users\Administrator\Desktop\project\ExcelTest\ExcelTest\obj\Debug\ExcelTest.Marc.resources
|
||||||
|
C:\Users\Administrator\Desktop\project\ExcelTest\ExcelTest\obj\Debug\ExcelTest.Properties.Resources.resources
|
||||||
|
C:\Users\Administrator\Desktop\project\ExcelTest\ExcelTest\obj\Debug\ExcelTest.SubString.resources
|
||||||
|
C:\Users\Administrator\Desktop\project\ExcelTest\ExcelTest\obj\Debug\ExcelTest.csproj.GenerateResource.cache
|
||||||
|
C:\Users\Administrator\Desktop\project\ExcelTest\ExcelTest\obj\Debug\ExcelTest.csproj.CoreCompileInputs.cache
|
||||||
|
C:\Users\Administrator\Desktop\project\ExcelTest\ExcelTest\obj\Debug\ExcelTest.exe
|
||||||
|
C:\Users\Administrator\Desktop\project\ExcelTest\ExcelTest\obj\Debug\ExcelTest.pdb
|
||||||
|
C:\Users\Administrator\Desktop\project\ExcelTest\ExcelTest\obj\Debug\ExcelTest.Helper008.resources
|
||||||
|
C:\Users\Administrator\Desktop\project\ExcelTest\ExcelTest\obj\Debug\ExcelTest.exe.config
|
||||||
|
C:\Users\Administrator\Desktop\project\ExcelTest\ExcelTest\bin\Debug\MySql.Data.dll
|
||||||
|
C:\Users\Administrator\Desktop\project\ExcelTest\ExcelTest\bin\Debug\Google.Protobuf.dll
|
||||||
|
C:\Users\Administrator\Desktop\project\ExcelTest\ExcelTest\bin\Debug\Zstandard.Net.dll
|
||||||
|
C:\Users\Administrator\Desktop\project\ExcelTest\ExcelTest\bin\Debug\K4os.Compression.LZ4.Streams.dll
|
||||||
|
C:\Users\Administrator\Desktop\project\ExcelTest\ExcelTest\bin\Debug\BouncyCastle.Crypto.dll
|
||||||
|
C:\Users\Administrator\Desktop\project\ExcelTest\ExcelTest\bin\Debug\Ubiety.Dns.Core.dll
|
||||||
|
C:\Users\Administrator\Desktop\project\ExcelTest\ExcelTest\bin\Debug\Renci.SshNet.dll
|
||||||
|
C:\Users\Administrator\Desktop\project\ExcelTest\ExcelTest\bin\Debug\System.Buffers.dll
|
||||||
|
C:\Users\Administrator\Desktop\project\ExcelTest\ExcelTest\bin\Debug\K4os.Compression.LZ4.dll
|
||||||
|
C:\Users\Administrator\Desktop\project\ExcelTest\ExcelTest\bin\Debug\K4os.Hash.xxHash.dll
|
||||||
|
C:\Users\Administrator\Desktop\project\ExcelTest\ExcelTest\bin\Debug\System.Memory.dll
|
||||||
|
C:\Users\Administrator\Desktop\project\ExcelTest\ExcelTest\bin\Debug\System.Runtime.CompilerServices.Unsafe.dll
|
||||||
|
C:\Users\Administrator\Desktop\project\ExcelTest\ExcelTest\bin\Debug\System.Numerics.Vectors.dll
|
||||||
|
C:\Users\Administrator\Desktop\project\ExcelTest\ExcelTest\bin\Debug\MySql.Data.xml
|
||||||
|
C:\Users\Administrator\Desktop\project\ExcelTest\ExcelTest\obj\Debug\ExcelTest.csproj.CopyComplete
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
ExcelTest/ExcelTest/obj/Debug/ExcelTest.exe
Normal file
BIN
ExcelTest/ExcelTest/obj/Debug/ExcelTest.exe
Normal file
Binary file not shown.
14
ExcelTest/ExcelTest/obj/Debug/ExcelTest.exe.config
Normal file
14
ExcelTest/ExcelTest/obj/Debug/ExcelTest.exe.config
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<configuration>
|
||||||
|
<startup>
|
||||||
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||||
|
</startup>
|
||||||
|
<runtime>
|
||||||
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
</assemblyBinding>
|
||||||
|
</runtime>
|
||||||
|
</configuration>
|
||||||
BIN
ExcelTest/ExcelTest/obj/Debug/ExcelTest.findNchange.resources
Normal file
BIN
ExcelTest/ExcelTest/obj/Debug/ExcelTest.findNchange.resources
Normal file
Binary file not shown.
BIN
ExcelTest/ExcelTest/obj/Debug/ExcelTest.pdb
Normal file
BIN
ExcelTest/ExcelTest/obj/Debug/ExcelTest.pdb
Normal file
Binary file not shown.
7
Readme.txt
Normal file
7
Readme.txt
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
WindowsFormsApp1 => 본 프로젝트 메인폼
|
||||||
|
|
||||||
|
ExcelTest => 각종 기능 테스트용 // 마크 작성 및 편집폼 포함
|
||||||
|
|
||||||
|
ConsoleTextProject => cmd창 테스트용
|
||||||
|
|
||||||
|
ServerText => 로그인폼, 회원관리
|
||||||
BIN
ServerText/.vs/ServerText/v16/.suo
Normal file
BIN
ServerText/.vs/ServerText/v16/.suo
Normal file
Binary file not shown.
25
ServerText/ServerText.sln
Normal file
25
ServerText/ServerText.sln
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio Version 16
|
||||||
|
VisualStudioVersion = 16.0.30309.148
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ServerText", "ServerText\ServerText.csproj", "{B5DF86E2-BD09-4A36-A778-B52EAF800958}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{B5DF86E2-BD09-4A36-A778-B52EAF800958}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{B5DF86E2-BD09-4A36-A778-B52EAF800958}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{B5DF86E2-BD09-4A36-A778-B52EAF800958}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{B5DF86E2-BD09-4A36-A778-B52EAF800958}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
|
SolutionGuid = {0374846A-9C36-429A-AC10-9DBCE78BDD7F}
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
||||||
6
ServerText/ServerText/App.config
Normal file
6
ServerText/ServerText/App.config
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<configuration>
|
||||||
|
<startup>
|
||||||
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||||
|
</startup>
|
||||||
|
</configuration>
|
||||||
1555
ServerText/ServerText/Form1.Designer.cs
generated
Normal file
1555
ServerText/ServerText/Form1.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
466
ServerText/ServerText/Form1.cs
Normal file
466
ServerText/ServerText/Form1.cs
Normal file
@@ -0,0 +1,466 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel;
|
||||||
|
using System.Data;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Net.Http.Headers;
|
||||||
|
using System.Net.Sockets;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
using MySql.Data.MySqlClient;
|
||||||
|
using Renci.SshNet;
|
||||||
|
using Renci.SshNet.Common;
|
||||||
|
|
||||||
|
namespace ServerText
|
||||||
|
{
|
||||||
|
public partial class Form1 : Form
|
||||||
|
{
|
||||||
|
public string User_Name { get; internal set; }
|
||||||
|
|
||||||
|
bool overlap = false;
|
||||||
|
string[] tempData;
|
||||||
|
Helper_DB _DB = new Helper_DB();
|
||||||
|
string Table_User = "User_Data";
|
||||||
|
int gridIndex;
|
||||||
|
|
||||||
|
public Form1()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
private void Form1_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
this.Visible = false;
|
||||||
|
|
||||||
|
login login = new login();
|
||||||
|
|
||||||
|
if (DialogResult.OK == login.ShowDialog(this))
|
||||||
|
{
|
||||||
|
this.Visible = true;
|
||||||
|
}
|
||||||
|
else { this.Close(); }
|
||||||
|
toolStripLabel1.Text = "이용자" + User_Name;
|
||||||
|
_DB.DBcon();
|
||||||
|
|
||||||
|
string DB_Data = _DB.DB_Search("User_Data", "id", User_Name);
|
||||||
|
string[] result = DB_Data.Split('|');
|
||||||
|
|
||||||
|
tb_Affil.Text = result[5];
|
||||||
|
|
||||||
|
User_Manage();
|
||||||
|
init_check();
|
||||||
|
}
|
||||||
|
/// <summary>
|
||||||
|
/// DB에 저장된 사용자 데이터를 dataGridView1로 입력하는 함수.
|
||||||
|
/// </summary>
|
||||||
|
private void User_Manage()
|
||||||
|
{
|
||||||
|
string tmpstr = _DB.DB_Search("User_Data", "affil", "글로리아북"); // 글로리아북 -> data[3]
|
||||||
|
string[] data = tmpstr.Split('|');
|
||||||
|
int cout = 0;
|
||||||
|
for(int a = 0; a < data.Length / 9; a++) { dataGridView1.Rows.Add(); }
|
||||||
|
for(int a = 0; a < data.Length; a++)
|
||||||
|
{
|
||||||
|
if (a % 9 == 1) { dataGridView1.Rows[cout].Cells[0].Value = data[a]; }
|
||||||
|
if (a % 9 == 3) { dataGridView1.Rows[cout].Cells[1].Value = data[a]; }
|
||||||
|
if (a % 9 == 6) { dataGridView1.Rows[cout].Cells[2].Value = data[a]; }
|
||||||
|
if (a % 9 == 7) { dataGridView1.Rows[cout].Cells[3].Value = data[a]; cout++; }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/// <summary>
|
||||||
|
/// 권한 설정 0일경우 체크없음, 1일경우 활성화만, 2일경우 활성화와 수정체크
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
private void dataGridView1_CellClick(object sender, DataGridViewCellEventArgs e)
|
||||||
|
{
|
||||||
|
gridIndex = e.RowIndex;
|
||||||
|
string value = dataGridView1.Rows[e.RowIndex].Cells[0].Value.ToString();
|
||||||
|
string tmpstr = _DB.DB_Search(Table_User, "id", value);
|
||||||
|
tempData = tmpstr.Split('|');
|
||||||
|
tb_ID.Text = tempData[1];
|
||||||
|
tb_PW.Text = tempData[2];
|
||||||
|
tb_Name.Text = tempData[3];
|
||||||
|
tb_Affil.Text = tempData[5];
|
||||||
|
tb_position.Text = tempData[6];
|
||||||
|
tb_Phone.Text = tempData[7];
|
||||||
|
string[] real = tempData[4].Split(',');
|
||||||
|
{
|
||||||
|
if (real[0] == "0") { check1_1.Checked = false; check1_2.Checked = false; }
|
||||||
|
else if (real[0] == "1") { check1_1.Checked = true; check1_2.Checked = false; }
|
||||||
|
else if (real[0] == "2") { check1_1.Checked = true; check1_2.Checked = true; }
|
||||||
|
|
||||||
|
if (real[1] == "0") { check2_1.Checked = false; check2_2.Checked = false; }
|
||||||
|
else if (real[1] == "1") { check2_1.Checked = true; check2_2.Checked = false; }
|
||||||
|
else if (real[1] == "2") { check2_1.Checked = true; check2_2.Checked = true; }
|
||||||
|
|
||||||
|
if (real[2] == "0") { check3_1.Checked = false; check3_2.Checked = false; }
|
||||||
|
else if (real[2] == "1") { check3_1.Checked = true; check3_2.Checked = false; }
|
||||||
|
else if (real[2] == "2") { check3_1.Checked = true; check3_2.Checked = true; }
|
||||||
|
|
||||||
|
if (real[3] == "0") { check4_1.Checked = false; check4_2.Checked = false; }
|
||||||
|
else if (real[3] == "1") { check4_1.Checked = true; check4_2.Checked = false; }
|
||||||
|
else if (real[3] == "2") { check4_1.Checked = true; check4_2.Checked = true; }
|
||||||
|
|
||||||
|
if (real[4] == "0") { check5_1.Checked = false; check5_2.Checked = false; }
|
||||||
|
else if (real[4] == "1") { check5_1.Checked = true; check5_2.Checked = false; }
|
||||||
|
else if (real[4] == "2") { check5_1.Checked = true; check5_2.Checked = true; }
|
||||||
|
|
||||||
|
if (real[5] == "0") { check6_1.Checked = false; check6_2.Checked = false; }
|
||||||
|
else if (real[5] == "1") { check6_1.Checked = true; check6_2.Checked = false; }
|
||||||
|
else if (real[5] == "2") { check6_1.Checked = true; check6_2.Checked = true; }
|
||||||
|
|
||||||
|
if (real[6] == "0") { check7_1.Checked = false; check7_2.Checked = false; }
|
||||||
|
else if (real[6] == "1") { check7_1.Checked = true; check7_2.Checked = false; }
|
||||||
|
else if (real[6] == "2") { check7_1.Checked = true; check7_2.Checked = true; }
|
||||||
|
|
||||||
|
if (real[7] == "0") { check8_1.Checked = false; check8_2.Checked = false; }
|
||||||
|
else if (real[7] == "1") { check8_1.Checked = true; check8_2.Checked = false; }
|
||||||
|
else if (real[7] == "2") { check8_1.Checked = true; check8_2.Checked = true; }
|
||||||
|
|
||||||
|
if (real[8] == "0") { check9_1.Checked = false; check9_2.Checked = false; }
|
||||||
|
else if (real[8] == "1") { check9_1.Checked = true; check9_2.Checked = false; }
|
||||||
|
else if (real[8] == "2") { check9_1.Checked = true; check9_2.Checked = true; }
|
||||||
|
|
||||||
|
if (real[9] == "0") { check10_1.Checked = false; check10_2.Checked = false; }
|
||||||
|
else if (real[9] == "1") { check10_1.Checked = true; check10_2.Checked = false; }
|
||||||
|
else if (real[9] == "2") { check10_1.Checked = true; check10_2.Checked = true; }
|
||||||
|
|
||||||
|
if (real[10] == "0") { check11_1.Checked = false; check11_2.Checked = false; }
|
||||||
|
else if (real[10] == "1") { check11_1.Checked = true; check11_2.Checked = false; }
|
||||||
|
else if (real[10] == "2") { check11_1.Checked = true; check11_2.Checked = true; }
|
||||||
|
|
||||||
|
if (real[11] == "0") { check12_1.Checked = false; check12_2.Checked = false; }
|
||||||
|
else if (real[11] == "1") { check12_1.Checked = true; check12_2.Checked = false; }
|
||||||
|
else if (real[11] == "2") { check12_1.Checked = true; check12_2.Checked = true; }
|
||||||
|
|
||||||
|
if (real[12] == "0") { check13_1.Checked = false; check13_2.Checked = false; }
|
||||||
|
else if (real[12] == "1") { check13_1.Checked = true; check13_2.Checked = false; }
|
||||||
|
else if (real[12] == "2") { check13_1.Checked = true; check13_2.Checked = true; }
|
||||||
|
|
||||||
|
if (real[13] == "0") { check14_1.Checked = false; check14_2.Checked = false; }
|
||||||
|
else if (real[13] == "1") { check14_1.Checked = true; check14_2.Checked = false; }
|
||||||
|
else if (real[13] == "2") { check14_1.Checked = true; check14_2.Checked = true; }
|
||||||
|
|
||||||
|
if (real[14] == "0") { check15_1.Checked = false; check15_2.Checked = false; }
|
||||||
|
else if (real[14] == "1") { check15_1.Checked = true; check15_2.Checked = false; }
|
||||||
|
else if (real[14] == "2") { check15_1.Checked = true; check15_2.Checked = true; }
|
||||||
|
|
||||||
|
if (real[15] == "0") { check16_1.Checked = false; check16_2.Checked = false; }
|
||||||
|
else if (real[15] == "1") { check16_1.Checked = true; check16_2.Checked = false; }
|
||||||
|
else if (real[15] == "2") { check16_1.Checked = true; check16_2.Checked = true; }
|
||||||
|
|
||||||
|
if (real[16] == "0") { check17_1.Checked = false; check17_2.Checked = false; }
|
||||||
|
else if (real[16] == "1") { check17_1.Checked = true; check17_2.Checked = false; }
|
||||||
|
else if (real[16] == "2") { check17_1.Checked = true; check17_2.Checked = true; }
|
||||||
|
|
||||||
|
if (real[17] == "0") { check18_1.Checked = false; check18_2.Checked = false; }
|
||||||
|
else if (real[17] == "1") { check18_1.Checked = true; check18_2.Checked = false; }
|
||||||
|
else if (real[17] == "2") { check18_1.Checked = true; check18_2.Checked = true; }
|
||||||
|
|
||||||
|
if (real[18] == "0") { check19_1.Checked = false; check19_2.Checked = false; }
|
||||||
|
else if (real[18] == "1") { check19_1.Checked = true; check19_2.Checked = false; }
|
||||||
|
else if (real[18] == "2") { check19_1.Checked = true; check19_2.Checked = true; }
|
||||||
|
|
||||||
|
if (real[19] == "0") { check20_1.Checked = false; check20_2.Checked = false; }
|
||||||
|
else if (real[19] == "1") { check20_1.Checked = true; check20_2.Checked = false; }
|
||||||
|
else if (real[19] == "2") { check20_1.Checked = true; check20_2.Checked = true; }
|
||||||
|
} // 열면 후회함 (권한 나눈거 체크체크)
|
||||||
|
init_check();
|
||||||
|
}
|
||||||
|
private void check1_1_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
init_check();
|
||||||
|
}
|
||||||
|
private void btn_IDOverlap_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
string check = _DB.DB_Search(Table_User, "id", tb_ID.Text);
|
||||||
|
if(check == "") { MessageBox.Show("사용가능한 아이디입니다. [" + tb_ID.Text + "]"); overlap = true; }
|
||||||
|
else { MessageBox.Show("중복된 아이디입니다. [" + tb_ID.Text + "]");overlap = false; }
|
||||||
|
}
|
||||||
|
private void All_Check(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
bool yesorno = false;
|
||||||
|
if (((CheckBox)sender).Checked == true) { yesorno = true; }
|
||||||
|
else if (((CheckBox)sender).Checked == false) { yesorno = false; }
|
||||||
|
ALL_Check(sender, yesorno);
|
||||||
|
}
|
||||||
|
private void btn_Save_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
string right = Return_right();
|
||||||
|
User_Manage();
|
||||||
|
_DB.DB_Create(Table_User, "right", right, tempData[1]);
|
||||||
|
}
|
||||||
|
private void btn_Add_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if(tb_ID.Text=="" || tb_PW.Text == "" || tb_Name.Text == "")
|
||||||
|
{
|
||||||
|
MessageBox.Show("성명 / 아이디 / 비밀번호 를 채워주세요.");
|
||||||
|
}
|
||||||
|
else if (overlap == true)
|
||||||
|
{
|
||||||
|
string right = Return_right();
|
||||||
|
string create_DB = "INSERT INTO User_Data" +
|
||||||
|
"(`ID`, `PW`, `name`, `right`, `affil`, `position`, `Phone`, `grade`)" +
|
||||||
|
"values('"+tb_ID.Text+"', '"+tb_PW.Text+ "', '" + tb_Name.Text + "', '"+right+"',";
|
||||||
|
if (tb_Affil.Text == "") { create_DB += "null,"; }
|
||||||
|
else { create_DB += "'" + tb_Affil.Text + "',"; }
|
||||||
|
if (tb_position.Text == "") { create_DB += "null,"; }
|
||||||
|
else { create_DB += "'" + tb_position.Text + "',"; }
|
||||||
|
if (tb_Phone.Text == "") { create_DB += "null,"; }
|
||||||
|
else { create_DB += "'" + tb_Phone.Text + "',"; }
|
||||||
|
if (check_Away.Checked == true) { create_DB += "'외부업체');"; }
|
||||||
|
else { create_DB += "null);"; }
|
||||||
|
_DB.self_Made_Cmd(create_DB);
|
||||||
|
overlap = false;
|
||||||
|
User_Manage();
|
||||||
|
}
|
||||||
|
else { MessageBox.Show("아이디 중복확인을 해주세요"); }
|
||||||
|
}
|
||||||
|
private void btn_Del_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
_DB.DB_Delete(Table_User, "id", tempData[0]);
|
||||||
|
dataGridView1.Rows.Remove(dataGridView1.Rows[gridIndex]);
|
||||||
|
}
|
||||||
|
/// <summary>
|
||||||
|
/// 체크박스로 권한(right)값 구하기
|
||||||
|
/// </summary>
|
||||||
|
/// <returns></returns>
|
||||||
|
private string Return_right()
|
||||||
|
{
|
||||||
|
string right="";
|
||||||
|
{
|
||||||
|
if (check1_1.Checked == false) { right += "0,"; }
|
||||||
|
else if(check1_1.Checked == true && check1_2.Checked == false) { right += "1,"; }
|
||||||
|
else if(check1_1.Checked == true && check1_2.Checked == true) { right += "2,"; }
|
||||||
|
|
||||||
|
if (check2_1.Checked == false) { right += "0,"; }
|
||||||
|
else if(check2_1.Checked == true && check2_2.Checked == false) { right += "1,"; }
|
||||||
|
else if(check2_1.Checked == true && check2_2.Checked == true) { right += "2,"; }
|
||||||
|
|
||||||
|
if (check3_1.Checked == false) { right += "0,"; }
|
||||||
|
else if(check3_1.Checked == true && check3_2.Checked == false) { right += "1,"; }
|
||||||
|
else if(check3_1.Checked == true && check3_2.Checked == true) { right += "2,"; }
|
||||||
|
|
||||||
|
if (check4_1.Checked == false) { right += "0,"; }
|
||||||
|
else if(check4_1.Checked == true && check4_2.Checked == false) { right += "1,"; }
|
||||||
|
else if(check4_1.Checked == true && check4_2.Checked == true) { right += "2,"; }
|
||||||
|
|
||||||
|
if (check5_1.Checked == false) { right += "0,"; }
|
||||||
|
else if(check5_1.Checked == true && check5_2.Checked == false) { right += "1,"; }
|
||||||
|
else if(check5_1.Checked == true && check5_2.Checked == true) { right += "2,"; }
|
||||||
|
|
||||||
|
if (check6_1.Checked == false) { right += "0,"; }
|
||||||
|
else if(check6_1.Checked == true && check6_2.Checked == false) { right += "1,"; }
|
||||||
|
else if(check6_1.Checked == true && check6_2.Checked == true) { right += "2,"; }
|
||||||
|
|
||||||
|
if (check7_1.Checked == false) { right += "0,"; }
|
||||||
|
else if(check7_1.Checked == true && check7_2.Checked == false) { right += "1,"; }
|
||||||
|
else if(check7_1.Checked == true && check7_2.Checked == true) { right += "2,"; }
|
||||||
|
|
||||||
|
if (check8_1.Checked == false) { right += "0,"; }
|
||||||
|
else if(check8_1.Checked == true && check8_2.Checked == false) { right += "1,"; }
|
||||||
|
else if(check8_1.Checked == true && check8_2.Checked == true) { right += "2,"; }
|
||||||
|
|
||||||
|
if (check9_1.Checked == false) { right += "0,"; }
|
||||||
|
else if(check9_1.Checked == true && check9_2.Checked == false) { right += "1,"; }
|
||||||
|
else if(check9_1.Checked == true && check9_2.Checked == true) { right += "2,"; }
|
||||||
|
|
||||||
|
if (check10_1.Checked == false) { right += "0,"; }
|
||||||
|
else if(check10_1.Checked == true && check10_2.Checked == false) { right += "1,"; }
|
||||||
|
else if(check10_1.Checked == true && check10_2.Checked == true) { right += "2,"; }
|
||||||
|
|
||||||
|
if (check11_1.Checked == false) { right += "0,"; }
|
||||||
|
else if(check11_1.Checked == true && check11_2.Checked == false) { right += "1,"; }
|
||||||
|
else if(check11_1.Checked == true && check11_2.Checked == true) { right += "2,"; }
|
||||||
|
|
||||||
|
if (check12_1.Checked == false) { right += "0,"; }
|
||||||
|
else if(check12_1.Checked == true && check12_2.Checked == false) { right += "1,"; }
|
||||||
|
else if(check12_1.Checked == true && check12_2.Checked == true) { right += "2,"; }
|
||||||
|
|
||||||
|
if (check13_1.Checked == false) { right += "0,"; }
|
||||||
|
else if(check13_1.Checked == true && check13_2.Checked == false) { right += "1,"; }
|
||||||
|
else if(check13_1.Checked == true && check13_2.Checked == true) { right += "2,"; }
|
||||||
|
|
||||||
|
if (check14_1.Checked == false) { right += "0,"; }
|
||||||
|
else if(check14_1.Checked == true && check14_2.Checked == false) { right += "1,"; }
|
||||||
|
else if(check14_1.Checked == true && check14_2.Checked == true) { right += "2,"; }
|
||||||
|
|
||||||
|
if (check15_1.Checked == false) { right += "0,"; }
|
||||||
|
else if(check15_1.Checked == true && check15_2.Checked == false) { right += "1,"; }
|
||||||
|
else if(check15_1.Checked == true && check15_2.Checked == true) { right += "2,"; }
|
||||||
|
|
||||||
|
if (check16_1.Checked == false) { right += "0,"; }
|
||||||
|
else if(check16_1.Checked == true && check16_2.Checked == false) { right += "1,"; }
|
||||||
|
else if(check16_1.Checked == true && check16_2.Checked == true) { right += "2,"; }
|
||||||
|
|
||||||
|
if (check17_1.Checked == false) { right += "0,"; }
|
||||||
|
else if(check17_1.Checked == true && check17_2.Checked == false) { right += "1,"; }
|
||||||
|
else if(check17_1.Checked == true && check17_2.Checked == true) { right += "2,"; }
|
||||||
|
|
||||||
|
if (check18_1.Checked == false) { right += "0,"; }
|
||||||
|
else if(check18_1.Checked == true && check18_2.Checked == false) { right += "1,"; }
|
||||||
|
else if(check18_1.Checked == true && check18_2.Checked == true) { right += "2,"; }
|
||||||
|
|
||||||
|
if (check19_1.Checked == false) { right += "0,"; }
|
||||||
|
else if(check19_1.Checked == true && check19_2.Checked == false) { right += "1,"; }
|
||||||
|
else if(check19_1.Checked == true && check19_2.Checked == true) { right += "2,"; }
|
||||||
|
|
||||||
|
if (check20_1.Checked == false) { right += "0"; }
|
||||||
|
else if(check20_1.Checked == true && check20_2.Checked == false) { right += "1"; }
|
||||||
|
else if(check20_1.Checked == true && check20_2.Checked == true) { right += "2"; }
|
||||||
|
} // 체크박스로 권한값구하기
|
||||||
|
return right;
|
||||||
|
}
|
||||||
|
/// <summary>
|
||||||
|
/// 체크박스 초기화
|
||||||
|
/// </summary>
|
||||||
|
private void init_check()
|
||||||
|
{
|
||||||
|
if (check1_1.Checked == false) { check1_2.Enabled = false; }
|
||||||
|
else if (check1_1.Checked == true) { check1_2.Enabled = true; }
|
||||||
|
if (check2_1.Checked == false) { check2_2.Enabled = false; }
|
||||||
|
else if (check2_1.Checked == true) { check2_2.Enabled = true; }
|
||||||
|
if (check3_1.Checked == false) { check3_2.Enabled = false; }
|
||||||
|
else if (check3_1.Checked == true) { check3_2.Enabled = true; }
|
||||||
|
if (check4_1.Checked == false) { check4_2.Enabled = false; }
|
||||||
|
else if (check4_1.Checked == true) { check4_2.Enabled = true; }
|
||||||
|
if (check5_1.Checked == false) { check5_2.Enabled = false; }
|
||||||
|
else if (check5_1.Checked == true) { check5_2.Enabled = true; }
|
||||||
|
if (check6_1.Checked == false) { check6_2.Enabled = false; }
|
||||||
|
else if (check6_1.Checked == true) { check6_2.Enabled = true; }
|
||||||
|
if (check7_1.Checked == false) { check7_2.Enabled = false; }
|
||||||
|
else if (check7_1.Checked == true) { check7_2.Enabled = true; }
|
||||||
|
if (check8_1.Checked == false) { check8_2.Enabled = false; }
|
||||||
|
else if (check8_1.Checked == true) { check8_2.Enabled = true; }
|
||||||
|
if (check9_1.Checked == false) { check9_2.Enabled = false; }
|
||||||
|
else if (check9_1.Checked == true) { check9_2.Enabled = true; }
|
||||||
|
if (check10_1.Checked == false) { check10_2.Enabled = false; }
|
||||||
|
else if (check10_1.Checked == true) { check10_2.Enabled = true; }
|
||||||
|
if (check11_1.Checked == false) { check11_2.Enabled = false; }
|
||||||
|
else if (check11_1.Checked == true) { check11_2.Enabled = true; }
|
||||||
|
if (check12_1.Checked == false) { check12_2.Enabled = false; }
|
||||||
|
else if (check12_1.Checked == true) { check12_2.Enabled = true; }
|
||||||
|
if (check13_1.Checked == false) { check13_2.Enabled = false; }
|
||||||
|
else if (check13_1.Checked == true) { check13_2.Enabled = true; }
|
||||||
|
if (check14_1.Checked == false) { check14_2.Enabled = false; }
|
||||||
|
else if (check14_1.Checked == true) { check14_2.Enabled = true; }
|
||||||
|
if (check15_1.Checked == false) { check15_2.Enabled = false; }
|
||||||
|
else if (check15_1.Checked == true) { check15_2.Enabled = true; }
|
||||||
|
if (check16_1.Checked == false) { check16_2.Enabled = false; }
|
||||||
|
else if (check16_1.Checked == true) { check16_2.Enabled = true; }
|
||||||
|
if (check17_1.Checked == false) { check17_2.Enabled = false; }
|
||||||
|
else if (check17_1.Checked == true) { check17_2.Enabled = true; }
|
||||||
|
if (check18_1.Checked == false) { check18_2.Enabled = false; }
|
||||||
|
else if (check18_1.Checked == true) { check18_2.Enabled = true; }
|
||||||
|
if (check19_1.Checked == false) { check19_2.Enabled = false; }
|
||||||
|
else if (check19_1.Checked == true) { check19_2.Enabled = true; }
|
||||||
|
if (check20_1.Checked == false) { check20_2.Enabled = false; }
|
||||||
|
else if (check20_1.Checked == true) { check20_2.Enabled = true; }
|
||||||
|
}
|
||||||
|
/// <summary>
|
||||||
|
/// 일괄체크
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender">이벤트 sender 그대로 가져와야함</param>
|
||||||
|
/// <param name="chk">true or false</param>
|
||||||
|
private void ALL_Check(object sender, bool chk)
|
||||||
|
{
|
||||||
|
string target = ((CheckBox)sender).Name;
|
||||||
|
if(target== "ALL_check1" && chk == true)
|
||||||
|
{
|
||||||
|
check1_1.Checked = true;
|
||||||
|
check2_1.Checked = true;
|
||||||
|
check3_1.Checked = true;
|
||||||
|
check4_1.Checked = true;
|
||||||
|
check5_1.Checked = true;
|
||||||
|
check6_1.Checked = true;
|
||||||
|
check7_1.Checked = true;
|
||||||
|
check8_1.Checked = true;
|
||||||
|
check9_1.Checked = true;
|
||||||
|
check10_1.Checked = true;
|
||||||
|
check11_1.Checked = true;
|
||||||
|
check12_1.Checked = true;
|
||||||
|
check13_1.Checked = true;
|
||||||
|
check14_1.Checked = true;
|
||||||
|
check15_1.Checked = true;
|
||||||
|
check16_1.Checked = true;
|
||||||
|
check17_1.Checked = true;
|
||||||
|
check18_1.Checked = true;
|
||||||
|
check19_1.Checked = true;
|
||||||
|
check20_1.Checked = true;
|
||||||
|
}
|
||||||
|
else if(target== "ALL_check1" && chk == false)
|
||||||
|
{
|
||||||
|
check1_1.Checked = false;
|
||||||
|
check2_1.Checked = false;
|
||||||
|
check3_1.Checked = false;
|
||||||
|
check4_1.Checked = false;
|
||||||
|
check5_1.Checked = false;
|
||||||
|
check6_1.Checked = false;
|
||||||
|
check7_1.Checked = false;
|
||||||
|
check8_1.Checked = false;
|
||||||
|
check9_1.Checked = false;
|
||||||
|
check10_1.Checked = false;
|
||||||
|
check11_1.Checked = false;
|
||||||
|
check12_1.Checked = false;
|
||||||
|
check13_1.Checked = false;
|
||||||
|
check14_1.Checked = false;
|
||||||
|
check15_1.Checked = false;
|
||||||
|
check16_1.Checked = false;
|
||||||
|
check17_1.Checked = false;
|
||||||
|
check18_1.Checked = false;
|
||||||
|
check19_1.Checked = false;
|
||||||
|
check20_1.Checked = false;
|
||||||
|
}
|
||||||
|
else if(target== "ALL_check2" && chk == true)
|
||||||
|
{
|
||||||
|
check1_2.Checked = true;
|
||||||
|
check2_2.Checked = true;
|
||||||
|
check3_2.Checked = true;
|
||||||
|
check4_2.Checked = true;
|
||||||
|
check5_2.Checked = true;
|
||||||
|
check6_2.Checked = true;
|
||||||
|
check7_2.Checked = true;
|
||||||
|
check8_2.Checked = true;
|
||||||
|
check9_2.Checked = true;
|
||||||
|
check10_2.Checked = true;
|
||||||
|
check11_2.Checked = true;
|
||||||
|
check12_2.Checked = true;
|
||||||
|
check13_2.Checked = true;
|
||||||
|
check14_2.Checked = true;
|
||||||
|
check15_2.Checked = true;
|
||||||
|
check16_2.Checked = true;
|
||||||
|
check17_2.Checked = true;
|
||||||
|
check18_2.Checked = true;
|
||||||
|
check19_2.Checked = true;
|
||||||
|
check20_2.Checked = true;
|
||||||
|
}
|
||||||
|
else if(target== "ALL_check2" && chk == false)
|
||||||
|
{
|
||||||
|
check1_2.Checked = false;
|
||||||
|
check2_2.Checked = false;
|
||||||
|
check3_2.Checked = false;
|
||||||
|
check4_2.Checked = false;
|
||||||
|
check5_2.Checked = false;
|
||||||
|
check6_2.Checked = false;
|
||||||
|
check7_2.Checked = false;
|
||||||
|
check8_2.Checked = false;
|
||||||
|
check9_2.Checked = false;
|
||||||
|
check10_2.Checked = false;
|
||||||
|
check11_2.Checked = false;
|
||||||
|
check12_2.Checked = false;
|
||||||
|
check13_2.Checked = false;
|
||||||
|
check14_2.Checked = false;
|
||||||
|
check15_2.Checked = false;
|
||||||
|
check16_2.Checked = false;
|
||||||
|
check17_2.Checked = false;
|
||||||
|
check18_2.Checked = false;
|
||||||
|
check19_2.Checked = false;
|
||||||
|
check20_2.Checked = false;
|
||||||
|
}
|
||||||
|
init_check();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
147
ServerText/ServerText/Form1.resx
Normal file
147
ServerText/ServerText/Form1.resx
Normal file
@@ -0,0 +1,147 @@
|
|||||||
|
<?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="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>12, 26</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="Column3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="Column1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="Column2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="Column4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="Column3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="Column1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="Column2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="Column4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
</root>
|
||||||
22
ServerText/ServerText/Program.cs
Normal file
22
ServerText/ServerText/Program.cs
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace ServerText
|
||||||
|
{
|
||||||
|
static class Program
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 해당 애플리케이션의 주 진입점입니다.
|
||||||
|
/// </summary>
|
||||||
|
[STAThread]
|
||||||
|
static void Main()
|
||||||
|
{
|
||||||
|
Application.EnableVisualStyles();
|
||||||
|
Application.SetCompatibleTextRenderingDefault(false);
|
||||||
|
Application.Run(new Form1());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
36
ServerText/ServerText/Properties/AssemblyInfo.cs
Normal file
36
ServerText/ServerText/Properties/AssemblyInfo.cs
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
using System.Reflection;
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
|
// 어셈블리에 대한 일반 정보는 다음 특성 집합을 통해
|
||||||
|
// 제어됩니다. 어셈블리와 관련된 정보를 수정하려면
|
||||||
|
// 이러한 특성 값을 변경하세요.
|
||||||
|
[assembly: AssemblyTitle("ServerText")]
|
||||||
|
[assembly: AssemblyDescription("")]
|
||||||
|
[assembly: AssemblyConfiguration("")]
|
||||||
|
[assembly: AssemblyCompany("Microsoft Corporation")]
|
||||||
|
[assembly: AssemblyProduct("ServerText")]
|
||||||
|
[assembly: AssemblyCopyright("Copyright © Microsoft Corporation 2020")]
|
||||||
|
[assembly: AssemblyTrademark("")]
|
||||||
|
[assembly: AssemblyCulture("")]
|
||||||
|
|
||||||
|
// ComVisible을 false로 설정하면 이 어셈블리의 형식이 COM 구성 요소에
|
||||||
|
// 표시되지 않습니다. COM에서 이 어셈블리의 형식에 액세스하려면
|
||||||
|
// 해당 형식에 대해 ComVisible 특성을 true로 설정하세요.
|
||||||
|
[assembly: ComVisible(false)]
|
||||||
|
|
||||||
|
// 이 프로젝트가 COM에 노출되는 경우 다음 GUID는 typelib의 ID를 나타냅니다.
|
||||||
|
[assembly: Guid("b5df86e2-bd09-4a36-a778-b52eaf800958")]
|
||||||
|
|
||||||
|
// 어셈블리의 버전 정보는 다음 네 가지 값으로 구성됩니다.
|
||||||
|
//
|
||||||
|
// 주 버전
|
||||||
|
// 부 버전
|
||||||
|
// 빌드 번호
|
||||||
|
// 수정 버전
|
||||||
|
//
|
||||||
|
// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호를
|
||||||
|
// 기본값으로 할 수 있습니다.
|
||||||
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
|
[assembly: AssemblyVersion("1.0.0.0")]
|
||||||
|
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||||
71
ServerText/ServerText/Properties/Resources.Designer.cs
generated
Normal file
71
ServerText/ServerText/Properties/Resources.Designer.cs
generated
Normal file
@@ -0,0 +1,71 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// 이 코드는 도구를 사용하여 생성되었습니다.
|
||||||
|
// 런타임 버전:4.0.30319.42000
|
||||||
|
//
|
||||||
|
// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면
|
||||||
|
// 이러한 변경 내용이 손실됩니다.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
namespace ServerText.Properties
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 지역화된 문자열 등을 찾기 위한 강력한 형식의 리소스 클래스입니다.
|
||||||
|
/// </summary>
|
||||||
|
// 이 클래스는 ResGen 또는 Visual Studio와 같은 도구를 통해 StronglyTypedResourceBuilder
|
||||||
|
// 클래스에서 자동으로 생성되었습니다.
|
||||||
|
// 멤버를 추가하거나 제거하려면 .ResX 파일을 편집한 다음 /str 옵션을 사용하여
|
||||||
|
// ResGen을 다시 실행하거나 VS 프로젝트를 다시 빌드하십시오.
|
||||||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.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 ((resourceMan == null))
|
||||||
|
{
|
||||||
|
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("ServerText.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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
117
ServerText/ServerText/Properties/Resources.resx
Normal file
117
ServerText/ServerText/Properties/Resources.resx
Normal file
@@ -0,0 +1,117 @@
|
|||||||
|
<?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.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: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" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
</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" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
</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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
</root>
|
||||||
30
ServerText/ServerText/Properties/Settings.Designer.cs
generated
Normal file
30
ServerText/ServerText/Properties/Settings.Designer.cs
generated
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// This code was generated by a tool.
|
||||||
|
// Runtime Version:4.0.30319.42000
|
||||||
|
//
|
||||||
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
|
// the code is regenerated.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
namespace ServerText.Properties
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
|
||||||
|
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
|
||||||
|
{
|
||||||
|
|
||||||
|
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
||||||
|
|
||||||
|
public static Settings Default
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return defaultInstance;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
7
ServerText/ServerText/Properties/Settings.settings
Normal file
7
ServerText/ServerText/Properties/Settings.settings
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
<?xml version='1.0' encoding='utf-8'?>
|
||||||
|
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
|
||||||
|
<Profiles>
|
||||||
|
<Profile Name="(Default)" />
|
||||||
|
</Profiles>
|
||||||
|
<Settings />
|
||||||
|
</SettingsFile>
|
||||||
101
ServerText/ServerText/ServerText.csproj
Normal file
101
ServerText/ServerText/ServerText.csproj
Normal file
@@ -0,0 +1,101 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<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>{B5DF86E2-BD09-4A36-A778-B52EAF800958}</ProjectGuid>
|
||||||
|
<OutputType>WinExe</OutputType>
|
||||||
|
<RootNamespace>ServerText</RootNamespace>
|
||||||
|
<AssemblyName>ServerText</AssemblyName>
|
||||||
|
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
|
||||||
|
<FileAlignment>512</FileAlignment>
|
||||||
|
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||||
|
<Deterministic>true</Deterministic>
|
||||||
|
</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>
|
||||||
|
<ItemGroup>
|
||||||
|
<Reference Include="MySql.Data, Version=8.0.21.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL">
|
||||||
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<HintPath>..\..\..\..\..\..\Program Files (x86)\MySQL\MySQL Connector Net 8.0.21\Assemblies\v4.5.2\MySql.Data.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="renci.sshnet, Version=2016.1.0.0, Culture=neutral, PublicKeyToken=1cee9f8bde3db106, processorArchitecture=MSIL">
|
||||||
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<HintPath>..\..\..\..\Downloads\renci.sshnet\renci.sshnet.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System" />
|
||||||
|
<Reference Include="System.Core" />
|
||||||
|
<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="Helper_DB.cs" />
|
||||||
|
<Compile Include="Form1.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Form1.Designer.cs">
|
||||||
|
<DependentUpon>Form1.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="login.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="login.Designer.cs">
|
||||||
|
<DependentUpon>login.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Program.cs" />
|
||||||
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
|
<EmbeddedResource Include="Form1.resx">
|
||||||
|
<DependentUpon>Form1.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="login.resx">
|
||||||
|
<DependentUpon>login.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>
|
||||||
|
</Compile>
|
||||||
|
<None Include="Properties\Settings.settings">
|
||||||
|
<Generator>SettingsSingleFileGenerator</Generator>
|
||||||
|
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||||
|
</None>
|
||||||
|
<Compile Include="Properties\Settings.Designer.cs">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DependentUpon>Settings.settings</DependentUpon>
|
||||||
|
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||||
|
</Compile>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="App.config" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
|
</Project>
|
||||||
BIN
ServerText/ServerText/bin/Debug/BouncyCastle.Crypto.dll
Normal file
BIN
ServerText/ServerText/bin/Debug/BouncyCastle.Crypto.dll
Normal file
Binary file not shown.
BIN
ServerText/ServerText/bin/Debug/Google.Protobuf.dll
Normal file
BIN
ServerText/ServerText/bin/Debug/Google.Protobuf.dll
Normal file
Binary file not shown.
BIN
ServerText/ServerText/bin/Debug/K4os.Compression.LZ4.Streams.dll
Normal file
BIN
ServerText/ServerText/bin/Debug/K4os.Compression.LZ4.Streams.dll
Normal file
Binary file not shown.
BIN
ServerText/ServerText/bin/Debug/K4os.Compression.LZ4.dll
Normal file
BIN
ServerText/ServerText/bin/Debug/K4os.Compression.LZ4.dll
Normal file
Binary file not shown.
BIN
ServerText/ServerText/bin/Debug/K4os.Hash.xxHash.dll
Normal file
BIN
ServerText/ServerText/bin/Debug/K4os.Hash.xxHash.dll
Normal file
Binary file not shown.
BIN
ServerText/ServerText/bin/Debug/MySql.Data.dll
Normal file
BIN
ServerText/ServerText/bin/Debug/MySql.Data.dll
Normal file
Binary file not shown.
17803
ServerText/ServerText/bin/Debug/MySql.Data.xml
Normal file
17803
ServerText/ServerText/bin/Debug/MySql.Data.xml
Normal file
File diff suppressed because it is too large
Load Diff
BIN
ServerText/ServerText/bin/Debug/ServerText.exe
Normal file
BIN
ServerText/ServerText/bin/Debug/ServerText.exe
Normal file
Binary file not shown.
14
ServerText/ServerText/bin/Debug/ServerText.exe.config
Normal file
14
ServerText/ServerText/bin/Debug/ServerText.exe.config
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<configuration>
|
||||||
|
<startup>
|
||||||
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||||
|
</startup>
|
||||||
|
<runtime>
|
||||||
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
</assemblyBinding>
|
||||||
|
</runtime>
|
||||||
|
</configuration>
|
||||||
BIN
ServerText/ServerText/bin/Debug/ServerText.pdb
Normal file
BIN
ServerText/ServerText/bin/Debug/ServerText.pdb
Normal file
Binary file not shown.
BIN
ServerText/ServerText/bin/Debug/System.Buffers.dll
Normal file
BIN
ServerText/ServerText/bin/Debug/System.Buffers.dll
Normal file
Binary file not shown.
BIN
ServerText/ServerText/bin/Debug/System.Memory.dll
Normal file
BIN
ServerText/ServerText/bin/Debug/System.Memory.dll
Normal file
Binary file not shown.
BIN
ServerText/ServerText/bin/Debug/System.Numerics.Vectors.dll
Normal file
BIN
ServerText/ServerText/bin/Debug/System.Numerics.Vectors.dll
Normal file
Binary file not shown.
Binary file not shown.
BIN
ServerText/ServerText/bin/Debug/Ubiety.Dns.Core.dll
Normal file
BIN
ServerText/ServerText/bin/Debug/Ubiety.Dns.Core.dll
Normal file
Binary file not shown.
BIN
ServerText/ServerText/bin/Debug/Zstandard.Net.dll
Normal file
BIN
ServerText/ServerText/bin/Debug/Zstandard.Net.dll
Normal file
Binary file not shown.
BIN
ServerText/ServerText/bin/Debug/renci.sshnet.dll
Normal file
BIN
ServerText/ServerText/bin/Debug/renci.sshnet.dll
Normal file
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user