initial commit
This commit is contained in:
12
CHANGELOG
Normal file
12
CHANGELOG
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
18-05-04 chi 경고문구 11줄 제거(프로그램은 변경 없음)
|
||||||
|
18-05-01 chi 입/출화면에서 아이템검색기능 추가,
|
||||||
|
바코드검색시 입력창 편집못하게 수정
|
||||||
|
인벤토리 화면에 슬롯을 지정해서 볼수있도록 수정함
|
||||||
|
슬롯정보창에서 명령버튼을 클릭시 바로 해당 인벤토리만 보이도록 수정
|
||||||
|
저장버튼 클릭시 확인메세지 창 추가
|
||||||
|
메인화면 우클릭으로 design 클릭시 관련 창 추가 및 기능 연결 완료
|
||||||
|
슬롯선택시 선택 색도 별도 지정 가능
|
||||||
|
history 검색기능 완료 및 slot검색기능 추가
|
||||||
|
18-04-24 chi lang.cs 파일 정리 및 관련 문구 연결작업 / 1차 완료
|
||||||
|
18-04-23 chi 상태머신 타이머 추가
|
||||||
|
18-04-20 chi 프로젝트 생성
|
||||||
BIN
DLL/AmkorRestfulService.dll
Normal file
BIN
DLL/AmkorRestfulService.dll
Normal file
Binary file not shown.
BIN
DLL/AmkorRestfulService.pdb
Normal file
BIN
DLL/AmkorRestfulService.pdb
Normal file
Binary file not shown.
BIN
DLL/ArLog.Net4.dll
Normal file
BIN
DLL/ArLog.Net4.dll
Normal file
Binary file not shown.
BIN
DLL/ArSetting.Net4.dll
Normal file
BIN
DLL/ArSetting.Net4.dll
Normal file
Binary file not shown.
BIN
DLL/Automation.BDaq4.dll
Normal file
BIN
DLL/Automation.BDaq4.dll
Normal file
Binary file not shown.
BIN
DLL/CarlosAg.ExcelXmlWriter.dll
Normal file
BIN
DLL/CarlosAg.ExcelXmlWriter.dll
Normal file
Binary file not shown.
BIN
DLL/Winsock Orcas.dll
Normal file
BIN
DLL/Winsock Orcas.dll
Normal file
Binary file not shown.
BIN
DLL/arADVUSB4761.Net4.dll
Normal file
BIN
DLL/arADVUSB4761.Net4.dll
Normal file
Binary file not shown.
BIN
DLL/arADVUSB4761.Net4.pdb
Normal file
BIN
DLL/arADVUSB4761.Net4.pdb
Normal file
Binary file not shown.
BIN
DLL/arATBaseDIO.Net4.dll
Normal file
BIN
DLL/arATBaseDIO.Net4.dll
Normal file
Binary file not shown.
BIN
DLL/arATBaseDIO.Net4.pdb
Normal file
BIN
DLL/arATBaseDIO.Net4.pdb
Normal file
Binary file not shown.
BIN
DLL/arControl.Net4.dll
Normal file
BIN
DLL/arControl.Net4.dll
Normal file
Binary file not shown.
BIN
DLL/arControl.Net4.pdb
Normal file
BIN
DLL/arControl.Net4.pdb
Normal file
Binary file not shown.
BIN
DLL/arINIHelper.Net4.dll
Normal file
BIN
DLL/arINIHelper.Net4.dll
Normal file
Binary file not shown.
BIN
DLL/libxl.dll
Normal file
BIN
DLL/libxl.dll
Normal file
Binary file not shown.
BIN
DLL/libxl.net.dll
Normal file
BIN
DLL/libxl.net.dll
Normal file
Binary file not shown.
71
EETGW.sln
Normal file
71
EETGW.sln
Normal file
@@ -0,0 +1,71 @@
|
|||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio 2013
|
||||||
|
VisualStudioVersion = 12.0.40629.0
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EETGW", "Project\EETGW.csproj", "{65F3E762-800C-499E-862F-A535642EC59F}"
|
||||||
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "arControl", "Sub\arCtl\arControl.csproj", "{F31C242C-1B15-4518-9733-48558499FE4B}"
|
||||||
|
EndProject
|
||||||
|
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Sub", "Sub", "{28105E67-9D33-4627-8E26-FCE67700622F}"
|
||||||
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AmkorRestfulService", "Sub\AmkorRestfulService\AmkorRestfulService\AmkorRestfulService.csproj", "{58CFC90C-5068-46A2-A8DE-0E92EE9E0990}"
|
||||||
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StaffLayoutCtl", "Sub\StaffLayoutCtl\StaffLayoutCtl.csproj", "{B832738C-74DD-4CE2-8A29-98D0BCBB9EA4}"
|
||||||
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "test", "Sub\test\test.csproj", "{BDF730D5-8AC0-4C17-9A85-C93996B4E132}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Debug|x86 = Debug|x86
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
Release|x86 = Release|x86
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{65F3E762-800C-499E-862F-A535642EC59F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{65F3E762-800C-499E-862F-A535642EC59F}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{65F3E762-800C-499E-862F-A535642EC59F}.Debug|x86.ActiveCfg = Debug|x86
|
||||||
|
{65F3E762-800C-499E-862F-A535642EC59F}.Debug|x86.Build.0 = Debug|x86
|
||||||
|
{65F3E762-800C-499E-862F-A535642EC59F}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{65F3E762-800C-499E-862F-A535642EC59F}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{65F3E762-800C-499E-862F-A535642EC59F}.Release|x86.ActiveCfg = Release|x86
|
||||||
|
{65F3E762-800C-499E-862F-A535642EC59F}.Release|x86.Build.0 = Release|x86
|
||||||
|
{F31C242C-1B15-4518-9733-48558499FE4B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{F31C242C-1B15-4518-9733-48558499FE4B}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{F31C242C-1B15-4518-9733-48558499FE4B}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{F31C242C-1B15-4518-9733-48558499FE4B}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{F31C242C-1B15-4518-9733-48558499FE4B}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{F31C242C-1B15-4518-9733-48558499FE4B}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{58CFC90C-5068-46A2-A8DE-0E92EE9E0990}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{58CFC90C-5068-46A2-A8DE-0E92EE9E0990}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{58CFC90C-5068-46A2-A8DE-0E92EE9E0990}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{58CFC90C-5068-46A2-A8DE-0E92EE9E0990}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{58CFC90C-5068-46A2-A8DE-0E92EE9E0990}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{58CFC90C-5068-46A2-A8DE-0E92EE9E0990}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{B832738C-74DD-4CE2-8A29-98D0BCBB9EA4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{B832738C-74DD-4CE2-8A29-98D0BCBB9EA4}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{B832738C-74DD-4CE2-8A29-98D0BCBB9EA4}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{B832738C-74DD-4CE2-8A29-98D0BCBB9EA4}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{B832738C-74DD-4CE2-8A29-98D0BCBB9EA4}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{B832738C-74DD-4CE2-8A29-98D0BCBB9EA4}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{BDF730D5-8AC0-4C17-9A85-C93996B4E132}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{BDF730D5-8AC0-4C17-9A85-C93996B4E132}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{BDF730D5-8AC0-4C17-9A85-C93996B4E132}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{BDF730D5-8AC0-4C17-9A85-C93996B4E132}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{BDF730D5-8AC0-4C17-9A85-C93996B4E132}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{BDF730D5-8AC0-4C17-9A85-C93996B4E132}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(NestedProjects) = preSolution
|
||||||
|
{F31C242C-1B15-4518-9733-48558499FE4B} = {28105E67-9D33-4627-8E26-FCE67700622F}
|
||||||
|
{58CFC90C-5068-46A2-A8DE-0E92EE9E0990} = {28105E67-9D33-4627-8E26-FCE67700622F}
|
||||||
|
{B832738C-74DD-4CE2-8A29-98D0BCBB9EA4} = {28105E67-9D33-4627-8E26-FCE67700622F}
|
||||||
|
{BDF730D5-8AC0-4C17-9A85-C93996B4E132} = {28105E67-9D33-4627-8E26-FCE67700622F}
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
|
SolutionGuid = {B5B1FD72-356F-4840-83E8-B070AC21C8D9}
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
||||||
BIN
EETGW.v12.suo
Normal file
BIN
EETGW.v12.suo
Normal file
Binary file not shown.
2
LICENSE
Normal file
2
LICENSE
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
이 프로그램은 앰코테크놀로지 코리아 광주공장(K4)의 자산입니다.
|
||||||
|
개발자 : tindevil@nate.com
|
||||||
46
Project/CResult.cs
Normal file
46
Project/CResult.cs
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
|
||||||
|
namespace Project
|
||||||
|
{
|
||||||
|
public class CResult
|
||||||
|
{
|
||||||
|
public enum eResult
|
||||||
|
{
|
||||||
|
NG = 0,
|
||||||
|
OK,
|
||||||
|
NOTSET,
|
||||||
|
ERROR,
|
||||||
|
}
|
||||||
|
|
||||||
|
//commmon
|
||||||
|
public Manager.sModelInfo ModelInfo;
|
||||||
|
public string Message;
|
||||||
|
public eResult Judg;
|
||||||
|
public DateTime JobStart;
|
||||||
|
public DateTime JobEnd;
|
||||||
|
public TimeSpan JobTime {
|
||||||
|
get {
|
||||||
|
if (JobStart.Year == 1982) return new TimeSpan();
|
||||||
|
if (JobEnd.Year == 1982) return DateTime.Now - JobStart;
|
||||||
|
else return JobEnd - JobStart;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public CResult()
|
||||||
|
{
|
||||||
|
this.Clear();
|
||||||
|
}
|
||||||
|
public void Clear()
|
||||||
|
{
|
||||||
|
ModelInfo.Clear();
|
||||||
|
Message = string.Empty;
|
||||||
|
Judg = eResult.NOTSET;
|
||||||
|
JobStart = DateTime.Parse("1982-11-23");
|
||||||
|
JobEnd = JobStart;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
1804
Project/DataSet1.Designer.cs
generated
Normal file
1804
Project/DataSet1.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
9
Project/DataSet1.xsc
Normal file
9
Project/DataSet1.xsc
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--<autogenerated>
|
||||||
|
This code was generated by a tool.
|
||||||
|
Changes to this file may cause incorrect behavior and will be lost if
|
||||||
|
the code is regenerated.
|
||||||
|
</autogenerated>-->
|
||||||
|
<DataSetUISetting Version="1.00" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
||||||
|
<TableUISettings />
|
||||||
|
</DataSetUISetting>
|
||||||
63
Project/DataSet1.xsd
Normal file
63
Project/DataSet1.xsd
Normal file
@@ -0,0 +1,63 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<xs:schema id="DataSet1" targetNamespace="http://tempuri.org/DataSet1.xsd" xmlns:mstns="http://tempuri.org/DataSet1.xsd" xmlns="http://tempuri.org/DataSet1.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
|
||||||
|
<xs:annotation>
|
||||||
|
<xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
|
||||||
|
<DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
||||||
|
<Connections />
|
||||||
|
<Tables />
|
||||||
|
<Sources />
|
||||||
|
</DataSource>
|
||||||
|
</xs:appinfo>
|
||||||
|
</xs:annotation>
|
||||||
|
<xs:element name="DataSet1" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DataSet1" msprop:Generator_UserDSName="DataSet1">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||||
|
<xs:element name="ResultData" msprop:Generator_TableClassName="ResultDataDataTable" msprop:Generator_TableVarName="tableResultData" msprop:Generator_TablePropName="ResultData" msprop:Generator_RowDeletingName="ResultDataRowDeleting" msprop:Generator_RowChangingName="ResultDataRowChanging" msprop:Generator_RowEvHandlerName="ResultDataRowChangeEventHandler" msprop:Generator_RowDeletedName="ResultDataRowDeleted" msprop:Generator_UserTableName="ResultData" msprop:Generator_RowChangedName="ResultDataRowChanged" msprop:Generator_RowEvArgName="ResultDataRowChangeEvent" msprop:Generator_RowClassName="ResultDataRow">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:sequence>
|
||||||
|
<xs:element name="idx" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" />
|
||||||
|
<xs:element name="Asset" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Asset" msprop:Generator_ColumnVarNameInTable="columnAsset" msprop:Generator_ColumnPropNameInTable="AssetColumn" msprop:Generator_UserColumnName="Asset" type="xs:string" minOccurs="0" />
|
||||||
|
<xs:element name="result" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="result" msprop:Generator_ColumnVarNameInTable="columnresult" msprop:Generator_ColumnPropNameInTable="resultColumn" msprop:Generator_UserColumnName="result" type="xs:string" minOccurs="0" />
|
||||||
|
<xs:element name="JobStart" msprop:nullValue="_throw" msprop:Generator_ColumnPropNameInRow="JobStart" msprop:Generator_ColumnVarNameInTable="columnJobStart" msprop:Generator_ColumnPropNameInTable="JobStartColumn" msprop:Generator_UserColumnName="JobStart" type="xs:dateTime" minOccurs="0" />
|
||||||
|
<xs:element name="JobEnd" msprop:nullValue="_throw" msprop:Generator_ColumnPropNameInRow="JobEnd" msprop:Generator_ColumnVarNameInTable="columnJobEnd" msprop:Generator_ColumnPropNameInTable="JobEndColumn" msprop:Generator_UserColumnName="JobEnd" type="xs:dateTime" minOccurs="0" />
|
||||||
|
<xs:element name="JobTime" msprop:nullValue="_throw" msprop:Generator_ColumnPropNameInRow="JobTime" msprop:Generator_ColumnVarNameInTable="columnJobTime" msprop:Generator_ColumnPropNameInTable="JobTimeColumn" msprop:Generator_UserColumnName="JobTime" type="xs:duration" minOccurs="0" />
|
||||||
|
<xs:element name="Message" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Message" msprop:Generator_ColumnVarNameInTable="columnMessage" msprop:Generator_ColumnPropNameInTable="MessageColumn" msprop:Generator_UserColumnName="Message" type="xs:string" minOccurs="0" />
|
||||||
|
<xs:element name="test" msprop:Generator_ColumnVarNameInTable="columntest" msprop:Generator_ColumnPropNameInRow="test" msprop:Generator_ColumnPropNameInTable="testColumn" msprop:Generator_UserColumnName="test" type="xs:string" minOccurs="0" />
|
||||||
|
</xs:sequence>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
<xs:element name="Users" msprop:Generator_TableClassName="UsersDataTable" msprop:Generator_TableVarName="tableUsers" msprop:Generator_TablePropName="Users" msprop:Generator_RowDeletingName="UsersRowDeleting" msprop:Generator_RowChangingName="UsersRowChanging" msprop:Generator_RowEvHandlerName="UsersRowChangeEventHandler" msprop:Generator_RowDeletedName="UsersRowDeleted" msprop:Generator_UserTableName="Users" msprop:Generator_RowChangedName="UsersRowChanged" msprop:Generator_RowEvArgName="UsersRowChangeEvent" msprop:Generator_RowClassName="UsersRow">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:sequence>
|
||||||
|
<xs:element name="idx" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" />
|
||||||
|
<xs:element name="No" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="No" msprop:Generator_ColumnVarNameInTable="columnNo" msprop:Generator_ColumnPropNameInTable="NoColumn" msprop:Generator_UserColumnName="No" type="xs:string" minOccurs="0" />
|
||||||
|
<xs:element name="Name" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInTable="NameColumn" msprop:Generator_UserColumnName="Name" type="xs:string" minOccurs="0" />
|
||||||
|
<xs:element name="Memo" msprop:nullValue="" msprop:Generator_ColumnPropNameInRow="Memo" msprop:Generator_ColumnVarNameInTable="columnMemo" msprop:Generator_ColumnPropNameInTable="MemoColumn" msprop:Generator_UserColumnName="Memo" type="xs:string" minOccurs="0" />
|
||||||
|
</xs:sequence>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
<xs:element name="Model" msprop:Generator_TableClassName="ModelDataTable" msprop:Generator_TableVarName="tableModel" msprop:Generator_TablePropName="Model" msprop:Generator_RowDeletingName="ModelRowDeleting" msprop:Generator_RowChangingName="ModelRowChanging" msprop:Generator_RowEvHandlerName="ModelRowChangeEventHandler" msprop:Generator_RowDeletedName="ModelRowDeleted" msprop:Generator_UserTableName="Model" msprop:Generator_RowChangedName="ModelRowChanged" msprop:Generator_RowEvArgName="ModelRowChangeEvent" msprop:Generator_RowClassName="ModelRow">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:sequence>
|
||||||
|
<xs:element name="idx" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" />
|
||||||
|
<xs:element name="Asset" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Asset" msprop:Generator_ColumnVarNameInTable="columnAsset" msprop:Generator_ColumnPropNameInTable="AssetColumn" msprop:Generator_UserColumnName="Asset" type="xs:string" minOccurs="0" />
|
||||||
|
<xs:element name="Memo" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Memo" msprop:Generator_ColumnVarNameInTable="columnMemo" msprop:Generator_ColumnPropNameInTable="MemoColumn" msprop:Generator_UserColumnName="Memo" type="xs:string" minOccurs="0" />
|
||||||
|
</xs:sequence>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
</xs:choice>
|
||||||
|
</xs:complexType>
|
||||||
|
<xs:unique name="Constraint11">
|
||||||
|
<xs:selector xpath=".//mstns:ResultData" />
|
||||||
|
<xs:field xpath="mstns:idx" />
|
||||||
|
</xs:unique>
|
||||||
|
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
|
||||||
|
<xs:selector xpath=".//mstns:Users" />
|
||||||
|
<xs:field xpath="mstns:idx" />
|
||||||
|
</xs:unique>
|
||||||
|
<xs:unique name="Model_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
|
||||||
|
<xs:selector xpath=".//mstns:Model" />
|
||||||
|
<xs:field xpath="mstns:idx" />
|
||||||
|
</xs:unique>
|
||||||
|
</xs:element>
|
||||||
|
</xs:schema>
|
||||||
14
Project/DataSet1.xss
Normal file
14
Project/DataSet1.xss
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--<autogenerated>
|
||||||
|
This code was generated by a tool to store the dataset designer's layout information.
|
||||||
|
Changes to this file may cause incorrect behavior and will be lost if
|
||||||
|
the code is regenerated.
|
||||||
|
</autogenerated>-->
|
||||||
|
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="-10" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||||
|
<Shapes>
|
||||||
|
<Shape ID="DesignTable:ResultData" ZOrder="3" X="0" Y="0" Height="258" Width="169" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||||
|
<Shape ID="DesignTable:Users" ZOrder="2" X="191" Y="5" Height="105" Width="150" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="101" />
|
||||||
|
<Shape ID="DesignTable:Model" ZOrder="1" X="355" Y="5" Height="86" Width="150" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="82" />
|
||||||
|
</Shapes>
|
||||||
|
<Connectors />
|
||||||
|
</DiagramLayout>
|
||||||
1096
Project/Device/Barcode.cs
Normal file
1096
Project/Device/Barcode.cs
Normal file
File diff suppressed because it is too large
Load Diff
107
Project/Dialog/fDebug.Designer.cs
generated
Normal file
107
Project/Dialog/fDebug.Designer.cs
generated
Normal file
@@ -0,0 +1,107 @@
|
|||||||
|
namespace Project.Dialog
|
||||||
|
{
|
||||||
|
partial class fDebug
|
||||||
|
{
|
||||||
|
/// <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.tabControl1 = new System.Windows.Forms.TabControl();
|
||||||
|
this.tabPage1 = new System.Windows.Forms.TabPage();
|
||||||
|
this.button1 = new System.Windows.Forms.Button();
|
||||||
|
this.textBox1 = new System.Windows.Forms.TextBox();
|
||||||
|
this.tabControl1.SuspendLayout();
|
||||||
|
this.tabPage1.SuspendLayout();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// tabControl1
|
||||||
|
//
|
||||||
|
this.tabControl1.Controls.Add(this.tabPage1);
|
||||||
|
this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
|
this.tabControl1.Location = new System.Drawing.Point(0, 0);
|
||||||
|
this.tabControl1.Name = "tabControl1";
|
||||||
|
this.tabControl1.SelectedIndex = 0;
|
||||||
|
this.tabControl1.Size = new System.Drawing.Size(538, 163);
|
||||||
|
this.tabControl1.TabIndex = 8;
|
||||||
|
//
|
||||||
|
// tabPage1
|
||||||
|
//
|
||||||
|
this.tabPage1.Controls.Add(this.button1);
|
||||||
|
this.tabPage1.Controls.Add(this.textBox1);
|
||||||
|
this.tabPage1.Location = new System.Drawing.Point(4, 22);
|
||||||
|
this.tabPage1.Name = "tabPage1";
|
||||||
|
this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
|
||||||
|
this.tabPage1.Size = new System.Drawing.Size(530, 137);
|
||||||
|
this.tabPage1.TabIndex = 0;
|
||||||
|
this.tabPage1.Text = "tabPage1";
|
||||||
|
this.tabPage1.UseVisualStyleBackColor = true;
|
||||||
|
//
|
||||||
|
// button1
|
||||||
|
//
|
||||||
|
this.button1.Location = new System.Drawing.Point(201, 19);
|
||||||
|
this.button1.Name = "button1";
|
||||||
|
this.button1.Size = new System.Drawing.Size(122, 21);
|
||||||
|
this.button1.TabIndex = 1;
|
||||||
|
this.button1.Text = "barcode";
|
||||||
|
this.button1.UseVisualStyleBackColor = true;
|
||||||
|
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||||
|
//
|
||||||
|
// textBox1
|
||||||
|
//
|
||||||
|
this.textBox1.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
|
||||||
|
this.textBox1.ImeMode = System.Windows.Forms.ImeMode.Alpha;
|
||||||
|
this.textBox1.Location = new System.Drawing.Point(17, 19);
|
||||||
|
this.textBox1.Name = "textBox1";
|
||||||
|
this.textBox1.Size = new System.Drawing.Size(179, 21);
|
||||||
|
this.textBox1.TabIndex = 0;
|
||||||
|
//
|
||||||
|
// fDebug
|
||||||
|
//
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
this.ClientSize = new System.Drawing.Size(538, 163);
|
||||||
|
this.Controls.Add(this.tabControl1);
|
||||||
|
this.KeyPreview = true;
|
||||||
|
this.MaximizeBox = false;
|
||||||
|
this.MinimizeBox = false;
|
||||||
|
this.Name = "fDebug";
|
||||||
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||||
|
this.Text = "fDebug";
|
||||||
|
this.TopMost = true;
|
||||||
|
this.tabControl1.ResumeLayout(false);
|
||||||
|
this.tabPage1.ResumeLayout(false);
|
||||||
|
this.tabPage1.PerformLayout();
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private System.Windows.Forms.TabControl tabControl1;
|
||||||
|
private System.Windows.Forms.TabPage tabPage1;
|
||||||
|
private System.Windows.Forms.TextBox textBox1;
|
||||||
|
private System.Windows.Forms.Button button1;
|
||||||
|
}
|
||||||
|
}
|
||||||
26
Project/Dialog/fDebug.cs
Normal file
26
Project/Dialog/fDebug.cs
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel;
|
||||||
|
using System.Data;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace Project.Dialog
|
||||||
|
{
|
||||||
|
public partial class fDebug : Form
|
||||||
|
{
|
||||||
|
public fDebug()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
this.KeyDown += (s1, e1) => { if (e1.KeyCode == Keys.Escape) this.Close(); };
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
private void button1_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Pub.barcode.RaiseRecvData("RECV BCD");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
120
Project/Dialog/fDebug.resx
Normal file
120
Project/Dialog/fDebug.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>
|
||||||
127
Project/Dialog/fErrorException.Designer.cs
generated
Normal file
127
Project/Dialog/fErrorException.Designer.cs
generated
Normal file
@@ -0,0 +1,127 @@
|
|||||||
|
namespace Project
|
||||||
|
{
|
||||||
|
partial class fErrorException
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Required designer variable.
|
||||||
|
/// </summary>
|
||||||
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Clean up any resources being used.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||||
|
protected override void Dispose(bool disposing)
|
||||||
|
{
|
||||||
|
if (disposing && (components != null))
|
||||||
|
{
|
||||||
|
components.Dispose();
|
||||||
|
}
|
||||||
|
base.Dispose(disposing);
|
||||||
|
}
|
||||||
|
|
||||||
|
#region Windows Form Designer generated code
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Required method for Designer support - do not modify
|
||||||
|
/// the contents of this method with the code editor.
|
||||||
|
/// </summary>
|
||||||
|
private void InitializeComponent()
|
||||||
|
{
|
||||||
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fErrorException));
|
||||||
|
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
||||||
|
this.button2 = 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();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// pictureBox1
|
||||||
|
//
|
||||||
|
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
|
||||||
|
this.pictureBox1.Location = new System.Drawing.Point(160, 23);
|
||||||
|
this.pictureBox1.Name = "pictureBox1";
|
||||||
|
this.pictureBox1.Size = new System.Drawing.Size(80, 80);
|
||||||
|
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
|
||||||
|
this.pictureBox1.TabIndex = 0;
|
||||||
|
this.pictureBox1.TabStop = false;
|
||||||
|
//
|
||||||
|
// button2
|
||||||
|
//
|
||||||
|
this.button2.Image = ((System.Drawing.Image)(resources.GetObject("button2.Image")));
|
||||||
|
this.button2.Location = new System.Drawing.Point(30, 491);
|
||||||
|
this.button2.Name = "button2";
|
||||||
|
this.button2.Size = new System.Drawing.Size(355, 54);
|
||||||
|
this.button2.TabIndex = 2;
|
||||||
|
this.button2.Text = "종료";
|
||||||
|
this.button2.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
|
||||||
|
this.button2.UseVisualStyleBackColor = true;
|
||||||
|
this.button2.Click += new System.EventHandler(this.button2_Click);
|
||||||
|
//
|
||||||
|
// label1
|
||||||
|
//
|
||||||
|
this.label1.AutoSize = true;
|
||||||
|
this.label1.BackColor = System.Drawing.Color.Brown;
|
||||||
|
this.label1.Font = new System.Drawing.Font("맑은 고딕", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||||
|
this.label1.ForeColor = System.Drawing.Color.White;
|
||||||
|
this.label1.Location = new System.Drawing.Point(30, 117);
|
||||||
|
this.label1.Name = "label1";
|
||||||
|
this.label1.Padding = new System.Windows.Forms.Padding(10);
|
||||||
|
this.label1.Size = new System.Drawing.Size(355, 50);
|
||||||
|
this.label1.TabIndex = 3;
|
||||||
|
this.label1.Text = "미처리 오류로 인한 프로그램 중단";
|
||||||
|
//
|
||||||
|
// label2
|
||||||
|
//
|
||||||
|
this.label2.AutoSize = true;
|
||||||
|
this.label2.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||||
|
this.label2.ForeColor = System.Drawing.Color.Blue;
|
||||||
|
this.label2.Location = new System.Drawing.Point(30, 182);
|
||||||
|
this.label2.Name = "label2";
|
||||||
|
this.label2.Size = new System.Drawing.Size(311, 45);
|
||||||
|
this.label2.TabIndex = 4;
|
||||||
|
this.label2.Text = "오류보고를 위한 정보가 수집되었습니다.\r\n수집된 정보는 아래와 같고 오류가 발생하기 전의 상황을\r\n적어서 메일을 전송하면 버그 수정에 도움이 됩니" +
|
||||||
|
"다.";
|
||||||
|
//
|
||||||
|
// textBox1
|
||||||
|
//
|
||||||
|
this.textBox1.Location = new System.Drawing.Point(30, 240);
|
||||||
|
this.textBox1.Multiline = true;
|
||||||
|
this.textBox1.Name = "textBox1";
|
||||||
|
this.textBox1.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
|
||||||
|
this.textBox1.Size = new System.Drawing.Size(355, 241);
|
||||||
|
this.textBox1.TabIndex = 5;
|
||||||
|
//
|
||||||
|
// fErrorException
|
||||||
|
//
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||||
|
this.ClientSize = new System.Drawing.Size(418, 560);
|
||||||
|
this.Controls.Add(this.textBox1);
|
||||||
|
this.Controls.Add(this.label2);
|
||||||
|
this.Controls.Add(this.label1);
|
||||||
|
this.Controls.Add(this.button2);
|
||||||
|
this.Controls.Add(this.pictureBox1);
|
||||||
|
this.Font = new System.Drawing.Font("맑은 고딕", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||||
|
this.KeyPreview = true;
|
||||||
|
this.MaximizeBox = false;
|
||||||
|
this.MinimizeBox = false;
|
||||||
|
this.Name = "fErrorException";
|
||||||
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||||
|
this.Text = "Error Report";
|
||||||
|
this.Load += new System.EventHandler(this.fErrorException_Load);
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
this.PerformLayout();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private System.Windows.Forms.PictureBox pictureBox1;
|
||||||
|
private System.Windows.Forms.Button button2;
|
||||||
|
private System.Windows.Forms.Label label1;
|
||||||
|
private System.Windows.Forms.Label label2;
|
||||||
|
private System.Windows.Forms.TextBox textBox1;
|
||||||
|
}
|
||||||
|
}
|
||||||
39
Project/Dialog/fErrorException.cs
Normal file
39
Project/Dialog/fErrorException.cs
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel;
|
||||||
|
using System.Data;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace Project
|
||||||
|
{
|
||||||
|
public partial class fErrorException : Form
|
||||||
|
{
|
||||||
|
public fErrorException(string err)
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
System.Text.StringBuilder sb = new StringBuilder();
|
||||||
|
sb.AppendLine("To : ChiKyun.kim@amkor.co.kr");
|
||||||
|
sb.AppendLine("Description : ?");
|
||||||
|
sb.AppendLine();
|
||||||
|
sb.AppendLine("=========================");
|
||||||
|
sb.AppendLine(" ERROR MESSAGE");
|
||||||
|
sb.AppendLine("=========================");
|
||||||
|
sb.AppendLine();
|
||||||
|
sb.AppendLine(err);
|
||||||
|
this.textBox1.Text = sb.ToString();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void fErrorException_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void button2_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
this.Close();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
163
Project/Dialog/fErrorException.resx
Normal file
163
Project/Dialog/fErrorException.resx
Normal file
@@ -0,0 +1,163 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||||
|
<data name="pictureBox1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAb
|
||||||
|
rwAAG68BXhqRHAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAPnSURBVHhe7dzJ
|
||||||
|
TttQFAbgdNFKnZ6GFWKDfCNGsWRRddO+ATwBo5g2iNdopU7LqlXVFgUa2LDoE7TbQoEIFpVw72/5EOdw
|
||||||
|
INO919fx/aVfiuwTD58chcFyJSQkJJu4Urm3H0Uv95Wq7VWrx2jyOopeYF06FiLlcGbmkQZ7v6dULFav
|
||||||
|
w0w6HpINYGpKfQbUj/Hx+Pf8fHy2thafra8nr7EsQYyiT7Xh4Yfp20KQLF59cjI+XlqKL7e3W4plWBcQ
|
||||||
|
WXZHRp5qkF3AHE5NxScrKzfwqFiHmRRxF+9NN1POdINHDYhpesGjlh6xHzxqaRE53t/VVRGok5YO0SQe
|
||||||
|
tTSINvCoLYhKfR84RJt41IFFdIFHxbYHCtElHpUjfhkdfZIeTrGS4OkTcIlHLTxinnjUwiLiQPPGoxYO
|
||||||
|
0Sc8amEQTePxSDOd1ntEG1cejzTTTb1FbMGbnjaCh/JIM93WO0RbeCiPNNNLs4g1pb7lhmgTD+WRZnpt
|
||||||
|
7oi28VAeaaaf5oaIHWGHNvFQHmmm3yaI+hycIbrCQ3mkGRN1hugSD+WRZkzVOqJrPJRHmjFZa4h54KE8
|
||||||
|
0ozpGkfMCw/lkWZs1BhinngojzRjq30j5o2H8kgzNptF3Ffqa8eIPuChPNKM7XaN6AseyiPNuChHPBob
|
||||||
|
e5xytQZ3f2q81xg80L/inCwvixt0VR5pxlVhAZMEsVp9Jd4pq1c+xwBuZMwbD+WRZlwWJnSTZy2KnqVs
|
||||||
|
zegVyR8Hfs3NiRtwXR5pxnVhAyN8lFO2ZvSKc6w839gQ3+y6PNKM68IGRrpnKVszemEjAN5d3K99F2D4
|
||||||
|
CLdpu49w+BK5o22/RMKPMbcXFm1/jEEOh4bu68vzLQbrExPx8eKiuEEX5ZFmXBQGsICJ7hsYpVxyfEHk
|
||||||
|
kWZst2s8ik9XYl7tGY9SZsQsHgy6xqOUEdEYHqVMiMbxKGVAtIZHcYq4sxP/q9fjq9PTpHiNZeKsgVrH
|
||||||
|
o/ycnX3gAhFgPAmiMNtv/ywsuMGjuEC8ajRStmawTJrtp87xKEDUv/a9s4XoAjA3PIpNRNsfYY6Hc0lP
|
||||||
|
y22sIdKXyMVF0gTP0JeIN3gUjogDlA7ch3qHRykCYhYPx+oNHsVnRO/xKD4iFgaPggOkpw/ljVg4PIoP
|
||||||
|
iIXFo+SJWHg8Ch7PpE/iI07kAI90cvCPKuwD+8I+se/CPyLK5ZWYvfKwz8JeeTwuEAcWj2ITceDxKDYQ
|
||||||
|
S4NHMYlYOjyKCcTS4lESRKU+9IKI2etHgpYRj9ILYsBj6QYx4N2S8BBaA5Eeg9zY3IwbW1vhMcidBoj0
|
||||||
|
7SxWr8NMOh4iBXd/Xj8KXqlLNHkdHgUfEnIjlcp/1rPAKpMPkMkAAAAASUVORK5CYII=
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="button2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAL
|
||||||
|
iQAAC4kBN8nLrQAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAALmSURBVFhH7ZjL
|
||||||
|
ahRREIbLW7yLGxcq4k7cCaJLFwoiKAqKt5dQI4JLFZ8h4gMY0RF30YgbgwsRRYiZ3IzBG9lF3RgXXsDx
|
||||||
|
q1AtlTPTPefMtDLCfFBk5tRff1e65vR0j3TpUsALkVXjIvsmRHqJvjGRWxr6mjjH670zIitN/m+oiSym
|
||||||
|
qZPEPeI7UWsS32h2gL8ntNZs/g6ckcMcaMIdPDXGafaQ2ZXHtMg6zO8GB/MxR0wSjy30ta410mpUXoms
|
||||||
|
Nfv24D/eimGjs/aauDQqsovRLTL5H3ScnPHdaK4Q01bjY4zaLSZvDWtuJjD+RJxhgywzWVPQ9+DVy9/P
|
||||||
|
5pHFh5abtLGGZ+4po9lkkmSmRLbjEY5+lFhjkngoqjgTjQpNL7d0MnZJehR4ZtFvsjgYxylvwPuhlJGG
|
||||||
|
6DTweOI9iS/+PaM+ZvJihkSWUvDGFc9ivtHSyeQ099zGrZ/nbG2KjbXEyvLB7LQr0jhrqWTymhsWWa95
|
||||||
|
dvn5IHd8vrAIDB+6grdEj6WSaNacop9p1t67/H1LNUZNEf10BZctlURMcxnorjrNDyJ/RyM+6MQ1RrDD
|
||||||
|
UtGkNKeg3em1HPOApepBfNGJP9pyNKnNKfothMZfwC9Yqh6S153wpS1H0UpzGeiqWQ0efbZcD4L+TEgM
|
||||||
|
2nJT2mlOQfvA1d2w5XpI3nTCqAbbbU5BH92gHzHHKKaM5hQ8RrJ6Nsk1W64HYfQmKau5pE3CAaMuM2U1
|
||||||
|
p+ATf5nRAyMqvFCX2ZyCV/yFWkEw6AoWfNWV3Rx+C77q8B6wVD6IjmYFFvM3C2U3pzDO8GbhiKXy0WcJ
|
||||||
|
hP5OenZSZFvZzemdOR7+dquqG8bSxdDMfleo8TV431ZzIyKr8Rh2fr+IPZaOg4LbzsBHlXFvMFky70RW
|
||||||
|
4HEn8My/OOehnzkKw4emOb0TNkky1G7G41ng2dpDk8KoO/exM8Oa7MwH9wwbd2f+9OHhjHTmj0ceu052
|
||||||
|
5s9vIR35A2aX/wuR3/n+YvqZGUimAAAAAElFTkSuQmCC
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
</root>
|
||||||
136
Project/Dialog/fLogin.Designer.cs
generated
Normal file
136
Project/Dialog/fLogin.Designer.cs
generated
Normal file
@@ -0,0 +1,136 @@
|
|||||||
|
namespace Project.Dialog
|
||||||
|
{
|
||||||
|
partial class fLogin
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Required designer variable.
|
||||||
|
/// </summary>
|
||||||
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Clean up any resources being used.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||||
|
protected override void Dispose(bool disposing)
|
||||||
|
{
|
||||||
|
if (disposing && (components != null))
|
||||||
|
{
|
||||||
|
components.Dispose();
|
||||||
|
}
|
||||||
|
base.Dispose(disposing);
|
||||||
|
}
|
||||||
|
|
||||||
|
#region Windows Form Designer generated code
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Required method for Designer support - do not modify
|
||||||
|
/// the contents of this method with the code editor.
|
||||||
|
/// </summary>
|
||||||
|
private void InitializeComponent()
|
||||||
|
{
|
||||||
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fLogin));
|
||||||
|
this.tbID = new System.Windows.Forms.TextBox();
|
||||||
|
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
||||||
|
this.panel1 = new System.Windows.Forms.Panel();
|
||||||
|
this.tbPW = new System.Windows.Forms.TextBox();
|
||||||
|
this.panel2 = new System.Windows.Forms.Panel();
|
||||||
|
this.btLogin = new System.Windows.Forms.Button();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
||||||
|
this.panel1.SuspendLayout();
|
||||||
|
this.panel2.SuspendLayout();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// tbID
|
||||||
|
//
|
||||||
|
this.tbID.Font = new System.Drawing.Font("Calibri", 20.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.tbID.Location = new System.Drawing.Point(34, 127);
|
||||||
|
this.tbID.Name = "tbID";
|
||||||
|
this.tbID.Size = new System.Drawing.Size(235, 40);
|
||||||
|
this.tbID.TabIndex = 0;
|
||||||
|
this.tbID.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||||
|
//
|
||||||
|
// pictureBox1
|
||||||
|
//
|
||||||
|
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
|
||||||
|
this.pictureBox1.Location = new System.Drawing.Point(108, 34);
|
||||||
|
this.pictureBox1.Name = "pictureBox1";
|
||||||
|
this.pictureBox1.Size = new System.Drawing.Size(80, 80);
|
||||||
|
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
|
||||||
|
this.pictureBox1.TabIndex = 3;
|
||||||
|
this.pictureBox1.TabStop = false;
|
||||||
|
//
|
||||||
|
// panel1
|
||||||
|
//
|
||||||
|
this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(245)))), ((int)(((byte)(244)))));
|
||||||
|
this.panel1.Controls.Add(this.tbPW);
|
||||||
|
this.panel1.Controls.Add(this.pictureBox1);
|
||||||
|
this.panel1.Controls.Add(this.tbID);
|
||||||
|
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
|
this.panel1.Location = new System.Drawing.Point(0, 0);
|
||||||
|
this.panel1.Name = "panel1";
|
||||||
|
this.panel1.Size = new System.Drawing.Size(295, 255);
|
||||||
|
this.panel1.TabIndex = 1;
|
||||||
|
//
|
||||||
|
// tbPW
|
||||||
|
//
|
||||||
|
this.tbPW.Font = new System.Drawing.Font("Calibri", 20.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.tbPW.Location = new System.Drawing.Point(34, 176);
|
||||||
|
this.tbPW.Name = "tbPW";
|
||||||
|
this.tbPW.PasswordChar = '●';
|
||||||
|
this.tbPW.Size = new System.Drawing.Size(235, 40);
|
||||||
|
this.tbPW.TabIndex = 4;
|
||||||
|
this.tbPW.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||||
|
//
|
||||||
|
// panel2
|
||||||
|
//
|
||||||
|
this.panel2.BackColor = System.Drawing.SystemColors.Control;
|
||||||
|
this.panel2.Controls.Add(this.btLogin);
|
||||||
|
this.panel2.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||||
|
this.panel2.Location = new System.Drawing.Point(0, 255);
|
||||||
|
this.panel2.Name = "panel2";
|
||||||
|
this.panel2.Size = new System.Drawing.Size(295, 34);
|
||||||
|
this.panel2.TabIndex = 6;
|
||||||
|
//
|
||||||
|
// btLogin
|
||||||
|
//
|
||||||
|
this.btLogin.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
|
this.btLogin.Location = new System.Drawing.Point(0, 0);
|
||||||
|
this.btLogin.Name = "btLogin";
|
||||||
|
this.btLogin.Size = new System.Drawing.Size(295, 34);
|
||||||
|
this.btLogin.TabIndex = 0;
|
||||||
|
this.btLogin.Text = "OK";
|
||||||
|
this.btLogin.UseVisualStyleBackColor = true;
|
||||||
|
this.btLogin.Click += new System.EventHandler(this.button1_Click);
|
||||||
|
//
|
||||||
|
// fLogin
|
||||||
|
//
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||||
|
this.BackColor = System.Drawing.Color.OrangeRed;
|
||||||
|
this.ClientSize = new System.Drawing.Size(295, 289);
|
||||||
|
this.Controls.Add(this.panel1);
|
||||||
|
this.Controls.Add(this.panel2);
|
||||||
|
this.Font = new System.Drawing.Font("Calibri", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.MaximizeBox = false;
|
||||||
|
this.MinimizeBox = false;
|
||||||
|
this.Name = "fLogin";
|
||||||
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||||
|
this.Text = "Login";
|
||||||
|
this.Load += new System.EventHandler(this.fLogin_Load);
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
||||||
|
this.panel1.ResumeLayout(false);
|
||||||
|
this.panel1.PerformLayout();
|
||||||
|
this.panel2.ResumeLayout(false);
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private System.Windows.Forms.PictureBox pictureBox1;
|
||||||
|
public System.Windows.Forms.TextBox tbID;
|
||||||
|
private System.Windows.Forms.Panel panel1;
|
||||||
|
private System.Windows.Forms.Panel panel2;
|
||||||
|
private System.Windows.Forms.Button btLogin;
|
||||||
|
public System.Windows.Forms.TextBox tbPW;
|
||||||
|
}
|
||||||
|
}
|
||||||
72
Project/Dialog/fLogin.cs
Normal file
72
Project/Dialog/fLogin.cs
Normal file
@@ -0,0 +1,72 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel;
|
||||||
|
using System.Data;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace Project.Dialog
|
||||||
|
{
|
||||||
|
public partial class fLogin : Form
|
||||||
|
{
|
||||||
|
public fLogin()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
this.tbID.KeyDown += (s1, e1) => { if (e1.KeyCode == Keys.Enter) tbPW.Focus(); };
|
||||||
|
this.tbPW.KeyDown += (s1, e1) => { if (e1.KeyCode == Keys.Enter) btLogin.PerformClick(); };
|
||||||
|
this.KeyPreview = true;
|
||||||
|
this.KeyDown += (s1, e1) => {
|
||||||
|
if (e1.KeyCode == Keys.Escape) this.Close();
|
||||||
|
};
|
||||||
|
}
|
||||||
|
private void fLogin_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
this.tbID.Text = Pub.setting.lastid;
|
||||||
|
}
|
||||||
|
private void button1_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
if (this.tbID.Text.isEmpty())
|
||||||
|
{
|
||||||
|
tbID.Focus();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if(this.tbPW.Text.isEmpty())
|
||||||
|
{
|
||||||
|
tbPW.Focus();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
//180605
|
||||||
|
Pub.setting.lastid = tbID.Text.Trim();
|
||||||
|
Pub.setting.Save();
|
||||||
|
|
||||||
|
var sha1 = new System.Security.Cryptography.SHA1CryptoServiceProvider();
|
||||||
|
var buffer = System.Text.Encoding.Default.GetBytes(tbPW.Text);
|
||||||
|
var hashbuf = sha1.ComputeHash(buffer);
|
||||||
|
var encpass = hashbuf.GetHexString();
|
||||||
|
var ta = new dsMSSQLTableAdapters.UsersTableAdapter();
|
||||||
|
encpass = encpass.Replace(" ", "");
|
||||||
|
var users = ta.GetIDPW(tbID.Text, encpass);
|
||||||
|
if(users.Rows.Count < 1)
|
||||||
|
{
|
||||||
|
Util.MsgE("No user");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
var userdr = users.Rows[0] as dsMSSQL.UsersRow ;
|
||||||
|
Pub.Login.no = userdr.id;
|
||||||
|
Pub.Login.name = userdr.name;
|
||||||
|
Pub.Login.dept = userdr.dept;
|
||||||
|
Pub.Login.level = userdr.level;
|
||||||
|
Pub.Login.email = userdr.email;
|
||||||
|
}
|
||||||
|
DialogResult = DialogResult.OK;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
160
Project/Dialog/fLogin.resx
Normal file
160
Project/Dialog/fLogin.resx
Normal file
@@ -0,0 +1,160 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||||
|
<data name="pictureBox1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAb
|
||||||
|
rwAAG68BXhqRHAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAeaSURBVHhe7Vrr
|
||||||
|
bxRVFK9+8ItRY/Qf8BE1auIravykRpjdlvcbFCMkxsREfACKxmCqobszW55CUikgL5ECkoLQIkTjB9md
|
||||||
|
2W6rQmm7te1SmijvtpQ3FMZzZs+F6fYMULZ3d7adX/ILZM+555z768w9985MngcPHoao1fcpochwRTNC
|
||||||
|
PlWvBDYD21PYpGh6BfyroW9+oXEvDR+cKCw071S0yGifGtkGolwEmn0kjDHKgaMwFoUdBDDNO/zByBQQ
|
||||||
|
oD5FkHRYB5xIGQYu8kPhR2Civ9om3q/0q5HdQ4KxhyndwAJddV2pk7bxkF+LLIdb+k1fSH9+xPzqB4cF
|
||||||
|
/7gfif9XgsYLlk3VS32a3pYy1s5OyDWB0g4AwC0Lkw8wE0V2gxhl+aHIq31Zx9DXH9Rf82nGZisGG9v4
|
||||||
|
GnPTkBwFTAAEKmEnGNR3FASij5HnbcOv7X2cunPvHJA7p0X0BSPfMBM7C1fO2+TSb4Arcpqi6ueYfBq5
|
||||||
|
5BaUoD6JmcwxXMvIpd/hD4ZfhBwnUnKacIW+RS65AbjyHoXCUxvG8fyA8SS5SINSFH4acp1MyX0qp7oz
|
||||||
|
bCd+S5nAeZ8WeYnM0uEPhF+BnBd61mD8QmZ3g7t1YW16n8wZA+SckVoHbG/GkNmdwO0FFNrQs/DITjJn
|
||||||
|
HJAfz9W2WvQ6Vx/74K+en1JwtxKIPEHmjMOnVj2FNdhrguXFR2b3AYrbYi8WBF1PpqwBtkw/2mvCjTuZ
|
||||||
|
3IWR2t57oMAeC7cS0F8mc9ZADeV6TbBXVIr33U1m98AfMArshQKbyJRd4GlI1RP22oYGDYWs7gHcGqq9
|
||||||
|
SGgey8iUdSiq8V3P2vQiMrkHeLa1F4lPX8iUdfhVY6q9NnyISyb3AAprtBc5NBR+lkxZR/JRmF1AvZ5M
|
||||||
|
7gEU1eP49EYg+gCZsg58nmivDXiMTO4BFHXJXuSEwrq7yJR1YC322oAXyOQepBRo0s+ugdvr8wRMF24v
|
||||||
|
0O31eQKmC7cX6Pb6PAH7gvxg5DnYzX8FheyBI1wt/HvUXlyO8CjVDnMw5srf+OP7XdWYDAl7nDgGFo04
|
||||||
|
PlHv91eh+P4WEtSIRBOXVpuBHQmzorbDjBw8ax44csk82Hk1p4g1Y+0Vte3WXCZ8W31NSL8aieGLMZp+
|
||||||
|
elBUfQQEPY2Bp5b8ZW6tOW4mOviicpk4J5wbzpGE7MLP6EiG2wOsDa9DIOuI9vmmRjN+optNPpAYP37Z
|
||||||
|
nFPWKES8iJ+dkBx9g/UllZZ8QFBc2WommGQDlXg1ahUHLRHhDjyhFEcfIlluEcmnuFEM8FlZfEDesjcj
|
||||||
|
znn2xri4EsN9aiyKZozHgZOW1liXNJdgMLD+2GWrYaIWt/5OOXn1We92N0SPsoEHE9frR8RVWEcK3Rj4
|
||||||
|
cSMOmLLsT7Ol4wobdDARNZi8rIZEjD5DMjkDHIvQOVTRygaUzXDijJV7+vK/zbGLYxanl+6zGlkY9m3c
|
||||||
|
GNlUqaHg53okkzPA8Xd03rm/nQ0mi80nr5jBnQkzXzPELdOLaMPJNLdn9s7Ysa/dyo8fTZFMzgDHf9A5
|
||||||
|
eugcG0wGUbyPf6hPihQyzNmbE+bq2GmzvP6SxdVVXfBbi1lA4n6yod4aw8WSQaP1LP0RjTjJ5AxwtE4d
|
||||||
|
mey+835usQocu6TGXFt92qxsvspyDYg6bnFyPcLjFxdLBlGLpIB6F8nkDHJkA8kgrnl+TTeHFUfNdTVn
|
||||||
|
WOHsRIELQlHrdo4kMrcmCl1IJmdkWkCxQH+xtZUVjOOcn5JjsLFwMWVQ6EIyOUM4ckFkcBp0W8yHax4n
|
||||||
|
FsfvYU3EMdiduZgyKHQhmZwhHLkgMjhyQZWVb3tjNysWx+3x5JqEY7mYMih0IZmcIRy5IDI4emFSwPKG
|
||||||
|
y6xYHLEz45gxi2JsTBkUupBMzhCOXBAZfHflfivfqugpViyOK4xT1pj3Vu1nY8qg0IVkcoZw5ILIIDYC
|
||||||
|
zDdrUwsrFseZ4Itj5u/ymohZBRt23MbgtmQlXFmcYHauMDotXxxT1XaejSmDrhUQuWj3ISvnqIUxSyBO
|
||||||
|
OGSp3glrZszyXbKnjY0li0IXkskZwpELIot4tp21scHKi8e1udvazMqm68JVNF0xvyxvu3aU+3RjPONP
|
||||||
|
ioQuJJMzhCMXRCZRELEe4vbEfuVVAIfPT3Zr9MnGYzahC8nkDOHIBZHNPQ2dVu5pKw70EBD5TmmtZUMf
|
||||||
|
bqxsCl1IJmcIRy6IbK7e+5+VG7tsqoAzy5Kdd034MDtWNoUuJJMzhCMXRDbxCQvmLtr1by8B58FvaMNn
|
||||||
|
htxY2RS6kEzOEI5cENn8YG2dlbsk3NFLwJJw8qHmjHV17FjZFLqQTM4QjlwQ2Ry3JPkGbEvthV4Cbobf
|
||||||
|
0DYefLixsil0IZmcIRy5IDJZe/iilXfkglgv8QTRhj7oy8WQSaELyeQM4cgFkcnd9c4dWBBt6JONTix0
|
||||||
|
IZmcIRy5IDJ5ow4smM1OLHQhmZwhHLkgMik6MHZbTjxkNjux0IVkcoZw5ILI5IfQXUXum/Gj9ZnvxCI3
|
||||||
|
yeQM4cgFkUnRgW+F6MvFkEmRm2RyhnDkggxmegKmSU/ANOkJmCY9AdOkJ2Ca9ARMk56AabLPAnrkSTI5
|
||||||
|
gxvk8TpJJg8ePHjwkJeX9z9IbqKdvJUGzgAAAABJRU5ErkJggg==
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
</root>
|
||||||
84
Project/Dialog/fMsgWindow.Designer.cs
generated
Normal file
84
Project/Dialog/fMsgWindow.Designer.cs
generated
Normal file
@@ -0,0 +1,84 @@
|
|||||||
|
namespace Project.Dialog
|
||||||
|
{
|
||||||
|
partial class fMsgWindow
|
||||||
|
{
|
||||||
|
/// <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.arLabel1 = new System.Windows.Forms.Label();
|
||||||
|
this.button1 = new System.Windows.Forms.Button();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// arLabel1
|
||||||
|
//
|
||||||
|
this.arLabel1.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||||
|
this.arLabel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
|
this.arLabel1.Location = new System.Drawing.Point(5, 5);
|
||||||
|
this.arLabel1.Name = "arLabel1";
|
||||||
|
this.arLabel1.Size = new System.Drawing.Size(827, 399);
|
||||||
|
this.arLabel1.TabIndex = 4;
|
||||||
|
this.arLabel1.Text = "label1";
|
||||||
|
this.arLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||||
|
//
|
||||||
|
// button1
|
||||||
|
//
|
||||||
|
this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||||
|
this.button1.Font = new System.Drawing.Font("Consolas", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.button1.Location = new System.Drawing.Point(720, 18);
|
||||||
|
this.button1.Name = "button1";
|
||||||
|
this.button1.Size = new System.Drawing.Size(97, 53);
|
||||||
|
this.button1.TabIndex = 5;
|
||||||
|
this.button1.Text = "Close";
|
||||||
|
this.button1.UseVisualStyleBackColor = true;
|
||||||
|
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||||
|
//
|
||||||
|
// fMsgWindow
|
||||||
|
//
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||||
|
this.BackColor = System.Drawing.Color.Blue;
|
||||||
|
this.ClientSize = new System.Drawing.Size(837, 409);
|
||||||
|
this.Controls.Add(this.button1);
|
||||||
|
this.Controls.Add(this.arLabel1);
|
||||||
|
this.Font = new System.Drawing.Font("Consolas", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
||||||
|
this.KeyPreview = true;
|
||||||
|
this.MaximizeBox = false;
|
||||||
|
this.Name = "fMsgWindow";
|
||||||
|
this.Padding = new System.Windows.Forms.Padding(5);
|
||||||
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||||
|
this.Text = "Message Window";
|
||||||
|
this.TopMost = true;
|
||||||
|
this.Load += new System.EventHandler(this.fMsg_Load);
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private System.Windows.Forms.Button button1;
|
||||||
|
public System.Windows.Forms.Label arLabel1;
|
||||||
|
}
|
||||||
|
}
|
||||||
105
Project/Dialog/fMsgWindow.cs
Normal file
105
Project/Dialog/fMsgWindow.cs
Normal file
@@ -0,0 +1,105 @@
|
|||||||
|
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 Project.Dialog
|
||||||
|
{
|
||||||
|
public partial class fMsgWindow : Form
|
||||||
|
{
|
||||||
|
private Boolean fMove = false;
|
||||||
|
private Point MDownPos;
|
||||||
|
private string _msg = string.Empty;
|
||||||
|
public Project.MessageWindow.eMsgNo ID { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 사용자가 이 창을 닫을수 있는가?
|
||||||
|
/// </summary>
|
||||||
|
public Boolean EnableUserClose
|
||||||
|
{
|
||||||
|
get { return _enableuserclose; }
|
||||||
|
set
|
||||||
|
{
|
||||||
|
_enableuserclose = value;
|
||||||
|
if (!EnableUserClose) arLabel1.Visible = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
private Boolean _enableuserclose = true;
|
||||||
|
|
||||||
|
public fMsgWindow(string msg)
|
||||||
|
{
|
||||||
|
EnableUserClose = true;
|
||||||
|
InitializeComponent();
|
||||||
|
this.KeyDown += (s1, e1) => { if (EnableUserClose && e1.KeyCode == Keys.Escape) this.Close(); };
|
||||||
|
this._msg = msg;
|
||||||
|
arLabel1.Text = msg;
|
||||||
|
ID = 0;
|
||||||
|
arLabel1.MouseMove += label1_MouseMove;
|
||||||
|
arLabel1.MouseUp += label1_MouseUp;
|
||||||
|
arLabel1.MouseDown += label1_MouseDown;
|
||||||
|
arLabel1.MouseDoubleClick += label1_MouseDoubleClick;
|
||||||
|
arLabel1.Click += arLabel1_Click;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void fMsg_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public void SetText(string m)
|
||||||
|
{
|
||||||
|
this.arLabel1.Text = m;
|
||||||
|
this.arLabel1.Refresh();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void label1_MouseMove(object sender, MouseEventArgs e)
|
||||||
|
{
|
||||||
|
if (fMove)
|
||||||
|
{
|
||||||
|
Point offset = new Point(e.X - MDownPos.X, e.Y - MDownPos.Y);
|
||||||
|
this.Left += offset.X;
|
||||||
|
this.Top += offset.Y;
|
||||||
|
offset = new Point(0, 0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void label1_MouseUp(object sender, MouseEventArgs e)
|
||||||
|
{
|
||||||
|
fMove = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void label1_MouseDown(object sender, MouseEventArgs e)
|
||||||
|
{
|
||||||
|
MDownPos = new Point(e.X, e.Y);
|
||||||
|
fMove = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void label1_MouseDoubleClick(object sender, MouseEventArgs e)
|
||||||
|
{
|
||||||
|
if (EnableUserClose)
|
||||||
|
this.Close();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void arLabel1_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if (EnableUserClose)
|
||||||
|
this.Close();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void arLabel1_Click_1(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void button1_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if (EnableUserClose)
|
||||||
|
this.Close();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
120
Project/Dialog/fMsgWindow.resx
Normal file
120
Project/Dialog/fMsgWindow.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>
|
||||||
123
Project/Dialog/fPassword.Designer.cs
generated
Normal file
123
Project/Dialog/fPassword.Designer.cs
generated
Normal file
@@ -0,0 +1,123 @@
|
|||||||
|
namespace Project.Dialog
|
||||||
|
{
|
||||||
|
partial class fPassword
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Required designer variable.
|
||||||
|
/// </summary>
|
||||||
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Clean up any resources being used.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||||
|
protected override void Dispose(bool disposing)
|
||||||
|
{
|
||||||
|
if (disposing && (components != null))
|
||||||
|
{
|
||||||
|
components.Dispose();
|
||||||
|
}
|
||||||
|
base.Dispose(disposing);
|
||||||
|
}
|
||||||
|
|
||||||
|
#region Windows Form Designer generated code
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Required method for Designer support - do not modify
|
||||||
|
/// the contents of this method with the code editor.
|
||||||
|
/// </summary>
|
||||||
|
private void InitializeComponent()
|
||||||
|
{
|
||||||
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fPassword));
|
||||||
|
this.tbInput = new System.Windows.Forms.TextBox();
|
||||||
|
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
||||||
|
this.panel1 = new System.Windows.Forms.Panel();
|
||||||
|
this.panel2 = new System.Windows.Forms.Panel();
|
||||||
|
this.btLogin = new System.Windows.Forms.Button();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
||||||
|
this.panel1.SuspendLayout();
|
||||||
|
this.panel2.SuspendLayout();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// tbInput
|
||||||
|
//
|
||||||
|
this.tbInput.Font = new System.Drawing.Font("Calibri", 20.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.tbInput.Location = new System.Drawing.Point(29, 144);
|
||||||
|
this.tbInput.Name = "tbInput";
|
||||||
|
this.tbInput.PasswordChar = '●';
|
||||||
|
this.tbInput.Size = new System.Drawing.Size(235, 40);
|
||||||
|
this.tbInput.TabIndex = 0;
|
||||||
|
this.tbInput.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||||
|
//
|
||||||
|
// pictureBox1
|
||||||
|
//
|
||||||
|
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
|
||||||
|
this.pictureBox1.Location = new System.Drawing.Point(94, 27);
|
||||||
|
this.pictureBox1.Name = "pictureBox1";
|
||||||
|
this.pictureBox1.Size = new System.Drawing.Size(96, 96);
|
||||||
|
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
|
||||||
|
this.pictureBox1.TabIndex = 3;
|
||||||
|
this.pictureBox1.TabStop = false;
|
||||||
|
//
|
||||||
|
// panel1
|
||||||
|
//
|
||||||
|
this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(245)))), ((int)(((byte)(244)))));
|
||||||
|
this.panel1.Controls.Add(this.pictureBox1);
|
||||||
|
this.panel1.Controls.Add(this.tbInput);
|
||||||
|
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
|
this.panel1.Location = new System.Drawing.Point(0, 0);
|
||||||
|
this.panel1.Name = "panel1";
|
||||||
|
this.panel1.Size = new System.Drawing.Size(295, 211);
|
||||||
|
this.panel1.TabIndex = 1;
|
||||||
|
//
|
||||||
|
// panel2
|
||||||
|
//
|
||||||
|
this.panel2.BackColor = System.Drawing.SystemColors.Control;
|
||||||
|
this.panel2.Controls.Add(this.btLogin);
|
||||||
|
this.panel2.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||||
|
this.panel2.Location = new System.Drawing.Point(0, 211);
|
||||||
|
this.panel2.Name = "panel2";
|
||||||
|
this.panel2.Size = new System.Drawing.Size(295, 34);
|
||||||
|
this.panel2.TabIndex = 6;
|
||||||
|
//
|
||||||
|
// btLogin
|
||||||
|
//
|
||||||
|
this.btLogin.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
|
this.btLogin.Location = new System.Drawing.Point(0, 0);
|
||||||
|
this.btLogin.Name = "btLogin";
|
||||||
|
this.btLogin.Size = new System.Drawing.Size(295, 34);
|
||||||
|
this.btLogin.TabIndex = 0;
|
||||||
|
this.btLogin.Text = "OK";
|
||||||
|
this.btLogin.UseVisualStyleBackColor = true;
|
||||||
|
this.btLogin.Click += new System.EventHandler(this.button1_Click);
|
||||||
|
//
|
||||||
|
// fPassword
|
||||||
|
//
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||||
|
this.BackColor = System.Drawing.Color.OrangeRed;
|
||||||
|
this.ClientSize = new System.Drawing.Size(295, 245);
|
||||||
|
this.Controls.Add(this.panel1);
|
||||||
|
this.Controls.Add(this.panel2);
|
||||||
|
this.Font = new System.Drawing.Font("Calibri", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.MaximizeBox = false;
|
||||||
|
this.MinimizeBox = false;
|
||||||
|
this.Name = "fPassword";
|
||||||
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||||
|
this.Text = "Enter Password";
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
||||||
|
this.panel1.ResumeLayout(false);
|
||||||
|
this.panel1.PerformLayout();
|
||||||
|
this.panel2.ResumeLayout(false);
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private System.Windows.Forms.PictureBox pictureBox1;
|
||||||
|
public System.Windows.Forms.TextBox tbInput;
|
||||||
|
private System.Windows.Forms.Panel panel1;
|
||||||
|
private System.Windows.Forms.Panel panel2;
|
||||||
|
private System.Windows.Forms.Button btLogin;
|
||||||
|
}
|
||||||
|
}
|
||||||
35
Project/Dialog/fPassword.cs
Normal file
35
Project/Dialog/fPassword.cs
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel;
|
||||||
|
using System.Data;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace Project.Dialog
|
||||||
|
{
|
||||||
|
public partial class fPassword : Form
|
||||||
|
{
|
||||||
|
public fPassword()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
this.tbInput.KeyDown += (s1, e1) => { if (e1.KeyCode == Keys.Enter) btLogin.PerformClick(); };
|
||||||
|
this.KeyPreview = true;
|
||||||
|
this.KeyDown += (s1, e1) => {
|
||||||
|
if (e1.KeyCode == Keys.Escape) this.Close();
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
private void button1_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
string id = tbInput.Text.Trim();
|
||||||
|
if (id.isEmpty())
|
||||||
|
{
|
||||||
|
tbInput.Focus();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
DialogResult = DialogResult.OK;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
160
Project/Dialog/fPassword.resx
Normal file
160
Project/Dialog/fPassword.resx
Normal file
@@ -0,0 +1,160 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||||
|
<data name="pictureBox1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAb
|
||||||
|
rwAAG68BXhqRHAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAeoSURBVHhe7Z1r
|
||||||
|
bBRVFMfr+xHf8RUTHx/UoHwpLDMLLdHtzBSosWoijSZCq9GCRAN+I+oXwgfBqIgYXzF+gMT4KIoRgloM
|
||||||
|
RhOQLbRSQSyoLZYIhEcpnZ3u0u7u9Zzd0wDT41Z2753O7s4/+aWb3TvnnvPf2bkzd6YzFYECBQoUKFCg
|
||||||
|
QIECBQrkJ/VPn36tbYZrHFOfHzP1N4ANMUvfAX+7gAPwui8Dvsb3sp9tiJnh1x0rPM+2pkYwBoULNJaO
|
||||||
|
VldfCYbPdgx9FRjZCaQAUSAYYyd8KW/ZVvjRI5HIFdRdIJSIRC60Db0BTFoPJMg0lSQcS//cMbR67JvS
|
||||||
|
KD+JhokXw5r+DBiy12WQl3TB5u1pzIXSKn2JadMuixnhF6B43G5zpowHvbapLcTcKM3SFAySjVDsQVfx
|
||||||
|
PkL7B3OkdEtHcaPqdijw69EF+xPb1NcNztBupfSLW7D3sQiKGnQXWQQMwC9iDpVRfMLdPfg5r2EKKy6g
|
||||||
|
hqLbdbVnVN1IB0V8UUVHODoQCV1P5flbA6Z+NyTdM7qIoqf7ZG34LirTn4Kj2HszexJ8AaXAAduaeg+V
|
||||||
|
6y/h2hEz9CNM0qXGwXhk6h1Utj8E28ib4IjyTybZksSx9D+wZip/fCXq7rwE9pu3cImWOD/5YgoDzH+f
|
||||||
|
Sa4scMzwO2TD+AgPVLjEygvtCbLDW+FABAn0j06ozLD0vrgVuo1s8U7wzbeyCZUn35It3sg2tceYJMoa
|
||||||
|
PNtG9qhVZo7H1HvdCXiB83i9OPXBKpFs2yrSfcdFemAgC7zG9/AzbMMt6wH7RX3ocrJJnRxDf5npXC0z
|
||||||
|
q8RQy8dCDA+LMQVtsC0uw8ZSiaEvJpvUiNb+Y6M6VojzkCGSne3k7v9Xcmd7ZlkupkIOKz2rRnP7XMdq
|
||||||
|
sMIi2bGdLD13JTvaMjHY2IqwzfBzZJdciSUV50MH3e4OVZJ4cxlZeVrpQwdFYuVyMdg0WziPmBnwNb6H
|
||||||
|
n7mVWPEKG1sVOE0hKirOI9vkKWZpFtehMmZNF+n+E2RjVqk9uzKGs+0B/Cy1Zze1zird3wfjQTXbXhV4
|
||||||
|
QRjZJk8QeLW7I5Uklr5EFmaVjtmwh/Mg2/ZMsE3aidFSWSWWvsi2VchHZJsc0eAbc3WilOFNG8m+rIY+
|
||||||
|
Wc224xj6dA0tldVw60a2nUJOSt0ldazww0wnSkn19pB9WcUXNrPtOOKLmmmprFJ/97DtVOLUhB8g+woX
|
||||||
|
XavJdqSK9OAg2ZeVU1/DtuPA3c8zlXYctp1SDH0F2Ve4INguthOFuMW1yYVbXBvF7CT7ChNeDQDB0q7g
|
||||||
|
ynGLa5MLt7g2ikmdnDntOrIxf8VMbRYTXCrx+Y0i2dIi0lujQrT/qpT0lmimr3jzXDYXuYRrycb8pfro
|
||||||
|
N77gKSF2dLJmKQX6jM9vYnOShW3oz5ON+QsG4He54LJIrfuKN8gDkl98yeYkCzgqfptszF8wAH/PBZeF
|
||||||
|
2NbOmuMJ23awOUnD0r8jG/MXBNo9KrBEWGM8hMtJIp1kY/6CIPtdQaXCmeIlXE4S6SYb8xcEOe4KKhXO
|
||||||
|
FC/hcpLIUbIxf0GQU66gUuFM8RIuJ4kkyMb8BUGGXEGlwpkyFonWzaJrbpNo07QMXXMaRXxjK9t2LLic
|
||||||
|
JCLlC/DVJgjNbwuFxNYJE84C3zu16Qd2mVxwOUlEyibIV4Mwrvlu80fY2/Qku0wuuJwkImEQVjwRx5mS
|
||||||
|
i2jlJNZ8JDp5MrtMLricJFL4hJzyAzHGlFxEKytZ85HoJJ99ATIOxPBwmg0uCc6UXHTNmcuaj/hvE6St
|
||||||
|
JBvzF04o8cHlwJmSi8H13/zHIDzFd4OwbWkLyMb8hVOqXHBZcKaMxchuKI4HuNnZ29iUl/kIl5MsYOU1
|
||||||
|
yMb8pfqEDGeKl3A5SULOCRkUBPvFFVwanClewuUkie1kX+HCE8xMB1LgTPESLidJvEr2FS6Vl6VwpngJ
|
||||||
|
l5MMpF6WIiKRSyHoCXcnMsCTIpwxnvDzdjYnCRyT/h+Utql/yHRUMHhakDXHA5Ita9mcCsW29PfINnmy
|
||||||
|
De0+rrNCic9rHL+T8oqujBgwtCqyTZ7w8nT4FfzFdVgomctS8JfQ1sGbJRPoA/tSZb6yy9NRjqE/y3Ua
|
||||||
|
cBrH0prJLvkSodBF0InS6ekipxs9IrvUSPXcUDGDWwiySZ3wn9BUjQVFzj68cQnZpFaqJ+iKklrNJHu8
|
||||||
|
kWNqa9lEyhFD/4xs8U7BzTqI8bpZBwrnOyAJz/93wEekHGNKHdkxPopZ2mtMYuWBpS8nG8ZPwS3LfKDj
|
||||||
|
deGrICFlJ218SAc+bILK94ec2upbILFSvGGrm3123aQbqGx/KXvjVl89F0A2vb69ceuIYhHt5piptTPJ
|
||||||
|
FzeZe2H75F6hYwmfXARJ/ziqiOJlc58VuprKKw6JhoYLbEtfAsnLeBLSeJGEo9zFyub3vRBenASFHHYV
|
||||||
|
VgwcwmeYURnFreARJj4R3sgICvzNXbCP2G3XavdTuqWp4DFWPpEvHuRmhH8vuwe5cbJrtIk4sQWmePGM
|
||||||
|
sR7cO8M+qftAI8I1MXO2LftltAHJM4zLF4gRjsLavgxvPFj2a/u56ESk8hrcFTzrcbbZo+xuPBFCBmdO
|
||||||
|
imTey3521uNsMQaFCxQoUKBAgQIFChQoUCAfqKLiXwYEOVtR8EleAAAAAElFTkSuQmCC
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
</root>
|
||||||
146
Project/Dialog/fTouchKeyFull.Designer.cs
generated
Normal file
146
Project/Dialog/fTouchKeyFull.Designer.cs
generated
Normal file
@@ -0,0 +1,146 @@
|
|||||||
|
namespace Project.Dialog
|
||||||
|
{
|
||||||
|
partial class fTouchKeyFull
|
||||||
|
{
|
||||||
|
/// <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.touchKeyFull1 = new arCtl.TouchKeyFull();
|
||||||
|
this.tbInput = new System.Windows.Forms.TextBox();
|
||||||
|
this.lbTitle = new arCtl.arLabel();
|
||||||
|
this.button1 = new System.Windows.Forms.Button();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// touchKeyFull1
|
||||||
|
//
|
||||||
|
this.touchKeyFull1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
|
this.touchKeyFull1.Location = new System.Drawing.Point(6, 84);
|
||||||
|
this.touchKeyFull1.Name = "touchKeyFull1";
|
||||||
|
this.touchKeyFull1.Size = new System.Drawing.Size(792, 172);
|
||||||
|
this.touchKeyFull1.TabIndex = 0;
|
||||||
|
this.touchKeyFull1.keyClick += new arCtl.TouchKeyFull.KeyClickHandler(this.touchKeyFull1_keyClick);
|
||||||
|
//
|
||||||
|
// tbInput
|
||||||
|
//
|
||||||
|
this.tbInput.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||||
|
this.tbInput.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||||
|
this.tbInput.Dock = System.Windows.Forms.DockStyle.Top;
|
||||||
|
this.tbInput.Font = new System.Drawing.Font("맑은 고딕", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||||
|
this.tbInput.ForeColor = System.Drawing.Color.White;
|
||||||
|
this.tbInput.Location = new System.Drawing.Point(6, 38);
|
||||||
|
this.tbInput.Name = "tbInput";
|
||||||
|
this.tbInput.Size = new System.Drawing.Size(792, 46);
|
||||||
|
this.tbInput.TabIndex = 0;
|
||||||
|
this.tbInput.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||||
|
//
|
||||||
|
// lbTitle
|
||||||
|
//
|
||||||
|
this.lbTitle.BackColor = System.Drawing.Color.Gray;
|
||||||
|
this.lbTitle.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100)))));
|
||||||
|
this.lbTitle.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||||
|
this.lbTitle.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
|
||||||
|
this.lbTitle.BorderColorOver = System.Drawing.Color.DarkBlue;
|
||||||
|
this.lbTitle.BorderSize = new System.Windows.Forms.Padding(1);
|
||||||
|
this.lbTitle.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||||
|
this.lbTitle.Cursor = System.Windows.Forms.Cursors.Arrow;
|
||||||
|
this.lbTitle.Dock = System.Windows.Forms.DockStyle.Top;
|
||||||
|
this.lbTitle.Enabled = false;
|
||||||
|
this.lbTitle.Enabled2 = true;
|
||||||
|
this.lbTitle.Font = new System.Drawing.Font("Consolas", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.lbTitle.ForeColor = System.Drawing.Color.White;
|
||||||
|
this.lbTitle.GradientEnable = true;
|
||||||
|
this.lbTitle.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
|
||||||
|
this.lbTitle.GradientRepeatBG = false;
|
||||||
|
this.lbTitle.isButton = false;
|
||||||
|
this.lbTitle.Location = new System.Drawing.Point(6, 5);
|
||||||
|
this.lbTitle.MouseDownColor = System.Drawing.Color.Yellow;
|
||||||
|
this.lbTitle.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||||
|
this.lbTitle.msg = null;
|
||||||
|
this.lbTitle.Name = "lbTitle";
|
||||||
|
this.lbTitle.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
|
||||||
|
this.lbTitle.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||||
|
this.lbTitle.ProgressEnable = false;
|
||||||
|
this.lbTitle.ProgressFont = new System.Drawing.Font("Consolas", 10F);
|
||||||
|
this.lbTitle.ProgressForeColor = System.Drawing.Color.Black;
|
||||||
|
this.lbTitle.ProgressMax = 100F;
|
||||||
|
this.lbTitle.ProgressMin = 0F;
|
||||||
|
this.lbTitle.ProgressPadding = new System.Windows.Forms.Padding(0);
|
||||||
|
this.lbTitle.ProgressText = null;
|
||||||
|
this.lbTitle.ProgressValue = 0F;
|
||||||
|
this.lbTitle.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
|
||||||
|
this.lbTitle.Sign = "";
|
||||||
|
this.lbTitle.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||||
|
this.lbTitle.SignColor = System.Drawing.Color.Yellow;
|
||||||
|
this.lbTitle.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||||
|
this.lbTitle.Size = new System.Drawing.Size(792, 33);
|
||||||
|
this.lbTitle.TabIndex = 2;
|
||||||
|
this.lbTitle.Text = "Input";
|
||||||
|
this.lbTitle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||||
|
this.lbTitle.TextShadow = true;
|
||||||
|
this.lbTitle.TextVisible = true;
|
||||||
|
//
|
||||||
|
// button1
|
||||||
|
//
|
||||||
|
this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||||
|
this.button1.Location = new System.Drawing.Point(711, 8);
|
||||||
|
this.button1.Margin = new System.Windows.Forms.Padding(0);
|
||||||
|
this.button1.Name = "button1";
|
||||||
|
this.button1.Size = new System.Drawing.Size(84, 27);
|
||||||
|
this.button1.TabIndex = 3;
|
||||||
|
this.button1.Text = "EXIT";
|
||||||
|
this.button1.UseVisualStyleBackColor = true;
|
||||||
|
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||||
|
//
|
||||||
|
// fTouchKeyFull
|
||||||
|
//
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60)))));
|
||||||
|
this.ClientSize = new System.Drawing.Size(804, 261);
|
||||||
|
this.Controls.Add(this.button1);
|
||||||
|
this.Controls.Add(this.touchKeyFull1);
|
||||||
|
this.Controls.Add(this.tbInput);
|
||||||
|
this.Controls.Add(this.lbTitle);
|
||||||
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
||||||
|
this.KeyPreview = true;
|
||||||
|
this.Name = "fTouchKeyFull";
|
||||||
|
this.Padding = new System.Windows.Forms.Padding(6, 5, 6, 5);
|
||||||
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||||
|
this.Text = "fTouchKeyFull";
|
||||||
|
this.Load += new System.EventHandler(this.fTouchKeyFull_Load);
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
this.PerformLayout();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private arCtl.TouchKeyFull touchKeyFull1;
|
||||||
|
private arCtl.arLabel lbTitle;
|
||||||
|
public System.Windows.Forms.TextBox tbInput;
|
||||||
|
private System.Windows.Forms.Button button1;
|
||||||
|
}
|
||||||
|
}
|
||||||
93
Project/Dialog/fTouchKeyFull.cs
Normal file
93
Project/Dialog/fTouchKeyFull.cs
Normal file
@@ -0,0 +1,93 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel;
|
||||||
|
using System.Data;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace Project.Dialog
|
||||||
|
{
|
||||||
|
public partial class fTouchKeyFull : Form
|
||||||
|
{
|
||||||
|
public fTouchKeyFull(string title,string value)
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
this.lbTitle.Text = title;
|
||||||
|
this.tbInput.Text = value;
|
||||||
|
this.KeyDown += (s1, e1) =>
|
||||||
|
{
|
||||||
|
if (e1.KeyCode == Keys.Escape)
|
||||||
|
this.Close();
|
||||||
|
};
|
||||||
|
this.lbTitle.MouseMove += LbTitle_MouseMove;
|
||||||
|
this.lbTitle.MouseUp += LbTitle_MouseUp;
|
||||||
|
this.lbTitle.MouseDown += LbTitle_MouseDown;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void fTouchKeyFull_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
this.Show();
|
||||||
|
Application.DoEvents();
|
||||||
|
this.tbInput.SelectAll();
|
||||||
|
this.tbInput.Focus();
|
||||||
|
}
|
||||||
|
#region "Mouse Form Move"
|
||||||
|
|
||||||
|
private Boolean fMove = false;
|
||||||
|
private Point MDownPos;
|
||||||
|
private void LbTitle_MouseMove(object sender, MouseEventArgs e)
|
||||||
|
{
|
||||||
|
if (fMove)
|
||||||
|
{
|
||||||
|
Point offset = new Point(e.X - MDownPos.X, e.Y - MDownPos.Y);
|
||||||
|
this.Left += offset.X;
|
||||||
|
this.Top += offset.Y;
|
||||||
|
offset = new Point(0, 0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
private void LbTitle_MouseUp(object sender, MouseEventArgs e)
|
||||||
|
{
|
||||||
|
fMove = false;
|
||||||
|
}
|
||||||
|
private void LbTitle_MouseDown(object sender, MouseEventArgs e)
|
||||||
|
{
|
||||||
|
MDownPos = new Point(e.X, e.Y);
|
||||||
|
fMove = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private void touchKeyFull1_keyClick(string key)
|
||||||
|
{
|
||||||
|
|
||||||
|
switch(key)
|
||||||
|
{
|
||||||
|
case "CLR":
|
||||||
|
this.tbInput.Text = string.Empty;
|
||||||
|
break;
|
||||||
|
case "BACK":
|
||||||
|
if (this.tbInput.TextLength < 2) this.tbInput.Text = string.Empty;
|
||||||
|
else this.tbInput.Text = this.tbInput.Text.Substring(0,tbInput.TextLength-1);
|
||||||
|
this.tbInput.SelectionStart = this.tbInput.TextLength;
|
||||||
|
break;
|
||||||
|
case "ENTER":
|
||||||
|
this.DialogResult = DialogResult.OK;
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
var seltext = tbInput.SelectedText;
|
||||||
|
if (seltext.Length == tbInput.TextLength) tbInput.Text = "";
|
||||||
|
this.tbInput.Text += key;
|
||||||
|
this.tbInput.SelectionStart = this.tbInput.TextLength;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void button1_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
this.Close();
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
120
Project/Dialog/fTouchKeyFull.resx
Normal file
120
Project/Dialog/fTouchKeyFull.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>
|
||||||
428
Project/EETGW.csproj
Normal file
428
Project/EETGW.csproj
Normal file
@@ -0,0 +1,428 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="4.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>{65F3E762-800C-499E-862F-A535642EC59F}</ProjectGuid>
|
||||||
|
<OutputType>WinExe</OutputType>
|
||||||
|
<RootNamespace>Project</RootNamespace>
|
||||||
|
<AssemblyName>GWEE</AssemblyName>
|
||||||
|
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||||
|
<FileAlignment>512</FileAlignment>
|
||||||
|
<IsWebBootstrapper>true</IsWebBootstrapper>
|
||||||
|
<SignAssembly>False</SignAssembly>
|
||||||
|
<DelaySign>False</DelaySign>
|
||||||
|
<RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
|
||||||
|
<AllowUnsafeBlocks>False</AllowUnsafeBlocks>
|
||||||
|
<NoStdLib>False</NoStdLib>
|
||||||
|
<TreatWarningsAsErrors>False</TreatWarningsAsErrors>
|
||||||
|
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
|
||||||
|
<PublishUrl>ftp://10.131.36.205:2121/Install/GroupWare/</PublishUrl>
|
||||||
|
<Install>true</Install>
|
||||||
|
<InstallFrom>Web</InstallFrom>
|
||||||
|
<UpdateEnabled>true</UpdateEnabled>
|
||||||
|
<UpdateMode>Foreground</UpdateMode>
|
||||||
|
<UpdateInterval>7</UpdateInterval>
|
||||||
|
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||||
|
<UpdatePeriodically>false</UpdatePeriodically>
|
||||||
|
<UpdateRequired>false</UpdateRequired>
|
||||||
|
<MapFileExtensions>true</MapFileExtensions>
|
||||||
|
<InstallUrl>http://10.131.36.205:8080/Install/GroupWare/</InstallUrl>
|
||||||
|
<ProductName>EET GruopWare</ProductName>
|
||||||
|
<PublisherName>EET</PublisherName>
|
||||||
|
<SuiteName>EET Software</SuiteName>
|
||||||
|
<CreateWebPageOnPublish>true</CreateWebPageOnPublish>
|
||||||
|
<WebPage>default.html</WebPage>
|
||||||
|
<TrustUrlParameters>true</TrustUrlParameters>
|
||||||
|
<ApplicationRevision>11</ApplicationRevision>
|
||||||
|
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||||
|
<UseApplicationTrust>false</UseApplicationTrust>
|
||||||
|
<CreateDesktopShortcut>true</CreateDesktopShortcut>
|
||||||
|
<PublishWizardCompleted>true</PublishWizardCompleted>
|
||||||
|
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
|
<PlatformTarget>x86</PlatformTarget>
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<DebugType>Full</DebugType>
|
||||||
|
<Optimize>False</Optimize>
|
||||||
|
<OutputPath>..\..\..\Amkor\GroupWare\</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>..\..\..\ManualMapEditor\</OutputPath>
|
||||||
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<ApplicationIcon>icons8-realtime-64.ico</ApplicationIcon>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<TargetZone>LocalIntranet</TargetZone>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<GenerateManifests>true</GenerateManifests>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<OutputPath>..\..\..\..\..\Amkor\BarcodeValidation\</OutputPath>
|
||||||
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<PlatformTarget>x86</PlatformTarget>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
|
||||||
|
<OutputPath>bin\</OutputPath>
|
||||||
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<DebugType>pdbonly</DebugType>
|
||||||
|
<PlatformTarget>x86</PlatformTarget>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
|
||||||
|
<CheckForOverflowUnderflow>False</CheckForOverflowUnderflow>
|
||||||
|
<BaseIntermediateOutputPath>obj\</BaseIntermediateOutputPath>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Platform)' == 'AnyCPU' ">
|
||||||
|
<BaseAddress>4194304</BaseAddress>
|
||||||
|
<RegisterForComInterop>False</RegisterForComInterop>
|
||||||
|
<GenerateSerializationAssemblies>Auto</GenerateSerializationAssemblies>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<ManifestCertificateThumbprint>026AD0E7B5AB617B10939CFF191623529DAF7B4C</ManifestCertificateThumbprint>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<ManifestKeyFile>EETGW_TemporaryKey.pfx</ManifestKeyFile>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<SignManifests>true</SignManifests>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<ApplicationManifest>Properties\app.manifest</ApplicationManifest>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Reference Include="arINIHelper.Net4">
|
||||||
|
<HintPath>..\DLL\arINIHelper.Net4.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="ArLog.Net4">
|
||||||
|
<HintPath>..\DLL\ArLog.Net4.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="ArSetting.Net4">
|
||||||
|
<HintPath>..\DLL\ArSetting.Net4.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="libxl.net">
|
||||||
|
<HintPath>..\DLL\libxl.net.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Microsoft.ReportViewer.Common, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" />
|
||||||
|
<Reference Include="Microsoft.ReportViewer.WinForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" />
|
||||||
|
<Reference Include="System" />
|
||||||
|
<Reference Include="System.Core" />
|
||||||
|
<Reference Include="System.ServiceModel" />
|
||||||
|
<Reference Include="System.Web" />
|
||||||
|
<Reference Include="System.Web.Services" />
|
||||||
|
<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.Windows.Forms" />
|
||||||
|
<Reference Include="System.Xml" />
|
||||||
|
<Reference Include="Winsock Orcas">
|
||||||
|
<HintPath>..\DLL\Winsock Orcas.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Compile Include="CResult.cs" />
|
||||||
|
<Compile Include="DataSet1.Designer.cs">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DesignTime>True</DesignTime>
|
||||||
|
<DependentUpon>DataSet1.xsd</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Device\Barcode.cs" />
|
||||||
|
<Compile Include="Dialog\fDebug.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Dialog\fDebug.Designer.cs">
|
||||||
|
<DependentUpon>fDebug.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Dialog\fMsgWindow.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Dialog\fMsgWindow.Designer.cs">
|
||||||
|
<DependentUpon>fMsgWindow.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Dialog\fLogin.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Dialog\fLogin.Designer.cs">
|
||||||
|
<DependentUpon>fLogin.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Dialog\fPassword.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Dialog\fPassword.Designer.cs">
|
||||||
|
<DependentUpon>fPassword.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Dialog\fErrorException.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Dialog\fErrorException.Designer.cs">
|
||||||
|
<DependentUpon>fErrorException.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Dialog\fTouchKeyFull.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Dialog\fTouchKeyFull.Designer.cs">
|
||||||
|
<DependentUpon>fTouchKeyFull.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="dsMSSQL.Designer.cs">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DesignTime>True</DesignTime>
|
||||||
|
<DependentUpon>dsMSSQL.xsd</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="fLog.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="fLog.Designer.cs">
|
||||||
|
<DependentUpon>fLog.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="fMain.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="fMain.Designer.cs">
|
||||||
|
<DependentUpon>fMain.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="fSetting.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="fSetting.Designer.cs">
|
||||||
|
<DependentUpon>fSetting.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Language\Lang.cs" />
|
||||||
|
<Compile Include="Manager\DataBaseManager.cs" />
|
||||||
|
<Compile Include="Manager\ModelManager.cs" />
|
||||||
|
<Compile Include="MessageWindow.cs" />
|
||||||
|
<Compile Include="MethodExtentions.cs" />
|
||||||
|
<Compile Include="Program.cs" />
|
||||||
|
<Compile Include="_Common\fInventory.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="_Common\fInventory.Designer.cs">
|
||||||
|
<DependentUpon>fInventory.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="_Common\fItems.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="_Common\fItems.Designer.cs">
|
||||||
|
<DependentUpon>fItems.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="_Info\fInfo_Staff.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="_Info\fInfo_Staff.Designer.cs">
|
||||||
|
<DependentUpon>fInfo_Staff.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="_Management\fEquipment.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="_Management\fEquipment.Designer.cs">
|
||||||
|
<DependentUpon>fEquipment.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="_Management\fImpEquipment.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="_Management\fImpEquipment.Designer.cs">
|
||||||
|
<DependentUpon>fImpEquipment.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="_Management\fLineCode.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="_Management\fLineCode.Designer.cs">
|
||||||
|
<DependentUpon>fLineCode.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="_Management\rpt_equipment.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="_Management\rpt_equipment.Designer.cs">
|
||||||
|
<DependentUpon>rpt_equipment.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="_Prj\fProjectList.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="_Prj\fProjectList.Designer.cs">
|
||||||
|
<DependentUpon>fProjectList.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
|
<Compile Include="Pub.cs" />
|
||||||
|
<Compile Include="Setting.cs" />
|
||||||
|
<Compile Include="StateMachine\_TMDisplay.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="StateMachine\_BW.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Util.cs" />
|
||||||
|
<EmbeddedResource Include="Dialog\fDebug.resx">
|
||||||
|
<DependentUpon>fDebug.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Dialog\fMsgWindow.resx">
|
||||||
|
<DependentUpon>fMsgWindow.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Dialog\fLogin.resx">
|
||||||
|
<DependentUpon>fLogin.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Dialog\fPassword.resx">
|
||||||
|
<DependentUpon>fPassword.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Dialog\fErrorException.resx">
|
||||||
|
<DependentUpon>fErrorException.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Dialog\fTouchKeyFull.resx">
|
||||||
|
<DependentUpon>fTouchKeyFull.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="fLog.resx">
|
||||||
|
<DependentUpon>fLog.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="fMain.resx">
|
||||||
|
<DependentUpon>fMain.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="fSetting.resx">
|
||||||
|
<DependentUpon>fSetting.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="_Common\fInventory.resx">
|
||||||
|
<DependentUpon>fInventory.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="_Common\fItems.resx">
|
||||||
|
<DependentUpon>fItems.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="_Info\fInfo_Staff.resx">
|
||||||
|
<DependentUpon>fInfo_Staff.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="_Management\fEquipment.resx">
|
||||||
|
<DependentUpon>fEquipment.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="_Management\fImpEquipment.resx">
|
||||||
|
<DependentUpon>fImpEquipment.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="_Management\fLineCode.resx">
|
||||||
|
<DependentUpon>fLineCode.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="_Management\Report1.rdlc" />
|
||||||
|
<EmbeddedResource Include="_Management\rpt_equipment.resx">
|
||||||
|
<DependentUpon>rpt_equipment.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="_Prj\fProjectList.resx">
|
||||||
|
<DependentUpon>fProjectList.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Properties\Resources.resx">
|
||||||
|
<Generator>ResXFileCodeGenerator</Generator>
|
||||||
|
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<Compile Include="Properties\Resources.Designer.cs">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DependentUpon>Resources.resx</DependentUpon>
|
||||||
|
<DesignTime>True</DesignTime>
|
||||||
|
</Compile>
|
||||||
|
<None Include="app.config" />
|
||||||
|
<None Include="DataSet1.xsc">
|
||||||
|
<DependentUpon>DataSet1.xsd</DependentUpon>
|
||||||
|
</None>
|
||||||
|
<None Include="DataSet1.xsd">
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
<Generator>MSDataSetGenerator</Generator>
|
||||||
|
<LastGenOutput>DataSet1.Designer.cs</LastGenOutput>
|
||||||
|
</None>
|
||||||
|
<None Include="DataSet1.xss">
|
||||||
|
<DependentUpon>DataSet1.xsd</DependentUpon>
|
||||||
|
</None>
|
||||||
|
<None Include="dsMSSQL.xsc">
|
||||||
|
<DependentUpon>dsMSSQL.xsd</DependentUpon>
|
||||||
|
</None>
|
||||||
|
<None Include="dsMSSQL.xsd">
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
<Generator>MSDataSetGenerator</Generator>
|
||||||
|
<LastGenOutput>dsMSSQL.Designer.cs</LastGenOutput>
|
||||||
|
</None>
|
||||||
|
<None Include="dsMSSQL.xss">
|
||||||
|
<DependentUpon>dsMSSQL.xsd</DependentUpon>
|
||||||
|
</None>
|
||||||
|
<None Include="EETGW_TemporaryKey.pfx" />
|
||||||
|
<None Include="Properties\app.manifest" />
|
||||||
|
<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>
|
||||||
|
<Content Include="History.txt" />
|
||||||
|
<Content Include="icons8-realtime-64.ico" />
|
||||||
|
<Content Include="libxl.dll">
|
||||||
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<BootstrapperPackage Include=".NETFramework,Version=v4.0">
|
||||||
|
<Visible>False</Visible>
|
||||||
|
<ProductName>Microsoft .NET Framework 4%28x86 및 x64%29</ProductName>
|
||||||
|
<Install>true</Install>
|
||||||
|
</BootstrapperPackage>
|
||||||
|
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||||
|
<Visible>False</Visible>
|
||||||
|
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
|
||||||
|
<Install>false</Install>
|
||||||
|
</BootstrapperPackage>
|
||||||
|
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||||
|
<Visible>False</Visible>
|
||||||
|
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||||
|
<Install>false</Install>
|
||||||
|
</BootstrapperPackage>
|
||||||
|
<BootstrapperPackage Include="Microsoft.ReportViewer.11.0">
|
||||||
|
<Visible>False</Visible>
|
||||||
|
<ProductName>Microsoft Report Viewer 2012 Runtime</ProductName>
|
||||||
|
<Install>true</Install>
|
||||||
|
</BootstrapperPackage>
|
||||||
|
<BootstrapperPackage Include="Microsoft.SqlServer.SQLSysClrTypes.11.0.x86">
|
||||||
|
<Visible>False</Visible>
|
||||||
|
<ProductName>SQL Server® 2012용 Microsoft® System CLR 유형%28x86%29</ProductName>
|
||||||
|
<Install>true</Install>
|
||||||
|
</BootstrapperPackage>
|
||||||
|
<BootstrapperPackage Include="Microsoft.Windows.Installer.4.5">
|
||||||
|
<Visible>False</Visible>
|
||||||
|
<ProductName>Windows Installer 4.5</ProductName>
|
||||||
|
<Install>true</Install>
|
||||||
|
</BootstrapperPackage>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\Sub\AmkorRestfulService\AmkorRestfulService\AmkorRestfulService.csproj">
|
||||||
|
<Project>{58cfc90c-5068-46a2-a8de-0e92ee9e0990}</Project>
|
||||||
|
<Name>AmkorRestfulService</Name>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="..\Sub\arCtl\arControl.csproj">
|
||||||
|
<Project>{f31c242c-1b15-4518-9733-48558499fe4b}</Project>
|
||||||
|
<Name>arControl</Name>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="..\Sub\StaffLayoutCtl\StaffLayoutCtl.csproj">
|
||||||
|
<Project>{b832738c-74dd-4ce2-8a29-98d0bcbb9ea4}</Project>
|
||||||
|
<Name>StaffLayoutCtl</Name>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup />
|
||||||
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
|
</Project>
|
||||||
13
Project/EETGW.csproj.user
Normal file
13
Project/EETGW.csproj.user
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup>
|
||||||
|
<PublishUrlHistory>ftp://10.131.36.205:2121/Install/GroupWare/|ftp://10.131.36.205:2121/Install/|ftp://10.131.36.205/Install/|게시\</PublishUrlHistory>
|
||||||
|
<InstallUrlHistory>http://10.131.36.205:8080/Install/GroupWare/|http://10.131.36.205:8080/Install/</InstallUrlHistory>
|
||||||
|
<SupportUrlHistory />
|
||||||
|
<UpdateUrlHistory />
|
||||||
|
<BootstrapperUrlHistory />
|
||||||
|
<ErrorReportUrlHistory />
|
||||||
|
<FallbackCulture>ko-KR</FallbackCulture>
|
||||||
|
<VerifyUploadedFiles>false</VerifyUploadedFiles>
|
||||||
|
</PropertyGroup>
|
||||||
|
</Project>
|
||||||
BIN
Project/EETGW_TemporaryKey.pfx
Normal file
BIN
Project/EETGW_TemporaryKey.pfx
Normal file
Binary file not shown.
1
Project/History.txt
Normal file
1
Project/History.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
180624 chi setting 의 경로를 applicationdata 적용 되도록 수정
|
||||||
172
Project/Language/Lang.cs
Normal file
172
Project/Language/Lang.cs
Normal file
@@ -0,0 +1,172 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
|
||||||
|
namespace Project
|
||||||
|
{
|
||||||
|
public static class Lang
|
||||||
|
{
|
||||||
|
////main
|
||||||
|
public static string Question_Exit { get; set; }
|
||||||
|
|
||||||
|
public static string Ok { get; set; }
|
||||||
|
public static string Error { get; set; }
|
||||||
|
public static string No { get; set; }
|
||||||
|
public static string Yes { get; set; }
|
||||||
|
public static string Exit { get; set; }
|
||||||
|
|
||||||
|
|
||||||
|
public static string Result { get; set; }
|
||||||
|
public static string Log { get; set; }
|
||||||
|
public static string History { get; set; }
|
||||||
|
public static string Setting { get; set; }
|
||||||
|
public static string ModelEdit { get; set; }
|
||||||
|
|
||||||
|
public static string NotRegistUser { get; set; }
|
||||||
|
public static string NoData { get; set; }
|
||||||
|
|
||||||
|
public static void CreateFile()
|
||||||
|
{
|
||||||
|
iniHelper.CreateFile(); //System.IO.File.WriteAllText(FileName, "//INI FILE", System.Text.Encoding.Unicode);
|
||||||
|
|
||||||
|
int i = 1;
|
||||||
|
SetINIValue(string.Format("MSG{0:0000}", i++), Lang.Question_Exit);
|
||||||
|
SetINIValue(string.Format("MSG{0:0000}", i++), Lang.Ok);
|
||||||
|
SetINIValue(string.Format("MSG{0:0000}", i++), Lang.Error);
|
||||||
|
SetINIValue(string.Format("MSG{0:0000}", i++), Lang.No);
|
||||||
|
SetINIValue(string.Format("MSG{0:0000}", i++), Lang.Yes);
|
||||||
|
SetINIValue(string.Format("MSG{0:0000}", i++), Lang.Exit);
|
||||||
|
|
||||||
|
SetINIValue(string.Format("MSG{0:0000}", i++), Lang.Result);
|
||||||
|
SetINIValue(string.Format("MSG{0:0000}", i++), Lang.Log);
|
||||||
|
SetINIValue(string.Format("MSG{0:0000}", i++), Lang.History);
|
||||||
|
SetINIValue(string.Format("MSG{0:0000}", i++), Lang.Setting);
|
||||||
|
SetINIValue(string.Format("MSG{0:0000}", i++), Lang.ModelEdit);
|
||||||
|
|
||||||
|
SetINIValue(string.Format("MSG{0:0000}", i++), Lang.NotRegistUser);
|
||||||
|
SetINIValue(string.Format("MSG{0:0000}", i++), Lang.NoData);
|
||||||
|
iniHelper.Flush();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static bool Loading(string langName)
|
||||||
|
{
|
||||||
|
Lang.SelectedLang = langName;
|
||||||
|
if (iniHelper == null) iniHelper = new arUtil.INIHelper(FileName);
|
||||||
|
else iniHelper.SetFileName(FileName);
|
||||||
|
|
||||||
|
|
||||||
|
int i = 1;
|
||||||
|
|
||||||
|
Lang.Question_Exit = GetINIValue(string.Format("MSG{0:0000}", i++), "종료하시겠습니까?");
|
||||||
|
|
||||||
|
Lang.Ok = GetINIValue(string.Format("MSG{0:0000}", i++), "Ok");
|
||||||
|
Lang.Error = GetINIValue(string.Format("MSG{0:0000}", i++), "Error");
|
||||||
|
Lang.No = GetINIValue(string.Format("MSG{0:0000}", i++), "No");
|
||||||
|
Lang.Yes = GetINIValue(string.Format("MSG{0:0000}", i++), "Yes");
|
||||||
|
Lang.Exit = GetINIValue(string.Format("MSG{0:0000}", i++), "Exit");
|
||||||
|
|
||||||
|
Lang.Result = GetINIValue(string.Format("MSG{0:0000}", i++), "Result");
|
||||||
|
Lang.Log = GetINIValue(string.Format("MSG{0:0000}", i++), "Log");
|
||||||
|
Lang.History = GetINIValue(string.Format("MSG{0:0000}", i++), "History");
|
||||||
|
Lang.Setting = GetINIValue(string.Format("MSG{0:0000}", i++), "Setting");
|
||||||
|
Lang.ModelEdit = GetINIValue(string.Format("MSG{0:0000}", i++), "Model");
|
||||||
|
|
||||||
|
Lang.NotRegistUser = GetINIValue(string.Format("MSG{0:0000}", i++), "Not a registered user.");
|
||||||
|
Lang.NoData = GetINIValue(string.Format("MSG{0:0000}", i++), "No Data");
|
||||||
|
|
||||||
|
if (!isExist()) CreateFile();
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
#region "Common "
|
||||||
|
|
||||||
|
public static Boolean ReLoad()
|
||||||
|
{
|
||||||
|
return Loading(SelectedLang);
|
||||||
|
}
|
||||||
|
private static arUtil.INIHelper iniHelper;
|
||||||
|
private static string GetINIValue(string key, string def = "")
|
||||||
|
{
|
||||||
|
if (!System.IO.File.Exists(Lang.FileName))
|
||||||
|
return def;
|
||||||
|
|
||||||
|
string retval = iniHelper.GetData("lang", key, def);
|
||||||
|
return retval;
|
||||||
|
}
|
||||||
|
private static void SetINIValue(string key, string value)
|
||||||
|
{
|
||||||
|
iniHelper.SetData("lang", key, value);
|
||||||
|
}
|
||||||
|
public static Boolean isExist()
|
||||||
|
{
|
||||||
|
return System.IO.File.Exists(FileName);
|
||||||
|
}
|
||||||
|
|
||||||
|
////local data
|
||||||
|
private static string _path = "";
|
||||||
|
private static string _selectedLang = "";
|
||||||
|
public static string SelectedLang
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
if ((string.IsNullOrWhiteSpace(_selectedLang)))
|
||||||
|
{
|
||||||
|
return "kor";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
string fullname = Path + "\\" + _selectedLang + ".ini";
|
||||||
|
//if ((!System.IO.File.Exists(fullname)))
|
||||||
|
//{
|
||||||
|
// CreateFile();
|
||||||
|
//}
|
||||||
|
return _selectedLang;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
set { _selectedLang = value; }
|
||||||
|
}
|
||||||
|
public static string Path
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
if (string.IsNullOrWhiteSpace(_path))
|
||||||
|
{
|
||||||
|
_path = AppDomain.CurrentDomain.BaseDirectory + "\\Language";
|
||||||
|
if (!System.IO.Directory.Exists(_path)) System.IO.Directory.CreateDirectory(_path);
|
||||||
|
}
|
||||||
|
return _path;
|
||||||
|
}
|
||||||
|
set { _path = value; }
|
||||||
|
}
|
||||||
|
public static List<string> LangList
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
List<string> retval = new List<string>();
|
||||||
|
if ((System.IO.Directory.Exists(Path)))
|
||||||
|
{
|
||||||
|
string[] files = System.IO.Directory.GetFiles(Path, "*.ini");
|
||||||
|
foreach (string file in files)
|
||||||
|
{
|
||||||
|
retval.Add(file.Substring(file.LastIndexOf("\\") + 1));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return retval;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
public static string FileName
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
string fn = Path + "\\" + SelectedLang;
|
||||||
|
if(fn.ToLower().LastIndexOf(".ini") == -1) fn += ".ini";
|
||||||
|
return fn.Replace("\\\\", "\\");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
36
Project/Manager/DataBaseManager.cs
Normal file
36
Project/Manager/DataBaseManager.cs
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
|
||||||
|
namespace Project.Manager
|
||||||
|
{
|
||||||
|
public static class DatabaseManager
|
||||||
|
{
|
||||||
|
private static System.Data.SqlClient.SqlConnection getCn()
|
||||||
|
{
|
||||||
|
string cs = Properties.Settings.Default.gwcs;
|
||||||
|
System.Data.SqlClient.SqlConnection cn = new System.Data.SqlClient.SqlConnection();
|
||||||
|
cn.ConnectionString = cs;
|
||||||
|
return cn;
|
||||||
|
}
|
||||||
|
public static List<String> getEQGroupLiist(string GroupColumn)
|
||||||
|
{
|
||||||
|
List<string> retval = new List<string>();
|
||||||
|
var cn = getCn();
|
||||||
|
cn.Open();
|
||||||
|
var sql = "select {0} from Equipment where isnull({0},'') != '' group by {0} order by {0}";
|
||||||
|
sql = string.Format(sql, "[" + GroupColumn +"]");
|
||||||
|
var cmd = new System.Data.SqlClient.SqlCommand(sql,cn);
|
||||||
|
var rdr = cmd.ExecuteReader();
|
||||||
|
while(rdr.Read())
|
||||||
|
{
|
||||||
|
retval.Add(rdr[0].ToString());
|
||||||
|
}
|
||||||
|
cmd.Dispose();
|
||||||
|
cn.Close();
|
||||||
|
cn.Dispose();
|
||||||
|
return retval;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
273
Project/Manager/ModelManager.cs
Normal file
273
Project/Manager/ModelManager.cs
Normal file
@@ -0,0 +1,273 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.IO;
|
||||||
|
|
||||||
|
namespace Project.Manager
|
||||||
|
{
|
||||||
|
public struct sModelInfo
|
||||||
|
{
|
||||||
|
public string Group;
|
||||||
|
public string QRCode;
|
||||||
|
public int QRx;
|
||||||
|
public int QRy;
|
||||||
|
public string Asset;
|
||||||
|
public string Memo;
|
||||||
|
public void Clear()
|
||||||
|
{
|
||||||
|
Group = string.Empty;
|
||||||
|
QRCode = string.Empty;
|
||||||
|
QRx = 0;
|
||||||
|
QRy = 0;
|
||||||
|
Asset = string.Empty;
|
||||||
|
Memo = string.Empty;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
public class ModelManager
|
||||||
|
{
|
||||||
|
public enum eModelType : int
|
||||||
|
{
|
||||||
|
Users = 0,
|
||||||
|
Model,
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public DataSet1 dataSet;
|
||||||
|
private string[] fn;
|
||||||
|
|
||||||
|
public ModelManager()
|
||||||
|
{
|
||||||
|
string path = AppDomain.CurrentDomain.BaseDirectory + "Model";
|
||||||
|
if (!System.IO.Directory.Exists(path)) System.IO.Directory.CreateDirectory(path);
|
||||||
|
this.fn = new string[] { path + "\\Users.csv", path + "\\Model.csv" };
|
||||||
|
dataSet = new DataSet1();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void LoadData(eModelType model)
|
||||||
|
{
|
||||||
|
//set filename
|
||||||
|
string filename = fn[(int)model];
|
||||||
|
int lineCount = 0;
|
||||||
|
string buffer = string.Empty;
|
||||||
|
|
||||||
|
Pub.log.Add("ModelData Load : " + model.ToString() + "fn=" + filename);
|
||||||
|
|
||||||
|
//read file
|
||||||
|
var fi = new FileInfo(filename);
|
||||||
|
if (fi.Exists == false)
|
||||||
|
{
|
||||||
|
Pub.log.AddE(string.Format("▣ No Data",model));
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
lineCount = 0;
|
||||||
|
try
|
||||||
|
{
|
||||||
|
buffer = System.IO.File.ReadAllText(fi.FullName, System.Text.Encoding.Default);
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
buffer = string.Empty;
|
||||||
|
Pub.log.AddE(string.Format("ItemData Error File={0},Message={1}", filename, ex.Message));
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
//존재하는 컬럼확인을 위해 미리 저장함
|
||||||
|
List<String> dbCols = new List<string>();
|
||||||
|
foreach (System.Data.DataColumn col in dataSet.Tables[model.ToString()].Columns)
|
||||||
|
dbCols.Add(col.ColumnName);
|
||||||
|
|
||||||
|
List<String> Cols = new List<string>();
|
||||||
|
foreach (string items in buffer.Split('\r'))
|
||||||
|
{
|
||||||
|
lineCount += 1;
|
||||||
|
var line = items.Replace("\r", "").Replace("\n", "");
|
||||||
|
if (line.Trim() == "" || line.StartsWith("ver")) continue; //빈줄과 버젼표기는 제거한다.
|
||||||
|
string[] buf = line.Split(',');
|
||||||
|
|
||||||
|
//첫줄에는 컬럼명이 들어있다.
|
||||||
|
if (Cols.Count < 1)
|
||||||
|
{
|
||||||
|
foreach (string colname in buf)
|
||||||
|
{
|
||||||
|
if (colname.isEmpty()) continue; //비어있는값은 처리하지 않는다.
|
||||||
|
Cols.Add(colname);
|
||||||
|
}
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
//데이터를 각 컬럼에 넣는다.
|
||||||
|
System.Data.DataRow dr = dataSet.Tables[model.ToString()].NewRow();
|
||||||
|
|
||||||
|
//비젼속성은 컬럼명이 v_로 시작한다.
|
||||||
|
for (int i = 0; i < Cols.Count; i++) //0번은 Mccode이므로 제외한다.
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
if (dbCols.IndexOf(Cols[i]) == -1) continue; //존재하지 않는 컬럼은 제외한다.
|
||||||
|
if (Cols[i].ToUpper() == "IDX") continue;
|
||||||
|
dr[Cols[i]] = buf[i+1];
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
Pub.log.AddE("Item Load Error:" + ex.Message);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
if (dr.RowState == System.Data.DataRowState.Detached)
|
||||||
|
{
|
||||||
|
dataSet.Tables[model.ToString()].Rows.Add(dr);
|
||||||
|
}
|
||||||
|
else if (dr.RowState != System.Data.DataRowState.Deleted) dr.EndEdit();
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
Pub.log.AddE("Load Item file" + ex.Message);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
dataSet.AcceptChanges();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// project , model read from file
|
||||||
|
/// </summary>
|
||||||
|
public void Load()
|
||||||
|
{
|
||||||
|
//데이터셋 초기화
|
||||||
|
if (dataSet == null) dataSet = new DataSet1();
|
||||||
|
else dataSet.Clear();
|
||||||
|
|
||||||
|
//파일로부터 데이터를 읽어들인다.
|
||||||
|
this.LoadData(eModelType.Users);
|
||||||
|
this.LoadData(eModelType.Model);
|
||||||
|
this.dataSet.AcceptChanges();
|
||||||
|
|
||||||
|
System.Text.StringBuilder sb = new StringBuilder();
|
||||||
|
sb.Append("model data list");
|
||||||
|
for(int i = 0; i< dataSet.Tables.Count;i++)
|
||||||
|
{
|
||||||
|
var dt = dataSet.Tables[i];
|
||||||
|
if (dt.TableName.ToLower() == "resultdata") continue;
|
||||||
|
sb.AppendLine(dt.TableName + " : " + dt.Rows.Count.ToString() + "건");
|
||||||
|
}
|
||||||
|
|
||||||
|
Pub.log.AddI(sb.ToString());
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Save()
|
||||||
|
{
|
||||||
|
this.dataSet.AcceptChanges();
|
||||||
|
System.IO.DirectoryInfo di = new DirectoryInfo (Util.CurrentPath + "\\Model");
|
||||||
|
if (!di.Exists) di.Create();
|
||||||
|
SaveData(eModelType.Users);
|
||||||
|
SaveData(eModelType.Model);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void SaveData(eModelType model)
|
||||||
|
{
|
||||||
|
var data = new StringBuilder();
|
||||||
|
data.AppendLine("ver,:" + model.ToString()); //version
|
||||||
|
|
||||||
|
List<string> baseCols = new List<string>();
|
||||||
|
if (model == eModelType.Users) baseCols.AddRange(new string[] { "No", "Name", "Memo" });
|
||||||
|
else if (model == eModelType.Model) baseCols.AddRange(new string[] { "Group", "Asset" });
|
||||||
|
|
||||||
|
List<String> cols = new List<string>();
|
||||||
|
foreach (System.Data.DataColumn col in this.dataSet.Tables[model.ToString()].Columns)
|
||||||
|
{
|
||||||
|
string colname = col.ColumnName.ToLower();
|
||||||
|
if (colname == "idx" || colname.StartsWith("_")) continue; //기본열은 제외한다.
|
||||||
|
if (baseCols.IndexOf(col.ColumnName) >= 0) continue;
|
||||||
|
cols.Add(col.ColumnName);
|
||||||
|
}
|
||||||
|
|
||||||
|
//열을 정렬해서 추가한다.
|
||||||
|
var bb = cols.OrderBy(t => t);
|
||||||
|
baseCols.AddRange(bb); //정렬된 열을 추가해준다.
|
||||||
|
|
||||||
|
foreach (string colname in baseCols)
|
||||||
|
data.Append("," + colname);
|
||||||
|
data.AppendLine();
|
||||||
|
|
||||||
|
//output data(글로벌 셋팅하고 MC코드값만 취한다)v
|
||||||
|
var dt = dataSet.Tables[model.ToString()];
|
||||||
|
var drows = dt.Select("", "idx");
|
||||||
|
foreach (var dr in drows)
|
||||||
|
{
|
||||||
|
foreach (string colname in baseCols) //지정된 열제목의 데이터를 가져온다.
|
||||||
|
{
|
||||||
|
data.Append(",");
|
||||||
|
if (dr[colname] != DBNull.Value) data.Append(dr[colname].ToString());
|
||||||
|
else if (dt.Columns[colname].DataType == typeof(double) ||
|
||||||
|
dt.Columns[colname].DataType == typeof(Int32) ||
|
||||||
|
dt.Columns[colname].DataType == typeof(UInt32) ||
|
||||||
|
dt.Columns[colname].DataType == typeof(Single) ||
|
||||||
|
dt.Columns[colname].DataType == typeof(byte) ||
|
||||||
|
dt.Columns[colname].DataType == typeof(Boolean) ||
|
||||||
|
dt.Columns[colname].DataType == typeof(Int16) ||
|
||||||
|
dt.Columns[colname].DataType == typeof(UInt16))
|
||||||
|
{
|
||||||
|
if (dt.Columns[colname].DataType == typeof(Boolean)) data.Append("False");
|
||||||
|
else data.Append("0");
|
||||||
|
}
|
||||||
|
else data.Append("");
|
||||||
|
}
|
||||||
|
data.AppendLine();
|
||||||
|
}
|
||||||
|
try
|
||||||
|
{
|
||||||
|
System.IO.File.WriteAllText(fn[(int)model], data.ToString(), System.Text.Encoding.Default);
|
||||||
|
Pub.log.AddAT("Save "+ model.ToString()+" Parameter - OK");
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
Util.MsgE("Save Error\r\n" + ex.Message);
|
||||||
|
Pub.log.AddE("Save Error :: " + ex.Message);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public DataSet1.UsersRow GetUser(string no)
|
||||||
|
{
|
||||||
|
var datas = this.dataSet.Users.Where(t => t.No == no);
|
||||||
|
if (datas.Count() < 1) return null;
|
||||||
|
return datas.First();
|
||||||
|
}
|
||||||
|
public DataSet1.UsersRow[] GetUsers()
|
||||||
|
{
|
||||||
|
var datas = dataSet.Users.Select("", "No");
|
||||||
|
if (datas.Length < 1) return null;
|
||||||
|
return datas as DataSet1.UsersRow[];
|
||||||
|
}
|
||||||
|
|
||||||
|
public DataSet1.ModelRow GetModel(string Asset)
|
||||||
|
{
|
||||||
|
if (Asset.isEmpty()) return null;
|
||||||
|
if (dataSet.Model == null || dataSet.Model.Rows.Count < 1) return null;
|
||||||
|
var datas = dataSet.Model.Where(t => t.Asset == Asset).ToArray();
|
||||||
|
if (datas.Length != 1) return null;
|
||||||
|
return datas[0];
|
||||||
|
}
|
||||||
|
public sModelInfo GetModelInfo(string qrData)
|
||||||
|
{
|
||||||
|
sModelInfo retval = new sModelInfo();
|
||||||
|
retval.Clear();
|
||||||
|
var model = GetModel(qrData);
|
||||||
|
if(model != null)
|
||||||
|
{
|
||||||
|
retval.Asset = model.Asset;
|
||||||
|
retval.Memo = model.Memo;
|
||||||
|
}
|
||||||
|
return retval;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
145
Project/MessageWindow.cs
Normal file
145
Project/MessageWindow.cs
Normal file
@@ -0,0 +1,145 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace Project
|
||||||
|
{
|
||||||
|
public static class MessageWindow
|
||||||
|
{
|
||||||
|
public enum eWindowPosition
|
||||||
|
{
|
||||||
|
center = 0,
|
||||||
|
top = 1,
|
||||||
|
bottom = 2
|
||||||
|
}
|
||||||
|
public enum eWindowType
|
||||||
|
{
|
||||||
|
information,
|
||||||
|
error,
|
||||||
|
attention,
|
||||||
|
}
|
||||||
|
public enum eMsgNo : byte
|
||||||
|
{
|
||||||
|
Normal = 0,
|
||||||
|
RunMsg,
|
||||||
|
DemoMsg,
|
||||||
|
ErrorMsg,
|
||||||
|
EmgButton, //171214
|
||||||
|
RobotStop,//171214
|
||||||
|
RetryMsg,
|
||||||
|
RemoteMsg,
|
||||||
|
}
|
||||||
|
private static Dictionary<eMsgNo, Dialog.fMsgWindow> msgBuffer = new Dictionary<eMsgNo, Dialog.fMsgWindow>();
|
||||||
|
public static void ShowMsg(string m, eMsgNo id, int width = 1200, int height = 300, eWindowType msgtype = eWindowType.information, Boolean useClose = true, eWindowPosition position = eWindowPosition.center)
|
||||||
|
{
|
||||||
|
var pform = findForm(id);
|
||||||
|
if (pform == null)
|
||||||
|
{
|
||||||
|
var f = new Dialog.fMsgWindow(m);
|
||||||
|
f.TopMost = true;
|
||||||
|
f.ID = id;
|
||||||
|
f.Disposed += (s1, e1) => { CloseMsg(id); };
|
||||||
|
f.Width = width;
|
||||||
|
f.Height = height;
|
||||||
|
|
||||||
|
if (msgtype == eWindowType.attention)
|
||||||
|
{
|
||||||
|
f.BackColor = Color.Orange;
|
||||||
|
f.arLabel1.ForeColor = Color.Orange;
|
||||||
|
}
|
||||||
|
else if (msgtype == eWindowType.error)
|
||||||
|
{
|
||||||
|
f.BackColor = Color.Red;
|
||||||
|
f.arLabel1.ForeColor = Color.Red;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
f.BackColor = Color.Blue;
|
||||||
|
f.arLabel1.ForeColor = Color.DeepSkyBlue;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!useClose) f.EnableUserClose = false;
|
||||||
|
if (position == eWindowPosition.center)
|
||||||
|
f.StartPosition = FormStartPosition.CenterScreen;
|
||||||
|
else if (position == eWindowPosition.top)
|
||||||
|
{
|
||||||
|
f.StartPosition = FormStartPosition.Manual;
|
||||||
|
f.Left = (Screen.PrimaryScreen.Bounds.Width - f.Width) / 2;
|
||||||
|
f.Top = 0;
|
||||||
|
}
|
||||||
|
else if (position == eWindowPosition.bottom)
|
||||||
|
{
|
||||||
|
f.StartPosition = FormStartPosition.Manual;
|
||||||
|
f.Left = (Screen.PrimaryScreen.Bounds.Width - f.Width) / 2;
|
||||||
|
f.Top = Screen.PrimaryScreen.Bounds.Height - f.Height;
|
||||||
|
}
|
||||||
|
|
||||||
|
msgBuffer.Add(id, f);
|
||||||
|
f.Show();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
pform.SetText(m);
|
||||||
|
if (pform.WindowState == FormWindowState.Minimized) pform.WindowState = FormWindowState.Normal;
|
||||||
|
if (!pform.Visible) pform.Visible = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private static Dialog.fMsgWindow findForm(eMsgNo id)
|
||||||
|
{
|
||||||
|
var items = msgBuffer.Where(t => t.Key == id);
|
||||||
|
if (items.Count() < 1) return null;
|
||||||
|
return items.First().Value;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static Boolean ExistForm(eMsgNo id)
|
||||||
|
{
|
||||||
|
var items = msgBuffer.Where(t => t.Key == id);
|
||||||
|
if (items.Count() < 1) return false;
|
||||||
|
else return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
public delegate void VisibleHandler(Boolean value);
|
||||||
|
public static void VisibleAll(Boolean value)
|
||||||
|
{
|
||||||
|
if (msgBuffer.Count < 1) return;
|
||||||
|
|
||||||
|
#region "invoke"
|
||||||
|
if (msgBuffer.ElementAt(0).Value.InvokeRequired)
|
||||||
|
{
|
||||||
|
msgBuffer.ElementAt(0).Value.BeginInvoke(new VisibleHandler(VisibleAll), new object[] { value });
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
foreach (var form in msgBuffer)
|
||||||
|
{
|
||||||
|
form.Value.Visible = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void CloseAll()
|
||||||
|
{
|
||||||
|
|
||||||
|
for (int i = msgBuffer.Count; i > 0; i--)
|
||||||
|
{
|
||||||
|
var form = msgBuffer.ElementAt(i - 1);
|
||||||
|
form.Value.Close();
|
||||||
|
}
|
||||||
|
msgBuffer.Clear();
|
||||||
|
}
|
||||||
|
public static void CloseMsg(eMsgNo id)
|
||||||
|
{
|
||||||
|
var pform = findForm(id);
|
||||||
|
if (pform != null)
|
||||||
|
{
|
||||||
|
pform.Close();
|
||||||
|
msgBuffer.Remove(id);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
124
Project/MethodExtentions.cs
Normal file
124
Project/MethodExtentions.cs
Normal file
@@ -0,0 +1,124 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
using System.Text;
|
||||||
|
using System.Text.RegularExpressions;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace Project
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// generic method Extension
|
||||||
|
/// </summary>
|
||||||
|
public static class MethodExtensions
|
||||||
|
{
|
||||||
|
|
||||||
|
public static string Base64Encode(this string src)
|
||||||
|
{
|
||||||
|
string base64enc = Convert.ToBase64String(System.Text.Encoding.UTF8.GetBytes(src));
|
||||||
|
return base64enc;
|
||||||
|
}
|
||||||
|
public static string Base64Decode(this string src)
|
||||||
|
{
|
||||||
|
var base64dec = Convert.FromBase64String(src);
|
||||||
|
return System.Text.Encoding.UTF8.GetString(base64dec);
|
||||||
|
}
|
||||||
|
public static string UrlEncode(this string src)
|
||||||
|
{
|
||||||
|
string data = System.Web.HttpUtility.UrlEncode(src, System.Text.Encoding.UTF8);
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
public static string UrlDecode(this string src)
|
||||||
|
{
|
||||||
|
string data = System.Web.HttpUtility.UrlDecode(src, System.Text.Encoding.UTF8);
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static string ToString(this System.Drawing.Rectangle rect)
|
||||||
|
{
|
||||||
|
return string.Format("X={0},Y={1},W={2},H={3}", rect.X, rect.Y, rect.Width, rect.Height);
|
||||||
|
}
|
||||||
|
public static string ToString(this System.Drawing.RectangleF rect)
|
||||||
|
{
|
||||||
|
return string.Format("X={0},Y={1},W={2},H={3}", rect.X, rect.Y, rect.Width, rect.Height);
|
||||||
|
}
|
||||||
|
|
||||||
|
//public static void SetBGColor(this System.Windows.Forms.Label ctl,System.Drawing.Color color1)
|
||||||
|
//{
|
||||||
|
// ctl.BackColor = System.Drawing.Color.Red;
|
||||||
|
//}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 0101이 반복되는 문자열 형태로 전환합니다.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="arr"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static string BitString(this System.Collections.BitArray arr)
|
||||||
|
{
|
||||||
|
System.Text.StringBuilder sb = new System.Text.StringBuilder();
|
||||||
|
for (int i = arr.Length; i > 0; i--)
|
||||||
|
sb.Append(arr[i - 1] ? "1" : "0");
|
||||||
|
return sb.ToString();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// int 값으로 변환합니다.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="arr"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static int ValueI(this System.Collections.BitArray arr)
|
||||||
|
{
|
||||||
|
byte[] buf = new byte[4];
|
||||||
|
arr.CopyTo(buf, 0);
|
||||||
|
return BitConverter.ToInt32(buf, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 숫자인지 검사합니다.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="input"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static bool IsNumeric(this string input)
|
||||||
|
{
|
||||||
|
double data;
|
||||||
|
return double.TryParse(input, out data);
|
||||||
|
//return Regex.IsMatch(input, @"^\d+$");
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// isnullorempty 를 수행합니다.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="input"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static Boolean isEmpty(this string input)
|
||||||
|
{
|
||||||
|
return string.IsNullOrEmpty(input);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// default 인코딩을 사용하여 문자열로 반환합니다.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="input"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static string GetString(this Byte[] input)
|
||||||
|
{
|
||||||
|
return System.Text.Encoding.Default.GetString(input);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 16진수 문자열 형태로 반환합니다.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="input"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static string GetHexString(this Byte[] input)
|
||||||
|
{
|
||||||
|
System.Text.StringBuilder sb = new System.Text.StringBuilder();
|
||||||
|
foreach (byte b in input)
|
||||||
|
sb.Append(" " + b.ToString("X2"));
|
||||||
|
return sb.ToString();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
45
Project/Program.cs
Normal file
45
Project/Program.cs
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace Project
|
||||||
|
{
|
||||||
|
static class Program
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 해당 응용 프로그램의 주 진입점입니다.
|
||||||
|
/// </summary>
|
||||||
|
[STAThread]
|
||||||
|
static void Main()
|
||||||
|
{
|
||||||
|
Application.EnableVisualStyles();
|
||||||
|
Application.SetCompatibleTextRenderingDefault(false);
|
||||||
|
Application.ThreadException += new System.Threading.ThreadExceptionEventHandler(Application_ThreadException);
|
||||||
|
AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
|
||||||
|
Application.Run(new fMain());
|
||||||
|
}
|
||||||
|
|
||||||
|
static void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e)
|
||||||
|
{
|
||||||
|
string emsg = "Fatal Error(UHE)\n\n" + e.ExceptionObject.ToString();
|
||||||
|
Pub.log.AddE(emsg);
|
||||||
|
Pub.log.Flush();
|
||||||
|
Util.SaveBugReport(emsg);
|
||||||
|
var f = new fErrorException(emsg);
|
||||||
|
f.ShowDialog();
|
||||||
|
Application.ExitThread();
|
||||||
|
}
|
||||||
|
|
||||||
|
static void Application_ThreadException(object sender, System.Threading.ThreadExceptionEventArgs e)
|
||||||
|
{
|
||||||
|
string emsg = "Fatal Error(ATE)\n\n" + e.Exception.ToString();
|
||||||
|
Pub.log.AddE(emsg);
|
||||||
|
Pub.log.Flush();
|
||||||
|
Util.SaveBugReport(emsg);
|
||||||
|
var f = new fErrorException(emsg);
|
||||||
|
f.ShowDialog();
|
||||||
|
Application.ExitThread();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
36
Project/Properties/AssemblyInfo.cs
Normal file
36
Project/Properties/AssemblyInfo.cs
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
using System.Reflection;
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
|
// 어셈블리에 대한 일반 정보는 다음 특성 집합을 통해
|
||||||
|
// 제어됩니다. 어셈블리와 관련된 정보를 수정하려면
|
||||||
|
// 이러한 특성 값을 변경하세요.
|
||||||
|
[assembly: AssemblyTitle("Frame Project")]
|
||||||
|
[assembly: AssemblyDescription("")]
|
||||||
|
[assembly: AssemblyConfiguration("")]
|
||||||
|
[assembly: AssemblyCompany("Frame Project")]
|
||||||
|
[assembly: AssemblyProduct("Frame Project")]
|
||||||
|
[assembly: AssemblyCopyright("Copyright ©SIMP 2018")]
|
||||||
|
[assembly: AssemblyTrademark("")]
|
||||||
|
[assembly: AssemblyCulture("")]
|
||||||
|
|
||||||
|
// ComVisible을 false로 설정하면 이 어셈블리의 형식이 COM 구성 요소에
|
||||||
|
// 표시되지 않습니다. COM에서 이 어셈블리의 형식에 액세스하려면
|
||||||
|
// 해당 형식에 대해 ComVisible 특성을 true로 설정하세요.
|
||||||
|
[assembly: ComVisible(false)]
|
||||||
|
|
||||||
|
// 이 프로젝트가 COM에 노출되는 경우 다음 GUID는 typelib의 ID를 나타냅니다.
|
||||||
|
[assembly: Guid("65f3e722-800c-400e-862f-b535642ec59f")]
|
||||||
|
|
||||||
|
// 어셈블리의 버전 정보는 다음 네 가지 값으로 구성됩니다.
|
||||||
|
//
|
||||||
|
// 주 버전
|
||||||
|
// 부 버전
|
||||||
|
// 빌드 번호
|
||||||
|
// 수정 버전
|
||||||
|
//
|
||||||
|
// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로
|
||||||
|
// 지정되도록 할 수 있습니다.
|
||||||
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
|
[assembly: AssemblyVersion("18.06.24.1600")]
|
||||||
|
[assembly: AssemblyFileVersion("18.06.24.1600")]
|
||||||
63
Project/Properties/Resources.Designer.cs
generated
Normal file
63
Project/Properties/Resources.Designer.cs
generated
Normal file
@@ -0,0 +1,63 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// 이 코드는 도구를 사용하여 생성되었습니다.
|
||||||
|
// 런타임 버전:4.0.30319.42000
|
||||||
|
//
|
||||||
|
// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면
|
||||||
|
// 이러한 변경 내용이 손실됩니다.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
namespace Project.Properties {
|
||||||
|
using System;
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 지역화된 문자열 등을 찾기 위한 강력한 형식의 리소스 클래스입니다.
|
||||||
|
/// </summary>
|
||||||
|
// 이 클래스는 ResGen 또는 Visual Studio와 같은 도구를 통해 StronglyTypedResourceBuilder
|
||||||
|
// 클래스에서 자동으로 생성되었습니다.
|
||||||
|
// 멤버를 추가하거나 제거하려면 .ResX 파일을 편집한 다음 /str 옵션을 사용하여 ResGen을
|
||||||
|
// 다시 실행하거나 VS 프로젝트를 다시 빌드하십시오.
|
||||||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")]
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||||
|
internal class Resources {
|
||||||
|
|
||||||
|
private static global::System.Resources.ResourceManager resourceMan;
|
||||||
|
|
||||||
|
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||||
|
|
||||||
|
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||||
|
internal Resources() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 이 클래스에서 사용하는 캐시된 ResourceManager 인스턴스를 반환합니다.
|
||||||
|
/// </summary>
|
||||||
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||||
|
internal static global::System.Resources.ResourceManager ResourceManager {
|
||||||
|
get {
|
||||||
|
if (object.ReferenceEquals(resourceMan, null)) {
|
||||||
|
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Project.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
Project/Properties/Resources.resx
Normal file
117
Project/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>
|
||||||
37
Project/Properties/Settings.Designer.cs
generated
Normal file
37
Project/Properties/Settings.Designer.cs
generated
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// 이 코드는 도구를 사용하여 생성되었습니다.
|
||||||
|
// 런타임 버전:4.0.30319.42000
|
||||||
|
//
|
||||||
|
// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면
|
||||||
|
// 이러한 변경 내용이 손실됩니다.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
namespace Project.Properties {
|
||||||
|
|
||||||
|
|
||||||
|
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Configuration.ApplicationScopedSettingAttribute()]
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.ConnectionString)]
|
||||||
|
[global::System.Configuration.DefaultSettingValueAttribute("Data Source=10.131.36.205;Initial Catalog=GroupWare;Persist Security Info=True;Us" +
|
||||||
|
"er ID=gw;Password=Amkor123!")]
|
||||||
|
public string gwcs {
|
||||||
|
get {
|
||||||
|
return ((string)(this["gwcs"]));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
14
Project/Properties/Settings.settings
Normal file
14
Project/Properties/Settings.settings
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
<?xml version='1.0' encoding='utf-8'?>
|
||||||
|
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="Project.Properties" GeneratedClassName="Settings">
|
||||||
|
<Profiles />
|
||||||
|
<Settings>
|
||||||
|
<Setting Name="gwcs" Type="(Connection string)" Scope="Application">
|
||||||
|
<DesignTimeValue Profile="(Default)"><?xml version="1.0" encoding="utf-16"?>
|
||||||
|
<SerializableConnectionString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<ConnectionString>Data Source=10.131.36.205;Initial Catalog=GroupWare;Persist Security Info=True;User ID=gw;Password=Amkor123!</ConnectionString>
|
||||||
|
<ProviderName>System.Data.SqlClient</ProviderName>
|
||||||
|
</SerializableConnectionString></DesignTimeValue>
|
||||||
|
<Value Profile="(Default)">Data Source=10.131.36.205;Initial Catalog=GroupWare;Persist Security Info=True;User ID=gw;Password=Amkor123!</Value>
|
||||||
|
</Setting>
|
||||||
|
</Settings>
|
||||||
|
</SettingsFile>
|
||||||
54
Project/Properties/app.manifest
Normal file
54
Project/Properties/app.manifest
Normal file
@@ -0,0 +1,54 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<asmv1:assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||||
|
<assemblyIdentity version="1.0.0.0" name="MyApplication.app" />
|
||||||
|
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
|
||||||
|
<security>
|
||||||
|
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||||
|
<!-- UAC 매니페스트 옵션
|
||||||
|
Windows 사용자 계정 컨트롤 수준을 변경하려면
|
||||||
|
requestedExecutionLevel 노드를 다음 중 하나로 바꾸십시오.
|
||||||
|
|
||||||
|
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
|
||||||
|
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
|
||||||
|
<requestedExecutionLevel level="highestAvailable" uiAccess="false" />
|
||||||
|
|
||||||
|
requestedExecutionLevel 노드를 지정하면 파일 및 레지스트리 가상화가 사용되지 않습니다.
|
||||||
|
이전 버전과의 호환성을 위해 파일 및 레지스트리 가상화를 사용하려면
|
||||||
|
requestedExecutionLevel 노드를 삭제하십시오.
|
||||||
|
-->
|
||||||
|
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
|
||||||
|
</requestedPrivileges>
|
||||||
|
<applicationRequestMinimum>
|
||||||
|
<defaultAssemblyRequest permissionSetReference="Custom" />
|
||||||
|
<PermissionSet class="System.Security.PermissionSet" version="1" Unrestricted="true" ID="Custom" SameSite="site" />
|
||||||
|
</applicationRequestMinimum>
|
||||||
|
</security>
|
||||||
|
</trustInfo>
|
||||||
|
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
|
||||||
|
<application>
|
||||||
|
<!-- 이 응용 프로그램을 사용할 수 있는 모든 Windows 버전의 목록입니다.
|
||||||
|
가장 잘 호환되는 환경을 Windows가 자동으로 선택합니다.-->
|
||||||
|
<!-- 응용 프로그램이 Windows Vista에서 사용하도록 제작된 경우에는 다음 supportedOS 노드의 주석 처리를 제거하십시오.-->
|
||||||
|
<!--<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"></supportedOS>-->
|
||||||
|
<!-- 응용 프로그램이 Windows 7에서 사용하도록 제작된 경우에는 다음 supportedOS 코드의 주석 처리를 제거하십시오.-->
|
||||||
|
<!--<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>-->
|
||||||
|
<!-- 응용 프로그램이 Windows 8에서 사용하도록 제작된 경우에는 다음 supportedOS 노드의 주석 처리를 제거하십시오.-->
|
||||||
|
<!--<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"></supportedOS>-->
|
||||||
|
<!-- 응용 프로그램이 Windows 8.1에서 작동하도록 설계된 경우 다음 supportedOS 노드의 주석 처리를 제거하십시오.-->
|
||||||
|
<!--<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>-->
|
||||||
|
</application>
|
||||||
|
</compatibility>
|
||||||
|
<!-- Windows 공용 컨트롤 및 대화 상자의 테마 사용(Windows XP 이상) -->
|
||||||
|
<!-- <dependency>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity
|
||||||
|
type="win32"
|
||||||
|
name="Microsoft.Windows.Common-Controls"
|
||||||
|
version="6.0.0.0"
|
||||||
|
processorArchitecture="*"
|
||||||
|
publicKeyToken="6595b64144ccf1df"
|
||||||
|
language="*"
|
||||||
|
/>
|
||||||
|
</dependentAssembly>
|
||||||
|
</dependency>-->
|
||||||
|
</asmv1:assembly>
|
||||||
57
Project/Pub.cs
Normal file
57
Project/Pub.cs
Normal file
@@ -0,0 +1,57 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using Winsock_Orcas;
|
||||||
|
|
||||||
|
namespace Project
|
||||||
|
{
|
||||||
|
public static class Pub
|
||||||
|
{
|
||||||
|
public struct sUserInfo
|
||||||
|
{
|
||||||
|
public string no;
|
||||||
|
public string name;
|
||||||
|
public string dept;
|
||||||
|
public string email;
|
||||||
|
public int level;
|
||||||
|
}
|
||||||
|
|
||||||
|
//Variable
|
||||||
|
public static Device.Barcode barcode;
|
||||||
|
|
||||||
|
public static UserSetting uSetting; //user setting
|
||||||
|
public static Setting setting; //global setting
|
||||||
|
|
||||||
|
public static arUtil.Log log; //global logging system
|
||||||
|
public static sUserInfo Login;
|
||||||
|
|
||||||
|
public static DateTime LastInputTime = DateTime.Now;
|
||||||
|
public static CResult Result = new CResult();
|
||||||
|
|
||||||
|
public static void init()
|
||||||
|
{
|
||||||
|
string Path = Util.CurrentPath;
|
||||||
|
if (Util.isLocalApplication())
|
||||||
|
{
|
||||||
|
Path = @"c:\Amkor\GroupWare\";
|
||||||
|
if (!System.IO.Directory.Exists(Path))
|
||||||
|
System.IO.Directory.CreateDirectory(Path);
|
||||||
|
}
|
||||||
|
|
||||||
|
//setting
|
||||||
|
setting = new Setting();
|
||||||
|
setting.Load();
|
||||||
|
|
||||||
|
uSetting = new UserSetting();
|
||||||
|
uSetting.Load();
|
||||||
|
|
||||||
|
//log
|
||||||
|
log = new arUtil.Log();
|
||||||
|
Login = new sUserInfo();
|
||||||
|
|
||||||
|
//language
|
||||||
|
Lang.Loading(Pub.setting.Language + ".ini");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
95
Project/Setting.cs
Normal file
95
Project/Setting.cs
Normal file
@@ -0,0 +1,95 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.ComponentModel;
|
||||||
|
|
||||||
|
namespace Project
|
||||||
|
{
|
||||||
|
|
||||||
|
public class Setting : arUtil.Setting
|
||||||
|
{
|
||||||
|
#region "log"
|
||||||
|
|
||||||
|
[Browsable(false)]
|
||||||
|
public Boolean Log_IO { get; set; }
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
[Description("Password for Setting")]
|
||||||
|
[Browsable(false)]
|
||||||
|
public string Password_Setup { get; set; }
|
||||||
|
|
||||||
|
[Description("Password for UserSetting")]
|
||||||
|
[Browsable(false)]
|
||||||
|
public string Password_User { get; set; }
|
||||||
|
|
||||||
|
[Description("Display Language"), DisplayName("Language")]
|
||||||
|
public string Language { get; set; }
|
||||||
|
|
||||||
|
[Description("Full Screen Window")]
|
||||||
|
public Boolean FullScreen { get; set; }
|
||||||
|
|
||||||
|
|
||||||
|
[Category("Barcode"), DisplayName("Port Name")]
|
||||||
|
public string Barcode { get; set; }
|
||||||
|
|
||||||
|
public string lastid { get; set; }
|
||||||
|
|
||||||
|
public Setting()
|
||||||
|
{
|
||||||
|
string Path = Util.CurrentPath;
|
||||||
|
if (Util.isLocalApplication()) Path = @"c:\Amkor\GroupWare\";
|
||||||
|
this.filename = Path + "Setting.xml";
|
||||||
|
|
||||||
|
System.IO.FileInfo fi = new System.IO.FileInfo(filename);
|
||||||
|
if (!System.IO.File.Exists(filename))
|
||||||
|
{
|
||||||
|
if (!fi.Directory.Exists) fi.Directory.Create();
|
||||||
|
this.Load();
|
||||||
|
this.Save();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void AfterLoad()
|
||||||
|
{
|
||||||
|
if (Language.isEmpty()) Language = "Kor";
|
||||||
|
if (Password_Setup.isEmpty()) Password_Setup = "0000";
|
||||||
|
if (Password_User.isEmpty()) Password_User = "9999";
|
||||||
|
}
|
||||||
|
public override void AfterSave()
|
||||||
|
{
|
||||||
|
//throw new NotImplementedException();
|
||||||
|
//Xml.set_Data("Font", "Font_Content", GetfontString(Font_Content));
|
||||||
|
//Xml.Save();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public class UserSetting : arUtil.Setting
|
||||||
|
{
|
||||||
|
public UserSetting()
|
||||||
|
{
|
||||||
|
string Path = Util.CurrentPath;
|
||||||
|
if (Util.isLocalApplication()) Path = @"c:\Amkor\GroupWare\";
|
||||||
|
this.filename = Path + "UserSet.xml";
|
||||||
|
|
||||||
|
System.IO.FileInfo fi = new System.IO.FileInfo(filename);
|
||||||
|
if (!System.IO.File.Exists(filename))
|
||||||
|
{
|
||||||
|
if (!fi.Directory.Exists) fi.Directory.Create();
|
||||||
|
this.Load();
|
||||||
|
this.Save();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void AfterLoad()
|
||||||
|
{
|
||||||
|
//throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
public override void AfterSave()
|
||||||
|
{
|
||||||
|
//throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
23
Project/StateMachine/_BW.cs
Normal file
23
Project/StateMachine/_BW.cs
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
/*
|
||||||
|
* Backgroudn worker
|
||||||
|
*/
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
|
||||||
|
namespace Project
|
||||||
|
{
|
||||||
|
public partial class fMain
|
||||||
|
{
|
||||||
|
Boolean bBW = true;
|
||||||
|
private void bw_DoWork(object sender, DoWorkEventArgs e)
|
||||||
|
{
|
||||||
|
while(bBW)
|
||||||
|
{
|
||||||
|
System.Threading.Thread.Sleep(1000);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
29
Project/StateMachine/_TMDisplay.cs
Normal file
29
Project/StateMachine/_TMDisplay.cs
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
using System;
|
||||||
|
/*
|
||||||
|
* Display timer
|
||||||
|
*/
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
|
||||||
|
namespace Project
|
||||||
|
{
|
||||||
|
public partial class fMain
|
||||||
|
{
|
||||||
|
private void tmDisplay_Tick(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if (bw.IsBusy)
|
||||||
|
{
|
||||||
|
if (sbBWRun.BackColor == Color.Lime)
|
||||||
|
sbBWRun.BackColor = Color.LimeGreen;
|
||||||
|
else
|
||||||
|
sbBWRun.BackColor = Color.Lime;
|
||||||
|
}
|
||||||
|
else sbBWRun.BackColor = Color.Red;
|
||||||
|
sbBCD.BackColor = Pub.barcode.IsInit ? Color.Lime : Color.Red;
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
447
Project/Util.cs
Normal file
447
Project/Util.cs
Normal file
@@ -0,0 +1,447 @@
|
|||||||
|
//180624 chi isLocalApplication 추가
|
||||||
|
//180618 chi GetCSVBuffer 추가
|
||||||
|
//180614 chi map 명령어 추가
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Diagnostics;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.IO;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Net;
|
||||||
|
using System.Text;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace Project
|
||||||
|
{
|
||||||
|
public static class Util
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 현재 프로그램이 개인용위치에서 실행중인가(클릭원스의경우)
|
||||||
|
/// </summary>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static Boolean isLocalApplication()
|
||||||
|
{
|
||||||
|
var localpath = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData);
|
||||||
|
return Util.CurrentPath.StartsWith(localpath);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// CSV데이터포맷으로 버퍼를 반환합니다. 문자열내에 , 가 있는 데이터는 쌍따옴표로 구분합니다.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="line"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static string[] GetCSVBuffer(string line)
|
||||||
|
{
|
||||||
|
List<string> buffer = new List<string>();
|
||||||
|
if (line.Trim() == "") return buffer.ToArray();
|
||||||
|
|
||||||
|
System.Text.StringBuilder sb = new StringBuilder();
|
||||||
|
bool findsig = false;
|
||||||
|
var charbuf = line.ToCharArray();
|
||||||
|
char pchar = '\0';
|
||||||
|
foreach (var c in charbuf)
|
||||||
|
{
|
||||||
|
if (c == ',')
|
||||||
|
{
|
||||||
|
if (findsig) sb.Append(c); //대상에 콤마가 잇으므로 게소 누적한다.
|
||||||
|
else
|
||||||
|
{
|
||||||
|
//데이터를 분리해줘야함
|
||||||
|
buffer.Add(sb.ToString());
|
||||||
|
sb.Clear();
|
||||||
|
findsig = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if (c == '\"')
|
||||||
|
{
|
||||||
|
if (pchar == ',')
|
||||||
|
{
|
||||||
|
if (!findsig) findsig = true;
|
||||||
|
else findsig = false; //완료된 경우이다.
|
||||||
|
}
|
||||||
|
else if (!findsig) sb.Append(c);
|
||||||
|
//if (!findsig) findsig = true;
|
||||||
|
//else sb.Append(c);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
sb.Append(c);
|
||||||
|
}
|
||||||
|
pchar = c;
|
||||||
|
}
|
||||||
|
//if(sb.Length > 0)
|
||||||
|
//{
|
||||||
|
buffer.Add(sb.ToString());
|
||||||
|
//}
|
||||||
|
return buffer.ToArray();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static double map(double source, int in_min, int in_max, int out_min, int out_max)
|
||||||
|
{
|
||||||
|
return (source - in_min) * (out_max - out_min) / (in_max - in_min) + out_min;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#region "MessageBox"
|
||||||
|
public static void MsgI(string m)
|
||||||
|
{
|
||||||
|
MessageBox.Show(m, "확인", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||||
|
}
|
||||||
|
public static void MsgE(string m)
|
||||||
|
{
|
||||||
|
MessageBox.Show(m, "오류", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||||
|
}
|
||||||
|
public static DialogResult MsgQ(string m)
|
||||||
|
{
|
||||||
|
DialogResult dlg = MessageBox.Show(m, "확인", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
|
||||||
|
return dlg;
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
public static object getTagFromContextMenu(object sender)
|
||||||
|
{
|
||||||
|
ToolStripMenuItem menuItem = sender as ToolStripMenuItem;
|
||||||
|
if (menuItem != null)
|
||||||
|
{
|
||||||
|
ContextMenuStrip calendarMenu = menuItem.Owner as ContextMenuStrip;
|
||||||
|
|
||||||
|
if (calendarMenu != null)
|
||||||
|
{
|
||||||
|
var controlSelected = calendarMenu.SourceControl as Control;
|
||||||
|
return controlSelected.Tag;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return string.Empty;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void SaveBugReport(string content, string subdirName = "BugReport")
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var path = CurrentPath + subdirName;
|
||||||
|
if (!System.IO.Directory.Exists(path)) System.IO.Directory.CreateDirectory(path);
|
||||||
|
var file = path + "\\" + DateTime.Now.ToString("yyyyMMdd_HHmmss_fff") + ".txt";
|
||||||
|
System.IO.File.WriteAllText(file, content, System.Text.Encoding.UTF8);
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{
|
||||||
|
//nothing
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 현재실행중인폴더를 반환합니다.
|
||||||
|
/// </summary>
|
||||||
|
public static string CurrentPath
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return AppDomain.CurrentDomain.BaseDirectory;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/// <summary>
|
||||||
|
/// 콤마와 줄바꿈등을 제거합니다.
|
||||||
|
/// </summary>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static string ToCSVString(string src)
|
||||||
|
{
|
||||||
|
string strdata = src.Replace("\r", "").Replace("\n", "");
|
||||||
|
if (strdata.IndexOf(',') != -1)
|
||||||
|
{
|
||||||
|
strdata = "\"" + strdata + "\""; //180618 콤마가들어가는 csv 처리
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
return strdata;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static Boolean RunProcess(string file, string arg = "")
|
||||||
|
{
|
||||||
|
var fi = new System.IO.FileInfo(file);
|
||||||
|
if (!fi.Exists)
|
||||||
|
{
|
||||||
|
Pub.log.AddE("Run Error : " + file);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
System.Diagnostics.Process prc = new System.Diagnostics.Process();
|
||||||
|
System.Diagnostics.ProcessStartInfo si = new System.Diagnostics.ProcessStartInfo(file);
|
||||||
|
si.Arguments = arg;
|
||||||
|
prc.StartInfo = si;
|
||||||
|
prc.Start();
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
#region "convert"
|
||||||
|
public static string RectToStr(Rectangle rect)
|
||||||
|
{
|
||||||
|
return string.Format("{0};{1};{2};{3}", rect.X, rect.Y, rect.Width, rect.Height);
|
||||||
|
}
|
||||||
|
public static string RectToStr(RectangleF rect)
|
||||||
|
{
|
||||||
|
return string.Format("{0};{1};{2};{3}", rect.X, rect.Y, rect.Width, rect.Height);
|
||||||
|
}
|
||||||
|
public static string PointToStr(Point pt)
|
||||||
|
{
|
||||||
|
return string.Format("{0};{1}", pt.X, pt.Y);
|
||||||
|
}
|
||||||
|
public static string PointToStr(PointF pt)
|
||||||
|
{
|
||||||
|
return string.Format("{0};{1}", pt.X, pt.Y);
|
||||||
|
}
|
||||||
|
public static Rectangle StrToRect(string str)
|
||||||
|
{
|
||||||
|
if (str.isEmpty() || str.Split(';').Length != 4) str = "0;0;0;0";
|
||||||
|
var roibuf1 = str.Split(';');
|
||||||
|
return new System.Drawing.Rectangle(
|
||||||
|
int.Parse(roibuf1[0]),
|
||||||
|
int.Parse(roibuf1[1]),
|
||||||
|
int.Parse(roibuf1[2]),
|
||||||
|
int.Parse(roibuf1[3]));
|
||||||
|
}
|
||||||
|
public static RectangleF StrToRectF(string str)
|
||||||
|
{
|
||||||
|
if (str.isEmpty() || str.Split(';').Length != 4) str = "0;0;0;0";
|
||||||
|
var roibuf1 = str.Split(';');
|
||||||
|
return new System.Drawing.RectangleF(
|
||||||
|
float.Parse(roibuf1[0]),
|
||||||
|
float.Parse(roibuf1[1]),
|
||||||
|
float.Parse(roibuf1[2]),
|
||||||
|
float.Parse(roibuf1[3]));
|
||||||
|
}
|
||||||
|
public static Point StrToPoint(string str)
|
||||||
|
{
|
||||||
|
if (str.isEmpty() || str.Split(';').Length != 2) str = "0;0";
|
||||||
|
var roibuf1 = str.Split(';');
|
||||||
|
return new System.Drawing.Point(
|
||||||
|
int.Parse(roibuf1[0]),
|
||||||
|
int.Parse(roibuf1[1]));
|
||||||
|
}
|
||||||
|
public static PointF StrToPointF(string str)
|
||||||
|
{
|
||||||
|
if (str.isEmpty() || str.Split(';').Length != 2) str = "0;0";
|
||||||
|
var roibuf1 = str.Split(';');
|
||||||
|
return new System.Drawing.PointF(
|
||||||
|
float.Parse(roibuf1[0]),
|
||||||
|
float.Parse(roibuf1[1]));
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region "NIC"
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 지정된 nic카드가 현재 목록에 존재하는지 확인한다.
|
||||||
|
/// </summary>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static Boolean ExistNIC(string NICName)
|
||||||
|
{
|
||||||
|
if (string.IsNullOrEmpty(NICName)) return false;
|
||||||
|
foreach (string NetName in NICCardList())
|
||||||
|
{
|
||||||
|
if (NetName.ToLower() == NICName.ToLower())
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Ehternet Card 를 사용안함으로 설정합니다.(관리자권한필요)
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="NicName"></param>
|
||||||
|
public static Boolean NICDisable(string NICName)
|
||||||
|
{
|
||||||
|
//해당 nic 가 현재 목록에 존재하는지 확인한다.
|
||||||
|
|
||||||
|
string cmd = "interface set interface " + NICName + " disable";
|
||||||
|
Process prc = new Process();
|
||||||
|
ProcessStartInfo si = new ProcessStartInfo("netsh", cmd);
|
||||||
|
si.WindowStyle = ProcessWindowStyle.Hidden;
|
||||||
|
prc.StartInfo = si;
|
||||||
|
prc.Start();
|
||||||
|
|
||||||
|
////목록에서 사라질때까지 기다린다.
|
||||||
|
DateTime SD = DateTime.Now;
|
||||||
|
Boolean timeout = false;
|
||||||
|
while ((true))
|
||||||
|
{
|
||||||
|
|
||||||
|
bool FindNetwork = false;
|
||||||
|
foreach (string NetName in NICCardList())
|
||||||
|
{
|
||||||
|
if (NetName == NICName.ToLower())
|
||||||
|
{
|
||||||
|
FindNetwork = true;
|
||||||
|
break; // TODO: might not be correct. Was : Exit For
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!FindNetwork)
|
||||||
|
break; // TODO: might not be correct. Was : Exit While
|
||||||
|
|
||||||
|
System.Threading.Thread.Sleep(1000);
|
||||||
|
TimeSpan ts = DateTime.Now - SD;
|
||||||
|
if (ts.TotalSeconds > 10)
|
||||||
|
{
|
||||||
|
timeout = true;
|
||||||
|
break; // TODO: might not be correct. Was : Exit While
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return !timeout;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static List<String> NICCardList()
|
||||||
|
{
|
||||||
|
List<String> Retval = new List<string>();
|
||||||
|
foreach (System.Net.NetworkInformation.NetworkInterface Net in System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces())
|
||||||
|
{
|
||||||
|
if (Net.NetworkInterfaceType == System.Net.NetworkInformation.NetworkInterfaceType.Ethernet)
|
||||||
|
{
|
||||||
|
Retval.Add(Net.Name.ToUpper());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return Retval;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 이더넷카드를 사용함으로 설정합니다.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="NicName"></param>
|
||||||
|
public static Boolean NICEnable(string NICName)
|
||||||
|
{
|
||||||
|
string cmd = "interface set interface " + NICName + " enable";
|
||||||
|
System.Diagnostics.Process prc = new System.Diagnostics.Process();
|
||||||
|
System.Diagnostics.ProcessStartInfo si = new System.Diagnostics.ProcessStartInfo("netsh", cmd);
|
||||||
|
si.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden;
|
||||||
|
prc.StartInfo = si;
|
||||||
|
prc.Start();
|
||||||
|
|
||||||
|
|
||||||
|
////목록에생길떄까지 대기
|
||||||
|
DateTime SD = DateTime.Now;
|
||||||
|
while ((true))
|
||||||
|
{
|
||||||
|
|
||||||
|
bool FindNetwork = false;
|
||||||
|
foreach (string NetName in NICCardList())
|
||||||
|
{
|
||||||
|
if (NetName.ToLower() == NICName.ToLower())
|
||||||
|
{
|
||||||
|
FindNetwork = true;
|
||||||
|
break; // TODO: might not be correct. Was : Exit For
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (FindNetwork)
|
||||||
|
break; // TODO: might not be correct. Was : Exit While
|
||||||
|
|
||||||
|
System.Threading.Thread.Sleep(1000);
|
||||||
|
TimeSpan ts = DateTime.Now - SD;
|
||||||
|
if (ts.TotalSeconds > 10)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
////결이 완료될떄까지 기다린다.
|
||||||
|
SD = DateTime.Now;
|
||||||
|
while ((true))
|
||||||
|
{
|
||||||
|
|
||||||
|
bool FindNetwork = false;
|
||||||
|
foreach (System.Net.NetworkInformation.NetworkInterface Net in System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces())
|
||||||
|
{
|
||||||
|
if (Net.NetworkInterfaceType != System.Net.NetworkInformation.NetworkInterfaceType.GigabitEthernet &&
|
||||||
|
Net.NetworkInterfaceType != System.Net.NetworkInformation.NetworkInterfaceType.Ethernet) continue;
|
||||||
|
if (Net.Name.ToLower() == NICName.ToLower())
|
||||||
|
{
|
||||||
|
//string data = Net.GetIPProperties().GatewayAddresses[0].ToString();
|
||||||
|
|
||||||
|
if (Net.OperationalStatus == System.Net.NetworkInformation.OperationalStatus.Up)
|
||||||
|
{
|
||||||
|
|
||||||
|
FindNetwork = true;
|
||||||
|
break; // TODO: might not be correct. Was : Exit For
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (FindNetwork)
|
||||||
|
return true;
|
||||||
|
|
||||||
|
System.Threading.Thread.Sleep(1000);
|
||||||
|
TimeSpan ts = DateTime.Now - SD;
|
||||||
|
if (ts.TotalSeconds > 10)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
public static void RunExplorer(string arg)
|
||||||
|
{
|
||||||
|
System.Diagnostics.ProcessStartInfo si = new ProcessStartInfo("explorer");
|
||||||
|
si.Arguments = arg;
|
||||||
|
System.Diagnostics.Process.Start(si);
|
||||||
|
}
|
||||||
|
|
||||||
|
#region "watchdog"
|
||||||
|
public static void WatchDog_Run()
|
||||||
|
{
|
||||||
|
System.IO.FileInfo fi = new FileInfo(AppDomain.CurrentDomain.BaseDirectory + "WatchCat.exe");
|
||||||
|
if (!fi.Exists) return;
|
||||||
|
var Exist = CheckExistProcess("watchcat");
|
||||||
|
if (Exist) return;
|
||||||
|
RunProcess(fi.FullName);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static Boolean CheckExistProcess(string ProcessName)
|
||||||
|
{
|
||||||
|
foreach (var prc in System.Diagnostics.Process.GetProcesses())
|
||||||
|
{
|
||||||
|
if (prc.ProcessName.StartsWith("svchost")) continue;
|
||||||
|
if (prc.ProcessName.ToUpper() == ProcessName.ToUpper()) return true;
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region "web function"
|
||||||
|
/// <summary>
|
||||||
|
/// URL로부터 문자열을 수신합니다.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="url"></param>
|
||||||
|
/// <param name="isError"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static string GetStrfromurl(string url, out Boolean isError)
|
||||||
|
{
|
||||||
|
isError = false;
|
||||||
|
string result = "";
|
||||||
|
try
|
||||||
|
{
|
||||||
|
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(new Uri(url));
|
||||||
|
request.Timeout = 60000;
|
||||||
|
request.ReadWriteTimeout = 60000;
|
||||||
|
|
||||||
|
request.MaximumAutomaticRedirections = 4;
|
||||||
|
request.MaximumResponseHeadersLength = 4;
|
||||||
|
request.Credentials = CredentialCache.DefaultCredentials;
|
||||||
|
var response = request.GetResponse() as HttpWebResponse;
|
||||||
|
var txtReader = new StreamReader(response.GetResponseStream(), Encoding.UTF8);
|
||||||
|
result = txtReader.ReadToEnd();
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
isError = true;
|
||||||
|
result = ex.Message.ToString();
|
||||||
|
}
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
432
Project/_Common/fInventory.Designer.cs
generated
Normal file
432
Project/_Common/fInventory.Designer.cs
generated
Normal file
@@ -0,0 +1,432 @@
|
|||||||
|
namespace Project._Common
|
||||||
|
{
|
||||||
|
partial class fInventory
|
||||||
|
{
|
||||||
|
/// <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.components = new System.ComponentModel.Container();
|
||||||
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fInventory));
|
||||||
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||||
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||||
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||||
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||||
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||||
|
this.dsMSSQL = new Project.dsMSSQL();
|
||||||
|
this.inventoryBindingSource = new System.Windows.Forms.BindingSource(this.components);
|
||||||
|
this.inventoryTableAdapter = new Project.dsMSSQLTableAdapters.InventoryTableAdapter();
|
||||||
|
this.tableAdapterManager = new Project.dsMSSQLTableAdapters.TableAdapterManager();
|
||||||
|
this.inventoryBindingNavigator = new System.Windows.Forms.BindingNavigator(this.components);
|
||||||
|
this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
|
||||||
|
this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator();
|
||||||
|
this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox();
|
||||||
|
this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
||||||
|
this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
||||||
|
this.inventoryBindingNavigatorSaveItem = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.inventoryDataGridView = new System.Windows.Forms.DataGridView();
|
||||||
|
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.project = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this._projectname = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dvc_itemName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn12 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.inventoryBindingSource)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.inventoryBindingNavigator)).BeginInit();
|
||||||
|
this.inventoryBindingNavigator.SuspendLayout();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.inventoryDataGridView)).BeginInit();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// dsMSSQL
|
||||||
|
//
|
||||||
|
this.dsMSSQL.DataSetName = "dsMSSQL";
|
||||||
|
this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
||||||
|
//
|
||||||
|
// inventoryBindingSource
|
||||||
|
//
|
||||||
|
this.inventoryBindingSource.DataMember = "Inventory";
|
||||||
|
this.inventoryBindingSource.DataSource = this.dsMSSQL;
|
||||||
|
//
|
||||||
|
// inventoryTableAdapter
|
||||||
|
//
|
||||||
|
this.inventoryTableAdapter.ClearBeforeFill = true;
|
||||||
|
//
|
||||||
|
// tableAdapterManager
|
||||||
|
//
|
||||||
|
this.tableAdapterManager.BackupDataSetBeforeUpdate = false;
|
||||||
|
this.tableAdapterManager.InventoryTableAdapter = this.inventoryTableAdapter;
|
||||||
|
this.tableAdapterManager.ItemsTableAdapter = null;
|
||||||
|
this.tableAdapterManager.ProjectsTableAdapter = null;
|
||||||
|
this.tableAdapterManager.UpdateOrder = Project.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
|
||||||
|
this.tableAdapterManager.UsersTableAdapter = null;
|
||||||
|
//
|
||||||
|
// inventoryBindingNavigator
|
||||||
|
//
|
||||||
|
this.inventoryBindingNavigator.AddNewItem = this.bindingNavigatorAddNewItem;
|
||||||
|
this.inventoryBindingNavigator.BindingSource = this.inventoryBindingSource;
|
||||||
|
this.inventoryBindingNavigator.CountItem = this.bindingNavigatorCountItem;
|
||||||
|
this.inventoryBindingNavigator.DeleteItem = this.bindingNavigatorDeleteItem;
|
||||||
|
this.inventoryBindingNavigator.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||||
|
this.inventoryBindingNavigator.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
|
this.bindingNavigatorMoveFirstItem,
|
||||||
|
this.bindingNavigatorMovePreviousItem,
|
||||||
|
this.bindingNavigatorSeparator,
|
||||||
|
this.bindingNavigatorPositionItem,
|
||||||
|
this.bindingNavigatorCountItem,
|
||||||
|
this.bindingNavigatorSeparator1,
|
||||||
|
this.bindingNavigatorMoveNextItem,
|
||||||
|
this.bindingNavigatorMoveLastItem,
|
||||||
|
this.bindingNavigatorSeparator2,
|
||||||
|
this.bindingNavigatorAddNewItem,
|
||||||
|
this.bindingNavigatorDeleteItem,
|
||||||
|
this.inventoryBindingNavigatorSaveItem});
|
||||||
|
this.inventoryBindingNavigator.Location = new System.Drawing.Point(0, 550);
|
||||||
|
this.inventoryBindingNavigator.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
|
||||||
|
this.inventoryBindingNavigator.MoveLastItem = this.bindingNavigatorMoveLastItem;
|
||||||
|
this.inventoryBindingNavigator.MoveNextItem = this.bindingNavigatorMoveNextItem;
|
||||||
|
this.inventoryBindingNavigator.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
|
||||||
|
this.inventoryBindingNavigator.Name = "inventoryBindingNavigator";
|
||||||
|
this.inventoryBindingNavigator.PositionItem = this.bindingNavigatorPositionItem;
|
||||||
|
this.inventoryBindingNavigator.Size = new System.Drawing.Size(671, 25);
|
||||||
|
this.inventoryBindingNavigator.TabIndex = 0;
|
||||||
|
this.inventoryBindingNavigator.Text = "bindingNavigator1";
|
||||||
|
//
|
||||||
|
// bindingNavigatorAddNewItem
|
||||||
|
//
|
||||||
|
this.bindingNavigatorAddNewItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
|
this.bindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image")));
|
||||||
|
this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem";
|
||||||
|
this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true;
|
||||||
|
this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(23, 22);
|
||||||
|
this.bindingNavigatorAddNewItem.Text = "새로 추가";
|
||||||
|
//
|
||||||
|
// bindingNavigatorCountItem
|
||||||
|
//
|
||||||
|
this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
|
||||||
|
this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22);
|
||||||
|
this.bindingNavigatorCountItem.Text = "/{0}";
|
||||||
|
this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수";
|
||||||
|
//
|
||||||
|
// bindingNavigatorDeleteItem
|
||||||
|
//
|
||||||
|
this.bindingNavigatorDeleteItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
|
this.bindingNavigatorDeleteItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem.Image")));
|
||||||
|
this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem";
|
||||||
|
this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true;
|
||||||
|
this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(23, 22);
|
||||||
|
this.bindingNavigatorDeleteItem.Text = "삭제";
|
||||||
|
//
|
||||||
|
// bindingNavigatorMoveFirstItem
|
||||||
|
//
|
||||||
|
this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
|
this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image")));
|
||||||
|
this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
|
||||||
|
this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
|
||||||
|
this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22);
|
||||||
|
this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동";
|
||||||
|
//
|
||||||
|
// bindingNavigatorMovePreviousItem
|
||||||
|
//
|
||||||
|
this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
|
this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image")));
|
||||||
|
this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
|
||||||
|
this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
|
||||||
|
this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22);
|
||||||
|
this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동";
|
||||||
|
//
|
||||||
|
// bindingNavigatorSeparator
|
||||||
|
//
|
||||||
|
this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
|
||||||
|
this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25);
|
||||||
|
//
|
||||||
|
// bindingNavigatorPositionItem
|
||||||
|
//
|
||||||
|
this.bindingNavigatorPositionItem.AccessibleName = "위치";
|
||||||
|
this.bindingNavigatorPositionItem.AutoSize = false;
|
||||||
|
this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
|
||||||
|
this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
|
||||||
|
this.bindingNavigatorPositionItem.Text = "0";
|
||||||
|
this.bindingNavigatorPositionItem.ToolTipText = "현재 위치";
|
||||||
|
//
|
||||||
|
// bindingNavigatorSeparator1
|
||||||
|
//
|
||||||
|
this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1";
|
||||||
|
this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25);
|
||||||
|
//
|
||||||
|
// bindingNavigatorMoveNextItem
|
||||||
|
//
|
||||||
|
this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
|
this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image")));
|
||||||
|
this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
|
||||||
|
this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
|
||||||
|
this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22);
|
||||||
|
this.bindingNavigatorMoveNextItem.Text = "다음으로 이동";
|
||||||
|
//
|
||||||
|
// bindingNavigatorMoveLastItem
|
||||||
|
//
|
||||||
|
this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
|
this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image")));
|
||||||
|
this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
|
||||||
|
this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
|
||||||
|
this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22);
|
||||||
|
this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동";
|
||||||
|
//
|
||||||
|
// bindingNavigatorSeparator2
|
||||||
|
//
|
||||||
|
this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
|
||||||
|
this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25);
|
||||||
|
//
|
||||||
|
// inventoryBindingNavigatorSaveItem
|
||||||
|
//
|
||||||
|
this.inventoryBindingNavigatorSaveItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
|
this.inventoryBindingNavigatorSaveItem.Image = ((System.Drawing.Image)(resources.GetObject("inventoryBindingNavigatorSaveItem.Image")));
|
||||||
|
this.inventoryBindingNavigatorSaveItem.Name = "inventoryBindingNavigatorSaveItem";
|
||||||
|
this.inventoryBindingNavigatorSaveItem.Size = new System.Drawing.Size(23, 22);
|
||||||
|
this.inventoryBindingNavigatorSaveItem.Text = "데이터 저장";
|
||||||
|
this.inventoryBindingNavigatorSaveItem.Click += new System.EventHandler(this.inventoryBindingNavigatorSaveItem_Click);
|
||||||
|
//
|
||||||
|
// inventoryDataGridView
|
||||||
|
//
|
||||||
|
this.inventoryDataGridView.AutoGenerateColumns = false;
|
||||||
|
this.inventoryDataGridView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
|
||||||
|
this.inventoryDataGridView.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells;
|
||||||
|
this.inventoryDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||||
|
this.inventoryDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||||
|
this.dataGridViewTextBoxColumn1,
|
||||||
|
this.dataGridViewTextBoxColumn2,
|
||||||
|
this.dataGridViewTextBoxColumn3,
|
||||||
|
this.project,
|
||||||
|
this._projectname,
|
||||||
|
this.dataGridViewTextBoxColumn4,
|
||||||
|
this.dvc_itemName,
|
||||||
|
this.dataGridViewTextBoxColumn5,
|
||||||
|
this.dataGridViewTextBoxColumn6,
|
||||||
|
this.dataGridViewTextBoxColumn7,
|
||||||
|
this.dataGridViewTextBoxColumn8,
|
||||||
|
this.dataGridViewTextBoxColumn9,
|
||||||
|
this.dataGridViewTextBoxColumn10,
|
||||||
|
this.dataGridViewTextBoxColumn11,
|
||||||
|
this.dataGridViewTextBoxColumn12});
|
||||||
|
this.inventoryDataGridView.DataSource = this.inventoryBindingSource;
|
||||||
|
this.inventoryDataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
|
this.inventoryDataGridView.Location = new System.Drawing.Point(0, 0);
|
||||||
|
this.inventoryDataGridView.Name = "inventoryDataGridView";
|
||||||
|
this.inventoryDataGridView.RowTemplate.Height = 23;
|
||||||
|
this.inventoryDataGridView.Size = new System.Drawing.Size(671, 550);
|
||||||
|
this.inventoryDataGridView.TabIndex = 1;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn1
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn1.DataPropertyName = "idx";
|
||||||
|
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||||
|
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||||
|
this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle1;
|
||||||
|
this.dataGridViewTextBoxColumn1.HeaderText = "idx";
|
||||||
|
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
|
||||||
|
this.dataGridViewTextBoxColumn1.ReadOnly = true;
|
||||||
|
this.dataGridViewTextBoxColumn1.Width = 47;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn2
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn2.DataPropertyName = "pdate";
|
||||||
|
this.dataGridViewTextBoxColumn2.HeaderText = "pdate";
|
||||||
|
this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
|
||||||
|
this.dataGridViewTextBoxColumn2.Width = 61;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn3
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn3.DataPropertyName = "uid";
|
||||||
|
this.dataGridViewTextBoxColumn3.HeaderText = "uid";
|
||||||
|
this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
|
||||||
|
this.dataGridViewTextBoxColumn3.Width = 47;
|
||||||
|
//
|
||||||
|
// project
|
||||||
|
//
|
||||||
|
this.project.DataPropertyName = "project";
|
||||||
|
dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||||
|
this.project.DefaultCellStyle = dataGridViewCellStyle2;
|
||||||
|
this.project.HeaderText = "pIDX";
|
||||||
|
this.project.Name = "project";
|
||||||
|
this.project.ReadOnly = true;
|
||||||
|
this.project.Width = 56;
|
||||||
|
//
|
||||||
|
// _projectname
|
||||||
|
//
|
||||||
|
this._projectname.DataPropertyName = "_projectname";
|
||||||
|
dataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
|
||||||
|
this._projectname.DefaultCellStyle = dataGridViewCellStyle3;
|
||||||
|
this._projectname.HeaderText = "Project";
|
||||||
|
this._projectname.Name = "_projectname";
|
||||||
|
this._projectname.Width = 69;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn4
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn4.DataPropertyName = "item";
|
||||||
|
dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||||
|
this.dataGridViewTextBoxColumn4.DefaultCellStyle = dataGridViewCellStyle4;
|
||||||
|
this.dataGridViewTextBoxColumn4.HeaderText = "iIDX";
|
||||||
|
this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
|
||||||
|
this.dataGridViewTextBoxColumn4.ReadOnly = true;
|
||||||
|
this.dataGridViewTextBoxColumn4.Width = 52;
|
||||||
|
//
|
||||||
|
// dvc_itemName
|
||||||
|
//
|
||||||
|
this.dvc_itemName.DataPropertyName = "_itemname";
|
||||||
|
dataGridViewCellStyle5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
|
||||||
|
this.dvc_itemName.DefaultCellStyle = dataGridViewCellStyle5;
|
||||||
|
this.dvc_itemName.HeaderText = "Item";
|
||||||
|
this.dvc_itemName.Name = "dvc_itemName";
|
||||||
|
this.dvc_itemName.Width = 54;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn5
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn5.DataPropertyName = "serial";
|
||||||
|
this.dataGridViewTextBoxColumn5.HeaderText = "serial";
|
||||||
|
this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
|
||||||
|
this.dataGridViewTextBoxColumn5.Width = 61;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn6
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn6.DataPropertyName = "dr_qty";
|
||||||
|
this.dataGridViewTextBoxColumn6.HeaderText = "dr_qty";
|
||||||
|
this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
|
||||||
|
this.dataGridViewTextBoxColumn6.Width = 64;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn7
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn7.DataPropertyName = "dr_amt";
|
||||||
|
this.dataGridViewTextBoxColumn7.HeaderText = "dr_amt";
|
||||||
|
this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
|
||||||
|
this.dataGridViewTextBoxColumn7.Width = 68;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn8
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn8.DataPropertyName = "cr_qty";
|
||||||
|
this.dataGridViewTextBoxColumn8.HeaderText = "cr_qty";
|
||||||
|
this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
|
||||||
|
this.dataGridViewTextBoxColumn8.Width = 64;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn9
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn9.DataPropertyName = "cr_amt";
|
||||||
|
this.dataGridViewTextBoxColumn9.HeaderText = "cr_amt";
|
||||||
|
this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9";
|
||||||
|
this.dataGridViewTextBoxColumn9.Width = 68;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn10
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn10.DataPropertyName = "memo";
|
||||||
|
this.dataGridViewTextBoxColumn10.HeaderText = "memo";
|
||||||
|
this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10";
|
||||||
|
this.dataGridViewTextBoxColumn10.Width = 66;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn11
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn11.DataPropertyName = "wuid";
|
||||||
|
this.dataGridViewTextBoxColumn11.HeaderText = "wuid";
|
||||||
|
this.dataGridViewTextBoxColumn11.Name = "dataGridViewTextBoxColumn11";
|
||||||
|
this.dataGridViewTextBoxColumn11.Width = 57;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn12
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn12.DataPropertyName = "wdate";
|
||||||
|
this.dataGridViewTextBoxColumn12.HeaderText = "wdate";
|
||||||
|
this.dataGridViewTextBoxColumn12.Name = "dataGridViewTextBoxColumn12";
|
||||||
|
this.dataGridViewTextBoxColumn12.Width = 64;
|
||||||
|
//
|
||||||
|
// fInventory
|
||||||
|
//
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
this.ClientSize = new System.Drawing.Size(671, 575);
|
||||||
|
this.Controls.Add(this.inventoryDataGridView);
|
||||||
|
this.Controls.Add(this.inventoryBindingNavigator);
|
||||||
|
this.Name = "fInventory";
|
||||||
|
this.Text = "fInventory";
|
||||||
|
this.Load += new System.EventHandler(this.fInventory_Load);
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.inventoryBindingSource)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.inventoryBindingNavigator)).EndInit();
|
||||||
|
this.inventoryBindingNavigator.ResumeLayout(false);
|
||||||
|
this.inventoryBindingNavigator.PerformLayout();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.inventoryDataGridView)).EndInit();
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
this.PerformLayout();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private dsMSSQL dsMSSQL;
|
||||||
|
private System.Windows.Forms.BindingSource inventoryBindingSource;
|
||||||
|
private dsMSSQLTableAdapters.InventoryTableAdapter inventoryTableAdapter;
|
||||||
|
private dsMSSQLTableAdapters.TableAdapterManager tableAdapterManager;
|
||||||
|
private System.Windows.Forms.BindingNavigator inventoryBindingNavigator;
|
||||||
|
private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem;
|
||||||
|
private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem;
|
||||||
|
private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem;
|
||||||
|
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem;
|
||||||
|
private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem;
|
||||||
|
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator;
|
||||||
|
private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem;
|
||||||
|
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1;
|
||||||
|
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem;
|
||||||
|
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem;
|
||||||
|
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2;
|
||||||
|
private System.Windows.Forms.ToolStripButton inventoryBindingNavigatorSaveItem;
|
||||||
|
private System.Windows.Forms.DataGridView inventoryDataGridView;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn project;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn _projectname;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dvc_itemName;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn5;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn6;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn7;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn8;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn9;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn10;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn11;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn12;
|
||||||
|
}
|
||||||
|
}
|
||||||
52
Project/_Common/fInventory.cs
Normal file
52
Project/_Common/fInventory.cs
Normal file
@@ -0,0 +1,52 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel;
|
||||||
|
using System.Data;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace Project._Common
|
||||||
|
{
|
||||||
|
public partial class fInventory : Form
|
||||||
|
{
|
||||||
|
public fInventory()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void inventoryBindingNavigatorSaveItem_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
this.Validate();
|
||||||
|
this.inventoryBindingSource.EndEdit();
|
||||||
|
this.tableAdapterManager.UpdateAll(this.dsMSSQL);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void fInventory_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
// TODO: 이 코드는 데이터를 'dsMSSQL.Inventory' 테이블에 로드합니다. 필요한 경우 이 코드를 이동하거나 제거할 수 있습니다.
|
||||||
|
this.inventoryTableAdapter.Fill(this.dsMSSQL.Inventory);
|
||||||
|
this.dsMSSQL.Inventory.TableNewRow += Inventory_TableNewRow;
|
||||||
|
|
||||||
|
dsMSSQLTableAdapters.QueriesTableAdapter taQuery = new dsMSSQLTableAdapters.QueriesTableAdapter();
|
||||||
|
|
||||||
|
//모든자료를 조회해서 이름을 찾는다.
|
||||||
|
foreach(dsMSSQL.InventoryRow dr in this.dsMSSQL.Inventory.Rows)
|
||||||
|
{
|
||||||
|
dr._itemname = taQuery.GetItemName(dr.item);
|
||||||
|
dr._projectname = taQuery.GetProjectName(dr.project);
|
||||||
|
dr.EndEdit();
|
||||||
|
}
|
||||||
|
this.dsMSSQL.Inventory.AcceptChanges();
|
||||||
|
}
|
||||||
|
|
||||||
|
void Inventory_TableNewRow(object sender, DataTableNewRowEventArgs e)
|
||||||
|
{
|
||||||
|
e.Row["wuid"] = Pub.Login.no;
|
||||||
|
e.Row["wdate"] = DateTime.Now;
|
||||||
|
e.Row["pdate"] = DateTime.Now.ToShortDateString();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
216
Project/_Common/fInventory.resx
Normal file
216
Project/_Common/fInventory.resx
Normal file
@@ -0,0 +1,216 @@
|
|||||||
|
<?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="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>17, 17</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="inventoryBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>122, 17</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="inventoryTableAdapter.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>306, 17</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="tableAdapterManager.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>484, 17</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="inventoryBindingNavigator.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>658, 17</value>
|
||||||
|
</metadata>
|
||||||
|
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||||
|
<data name="bindingNavigatorAddNewItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
|
wwAADsMBx2+oZAAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC
|
||||||
|
pBtwfjov3ICDPSKkG3B8kiBQc93/Pw+q/u9oFydswKWZPP/PTuX7fxKo8Ui/0P993SJAzeX//94r+r++
|
||||||
|
Qeb/qhq5/0srFf/PL1X+P6tIFdPAU0B//nlYD9RUC8SV///cKwHivP9/72b+/3sn+f/f23H//92MAOKQ
|
||||||
|
/5NyNDENONQrDHbu3/ulQI0FQI3ZQI2pQI0J///digZqDPv/70bQ/3/X/f53peliGrCzXeL/lmap/+vA
|
||||||
|
zpX/v6RC8f/fWzFAjeH/p+Zp/J+QpfW/O0P3f3uq/v/mREPCYTIb6E+Qc//dCPjfk6FDWAM6APnz3w1/
|
||||||
|
IPb735qsT7oB3em6YP+CcH2cEekGtCQZ/G+IN/xfE2v8vzLahHQD6AQYGAAkI9iedfyIaQAAAABJRU5E
|
||||||
|
rkJggg==
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="bindingNavigatorDeleteItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
|
wwAADsMBx2+oZAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC
|
||||||
|
DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC
|
||||||
|
rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV
|
||||||
|
i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG
|
||||||
|
86CNhdrsX9a/uQZTPhQl4rMY4OLofbl3aX7I8uwPC7y/g1YdjyVJuEvT8e1tfwUYteHUxCCfHChDeHmG
|
||||||
|
QQvokjlOU+PbWA0x3pZnILVVI3uvQyHsbiLnqnGmRCF1NYD8pDhpRxOH7HQoAKZGkFKjceszQbpSrumX
|
||||||
|
bO+G80MFwKUTxgfgcO/b8D9IpXoFiiMDHIQm0skAAAAASUVORK5CYII=
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
|
wwAADsMBx2+oZAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77
|
||||||
|
wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0
|
||||||
|
v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg
|
||||||
|
UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA
|
||||||
|
Iu/O/9T+11gVGSSd+C+b9vW/bvA83AYYZt3+H9byEqci/dTL/zV8p+E2QCftxn+/6od4Fal4TMBtgFPu
|
||||||
|
lf8gBXgVDULAwAAA8HbAq6XlmnAAAAAASUVORK5CYII=
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="bindingNavigatorMovePreviousItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
|
wwAADsMBx2+oZAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w
|
||||||
|
5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f
|
||||||
|
Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+
|
||||||
|
08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="bindingNavigatorMoveNextItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
|
wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
|
||||||
|
n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI
|
||||||
|
N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f
|
||||||
|
oAc0QjgAAAAASUVORK5CYII=
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="bindingNavigatorMoveLastItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
|
wwAADsMBx2+oZAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+//
|
||||||
|
h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B
|
||||||
|
twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA
|
||||||
|
kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG
|
||||||
|
WOTd+W9TcAVDMwiA5FL7X8O9hBUYZt3GqhkEQHJhLS//6wbPw22ATtoNnJIgOb/qh/81fKfhNgAfcMq9
|
||||||
|
8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg==
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="inventoryBindingNavigatorSaveItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
|
wwAADsMBx2+oZAAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo
|
||||||
|
dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII=
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<metadata name="project.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="_projectname.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="dvc_itemName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
</root>
|
||||||
358
Project/_Common/fItems.Designer.cs
generated
Normal file
358
Project/_Common/fItems.Designer.cs
generated
Normal file
@@ -0,0 +1,358 @@
|
|||||||
|
namespace Project._Common
|
||||||
|
{
|
||||||
|
partial class fItems
|
||||||
|
{
|
||||||
|
/// <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.components = new System.ComponentModel.Container();
|
||||||
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fItems));
|
||||||
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||||
|
this.itemsBindingNavigator = new System.Windows.Forms.BindingNavigator(this.components);
|
||||||
|
this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator();
|
||||||
|
this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox();
|
||||||
|
this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
|
||||||
|
this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
||||||
|
this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
||||||
|
this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.itemsBindingNavigatorSaveItem = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.itemsDataGridView = new System.Windows.Forms.DataGridView();
|
||||||
|
this.itemsBindingSource = new System.Windows.Forms.BindingSource(this.components);
|
||||||
|
this.dsMSSQL = new Project.dsMSSQL();
|
||||||
|
this.itemsTableAdapter = new Project.dsMSSQLTableAdapters.ItemsTableAdapter();
|
||||||
|
this.tableAdapterManager = new Project.dsMSSQLTableAdapters.TableAdapterManager();
|
||||||
|
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.itemsBindingNavigator)).BeginInit();
|
||||||
|
this.itemsBindingNavigator.SuspendLayout();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.itemsDataGridView)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.itemsBindingSource)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// itemsBindingNavigator
|
||||||
|
//
|
||||||
|
this.itemsBindingNavigator.AddNewItem = this.bindingNavigatorAddNewItem;
|
||||||
|
this.itemsBindingNavigator.BindingSource = this.itemsBindingSource;
|
||||||
|
this.itemsBindingNavigator.CountItem = this.bindingNavigatorCountItem;
|
||||||
|
this.itemsBindingNavigator.DeleteItem = this.bindingNavigatorDeleteItem;
|
||||||
|
this.itemsBindingNavigator.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||||
|
this.itemsBindingNavigator.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
|
this.bindingNavigatorMoveFirstItem,
|
||||||
|
this.bindingNavigatorMovePreviousItem,
|
||||||
|
this.bindingNavigatorSeparator,
|
||||||
|
this.bindingNavigatorPositionItem,
|
||||||
|
this.bindingNavigatorCountItem,
|
||||||
|
this.bindingNavigatorSeparator1,
|
||||||
|
this.bindingNavigatorMoveNextItem,
|
||||||
|
this.bindingNavigatorMoveLastItem,
|
||||||
|
this.bindingNavigatorSeparator2,
|
||||||
|
this.bindingNavigatorAddNewItem,
|
||||||
|
this.bindingNavigatorDeleteItem,
|
||||||
|
this.itemsBindingNavigatorSaveItem});
|
||||||
|
this.itemsBindingNavigator.Location = new System.Drawing.Point(0, 521);
|
||||||
|
this.itemsBindingNavigator.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
|
||||||
|
this.itemsBindingNavigator.MoveLastItem = this.bindingNavigatorMoveLastItem;
|
||||||
|
this.itemsBindingNavigator.MoveNextItem = this.bindingNavigatorMoveNextItem;
|
||||||
|
this.itemsBindingNavigator.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
|
||||||
|
this.itemsBindingNavigator.Name = "itemsBindingNavigator";
|
||||||
|
this.itemsBindingNavigator.PositionItem = this.bindingNavigatorPositionItem;
|
||||||
|
this.itemsBindingNavigator.Size = new System.Drawing.Size(687, 25);
|
||||||
|
this.itemsBindingNavigator.TabIndex = 0;
|
||||||
|
this.itemsBindingNavigator.Text = "bindingNavigator1";
|
||||||
|
//
|
||||||
|
// bindingNavigatorMoveFirstItem
|
||||||
|
//
|
||||||
|
this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
|
this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image")));
|
||||||
|
this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
|
||||||
|
this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
|
||||||
|
this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22);
|
||||||
|
this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동";
|
||||||
|
//
|
||||||
|
// bindingNavigatorMovePreviousItem
|
||||||
|
//
|
||||||
|
this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
|
this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image")));
|
||||||
|
this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
|
||||||
|
this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
|
||||||
|
this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22);
|
||||||
|
this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동";
|
||||||
|
//
|
||||||
|
// bindingNavigatorSeparator
|
||||||
|
//
|
||||||
|
this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
|
||||||
|
this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25);
|
||||||
|
//
|
||||||
|
// bindingNavigatorPositionItem
|
||||||
|
//
|
||||||
|
this.bindingNavigatorPositionItem.AccessibleName = "위치";
|
||||||
|
this.bindingNavigatorPositionItem.AutoSize = false;
|
||||||
|
this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
|
||||||
|
this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
|
||||||
|
this.bindingNavigatorPositionItem.Text = "0";
|
||||||
|
this.bindingNavigatorPositionItem.ToolTipText = "현재 위치";
|
||||||
|
//
|
||||||
|
// bindingNavigatorCountItem
|
||||||
|
//
|
||||||
|
this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
|
||||||
|
this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22);
|
||||||
|
this.bindingNavigatorCountItem.Text = "/{0}";
|
||||||
|
this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수";
|
||||||
|
//
|
||||||
|
// bindingNavigatorSeparator1
|
||||||
|
//
|
||||||
|
this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator";
|
||||||
|
this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25);
|
||||||
|
//
|
||||||
|
// bindingNavigatorMoveNextItem
|
||||||
|
//
|
||||||
|
this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
|
this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image")));
|
||||||
|
this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
|
||||||
|
this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
|
||||||
|
this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22);
|
||||||
|
this.bindingNavigatorMoveNextItem.Text = "다음으로 이동";
|
||||||
|
//
|
||||||
|
// bindingNavigatorMoveLastItem
|
||||||
|
//
|
||||||
|
this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
|
this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image")));
|
||||||
|
this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
|
||||||
|
this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
|
||||||
|
this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22);
|
||||||
|
this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동";
|
||||||
|
//
|
||||||
|
// bindingNavigatorSeparator2
|
||||||
|
//
|
||||||
|
this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator";
|
||||||
|
this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25);
|
||||||
|
//
|
||||||
|
// bindingNavigatorAddNewItem
|
||||||
|
//
|
||||||
|
this.bindingNavigatorAddNewItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
|
this.bindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image")));
|
||||||
|
this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem";
|
||||||
|
this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true;
|
||||||
|
this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(23, 22);
|
||||||
|
this.bindingNavigatorAddNewItem.Text = "새로 추가";
|
||||||
|
//
|
||||||
|
// bindingNavigatorDeleteItem
|
||||||
|
//
|
||||||
|
this.bindingNavigatorDeleteItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
|
this.bindingNavigatorDeleteItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem.Image")));
|
||||||
|
this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem";
|
||||||
|
this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true;
|
||||||
|
this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(23, 22);
|
||||||
|
this.bindingNavigatorDeleteItem.Text = "삭제";
|
||||||
|
//
|
||||||
|
// itemsBindingNavigatorSaveItem
|
||||||
|
//
|
||||||
|
this.itemsBindingNavigatorSaveItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
|
this.itemsBindingNavigatorSaveItem.Image = ((System.Drawing.Image)(resources.GetObject("itemsBindingNavigatorSaveItem.Image")));
|
||||||
|
this.itemsBindingNavigatorSaveItem.Name = "itemsBindingNavigatorSaveItem";
|
||||||
|
this.itemsBindingNavigatorSaveItem.Size = new System.Drawing.Size(23, 22);
|
||||||
|
this.itemsBindingNavigatorSaveItem.Text = "데이터 저장";
|
||||||
|
this.itemsBindingNavigatorSaveItem.Click += new System.EventHandler(this.itemsBindingNavigatorSaveItem_Click);
|
||||||
|
//
|
||||||
|
// itemsDataGridView
|
||||||
|
//
|
||||||
|
this.itemsDataGridView.AutoGenerateColumns = false;
|
||||||
|
this.itemsDataGridView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
|
||||||
|
this.itemsDataGridView.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells;
|
||||||
|
this.itemsDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||||
|
this.itemsDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||||
|
this.dataGridViewTextBoxColumn1,
|
||||||
|
this.dataGridViewTextBoxColumn2,
|
||||||
|
this.dataGridViewTextBoxColumn3,
|
||||||
|
this.dataGridViewTextBoxColumn4,
|
||||||
|
this.dataGridViewTextBoxColumn5,
|
||||||
|
this.dataGridViewTextBoxColumn6,
|
||||||
|
this.dataGridViewTextBoxColumn7,
|
||||||
|
this.dataGridViewTextBoxColumn8,
|
||||||
|
this.dataGridViewTextBoxColumn9});
|
||||||
|
this.itemsDataGridView.DataSource = this.itemsBindingSource;
|
||||||
|
this.itemsDataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
|
this.itemsDataGridView.Location = new System.Drawing.Point(0, 0);
|
||||||
|
this.itemsDataGridView.Name = "itemsDataGridView";
|
||||||
|
this.itemsDataGridView.RowTemplate.Height = 23;
|
||||||
|
this.itemsDataGridView.Size = new System.Drawing.Size(687, 521);
|
||||||
|
this.itemsDataGridView.TabIndex = 1;
|
||||||
|
//
|
||||||
|
// itemsBindingSource
|
||||||
|
//
|
||||||
|
this.itemsBindingSource.DataMember = "Items";
|
||||||
|
this.itemsBindingSource.DataSource = this.dsMSSQL;
|
||||||
|
//
|
||||||
|
// dsMSSQL
|
||||||
|
//
|
||||||
|
this.dsMSSQL.DataSetName = "dsMSSQL";
|
||||||
|
this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
||||||
|
//
|
||||||
|
// itemsTableAdapter
|
||||||
|
//
|
||||||
|
this.itemsTableAdapter.ClearBeforeFill = true;
|
||||||
|
//
|
||||||
|
// tableAdapterManager
|
||||||
|
//
|
||||||
|
this.tableAdapterManager.BackupDataSetBeforeUpdate = false;
|
||||||
|
this.tableAdapterManager.InventoryTableAdapter = null;
|
||||||
|
this.tableAdapterManager.ItemsTableAdapter = this.itemsTableAdapter;
|
||||||
|
this.tableAdapterManager.ProjectsTableAdapter = null;
|
||||||
|
this.tableAdapterManager.UpdateOrder = Project.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
|
||||||
|
this.tableAdapterManager.UsersTableAdapter = null;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn1
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn1.DataPropertyName = "idx";
|
||||||
|
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||||
|
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||||
|
this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle1;
|
||||||
|
this.dataGridViewTextBoxColumn1.HeaderText = "idx";
|
||||||
|
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
|
||||||
|
this.dataGridViewTextBoxColumn1.ReadOnly = true;
|
||||||
|
this.dataGridViewTextBoxColumn1.Width = 47;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn2
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn2.DataPropertyName = "name";
|
||||||
|
this.dataGridViewTextBoxColumn2.HeaderText = "name";
|
||||||
|
this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
|
||||||
|
this.dataGridViewTextBoxColumn2.Width = 62;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn3
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn3.DataPropertyName = "sid";
|
||||||
|
this.dataGridViewTextBoxColumn3.HeaderText = "sid";
|
||||||
|
this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
|
||||||
|
this.dataGridViewTextBoxColumn3.Width = 47;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn4
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn4.DataPropertyName = "model";
|
||||||
|
this.dataGridViewTextBoxColumn4.HeaderText = "model";
|
||||||
|
this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
|
||||||
|
this.dataGridViewTextBoxColumn4.Width = 65;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn5
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn5.DataPropertyName = "manu";
|
||||||
|
this.dataGridViewTextBoxColumn5.HeaderText = "manu";
|
||||||
|
this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
|
||||||
|
this.dataGridViewTextBoxColumn5.Width = 62;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn6
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn6.DataPropertyName = "supply";
|
||||||
|
this.dataGridViewTextBoxColumn6.HeaderText = "supply";
|
||||||
|
this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
|
||||||
|
this.dataGridViewTextBoxColumn6.Width = 68;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn7
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn7.DataPropertyName = "memo";
|
||||||
|
this.dataGridViewTextBoxColumn7.HeaderText = "memo";
|
||||||
|
this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
|
||||||
|
this.dataGridViewTextBoxColumn7.Width = 66;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn8
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn8.DataPropertyName = "wuid";
|
||||||
|
this.dataGridViewTextBoxColumn8.HeaderText = "wuid";
|
||||||
|
this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
|
||||||
|
this.dataGridViewTextBoxColumn8.Width = 57;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn9
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn9.DataPropertyName = "wdate";
|
||||||
|
this.dataGridViewTextBoxColumn9.HeaderText = "wdate";
|
||||||
|
this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9";
|
||||||
|
this.dataGridViewTextBoxColumn9.Width = 64;
|
||||||
|
//
|
||||||
|
// fItems
|
||||||
|
//
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
this.ClientSize = new System.Drawing.Size(687, 546);
|
||||||
|
this.Controls.Add(this.itemsDataGridView);
|
||||||
|
this.Controls.Add(this.itemsBindingNavigator);
|
||||||
|
this.Name = "fItems";
|
||||||
|
this.Text = "fItems";
|
||||||
|
this.Load += new System.EventHandler(this.fItems_Load);
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.itemsBindingNavigator)).EndInit();
|
||||||
|
this.itemsBindingNavigator.ResumeLayout(false);
|
||||||
|
this.itemsBindingNavigator.PerformLayout();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.itemsDataGridView)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.itemsBindingSource)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit();
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
this.PerformLayout();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private dsMSSQL dsMSSQL;
|
||||||
|
private System.Windows.Forms.BindingSource itemsBindingSource;
|
||||||
|
private dsMSSQLTableAdapters.ItemsTableAdapter itemsTableAdapter;
|
||||||
|
private dsMSSQLTableAdapters.TableAdapterManager tableAdapterManager;
|
||||||
|
private System.Windows.Forms.BindingNavigator itemsBindingNavigator;
|
||||||
|
private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem;
|
||||||
|
private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem;
|
||||||
|
private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem;
|
||||||
|
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem;
|
||||||
|
private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem;
|
||||||
|
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator;
|
||||||
|
private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem;
|
||||||
|
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1;
|
||||||
|
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem;
|
||||||
|
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem;
|
||||||
|
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2;
|
||||||
|
private System.Windows.Forms.ToolStripButton itemsBindingNavigatorSaveItem;
|
||||||
|
private System.Windows.Forms.DataGridView itemsDataGridView;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn5;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn6;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn7;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn8;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn9;
|
||||||
|
}
|
||||||
|
}
|
||||||
40
Project/_Common/fItems.cs
Normal file
40
Project/_Common/fItems.cs
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel;
|
||||||
|
using System.Data;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace Project._Common
|
||||||
|
{
|
||||||
|
public partial class fItems : Form
|
||||||
|
{
|
||||||
|
public fItems()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
private void fItems_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
// TODO: 이 코드는 데이터를 'dsMSSQL.Items' 테이블에 로드합니다. 필요한 경우 이 코드를 이동하거나 제거할 수 있습니다.
|
||||||
|
this.itemsTableAdapter.Fill(this.dsMSSQL.Items);
|
||||||
|
this.dsMSSQL.Items.TableNewRow += Items_TableNewRow;
|
||||||
|
}
|
||||||
|
|
||||||
|
void Items_TableNewRow(object sender, DataTableNewRowEventArgs e)
|
||||||
|
{
|
||||||
|
e.Row["wuid"] = Pub.Login.no;
|
||||||
|
e.Row["wdate"] = DateTime.Now;
|
||||||
|
}
|
||||||
|
private void itemsBindingNavigatorSaveItem_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
this.Validate();
|
||||||
|
this.itemsBindingSource.EndEdit();
|
||||||
|
this.tableAdapterManager.UpdateAll(this.dsMSSQL);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
207
Project/_Common/fItems.resx
Normal file
207
Project/_Common/fItems.resx
Normal file
@@ -0,0 +1,207 @@
|
|||||||
|
<?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="itemsBindingNavigator.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>614, 17</value>
|
||||||
|
</metadata>
|
||||||
|
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||||
|
<data name="bindingNavigatorAddNewItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
|
wwAADsMBx2+oZAAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC
|
||||||
|
pBtwfjov3ICDPSKkG3B8kiBQc93/Pw+q/u9oFydswKWZPP/PTuX7fxKo8Ui/0P993SJAzeX//94r+r++
|
||||||
|
Qeb/qhq5/0srFf/PL1X+P6tIFdPAU0B//nlYD9RUC8SV///cKwHivP9/72b+/3sn+f/f23H//92MAOKQ
|
||||||
|
/5NyNDENONQrDHbu3/ulQI0FQI3ZQI2pQI0J///digZqDPv/70bQ/3/X/f53peliGrCzXeL/lmap/+vA
|
||||||
|
zpX/v6RC8f/fWzFAjeH/p+Zp/J+QpfW/O0P3f3uq/v/mREPCYTIb6E+Qc//dCPjfk6FDWAM6APnz3w1/
|
||||||
|
IPb735qsT7oB3em6YP+CcH2cEekGtCQZ/G+IN/xfE2v8vzLahHQD6AQYGAAkI9iedfyIaQAAAABJRU5E
|
||||||
|
rkJggg==
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<metadata name="itemsBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>122, 17</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>17, 17</value>
|
||||||
|
</metadata>
|
||||||
|
<data name="bindingNavigatorDeleteItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
|
wwAADsMBx2+oZAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC
|
||||||
|
DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC
|
||||||
|
rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV
|
||||||
|
i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG
|
||||||
|
86CNhdrsX9a/uQZTPhQl4rMY4OLofbl3aX7I8uwPC7y/g1YdjyVJuEvT8e1tfwUYteHUxCCfHChDeHmG
|
||||||
|
QQvokjlOU+PbWA0x3pZnILVVI3uvQyHsbiLnqnGmRCF1NYD8pDhpRxOH7HQoAKZGkFKjceszQbpSrumX
|
||||||
|
bO+G80MFwKUTxgfgcO/b8D9IpXoFiiMDHIQm0skAAAAASUVORK5CYII=
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
|
wwAADsMBx2+oZAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77
|
||||||
|
wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0
|
||||||
|
v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg
|
||||||
|
UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA
|
||||||
|
Iu/O/9T+11gVGSSd+C+b9vW/bvA83AYYZt3+H9byEqci/dTL/zV8p+E2QCftxn+/6od4Fal4TMBtgFPu
|
||||||
|
lf8gBXgVDULAwAAA8HbAq6XlmnAAAAAASUVORK5CYII=
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="bindingNavigatorMovePreviousItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
|
wwAADsMBx2+oZAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w
|
||||||
|
5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f
|
||||||
|
Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+
|
||||||
|
08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="bindingNavigatorMoveNextItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
|
wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
|
||||||
|
n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI
|
||||||
|
N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f
|
||||||
|
oAc0QjgAAAAASUVORK5CYII=
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="bindingNavigatorMoveLastItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
|
wwAADsMBx2+oZAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+//
|
||||||
|
h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B
|
||||||
|
twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA
|
||||||
|
kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG
|
||||||
|
WOTd+W9TcAVDMwiA5FL7X8O9hBUYZt3GqhkEQHJhLS//6wbPw22ATtoNnJIgOb/qh/81fKfhNgAfcMq9
|
||||||
|
8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg==
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="itemsBindingNavigatorSaveItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
|
wwAADsMBx2+oZAAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo
|
||||||
|
dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII=
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<metadata name="itemsTableAdapter.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>284, 17</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="tableAdapterManager.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>440, 17</value>
|
||||||
|
</metadata>
|
||||||
|
</root>
|
||||||
122
Project/_Info/fInfo_Staff.Designer.cs
generated
Normal file
122
Project/_Info/fInfo_Staff.Designer.cs
generated
Normal file
@@ -0,0 +1,122 @@
|
|||||||
|
namespace Project._Info
|
||||||
|
{
|
||||||
|
partial class fInfo_Staff
|
||||||
|
{
|
||||||
|
/// <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.textBox2 = new System.Windows.Forms.TextBox();
|
||||||
|
this.panel1 = new System.Windows.Forms.Panel();
|
||||||
|
this.panel2 = new System.Windows.Forms.Panel();
|
||||||
|
this.grid1 = new StaffLayoutCtl.grid();
|
||||||
|
this.panel1.SuspendLayout();
|
||||||
|
this.panel2.SuspendLayout();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// button1
|
||||||
|
//
|
||||||
|
this.button1.Location = new System.Drawing.Point(205, 19);
|
||||||
|
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;
|
||||||
|
//
|
||||||
|
// label1
|
||||||
|
//
|
||||||
|
this.label1.AutoSize = true;
|
||||||
|
this.label1.Location = new System.Drawing.Point(25, 10);
|
||||||
|
this.label1.Name = "label1";
|
||||||
|
this.label1.Size = new System.Drawing.Size(38, 12);
|
||||||
|
this.label1.TabIndex = 1;
|
||||||
|
this.label1.Text = "label1";
|
||||||
|
//
|
||||||
|
// textBox2
|
||||||
|
//
|
||||||
|
this.textBox2.Location = new System.Drawing.Point(82, 21);
|
||||||
|
this.textBox2.Name = "textBox2";
|
||||||
|
this.textBox2.Size = new System.Drawing.Size(100, 21);
|
||||||
|
this.textBox2.TabIndex = 3;
|
||||||
|
//
|
||||||
|
// panel1
|
||||||
|
//
|
||||||
|
this.panel1.Controls.Add(this.textBox2);
|
||||||
|
this.panel1.Controls.Add(this.button1);
|
||||||
|
this.panel1.Controls.Add(this.label1);
|
||||||
|
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||||
|
this.panel1.Location = new System.Drawing.Point(0, 0);
|
||||||
|
this.panel1.Name = "panel1";
|
||||||
|
this.panel1.Size = new System.Drawing.Size(987, 56);
|
||||||
|
this.panel1.TabIndex = 4;
|
||||||
|
//
|
||||||
|
// panel2
|
||||||
|
//
|
||||||
|
this.panel2.Controls.Add(this.grid1);
|
||||||
|
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
|
this.panel2.Location = new System.Drawing.Point(0, 56);
|
||||||
|
this.panel2.Name = "panel2";
|
||||||
|
this.panel2.Size = new System.Drawing.Size(987, 633);
|
||||||
|
this.panel2.TabIndex = 5;
|
||||||
|
//
|
||||||
|
// grid1
|
||||||
|
//
|
||||||
|
this.grid1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
|
this.grid1.Location = new System.Drawing.Point(0, 0);
|
||||||
|
this.grid1.Name = "grid1";
|
||||||
|
this.grid1.Size = new System.Drawing.Size(987, 633);
|
||||||
|
this.grid1.TabIndex = 0;
|
||||||
|
this.grid1.Text = "grid1";
|
||||||
|
this.grid1.Click += new System.EventHandler(this.grid1_Click);
|
||||||
|
//
|
||||||
|
// fInfo_Staff
|
||||||
|
//
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
this.ClientSize = new System.Drawing.Size(987, 689);
|
||||||
|
this.Controls.Add(this.panel2);
|
||||||
|
this.Controls.Add(this.panel1);
|
||||||
|
this.Name = "fInfo_Staff";
|
||||||
|
this.Text = "자리배치도";
|
||||||
|
this.Load += new System.EventHandler(this.fInfo_Staff_Load);
|
||||||
|
this.panel1.ResumeLayout(false);
|
||||||
|
this.panel1.PerformLayout();
|
||||||
|
this.panel2.ResumeLayout(false);
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private System.Windows.Forms.Button button1;
|
||||||
|
private System.Windows.Forms.Label label1;
|
||||||
|
private System.Windows.Forms.TextBox textBox2;
|
||||||
|
private System.Windows.Forms.Panel panel1;
|
||||||
|
private System.Windows.Forms.Panel panel2;
|
||||||
|
private StaffLayoutCtl.grid grid1;
|
||||||
|
}
|
||||||
|
}
|
||||||
37
Project/_Info/fInfo_Staff.cs
Normal file
37
Project/_Info/fInfo_Staff.cs
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel;
|
||||||
|
using System.Data;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace Project._Info
|
||||||
|
{
|
||||||
|
public partial class fInfo_Staff : Form
|
||||||
|
{
|
||||||
|
public fInfo_Staff()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
this.grid1.DeveloperMode = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void grid1_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void fInfo_Staff_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
var Item = this.grid1.Items;
|
||||||
|
Item.Clear();
|
||||||
|
Item.Add(new StaffLayoutCtl.grid.CItem(r: 1, c: 1, rs: 2, cs: 2, text: "김치균", bg: Color.White.ToArgb()));
|
||||||
|
Item.Add(new StaffLayoutCtl.grid.CItem(4, 4, 1, 1, "박성민"));
|
||||||
|
Item.Add(new StaffLayoutCtl.grid.CItem(6, 6, 10, 3, "고진일"));
|
||||||
|
Item.Add(new StaffLayoutCtl.grid.CItem(7, 7, 2, 2, "테스트"));
|
||||||
|
Item[1].Select = true;
|
||||||
|
this.grid1.Invalidate();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
120
Project/_Info/fInfo_Staff.resx
Normal file
120
Project/_Info/fInfo_Staff.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>
|
||||||
1156
Project/_Management/Report1.rdlc
Normal file
1156
Project/_Management/Report1.rdlc
Normal file
File diff suppressed because it is too large
Load Diff
640
Project/_Management/fEquipment.Designer.cs
generated
Normal file
640
Project/_Management/fEquipment.Designer.cs
generated
Normal file
@@ -0,0 +1,640 @@
|
|||||||
|
namespace Project._Management
|
||||||
|
{
|
||||||
|
partial class fEquipment
|
||||||
|
{
|
||||||
|
/// <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.components = new System.ComponentModel.Container();
|
||||||
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fEquipment));
|
||||||
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||||
|
this.bn = new System.Windows.Forms.BindingNavigator(this.components);
|
||||||
|
this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
|
||||||
|
this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator();
|
||||||
|
this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox();
|
||||||
|
this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
||||||
|
this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
||||||
|
this.equipmentBindingNavigatorSaveItem = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.equipmentDataGridView = new System.Windows.Forms.DataGridView();
|
||||||
|
this.panel1 = new System.Windows.Forms.Panel();
|
||||||
|
this.radexpn = new System.Windows.Forms.RadioButton();
|
||||||
|
this.radexpy = new System.Windows.Forms.RadioButton();
|
||||||
|
this.radexpa = new System.Windows.Forms.RadioButton();
|
||||||
|
this.btSearch = new System.Windows.Forms.Button();
|
||||||
|
this.tbSearch = new System.Windows.Forms.TextBox();
|
||||||
|
this.label5 = new System.Windows.Forms.Label();
|
||||||
|
this.cmbType = new System.Windows.Forms.ComboBox();
|
||||||
|
this.label4 = new System.Windows.Forms.Label();
|
||||||
|
this.cmbManu = new System.Windows.Forms.ComboBox();
|
||||||
|
this.label3 = new System.Windows.Forms.Label();
|
||||||
|
this.cmbLine = new System.Windows.Forms.ComboBox();
|
||||||
|
this.label2 = new System.Windows.Forms.Label();
|
||||||
|
this.cmbGrp = new System.Windows.Forms.ComboBox();
|
||||||
|
this.label1 = new System.Windows.Forms.Label();
|
||||||
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
||||||
|
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
||||||
|
this.radprionly = new System.Windows.Forms.RadioButton();
|
||||||
|
this.radpriall = new System.Windows.Forms.RadioButton();
|
||||||
|
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||||
|
this.dsMSSQL = new Project.dsMSSQL();
|
||||||
|
this.ta = new Project.dsMSSQLTableAdapters.EquipmentTableAdapter();
|
||||||
|
this.tam = new Project.dsMSSQLTableAdapters.TableAdapterManager();
|
||||||
|
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.type = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.primary = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||||
|
this.except = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||||
|
this.memo = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
|
||||||
|
this.bn.SuspendLayout();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.equipmentDataGridView)).BeginInit();
|
||||||
|
this.panel1.SuspendLayout();
|
||||||
|
this.groupBox1.SuspendLayout();
|
||||||
|
this.groupBox2.SuspendLayout();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// bn
|
||||||
|
//
|
||||||
|
this.bn.AddNewItem = this.bindingNavigatorAddNewItem;
|
||||||
|
this.bn.BindingSource = this.bs;
|
||||||
|
this.bn.CountItem = this.bindingNavigatorCountItem;
|
||||||
|
this.bn.DeleteItem = this.bindingNavigatorDeleteItem;
|
||||||
|
this.bn.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||||
|
this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
|
this.bindingNavigatorMoveFirstItem,
|
||||||
|
this.bindingNavigatorMovePreviousItem,
|
||||||
|
this.bindingNavigatorSeparator,
|
||||||
|
this.bindingNavigatorPositionItem,
|
||||||
|
this.bindingNavigatorCountItem,
|
||||||
|
this.bindingNavigatorSeparator1,
|
||||||
|
this.bindingNavigatorMoveNextItem,
|
||||||
|
this.bindingNavigatorMoveLastItem,
|
||||||
|
this.bindingNavigatorSeparator2,
|
||||||
|
this.bindingNavigatorAddNewItem,
|
||||||
|
this.bindingNavigatorDeleteItem,
|
||||||
|
this.equipmentBindingNavigatorSaveItem});
|
||||||
|
this.bn.Location = new System.Drawing.Point(0, 614);
|
||||||
|
this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
|
||||||
|
this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem;
|
||||||
|
this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem;
|
||||||
|
this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
|
||||||
|
this.bn.Name = "bn";
|
||||||
|
this.bn.PositionItem = this.bindingNavigatorPositionItem;
|
||||||
|
this.bn.Size = new System.Drawing.Size(1155, 25);
|
||||||
|
this.bn.TabIndex = 0;
|
||||||
|
this.bn.Text = "bindingNavigator1";
|
||||||
|
//
|
||||||
|
// bindingNavigatorAddNewItem
|
||||||
|
//
|
||||||
|
this.bindingNavigatorAddNewItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
|
this.bindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image")));
|
||||||
|
this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem";
|
||||||
|
this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true;
|
||||||
|
this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(23, 22);
|
||||||
|
this.bindingNavigatorAddNewItem.Text = "새로 추가";
|
||||||
|
//
|
||||||
|
// bindingNavigatorCountItem
|
||||||
|
//
|
||||||
|
this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
|
||||||
|
this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22);
|
||||||
|
this.bindingNavigatorCountItem.Text = "/{0}";
|
||||||
|
this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수";
|
||||||
|
//
|
||||||
|
// bindingNavigatorDeleteItem
|
||||||
|
//
|
||||||
|
this.bindingNavigatorDeleteItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
|
this.bindingNavigatorDeleteItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem.Image")));
|
||||||
|
this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem";
|
||||||
|
this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true;
|
||||||
|
this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(23, 22);
|
||||||
|
this.bindingNavigatorDeleteItem.Text = "삭제";
|
||||||
|
//
|
||||||
|
// bindingNavigatorMoveFirstItem
|
||||||
|
//
|
||||||
|
this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
|
this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image")));
|
||||||
|
this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
|
||||||
|
this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
|
||||||
|
this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22);
|
||||||
|
this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동";
|
||||||
|
//
|
||||||
|
// bindingNavigatorMovePreviousItem
|
||||||
|
//
|
||||||
|
this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
|
this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image")));
|
||||||
|
this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
|
||||||
|
this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
|
||||||
|
this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22);
|
||||||
|
this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동";
|
||||||
|
//
|
||||||
|
// bindingNavigatorSeparator
|
||||||
|
//
|
||||||
|
this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
|
||||||
|
this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25);
|
||||||
|
//
|
||||||
|
// bindingNavigatorPositionItem
|
||||||
|
//
|
||||||
|
this.bindingNavigatorPositionItem.AccessibleName = "위치";
|
||||||
|
this.bindingNavigatorPositionItem.AutoSize = false;
|
||||||
|
this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
|
||||||
|
this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
|
||||||
|
this.bindingNavigatorPositionItem.Text = "0";
|
||||||
|
this.bindingNavigatorPositionItem.ToolTipText = "현재 위치";
|
||||||
|
//
|
||||||
|
// bindingNavigatorSeparator1
|
||||||
|
//
|
||||||
|
this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1";
|
||||||
|
this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25);
|
||||||
|
//
|
||||||
|
// bindingNavigatorMoveNextItem
|
||||||
|
//
|
||||||
|
this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
|
this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image")));
|
||||||
|
this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
|
||||||
|
this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
|
||||||
|
this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22);
|
||||||
|
this.bindingNavigatorMoveNextItem.Text = "다음으로 이동";
|
||||||
|
//
|
||||||
|
// bindingNavigatorMoveLastItem
|
||||||
|
//
|
||||||
|
this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
|
this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image")));
|
||||||
|
this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
|
||||||
|
this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
|
||||||
|
this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22);
|
||||||
|
this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동";
|
||||||
|
//
|
||||||
|
// bindingNavigatorSeparator2
|
||||||
|
//
|
||||||
|
this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
|
||||||
|
this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25);
|
||||||
|
//
|
||||||
|
// equipmentBindingNavigatorSaveItem
|
||||||
|
//
|
||||||
|
this.equipmentBindingNavigatorSaveItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
|
this.equipmentBindingNavigatorSaveItem.Image = ((System.Drawing.Image)(resources.GetObject("equipmentBindingNavigatorSaveItem.Image")));
|
||||||
|
this.equipmentBindingNavigatorSaveItem.Name = "equipmentBindingNavigatorSaveItem";
|
||||||
|
this.equipmentBindingNavigatorSaveItem.Size = new System.Drawing.Size(23, 22);
|
||||||
|
this.equipmentBindingNavigatorSaveItem.Text = "데이터 저장";
|
||||||
|
this.equipmentBindingNavigatorSaveItem.Click += new System.EventHandler(this.equipmentBindingNavigatorSaveItem_Click);
|
||||||
|
//
|
||||||
|
// equipmentDataGridView
|
||||||
|
//
|
||||||
|
this.equipmentDataGridView.AutoGenerateColumns = false;
|
||||||
|
this.equipmentDataGridView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
|
||||||
|
this.equipmentDataGridView.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells;
|
||||||
|
this.equipmentDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||||
|
this.equipmentDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||||
|
this.dataGridViewTextBoxColumn1,
|
||||||
|
this.dataGridViewTextBoxColumn2,
|
||||||
|
this.dataGridViewTextBoxColumn3,
|
||||||
|
this.dataGridViewTextBoxColumn4,
|
||||||
|
this.type,
|
||||||
|
this.dataGridViewTextBoxColumn5,
|
||||||
|
this.dataGridViewTextBoxColumn6,
|
||||||
|
this.dataGridViewTextBoxColumn7,
|
||||||
|
this.dataGridViewTextBoxColumn8,
|
||||||
|
this.primary,
|
||||||
|
this.except,
|
||||||
|
this.memo});
|
||||||
|
this.equipmentDataGridView.DataSource = this.bs;
|
||||||
|
this.equipmentDataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
|
this.equipmentDataGridView.Location = new System.Drawing.Point(0, 131);
|
||||||
|
this.equipmentDataGridView.Name = "equipmentDataGridView";
|
||||||
|
this.equipmentDataGridView.RowTemplate.Height = 23;
|
||||||
|
this.equipmentDataGridView.Size = new System.Drawing.Size(1155, 483);
|
||||||
|
this.equipmentDataGridView.TabIndex = 1;
|
||||||
|
//
|
||||||
|
// panel1
|
||||||
|
//
|
||||||
|
this.panel1.Controls.Add(this.groupBox2);
|
||||||
|
this.panel1.Controls.Add(this.groupBox1);
|
||||||
|
this.panel1.Controls.Add(this.btSearch);
|
||||||
|
this.panel1.Controls.Add(this.tbSearch);
|
||||||
|
this.panel1.Controls.Add(this.label5);
|
||||||
|
this.panel1.Controls.Add(this.cmbType);
|
||||||
|
this.panel1.Controls.Add(this.label4);
|
||||||
|
this.panel1.Controls.Add(this.cmbManu);
|
||||||
|
this.panel1.Controls.Add(this.label3);
|
||||||
|
this.panel1.Controls.Add(this.cmbLine);
|
||||||
|
this.panel1.Controls.Add(this.label2);
|
||||||
|
this.panel1.Controls.Add(this.cmbGrp);
|
||||||
|
this.panel1.Controls.Add(this.label1);
|
||||||
|
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||||
|
this.panel1.Location = new System.Drawing.Point(0, 0);
|
||||||
|
this.panel1.Name = "panel1";
|
||||||
|
this.panel1.Size = new System.Drawing.Size(1155, 131);
|
||||||
|
this.panel1.TabIndex = 2;
|
||||||
|
//
|
||||||
|
// radexpn
|
||||||
|
//
|
||||||
|
this.radexpn.AutoSize = true;
|
||||||
|
this.radexpn.Checked = true;
|
||||||
|
this.radexpn.Location = new System.Drawing.Point(118, 21);
|
||||||
|
this.radexpn.Name = "radexpn";
|
||||||
|
this.radexpn.Size = new System.Drawing.Size(39, 16);
|
||||||
|
this.radexpn.TabIndex = 12;
|
||||||
|
this.radexpn.TabStop = true;
|
||||||
|
this.radexpn.Text = "No";
|
||||||
|
this.radexpn.UseVisualStyleBackColor = true;
|
||||||
|
//
|
||||||
|
// radexpy
|
||||||
|
//
|
||||||
|
this.radexpy.AutoSize = true;
|
||||||
|
this.radexpy.Location = new System.Drawing.Point(63, 19);
|
||||||
|
this.radexpy.Name = "radexpy";
|
||||||
|
this.radexpy.Size = new System.Drawing.Size(45, 16);
|
||||||
|
this.radexpy.TabIndex = 12;
|
||||||
|
this.radexpy.TabStop = true;
|
||||||
|
this.radexpy.Text = "Yes";
|
||||||
|
this.radexpy.UseVisualStyleBackColor = true;
|
||||||
|
//
|
||||||
|
// radexpa
|
||||||
|
//
|
||||||
|
this.radexpa.AutoSize = true;
|
||||||
|
this.radexpa.Location = new System.Drawing.Point(14, 21);
|
||||||
|
this.radexpa.Name = "radexpa";
|
||||||
|
this.radexpa.Size = new System.Drawing.Size(36, 16);
|
||||||
|
this.radexpa.TabIndex = 12;
|
||||||
|
this.radexpa.TabStop = true;
|
||||||
|
this.radexpa.Text = "all";
|
||||||
|
this.radexpa.UseVisualStyleBackColor = true;
|
||||||
|
//
|
||||||
|
// btSearch
|
||||||
|
//
|
||||||
|
this.btSearch.Location = new System.Drawing.Point(667, 25);
|
||||||
|
this.btSearch.Name = "btSearch";
|
||||||
|
this.btSearch.Size = new System.Drawing.Size(123, 96);
|
||||||
|
this.btSearch.TabIndex = 10;
|
||||||
|
this.btSearch.Text = "search";
|
||||||
|
this.btSearch.UseVisualStyleBackColor = true;
|
||||||
|
this.btSearch.Click += new System.EventHandler(this.btSearch_Click);
|
||||||
|
//
|
||||||
|
// tbSearch
|
||||||
|
//
|
||||||
|
this.tbSearch.Location = new System.Drawing.Point(319, 12);
|
||||||
|
this.tbSearch.Name = "tbSearch";
|
||||||
|
this.tbSearch.Size = new System.Drawing.Size(138, 21);
|
||||||
|
this.tbSearch.TabIndex = 9;
|
||||||
|
//
|
||||||
|
// label5
|
||||||
|
//
|
||||||
|
this.label5.AutoSize = true;
|
||||||
|
this.label5.Location = new System.Drawing.Point(257, 17);
|
||||||
|
this.label5.Name = "label5";
|
||||||
|
this.label5.Size = new System.Drawing.Size(44, 12);
|
||||||
|
this.label5.TabIndex = 8;
|
||||||
|
this.label5.Text = "search";
|
||||||
|
//
|
||||||
|
// cmbType
|
||||||
|
//
|
||||||
|
this.cmbType.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
|
||||||
|
this.cmbType.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
|
||||||
|
this.cmbType.FormattingEnabled = true;
|
||||||
|
this.cmbType.Location = new System.Drawing.Point(100, 99);
|
||||||
|
this.cmbType.Name = "cmbType";
|
||||||
|
this.cmbType.Size = new System.Drawing.Size(142, 20);
|
||||||
|
this.cmbType.TabIndex = 7;
|
||||||
|
//
|
||||||
|
// label4
|
||||||
|
//
|
||||||
|
this.label4.AutoSize = true;
|
||||||
|
this.label4.Location = new System.Drawing.Point(53, 103);
|
||||||
|
this.label4.Name = "label4";
|
||||||
|
this.label4.Size = new System.Drawing.Size(34, 12);
|
||||||
|
this.label4.TabIndex = 6;
|
||||||
|
this.label4.Text = "Type";
|
||||||
|
//
|
||||||
|
// cmbManu
|
||||||
|
//
|
||||||
|
this.cmbManu.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
|
||||||
|
this.cmbManu.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
|
||||||
|
this.cmbManu.FormattingEnabled = true;
|
||||||
|
this.cmbManu.Location = new System.Drawing.Point(100, 73);
|
||||||
|
this.cmbManu.Name = "cmbManu";
|
||||||
|
this.cmbManu.Size = new System.Drawing.Size(142, 20);
|
||||||
|
this.cmbManu.TabIndex = 5;
|
||||||
|
//
|
||||||
|
// label3
|
||||||
|
//
|
||||||
|
this.label3.AutoSize = true;
|
||||||
|
this.label3.Location = new System.Drawing.Point(50, 80);
|
||||||
|
this.label3.Name = "label3";
|
||||||
|
this.label3.Size = new System.Drawing.Size(37, 12);
|
||||||
|
this.label3.TabIndex = 4;
|
||||||
|
this.label3.Text = "Manu";
|
||||||
|
//
|
||||||
|
// cmbLine
|
||||||
|
//
|
||||||
|
this.cmbLine.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
|
||||||
|
this.cmbLine.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
|
||||||
|
this.cmbLine.FormattingEnabled = true;
|
||||||
|
this.cmbLine.Location = new System.Drawing.Point(100, 47);
|
||||||
|
this.cmbLine.Name = "cmbLine";
|
||||||
|
this.cmbLine.Size = new System.Drawing.Size(142, 20);
|
||||||
|
this.cmbLine.TabIndex = 3;
|
||||||
|
//
|
||||||
|
// label2
|
||||||
|
//
|
||||||
|
this.label2.AutoSize = true;
|
||||||
|
this.label2.Location = new System.Drawing.Point(30, 51);
|
||||||
|
this.label2.Name = "label2";
|
||||||
|
this.label2.Size = new System.Drawing.Size(57, 12);
|
||||||
|
this.label2.TabIndex = 2;
|
||||||
|
this.label2.Text = "line code";
|
||||||
|
//
|
||||||
|
// cmbGrp
|
||||||
|
//
|
||||||
|
this.cmbGrp.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
|
||||||
|
this.cmbGrp.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
|
||||||
|
this.cmbGrp.FormattingEnabled = true;
|
||||||
|
this.cmbGrp.Location = new System.Drawing.Point(100, 21);
|
||||||
|
this.cmbGrp.Name = "cmbGrp";
|
||||||
|
this.cmbGrp.Size = new System.Drawing.Size(142, 20);
|
||||||
|
this.cmbGrp.TabIndex = 1;
|
||||||
|
//
|
||||||
|
// label1
|
||||||
|
//
|
||||||
|
this.label1.AutoSize = true;
|
||||||
|
this.label1.Location = new System.Drawing.Point(63, 25);
|
||||||
|
this.label1.Name = "label1";
|
||||||
|
this.label1.Size = new System.Drawing.Size(25, 12);
|
||||||
|
this.label1.TabIndex = 0;
|
||||||
|
this.label1.Text = "Grp";
|
||||||
|
//
|
||||||
|
// groupBox1
|
||||||
|
//
|
||||||
|
this.groupBox1.Controls.Add(this.radexpy);
|
||||||
|
this.groupBox1.Controls.Add(this.radexpa);
|
||||||
|
this.groupBox1.Controls.Add(this.radexpn);
|
||||||
|
this.groupBox1.Location = new System.Drawing.Point(475, 73);
|
||||||
|
this.groupBox1.Name = "groupBox1";
|
||||||
|
this.groupBox1.Size = new System.Drawing.Size(186, 48);
|
||||||
|
this.groupBox1.TabIndex = 13;
|
||||||
|
this.groupBox1.TabStop = false;
|
||||||
|
this.groupBox1.Text = "except";
|
||||||
|
//
|
||||||
|
// groupBox2
|
||||||
|
//
|
||||||
|
this.groupBox2.Controls.Add(this.radprionly);
|
||||||
|
this.groupBox2.Controls.Add(this.radpriall);
|
||||||
|
this.groupBox2.Location = new System.Drawing.Point(475, 16);
|
||||||
|
this.groupBox2.Name = "groupBox2";
|
||||||
|
this.groupBox2.Size = new System.Drawing.Size(186, 51);
|
||||||
|
this.groupBox2.TabIndex = 13;
|
||||||
|
this.groupBox2.TabStop = false;
|
||||||
|
this.groupBox2.Text = "primary";
|
||||||
|
//
|
||||||
|
// radprionly
|
||||||
|
//
|
||||||
|
this.radprionly.AutoSize = true;
|
||||||
|
this.radprionly.Checked = true;
|
||||||
|
this.radprionly.Location = new System.Drawing.Point(74, 21);
|
||||||
|
this.radprionly.Name = "radprionly";
|
||||||
|
this.radprionly.Size = new System.Drawing.Size(49, 16);
|
||||||
|
this.radprionly.TabIndex = 13;
|
||||||
|
this.radprionly.TabStop = true;
|
||||||
|
this.radprionly.Text = "Only";
|
||||||
|
this.radprionly.UseVisualStyleBackColor = true;
|
||||||
|
//
|
||||||
|
// radpriall
|
||||||
|
//
|
||||||
|
this.radpriall.AutoSize = true;
|
||||||
|
this.radpriall.Location = new System.Drawing.Point(20, 21);
|
||||||
|
this.radpriall.Name = "radpriall";
|
||||||
|
this.radpriall.Size = new System.Drawing.Size(36, 16);
|
||||||
|
this.radpriall.TabIndex = 14;
|
||||||
|
this.radpriall.Text = "all";
|
||||||
|
this.radpriall.UseVisualStyleBackColor = true;
|
||||||
|
//
|
||||||
|
// bs
|
||||||
|
//
|
||||||
|
this.bs.DataMember = "Equipment";
|
||||||
|
this.bs.DataSource = this.dsMSSQL;
|
||||||
|
//
|
||||||
|
// dsMSSQL
|
||||||
|
//
|
||||||
|
this.dsMSSQL.DataSetName = "dsMSSQL";
|
||||||
|
this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
||||||
|
//
|
||||||
|
// ta
|
||||||
|
//
|
||||||
|
this.ta.ClearBeforeFill = true;
|
||||||
|
//
|
||||||
|
// tam
|
||||||
|
//
|
||||||
|
this.tam.BackupDataSetBeforeUpdate = false;
|
||||||
|
this.tam.EquipmentTableAdapter = this.ta;
|
||||||
|
this.tam.InventoryTableAdapter = null;
|
||||||
|
this.tam.ItemsTableAdapter = null;
|
||||||
|
this.tam.LineCodeTableAdapter = null;
|
||||||
|
this.tam.ProjectsTableAdapter = null;
|
||||||
|
this.tam.UpdateOrder = Project.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
|
||||||
|
this.tam.UsersTableAdapter = null;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn1
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn1.DataPropertyName = "idx";
|
||||||
|
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||||
|
dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||||
|
this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle2;
|
||||||
|
this.dataGridViewTextBoxColumn1.HeaderText = "idx";
|
||||||
|
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
|
||||||
|
this.dataGridViewTextBoxColumn1.ReadOnly = true;
|
||||||
|
this.dataGridViewTextBoxColumn1.Width = 47;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn2
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn2.DataPropertyName = "pdate";
|
||||||
|
this.dataGridViewTextBoxColumn2.HeaderText = "pdate";
|
||||||
|
this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
|
||||||
|
this.dataGridViewTextBoxColumn2.Width = 61;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn3
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn3.DataPropertyName = "asset";
|
||||||
|
this.dataGridViewTextBoxColumn3.HeaderText = "asset";
|
||||||
|
this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
|
||||||
|
this.dataGridViewTextBoxColumn3.Width = 61;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn4
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn4.DataPropertyName = "grp";
|
||||||
|
this.dataGridViewTextBoxColumn4.HeaderText = "grp";
|
||||||
|
this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
|
||||||
|
this.dataGridViewTextBoxColumn4.Width = 48;
|
||||||
|
//
|
||||||
|
// type
|
||||||
|
//
|
||||||
|
this.type.DataPropertyName = "type";
|
||||||
|
this.type.HeaderText = "type";
|
||||||
|
this.type.Name = "type";
|
||||||
|
this.type.Width = 54;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn5
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn5.DataPropertyName = "model";
|
||||||
|
this.dataGridViewTextBoxColumn5.HeaderText = "model";
|
||||||
|
this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
|
||||||
|
this.dataGridViewTextBoxColumn5.Width = 65;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn6
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn6.DataPropertyName = "linecode";
|
||||||
|
this.dataGridViewTextBoxColumn6.HeaderText = "linecode";
|
||||||
|
this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
|
||||||
|
this.dataGridViewTextBoxColumn6.Width = 78;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn7
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn7.DataPropertyName = "serial";
|
||||||
|
this.dataGridViewTextBoxColumn7.HeaderText = "serial";
|
||||||
|
this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
|
||||||
|
this.dataGridViewTextBoxColumn7.Width = 61;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn8
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn8.DataPropertyName = "manu";
|
||||||
|
this.dataGridViewTextBoxColumn8.HeaderText = "manu";
|
||||||
|
this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
|
||||||
|
this.dataGridViewTextBoxColumn8.Width = 62;
|
||||||
|
//
|
||||||
|
// primary
|
||||||
|
//
|
||||||
|
this.primary.DataPropertyName = "primary";
|
||||||
|
this.primary.HeaderText = "primary";
|
||||||
|
this.primary.Name = "primary";
|
||||||
|
this.primary.Width = 54;
|
||||||
|
//
|
||||||
|
// except
|
||||||
|
//
|
||||||
|
this.except.DataPropertyName = "except";
|
||||||
|
this.except.HeaderText = "except";
|
||||||
|
this.except.Name = "except";
|
||||||
|
this.except.Width = 49;
|
||||||
|
//
|
||||||
|
// memo
|
||||||
|
//
|
||||||
|
this.memo.DataPropertyName = "memo";
|
||||||
|
this.memo.HeaderText = "memo";
|
||||||
|
this.memo.Name = "memo";
|
||||||
|
this.memo.Width = 66;
|
||||||
|
//
|
||||||
|
// fEquipment
|
||||||
|
//
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
this.ClientSize = new System.Drawing.Size(1155, 639);
|
||||||
|
this.Controls.Add(this.equipmentDataGridView);
|
||||||
|
this.Controls.Add(this.panel1);
|
||||||
|
this.Controls.Add(this.bn);
|
||||||
|
this.Name = "fEquipment";
|
||||||
|
this.Text = "fEquipment";
|
||||||
|
this.Load += new System.EventHandler(this.fEquipment_Load);
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit();
|
||||||
|
this.bn.ResumeLayout(false);
|
||||||
|
this.bn.PerformLayout();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.equipmentDataGridView)).EndInit();
|
||||||
|
this.panel1.ResumeLayout(false);
|
||||||
|
this.panel1.PerformLayout();
|
||||||
|
this.groupBox1.ResumeLayout(false);
|
||||||
|
this.groupBox1.PerformLayout();
|
||||||
|
this.groupBox2.ResumeLayout(false);
|
||||||
|
this.groupBox2.PerformLayout();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit();
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
this.PerformLayout();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private dsMSSQL dsMSSQL;
|
||||||
|
private System.Windows.Forms.BindingSource bs;
|
||||||
|
private dsMSSQLTableAdapters.EquipmentTableAdapter ta;
|
||||||
|
private dsMSSQLTableAdapters.TableAdapterManager tam;
|
||||||
|
private System.Windows.Forms.BindingNavigator bn;
|
||||||
|
private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem;
|
||||||
|
private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem;
|
||||||
|
private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem;
|
||||||
|
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem;
|
||||||
|
private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem;
|
||||||
|
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator;
|
||||||
|
private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem;
|
||||||
|
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1;
|
||||||
|
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem;
|
||||||
|
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem;
|
||||||
|
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2;
|
||||||
|
private System.Windows.Forms.ToolStripButton equipmentBindingNavigatorSaveItem;
|
||||||
|
private System.Windows.Forms.DataGridView equipmentDataGridView;
|
||||||
|
private System.Windows.Forms.Panel panel1;
|
||||||
|
private System.Windows.Forms.Label label1;
|
||||||
|
private System.Windows.Forms.ComboBox cmbLine;
|
||||||
|
private System.Windows.Forms.Label label2;
|
||||||
|
private System.Windows.Forms.ComboBox cmbGrp;
|
||||||
|
private System.Windows.Forms.ComboBox cmbManu;
|
||||||
|
private System.Windows.Forms.Label label3;
|
||||||
|
private System.Windows.Forms.ComboBox cmbType;
|
||||||
|
private System.Windows.Forms.Label label4;
|
||||||
|
private System.Windows.Forms.Label label5;
|
||||||
|
private System.Windows.Forms.TextBox tbSearch;
|
||||||
|
private System.Windows.Forms.Button btSearch;
|
||||||
|
private System.Windows.Forms.RadioButton radexpn;
|
||||||
|
private System.Windows.Forms.RadioButton radexpy;
|
||||||
|
private System.Windows.Forms.RadioButton radexpa;
|
||||||
|
private System.Windows.Forms.GroupBox groupBox2;
|
||||||
|
private System.Windows.Forms.RadioButton radprionly;
|
||||||
|
private System.Windows.Forms.RadioButton radpriall;
|
||||||
|
private System.Windows.Forms.GroupBox groupBox1;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn type;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn5;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn6;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn7;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn8;
|
||||||
|
private System.Windows.Forms.DataGridViewCheckBoxColumn primary;
|
||||||
|
private System.Windows.Forms.DataGridViewCheckBoxColumn except;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn memo;
|
||||||
|
}
|
||||||
|
}
|
||||||
114
Project/_Management/fEquipment.cs
Normal file
114
Project/_Management/fEquipment.cs
Normal file
@@ -0,0 +1,114 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel;
|
||||||
|
using System.Data;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace Project._Management
|
||||||
|
{
|
||||||
|
public partial class fEquipment : Form
|
||||||
|
{
|
||||||
|
public fEquipment()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
this.dsMSSQL.Equipment.TableNewRow += Equipment_TableNewRow;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void equipmentBindingNavigatorSaveItem_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
this.Validate();
|
||||||
|
this.bs.EndEdit();
|
||||||
|
this.tam.UpdateAll(this.dsMSSQL);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void fEquipment_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
//목록을 가져온다.
|
||||||
|
var grpList = Manager.DatabaseManager.getEQGroupLiist("grp");
|
||||||
|
var lcList = Manager.DatabaseManager.getEQGroupLiist("linecode");
|
||||||
|
var manuList = Manager.DatabaseManager.getEQGroupLiist("manu");
|
||||||
|
var typeList = Manager.DatabaseManager.getEQGroupLiist("type");
|
||||||
|
|
||||||
|
cmbGrp.Items.Add("-- All --");
|
||||||
|
cmbLine.Items.Add("-- All --");
|
||||||
|
cmbManu.Items.Add("-- All --");
|
||||||
|
cmbType.Items.Add("-- All --");
|
||||||
|
|
||||||
|
foreach (var item in grpList) this.cmbGrp.Items.Add(item);
|
||||||
|
foreach (var item in lcList) this.cmbLine.Items.Add(item);
|
||||||
|
foreach (var item in manuList) this.cmbManu.Items.Add(item);
|
||||||
|
foreach (var item in typeList) this.cmbType.Items.Add(item);
|
||||||
|
|
||||||
|
cmbGrp.SelectedIndex = 0;
|
||||||
|
cmbLine.SelectedIndex = 0;
|
||||||
|
cmbManu.SelectedIndex = 0;
|
||||||
|
cmbType.SelectedIndex = 0;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void Equipment_TableNewRow(object sender, DataTableNewRowEventArgs e)
|
||||||
|
{
|
||||||
|
e.Row["wuid"] = Pub.Login.no;
|
||||||
|
e.Row["wdate"] = DateTime.Now;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void btSearch_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
//select command
|
||||||
|
if (this.ta.Adapter.SelectCommand == null) this.ta.Adapter.SelectCommand = new System.Data.SqlClient.SqlCommand();
|
||||||
|
|
||||||
|
//select query
|
||||||
|
string newSQL = "select * from Equipment";
|
||||||
|
string newWhere = string.Empty;
|
||||||
|
if(cmbGrp.SelectedIndex != 0 && !cmbGrp.Text.isEmpty())
|
||||||
|
{
|
||||||
|
if (!newWhere.isEmpty()) newWhere += " and ";
|
||||||
|
newWhere += "grp='" + cmbGrp.Text + "'";
|
||||||
|
}
|
||||||
|
if (this.cmbManu.SelectedIndex != 0 && !cmbManu.Text.isEmpty())
|
||||||
|
{
|
||||||
|
if (!newWhere.isEmpty()) newWhere += " and ";
|
||||||
|
newWhere += "manu='" + cmbManu.Text + "'";
|
||||||
|
}
|
||||||
|
if (this.cmbLine.SelectedIndex != 0 && !cmbLine.Text.isEmpty())
|
||||||
|
{
|
||||||
|
if (!newWhere.isEmpty()) newWhere += " and ";
|
||||||
|
newWhere += "linecode='" + cmbLine.Text + "'";
|
||||||
|
}
|
||||||
|
if (this.cmbType.SelectedIndex != 0 && !cmbType.Text.isEmpty())
|
||||||
|
{
|
||||||
|
if (!newWhere.isEmpty()) newWhere += " and ";
|
||||||
|
newWhere += "[type]='" + cmbType.Text + "'";
|
||||||
|
}
|
||||||
|
if(!this.tbSearch.Text.isEmpty())
|
||||||
|
{
|
||||||
|
if (!newWhere.isEmpty()) newWhere += " and ";
|
||||||
|
newWhere += string.Format("(asset like '%{0}%' or model like '%{0}%' or serial like '%{0}%')",tbSearch.Text);
|
||||||
|
}
|
||||||
|
if(radexpn.Checked)
|
||||||
|
{
|
||||||
|
if (!newWhere.isEmpty()) newWhere += " and ";
|
||||||
|
newWhere += string.Format("isnull([except],0) = 0");
|
||||||
|
}
|
||||||
|
if (radexpy.Checked)
|
||||||
|
{
|
||||||
|
if (!newWhere.isEmpty()) newWhere += " and ";
|
||||||
|
newWhere += string.Format("isnull([except],0) = 1");
|
||||||
|
}
|
||||||
|
if (this.radprionly.Checked)
|
||||||
|
{
|
||||||
|
if (!newWhere.isEmpty()) newWhere += " and ";
|
||||||
|
newWhere += string.Format("isnull([primary],0) = 1");
|
||||||
|
}
|
||||||
|
if (newWhere.isEmpty()) ta.Adapter.SelectCommand.CommandText = newSQL;
|
||||||
|
else ta.Adapter.SelectCommand.CommandText = newSQL + " where " + newWhere;
|
||||||
|
this.dsMSSQL.Equipment.Clear();
|
||||||
|
ta.Fill(this.dsMSSQL.Equipment);
|
||||||
|
this.dsMSSQL.Equipment.AcceptChanges();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
222
Project/_Management/fEquipment.resx
Normal file
222
Project/_Management/fEquipment.resx
Normal file
@@ -0,0 +1,222 @@
|
|||||||
|
<?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="bn.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>321, 17</value>
|
||||||
|
</metadata>
|
||||||
|
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||||
|
<data name="bindingNavigatorAddNewItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
|
wwAADsMBx2+oZAAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC
|
||||||
|
pBtwfjov3ICDPSKkG3B8kiBQc93/Pw+q/u9oFydswKWZPP/PTuX7fxKo8Ui/0P993SJAzeX//94r+r++
|
||||||
|
Qeb/qhq5/0srFf/PL1X+P6tIFdPAU0B//nlYD9RUC8SV///cKwHivP9/72b+/3sn+f/f23H//92MAOKQ
|
||||||
|
/5NyNDENONQrDHbu3/ulQI0FQI3ZQI2pQI0J///digZqDPv/70bQ/3/X/f53peliGrCzXeL/lmap/+vA
|
||||||
|
zpX/v6RC8f/fWzFAjeH/p+Zp/J+QpfW/O0P3f3uq/v/mREPCYTIb6E+Qc//dCPjfk6FDWAM6APnz3w1/
|
||||||
|
IPb735qsT7oB3em6YP+CcH2cEekGtCQZ/G+IN/xfE2v8vzLahHQD6AQYGAAkI9iedfyIaQAAAABJRU5E
|
||||||
|
rkJggg==
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>122, 17</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>17, 17</value>
|
||||||
|
</metadata>
|
||||||
|
<data name="bindingNavigatorDeleteItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
|
wwAADsMBx2+oZAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC
|
||||||
|
DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC
|
||||||
|
rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV
|
||||||
|
i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG
|
||||||
|
86CNhdrsX9a/uQZTPhQl4rMY4OLofbl3aX7I8uwPC7y/g1YdjyVJuEvT8e1tfwUYteHUxCCfHChDeHmG
|
||||||
|
QQvokjlOU+PbWA0x3pZnILVVI3uvQyHsbiLnqnGmRCF1NYD8pDhpRxOH7HQoAKZGkFKjceszQbpSrumX
|
||||||
|
bO+G80MFwKUTxgfgcO/b8D9IpXoFiiMDHIQm0skAAAAASUVORK5CYII=
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
|
wwAADsMBx2+oZAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77
|
||||||
|
wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0
|
||||||
|
v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg
|
||||||
|
UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA
|
||||||
|
Iu/O/9T+11gVGSSd+C+b9vW/bvA83AYYZt3+H9byEqci/dTL/zV8p+E2QCftxn+/6od4Fal4TMBtgFPu
|
||||||
|
lf8gBXgVDULAwAAA8HbAq6XlmnAAAAAASUVORK5CYII=
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="bindingNavigatorMovePreviousItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
|
wwAADsMBx2+oZAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w
|
||||||
|
5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f
|
||||||
|
Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+
|
||||||
|
08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="bindingNavigatorMoveNextItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
|
wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
|
||||||
|
n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI
|
||||||
|
N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f
|
||||||
|
oAc0QjgAAAAASUVORK5CYII=
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="bindingNavigatorMoveLastItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
|
wwAADsMBx2+oZAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+//
|
||||||
|
h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B
|
||||||
|
twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA
|
||||||
|
kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG
|
||||||
|
WOTd+W9TcAVDMwiA5FL7X8O9hBUYZt3GqhkEQHJhLS//6wbPw22ATtoNnJIgOb/qh/81fKfhNgAfcMq9
|
||||||
|
8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg==
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="equipmentBindingNavigatorSaveItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
|
wwAADsMBx2+oZAAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo
|
||||||
|
dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII=
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<metadata name="type.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="primary.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="except.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="memo.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>17, 17</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>186, 17</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="tam.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>248, 17</value>
|
||||||
|
</metadata>
|
||||||
|
</root>
|
||||||
125
Project/_Management/fImpEquipment.Designer.cs
generated
Normal file
125
Project/_Management/fImpEquipment.Designer.cs
generated
Normal file
@@ -0,0 +1,125 @@
|
|||||||
|
namespace Project._Management
|
||||||
|
{
|
||||||
|
partial class fImpEquipment
|
||||||
|
{
|
||||||
|
/// <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.textBox1 = new System.Windows.Forms.TextBox();
|
||||||
|
this.linkLabel1 = new System.Windows.Forms.LinkLabel();
|
||||||
|
this.button1 = new System.Windows.Forms.Button();
|
||||||
|
this.dataGridView1 = new System.Windows.Forms.DataGridView();
|
||||||
|
this.button2 = new System.Windows.Forms.Button();
|
||||||
|
this.button3 = new System.Windows.Forms.Button();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// textBox1
|
||||||
|
//
|
||||||
|
this.textBox1.Location = new System.Drawing.Point(42, 13);
|
||||||
|
this.textBox1.Name = "textBox1";
|
||||||
|
this.textBox1.Size = new System.Drawing.Size(100, 21);
|
||||||
|
this.textBox1.TabIndex = 0;
|
||||||
|
//
|
||||||
|
// linkLabel1
|
||||||
|
//
|
||||||
|
this.linkLabel1.AutoSize = true;
|
||||||
|
this.linkLabel1.Location = new System.Drawing.Point(181, 22);
|
||||||
|
this.linkLabel1.Name = "linkLabel1";
|
||||||
|
this.linkLabel1.Size = new System.Drawing.Size(59, 12);
|
||||||
|
this.linkLabel1.TabIndex = 1;
|
||||||
|
this.linkLabel1.TabStop = true;
|
||||||
|
this.linkLabel1.Text = "select file";
|
||||||
|
this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
|
||||||
|
//
|
||||||
|
// button1
|
||||||
|
//
|
||||||
|
this.button1.Location = new System.Drawing.Point(297, 8);
|
||||||
|
this.button1.Name = "button1";
|
||||||
|
this.button1.Size = new System.Drawing.Size(114, 25);
|
||||||
|
this.button1.TabIndex = 3;
|
||||||
|
this.button1.Text = "run";
|
||||||
|
this.button1.UseVisualStyleBackColor = true;
|
||||||
|
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||||
|
//
|
||||||
|
// dataGridView1
|
||||||
|
//
|
||||||
|
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||||
|
this.dataGridView1.Location = new System.Drawing.Point(47, 57);
|
||||||
|
this.dataGridView1.Name = "dataGridView1";
|
||||||
|
this.dataGridView1.RowTemplate.Height = 23;
|
||||||
|
this.dataGridView1.Size = new System.Drawing.Size(744, 413);
|
||||||
|
this.dataGridView1.TabIndex = 4;
|
||||||
|
//
|
||||||
|
// button2
|
||||||
|
//
|
||||||
|
this.button2.Location = new System.Drawing.Point(417, 9);
|
||||||
|
this.button2.Name = "button2";
|
||||||
|
this.button2.Size = new System.Drawing.Size(114, 25);
|
||||||
|
this.button2.TabIndex = 5;
|
||||||
|
this.button2.Text = "make line code";
|
||||||
|
this.button2.UseVisualStyleBackColor = true;
|
||||||
|
this.button2.Click += new System.EventHandler(this.button2_Click);
|
||||||
|
//
|
||||||
|
// button3
|
||||||
|
//
|
||||||
|
this.button3.Location = new System.Drawing.Point(537, 8);
|
||||||
|
this.button3.Name = "button3";
|
||||||
|
this.button3.Size = new System.Drawing.Size(114, 25);
|
||||||
|
this.button3.TabIndex = 6;
|
||||||
|
this.button3.Text = "make equp ment";
|
||||||
|
this.button3.UseVisualStyleBackColor = true;
|
||||||
|
this.button3.Click += new System.EventHandler(this.button3_Click);
|
||||||
|
//
|
||||||
|
// fImpEquipment
|
||||||
|
//
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
this.ClientSize = new System.Drawing.Size(836, 551);
|
||||||
|
this.Controls.Add(this.button3);
|
||||||
|
this.Controls.Add(this.button2);
|
||||||
|
this.Controls.Add(this.dataGridView1);
|
||||||
|
this.Controls.Add(this.button1);
|
||||||
|
this.Controls.Add(this.linkLabel1);
|
||||||
|
this.Controls.Add(this.textBox1);
|
||||||
|
this.Name = "fImpEquipment";
|
||||||
|
this.Text = "fImpEquipment";
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
this.PerformLayout();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private System.Windows.Forms.TextBox textBox1;
|
||||||
|
private System.Windows.Forms.LinkLabel linkLabel1;
|
||||||
|
private System.Windows.Forms.Button button1;
|
||||||
|
private System.Windows.Forms.DataGridView dataGridView1;
|
||||||
|
private System.Windows.Forms.Button button2;
|
||||||
|
private System.Windows.Forms.Button button3;
|
||||||
|
}
|
||||||
|
}
|
||||||
202
Project/_Management/fImpEquipment.cs
Normal file
202
Project/_Management/fImpEquipment.cs
Normal file
@@ -0,0 +1,202 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel;
|
||||||
|
using System.Data;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace Project._Management
|
||||||
|
{
|
||||||
|
public partial class fImpEquipment : Form
|
||||||
|
{
|
||||||
|
public fImpEquipment()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
||||||
|
{
|
||||||
|
OpenFileDialog od = new OpenFileDialog();
|
||||||
|
od.Filter = "csv|*.csv|excel|*.xls|all files|*.*";
|
||||||
|
od.FilterIndex = 1;
|
||||||
|
od.RestoreDirectory = true;
|
||||||
|
if (od.ShowDialog() != System.Windows.Forms.DialogResult.OK) return;
|
||||||
|
textBox1.Text = od.FileName;
|
||||||
|
}
|
||||||
|
|
||||||
|
private string[] getCSVFormat(string line)
|
||||||
|
{
|
||||||
|
List<string> datas = new List<string>();
|
||||||
|
var charlist = line.ToCharArray();
|
||||||
|
int c = 0;
|
||||||
|
System.Text.StringBuilder sb = new StringBuilder();
|
||||||
|
Boolean findCom = false;
|
||||||
|
foreach(var ch in charlist)
|
||||||
|
{
|
||||||
|
if(ch == '"')
|
||||||
|
{
|
||||||
|
if (findCom == false)
|
||||||
|
findCom = true;
|
||||||
|
else findCom = false;
|
||||||
|
}
|
||||||
|
else if (ch == ',')
|
||||||
|
{
|
||||||
|
if(findCom)
|
||||||
|
{
|
||||||
|
sb.Append(ch);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
datas.Add(sb.ToString());
|
||||||
|
sb.Clear();
|
||||||
|
findCom = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
else sb.Append(ch);
|
||||||
|
}
|
||||||
|
return datas.ToArray();
|
||||||
|
}
|
||||||
|
System.Data.DataTable dt = new DataTable();
|
||||||
|
private void button1_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
//데이터를 모두 읽어서 처리한다.
|
||||||
|
|
||||||
|
//엑셀파일을 읽어서 처리한다.
|
||||||
|
if(textBox1.Text.EndsWith("CSV"))
|
||||||
|
{
|
||||||
|
var lines = System.IO.File.ReadAllLines(textBox1.Text, System.Text.Encoding.Default);
|
||||||
|
int rowNum = 0;
|
||||||
|
foreach(var line in lines)
|
||||||
|
{
|
||||||
|
var buf = getCSVFormat(line);//.Split(',');
|
||||||
|
if(rowNum == 0)
|
||||||
|
{
|
||||||
|
foreach(var colname in buf)
|
||||||
|
{
|
||||||
|
dt.Columns.Add(colname);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
var newdr = dt.NewRow();
|
||||||
|
for(int c=0; c< buf.Length;c++)
|
||||||
|
{
|
||||||
|
if(c < dt.Columns.Count)
|
||||||
|
newdr[c] = buf[c];
|
||||||
|
|
||||||
|
}
|
||||||
|
dt.Rows.Add(newdr);
|
||||||
|
}
|
||||||
|
rowNum += 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
libxl.Book book;// = new libxl.BinBook();
|
||||||
|
if (textBox1.Text.EndsWith("xlsx")) book = new libxl.XmlBook();
|
||||||
|
else book = new libxl.BinBook();
|
||||||
|
|
||||||
|
book.load(textBox1.Text);
|
||||||
|
|
||||||
|
|
||||||
|
var sheet = book.getSheet(0);
|
||||||
|
for (int r = sheet.firstRow(); r <= sheet.lastRow(); r++)
|
||||||
|
{
|
||||||
|
for (int c = sheet.firstCol(); c <= sheet.lastCol(); c++)
|
||||||
|
{
|
||||||
|
var strVallue = sheet.readStr(r, c);
|
||||||
|
// //var numValue = sheet.readNum(r, c);
|
||||||
|
if (r == 0)
|
||||||
|
{
|
||||||
|
//column row
|
||||||
|
dt.Columns.Add(strVallue);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
//
|
||||||
|
book = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
this.dataGridView1.DataSource = dt;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void button2_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
dsMSSQLTableAdapters.LineCodeTableAdapter ta = new dsMSSQLTableAdapters.LineCodeTableAdapter();
|
||||||
|
var lineTd = ta.GetData();
|
||||||
|
lineTd.AcceptChanges();
|
||||||
|
//12,13
|
||||||
|
foreach(DataRow dr in dt.Rows)
|
||||||
|
{
|
||||||
|
var linecode = dr[12].ToString();
|
||||||
|
var linedesc = dr[13].ToString();
|
||||||
|
var codeDrows = lineTd.Select("code='" + linecode + "'");
|
||||||
|
if(codeDrows.Length == 0)
|
||||||
|
{
|
||||||
|
var newdr = lineTd.NewLineCodeRow();
|
||||||
|
newdr.code = linecode;
|
||||||
|
newdr.memo = linedesc;
|
||||||
|
var linebuf = linedesc.Split('-');
|
||||||
|
if (linebuf.Length > 1)
|
||||||
|
{
|
||||||
|
newdr.team = linebuf[0];
|
||||||
|
newdr.part = linebuf[1];
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
newdr.team = linedesc;
|
||||||
|
}
|
||||||
|
|
||||||
|
newdr.wuid = Pub.Login.no;
|
||||||
|
newdr.wdate = DateTime.Now;
|
||||||
|
lineTd.AddLineCodeRow(newdr);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
ta.Update(lineTd);
|
||||||
|
lineTd.AcceptChanges();
|
||||||
|
Util.MsgE("test");
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void button3_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
dsMSSQLTableAdapters.EquipmentTableAdapter ta = new dsMSSQLTableAdapters.EquipmentTableAdapter();
|
||||||
|
var lineTd = ta.GetData();
|
||||||
|
lineTd.AcceptChanges();
|
||||||
|
//12,13
|
||||||
|
foreach (DataRow dr in dt.Rows)
|
||||||
|
{
|
||||||
|
var linecode = dr[12].ToString();
|
||||||
|
var linedesc = dr[13].ToString();
|
||||||
|
var codeDrows = lineTd.Select("asset='" + dr[6].ToString() + "' and serial = '"+ dr[7].ToString() +"'");
|
||||||
|
if (codeDrows.Length == 0)
|
||||||
|
{
|
||||||
|
var newdr = lineTd.NewEquipmentRow();
|
||||||
|
newdr.pdate = DateTime.Now.ToShortDateString();
|
||||||
|
newdr.asset = dr[6].ToString();
|
||||||
|
newdr.grp = dr[0].ToString();
|
||||||
|
newdr.type = dr[2].ToString();
|
||||||
|
newdr.model = dr[3].ToString();
|
||||||
|
newdr.linecode = linecode;
|
||||||
|
newdr.serial = dr[7].ToString();
|
||||||
|
newdr.manu = dr[9].ToString();
|
||||||
|
newdr.primary = true;
|
||||||
|
newdr.wuid = Pub.Login.no;
|
||||||
|
newdr.wdate = DateTime.Now;
|
||||||
|
lineTd.AddEquipmentRow(newdr);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
ta.Update(lineTd);
|
||||||
|
lineTd.AcceptChanges();
|
||||||
|
Util.MsgE("test");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
120
Project/_Management/fImpEquipment.resx
Normal file
120
Project/_Management/fImpEquipment.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>
|
||||||
345
Project/_Management/fLineCode.Designer.cs
generated
Normal file
345
Project/_Management/fLineCode.Designer.cs
generated
Normal file
@@ -0,0 +1,345 @@
|
|||||||
|
namespace Project._Management
|
||||||
|
{
|
||||||
|
partial class fLineCode
|
||||||
|
{
|
||||||
|
/// <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.components = new System.ComponentModel.Container();
|
||||||
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fLineCode));
|
||||||
|
this.bn = new System.Windows.Forms.BindingNavigator(this.components);
|
||||||
|
this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator();
|
||||||
|
this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox();
|
||||||
|
this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
|
||||||
|
this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
||||||
|
this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
||||||
|
this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.lineCodeBindingNavigatorSaveItem = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.lineCodeDataGridView = new System.Windows.Forms.DataGridView();
|
||||||
|
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||||
|
this.dsMSSQL = new Project.dsMSSQL();
|
||||||
|
this.ta = new Project.dsMSSQLTableAdapters.LineCodeTableAdapter();
|
||||||
|
this.tam = new Project.dsMSSQLTableAdapters.TableAdapterManager();
|
||||||
|
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.except = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
|
||||||
|
this.bn.SuspendLayout();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.lineCodeDataGridView)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// bn
|
||||||
|
//
|
||||||
|
this.bn.AddNewItem = this.bindingNavigatorAddNewItem;
|
||||||
|
this.bn.BindingSource = this.bs;
|
||||||
|
this.bn.CountItem = this.bindingNavigatorCountItem;
|
||||||
|
this.bn.DeleteItem = this.bindingNavigatorDeleteItem;
|
||||||
|
this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
|
this.bindingNavigatorMoveFirstItem,
|
||||||
|
this.bindingNavigatorMovePreviousItem,
|
||||||
|
this.bindingNavigatorSeparator,
|
||||||
|
this.bindingNavigatorPositionItem,
|
||||||
|
this.bindingNavigatorCountItem,
|
||||||
|
this.bindingNavigatorSeparator1,
|
||||||
|
this.bindingNavigatorMoveNextItem,
|
||||||
|
this.bindingNavigatorMoveLastItem,
|
||||||
|
this.bindingNavigatorSeparator2,
|
||||||
|
this.bindingNavigatorAddNewItem,
|
||||||
|
this.bindingNavigatorDeleteItem,
|
||||||
|
this.lineCodeBindingNavigatorSaveItem});
|
||||||
|
this.bn.Location = new System.Drawing.Point(0, 0);
|
||||||
|
this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
|
||||||
|
this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem;
|
||||||
|
this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem;
|
||||||
|
this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
|
||||||
|
this.bn.Name = "bn";
|
||||||
|
this.bn.PositionItem = this.bindingNavigatorPositionItem;
|
||||||
|
this.bn.Size = new System.Drawing.Size(876, 25);
|
||||||
|
this.bn.TabIndex = 0;
|
||||||
|
this.bn.Text = "bindingNavigator1";
|
||||||
|
//
|
||||||
|
// bindingNavigatorMoveFirstItem
|
||||||
|
//
|
||||||
|
this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
|
this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image")));
|
||||||
|
this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
|
||||||
|
this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
|
||||||
|
this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22);
|
||||||
|
this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동";
|
||||||
|
//
|
||||||
|
// bindingNavigatorMovePreviousItem
|
||||||
|
//
|
||||||
|
this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
|
this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image")));
|
||||||
|
this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
|
||||||
|
this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
|
||||||
|
this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22);
|
||||||
|
this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동";
|
||||||
|
//
|
||||||
|
// bindingNavigatorSeparator
|
||||||
|
//
|
||||||
|
this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
|
||||||
|
this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25);
|
||||||
|
//
|
||||||
|
// bindingNavigatorPositionItem
|
||||||
|
//
|
||||||
|
this.bindingNavigatorPositionItem.AccessibleName = "위치";
|
||||||
|
this.bindingNavigatorPositionItem.AutoSize = false;
|
||||||
|
this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
|
||||||
|
this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
|
||||||
|
this.bindingNavigatorPositionItem.Text = "0";
|
||||||
|
this.bindingNavigatorPositionItem.ToolTipText = "현재 위치";
|
||||||
|
//
|
||||||
|
// bindingNavigatorCountItem
|
||||||
|
//
|
||||||
|
this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
|
||||||
|
this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22);
|
||||||
|
this.bindingNavigatorCountItem.Text = "/{0}";
|
||||||
|
this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수";
|
||||||
|
//
|
||||||
|
// bindingNavigatorSeparator1
|
||||||
|
//
|
||||||
|
this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator";
|
||||||
|
this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25);
|
||||||
|
//
|
||||||
|
// bindingNavigatorMoveNextItem
|
||||||
|
//
|
||||||
|
this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
|
this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image")));
|
||||||
|
this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
|
||||||
|
this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
|
||||||
|
this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22);
|
||||||
|
this.bindingNavigatorMoveNextItem.Text = "다음으로 이동";
|
||||||
|
//
|
||||||
|
// bindingNavigatorMoveLastItem
|
||||||
|
//
|
||||||
|
this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
|
this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image")));
|
||||||
|
this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
|
||||||
|
this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
|
||||||
|
this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22);
|
||||||
|
this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동";
|
||||||
|
//
|
||||||
|
// bindingNavigatorSeparator2
|
||||||
|
//
|
||||||
|
this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator";
|
||||||
|
this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25);
|
||||||
|
//
|
||||||
|
// bindingNavigatorAddNewItem
|
||||||
|
//
|
||||||
|
this.bindingNavigatorAddNewItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
|
this.bindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image")));
|
||||||
|
this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem";
|
||||||
|
this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true;
|
||||||
|
this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(23, 22);
|
||||||
|
this.bindingNavigatorAddNewItem.Text = "새로 추가";
|
||||||
|
//
|
||||||
|
// bindingNavigatorDeleteItem
|
||||||
|
//
|
||||||
|
this.bindingNavigatorDeleteItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
|
this.bindingNavigatorDeleteItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem.Image")));
|
||||||
|
this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem";
|
||||||
|
this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true;
|
||||||
|
this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(23, 22);
|
||||||
|
this.bindingNavigatorDeleteItem.Text = "삭제";
|
||||||
|
//
|
||||||
|
// lineCodeBindingNavigatorSaveItem
|
||||||
|
//
|
||||||
|
this.lineCodeBindingNavigatorSaveItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
|
this.lineCodeBindingNavigatorSaveItem.Image = ((System.Drawing.Image)(resources.GetObject("lineCodeBindingNavigatorSaveItem.Image")));
|
||||||
|
this.lineCodeBindingNavigatorSaveItem.Name = "lineCodeBindingNavigatorSaveItem";
|
||||||
|
this.lineCodeBindingNavigatorSaveItem.Size = new System.Drawing.Size(23, 22);
|
||||||
|
this.lineCodeBindingNavigatorSaveItem.Text = "데이터 저장";
|
||||||
|
this.lineCodeBindingNavigatorSaveItem.Click += new System.EventHandler(this.lineCodeBindingNavigatorSaveItem_Click);
|
||||||
|
//
|
||||||
|
// lineCodeDataGridView
|
||||||
|
//
|
||||||
|
this.lineCodeDataGridView.AutoGenerateColumns = false;
|
||||||
|
this.lineCodeDataGridView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
|
||||||
|
this.lineCodeDataGridView.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells;
|
||||||
|
this.lineCodeDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||||
|
this.lineCodeDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||||
|
this.dataGridViewTextBoxColumn1,
|
||||||
|
this.dataGridViewTextBoxColumn2,
|
||||||
|
this.dataGridViewTextBoxColumn3,
|
||||||
|
this.dataGridViewTextBoxColumn4,
|
||||||
|
this.except,
|
||||||
|
this.dataGridViewTextBoxColumn5,
|
||||||
|
this.dataGridViewTextBoxColumn6,
|
||||||
|
this.dataGridViewTextBoxColumn7});
|
||||||
|
this.lineCodeDataGridView.DataSource = this.bs;
|
||||||
|
this.lineCodeDataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
|
this.lineCodeDataGridView.Location = new System.Drawing.Point(0, 25);
|
||||||
|
this.lineCodeDataGridView.Name = "lineCodeDataGridView";
|
||||||
|
this.lineCodeDataGridView.RowTemplate.Height = 23;
|
||||||
|
this.lineCodeDataGridView.Size = new System.Drawing.Size(876, 528);
|
||||||
|
this.lineCodeDataGridView.TabIndex = 1;
|
||||||
|
//
|
||||||
|
// bs
|
||||||
|
//
|
||||||
|
this.bs.DataMember = "LineCode";
|
||||||
|
this.bs.DataSource = this.dsMSSQL;
|
||||||
|
//
|
||||||
|
// dsMSSQL
|
||||||
|
//
|
||||||
|
this.dsMSSQL.DataSetName = "dsMSSQL";
|
||||||
|
this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
||||||
|
//
|
||||||
|
// ta
|
||||||
|
//
|
||||||
|
this.ta.ClearBeforeFill = true;
|
||||||
|
//
|
||||||
|
// tam
|
||||||
|
//
|
||||||
|
this.tam.BackupDataSetBeforeUpdate = false;
|
||||||
|
this.tam.EquipmentTableAdapter = null;
|
||||||
|
this.tam.InventoryTableAdapter = null;
|
||||||
|
this.tam.ItemsTableAdapter = null;
|
||||||
|
this.tam.LineCodeTableAdapter = this.ta;
|
||||||
|
this.tam.ProjectsTableAdapter = null;
|
||||||
|
this.tam.UpdateOrder = Project.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
|
||||||
|
this.tam.UsersTableAdapter = null;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn1
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn1.DataPropertyName = "idx";
|
||||||
|
this.dataGridViewTextBoxColumn1.HeaderText = "idx";
|
||||||
|
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
|
||||||
|
this.dataGridViewTextBoxColumn1.ReadOnly = true;
|
||||||
|
this.dataGridViewTextBoxColumn1.Width = 47;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn2
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn2.DataPropertyName = "code";
|
||||||
|
this.dataGridViewTextBoxColumn2.HeaderText = "code";
|
||||||
|
this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
|
||||||
|
this.dataGridViewTextBoxColumn2.Width = 58;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn3
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn3.DataPropertyName = "team";
|
||||||
|
this.dataGridViewTextBoxColumn3.HeaderText = "team";
|
||||||
|
this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
|
||||||
|
this.dataGridViewTextBoxColumn3.Width = 58;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn4
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn4.DataPropertyName = "part";
|
||||||
|
this.dataGridViewTextBoxColumn4.HeaderText = "part";
|
||||||
|
this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
|
||||||
|
this.dataGridViewTextBoxColumn4.Width = 51;
|
||||||
|
//
|
||||||
|
// except
|
||||||
|
//
|
||||||
|
this.except.DataPropertyName = "except";
|
||||||
|
this.except.HeaderText = "except";
|
||||||
|
this.except.Name = "except";
|
||||||
|
this.except.Width = 49;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn5
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn5.DataPropertyName = "memo";
|
||||||
|
this.dataGridViewTextBoxColumn5.HeaderText = "memo";
|
||||||
|
this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
|
||||||
|
this.dataGridViewTextBoxColumn5.Width = 66;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn6
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn6.DataPropertyName = "wuid";
|
||||||
|
this.dataGridViewTextBoxColumn6.HeaderText = "wuid";
|
||||||
|
this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
|
||||||
|
this.dataGridViewTextBoxColumn6.Width = 57;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn7
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn7.DataPropertyName = "wdate";
|
||||||
|
this.dataGridViewTextBoxColumn7.HeaderText = "wdate";
|
||||||
|
this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
|
||||||
|
this.dataGridViewTextBoxColumn7.Width = 64;
|
||||||
|
//
|
||||||
|
// fLineCode
|
||||||
|
//
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
this.ClientSize = new System.Drawing.Size(876, 553);
|
||||||
|
this.Controls.Add(this.lineCodeDataGridView);
|
||||||
|
this.Controls.Add(this.bn);
|
||||||
|
this.Name = "fLineCode";
|
||||||
|
this.Text = "fLineCode";
|
||||||
|
this.Load += new System.EventHandler(this.fLineCode_Load);
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit();
|
||||||
|
this.bn.ResumeLayout(false);
|
||||||
|
this.bn.PerformLayout();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.lineCodeDataGridView)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit();
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
this.PerformLayout();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private dsMSSQL dsMSSQL;
|
||||||
|
private System.Windows.Forms.BindingSource bs;
|
||||||
|
private dsMSSQLTableAdapters.LineCodeTableAdapter ta;
|
||||||
|
private dsMSSQLTableAdapters.TableAdapterManager tam;
|
||||||
|
private System.Windows.Forms.BindingNavigator bn;
|
||||||
|
private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem;
|
||||||
|
private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem;
|
||||||
|
private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem;
|
||||||
|
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem;
|
||||||
|
private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem;
|
||||||
|
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator;
|
||||||
|
private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem;
|
||||||
|
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1;
|
||||||
|
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem;
|
||||||
|
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem;
|
||||||
|
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2;
|
||||||
|
private System.Windows.Forms.ToolStripButton lineCodeBindingNavigatorSaveItem;
|
||||||
|
private System.Windows.Forms.DataGridView lineCodeDataGridView;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
|
||||||
|
private System.Windows.Forms.DataGridViewCheckBoxColumn except;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn5;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn6;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn7;
|
||||||
|
}
|
||||||
|
}
|
||||||
41
Project/_Management/fLineCode.cs
Normal file
41
Project/_Management/fLineCode.cs
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel;
|
||||||
|
using System.Data;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace Project._Management
|
||||||
|
{
|
||||||
|
public partial class fLineCode : Form
|
||||||
|
{
|
||||||
|
public fLineCode()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void lineCodeBindingNavigatorSaveItem_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
this.Validate();
|
||||||
|
this.bs.EndEdit();
|
||||||
|
this.tam.UpdateAll(this.dsMSSQL);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void fLineCode_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
// TODO: 이 코드는 데이터를 'dsMSSQL.LineCode' 테이블에 로드합니다. 필요한 경우 이 코드를 이동하거나 제거할 수 있습니다.
|
||||||
|
this.ta.Fill(this.dsMSSQL.LineCode);
|
||||||
|
this.dsMSSQL.LineCode.TableNewRow += LineCode_TableNewRow;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void LineCode_TableNewRow(object sender, DataTableNewRowEventArgs e)
|
||||||
|
{
|
||||||
|
e.Row["wuid"] = Pub.Login.no;
|
||||||
|
e.Row["wdate"] = DateTime.Now;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
213
Project/_Management/fLineCode.resx
Normal file
213
Project/_Management/fLineCode.resx
Normal file
@@ -0,0 +1,213 @@
|
|||||||
|
<?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="bn.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>321, 17</value>
|
||||||
|
</metadata>
|
||||||
|
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||||
|
<data name="bindingNavigatorAddNewItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
|
wwAADsMBx2+oZAAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC
|
||||||
|
pBtwfjov3ICDPSKkG3B8kiBQc93/Pw+q/u9oFydswKWZPP/PTuX7fxKo8Ui/0P993SJAzeX//94r+r++
|
||||||
|
Qeb/qhq5/0srFf/PL1X+P6tIFdPAU0B//nlYD9RUC8SV///cKwHivP9/72b+/3sn+f/f23H//92MAOKQ
|
||||||
|
/5NyNDENONQrDHbu3/ulQI0FQI3ZQI2pQI0J///digZqDPv/70bQ/3/X/f53peliGrCzXeL/lmap/+vA
|
||||||
|
zpX/v6RC8f/fWzFAjeH/p+Zp/J+QpfW/O0P3f3uq/v/mREPCYTIb6E+Qc//dCPjfk6FDWAM6APnz3w1/
|
||||||
|
IPb735qsT7oB3em6YP+CcH2cEekGtCQZ/G+IN/xfE2v8vzLahHQD6AQYGAAkI9iedfyIaQAAAABJRU5E
|
||||||
|
rkJggg==
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>122, 17</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>17, 17</value>
|
||||||
|
</metadata>
|
||||||
|
<data name="bindingNavigatorDeleteItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
|
wwAADsMBx2+oZAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC
|
||||||
|
DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC
|
||||||
|
rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV
|
||||||
|
i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG
|
||||||
|
86CNhdrsX9a/uQZTPhQl4rMY4OLofbl3aX7I8uwPC7y/g1YdjyVJuEvT8e1tfwUYteHUxCCfHChDeHmG
|
||||||
|
QQvokjlOU+PbWA0x3pZnILVVI3uvQyHsbiLnqnGmRCF1NYD8pDhpRxOH7HQoAKZGkFKjceszQbpSrumX
|
||||||
|
bO+G80MFwKUTxgfgcO/b8D9IpXoFiiMDHIQm0skAAAAASUVORK5CYII=
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
|
wwAADsMBx2+oZAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77
|
||||||
|
wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0
|
||||||
|
v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg
|
||||||
|
UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA
|
||||||
|
Iu/O/9T+11gVGSSd+C+b9vW/bvA83AYYZt3+H9byEqci/dTL/zV8p+E2QCftxn+/6od4Fal4TMBtgFPu
|
||||||
|
lf8gBXgVDULAwAAA8HbAq6XlmnAAAAAASUVORK5CYII=
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="bindingNavigatorMovePreviousItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
|
wwAADsMBx2+oZAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w
|
||||||
|
5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f
|
||||||
|
Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+
|
||||||
|
08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="bindingNavigatorMoveNextItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
|
wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
|
||||||
|
n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI
|
||||||
|
N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f
|
||||||
|
oAc0QjgAAAAASUVORK5CYII=
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="bindingNavigatorMoveLastItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
|
wwAADsMBx2+oZAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+//
|
||||||
|
h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B
|
||||||
|
twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA
|
||||||
|
kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG
|
||||||
|
WOTd+W9TcAVDMwiA5FL7X8O9hBUYZt3GqhkEQHJhLS//6wbPw22ATtoNnJIgOb/qh/81fKfhNgAfcMq9
|
||||||
|
8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg==
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="lineCodeBindingNavigatorSaveItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
|
wwAADsMBx2+oZAAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo
|
||||||
|
dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII=
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<metadata name="except.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>17, 17</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>186, 17</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="tam.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>248, 17</value>
|
||||||
|
</metadata>
|
||||||
|
</root>
|
||||||
89
Project/_Management/rpt_equipment.Designer.cs
generated
Normal file
89
Project/_Management/rpt_equipment.Designer.cs
generated
Normal file
@@ -0,0 +1,89 @@
|
|||||||
|
namespace Project._Management
|
||||||
|
{
|
||||||
|
partial class rpt_equipment
|
||||||
|
{
|
||||||
|
/// <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.components = new System.ComponentModel.Container();
|
||||||
|
Microsoft.Reporting.WinForms.ReportDataSource reportDataSource1 = new Microsoft.Reporting.WinForms.ReportDataSource();
|
||||||
|
this.reportViewer1 = new Microsoft.Reporting.WinForms.ReportViewer();
|
||||||
|
this.dsMSSQL = new Project.dsMSSQL();
|
||||||
|
this.vEquStockBindingSource = new System.Windows.Forms.BindingSource(this.components);
|
||||||
|
this.vEquStockTableAdapter = new Project.dsMSSQLTableAdapters.vEquStockTableAdapter();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.vEquStockBindingSource)).BeginInit();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// reportViewer1
|
||||||
|
//
|
||||||
|
this.reportViewer1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
|
reportDataSource1.Name = "DataSet1";
|
||||||
|
reportDataSource1.Value = this.vEquStockBindingSource;
|
||||||
|
this.reportViewer1.LocalReport.DataSources.Add(reportDataSource1);
|
||||||
|
this.reportViewer1.LocalReport.ReportEmbeddedResource = "Project._Management.Report1.rdlc";
|
||||||
|
this.reportViewer1.Location = new System.Drawing.Point(0, 0);
|
||||||
|
this.reportViewer1.Name = "reportViewer1";
|
||||||
|
this.reportViewer1.Size = new System.Drawing.Size(1238, 731);
|
||||||
|
this.reportViewer1.TabIndex = 0;
|
||||||
|
//
|
||||||
|
// dsMSSQL
|
||||||
|
//
|
||||||
|
this.dsMSSQL.DataSetName = "dsMSSQL";
|
||||||
|
this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
||||||
|
//
|
||||||
|
// vEquStockBindingSource
|
||||||
|
//
|
||||||
|
this.vEquStockBindingSource.DataMember = "vEquStock";
|
||||||
|
this.vEquStockBindingSource.DataSource = this.dsMSSQL;
|
||||||
|
//
|
||||||
|
// vEquStockTableAdapter
|
||||||
|
//
|
||||||
|
this.vEquStockTableAdapter.ClearBeforeFill = true;
|
||||||
|
//
|
||||||
|
// rpt_equipment
|
||||||
|
//
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
this.ClientSize = new System.Drawing.Size(1238, 731);
|
||||||
|
this.Controls.Add(this.reportViewer1);
|
||||||
|
this.Name = "rpt_equipment";
|
||||||
|
this.Text = "rpt_equipment";
|
||||||
|
this.Load += new System.EventHandler(this.rpt_equipment_Load);
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.vEquStockBindingSource)).EndInit();
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private Microsoft.Reporting.WinForms.ReportViewer reportViewer1;
|
||||||
|
private dsMSSQL dsMSSQL;
|
||||||
|
private System.Windows.Forms.BindingSource vEquStockBindingSource;
|
||||||
|
private dsMSSQLTableAdapters.vEquStockTableAdapter vEquStockTableAdapter;
|
||||||
|
}
|
||||||
|
}
|
||||||
26
Project/_Management/rpt_equipment.cs
Normal file
26
Project/_Management/rpt_equipment.cs
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel;
|
||||||
|
using System.Data;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace Project._Management
|
||||||
|
{
|
||||||
|
public partial class rpt_equipment : Form
|
||||||
|
{
|
||||||
|
public rpt_equipment()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void rpt_equipment_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
// TODO: 이 코드는 데이터를 'dsMSSQL.vEquStock' 테이블에 로드합니다. 필요한 경우 이 코드를 이동하거나 제거할 수 있습니다.
|
||||||
|
this.vEquStockTableAdapter.Fill(this.dsMSSQL.vEquStock);
|
||||||
|
this.reportViewer1.RefreshReport();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
129
Project/_Management/rpt_equipment.resx
Normal file
129
Project/_Management/rpt_equipment.resx
Normal file
@@ -0,0 +1,129 @@
|
|||||||
|
<?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="vEquStockBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>122, 17</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>17, 17</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="vEquStockTableAdapter.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>312, 17</value>
|
||||||
|
</metadata>
|
||||||
|
</root>
|
||||||
380
Project/_Prj/fProjectList.Designer.cs
generated
Normal file
380
Project/_Prj/fProjectList.Designer.cs
generated
Normal file
@@ -0,0 +1,380 @@
|
|||||||
|
namespace Project.Prj
|
||||||
|
{
|
||||||
|
partial class fProjectList
|
||||||
|
{
|
||||||
|
/// <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.components = new System.ComponentModel.Container();
|
||||||
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fProjectList));
|
||||||
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||||
|
this.dsMSSQL = new Project.dsMSSQL();
|
||||||
|
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||||
|
this.ta = new Project.dsMSSQLTableAdapters.ProjectsTableAdapter();
|
||||||
|
this.tam = new Project.dsMSSQLTableAdapters.TableAdapterManager();
|
||||||
|
this.bn = new System.Windows.Forms.BindingNavigator(this.components);
|
||||||
|
this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
|
||||||
|
this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator();
|
||||||
|
this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox();
|
||||||
|
this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
||||||
|
this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
||||||
|
this.projectsBindingNavigatorSaveItem = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.projectsDataGridView = new System.Windows.Forms.DataGridView();
|
||||||
|
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.dataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
|
||||||
|
this.bn.SuspendLayout();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.projectsDataGridView)).BeginInit();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// dsMSSQL
|
||||||
|
//
|
||||||
|
this.dsMSSQL.DataSetName = "dsMSSQL";
|
||||||
|
this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
||||||
|
//
|
||||||
|
// bs
|
||||||
|
//
|
||||||
|
this.bs.DataMember = "Projects";
|
||||||
|
this.bs.DataSource = this.dsMSSQL;
|
||||||
|
//
|
||||||
|
// ta
|
||||||
|
//
|
||||||
|
this.ta.ClearBeforeFill = true;
|
||||||
|
//
|
||||||
|
// tam
|
||||||
|
//
|
||||||
|
this.tam.BackupDataSetBeforeUpdate = false;
|
||||||
|
this.tam.InventoryTableAdapter = null;
|
||||||
|
this.tam.ItemsTableAdapter = null;
|
||||||
|
this.tam.ProjectsTableAdapter = this.ta;
|
||||||
|
this.tam.UpdateOrder = Project.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
|
||||||
|
this.tam.UsersTableAdapter = null;
|
||||||
|
//
|
||||||
|
// bn
|
||||||
|
//
|
||||||
|
this.bn.AddNewItem = this.bindingNavigatorAddNewItem;
|
||||||
|
this.bn.BindingSource = this.bs;
|
||||||
|
this.bn.CountItem = this.bindingNavigatorCountItem;
|
||||||
|
this.bn.DeleteItem = this.bindingNavigatorDeleteItem;
|
||||||
|
this.bn.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||||
|
this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
|
this.bindingNavigatorMoveFirstItem,
|
||||||
|
this.bindingNavigatorMovePreviousItem,
|
||||||
|
this.bindingNavigatorSeparator,
|
||||||
|
this.bindingNavigatorPositionItem,
|
||||||
|
this.bindingNavigatorCountItem,
|
||||||
|
this.bindingNavigatorSeparator1,
|
||||||
|
this.bindingNavigatorMoveNextItem,
|
||||||
|
this.bindingNavigatorMoveLastItem,
|
||||||
|
this.bindingNavigatorSeparator2,
|
||||||
|
this.bindingNavigatorAddNewItem,
|
||||||
|
this.bindingNavigatorDeleteItem,
|
||||||
|
this.projectsBindingNavigatorSaveItem});
|
||||||
|
this.bn.Location = new System.Drawing.Point(0, 364);
|
||||||
|
this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
|
||||||
|
this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem;
|
||||||
|
this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem;
|
||||||
|
this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
|
||||||
|
this.bn.Name = "bn";
|
||||||
|
this.bn.PositionItem = this.bindingNavigatorPositionItem;
|
||||||
|
this.bn.Size = new System.Drawing.Size(738, 25);
|
||||||
|
this.bn.TabIndex = 0;
|
||||||
|
this.bn.Text = "bindingNavigator1";
|
||||||
|
//
|
||||||
|
// bindingNavigatorAddNewItem
|
||||||
|
//
|
||||||
|
this.bindingNavigatorAddNewItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
|
this.bindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image")));
|
||||||
|
this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem";
|
||||||
|
this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true;
|
||||||
|
this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(23, 22);
|
||||||
|
this.bindingNavigatorAddNewItem.Text = "새로 추가";
|
||||||
|
//
|
||||||
|
// bindingNavigatorCountItem
|
||||||
|
//
|
||||||
|
this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
|
||||||
|
this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22);
|
||||||
|
this.bindingNavigatorCountItem.Text = "/{0}";
|
||||||
|
this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수";
|
||||||
|
//
|
||||||
|
// bindingNavigatorDeleteItem
|
||||||
|
//
|
||||||
|
this.bindingNavigatorDeleteItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
|
this.bindingNavigatorDeleteItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem.Image")));
|
||||||
|
this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem";
|
||||||
|
this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true;
|
||||||
|
this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(23, 22);
|
||||||
|
this.bindingNavigatorDeleteItem.Text = "삭제";
|
||||||
|
//
|
||||||
|
// bindingNavigatorMoveFirstItem
|
||||||
|
//
|
||||||
|
this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
|
this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image")));
|
||||||
|
this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
|
||||||
|
this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
|
||||||
|
this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22);
|
||||||
|
this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동";
|
||||||
|
//
|
||||||
|
// bindingNavigatorMovePreviousItem
|
||||||
|
//
|
||||||
|
this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
|
this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image")));
|
||||||
|
this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
|
||||||
|
this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
|
||||||
|
this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22);
|
||||||
|
this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동";
|
||||||
|
//
|
||||||
|
// bindingNavigatorSeparator
|
||||||
|
//
|
||||||
|
this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
|
||||||
|
this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25);
|
||||||
|
//
|
||||||
|
// bindingNavigatorPositionItem
|
||||||
|
//
|
||||||
|
this.bindingNavigatorPositionItem.AccessibleName = "위치";
|
||||||
|
this.bindingNavigatorPositionItem.AutoSize = false;
|
||||||
|
this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
|
||||||
|
this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
|
||||||
|
this.bindingNavigatorPositionItem.Text = "0";
|
||||||
|
this.bindingNavigatorPositionItem.ToolTipText = "현재 위치";
|
||||||
|
//
|
||||||
|
// bindingNavigatorSeparator1
|
||||||
|
//
|
||||||
|
this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1";
|
||||||
|
this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25);
|
||||||
|
//
|
||||||
|
// bindingNavigatorMoveNextItem
|
||||||
|
//
|
||||||
|
this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
|
this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image")));
|
||||||
|
this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
|
||||||
|
this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
|
||||||
|
this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22);
|
||||||
|
this.bindingNavigatorMoveNextItem.Text = "다음으로 이동";
|
||||||
|
//
|
||||||
|
// bindingNavigatorMoveLastItem
|
||||||
|
//
|
||||||
|
this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
|
this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image")));
|
||||||
|
this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
|
||||||
|
this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
|
||||||
|
this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22);
|
||||||
|
this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동";
|
||||||
|
//
|
||||||
|
// bindingNavigatorSeparator2
|
||||||
|
//
|
||||||
|
this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
|
||||||
|
this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25);
|
||||||
|
//
|
||||||
|
// projectsBindingNavigatorSaveItem
|
||||||
|
//
|
||||||
|
this.projectsBindingNavigatorSaveItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
|
this.projectsBindingNavigatorSaveItem.Image = ((System.Drawing.Image)(resources.GetObject("projectsBindingNavigatorSaveItem.Image")));
|
||||||
|
this.projectsBindingNavigatorSaveItem.Name = "projectsBindingNavigatorSaveItem";
|
||||||
|
this.projectsBindingNavigatorSaveItem.Size = new System.Drawing.Size(23, 22);
|
||||||
|
this.projectsBindingNavigatorSaveItem.Text = "데이터 저장";
|
||||||
|
this.projectsBindingNavigatorSaveItem.Click += new System.EventHandler(this.projectsBindingNavigatorSaveItem_Click);
|
||||||
|
//
|
||||||
|
// projectsDataGridView
|
||||||
|
//
|
||||||
|
this.projectsDataGridView.AllowUserToAddRows = false;
|
||||||
|
this.projectsDataGridView.AutoGenerateColumns = false;
|
||||||
|
this.projectsDataGridView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
|
||||||
|
this.projectsDataGridView.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells;
|
||||||
|
this.projectsDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||||
|
this.projectsDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||||
|
this.dataGridViewTextBoxColumn1,
|
||||||
|
this.dataGridViewTextBoxColumn2,
|
||||||
|
this.dataGridViewTextBoxColumn3,
|
||||||
|
this.dataGridViewTextBoxColumn4,
|
||||||
|
this.dataGridViewTextBoxColumn5,
|
||||||
|
this.dataGridViewTextBoxColumn6,
|
||||||
|
this.dataGridViewTextBoxColumn7,
|
||||||
|
this.dataGridViewTextBoxColumn8,
|
||||||
|
this.dataGridViewTextBoxColumn9,
|
||||||
|
this.dataGridViewTextBoxColumn10,
|
||||||
|
this.dataGridViewTextBoxColumn11});
|
||||||
|
this.projectsDataGridView.DataSource = this.bs;
|
||||||
|
this.projectsDataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
|
this.projectsDataGridView.Location = new System.Drawing.Point(0, 0);
|
||||||
|
this.projectsDataGridView.Name = "projectsDataGridView";
|
||||||
|
this.projectsDataGridView.RowTemplate.Height = 23;
|
||||||
|
this.projectsDataGridView.Size = new System.Drawing.Size(738, 364);
|
||||||
|
this.projectsDataGridView.TabIndex = 1;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn1
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn1.DataPropertyName = "idx";
|
||||||
|
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||||
|
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||||
|
this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle1;
|
||||||
|
this.dataGridViewTextBoxColumn1.HeaderText = "idx";
|
||||||
|
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
|
||||||
|
this.dataGridViewTextBoxColumn1.ReadOnly = true;
|
||||||
|
this.dataGridViewTextBoxColumn1.Width = 47;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn2
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn2.DataPropertyName = "name";
|
||||||
|
this.dataGridViewTextBoxColumn2.HeaderText = "name";
|
||||||
|
this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
|
||||||
|
this.dataGridViewTextBoxColumn2.Width = 62;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn3
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn3.DataPropertyName = "pdate";
|
||||||
|
this.dataGridViewTextBoxColumn3.HeaderText = "pdate";
|
||||||
|
this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
|
||||||
|
this.dataGridViewTextBoxColumn3.Width = 61;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn4
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn4.DataPropertyName = "request";
|
||||||
|
this.dataGridViewTextBoxColumn4.HeaderText = "request";
|
||||||
|
this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
|
||||||
|
this.dataGridViewTextBoxColumn4.Width = 72;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn5
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn5.DataPropertyName = "reqstaff";
|
||||||
|
this.dataGridViewTextBoxColumn5.HeaderText = "reqstaff";
|
||||||
|
this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
|
||||||
|
this.dataGridViewTextBoxColumn5.Width = 71;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn6
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn6.DataPropertyName = "sdate";
|
||||||
|
this.dataGridViewTextBoxColumn6.HeaderText = "sdate";
|
||||||
|
this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
|
||||||
|
this.dataGridViewTextBoxColumn6.Width = 61;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn7
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn7.DataPropertyName = "edate";
|
||||||
|
this.dataGridViewTextBoxColumn7.HeaderText = "edate";
|
||||||
|
this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
|
||||||
|
this.dataGridViewTextBoxColumn7.Width = 61;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn8
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn8.DataPropertyName = "odate";
|
||||||
|
this.dataGridViewTextBoxColumn8.HeaderText = "odate";
|
||||||
|
this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
|
||||||
|
this.dataGridViewTextBoxColumn8.Width = 61;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn9
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn9.DataPropertyName = "memo";
|
||||||
|
this.dataGridViewTextBoxColumn9.HeaderText = "memo";
|
||||||
|
this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9";
|
||||||
|
this.dataGridViewTextBoxColumn9.Width = 66;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn10
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn10.DataPropertyName = "wuid";
|
||||||
|
this.dataGridViewTextBoxColumn10.HeaderText = "wuid";
|
||||||
|
this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10";
|
||||||
|
this.dataGridViewTextBoxColumn10.Width = 57;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn11
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn11.DataPropertyName = "wdate";
|
||||||
|
this.dataGridViewTextBoxColumn11.HeaderText = "wdate";
|
||||||
|
this.dataGridViewTextBoxColumn11.Name = "dataGridViewTextBoxColumn11";
|
||||||
|
this.dataGridViewTextBoxColumn11.Width = 64;
|
||||||
|
//
|
||||||
|
// fProjectList
|
||||||
|
//
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
this.ClientSize = new System.Drawing.Size(738, 389);
|
||||||
|
this.Controls.Add(this.projectsDataGridView);
|
||||||
|
this.Controls.Add(this.bn);
|
||||||
|
this.Name = "fProjectList";
|
||||||
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
||||||
|
this.Text = "fProjectList";
|
||||||
|
this.Load += new System.EventHandler(this.fProjectList_Load);
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit();
|
||||||
|
this.bn.ResumeLayout(false);
|
||||||
|
this.bn.PerformLayout();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.projectsDataGridView)).EndInit();
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
this.PerformLayout();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private dsMSSQL dsMSSQL;
|
||||||
|
private System.Windows.Forms.BindingSource bs;
|
||||||
|
private dsMSSQLTableAdapters.ProjectsTableAdapter ta;
|
||||||
|
private dsMSSQLTableAdapters.TableAdapterManager tam;
|
||||||
|
private System.Windows.Forms.BindingNavigator bn;
|
||||||
|
private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem;
|
||||||
|
private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem;
|
||||||
|
private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem;
|
||||||
|
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem;
|
||||||
|
private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem;
|
||||||
|
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator;
|
||||||
|
private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem;
|
||||||
|
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1;
|
||||||
|
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem;
|
||||||
|
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem;
|
||||||
|
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2;
|
||||||
|
private System.Windows.Forms.ToolStripButton projectsBindingNavigatorSaveItem;
|
||||||
|
private System.Windows.Forms.DataGridView projectsDataGridView;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn5;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn6;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn7;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn8;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn9;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn10;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn11;
|
||||||
|
}
|
||||||
|
}
|
||||||
41
Project/_Prj/fProjectList.cs
Normal file
41
Project/_Prj/fProjectList.cs
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel;
|
||||||
|
using System.Data;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace Project.Prj
|
||||||
|
{
|
||||||
|
public partial class fProjectList : Form
|
||||||
|
{
|
||||||
|
public fProjectList()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void projectsBindingNavigatorSaveItem_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
this.Validate();
|
||||||
|
this.bs.EndEdit();
|
||||||
|
this.tam.UpdateAll(this.dsMSSQL);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void fProjectList_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
// TODO: 이 코드는 데이터를 'dsMSSQL.Projects' 테이블에 로드합니다. 필요한 경우 이 코드를 이동하거나 제거할 수 있습니다.
|
||||||
|
this.ta.Fill(this.dsMSSQL.Projects);
|
||||||
|
this.dsMSSQL.Projects.TableNewRow += Projects_TableNewRow;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void Projects_TableNewRow(object sender, DataTableNewRowEventArgs e)
|
||||||
|
{
|
||||||
|
e.Row["wuid"] = Pub.Login.no;
|
||||||
|
e.Row["wdate"] = DateTime.Now;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
207
Project/_Prj/fProjectList.resx
Normal file
207
Project/_Prj/fProjectList.resx
Normal file
@@ -0,0 +1,207 @@
|
|||||||
|
<?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="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>17, 17</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>122, 17</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>186, 17</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="tam.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>248, 17</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="bn.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>321, 17</value>
|
||||||
|
</metadata>
|
||||||
|
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||||
|
<data name="bindingNavigatorAddNewItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
|
wwAADsMBx2+oZAAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC
|
||||||
|
pBtwfjov3ICDPSKkG3B8kiBQc93/Pw+q/u9oFydswKWZPP/PTuX7fxKo8Ui/0P993SJAzeX//94r+r++
|
||||||
|
Qeb/qhq5/0srFf/PL1X+P6tIFdPAU0B//nlYD9RUC8SV///cKwHivP9/72b+/3sn+f/f23H//92MAOKQ
|
||||||
|
/5NyNDENONQrDHbu3/ulQI0FQI3ZQI2pQI0J///digZqDPv/70bQ/3/X/f53peliGrCzXeL/lmap/+vA
|
||||||
|
zpX/v6RC8f/fWzFAjeH/p+Zp/J+QpfW/O0P3f3uq/v/mREPCYTIb6E+Qc//dCPjfk6FDWAM6APnz3w1/
|
||||||
|
IPb735qsT7oB3em6YP+CcH2cEekGtCQZ/G+IN/xfE2v8vzLahHQD6AQYGAAkI9iedfyIaQAAAABJRU5E
|
||||||
|
rkJggg==
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="bindingNavigatorDeleteItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
|
wwAADsMBx2+oZAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC
|
||||||
|
DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC
|
||||||
|
rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV
|
||||||
|
i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG
|
||||||
|
86CNhdrsX9a/uQZTPhQl4rMY4OLofbl3aX7I8uwPC7y/g1YdjyVJuEvT8e1tfwUYteHUxCCfHChDeHmG
|
||||||
|
QQvokjlOU+PbWA0x3pZnILVVI3uvQyHsbiLnqnGmRCF1NYD8pDhpRxOH7HQoAKZGkFKjceszQbpSrumX
|
||||||
|
bO+G80MFwKUTxgfgcO/b8D9IpXoFiiMDHIQm0skAAAAASUVORK5CYII=
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
|
wwAADsMBx2+oZAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77
|
||||||
|
wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0
|
||||||
|
v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg
|
||||||
|
UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA
|
||||||
|
Iu/O/9T+11gVGSSd+C+b9vW/bvA83AYYZt3+H9byEqci/dTL/zV8p+E2QCftxn+/6od4Fal4TMBtgFPu
|
||||||
|
lf8gBXgVDULAwAAA8HbAq6XlmnAAAAAASUVORK5CYII=
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="bindingNavigatorMovePreviousItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
|
wwAADsMBx2+oZAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w
|
||||||
|
5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f
|
||||||
|
Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+
|
||||||
|
08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="bindingNavigatorMoveNextItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
|
wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
|
||||||
|
n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI
|
||||||
|
N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f
|
||||||
|
oAc0QjgAAAAASUVORK5CYII=
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="bindingNavigatorMoveLastItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
|
wwAADsMBx2+oZAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+//
|
||||||
|
h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B
|
||||||
|
twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA
|
||||||
|
kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG
|
||||||
|
WOTd+W9TcAVDMwiA5FL7X8O9hBUYZt3GqhkEQHJhLS//6wbPw22ATtoNnJIgOb/qh/81fKfhNgAfcMq9
|
||||||
|
8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg==
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="projectsBindingNavigatorSaveItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
|
wwAADsMBx2+oZAAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo
|
||||||
|
dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII=
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
</root>
|
||||||
9
Project/app.config
Normal file
9
Project/app.config
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<configuration>
|
||||||
|
<configSections>
|
||||||
|
</configSections>
|
||||||
|
<connectionStrings>
|
||||||
|
<add name="Project.Properties.Settings.gwcs" connectionString="Data Source=10.131.36.205;Initial Catalog=GroupWare;Persist Security Info=True;User ID=gw;Password=Amkor123!"
|
||||||
|
providerName="System.Data.SqlClient" />
|
||||||
|
</connectionStrings>
|
||||||
|
</configuration>
|
||||||
BIN
Project/bin/debug/ArLog.Net4.dll
Normal file
BIN
Project/bin/debug/ArLog.Net4.dll
Normal file
Binary file not shown.
BIN
Project/bin/debug/ArSetting.Net4.dll
Normal file
BIN
Project/bin/debug/ArSetting.Net4.dll
Normal file
Binary file not shown.
BIN
Project/bin/debug/CarlosAg.ExcelXmlWriter.dll
Normal file
BIN
Project/bin/debug/CarlosAg.ExcelXmlWriter.dll
Normal file
Binary file not shown.
3
Project/bin/debug/Counter.xml
Normal file
3
Project/bin/debug/Counter.xml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<tindevil xmlns="http://tindevil.com">
|
||||||
|
</tindevil>
|
||||||
28
Project/bin/debug/Language/Kor.ini
Normal file
28
Project/bin/debug/Language/Kor.ini
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
MSG0001=종료하시겠습니까?
|
||||||
|
MSG0002=확인
|
||||||
|
MSG0003=오류
|
||||||
|
MSG0004=아니오
|
||||||
|
MSG0005=예
|
||||||
|
MSG0006=This is not the registered LOT.
|
||||||
|
MSG0007=Barcode mismatch.
|
||||||
|
MSG0008=Barcode OK
|
||||||
|
MSG0009=Input Relay State Error
|
||||||
|
MSG0010=This User number is not registered.
|
||||||
|
MSG0011=The end date is smaller than the start date
|
||||||
|
MSG0012=Do you want to check the file?
|
||||||
|
MSG0013=Please enter a barcode.
|
||||||
|
MSG0014=The same barcode has been entered
|
||||||
|
MSG0015=Input complete
|
||||||
|
MSG0016=HISTORY
|
||||||
|
MSG0017=LOGOUT
|
||||||
|
MSG0018=LOGIN
|
||||||
|
MSG0019=MOD
|
||||||
|
MSG0020=SET
|
||||||
|
MSG0021=RESET
|
||||||
|
MSG0022=Result
|
||||||
|
MSG0023=Log
|
||||||
|
MSG0024=History
|
||||||
|
MSG0025=Input sensor condition not completed.
|
||||||
|
MSG0026=Login is required.
|
||||||
|
MSG0027=Not a registered user.
|
||||||
|
MSG0028=Not Data
|
||||||
59
Project/bin/debug/Log/2018/05/10/20180510.txt
Normal file
59
Project/bin/debug/Log/2018/05/10/20180510.txt
Normal file
@@ -0,0 +1,59 @@
|
|||||||
|
2018-05-10 23:42:11.766 ERROR dio init error : The device is not available
|
||||||
|
2018-05-10 23:42:11.771 NORMAL ModelData Load : Usersfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Users.csv
|
||||||
|
2018-05-10 23:42:11.772 ERROR ▣ No Data
|
||||||
|
2018-05-10 23:42:11.772 NORMAL ModelData Load : Modelfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Model.csv
|
||||||
|
2018-05-10 23:42:11.772 ERROR ▣ No Data
|
||||||
|
2018-05-10 23:42:11.773 INFO model data listUsers : 0건
|
||||||
|
Model : 0건
|
||||||
|
|
||||||
|
2018-05-10 23:42:11.774 NORMAL Program Start
|
||||||
|
2018-05-10 23:43:30.175 ERROR dio init error : The device is not available
|
||||||
|
2018-05-10 23:43:30.180 NORMAL ModelData Load : Usersfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Users.csv
|
||||||
|
2018-05-10 23:43:30.185 ERROR ▣ No Data
|
||||||
|
2018-05-10 23:43:30.185 NORMAL ModelData Load : Modelfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Model.csv
|
||||||
|
2018-05-10 23:43:30.186 ERROR ▣ No Data
|
||||||
|
2018-05-10 23:43:30.186 INFO model data listUsers : 0건
|
||||||
|
Model : 0건
|
||||||
|
|
||||||
|
2018-05-10 23:43:30.188 NORMAL Program Start
|
||||||
|
2018-05-10 23:44:00.124 NORMAL Program Close
|
||||||
|
2018-05-10 23:52:13.110 ERROR dio init error : The device is not available
|
||||||
|
2018-05-10 23:52:13.115 NORMAL ModelData Load : Usersfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Users.csv
|
||||||
|
2018-05-10 23:52:13.116 ERROR ▣ No Data
|
||||||
|
2018-05-10 23:52:13.116 NORMAL ModelData Load : Modelfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Model.csv
|
||||||
|
2018-05-10 23:52:13.116 ERROR ▣ No Data
|
||||||
|
2018-05-10 23:52:13.116 INFO model data listUsers : 0건
|
||||||
|
Model : 0건
|
||||||
|
|
||||||
|
2018-05-10 23:52:13.119 NORMAL Program Start
|
||||||
|
2018-05-10 23:52:54.673 NORMAL Program Close
|
||||||
|
2018-05-10 23:54:09.144 ERROR dio init error : The device is not available
|
||||||
|
2018-05-10 23:54:09.148 NORMAL ModelData Load : Usersfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Users.csv
|
||||||
|
2018-05-10 23:54:09.150 ERROR ▣ No Data
|
||||||
|
2018-05-10 23:54:09.150 NORMAL ModelData Load : Modelfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Model.csv
|
||||||
|
2018-05-10 23:54:09.150 ERROR ▣ No Data
|
||||||
|
2018-05-10 23:54:09.150 INFO model data listUsers : 0건
|
||||||
|
Model : 0건
|
||||||
|
|
||||||
|
2018-05-10 23:54:09.152 NORMAL Program Start
|
||||||
|
2018-05-10 23:54:42.605 NORMAL Program Close
|
||||||
|
2018-05-10 23:54:50.515 ERROR dio init error : The device is not available
|
||||||
|
2018-05-10 23:54:50.519 NORMAL ModelData Load : Usersfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Users.csv
|
||||||
|
2018-05-10 23:54:50.520 ERROR ▣ No Data
|
||||||
|
2018-05-10 23:54:50.520 NORMAL ModelData Load : Modelfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Model.csv
|
||||||
|
2018-05-10 23:54:50.521 ERROR ▣ No Data
|
||||||
|
2018-05-10 23:54:50.521 INFO model data listUsers : 0건
|
||||||
|
Model : 0건
|
||||||
|
|
||||||
|
2018-05-10 23:54:50.522 NORMAL Program Start
|
||||||
|
2018-05-10 23:54:58.989 INFO User Reset Button Click
|
||||||
|
2018-05-10 23:55:03.230 NORMAL Program Close
|
||||||
|
2018-05-10 23:58:53.613 ERROR dio init error : The device is not available
|
||||||
|
2018-05-10 23:58:53.617 NORMAL ModelData Load : Usersfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Users.csv
|
||||||
|
2018-05-10 23:58:53.618 ERROR ▣ No Data
|
||||||
|
2018-05-10 23:58:53.618 NORMAL ModelData Load : Modelfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Model.csv
|
||||||
|
2018-05-10 23:58:53.619 ERROR ▣ No Data
|
||||||
|
2018-05-10 23:58:53.619 INFO model data listUsers : 0건
|
||||||
|
Model : 0건
|
||||||
|
|
||||||
|
2018-05-10 23:58:53.620 NORMAL Program Start
|
||||||
296
Project/bin/debug/Log/2018/05/11/20180511.txt
Normal file
296
Project/bin/debug/Log/2018/05/11/20180511.txt
Normal file
@@ -0,0 +1,296 @@
|
|||||||
|
2018-05-11 00:00:00.516 ERROR dio init error : The device is not available
|
||||||
|
2018-05-11 00:00:00.522 NORMAL ModelData Load : Usersfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Users.csv
|
||||||
|
2018-05-11 00:00:00.523 ERROR ▣ No Data
|
||||||
|
2018-05-11 00:00:00.523 NORMAL ModelData Load : Modelfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Model.csv
|
||||||
|
2018-05-11 00:00:00.523 ERROR ▣ No Data
|
||||||
|
2018-05-11 00:00:00.523 INFO model data listUsers : 0건
|
||||||
|
Model : 0건
|
||||||
|
|
||||||
|
2018-05-11 00:00:00.525 NORMAL Program Start
|
||||||
|
2018-05-11 00:00:07.526 INFO Setting Save
|
||||||
|
2018-05-11 00:00:07.526 NORMAL
|
||||||
|
==============
|
||||||
|
Setting Data List
|
||||||
|
Print Time : 18-05-11 00:00:07.526
|
||||||
|
==============
|
||||||
|
Language(Language) = Kor
|
||||||
|
FullScreen(FullScreen) = False
|
||||||
|
WindowSize(WindowSize) = {Width=1024, Height=768}
|
||||||
|
Barcode(Port Name) =
|
||||||
|
ADVDeviceName(Device Name) = COM1
|
||||||
|
DOAutoOff_Quit(DOAutoOff_Quit) = False
|
||||||
|
DOAutoOff_Start(DOAutoOff_Start) = False
|
||||||
|
|
||||||
|
2018-05-11 00:00:38.077 NORMAL Program Close
|
||||||
|
2018-05-11 00:12:15.456 ERROR dio init error : The device is not available
|
||||||
|
2018-05-11 00:12:15.461 NORMAL ModelData Load : Usersfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Users.csv
|
||||||
|
2018-05-11 00:12:15.481 ERROR ▣ No Data
|
||||||
|
2018-05-11 00:12:15.481 NORMAL ModelData Load : Modelfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Model.csv
|
||||||
|
2018-05-11 00:12:15.481 ERROR ▣ No Data
|
||||||
|
2018-05-11 00:12:15.482 INFO model data listUsers : 0건
|
||||||
|
Model : 0건
|
||||||
|
|
||||||
|
2018-05-11 00:12:15.484 NORMAL Program Start
|
||||||
|
2018-05-11 00:12:19.398 INFO Setting Save
|
||||||
|
2018-05-11 00:12:19.398 NORMAL
|
||||||
|
==============
|
||||||
|
Setting Data List
|
||||||
|
Print Time : 18-05-11 00:12:19.398
|
||||||
|
==============
|
||||||
|
Language(Language) = Kor
|
||||||
|
FullScreen(FullScreen) = False
|
||||||
|
WindowSize(WindowSize) = {Width=1024, Height=768}
|
||||||
|
Barcode(Port Name) =
|
||||||
|
ADVDeviceName(Device Name) = COM1
|
||||||
|
DOAutoOff_Quit(DOAutoOff_Quit) = False
|
||||||
|
DOAutoOff_Start(DOAutoOff_Start) = False
|
||||||
|
|
||||||
|
2018-05-11 00:12:21.481 NORMAL Program Close
|
||||||
|
2018-05-11 00:14:22.371 ERROR dio init error : The device is not available
|
||||||
|
2018-05-11 00:14:22.375 NORMAL ModelData Load : Usersfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Users.csv
|
||||||
|
2018-05-11 00:14:22.377 ERROR ▣ No Data
|
||||||
|
2018-05-11 00:14:22.377 NORMAL ModelData Load : Modelfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Model.csv
|
||||||
|
2018-05-11 00:14:22.377 ERROR ▣ No Data
|
||||||
|
2018-05-11 00:14:22.377 INFO model data listUsers : 0건
|
||||||
|
Model : 0건
|
||||||
|
|
||||||
|
2018-05-11 00:14:22.379 NORMAL Program Start
|
||||||
|
2018-05-11 00:14:28.246 NORMAL Program Close
|
||||||
|
2018-05-11 00:14:51.455 ERROR dio init error : The device is not available
|
||||||
|
2018-05-11 00:14:51.460 NORMAL ModelData Load : Usersfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Users.csv
|
||||||
|
2018-05-11 00:14:51.461 ERROR ▣ No Data
|
||||||
|
2018-05-11 00:14:51.461 NORMAL ModelData Load : Modelfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Model.csv
|
||||||
|
2018-05-11 00:14:51.461 ERROR ▣ No Data
|
||||||
|
2018-05-11 00:14:51.461 INFO model data listUsers : 0건
|
||||||
|
Model : 0건
|
||||||
|
|
||||||
|
2018-05-11 00:14:51.463 NORMAL Program Start
|
||||||
|
2018-05-11 00:15:07.918 NORMAL Program Close
|
||||||
|
2018-05-11 00:16:51.725 ERROR dio init error : The device is not available
|
||||||
|
2018-05-11 00:16:51.730 NORMAL ModelData Load : Usersfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Users.csv
|
||||||
|
2018-05-11 00:16:51.731 ERROR ▣ No Data
|
||||||
|
2018-05-11 00:16:51.731 NORMAL ModelData Load : Modelfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Model.csv
|
||||||
|
2018-05-11 00:16:51.731 ERROR ▣ No Data
|
||||||
|
2018-05-11 00:16:51.731 INFO model data listUsers : 0건
|
||||||
|
Model : 0건
|
||||||
|
|
||||||
|
2018-05-11 00:16:51.734 NORMAL Program Start
|
||||||
|
2018-05-11 00:19:11.706 NORMAL Program Close
|
||||||
|
2018-05-11 00:19:57.620 ERROR dio init error : The device is not available
|
||||||
|
2018-05-11 00:19:57.625 NORMAL ModelData Load : Usersfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Users.csv
|
||||||
|
2018-05-11 00:19:57.626 ERROR ▣ No Data
|
||||||
|
2018-05-11 00:19:57.626 NORMAL ModelData Load : Modelfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Model.csv
|
||||||
|
2018-05-11 00:19:57.626 ERROR ▣ No Data
|
||||||
|
2018-05-11 00:19:57.626 INFO model data listUsers : 0건
|
||||||
|
Model : 0건
|
||||||
|
|
||||||
|
2018-05-11 00:19:57.629 NORMAL Program Start
|
||||||
|
2018-05-11 00:20:00.594 BCD Rx:RECV BCD
|
||||||
|
2018-05-11 00:20:12.875 NORMAL Program Close
|
||||||
|
2018-05-11 00:20:40.906 ERROR dio init error : The device is not available
|
||||||
|
2018-05-11 00:20:40.911 NORMAL ModelData Load : Usersfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Users.csv
|
||||||
|
2018-05-11 00:20:40.912 ERROR ▣ No Data
|
||||||
|
2018-05-11 00:20:40.912 NORMAL ModelData Load : Modelfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Model.csv
|
||||||
|
2018-05-11 00:20:40.912 ERROR ▣ No Data
|
||||||
|
2018-05-11 00:20:40.912 INFO model data listUsers : 0건
|
||||||
|
Model : 0건
|
||||||
|
|
||||||
|
2018-05-11 00:20:40.915 NORMAL Program Start
|
||||||
|
2018-05-11 00:21:15.404 NORMAL Program Close
|
||||||
|
2018-05-11 00:21:34.818 ERROR dio init error : The device is not available
|
||||||
|
2018-05-11 00:21:34.822 NORMAL ModelData Load : Usersfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Users.csv
|
||||||
|
2018-05-11 00:21:34.823 ERROR ▣ No Data
|
||||||
|
2018-05-11 00:21:34.823 NORMAL ModelData Load : Modelfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Model.csv
|
||||||
|
2018-05-11 00:21:34.824 ERROR ▣ No Data
|
||||||
|
2018-05-11 00:21:34.824 INFO model data listUsers : 0건
|
||||||
|
Model : 0건
|
||||||
|
|
||||||
|
2018-05-11 00:21:34.827 NORMAL Program Start
|
||||||
|
2018-05-11 00:22:19.006 ERROR dio init error : The device is not available
|
||||||
|
2018-05-11 00:22:19.010 NORMAL ModelData Load : Usersfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Users.csv
|
||||||
|
2018-05-11 00:22:19.011 ERROR ▣ No Data
|
||||||
|
2018-05-11 00:22:19.011 NORMAL ModelData Load : Modelfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Model.csv
|
||||||
|
2018-05-11 00:22:19.012 ERROR ▣ No Data
|
||||||
|
2018-05-11 00:22:19.012 INFO model data listUsers : 0건
|
||||||
|
Model : 0건
|
||||||
|
|
||||||
|
2018-05-11 00:22:19.014 NORMAL Program Start
|
||||||
|
2018-05-11 00:22:26.882 INFO Setting Save
|
||||||
|
2018-05-11 00:22:26.882 NORMAL
|
||||||
|
==============
|
||||||
|
Setting Data List
|
||||||
|
Print Time : 18-05-11 00:22:26.882
|
||||||
|
==============
|
||||||
|
Language(Language) = Kor
|
||||||
|
FullScreen(FullScreen) = False
|
||||||
|
WindowSize(WindowSize) = {Width=1024, Height=600}
|
||||||
|
Barcode(Port Name) =
|
||||||
|
ADVDeviceName(Device Name) = COM1
|
||||||
|
DOAutoOff_Quit(DOAutoOff_Quit) = False
|
||||||
|
DOAutoOff_Start(DOAutoOff_Start) = False
|
||||||
|
|
||||||
|
2018-05-11 00:22:30.230 NORMAL Program Close
|
||||||
|
2018-05-11 00:23:18.090 ERROR dio init error : The device is not available
|
||||||
|
2018-05-11 00:23:18.094 NORMAL ModelData Load : Usersfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Users.csv
|
||||||
|
2018-05-11 00:23:18.095 ERROR ▣ No Data
|
||||||
|
2018-05-11 00:23:18.095 NORMAL ModelData Load : Modelfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Model.csv
|
||||||
|
2018-05-11 00:23:18.096 ERROR ▣ No Data
|
||||||
|
2018-05-11 00:23:18.096 INFO model data listUsers : 0건
|
||||||
|
Model : 0건
|
||||||
|
|
||||||
|
2018-05-11 00:23:18.098 NORMAL Program Start
|
||||||
|
2018-05-11 00:23:35.632 INFO Setting Save
|
||||||
|
2018-05-11 00:23:35.633 NORMAL
|
||||||
|
==============
|
||||||
|
Setting Data List
|
||||||
|
Print Time : 18-05-11 00:23:35.633
|
||||||
|
==============
|
||||||
|
Language(Language) = Kor
|
||||||
|
FullScreen(FullScreen) = False
|
||||||
|
WindowSize(WindowSize) = {Width=1024, Height=600}
|
||||||
|
Barcode(Port Name) =
|
||||||
|
ADVDeviceName(Device Name) = COM1
|
||||||
|
DOAutoOff_Quit(DOAutoOff_Quit) = False
|
||||||
|
DOAutoOff_Start(DOAutoOff_Start) = False
|
||||||
|
|
||||||
|
2018-05-11 00:23:50.757 INFO Setting Save
|
||||||
|
2018-05-11 00:23:50.757 NORMAL
|
||||||
|
==============
|
||||||
|
Setting Data List
|
||||||
|
Print Time : 18-05-11 00:23:50.757
|
||||||
|
==============
|
||||||
|
Language(Language) = Kor
|
||||||
|
FullScreen(FullScreen) = False
|
||||||
|
WindowSize(WindowSize) = {Width=1024, Height=500}
|
||||||
|
Barcode(Port Name) =
|
||||||
|
ADVDeviceName(Device Name) = COM1
|
||||||
|
DOAutoOff_Quit(DOAutoOff_Quit) = False
|
||||||
|
DOAutoOff_Start(DOAutoOff_Start) = False
|
||||||
|
|
||||||
|
2018-05-11 00:23:57.092 INFO Setting Save
|
||||||
|
2018-05-11 00:23:57.092 NORMAL
|
||||||
|
==============
|
||||||
|
Setting Data List
|
||||||
|
Print Time : 18-05-11 00:23:57.092
|
||||||
|
==============
|
||||||
|
Language(Language) = Kor
|
||||||
|
FullScreen(FullScreen) = False
|
||||||
|
WindowSize(WindowSize) = {Width=1024, Height=600}
|
||||||
|
Barcode(Port Name) =
|
||||||
|
ADVDeviceName(Device Name) = COM1
|
||||||
|
DOAutoOff_Quit(DOAutoOff_Quit) = False
|
||||||
|
DOAutoOff_Start(DOAutoOff_Start) = False
|
||||||
|
|
||||||
|
2018-05-11 00:23:59.778 NORMAL Program Close
|
||||||
|
2018-05-11 00:24:03.582 ERROR dio init error : The device is not available
|
||||||
|
2018-05-11 00:24:03.586 NORMAL ModelData Load : Usersfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Users.csv
|
||||||
|
2018-05-11 00:24:03.587 ERROR ▣ No Data
|
||||||
|
2018-05-11 00:24:03.587 NORMAL ModelData Load : Modelfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Model.csv
|
||||||
|
2018-05-11 00:24:03.587 ERROR ▣ No Data
|
||||||
|
2018-05-11 00:24:03.588 INFO model data listUsers : 0건
|
||||||
|
Model : 0건
|
||||||
|
|
||||||
|
2018-05-11 00:24:03.590 NORMAL Program Start
|
||||||
|
2018-05-11 00:24:30.233 NORMAL Program Close
|
||||||
|
2018-05-11 00:24:57.662 ERROR dio init error : The device is not available
|
||||||
|
2018-05-11 00:24:57.666 NORMAL ModelData Load : Usersfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Users.csv
|
||||||
|
2018-05-11 00:24:57.667 ERROR ▣ No Data
|
||||||
|
2018-05-11 00:24:57.667 NORMAL ModelData Load : Modelfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Model.csv
|
||||||
|
2018-05-11 00:24:57.667 ERROR ▣ No Data
|
||||||
|
2018-05-11 00:24:57.668 INFO model data listUsers : 0건
|
||||||
|
Model : 0건
|
||||||
|
|
||||||
|
2018-05-11 00:24:57.670 NORMAL Program Start
|
||||||
|
2018-05-11 00:26:03.885 ERROR dio init error : The device is not available
|
||||||
|
2018-05-11 00:26:03.890 NORMAL ModelData Load : Usersfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Users.csv
|
||||||
|
2018-05-11 00:26:03.891 ERROR ▣ No Data
|
||||||
|
2018-05-11 00:26:03.891 NORMAL ModelData Load : Modelfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Model.csv
|
||||||
|
2018-05-11 00:26:03.891 ERROR ▣ No Data
|
||||||
|
2018-05-11 00:26:03.891 INFO model data listUsers : 0건
|
||||||
|
Model : 0건
|
||||||
|
|
||||||
|
2018-05-11 00:26:03.893 NORMAL Program Start
|
||||||
|
2018-05-11 00:26:35.877 ERROR dio init error : The device is not available
|
||||||
|
2018-05-11 00:26:35.881 NORMAL ModelData Load : Usersfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Users.csv
|
||||||
|
2018-05-11 00:26:35.882 ERROR ▣ No Data
|
||||||
|
2018-05-11 00:26:35.882 NORMAL ModelData Load : Modelfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Model.csv
|
||||||
|
2018-05-11 00:26:35.883 ERROR ▣ No Data
|
||||||
|
2018-05-11 00:26:35.883 INFO model data listUsers : 0건
|
||||||
|
Model : 0건
|
||||||
|
|
||||||
|
2018-05-11 00:26:35.885 NORMAL Program Start
|
||||||
|
2018-05-11 00:26:52.274 ERROR dio init error : The device is not available
|
||||||
|
2018-05-11 00:26:52.278 NORMAL ModelData Load : Usersfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Users.csv
|
||||||
|
2018-05-11 00:26:52.279 ERROR ▣ No Data
|
||||||
|
2018-05-11 00:26:52.279 NORMAL ModelData Load : Modelfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Model.csv
|
||||||
|
2018-05-11 00:26:52.279 ERROR ▣ No Data
|
||||||
|
2018-05-11 00:26:52.279 INFO model data listUsers : 0건
|
||||||
|
Model : 0건
|
||||||
|
|
||||||
|
2018-05-11 00:26:52.281 NORMAL Program Start
|
||||||
|
2018-05-11 00:27:15.917 NORMAL Program Close
|
||||||
|
2018-05-11 00:28:24.236 ERROR dio init error : The device is not available
|
||||||
|
2018-05-11 00:28:24.239 NORMAL ModelData Load : Usersfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Users.csv
|
||||||
|
2018-05-11 00:28:24.241 ERROR ▣ No Data
|
||||||
|
2018-05-11 00:28:24.241 NORMAL ModelData Load : Modelfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Model.csv
|
||||||
|
2018-05-11 00:28:24.241 ERROR ▣ No Data
|
||||||
|
2018-05-11 00:28:24.241 INFO model data listUsers : 0건
|
||||||
|
Model : 0건
|
||||||
|
|
||||||
|
2018-05-11 00:28:24.244 NORMAL Program Start
|
||||||
|
2018-05-11 00:28:34.615 ERROR dio init error : The device is not available
|
||||||
|
2018-05-11 00:28:34.620 NORMAL ModelData Load : Usersfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Users.csv
|
||||||
|
2018-05-11 00:28:34.621 ERROR ▣ No Data
|
||||||
|
2018-05-11 00:28:34.621 NORMAL ModelData Load : Modelfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Model.csv
|
||||||
|
2018-05-11 00:28:34.621 ERROR ▣ No Data
|
||||||
|
2018-05-11 00:28:34.621 INFO model data listUsers : 0건
|
||||||
|
Model : 0건
|
||||||
|
|
||||||
|
2018-05-11 00:28:34.625 NORMAL Program Start
|
||||||
|
2018-05-11 00:29:34.191 ERROR dio init error : The device is not available
|
||||||
|
2018-05-11 00:29:34.196 NORMAL ModelData Load : Usersfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Users.csv
|
||||||
|
2018-05-11 00:29:34.197 ERROR ▣ No Data
|
||||||
|
2018-05-11 00:29:34.197 NORMAL ModelData Load : Modelfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Model.csv
|
||||||
|
2018-05-11 00:29:34.197 ERROR ▣ No Data
|
||||||
|
2018-05-11 00:29:34.198 INFO model data listUsers : 0건
|
||||||
|
Model : 0건
|
||||||
|
|
||||||
|
2018-05-11 00:29:34.201 NORMAL Program Start
|
||||||
|
2018-05-11 00:31:24.723 ERROR dio init error : The device is not available
|
||||||
|
2018-05-11 00:31:24.726 NORMAL ModelData Load : Usersfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Users.csv
|
||||||
|
2018-05-11 00:31:24.727 ERROR ▣ No Data
|
||||||
|
2018-05-11 00:31:24.727 NORMAL ModelData Load : Modelfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Model.csv
|
||||||
|
2018-05-11 00:31:24.727 ERROR ▣ No Data
|
||||||
|
2018-05-11 00:31:24.727 INFO model data listUsers : 0건
|
||||||
|
Model : 0건
|
||||||
|
|
||||||
|
2018-05-11 00:31:24.730 NORMAL Program Start
|
||||||
|
2018-05-11 00:31:42.642 ERROR dio init error : The device is not available
|
||||||
|
2018-05-11 00:31:42.646 NORMAL ModelData Load : Usersfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Users.csv
|
||||||
|
2018-05-11 00:31:42.647 ERROR ▣ No Data
|
||||||
|
2018-05-11 00:31:42.647 NORMAL ModelData Load : Modelfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Model.csv
|
||||||
|
2018-05-11 00:31:42.647 ERROR ▣ No Data
|
||||||
|
2018-05-11 00:31:42.648 INFO model data listUsers : 0건
|
||||||
|
Model : 0건
|
||||||
|
|
||||||
|
2018-05-11 00:31:42.651 NORMAL Program Start
|
||||||
|
2018-05-11 00:32:04.569 ERROR dio init error : The device is not available
|
||||||
|
2018-05-11 00:32:04.573 NORMAL ModelData Load : Usersfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Users.csv
|
||||||
|
2018-05-11 00:32:04.574 ERROR ▣ No Data
|
||||||
|
2018-05-11 00:32:04.574 NORMAL ModelData Load : Modelfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Model.csv
|
||||||
|
2018-05-11 00:32:04.574 ERROR ▣ No Data
|
||||||
|
2018-05-11 00:32:04.575 INFO model data listUsers : 0건
|
||||||
|
Model : 0건
|
||||||
|
|
||||||
|
2018-05-11 00:32:04.578 NORMAL Program Start
|
||||||
|
2018-05-11 00:35:31.358 NORMAL Program Close
|
||||||
|
2018-05-11 00:36:35.845 ERROR dio init error : The device is not available
|
||||||
|
2018-05-11 00:36:35.849 NORMAL ModelData Load : Usersfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Users.csv
|
||||||
|
2018-05-11 00:36:35.850 ERROR ▣ No Data
|
||||||
|
2018-05-11 00:36:35.850 NORMAL ModelData Load : Modelfn=D:\Tinsky\Visual Studio For Amkor\_Frame\Project\bin\debug\Model\Model.csv
|
||||||
|
2018-05-11 00:36:35.851 ERROR ▣ No Data
|
||||||
|
2018-05-11 00:36:35.851 INFO model data listUsers : 0건
|
||||||
|
Model : 0건
|
||||||
|
|
||||||
|
2018-05-11 00:36:35.853 NORMAL Program Start
|
||||||
|
2018-05-11 00:36:42.340 NORMAL Program Close
|
||||||
BIN
Project/bin/debug/Project.exe
Normal file
BIN
Project/bin/debug/Project.exe
Normal file
Binary file not shown.
BIN
Project/bin/debug/Project.pdb
Normal file
BIN
Project/bin/debug/Project.pdb
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