Index: trunk/ddl/ProcessManagement.sql
===================================================================
--- trunk/ddl/ProcessManagement.sql	(revision 467)
+++ trunk/ddl/ProcessManagement.sql	(revision 468)
@@ -1,5 +1,5 @@
 -- Project Name : noname
--- Date/Time    : 2019/11/21 17:23:43
+-- Date/Time    : 2019/12/07 16:08:48
 -- Author       : Horiuchi
 -- RDBMS Type   : MySQL
 -- Application  : A5:SQL Mk-2
@@ -11,10 +11,10 @@
 */
 
 -- ’S“–ŽÒ�s“®—\’èƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists actionscheduledata cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table actionscheduledata (
   TargetDate date not null comment '‘Î�Û“ú'
   , PersonCode decimal(8,0) not null comment '’S“–ŽÒƒR�[ƒh'
@@ -37,10 +37,10 @@
   on actionscheduledata(TargetDay);
 
 -- �³”FŒo˜Hƒ}ƒXƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists approvalmaster cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table approvalmaster (
   ApprovalCode decimal(3,0) unsigned not null comment '�³”F‹@”\”Ô�†'
   , DepartmentCode decimal(5,0) unsigned not null comment '•”��ƒR�[ƒh'
@@ -54,10 +54,10 @@
 ) comment '�³”FŒo˜Hƒ}ƒXƒ^' ;
 
 -- �o‹Î“ú•ñƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists attendancedailydata cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table attendancedailydata (
   PersonCode decimal(8,0) unsigned not null comment '�ì�¬ŽÒƒR�[ƒh'
   , AttendanceDate date not null comment '“ú•ñ�ì�¬“ú'
@@ -83,10 +83,10 @@
   on attendancedailydata(AttendanceDate);
 
 -- �o‹ÎŠÇ—�ƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists attendancedata cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table attendancedata (
   PersonCode decimal(8,0) unsigned not null comment '�ì�¬ŽÒƒR�[ƒh'
   , AttendanceMonth decimal(6,0) unsigned not null comment '�o‹ÎŠÇ—�”NŒŽ'
@@ -111,10 +111,10 @@
 ) comment '�o‹ÎŠÇ—�ƒf�[ƒ^' ;
 
 -- ‹Î‘Ó“Í�oƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists attendancenotice cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table attendancenotice (
   PersonCode decimal(8,0) unsigned not null comment '�ì�¬ŽÒƒR�[ƒh'
   , AttendanceNo decimal(2,0) unsigned not null comment '‹Î‘Ó‹æ•ª'
@@ -137,10 +137,10 @@
 ) comment '‹Î‘Ó“Í�oƒf�[ƒ^' ;
 
 -- ‹Î‘Ó“Í�o•R•t‚¯ƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists attendancenoticelink cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table attendancenoticelink (
   PersonCode decimal(8,0) unsigned not null comment '�ì�¬ŽÒƒR�[ƒh'
   , AttendanceNo decimal(2,0) unsigned not null comment '‹Î‘Ó‹æ•ª'
@@ -172,10 +172,10 @@
   on attendancenoticelink(SeqNo);
 
 -- ‹Î‘Ó“Í�o�HŽ–ƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists attnoticeconstrction cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table attnoticeconstrction (
   PersonCode decimal(8,0) unsigned not null comment '�ì�¬ŽÒƒR�[ƒh'
   , AttendanceNo decimal(2,0) unsigned not null comment '‹Î‘Ó‹æ•ª'
@@ -189,10 +189,10 @@
 ) comment '‹Î‘Ó“Í�o�HŽ–ƒf�[ƒ^' ;
 
 -- —L‹‹‹x‰É�Á‰»•R•tƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists attnpaidholidyalink cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table attnpaidholidyalink (
   PersonCode decimal(8,0) unsigned not null comment '�ì�¬ŽÒƒR�[ƒh'
   , AttendanceNo decimal(2,0) unsigned not null comment '‹Î‘Ó‹æ•ª'
@@ -207,10 +207,10 @@
 ) comment '—L‹‹‹x‰É�Á‰»•R•tƒf�[ƒ^' ;
 
 -- ‹â�s‰c‹Æ“úƒ}ƒXƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists bankbusinessdaymaster cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table bankbusinessdaymaster (
   YEARMONTH decimal(6,0) default '0' not null comment '”NŒŽ'
   , BANKBUSINESSDAY decimal(2,0) default '0' not null comment '‹â�s‰c‹Æ“ú'
@@ -222,10 +222,10 @@
 ) comment '‹â�s‰c‹Æ“úƒ}ƒXƒ^' ;
 
 -- ‹ÆŽÒ�¿‹�ƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists billingdata cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table billingdata (
   COMPANYCODE decimal(8,0) default '0' not null comment '‹¦—Í‰ïŽÐƒR�[ƒh'
   , TARGETDATE decimal(6,0) default '0' not null comment '‘Î�Û”NŒŽ'
@@ -237,10 +237,10 @@
 ) comment '‹ÆŽÒ�¿‹�ƒf�[ƒ^' ;
 
 -- ‹ÆŽÒ�¿‹�–¾�×ƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists billingdatadetail cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table billingdatadetail (
   COMPANYCODE decimal(8,0) default '0' not null comment '‹¦—Í‰ïŽÐƒR�[ƒh'
   , TARGETDATE decimal(6,0) default '0' not null comment '‘Î�Û”NŒŽ'
@@ -289,10 +289,10 @@
   on billingdatadetail(CONSTRUCTIONCOLCNT);
 
 -- ‹ÆŽÒ�¿‹�Žx•¥ƒTƒ}ƒŠ�[ƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists billingpaymentsummary cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table billingpaymentsummary (
   COMPANYCODE decimal(8,0) default '0' not null comment '‹¦—Í‰ïŽÐƒR�[ƒh'
   , TARGETDATE decimal(6,0) default '0' not null comment '‘Î�Û”NŒŽ'
@@ -313,10 +313,10 @@
 ) comment '‹ÆŽÒ�¿‹�Žx•¥ƒTƒ}ƒŠ�[ƒf�[ƒ^' ;
 
 -- ‰^‰cŠú—š—ð�î•ñ
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists bizperiodhistory cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table bizperiodhistory (
   PeriodYear smallint(6) not null comment '‰c‹ÆŠú�”�E�HŽ–”N“x'
   , PeriodFlag smallint(1) not null comment '‰c‹ÆŠú�”�E�HŽ–”N“xƒtƒ‰ƒO'
@@ -328,10 +328,10 @@
 ) comment '‰^‰cŠú—š—ð�î•ñ' ;
 
 -- �HŽ–�Ú�×‘ä’ ƒf�[ƒ^�y‘Þ”ð—p�z
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists bk_constructionledger cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table bk_constructionledger (
   ConstructionCode decimal(10,0) unsigned not null comment '�HŽ–ƒR�[ƒh'
   , ConstructionPeriod decimal(4,0) unsigned not null comment 'Ž–‹ÆŠú'
@@ -357,10 +357,10 @@
 ) comment '�HŽ–�Ú�×‘ä’ ƒf�[ƒ^�y‘Þ”ð—p�z' ;
 
 -- �HŽ–�Ú�×‘ä’ –¾�×ƒf�[ƒ^�y‘Þ”ð—p�z
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists bk_constructionledgerdetail cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table bk_constructionledgerdetail (
   ConstructionCode decimal(10,0) unsigned not null comment '�HŽ–ƒR�[ƒh'
   , GroupCount decimal(2,0) unsigned not null comment 'ƒOƒ‹�[ƒv”Ô�†'
@@ -394,10 +394,10 @@
 ) comment '�HŽ–�Ú�×‘ä’ –¾�×ƒf�[ƒ^�y‘Þ”ð—p�z' ;
 
 -- �HŽ–�Ú�×‘ä’ ŽÀ�sƒf�[ƒ^�y‘Þ”ð—p�z
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists bk_constructionledgerexcute cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table bk_constructionledgerexcute (
   ConstructionCode decimal(10,0) unsigned not null comment '�HŽ–ƒR�[ƒh'
   , GroupCount decimal(2,0) unsigned not null comment 'ƒOƒ‹�[ƒv”Ô�†'
@@ -411,10 +411,10 @@
 ) comment '�HŽ–�Ú�×‘ä’ ŽÀ�sƒf�[ƒ^�y‘Þ”ð—p�z' ;
 
 -- �ÏŽZŒ©�Ïƒf�[ƒ^�y‘Þ”ð—p�z
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists bk_estimatedata cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table bk_estimatedata (
   SaveDate datetime not null comment '‘Þ”ð“ú•t'
   , ConstructionCode decimal(10,0) unsigned not null comment '�HŽ–ƒR�[ƒh'
@@ -433,10 +433,10 @@
 ) comment '�ÏŽZŒ©�Ïƒf�[ƒ^�y‘Þ”ð—p�z' ;
 
 -- �ÏŽZŒ©�Ïƒy�[ƒWƒf�[ƒ^�y‘Þ”ð—p�z
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists bk_estimatedatabody cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table bk_estimatedatabody (
   SaveDate datetime not null comment '‘Þ”ð“ú•t'
   , ConstructionCode decimal(10,0) unsigned not null comment '�HŽ–ƒR�[ƒh'
@@ -454,10 +454,10 @@
 ) comment '�ÏŽZŒ©�Ïƒy�[ƒWƒf�[ƒ^�y‘Þ”ð—p�z' ;
 
 -- �ÏŽZŒ©�Ïƒf�[ƒ^–¾�×�y‘Þ”ð—p�z
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists bk_estimatedatadetail cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table bk_estimatedatadetail (
   SaveDate datetime not null comment '‘Þ”ð“ú•t'
   , ConstructionCode decimal(10,0) unsigned not null comment '�HŽ–ƒR�[ƒh'
@@ -483,10 +483,10 @@
 ) comment '�ÏŽZŒ©�Ïƒf�[ƒ^–¾�×�y‘Þ”ð—p�z' ;
 
 -- —\ŽZ�‘�WŒvƒR�[ƒhƒ}ƒXƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists budgetsumcode cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table budgetsumcode (
   BlockCode decimal(2,0) unsigned not null comment 'ƒuƒ�ƒbƒN”Ô�†'
   , GroupCode decimal(2,0) unsigned not null comment 'ƒOƒ‹�[ƒv”Ô�†'
@@ -499,10 +499,10 @@
 ) comment '—\ŽZ�‘�WŒvƒR�[ƒhƒ}ƒXƒ^' ;
 
 -- –@�lŠiƒ}ƒXƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists businesstypemaster cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table businesstypemaster (
   BusinessTypeCode decimal(5,0) unsigned not null comment '–@�lŠiƒR�[ƒh'
   , DisplayOrder decimal(5,0) unsigned not null comment '•\Ž¦�‡'
@@ -516,10 +516,10 @@
   on businesstypemaster(DisplayOrder);
 
 -- ’S“–ŽÒ•”��—š—ðƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists chgchargedep cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table chgchargedep (
   PersonCode decimal(8,0) not null comment '’S“–ŽÒƒR�[ƒh'
   , StartDate date not null comment 'ŠJŽn”NŒŽ“ú'
@@ -532,10 +532,10 @@
 ) comment '’S“–ŽÒ•”��—š—ðƒf�[ƒ^' ;
 
 -- �HŽ–’S“–•Ï�X—š—ðƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists chgconstrcharge cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table chgconstrcharge (
   ConstructionCode decimal(10,0) unsigned not null comment '�HŽ–ƒR�[ƒh'
   , Division decimal(1,0) not null comment '�Ý’è‹æ•ª'
@@ -552,10 +552,10 @@
 ) comment '�HŽ–’S“–•Ï�X—š—ðƒf�[ƒ^' ;
 
 -- Web-EDI’÷‚ß“úƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists closingdateofmonth cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table closingdateofmonth (
   TARGETDATE decimal(6,0) unsigned default '0' not null comment '‘Î�Û”NŒŽ'
   , SEQNO decimal(3,0) default '0' not null comment '˜A”Ô'
@@ -568,10 +568,10 @@
 ) comment 'Web-EDI’÷‚ß“úƒf�[ƒ^' ;
 
 -- ‹¤’Ê”ï‘å�€–Úƒ}ƒXƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists commoncostlarge cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table commoncostlarge (
   LargeCode decimal(5,0) unsigned not null comment '‘å�€–ÚƒL�['
   , DisplayOrder decimal(5,0) unsigned not null comment '•\Ž¦�‡'
@@ -584,10 +584,10 @@
 ) comment '‹¤’Ê”ï‘å�€–Úƒ}ƒXƒ^' ;
 
 -- ‹¤’Ê”ï�HŽíŠÖ˜Aƒ}ƒXƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists commoncostlinkms cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table commoncostlinkms (
   LargeCode decimal(5,0) unsigned not null comment '‘å�€–ÚƒL�['
   , MiddleCode decimal(5,0) unsigned not null comment '’†�€–ÚƒL�['
@@ -598,10 +598,10 @@
 ) comment '‹¤’Ê”ï�HŽíŠÖ˜Aƒ}ƒXƒ^' ;
 
 -- ‹¤’Ê”ï’†�€–Úƒ}ƒXƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists commoncostmiddle cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table commoncostmiddle (
   LargeCode decimal(5,0) unsigned not null comment '‘å�€–ÚƒL�['
   , MiddleCode decimal(5,0) unsigned not null comment '’†�€–ÚƒL�['
@@ -615,10 +615,10 @@
 ) comment '‹¤’Ê”ï’†�€–Úƒ}ƒXƒ^' ;
 
 -- ‹¤’Ê”ï’†�€–ÚƒL�[ƒ}ƒXƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists commoncostmiddlesearchword cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table commoncostmiddlesearchword (
   LargeCode decimal(5,0) unsigned not null comment '‘å�€–ÚƒL�['
   , MiddleCode decimal(5,0) unsigned not null comment '’†�€–ÚƒL�['
@@ -630,10 +630,10 @@
 ) comment '‹¤’Ê”ï’†�€–ÚƒL�[ƒ}ƒXƒ^' ;
 
 -- �\�¬�HŽíŠÖ˜Aƒ}ƒXƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists componentlinkmaster cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table componentlinkmaster (
   ComponentCode decimal(5,0) unsigned not null comment '�\�¬ƒL�['
   , ItemCode decimal(5,0) unsigned not null comment '�HŽíƒL�['
@@ -650,10 +650,10 @@
   on componentlinkmaster(ItemCode);
 
 -- �\�¬ƒ}ƒXƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists componentmaster cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table componentmaster (
   ComponentCode decimal(5,0) unsigned not null comment '�\�¬ƒL�['
   , DisplayOrder decimal(5,0) unsigned not null comment '•\Ž¦�‡'
@@ -671,10 +671,10 @@
   on componentmaster(DisplayOrder);
 
 -- �HŽ–Ží•Ê�E�\�¬ƒŠƒ“ƒNƒ}ƒXƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists componenttotypemaster cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table componenttotypemaster (
   TypeCode decimal(5,0) unsigned not null comment '�HŽ–Ží•ÊƒR�[ƒh'
   , ComponentCode decimal(5,0) unsigned not null comment '�\�¬ƒL�['
@@ -691,10 +691,10 @@
   on componenttotypemaster(ComponentCode);
 
 -- �HŽ–�Ú�×‘ä’ Œo”ïƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists constrledgerexpenses cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table constrledgerexpenses (
   ConstructionCode decimal(10,0) unsigned not null comment '�HŽ–ƒR�[ƒh'
   , SeqNo decimal(5,0) not null comment 'Ž}”Ô'
@@ -716,10 +716,10 @@
   on constrledgerexpenses(NameCode);
 
 -- �HŽ–Šî–{�î•ñ
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists constructionbaseinfo cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table constructionbaseinfo (
   ConstructionCode decimal(10,0) unsigned not null comment '�HŽ–ƒR�[ƒh'
   , TyingFlg decimal(1,0) not null comment '•R•tƒf�[ƒ^ƒtƒ‰ƒO'
@@ -802,10 +802,10 @@
   on constructionbaseinfo(ConstructionPeriod);
 
 -- �HŽ–Šî–{�î•ñ–¾�×
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists constructionbaseinfodetail cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table constructionbaseinfodetail (
   ConstructionCode decimal(10,0) unsigned not null comment '�HŽ–ƒR�[ƒh'
   , DetailNo decimal(3,0) not null comment '–¾�×”Ô�†'
@@ -822,10 +822,10 @@
   on constructionbaseinfodetail(DetailNo);
 
 -- �HŽ–Ž{�H—\ŽZƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists constructionbudget cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table constructionbudget (
   ConstructionCode decimal(10,0) unsigned not null comment '�HŽ–ƒR�[ƒh'
   , CreatorCode decimal(8,0) not null comment '�ì�¬ŽÒƒR�[ƒh'
@@ -855,10 +855,10 @@
 ) comment '�HŽ–Ž{�H—\ŽZƒf�[ƒ^' ;
 
 -- �HŽ–Ž{�H—\ŽZƒf�[ƒ^–¾�×
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists constructionbudgetdetail cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table constructionbudgetdetail (
   ConstructionCode decimal(10,0) unsigned not null comment '�HŽ–ƒR�[ƒh'
   , GroupCount decimal(2,0) unsigned not null comment 'ƒOƒ‹�[ƒv”Ô�†'
@@ -882,10 +882,10 @@
 ) comment '�HŽ–Ž{�H—\ŽZƒf�[ƒ^–¾�×' ;
 
 -- �HŽíƒ}ƒXƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists constructionitemmaster cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table constructionitemmaster (
   ItemCode decimal(5,0) unsigned not null comment '�HŽíƒL�['
   , DisplayOrder decimal(5,0) unsigned not null comment '•\Ž¦�‡'
@@ -899,10 +899,10 @@
 ) comment '�HŽíƒ}ƒXƒ^' ;
 
 -- �HŽ–�Ú�×‘ä’ ƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists constructionledger cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table constructionledger (
   ConstructionCode decimal(10,0) unsigned not null comment '�HŽ–ƒR�[ƒh'
   , ConstructionPeriod decimal(4,0) unsigned not null comment 'Ž–‹ÆŠú'
@@ -934,10 +934,10 @@
   on constructionledger(ConstructionEnd);
 
 -- �HŽ–�Ú�×‘ä’ –¾�×ƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists constructionledgerdetail cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table constructionledgerdetail (
   ConstructionCode decimal(10,0) unsigned not null comment '�HŽ–ƒR�[ƒh'
   , GroupCount decimal(2,0) unsigned not null comment 'ƒOƒ‹�[ƒv”Ô�†'
@@ -992,10 +992,10 @@
   on constructionledgerdetail(CompanyCode);
 
 -- �HŽ–�Ú�×‘ä’ ŽÀ�sƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists constructionledgerexcute cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table constructionledgerexcute (
   ConstructionCode decimal(10,0) unsigned not null comment '�HŽ–ƒR�[ƒh'
   , GroupCount decimal(2,0) unsigned not null comment 'ƒOƒ‹�[ƒv”Ô�†'
@@ -1012,10 +1012,10 @@
   on constructionledgerexcute(ConstructionCode,TargetMonth,GroupCount,LineCount);
 
 -- �HŽ–ƒŠƒ“ƒN�î•ñ
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists constructionlink cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table constructionlink (
   ConstructionCode decimal(10,0) unsigned not null comment '�HŽ–ƒR�[ƒh'
   , FluctuationCode decimal(10,0) not null comment 'Žq�HŽ–”Ô�†'
@@ -1035,10 +1035,10 @@
   on constructionlink(LinkType);
 
 -- �HŽ–Ž‘�Þ�î•ñ
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists constructionmaterialinfo cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table constructionmaterialinfo (
   CONSTRUCTIONCODE int(10) unsigned default 0 not null comment '�HŽ–”Ô�†'
   , MATERIALITEMCODE smallint(5) unsigned default 0 not null comment 'Ž‘�Þ•i–ÚƒR�[ƒh'
@@ -1053,10 +1053,10 @@
 ) comment '�HŽ–Ž‘�Þ�î•ñ' ;
 
 -- ˆÄŒ��i’»“ú•tƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists constructionprogressdate cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table constructionprogressdate (
   ConstructionCode decimal(10,0) not null comment '�HŽ–”Ô�†'
   , ConstructionStatusFlg decimal(2,0) not null comment '�Ý’è�HŽ–�ó‘Ô'
@@ -1078,10 +1078,10 @@
   on constructionprogressdate(ChangeDate);
 
 -- �ì‹Æƒ}ƒXƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists constructionspecmaster cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table constructionspecmaster (
   ItemCode decimal(5,0) unsigned not null comment '�HŽíƒL�['
   , SpecCode decimal(5,0) unsigned not null comment '�ì‹ÆƒL�['
@@ -1100,10 +1100,10 @@
   on constructionspecmaster(DisplayOrder);
 
 -- �ì‹Æ’P‰¿ƒ}ƒXƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists constructionspecunitprice cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table constructionspecunitprice (
   ConstructionTypeCode mediumint(8) unsigned not null comment '�HŽ–Ží•ÊƒR�[ƒh'
   , ComponentCode decimal(5,0) unsigned not null comment '�\�¬ƒL�['
@@ -1119,10 +1119,10 @@
   on constructionspecunitprice(ConstructionTypeCode,ComponentCode,ItemCode);
 
 -- �HŽ–Ží•Êƒ}ƒXƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists constructiontypemaster cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table constructiontypemaster (
   TypeCode decimal(5,0) unsigned not null comment '�HŽ–Ží•ÊƒR�[ƒh'
   , DisplayOrder decimal(5,0) unsigned not null comment '•\Ž¦�‡'
@@ -1131,6 +1131,7 @@
   , RepairFlg decimal(1,0) not null comment '�V’z�E‰ü�Cƒtƒ‰ƒO'
   , SecRank decimal(1,0) not null comment '•ÛŒì‹æ•ªƒ‰ƒ“ƒN'
   , ExpensesLink decimal(1,0) not null comment 'Œo”ïŽg—p‹æ•ª'
+  , CompanyProp decimal(1,0) not null comment 'Ž©ŽÐ�HŽ–‹æ•ª'
   , DeleteFlg decimal(1,0) not null comment '�í�œƒtƒ‰ƒO'
   , EntryDate datetime not null comment '“o˜^“ú•t'
   , UpdateDate datetime not null comment '�X�V“ú•t'
@@ -1138,10 +1139,10 @@
 ) comment '�HŽ–Ží•Êƒ}ƒXƒ^' ;
 
 -- �Á”ï�Åƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists consumptiontax cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table consumptiontax (
   StartDate date not null comment 'Žg—pŠJŽn”NŒŽ“ú'
   , ComplateDate date comment 'Žg—p�I—¹”NŒŽ“ú'
@@ -1153,10 +1154,10 @@
 ) comment '�Á”ï�Åƒf�[ƒ^' ;
 
 -- •”���o”[ƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists costdataofdepartment cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table costdataofdepartment (
   DepartmentCode decimal(5,0) unsigned not null comment '•”��ƒR�[ƒh'
   , ConstrYear smallint(5) unsigned not null comment '�HŽ–Šú�”�E”N�”'
@@ -1176,10 +1177,10 @@
 ) comment '•”���o”[ƒf�[ƒ^' ;
 
 -- ’S“–ŽÒ–ˆŒo”ïƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists costdataofperson cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table costdataofperson (
   PersonCode decimal(8,0) unsigned not null comment '’S“–ŽÒƒR�[ƒh'
   , ActionDate date not null comment '‘Î�Û“ú•t'
@@ -1208,10 +1209,10 @@
   on costdataofperson(ConstructionCode);
 
 -- ”­’�ŽÒ“o˜^�\�¿ƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists costomerregist cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table costomerregist (
   CreatePersonCode decimal(8,0) unsigned not null comment '�\�¿ŽÒ”Ô�†'
   , CreateDate date not null comment '�ì�¬“ú'
@@ -1255,10 +1256,10 @@
   on costomerregist(CreateDepartmentCode);
 
 -- “ú•ñƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists dailydataconstruction cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table dailydataconstruction (
   PersonCode decimal(8,0) unsigned not null comment '’S“–ŽÒƒR�[ƒh'
   , DailyDataDate date not null comment '“ú•ñ�ì�¬“ú'
@@ -1279,10 +1280,10 @@
   on dailydataconstruction(ConstructionCode);
 
 -- “ú•ñƒf�[ƒ^ (–¾�×)
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists dailydatadetail cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table dailydatadetail (
   PersonCode decimal(8,0) unsigned not null comment '’S“–ŽÒƒR�[ƒh'
   , DailyDataDate date not null comment '“ú•ñ�ì�¬“ú'
@@ -1304,10 +1305,10 @@
   on dailydatadetail(PersonCode,DailyDataDate,ConstructionCode);
 
 -- “ú•ñƒf�[ƒ^ (Œ»�ê�„‰ñ)
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists dailydatafield cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table dailydatafield (
   PersonCode decimal(8,0) unsigned not null comment '�ì�¬ŽÒƒR�[ƒh'
   , DailyDataDate date not null comment '“ú•ñ�ì�¬“ú'
@@ -1324,10 +1325,10 @@
   on dailydatafield(PersonCode,DailyDataDate,ConstructionCode);
 
 -- “ú•ñƒf�[ƒ^ (Ž‘�Þ)
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists dailydatamaterials cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table dailydatamaterials (
   PersonCode decimal(8,0) unsigned not null comment '�ì�¬ŽÒƒR�[ƒh'
   , DailyDataDate date not null comment '“ú•ñ�ì�¬“ú'
@@ -1347,10 +1348,10 @@
   on dailydatamaterials(PersonCode,DailyDataDate,ConstructionCode);
 
 -- “ú•ñƒf�[ƒ^ (‹¦—Í‹ÆŽÒŽwŽ¦)
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists dailydatasubcontractors cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table dailydatasubcontractors (
   PersonCode decimal(8,0) unsigned not null comment '�ì�¬ŽÒƒR�[ƒh'
   , DailyDataDate date not null comment '“ú•ñ�ì�¬“ú'
@@ -1367,10 +1368,10 @@
   on dailydatasubcontractors(PersonCode,DailyDataDate,ConstructionCode);
 
 -- “ú•ñƒf�[ƒ^ (ŽÔ—¼)
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists dailydatavehicles cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table dailydatavehicles (
   PersonCode decimal(8,0) unsigned not null comment '�ì�¬ŽÒƒR�[ƒh'
   , DailyDataDate date not null comment '“ú•ñ�ì�¬“ú'
@@ -1391,10 +1392,10 @@
   on dailydatavehicles(PersonCode,DailyDataDate,ConstructionCode);
 
 -- “úƒ}ƒXƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists daymaster cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table daymaster (
   days smallint(6) not null comment '“ú'
   , constraint daymaster_PKC primary key (days)
@@ -1401,10 +1402,10 @@
 ) comment '“úƒ}ƒXƒ^' ;
 
 -- ’÷“úƒ}ƒXƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists deadlinemaster cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table deadlinemaster (
   LABOURKIND decimal(1,0) default '0' not null comment 'ŽèŠÔ‹ÆŽÒ‹æ•ª'
   , DEADLINE decimal(2,0) comment '’÷“ú'
@@ -1417,10 +1418,10 @@
 ) comment '’÷“úƒ}ƒXƒ^' ;
 
 -- •”��Œo”ï—¦ƒ}ƒXƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists departmentexpensesmaster cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table departmentexpensesmaster (
   DepartmentCode decimal(5,0) unsigned not null comment '•”��ƒR�[ƒh'
   , ExpensesPeriod smallint(6) not null comment 'Ž–‹ÆŠú'
@@ -1435,10 +1436,10 @@
 ) comment '•”��Œo”ï—¦ƒ}ƒXƒ^' ;
 
 -- •”��ƒ}ƒXƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists departmentmaster cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table departmentmaster (
   DepartmentCode decimal(5,0) unsigned not null comment '•”��ƒR�[ƒh'
   , DisplayOrder decimal(5,0) unsigned not null comment '•\Ž¦�‡'
@@ -1457,10 +1458,10 @@
   on departmentmaster(DisplayOrder);
 
 -- “ü‹àŠm”F�³”Fƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists depositapprovalinfo cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table depositapprovalinfo (
   ORDERERSDIVISION decimal(5,0) not null comment '”­’�ŽÒ‹æ•ª'
   , ORDERERSCODE decimal(5,0) not null comment '”­’�ŽÒƒR�[ƒh'
@@ -1478,10 +1479,10 @@
 ) comment '“ü‹àŠm”F�³”Fƒf�[ƒ^' ;
 
 -- “ü‹àƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists depositdata cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table depositdata (
   ORDERERSDIVISION decimal(5,0) not null comment '”­’�ŽÒ‹æ•ª'
   , ORDERERSCODE decimal(5,0) not null comment '”­’�ŽÒƒR�[ƒh'
@@ -1504,10 +1505,10 @@
 ) comment '“ü‹àƒf�[ƒ^' ;
 
 -- “ü‹à–¾�×ƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists depositdatadetail cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table depositdatadetail (
   ORDERERSDIVISION decimal(5,0) not null comment '”­’�ŽÒ‹æ•ª'
   , ORDERERSCODE decimal(5,0) not null comment '”­’�ŽÒƒR�[ƒh'
@@ -1539,10 +1540,10 @@
   on depositdatadetail(ORDERERSDIVISION,ORDERERSCODE,DEPOSITMONTH,SEQNO);
 
 -- ‹æ•ªƒ}ƒXƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists divisionmaster cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table divisionmaster (
   DivisionCode decimal(5,0) unsigned not null comment '‹æ•ªƒR�[ƒh'
   , NameCode decimal(5,0) unsigned not null comment '–¼�ÌƒR�[ƒh'
@@ -1555,10 +1556,10 @@
 ) comment '‹æ•ªƒ}ƒXƒ^' ;
 
 -- �ÏŽZ—\ŽZ�‘ƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists estimatebudget cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table estimatebudget (
   ConstructionCode decimal(10,0) unsigned not null comment '�HŽ–ƒR�[ƒh'
   , ConstructionTime decimal(5,2) unsigned not null comment '�HŠú'
@@ -1575,10 +1576,10 @@
 ) comment '�ÏŽZ—\ŽZ�‘ƒf�[ƒ^' ;
 
 -- �ÏŽZ—\ŽZ“à–óƒf�[ƒ^–¾�×
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists estimatebudgetdetail cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table estimatebudgetdetail (
   ConstructionCode decimal(10,0) unsigned not null comment '�HŽ–ƒR�[ƒh'
   , GroupCount decimal(2,0) unsigned not null comment 'ƒOƒ‹�[ƒv”Ô�†'
@@ -1598,10 +1599,10 @@
 ) comment '�ÏŽZ—\ŽZ“à–óƒf�[ƒ^–¾�×' ;
 
 -- �ÏŽZŒ©�Ïƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists estimatedata cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table estimatedata (
   ConstructionCode decimal(10,0) unsigned not null comment '�HŽ–ƒR�[ƒh'
   , LineCount decimal(3,0) unsigned not null comment '�s”Ô�†'
@@ -1622,10 +1623,10 @@
   on estimatedata(ConstructionCode,FixedItemCode);
 
 -- �ÏŽZŒ©�Ïƒy�[ƒWƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists estimatedatabody cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table estimatedatabody (
   ConstructionCode decimal(10,0) unsigned not null comment '�HŽ–ƒR�[ƒh'
   , PageCount decimal(4,0) unsigned not null comment 'ƒy�[ƒW”Ô�†'
@@ -1645,10 +1646,10 @@
   on estimatedatabody(ConstructionCode,ComponentCode,ItemCode);
 
 -- �ÏŽZŒ©�Ïƒf�[ƒ^–¾�×
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists estimatedatadetail cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table estimatedatadetail (
   ConstructionCode decimal(10,0) unsigned not null comment '�HŽ–ƒR�[ƒh'
   , PageCount decimal(4,0) unsigned not null comment 'ƒy�[ƒW”Ô�†'
@@ -1676,10 +1677,10 @@
   on estimatedatadetail(ConstructionCode,PageCount);
 
 -- Œo”ï—¦ƒ}ƒXƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists expensesmaster cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table expensesmaster (
   DivisionCode smallint(6) not null comment '�HŽ–Ží•ÊƒR�[ƒh'
   , NameCode smallint(6) not null comment 'Œo”ï–¼�ÌƒR�[ƒh'
@@ -1692,10 +1693,10 @@
 ) comment 'Œo”ï—¦ƒ}ƒXƒ^' ;
 
 -- ‰ïŽÐ‹x“úƒ}ƒXƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists holidaycalendermaster cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table holidaycalendermaster (
   Holiday date not null comment '‹x“ú'
   , BusinessYear smallint(5) unsigned not null comment '‰c‹Æ”N“x'
@@ -1714,10 +1715,10 @@
   on holidaycalendermaster(TargetDay);
 
 -- ‹ÆŽÒ�¿‹�“ü—Íƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists inputbillingdata cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table inputbillingdata (
   COMPANYCODE decimal(8,0) default '0' not null comment '‹¦—Í‰ïŽÐƒR�[ƒh'
   , TARGETDATE decimal(6,0) default '0' not null comment '‘Î�Û”NŒŽ'
@@ -1735,10 +1736,10 @@
 ) comment '‹ÆŽÒ�¿‹�“ü—Íƒf�[ƒ^' ;
 
 -- ‹ÆŽÒ�¿‹�“ü—Í–¾�×ƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists inputbillingdatadetail cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table inputbillingdatadetail (
   COMPANYCODE decimal(8,0) default '0' not null comment '‹¦—Í‰ïŽÐƒR�[ƒh'
   , TARGETDATE decimal(6,0) default '0' not null comment '‘Î�Û”NŒŽ'
@@ -1762,10 +1763,10 @@
 ) comment '‹ÆŽÒ�¿‹�“ü—Í–¾�×ƒf�[ƒ^' ;
 
 -- ‹ÆŽÒ�¿‹�“ü—Í�ó‘Ô
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists inputbillingstatus cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table inputbillingstatus (
   COMPANYCODE decimal(8,0) default '0' not null comment '‹¦—Í‰ïŽÐƒR�[ƒh'
   , TARGETDATE decimal(6,0) default '0' not null comment '‘Î�Û”NŒŽ'
@@ -1777,10 +1778,10 @@
 ) comment '‹ÆŽÒ�¿‹�“ü—Í�ó‘Ô' ;
 
 -- “ü—ÍŽžŒŸ�õ—š—ð
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists inputsearchlogdata cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table inputsearchlogdata (
   ConstructionCode decimal(10,0) not null comment '�HŽ–ƒR�[ƒh'
   , UsedProcessNo decimal(4,0) not null comment 'Žg—p‹@”\”Ô�†'
@@ -1794,10 +1795,10 @@
   on inputsearchlogdata(ConstructionCode,UsedProcessNo,InputCode);
 
 -- �¿‹��‘ƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists invoicedata cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table invoicedata (
   INVOICENO decimal(9,0) not null comment '�¿‹��‘No'
   , ORDERERSDIVISION decimal(5,0) not null comment '”­’�ŽÒ‹æ•ª'
@@ -1823,24 +1824,22 @@
 alter table invoicedata add unique ORDERERSDIVISION (ORDERERSDIVISION,ORDERERSCODE,REQUESTMONTH,SEQNO) ;
 
 -- ƒ��[ƒ‹ƒRƒ“ƒeƒ“ƒcƒ}ƒXƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists mailcontentsmaster cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table mailcontentsmaster (
   MailDelivery decimal(3,0) not null comment '‘—�M�æ�Ý’è”Ô�†'
   , MailTitle varchar(30) comment 'ƒ��[ƒ‹ƒ^ƒCƒgƒ‹'
   , MailContent varchar(400) comment 'ƒ��[ƒ‹–{•¶'
-  , EntryDate datetime not null comment '“o˜^“ú•t'
-  , UpdateDate datetime not null comment '�X�V“ú•t'
   , constraint mailcontentsmaster_PKC primary key (MailDelivery)
 ) comment 'ƒ��[ƒ‹ƒRƒ“ƒeƒ“ƒcƒ}ƒXƒ^' ;
 
 -- Ž‘�Þ�î•ñ
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists materialinfo cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table materialinfo (
   MATERIALITEMCODE smallint(5) unsigned default 0 not null comment 'Ž‘�Þ•i–ÚƒR�[ƒh'
   , MATERIALCOUNT smallint(5) unsigned comment 'Ž‘�Þ�”'
@@ -1852,10 +1851,10 @@
 ) comment 'Ž‘�Þ�î•ñ' ;
 
 -- Ž‘�Þ•i–Úƒ}ƒXƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists materialitemmaster cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table materialitemmaster (
   MATERIALITEMCODE smallint(5) unsigned default 0 not null comment 'Ž‘�Þ•i–ÚƒR�[ƒh'
   , MATERIALKINDCODE smallint(5) unsigned comment 'Ž‘�ÞŽí—ÞƒR�[ƒh'
@@ -1869,10 +1868,10 @@
 ) comment 'Ž‘�Þ•i–Úƒ}ƒXƒ^' ;
 
 -- Ž‘�ÞŽí—Þƒ}ƒXƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists materialkindmaster cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table materialkindmaster (
   MATERIALKINDCODE smallint(5) unsigned default 0 not null comment 'Ž‘�ÞŽí—ÞƒR�[ƒh'
   , MATERIALKINDNAME varchar(40) comment 'Ž‘�ÞŽí—Þ–¼�Ì'
@@ -1884,10 +1883,10 @@
 ) comment 'Ž‘�ÞŽí—Þƒ}ƒXƒ^' ;
 
 -- Ž‘�Þ—š—ð�î•ñ
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists materialrecordinfo cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table materialrecordinfo (
   MATERIALITEMCODE smallint(5) unsigned default 0 not null comment 'Ž‘�Þ•i–ÚƒR�[ƒh'
   , PROCESSDATE date default '0000-00-00' not null comment '�ˆ—�”NŒŽ“ú'
@@ -1904,10 +1903,10 @@
 ) comment 'Ž‘�Þ—š—ð�î•ñ' ;
 
 -- ŒfŽ¦”Âƒ�ƒbƒZ�[ƒW
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists messageboarddata cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table messageboarddata (
   RecordNumber decimal(6,0) unsigned not null comment 'ƒŒƒR�[ƒh”Ô�†'
   , BranchNumber decimal(3,0) unsigned not null comment 'ƒŒƒR�[ƒhŽ}”Ô'
@@ -1936,10 +1935,10 @@
   on messageboarddata(MessageFlag);
 
 -- ŒfŽ¦”Â‘Î�ÛŽÒƒe�[ƒuƒ‹
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists messageboardterget cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table messageboardterget (
   RecordNumber decimal(6,0) unsigned not null comment 'ƒŒƒR�[ƒh”Ô�†'
   , BranchNumber decimal(3,0) unsigned not null comment 'ƒŒƒR�[ƒhŽ}”Ô'
@@ -1955,10 +1954,10 @@
   on messageboardterget(RecordNumber,BranchNumber);
 
 -- ŒfŽ¦”Âƒ�ƒbƒZ�[ƒW‰{———š—ð
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists messagebrowsinghistory cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table messagebrowsinghistory (
   RecordNumber decimal(6,0) unsigned not null comment 'ƒŒƒR�[ƒh”Ô�†'
   , BranchNumber decimal(3,0) unsigned not null comment 'ƒŒƒR�[ƒhŽ}”Ô'
@@ -1971,10 +1970,10 @@
 ) comment 'ŒfŽ¦”Âƒ�ƒbƒZ�[ƒW‰{———š—ð' ;
 
 -- ŒŽƒ}ƒXƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists monthmaster cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table monthmaster (
   month smallint(6) not null comment 'ŒŽ'
   , constraint monthmaster_PKC primary key (month)
@@ -1981,10 +1980,10 @@
 ) comment 'ŒŽƒ}ƒXƒ^' ;
 
 -- ‚¨’m‚ç‚¹�î•ñ
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists notificationmessage cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table notificationmessage (
   MessageDate datetime not null comment '•\Ž¦”NŒŽ“ú'
   , SeqNo decimal(3,0) unsigned not null comment '˜A”Ô'
@@ -2001,10 +2000,10 @@
 ) comment '‚¨’m‚ç‚¹�î•ñ' ;
 
 -- ‚¨’m‚ç‚¹‰{——�î•ñ
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists notificationmessagebrowsing cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table notificationmessagebrowsing (
   MessageDate datetime not null comment '•\Ž¦”NŒŽ“ú'
   , SeqNo decimal(4,0) unsigned not null comment '˜A”Ô'
@@ -2019,10 +2018,10 @@
   on notificationmessagebrowsing(CompanyCode);
 
 -- ‚¨’m‚ç‚¹‘Î�Û‹ÆŽÒ‘I‘ð�î•ñ
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists notificationmessageselect cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table notificationmessageselect (
   MessageDate datetime not null comment '•\Ž¦”NŒŽ“ú'
   , SeqNo decimal(4,0) unsigned not null comment '˜A”Ô'
@@ -2033,10 +2032,10 @@
 ) comment '‚¨’m‚ç‚¹‘Î�Û‹ÆŽÒ‘I‘ð�î•ñ' ;
 
 -- ”­’�ŽÒƒ}ƒXƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists orderersmaster cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table orderersmaster (
   OrderCotegory decimal(5,0) unsigned not null comment '”­’�ŽÒ‹æ•ª'
   , OrderersCode decimal(5,0) unsigned not null comment '”­’�ŽÒƒR�[ƒh'
@@ -2064,10 +2063,10 @@
 ) comment '”­’�ŽÒƒ}ƒXƒ^' ;
 
 -- Žó’�‹àŠzƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists orderspricedata cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table orderspricedata (
   ConstructionCode decimal(10,0) unsigned not null comment '�HŽ–ƒR�[ƒh'
   , ChangeNo decimal(3,0) unsigned not null comment '•Ï�X”Ô�†'
@@ -2085,10 +2084,10 @@
 ) comment 'Žó’�‹àŠzƒf�[ƒ^' ;
 
 -- Žx•¥�³”F�î•ñƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists paymentapprovalinfo cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table paymentapprovalinfo (
   COMPANYCODE decimal(8,0) default '0' not null comment '‹¦—Í‰ïŽÐƒR�[ƒh'
   , TARGETDATE decimal(6,0) default '0' not null comment '‘Î�Û”NŒŽ'
@@ -2105,10 +2104,10 @@
 ) comment 'Žx•¥�³”F�î•ñƒf�[ƒ^' ;
 
 -- Žx•¥–¾�×ƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists paymentdatadetail cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table paymentdatadetail (
   COMPANYCODE decimal(8,0) default '0' not null comment '‹¦—Í‰ïŽÐƒR�[ƒh'
   , TARGETDATE decimal(6,0) default '0' not null comment '‘Î�Û”NŒŽ'
@@ -2139,10 +2138,10 @@
   on paymentdatadetail(APPROVALPERSONCODE);
 
 -- �HŽ–ŠúŒÀ‰ñ”ðƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists periodavoidance cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table periodavoidance (
   ConstructionCode decimal(10,0) unsigned not null comment '�HŽ–ƒR�[ƒh'
   , ConstructionStatusFlg decimal(2,0) not null comment '�HŽ–�ó‘Ôƒtƒ‰ƒO'
@@ -2162,10 +2161,10 @@
   on periodavoidance(FieldNo);
 
 -- ’S“–ŽÒ�³”Fƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists personapproval cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table personapproval (
   PersonCode decimal(8,0) unsigned not null comment '’S“–ŽÒƒR�[ƒh'
   , ApprovalCode decimal(3,0) unsigned not null comment '�³”F‹@”\”Ô�†'
@@ -2198,10 +2197,10 @@
   on personapproval(PersonCodeApproval);
 
 -- ’S“–ŽÒ�³”FƒRƒ�ƒ“ƒgƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists personapprovalcomment cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table personapprovalcomment (
   PersonCode decimal(8,0) unsigned not null comment '’S“–ŽÒƒR�[ƒh'
   , ApprovalCode decimal(3,0) unsigned not null comment '�³”F‹@”\”Ô�†'
@@ -2216,10 +2215,10 @@
 ) comment '’S“–ŽÒ�³”FƒRƒ�ƒ“ƒgƒf�[ƒ^' ;
 
 -- ’S“–ŽÒ‘Î�Û•”��ƒ}ƒXƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists persondepartmentmaster cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table persondepartmentmaster (
   PersonCode decimal(8,0) unsigned not null comment '’S“–ŽÒƒR�[ƒh'
   , DepartmentCode decimal(5,0) unsigned not null comment '•”��ƒR�[ƒh'
@@ -2236,10 +2235,10 @@
   on persondepartmentmaster(DepartmentCode);
 
 -- ’S“–ŽÒƒ}ƒXƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists personinchargemaster cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table personinchargemaster (
   PersonCode decimal(8,0) unsigned not null comment '’S“–ŽÒƒR�[ƒh'
   , DisplayOrder decimal(8,0) unsigned not null comment '•\Ž¦�‡'
@@ -2288,10 +2287,10 @@
   on personinchargemaster(DepartmentCode);
 
 -- ’S“–ŽÒŽ‘Šiƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists personqualification cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table personqualification (
   PersonCode decimal(8,0) unsigned not null comment '’S“–ŽÒƒR�[ƒh'
   , SeqNo decimal(3,0) unsigned not null comment 'ƒf�[ƒ^�‡”Ô'
@@ -2306,10 +2305,10 @@
 ) comment '’S“–ŽÒŽ‘Šiƒf�[ƒ^' ;
 
 -- ’S“–ŽÒ‹‹—^ƒ}ƒXƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists personsalarymaster cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table personsalarymaster (
   PersonCode decimal(8,0) unsigned not null comment '’S“–ŽÒƒR�[ƒh'
   , StartDate date not null comment 'Žg—pŠJŽn”NŒŽ“ú'
@@ -2330,10 +2329,10 @@
   on personsalarymaster(MonthlySalary);
 
 -- ŽwŽ¦Ž–�€ƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists pointingoutcomment cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table pointingoutcomment (
   ConstructionCode decimal(10,0) not null comment '�HŽ–ƒR�[ƒh'
   , ProcessNo smallint(6) not null comment '�ˆ—�”Ô�†�i‰æ–Ê”Ô�†�j'
@@ -2354,10 +2353,10 @@
 ) comment 'ŽwŽ¦Ž–�€ƒf�[ƒ^' ;
 
 -- ”­’�ŽÒ‘Å‚¿�‡‚í‚¹‹cŽ–˜^ƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists proceedingsdata cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table proceedingsdata (
   ConstructionCode decimal(10,0) unsigned not null comment '�HŽ–ƒR�[ƒh'
   , ProceedingsDataDate date not null comment '‹cŽ–˜^�ì�¬“ú'
@@ -2372,10 +2371,10 @@
 ) comment '”­’�ŽÒ‘Å‚¿�‡‚í‚¹‹cŽ–˜^ƒf�[ƒ^' ;
 
 -- ”­’�ŽÒ‘Å‚¿�‡‚í‚¹‹cŽ–˜^ƒf�[ƒ^�i�o�ÈŽÒ�j
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists proceedingsdataattend cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table proceedingsdataattend (
   ConstructionCode decimal(10,0) unsigned not null comment '�HŽ–ƒR�[ƒh'
   , ProceedingsDataDate date not null comment '‹cŽ–˜^�ì�¬“ú'
@@ -2389,10 +2388,10 @@
 ) comment '”­’�ŽÒ‘Å‚¿�‡‚í‚¹‹cŽ–˜^ƒf�[ƒ^�i�o�ÈŽÒ�j' ;
 
 -- ”­’�ŽÒ‘Å‚¿�‡‚í‚¹‹cŽ–˜^ƒf�[ƒ^�i–¾�×�j
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists proceedingsdatadetail cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table proceedingsdatadetail (
   ConstructionCode decimal(10,0) unsigned not null comment '�HŽ–ƒR�[ƒh'
   , ProceedingsDataDate date not null comment '‹cŽ–˜^�ì�¬“ú'
@@ -2407,10 +2406,10 @@
 ) comment '”­’�ŽÒ‘Å‚¿�‡‚í‚¹‹cŽ–˜^ƒf�[ƒ^�i–¾�×�j' ;
 
 -- �³”Fƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists processapproval cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table processapproval (
   ConstructionCode decimal(10,0) unsigned not null comment '�HŽ–ƒR�[ƒh'
   , ApprovalCode decimal(3,0) unsigned not null comment '�³”F‹@”\”Ô�†'
@@ -2427,10 +2426,10 @@
 ) comment '�³”Fƒf�[ƒ^' ;
 
 -- �³”FƒRƒ�ƒ“ƒgƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists processapprovalcomment cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table processapprovalcomment (
   ConstructionCode decimal(10,0) unsigned not null comment '�HŽ–ƒR�[ƒh'
   , ApprovalCode decimal(3,0) unsigned not null comment '�³”F‹@”\”Ô�†'
@@ -2444,10 +2443,10 @@
 ) comment '�³”FƒRƒ�ƒ“ƒgƒf�[ƒ^' ;
 
 -- �³”F–¾�×ƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists processapprovaldetail cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table processapprovaldetail (
   ConstructionCode decimal(10,0) unsigned not null comment '�HŽ–ƒR�[ƒh'
   , ApprovalCode decimal(3,0) unsigned not null comment '�³”F‹@”\”Ô�†'
@@ -2460,10 +2459,10 @@
 ) comment '�³”F–¾�×ƒf�[ƒ^' ;
 
 -- ‹N“®‘Î�Ûƒ}ƒXƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists processexcutemaster cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table processexcutemaster (
   SecCode decimal(2,0) unsigned not null comment '•ÛŒì‹æ•ª”Ô�†'
   , ExecCode decimal(4,0) unsigned not null comment '‹N“®�ˆ—�”Ô�†'
@@ -2480,10 +2479,10 @@
   on processexcutemaster(ExecCode);
 
 -- ’�•¶�‘ƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists purchaseorder cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table purchaseorder (
   ConstructionCode decimal(10,0) unsigned not null comment '�HŽ–ƒR�[ƒh'
   , SeqNo decimal(3,0) unsigned not null comment '’�•¶�‘Ž}”Ô'
@@ -2515,6 +2514,8 @@
   , RePrintFlag decimal(1,0) default '0' not null comment '�Äˆó�ü‰Â”\ƒtƒ‰ƒO�i–¢Žg—p�j'
   , OrderDate date not null comment 'Žó’��EƒLƒƒƒ“ƒZƒ‹”NŒŽ“ú'
   , OrderStatus decimal(1,0) default '0' not null comment 'Žó’��ó‘Ô'
+  , OrderStDate date not null comment '’…�H“ú'
+  , OrderEdDate date not null comment 'Š®—¹“ú'
   , EntryDate datetime not null comment '“o˜^“ú•t'
   , UpdateDate datetime not null comment '�X�V“ú•t'
   , constraint purchaseorder_PKC primary key (ConstructionCode,SeqNo)
@@ -2521,10 +2522,10 @@
 ) comment '’�•¶�‘ƒf�[ƒ^' ;
 
 -- ’�•¶�‘“ú•tƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists purchaseorderdate cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table purchaseorderdate (
   ConstructionCode decimal(10,0) unsigned not null comment '�HŽ–ƒR�[ƒh'
   , SeqNo decimal(3,0) unsigned not null comment '’�•¶�‘Ž}”Ô'
@@ -2538,10 +2539,10 @@
 ) comment '’�•¶�‘“ú•tƒf�[ƒ^' ;
 
 -- ’�•¶�‘–¾�×ƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists purchaseorderdetail cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table purchaseorderdetail (
   ConstructionCode decimal(10,0) unsigned not null comment '�HŽ–ƒR�[ƒh'
   , SeqNo decimal(3,0) unsigned not null comment '’�•¶�‘Ž}”Ô'
@@ -2568,10 +2569,10 @@
   on purchaseorderdetail(SourceCode);
 
 -- Ž‘Šiƒ}ƒXƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists qualificationmaster cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table qualificationmaster (
   DCode decimal(5,0) unsigned not null comment '•ª—Þ‹æ•ª'
   , Qcode decimal(5,0) unsigned not null comment 'Ž‘ŠiƒR�[ƒh'
@@ -2593,10 +2594,10 @@
   on qualificationmaster(DisplayOrder);
 
 -- ƒŒƒR�[ƒh”Ô�†ŠÇ—�
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists recordkey cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table recordkey (
   KeyNo decimal(2,0) unsigned not null comment 'ƒL�[ƒR�[ƒh'
   , RecordNumber decimal(6,0) unsigned not null comment 'ƒŒƒR�[ƒh”Ô�†'
@@ -2606,10 +2607,10 @@
 ) comment 'ƒŒƒR�[ƒh”Ô�†ŠÇ—�' ;
 
 -- �¿‹��‘�í�œƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists reminvoicedata cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table reminvoicedata (
   InvoiceNo decimal(9,0) not null comment '�¿‹��‘No'
   , RemPerson decimal(8,0) not null comment '�í�œ’S“–ŽÒƒR�[ƒh'
@@ -2621,10 +2622,10 @@
 ) comment '�¿‹��‘�í�œƒf�[ƒ^' ;
 
 -- �¿‹��‘�í�œ–¾�×ƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists reminvoicedatadetail cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table reminvoicedatadetail (
   InvoiceNo decimal(9,0) not null comment '�¿‹��‘No'
   , SeqNo smallint(5) unsigned not null comment '˜A”Ô'
@@ -2635,10 +2636,10 @@
 ) comment '�¿‹��‘�í�œ–¾�×ƒf�[ƒ^' ;
 
 -- �¿‹�Žæ�Áƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists removerequest cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table removerequest (
   RemoveNo decimal(10,0) not null comment 'Žæ�ÁNo'
   , RemoveDate decimal(8,0) not null comment '�¿‹�Žæ�Á“ú'
@@ -2674,10 +2675,10 @@
   on removerequest(ORDERNO);
 
 -- �¿‹�Žæ�Áƒf�[ƒ^–¾�×
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists removerequestdetail cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table removerequestdetail (
   RemoveNo decimal(10,0) not null comment 'Žæ�ÁNo'
   , SeqNo decimal(9,0) not null comment 'Žó•tno'
@@ -2693,10 +2694,10 @@
 ) comment '�¿‹�Žæ�Áƒf�[ƒ^–¾�×' ;
 
 -- �¿‹�ƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists requestdata cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table requestdata (
   REQUESTNO decimal(9,0) not null comment '�¿‹�No'
   , MAINCONSTRUCTIONCODE decimal(10,0) not null comment '–{�HŽ–”Ô�†'
@@ -2720,10 +2721,10 @@
 ) comment '�¿‹�ƒf�[ƒ^' ;
 
 -- �¿‹�ƒf�[ƒ^–¾�×
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists requestdatadetail cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table requestdatadetail (
   REQUESTNO decimal(9,0) not null comment '�¿‹�No'
   , MAINCONSTRUCTIONCODE decimal(10,0) not null comment '–{�HŽ–”Ô�†'
@@ -2737,10 +2738,10 @@
 ) comment '�¿‹�ƒf�[ƒ^–¾�×' ;
 
 -- �¿‹�ƒwƒbƒ_
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists requesthead cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table requesthead (
   REQUESTNO decimal(9,0) not null comment '�¿‹�No'
   , REQCONSTRUCTIONCODE decimal(10,0) not null comment '�¿‹��HŽ–”Ô�†'
@@ -2767,10 +2768,10 @@
 alter table requesthead add unique REQCONSTRUCTIONCODE (REQCONSTRUCTIONCODE,ORDERNO) ;
 
 -- �¿‹��‘“ú•tƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists requestorderdate cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table requestorderdate (
   ConstructionCode decimal(10,0) unsigned not null comment '�HŽ–ƒR�[ƒh'
   , InvoiceNo decimal(9,0) not null comment '�¿‹��‘No'
@@ -2781,10 +2782,10 @@
 ) comment '�¿‹��‘“ú•tƒf�[ƒ^' ;
 
 -- ”„�ãƒOƒ‰ƒtƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists salesgraphdata cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table salesgraphdata (
   GraphDataCode decimal(8,0) not null comment 'ƒOƒ‰ƒtƒf�[ƒ^ƒR�[ƒh'
   , ConstructionPeriod decimal(4,0) unsigned not null comment 'Ž–‹ÆŠú'
@@ -2807,10 +2808,10 @@
   on salesgraphdata(ConstructionPeriod);
 
 -- •ÛŒì‹æ•ªƒ}ƒXƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists securitymaster cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table securitymaster (
   SecCode decimal(2,0) unsigned not null comment '•ÛŒì‹æ•ª”Ô�†'
   , DisplayOrder decimal(2,0) not null comment '•\Ž¦�‡'
@@ -2834,10 +2835,10 @@
   on securitymaster(SecRange);
 
 -- ˆÀ‘Sƒpƒgƒ��[ƒ‹ƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists sfpdata cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table sfpdata (
   ConstructionCode decimal(10,0) unsigned not null comment '�HŽ–ƒR�[ƒh'
   , DataCount decimal(2,0) unsigned not null comment 'ƒpƒgƒ��[ƒ‹‰ñ�”'
@@ -2854,10 +2855,10 @@
   on sfpdata(RequestDate);
 
 -- ˆÀ‘Sƒpƒgƒ��[ƒ‹–¾�×ƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists sfpdatadetail cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table sfpdatadetail (
   ConstructionCode decimal(10,0) unsigned not null comment '�HŽ–ƒR�[ƒh'
   , DataCount decimal(2,0) unsigned not null comment 'ƒpƒgƒ��[ƒ‹‰ñ�”'
@@ -2869,10 +2870,10 @@
 ) comment 'ˆÀ‘Sƒpƒgƒ��[ƒ‹–¾�×ƒf�[ƒ^' ;
 
 -- ‹¦—Í‰ïŽÐƒ��[ƒ‹‘—�MƒLƒ…�[
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists subconmailqueue cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table subconmailqueue (
   SeqNo decimal(8,0) default '0' not null comment '˜A”Ô'
   , CompanyCode decimal(8,0) default '0' not null comment '‹¦—Í‰ïŽÐƒR�[ƒh'
@@ -2895,10 +2896,10 @@
   on subconmailqueue(Argument0);
 
 -- ‹¦—Í‹ÆŽÒŽ{�H�HŽí“o˜^�\�¿ƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists subconstrjobitemregist cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table subconstrjobitemregist (
   PersonCode decimal(8,0) unsigned not null comment '�\�¿ŽÒ”Ô�†'
   , CreateDate date not null comment '�ì�¬“ú'
@@ -2911,10 +2912,10 @@
 ) comment '‹¦—Í‹ÆŽÒŽ{�H�HŽí“o˜^�\�¿ƒf�[ƒ^' ;
 
 -- ‹¦—Í‹ÆŽÒ�EŽíƒŠƒ“ƒN“o˜^�\�¿ƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists subconstrjoblinkregist cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table subconstrjoblinkregist (
   PersonCode decimal(8,0) unsigned not null comment '�\�¿ŽÒ”Ô�†'
   , CreateDate date not null comment '�ì�¬“ú'
@@ -2927,10 +2928,10 @@
 ) comment '‹¦—Í‹ÆŽÒ�EŽíƒŠƒ“ƒN“o˜^�\�¿ƒf�[ƒ^' ;
 
 -- ‹¦—Í‹ÆŽÒ“o˜^�\�¿ƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists subconstrregist cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table subconstrregist (
   PersonCode decimal(8,0) unsigned not null comment '�\�¿ŽÒ”Ô�†'
   , CreateDate date not null comment '�ì�¬“ú'
@@ -2964,10 +2965,10 @@
 ) comment '‹¦—Í‹ÆŽÒ“o˜^�\�¿ƒf�[ƒ^' ;
 
 -- ‹¦—Í‰ïŽÐ�HŽíƒ}ƒXƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists subcontractoritemmaster cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table subcontractoritemmaster (
   ItemCode decimal(5,0) unsigned not null comment '�HŽíƒL�['
   , DisplayOrder decimal(5,0) unsigned not null comment '•\Ž¦�‡'
@@ -2979,10 +2980,10 @@
 ) comment '‹¦—Í‰ïŽÐ�HŽíƒ}ƒXƒ^' ;
 
 -- ‹¦—Í‰ïŽÐ�EŽíƒ}ƒXƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists subcontractorjobcategory cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table subcontractorjobcategory (
   JobCategoryCode decimal(5,0) not null comment '�EŽíƒL�['
   , DisplayOrder decimal(5,0) unsigned not null comment '•\Ž¦�‡'
@@ -2994,10 +2995,10 @@
 ) comment '‹¦—Í‰ïŽÐ�EŽíƒ}ƒXƒ^' ;
 
 -- ‹¦—Í‰ïŽÐŽ{�H�HŽíƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists subcontractorjobitem cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table subcontractorjobitem (
   CompanyCode decimal(8,0) not null comment '‹¦—Í‰ïŽÐƒR�[ƒh'
   , ItemCode decimal(5,0) unsigned not null comment '�HŽíƒL�['
@@ -3014,10 +3015,10 @@
   on subcontractorjobitem(ItemCode);
 
 -- ‹¦—Í‰ïŽÐ�EŽíƒŠƒ“ƒNƒ}ƒXƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists subcontractorjoblink cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table subcontractorjoblink (
   CompanyCode decimal(8,0) not null comment '‹¦—Í‰ïŽÐƒR�[ƒh'
   , JobCategoryCode decimal(5,0) not null comment '�EŽíƒL�['
@@ -3034,10 +3035,10 @@
   on subcontractorjoblink(JobCategoryCode);
 
 -- ‹¦—Í‰ïŽÐƒ��[ƒ‹ƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists subcontractormail cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table subcontractormail (
   CompanyCode decimal(8,0) default '0' not null comment '‹¦—Í‰ïŽÐƒR�[ƒh'
   , SeqNo decimal(3,0) default '0' not null comment '˜A”Ô'
@@ -3048,10 +3049,10 @@
 ) comment '‹¦—Í‰ïŽÐƒ��[ƒ‹ƒf�[ƒ^' ;
 
 -- ‹¦—Í‰ïŽÐƒ}ƒXƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists subcontractormaster cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table subcontractormaster (
   CompanyCode decimal(8,0) not null comment '‹¦—Í‰ïŽÐƒR�[ƒh'
   , DisplayOrder decimal(8,0) unsigned not null comment '•\Ž¦�‡'
@@ -3099,10 +3100,10 @@
   on subcontractormaster(JapaneseSyllabary);
 
 -- ‹¦—Í‰ïŽÐƒ��[ƒ‹‘—�M�Ý’è
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists subcontrmaildelivery cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table subcontrmaildelivery (
   CompanyCode decimal(8,0) default '0' not null comment '‹¦—Í‰ïŽÐƒR�[ƒh'
   , SeqNo decimal(3,0) default '0' not null comment '˜A”Ô'
@@ -3113,10 +3114,10 @@
 ) comment '‹¦—Í‰ïŽÐƒ��[ƒ‹‘—�M�Ý’è' ;
 
 -- Žd“ü�æƒ}ƒXƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists suppliersmaster cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table suppliersmaster (
   SuppliersCode decimal(5,0) unsigned not null comment 'Žd“ü�æƒR�[ƒh'
   , DisplayOrder decimal(5,0) unsigned not null comment '•\Ž¦�‡'
@@ -3136,10 +3137,10 @@
 ) comment 'Žd“ü�æƒ}ƒXƒ^' ;
 
 -- ƒVƒXƒeƒ€‹N“®Šm”Fƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists systemexecute cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table systemexecute (
   PrimaryCode tinyint(4) not null comment 'ƒL�[�€–Ú'
   , TargetDate date not null comment '‹N“®“ú•t'
@@ -3151,10 +3152,10 @@
 ) comment 'ƒVƒXƒeƒ€‹N“®Šm”Fƒf�[ƒ^' ;
 
 -- ŠÇ—�ƒ}ƒXƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists systemmaster cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table systemmaster (
   SystemCode decimal(3,0) unsigned not null comment '‰ïŽÐƒR�[ƒh'
   , CompanyName1 varchar(60) not null comment '‰ïŽÐ–¼‚P'
@@ -3191,10 +3192,10 @@
 ) comment 'ŠÇ—�ƒ}ƒXƒ^' ;
 
 -- ŠúŒÀƒ}ƒXƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists termmaster cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table termmaster (
   ConstructionStatusFlg decimal(2,0) not null comment '�HŽ–�ó‘Ôƒtƒ‰ƒO'
   , FieldNo decimal(2,0) not null comment 'ƒ`ƒFƒbƒN‘Î�ÛƒtƒB�[ƒ‹ƒh”Ô�†'
@@ -3215,10 +3216,10 @@
   on termmaster(DisplayOrder);
 
 -- �o‹ÎŒð’Ê”ïƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists tranceportdailydata cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table tranceportdailydata (
   PersonCode decimal(8,0) unsigned not null comment '�ì�¬ŽÒƒR�[ƒh'
   , AttendanceDate date not null comment '“ú•ñ�ì�¬“ú'
@@ -3239,10 +3240,10 @@
   on tranceportdailydata(AttendanceDate);
 
 -- �HŽ–Ží•ÊŒo”ï—¦ƒ}ƒXƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists typeexpensesmaster cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table typeexpensesmaster (
   TypeCode decimal(5,0) unsigned not null comment '�HŽ–Ží•ÊƒR�[ƒh'
   , ExpensesPeriod smallint(6) not null comment 'Ž–‹ÆŠú'
@@ -3255,10 +3256,10 @@
 ) comment '�HŽ–Ží•ÊŒo”ï—¦ƒ}ƒXƒ^' ;
 
 -- ’PˆÊƒ}ƒXƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists unitmaster cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table unitmaster (
   UnitKey decimal(5,0) unsigned not null comment '’PˆÊƒL�['
   , DisplayOrder decimal(5,0) unsigned not null comment '•\Ž¦�‡'
@@ -3272,10 +3273,10 @@
   on unitmaster(DisplayOrder);
 
 -- ŽÔ—¼ƒ}ƒXƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists vehiclemaster cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table vehiclemaster (
   VehicleCode decimal(5,0) unsigned not null comment 'ŽÔ—¼ƒR�[ƒh'
   , DisplayOrder decimal(5,0) unsigned not null comment '•\Ž¦�‡'
@@ -3303,10 +3304,10 @@
 ) comment 'ŽÔ—¼ƒ}ƒXƒ^' ;
 
 -- ŽÔ—¼‹L˜^ƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists vehiclerecorddata cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table vehiclerecorddata (
   VehicleCode decimal(5,0) unsigned not null comment 'ŽÔ—¼ƒR�[ƒh'
   , DivisionCode decimal(2,0) unsigned not null comment 'ƒf�[ƒ^‹æ•ª'
@@ -3321,10 +3322,10 @@
 ) comment 'ŽÔ—¼‹L˜^ƒf�[ƒ^' ;
 
 -- ŽÔ—¼—\–ñƒf�[ƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists vehiclescheduledata cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table vehiclescheduledata (
   TargetDate date not null comment '‘Î�Û“ú'
   , VehicleCode decimal(5,0) unsigned not null comment 'ŽÔ—¼ƒR�[ƒh'
@@ -3348,10 +3349,10 @@
   on vehiclescheduledata(TargetDay);
 
 -- �A‹ÆŽžŠÔƒ}ƒXƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists workingtime cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table workingtime (
   WorkingCode decimal(3,0) unsigned not null comment '�A‹ÆƒR�[ƒh'
   , DisplayOrder decimal(5,0) unsigned not null comment '•\Ž¦�‡'
@@ -3375,10 +3376,10 @@
 ) comment '�A‹ÆŽžŠÔƒ}ƒXƒ^' ;
 
 -- �A‹Æ‹xŒeŽžŠÔƒ}ƒXƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists workingtimebreak cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table workingtimebreak (
   WorkingCode decimal(3,0) unsigned not null comment '�A‹ÆƒR�[ƒh'
   , BreakNo decimal(2,0) unsigned not null comment '‹xŒe”Ô�†'
@@ -3390,10 +3391,10 @@
 ) comment '�A‹Æ‹xŒeŽžŠÔƒ}ƒXƒ^' ;
 
 -- ”Nƒ}ƒXƒ^
--- BackupToTempTable
+--* BackupToTempTable
 drop table if exists yearmaster cascade;
 
--- RestoreFromTempTable
+--* RestoreFromTempTable
 create table yearmaster (
   years smallint(6) not null comment '”N'
   , constraint yearmaster_PKC primary key (years)
Index: trunk/ddl/ProductType1.SQL
===================================================================
--- trunk/ddl/ProductType1.SQL	(nonexistent)
+++ trunk/ddl/ProductType1.SQL	(revision 468)
@@ -0,0 +1,198 @@
+--
+-- Dumping data for table `budgetsumcode`
+--
+
+LOCK TABLES `budgetsumcode` WRITE;
+/*!40000 ALTER TABLE `budgetsumcode` DISABLE KEYS */;
+INSERT INTO `budgetsumcode` VALUES (1,0,1,0,'‹¤’Ê‰¼�Ý�HŽ–”ï�i�Ï‚Ý�ã‚°”ïŠÜ‚Þ�j�¦Œö‹¤“üŽD�HŽ–—p','2019-12-01 00:00:00','2019-12-01 00:00:00'),(1,0,2,0,'‰ð‘Ì�HŽ–”ï�@�¦Œö‹¤“üŽD�HŽ–—p','2019-12-01 00:00:00','2019-12-01 00:00:00'),(1,0,3,0,'Œš’z�HŽ–”ï�@�¦Œö‹¤“üŽD�HŽ–—p','2019-12-01 00:00:00','2019-12-01 00:00:00'),(1,0,4,0,'“d‹C�Ý”õ�HŽ–”ï�@�¦Œö‹¤“üŽD�HŽ–—p','2019-12-01 00:00:00','2019-12-01 00:00:00'),(1,0,5,0,'‹@ŠB�Ý”õ�HŽ–”ï�@�¦Œö‹¤“üŽD�HŽ–—p','2019-12-01 00:00:00','2019-12-01 00:00:00'),(1,0,6,0,'Œ»�êŠÇ—�”ï�@�¦Œö‹¤“üŽD�HŽ–—p','2019-12-01 00:00:00','2019-12-01 00:00:00'),(1,0,7,0,'ˆê”ÊŠÇ—�”ï�@�¦Œö‹¤“üŽD�HŽ–—p','2019-12-01 00:00:00','2019-12-01 00:00:00'),(1,0,18,0,'”­�¶�Þ�ˆ•ª”ï�@�¦Œö‹¤“üŽD�HŽ–—p','2019-12-01 00:00:00','2019-12-01 00:00:00'),(2,1,18,0,'”­�¶�Þ�ˆ•ª”ï�@�¦Œö‹¤“üŽD�HŽ–—p','2019-12-01 00:00:00','2019-12-01 00:00:00'),(3,2,7,0,'ˆê”ÊŠÇ—�”ï�@�¦Œö‹¤“üŽD�HŽ–—p','2019-12-01 00:00:00','2019-12-01 00:00:00'),(3,2,8,0,'�”Œo”ï�@�¦Œö‹¤ŠÈˆÕ�Eˆê”Ê�HŽ–—p','2019-12-01 00:00:00','2019-12-01 00:00:00'),(3,2,21,0,'ˆê”ÊŠÇ—�”ï�@�¦Œö‹¤ŠÈˆÕ�Eˆê”Ê�HŽ–—p','2019-12-01 00:00:00','2019-12-01 00:00:00'),(4,3,6,0,'Œ»�êŠÇ—�”ï�@�¦Œö‹¤“üŽD�HŽ–—p','2019-12-01 00:00:00','2019-12-01 00:00:00'),(4,3,20,0,'Œ»�êŠÇ—�”ï�@�¦Œö‹¤ŠÈˆÕ�Eˆê”Ê�HŽ–—p','2019-12-01 00:00:00','2019-12-01 00:00:00'),(5,4,1,0,'‹¤’Ê‰¼�Ý�HŽ–”ï�i�Ï‚Ý�ã‚°”ïŠÜ‚Þ�j�¦Œö‹¤“üŽD�HŽ–—p','2019-12-01 00:00:00','2019-12-01 00:00:00'),(5,4,1,10,'�Ï‚Ý�ã‚°‹¤’Ê‰¼�Ý”ï�@�¦Œö‹¤�HŽ–','2019-12-01 00:00:00','2019-12-01 00:00:00'),(6,5,2,0,'‰ð‘Ì�HŽ–”ï�@�¦Œö‹¤“üŽD�HŽ–—p','2019-12-01 00:00:00','2019-12-01 00:00:00'),(6,6,3,0,'Œš’z�HŽ–”ï�@�¦Œö‹¤“üŽD�HŽ–—p','2019-12-01 00:00:00','2019-12-01 00:00:00'),(6,7,4,0,'“d‹C�Ý”õ�HŽ–”ï�@�¦Œö‹¤“üŽD�HŽ–—p','2019-12-01 00:00:00','2019-12-01 00:00:00'),(6,8,5,0,'‹@ŠB�Ý”õ�HŽ–”ï�@�¦Œö‹¤“üŽD�HŽ–—p','2019-12-01 00:00:00','2019-12-01 00:00:00');
+/*!40000 ALTER TABLE `budgetsumcode` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Dumping data for table `businesstypemaster`
+--
+
+LOCK TABLES `businesstypemaster` WRITE;
+/*!40000 ALTER TABLE `businesstypemaster` DISABLE KEYS */;
+INSERT INTO `businesstypemaster` VALUES (1,1,'Š”Ž®‰ïŽÐ','2019-12-01 00:00:00','2019-12-01 00:00:00'),(2,2,'—LŒÀ‰ïŽÐ','2019-12-01 00:00:00','2019-12-01 00:00:00'),(3,3,'�‡–¼‰ïŽÐ','2019-12-01 00:00:00','2019-12-01 00:00:00'),(4,4,'�‡Ž‘‰ïŽÐ','2019-12-01 00:00:00','2019-12-01 00:00:00'),(5,5,'�‡“¯‰ïŽÐ','2019-12-01 00:00:00','2019-12-01 00:00:00'),(6,6,'ˆã—Ã–@�l','2019-12-01 00:00:00','2019-12-01 00:00:00'),(7,7,'ˆã—Ã–@�lŽÐ’c','2019-12-01 00:00:00','2019-12-01 00:00:00'),(8,8,'ˆã—Ã–@�l�à’c','2019-12-01 00:00:00','2019-12-01 00:00:00'),(9,9,'ŽÐ‰ïˆã—Ã–@�l','2019-12-01 00:00:00','2019-12-01 00:00:00'),(10,10,'�à’c–@�l','2019-12-01 00:00:00','2019-12-01 00:00:00'),(11,11,'ˆê”Ê�à’c–@�l','2019-12-01 00:00:00','2019-12-01 00:00:00'),(12,12,'Œö‰v�à’c–@�l','2019-12-01 00:00:00','2019-12-01 00:00:00'),(13,13,'ŽÐ’c–@�l','2019-12-01 00:00:00','2019-12-01 00:00:00'),(14,14,'ˆê”ÊŽÐ’c–@�l','2019-12-01 00:00:00','2019-12-01 00:00:00'),(15,15,'Œö‰vŽÐ’c–@�l','2019-12-01 00:00:00','2019-12-01 00:00:00'),(16,16,'�@‹³–@�l','2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,17,'Šw�Z–@�l','2019-12-01 00:00:00','2019-12-01 00:00:00'),(18,18,'ŽÐ‰ï•ŸŽƒ–@�l','2019-12-01 00:00:00','2019-12-01 00:00:00'),(19,19,'�X�¶•ÛŒì–@�l','2019-12-01 00:00:00','2019-12-01 00:00:00'),(20,20,'‘ŠŒÝ‰ïŽÐ','2019-12-01 00:00:00','2019-12-01 00:00:00'),(21,21,'“Á’è”ñ‰c—˜Šˆ“®–@�l','2019-12-01 00:00:00','2019-12-01 00:00:00'),(22,22,'“Æ—§�s�­–@�l','2019-12-01 00:00:00','2019-12-01 00:00:00'),(23,23,'’n•û“Æ—§�s�­–@�l','2019-12-01 00:00:00','2019-12-01 00:00:00'),(24,24,'•ÙŒìŽm–@�l','2019-12-01 00:00:00','2019-12-01 00:00:00'),(25,25,'—LŒÀ�Ó”C’†ŠÔ–@�l','2019-12-01 00:00:00','2019-12-01 00:00:00'),(26,26,'–³ŒÀ�Ó”C’†ŠÔ–@�l','2019-12-01 00:00:00','2019-12-01 00:00:00'),(27,27,'�s�­�‘Žm–@�l','2019-12-01 00:00:00','2019-12-01 00:00:00'),(28,28,'Ži–@�‘Žm–@�l','2019-12-01 00:00:00','2019-12-01 00:00:00'),(29,29,'�Å—�Žm–@�l','2019-12-01 00:00:00','2019-12-01 00:00:00'),(30,30,'�‘—§‘åŠw–@�l','2019-12-01 00:00:00','2019-12-01 00:00:00'),(31,31,'Œö—§‘åŠw–@�l','2019-12-01 00:00:00','2019-12-01 00:00:00'),(32,32,'”_Ž–‘g�‡–@�l','2019-12-01 00:00:00','2019-12-01 00:00:00'),(33,33,'ŠÇ—�‘g�‡–@�l','2019-12-01 00:00:00','2019-12-01 00:00:00'),(34,34,'ŽÐ‰ï•ÛŒ¯˜J–±Žm–@�l','2019-12-01 00:00:00','2019-12-01 00:00:00');
+/*!40000 ALTER TABLE `businesstypemaster` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Dumping data for table `chgchargedep`
+--
+
+LOCK TABLES `chgchargedep` WRITE;
+/*!40000 ALTER TABLE `chgchargedep` DISABLE KEYS */;
+INSERT INTO `chgchargedep` VALUES (20181001,'2018-10-01','9999-12-31',1,'�HŽ–•”','2019-12-01 00:00:00','2019-12-01 00:00:00');
+/*!40000 ALTER TABLE `chgchargedep` ENABLE KEYS */;
+UNLOCK TABLES;
+--
+-- Dumping data for table `componentlinkmaster`
+--
+
+LOCK TABLES `componentlinkmaster` WRITE;
+/*!40000 ALTER TABLE `componentlinkmaster` DISABLE KEYS */;
+INSERT INTO `componentlinkmaster` VALUES (1,1,2,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(1,2,3,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(1,3,4,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(1,4,5,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(1,5,6,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(1,6,7,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(1,7,8,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(1,8,9,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(1,10,10,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(1,11,1,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(2,15,2,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(2,16,3,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(2,17,4,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(2,18,5,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(2,19,6,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(2,20,1,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(2,21,7,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(3,20,2,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(3,22,1,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(3,23,3,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(3,24,4,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(3,25,5,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(3,26,6,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(3,27,7,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(3,28,8,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(3,29,9,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(3,30,10,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(3,31,11,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(3,32,12,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(3,33,13,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(3,34,14,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(3,35,15,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(3,36,16,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(3,37,17,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(3,38,18,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(3,39,19,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(3,40,20,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(3,41,21,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(3,42,22,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(3,43,23,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(3,44,24,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(3,45,25,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(3,46,26,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(3,47,28,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(3,48,29,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(3,49,30,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(3,50,31,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(3,51,27,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(3,52,35,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(3,53,36,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(3,54,34,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(3,55,37,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(3,56,38,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(3,57,39,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(3,58,40,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(3,59,32,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(3,60,41,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(3,110,33,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(3,111,42,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(3,112,43,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(3,140,45,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(3,166,44,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(4,58,7,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(4,61,1,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(4,62,2,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(4,63,3,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(4,64,4,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(4,65,5,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(4,66,6,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(5,58,10,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(5,67,2,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(5,68,3,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(5,69,4,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(5,70,5,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(5,71,6,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(5,72,7,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(5,73,8,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(5,74,9,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(5,131,1,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(14,106,1,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(14,107,2,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(15,108,1,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(15,109,2,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,15,2,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,16,4,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,17,5,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,18,7,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,19,6,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,20,1,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,22,8,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,23,9,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,24,10,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,25,13,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,26,11,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,27,14,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,28,16,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,29,15,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,30,17,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,31,24,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,32,22,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,33,20,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,34,19,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,35,23,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,36,30,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,37,21,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,38,70,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,39,28,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,40,26,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,41,27,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,42,29,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,43,25,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,44,31,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,45,32,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,46,33,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,47,35,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,48,37,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,49,39,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,50,34,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,51,36,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,52,47,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,53,48,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,54,46,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,55,50,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,56,49,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,57,40,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,59,45,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,60,3,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,61,51,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,62,52,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,63,53,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,64,54,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,65,55,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,67,56,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,68,57,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,69,58,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,70,59,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,71,60,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,72,61,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,73,62,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,74,63,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,86,41,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,110,44,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,111,42,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,112,68,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,113,64,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,114,65,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,115,66,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,116,43,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,117,12,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,119,72,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,120,71,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,121,69,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,122,67,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,123,74,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,125,38,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,126,73,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,138,75,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,139,76,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,144,77,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,165,18,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(19,14,1,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(22,67,1,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(22,68,2,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(22,69,3,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(22,70,4,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(22,71,5,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(22,72,6,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(22,73,7,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(22,124,8,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(23,61,1,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(23,62,2,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(23,63,3,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(23,64,4,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(23,65,5,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(23,71,6,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(23,72,7,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(23,73,8,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(24,67,1,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(24,68,2,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(24,69,3,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(24,70,7,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(24,71,4,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(24,72,5,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(24,73,6,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(24,123,8,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(24,124,9,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(24,131,14,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(24,132,10,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(24,133,11,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(24,134,12,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(24,135,13,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(24,136,15,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(25,61,1,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(25,62,2,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(25,63,3,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(25,64,4,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(25,65,5,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(25,71,6,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(25,72,7,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(25,127,8,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(25,128,9,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(25,129,10,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(25,130,12,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(25,131,13,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(25,137,11,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(26,160,1,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(26,161,2,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(26,162,5,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(26,163,3,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(26,164,4,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(29,148,1,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(29,149,2,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(29,150,3,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(30,151,1,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(30,152,2,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(30,153,3,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(30,154,4,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(31,63,4,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(31,73,2,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(31,155,1,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(31,156,3,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(31,157,5,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(31,158,6,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(31,159,7,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(32,61,1,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(32,67,2,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(32,74,3,'2019-12-01 00:00:00','2019-12-01 00:00:00');
+/*!40000 ALTER TABLE `componentlinkmaster` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Dumping data for table `componentmaster`
+--
+
+LOCK TABLES `componentmaster` WRITE;
+/*!40000 ALTER TABLE `componentmaster` DISABLE KEYS */;
+INSERT INTO `componentmaster` VALUES (1,13,'‹¤’Ê‰¼�Ý�HŽ–”ï�i�Ï‚Ý�ã‚°”ïŠÜ‚Þ�j�¦Œö‹¤“üŽD�HŽ–—p',1,0,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(2,14,'‰ð‘Ì�HŽ–”ï�@�¦Œö‹¤“üŽD�HŽ–—p',1,0,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(3,15,'Œš’z�HŽ–”ï�@�¦Œö‹¤“üŽD�HŽ–—p',1,0,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(4,17,'“d‹C�Ý”õ�HŽ–”ï�@�¦Œö‹¤“üŽD�HŽ–—p',1,0,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(5,16,'‹@ŠB�Ý”õ�HŽ–”ï�@�¦Œö‹¤“üŽD�HŽ–—p',1,0,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(6,19,'Œ»�êŠÇ—�”ï�@�¦Œö‹¤“üŽD�HŽ–—p',0,1,1,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(7,20,'ˆê”ÊŠÇ—�”ï�@�¦Œö‹¤“üŽD�HŽ–—p',0,1,1,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(8,9,'�”Œo”ï�@�¦Œö‹¤ŠÈˆÕ�Eˆê”Ê�HŽ–—p',0,1,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,2,'�HŽ–”ï�@�¦Œö‹¤ŠÈˆÕ�Eˆê”Ê�HŽ–—p',1,0,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(18,18,'”­�¶�Þ�ˆ•ª”ï�@�¦Œö‹¤“üŽD�HŽ–—p',0,1,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(19,1,'‰¼�Ý�HŽ–”ï�@�¦Œö‹¤ŠÈˆÕ�Eˆê”Ê�HŽ–—p',1,0,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(20,7,'Œ»�êŠÇ—�”ï�@�¦Œö‹¤ŠÈˆÕ�Eˆê”Ê�HŽ–—p',0,1,1,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(21,8,'ˆê”ÊŠÇ—�”ï�@�¦Œö‹¤ŠÈˆÕ�Eˆê”Ê�HŽ–—p',0,1,1,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(22,3,'�…“¹�HŽ–”ï�@�¦Œö‹¤ŠÈˆÕ�Eˆê”Ê�HŽ–—p',1,0,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(23,4,'“d‹C�HŽ–”ï�@�¦Œö‹¤ŠÈˆÕ�Eˆê”Ê�HŽ–—p',1,0,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(24,5,'‹@ŠB�Ý”õ�HŽ–”ï�@�¦Œö‹¤ŠÈˆÕ�Eˆê”Ê�HŽ–—p',1,0,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(25,6,'“d‹C�Ý”õ�HŽ–”ï�@�¦Œö‹¤ŠÈˆÕ�Eˆê”Ê�HŽ–—p',1,0,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(26,21,'�ÝŒv”ï—p',1,0,1,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(27,22,'–@’è•Ÿ—˜”ï',0,1,1,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(28,23,'‹ë‘Ì�HŽ–�¦–Ø‘¢�V’z—p',1,0,0,1,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(29,24,'ŠO•”�HŽ–�¦–Ø‘¢�V’z—p',1,0,0,1,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(30,25,'“à•”�HŽ–�¦–Ø‘¢�V’z—p',1,0,0,1,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(31,26,'‚»‚Ì‘¼“ÁŽê�HŽ–�¦–Ø‘¢�V’z—p',1,0,0,1,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(32,27,'•Ê“r�HŽ–�¦–Ø‘¢�V’z—p',1,0,0,1,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(33,28,'�””ï—p�¦–Ø‘¢�V’z',1,0,1,1,'2019-12-01 00:00:00','2019-12-01 00:00:00');
+/*!40000 ALTER TABLE `componentmaster` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Dumping data for table `constructionitemmaster`
+--
+
+LOCK TABLES `constructionitemmaster` WRITE;
+/*!40000 ALTER TABLE `constructionitemmaster` DISABLE KEYS */;
+INSERT INTO `constructionitemmaster` VALUES (10,2,'�Ï‚Ý�ã‚°‹¤’Ê‰¼�Ý”ï',1,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(11,1,'‹¤’Ê‰¼�Ý�HŽ–�@�¦•W�€ŽZ’è—¦‚æ‚è',0,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(20,4,'’¼�Ú‰¼�Ý�HŽ–”ï',1,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(22,13,'“y�HŽ–',1,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(23,14,'’n‹Æ�HŽ–',1,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(24,16,'“S‹Ø�HŽ–',1,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(25,17,'ƒRƒ“ƒNƒŠ�[ƒg�HŽ–',1,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(26,18,'Œ^˜g�HŽ–',1,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(27,19,'“S�œ�HŽ–',1,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(28,20,'‘Ï‰Î”í•¢�HŽ–',1,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(29,21,'‚`‚k‚bƒpƒlƒ‹�HŽ–',1,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(30,22,'‰Ÿ�o�¬Œ`ƒZƒ�ƒ“ƒg”Â�HŽ–',1,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(31,24,'–h�…�HŽ–',1,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(32,25,'�Î�Eƒ^ƒCƒ‹�HŽ–',1,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(33,26,'–Ø�HŽ–',1,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(35,29,'‰®�ª�E‚Æ‚¢�HŽ–',1,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(36,30,'‹à‘®�HŽ–',1,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(37,31,'�¶Š¯�HŽ–',1,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(39,33,'–Ø�»Œš‹ï�HŽ–',1,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(40,34,'‹à‘®�»Œš‹ï�HŽ–',1,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(41,35,'ƒVƒƒƒbƒ^�[�HŽ–',1,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(42,36,'ƒKƒ‰ƒX�HŽ–',1,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(43,38,'“h‘•�HŽ–',1,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(44,39,'“à‘•�HŽ–',1,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(45,41,'Œy“S�HŽ–',1,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(46,42,'“à‘•Žd�ã‚°�HŽ–',1,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(47,44,'ƒ†ƒjƒbƒg�HŽ–',1,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(50,50,'‚»‚Ì‘¼�HŽ–',1,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(51,43,'‰Æ‹ï�HŽ–',1,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(86,48,'�A�Í�HŽ–',1,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(112,23,'Šù�¬ƒRƒ“ƒNƒŠ�[ƒg�HŽ–',1,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(116,40,'ŠO‘•�HŽ–',1,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(117,15,'Šî‘b�HŽ–',1,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(119,47,'‰®ŠO�HŽ–',1,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(120,37,'Œš‹ï�EƒKƒ‰ƒX�HŽ–',1,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(126,49,'ƒTƒCƒ“�HŽ–',1,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00');
+/*!40000 ALTER TABLE `constructionitemmaster` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Dumping data for table `constructiontypemaster`
+--
+
+LOCK TABLES `constructiontypemaster` WRITE;
+/*!40000 ALTER TABLE `constructiontypemaster` DISABLE KEYS */;
+INSERT INTO `constructiontypemaster` VALUES (1,1,'Œö‹¤�HŽ–�@‰ü�C�iŒ³�¿�j',1,2,4,0,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(2,2,'Œö‹¤�HŽ–�@�V’z�iŒ³�¿�j',1,1,4,0,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(3,3,'Œö‹¤�HŽ–�@‰ü�C�i‰º�¿�j',1,2,4,0,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(4,4,'Œö‹¤�HŽ–�@�V’z�i‰º�¿�j',1,1,4,0,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(5,5,'–¯ŠÔ�HŽ–�@‰ü�C�iŒ³�¿�j',2,0,4,0,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(6,6,'–¯ŠÔ�HŽ–�@�V’z�iŒ³�¿�j',2,0,4,0,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(7,7,'–¯ŠÔ�HŽ–�@‰ü�C�i‰º�¿�j',2,0,4,0,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(8,8,'–¯ŠÔ�HŽ–�@�V’z�i‰º�¿�j',2,0,4,0,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(9,9,'ŒÂ�l‹qƒŠƒtƒH�[ƒ€�HŽ–�iŒ³�¿�j',2,0,4,0,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(10,10,'–Ø‘¢�V’z�HŽ–�iŒ³�¿�j',2,0,4,0,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(11,11,'ŽÐˆõŠÖ˜A�HŽ–',0,0,4,0,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(12,12,'Ž–‹Æ•¨Œ�',0,0,3,0,1,0,'2019-12-01 00:00:00','2019-12-01 00:00:00');
+/*!40000 ALTER TABLE `constructiontypemaster` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Dumping data for table `daymaster`
+--
+
+LOCK TABLES `daymaster` WRITE;
+/*!40000 ALTER TABLE `daymaster` DISABLE KEYS */;
+INSERT INTO `daymaster` VALUES (1),(2),(3),(4),(5),(6),(7),(8),(9),(10),(11),(12),(13),(14),(15),(16),(17),(18),(19),(20),(21),(22),(23),(24),(25),(26),(27),(28),(29),(30),(31);
+/*!40000 ALTER TABLE `daymaster` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Dumping data for table `departmentmaster`
+--
+
+LOCK TABLES `departmentmaster` WRITE;
+/*!40000 ALTER TABLE `departmentmaster` DISABLE KEYS */;
+INSERT INTO `departmentmaster` VALUES (1,1,'�HŽ–•”',0,0,NOW(),'0001-01-01 00:00:00',0,'2019-12-01 00:00:00','2019-12-01 00:00:00');
+/*!40000 ALTER TABLE `departmentmaster` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Dumping data for table `divisionmaster`
+--
+
+LOCK TABLES `divisionmaster` WRITE;
+/*!40000 ALTER TABLE `divisionmaster` DISABLE KEYS */;
+INSERT INTO `divisionmaster` VALUES (1,1,1,'–@�l�iŒš�Ý‰ïŽÐ�j',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(1,2,2,'–@�l�i–¯ŠÔŠé‹Æ�j',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(1,3,3,'–@�l�i•a‰@�E•ŸŽƒŽ{�Ý“™�j',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(1,4,4,'–@�l�iŠw�Z–@�l�j',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(1,5,5,'Œö‹¤’c‘Ì�iŠe�È’¡�j',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(1,6,6,'Œš’zŽmŽ––±�Š�E‚»‚Ì‘¼Žm‹ÆŽ––±�Š',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(1,7,7,'ŒÂ�l�iˆê”Ê�j',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(1,8,8,'ŠÇ—�‘g�‡�EŽ©Ž¡‰ï',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(1,9,9,'“X•Ü“™',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(1,10,10,'‚»‚Ì‘¼',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(3,3,1,'‰ïŽÐŒo”ï',0,'2019-12-01 00:00:00','2019-12-01 00:00:00');
+/*!40000 ALTER TABLE `divisionmaster` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Dumping data for table `monthmaster`
+--
+
+LOCK TABLES `monthmaster` WRITE;
+/*!40000 ALTER TABLE `monthmaster` DISABLE KEYS */;
+INSERT INTO `monthmaster` VALUES (1),(2),(3),(4),(5),(6),(7),(8),(9),(10),(11),(12);
+/*!40000 ALTER TABLE `monthmaster` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Dumping data for table `personinchargemaster`
+--
+
+LOCK TABLES `personinchargemaster` WRITE;
+/*!40000 ALTER TABLE `personinchargemaster` DISABLE KEYS */;
+INSERT INTO `personinchargemaster` VALUES (20181001,1,'�HŽ–ŠÇ—�ŽÒ','ƒRƒEƒWƒJƒ“ƒŠƒVƒƒ',0,'A','0001-01-01','','','','','','','',NOW(),'0001-01-01','20181001',4,1,'','',1,0,0,'','�³”FŽÒ',1,1,0.00,0.0,0.0,0,0,0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00');
+/*!40000 ALTER TABLE `personinchargemaster` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Dumping data for table `processexcutemaster`
+--
+
+LOCK TABLES `processexcutemaster` WRITE;
+/*!40000 ALTER TABLE `processexcutemaster` DISABLE KEYS */;
+INSERT INTO `processexcutemaster` VALUES (1,1,1,'2019-12-13 19:10:29','2019-12-13 19:10:29'),(1,2,1,'2019-12-13 19:10:29','2019-12-13 19:10:29'),(1,3,1,'2019-12-13 19:10:29','2019-12-13 19:10:29'),(1,4,1,'2019-12-13 19:10:29','2019-12-13 19:10:29'),(1,6,1,'2019-12-13 19:10:29','2019-12-13 19:10:29'),(1,8,1,'2019-12-13 19:10:29','2019-12-13 19:10:29'),(1,9,1,'2019-12-13 19:10:29','2019-12-13 19:10:29'),(1,10,1,'2019-12-13 19:10:29','2019-12-13 19:10:29'),(1,12,1,'2019-12-13 19:10:29','2019-12-13 19:10:29'),(1,13,1,'2019-12-13 19:10:29','2019-12-13 19:10:29'),(1,19,1,'2019-12-13 19:10:29','2019-12-13 19:10:29'),(1,30,1,'2019-12-13 19:10:29','2019-12-13 19:10:29'),(1,31,1,'2019-12-13 19:10:29','2019-12-13 19:10:29'),(1,32,1,'2019-12-13 19:10:29','2019-12-13 19:10:29'),(1,37,1,'2019-12-13 19:10:29','2019-12-13 19:10:29'),(1,39,0,'2019-12-13 19:10:29','2019-12-13 19:10:29'),(1,40,1,'2019-12-13 19:10:29','2019-12-13 19:10:29'),(1,41,0,'2019-12-13 19:10:29','2019-12-13 19:10:29'),(1,42,1,'2019-12-13 19:10:29','2019-12-13 19:10:29'),(1,45,0,'2019-12-13 19:10:29','2019-12-13 19:10:29'),(1,47,1,'2019-12-13 19:10:29','2019-12-13 19:10:29'),(1,101,1,'2019-12-13 19:10:29','2019-12-13 19:10:29'),(1,102,1,'2019-12-13 19:10:29','2019-12-13 19:10:29'),(1,103,1,'2019-12-13 19:10:29','2019-12-13 19:10:29'),(1,104,1,'2019-12-13 19:10:29','2019-12-13 19:10:29'),(1,105,1,'2019-12-13 19:10:29','2019-12-13 19:10:29'),(1,106,1,'2019-12-13 19:10:29','2019-12-13 19:10:29'),(1,107,1,'2019-12-13 19:10:29','2019-12-13 19:10:29'),(1,108,1,'2019-12-13 19:10:29','2019-12-13 19:10:29'),(1,109,1,'2019-12-13 19:10:29','2019-12-13 19:10:29'),(1,110,1,'2019-12-13 19:10:29','2019-12-13 19:10:29'),(1,111,1,'2019-12-13 19:10:29','2019-12-13 19:10:29'),(1,114,1,'2019-12-13 19:10:29','2019-12-13 19:10:29'),(1,117,1,'2019-12-13 19:10:29','2019-12-13 19:10:29'),(1,120,1,'2019-12-13 19:10:29','2019-12-13 19:10:29'),(1,123,1,'2019-12-13 19:10:29','2019-12-13 19:10:29'),(1,125,1,'2019-12-13 19:10:29','2019-12-13 19:10:29'),(1,126,1,'2019-12-13 19:10:29','2019-12-13 19:10:29'),(1,131,1,'2019-12-13 19:10:29','2019-12-13 19:10:29'),(1,132,1,'2019-12-13 19:10:29','2019-12-13 19:10:29'),(1,133,1,'2019-12-13 19:10:29','2019-12-13 19:10:29');
+/*!40000 ALTER TABLE `processexcutemaster` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Dumping data for table `securitymaster`
+--
+
+LOCK TABLES `securitymaster` WRITE;
+/*!40000 ALTER TABLE `securitymaster` DISABLE KEYS */;
+INSERT INTO `securitymaster` VALUES (1,1,'�HŽ–ŠÇ—�ŽÒ',1,3,1,'0xFFFFFF','2019-12-01 00:00:00','2019-12-01 00:00:00');
+/*!40000 ALTER TABLE `securitymaster` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Dumping data for table `subcontractoritemmaster`
+--
+
+LOCK TABLES `subcontractoritemmaster` WRITE;
+/*!40000 ALTER TABLE `subcontractoritemmaster` DISABLE KEYS */;
+INSERT INTO `subcontractoritemmaster` VALUES (1,1,'‰ð‘Ì�HŽ–ˆêŽ®',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(2,2,'ƒAƒXƒxƒXƒg�œ‹Ž‰ð‘ÌˆêŽ®',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(3,3,'�Ï‚è�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(4,4,'‰¼�Ý�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(5,5,'˜g‘«�ê�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(6,6,'�·‚µ�ž‚Ý‘«�ê�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(7,7,'“Î�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(8,8,'Œš’z�HŽ–ˆêŽ®',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(9,9,'“y–Ø�HŽ–ˆêŽ®',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(10,10,'“y�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(11,11,'Šî‘b�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(12,12,'�Y�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(13,13,'’n”Õ’²�¸',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(14,14,'ˆâ�Õ”­Œ@’²�¸',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(15,15,'ƒAƒXƒtƒ@ƒ‹ƒg�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(16,16,'‘¢‰€�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,17,'“S‹Ø�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(18,18,'ƒRƒ“ƒNƒŠ�[ƒgƒRƒA”²‚«�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(19,19,'ƒRƒ“ƒNƒŠ�[ƒg”Ì”„',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(20,20,'Œ^˜g�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(21,21,'“S�œ�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(22,22,'ƒKƒX—n�Ú�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(23,23,'‚`‚k‚b�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(24,24,'‰Ÿ�o�¬Œ`ƒZƒ�ƒ“ƒg”Â�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(25,25,'–h�…�HŽ–ˆêŽ®',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(26,26,'ƒR�[ƒLƒ“ƒO�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(27,27,'–h�…�Þ—¿”Ì”„',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(28,28,'�¶Š¯�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(29,29,'ƒRƒ“ƒNƒŠ�[ƒgƒuƒ�ƒbƒN�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(30,30,'“yŠÔ�HŽ–�i“yŠÔ‰Ÿ‚³‚¦�j',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(31,31,'ƒ^ƒCƒ‹�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(32,32,'�Î�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(33,33,'–Ø�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(34,34,'‘¢�ì‘å�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(35,35,'‰®�ª�E‚Æ‚¢�HŽ–ˆêŽ®',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(36,36,'Š¢�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(37,37,'”Â‹à�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(38,38,'ƒTƒCƒfƒBƒ“ƒO�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(39,39,'‹à‘®�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(40,40,'ƒGƒLƒXƒpƒ“ƒVƒ‡ƒ“”Ì”„�E�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(41,41,'��‚«•t‚¯�HŽ–�i‘Ï‰Î”í•¢�j',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(42,42,'��‚«•t‚¯�HŽ–�i’f”M�Þ�j',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(43,43,'–Ø�»Œš‹ï�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(44,44,'�|�»Œš‹ï�HŽ–ˆêŽ®',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(45,45,'ƒTƒbƒV�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(46,46,'ƒVƒƒƒbƒ^�[�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(47,47,'ƒKƒ‰ƒX�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(48,48,'“h‘•�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(49,49,'“h—¿”Ì”„',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(50,50,'“à‘•�HŽ–ˆêŽ®',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(51,51,'Œy“S�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(52,52,'ƒ{�[ƒh�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(53,53,'ƒAƒ“ƒJ�[�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(54,54,'ƒNƒ�ƒX�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(55,55,'�°�HŽ–�i“à‘•Œn�j',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(56,56,'�°�HŽ–�iƒtƒ��[ƒŠƒ“ƒOŒn�j',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(57,57,'‰Æ‹ï�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(58,58,'‰¦�»�ì�E�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(59,59,'�áŽq�»�ì�E�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(60,60,'�ô�»�ì�E�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(61,61,'–‹“Vˆä�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(62,62,'ƒVƒXƒeƒ€“Vˆä�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(63,63,'ŠÅ”Â�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(64,64,'ƒeƒ“ƒg�»�ì�E�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(65,65,'OAƒtƒ�ƒA�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(66,66,'�•”Â�»�ì�E�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(67,67,'ƒ_ƒ€ƒEƒF�[ƒ_�[�Eƒz�[ƒ€‚d‚u',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(68,68,'ƒNƒŠ�[ƒjƒ“ƒO�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(69,69,'ŠO�\�HŽ–ˆêŽ®',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(70,70,'ƒGƒNƒXƒeƒŠƒA�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(71,71,'ƒtƒFƒ“ƒX�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(72,72,'ƒlƒbƒg�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(73,73,'ŠO•Ç‰ü�C�HŽ–ˆêŽ®',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(74,74,'‘Ï�k‰ü�C�HŽ–ˆêŽ®',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(75,75,'‹@ŠB�Ý”õ�HŽ–ˆêŽ®',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(76,76,'�…“¹�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(77,77,'�ôŠÇ�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(78,78,'•Û‰·�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(79,79,'“d‹C�Ý”õ�HŽ–ˆêŽ®',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(80,80,'‹z‹C�EŠ·‹C�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(81,81,'ƒGƒAƒRƒ“�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(82,82,'—â‘ �E—â“€�Ý”õ�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(83,83,'ƒ{ƒCƒ‰�[�Ý”õ�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(84,84,'ƒKƒX�Ý”õ�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(85,85,'–Ø�Þ”Ì”„',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(86,86,'–³�C�Þ”Ì”„�i�°�Þ�j',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(87,87,'“à‘•ŒnŒš�Þ”Ì”„',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(88,88,'ŠO‘•ŒnŒš�Þ”Ì”„',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(89,89,'�¶Š¯ŒnŒš�Þ”Ì”„',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(90,90,'“y–ØŒnŒš�Þ”Ì”„',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(91,91,'”zŠÇ�Þ—¿”Ì”„',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(92,92,'�Á–h�Ý”õ�E–h�Ð�Ý”õŽ{�H”Ì”„',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(93,93,'�Ý”õ‹@Ší”Ì”„�i�Z�Ý�j',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(94,94,'�Ý”õ‹@Ší”Ì”„�i‰Æ“d�E�Æ–¾�j',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(95,95,'Œš’z‹à•¨�»�ì',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(96,96,'Œš’z‹à•¨�»�ì�E�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(97,97,'Œš’z‹à•¨”Ì”„',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(98,98,'Œš’z‹à•¨”Ì”„�E�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(99,99,'‹@ŠB�H‹ï—Þ”Ì”„',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(100,100,'ŠeŽí‰¼�ÝŽ‘�Þ”Ì”„',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(101,101,'�ù‘O�ê–å”Ì”„�E�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(102,102,'�~–[‹@Ší”Ì”„�E�»�ì',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(103,103,'ƒz�[ƒ€ƒZƒ“ƒ^�[“™',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(104,104,'Œx”õ‹Æ',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(105,105,'ƒ|ƒ“ƒv�iˆ³‘—�j',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(106,106,'ƒŒƒbƒJ�[',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(107,107,'ƒNƒŒ�[ƒ“�i—k�d�j',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(108,108,'ƒŠ�[ƒXŽÔ—¼Œn',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(109,109,'ƒŠ�[ƒX‰¼�ÝƒnƒEƒX',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(110,110,'ƒŠ�[ƒX‰¼�Ý•ÛˆÀŽ‘�Þ',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(111,111,'ƒŠ�[ƒX‰¼�ÝŽ––±�Š”õ•i',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(112,112,'ƒSƒ“ƒhƒ‰',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(113,113,'ŽY‹Æ”pŠü•¨�ˆ—�',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(114,114,'ŠQ’Ž‹ì�œ�E–h‹a�ˆ—�',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(115,115,'ƒRƒs�[�E�»–{',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(116,116,'ŠeŽíŒŸ�¸‰ïŽÐ',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(117,117,'�ÝŒvŽ––±�Š',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(118,118,'�ÝŒvŽ––±�Š�i�\‘¢�j',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(119,119,'‘ª—ÊŽ––±�Š',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(120,120,'•s“®ŽYŠÖŒW',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(121,121,'�s�­�‘Žm',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(122,122,'Ži–@�‘Žm',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(123,123,'•ÙŒìŽmŽ––±�Š',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(124,124,'ˆã—Ã‹@Ší',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(125,125,'�í—pŽÒ�i�ì‹Æ�j',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(126,126,'�í—pŽÒ�i‘�–±�j',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(127,127,'�¸�~�Ý”õ�i‚d‚u�j�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(128,128,'•\ŽD',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(129,129,'ŠeŽí•ÛŒ¯',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(130,130,'•s“®ŽY‹Æ',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(131,131,'ŽÔ‚¢‚·—p�¸�~‹@',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(132,132,'�Z‘îàêár•ÛŒ¯‰ïŽÐ',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(133,133,'ƒvƒŒƒnƒu�V’z�E”Ì”„',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(134,134,'‘•�ü‹à•¨”Ì”„',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(135,135,'”ñ”j‰óŒŸ�¸',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(136,136,'ŠO�\Œš�Þ�EŽ‘�Þ”Ì”„',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(137,137,'Œš’zŽ‘�Þ”Ì”„',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(138,138,'ŠÄŽ‹ƒJƒ�ƒ‰”Ì”„�EŽ{�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(139,139,'Ž©“®ŽÔ”Ì”„�E�C—�',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(140,140,'”p–û�E”p‰t�ˆ—�‹Æ',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(141,141,'•Ü‘•�HŽ–',0,'2019-12-01 00:00:00','2019-12-01 00:00:00');
+/*!40000 ALTER TABLE `subcontractoritemmaster` ENABLE KEYS */;
+UNLOCK TABLES;
+--
+-- Dumping data for table `subcontractorjobcategory`
+--
+
+LOCK TABLES `subcontractorjobcategory` WRITE;
+/*!40000 ALTER TABLE `subcontractorjobcategory` DISABLE KEYS */;
+INSERT INTO `subcontractorjobcategory` VALUES (1,1,'ŠÄ“Âˆõ',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(2,2,'Œð’Ê—U“±ˆõ',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(3,3,'‰¼�Ý�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(4,4,'‰ð‘Ì�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(5,5,'�Ï�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(6,6,'“Î�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(7,7,'�d—Ê“Î�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(8,8,'“y�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(9,9,'•Ü‘•�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(10,10,'ƒJƒbƒ^�[�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(11,11,'�Y�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(12,12,'•â�C�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(13,13,'ŽG�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(14,14,'Œ^˜g‘å�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(15,15,'Œ^˜g‰ð‘Ì�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(16,16,'“S‹Ø�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,17,'Šî‘b�HˆêŽ®',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(18,18,'“S�œ�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(19,19,'’bŽ¡�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(20,20,'ƒKƒX�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(21,21,'‚`‚k‚b�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(22,22,'ƒAƒ“ƒJ�[�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(23,23,'ƒRƒA�[�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(24,24,'‹à‘®�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(25,25,'‹à•¨�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(26,26,'‘å�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(27,27,'�¶Š¯�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(28,28,'ƒ^ƒCƒ‹�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(29,29,'�Î�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(30,30,'–h�…�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(31,31,'ƒV�[ƒ‹�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(32,32,'‰º’n•â�C�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(33,33,'–Ø�»Œš‹ï�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(34,34,'�|�»Œš‹ï�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(35,35,'ƒKƒ‰ƒX�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(36,36,'‰®�ª�E”ó�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(37,37,'”Â‹à�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(38,38,'“h‘•�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(39,39,'��•t�H�i“h‘•�j',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(40,40,'’f”M�H�i��•t�j',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(41,41,'“à‘•�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(42,42,'‰×—g‚°�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(43,43,'“à‘•Žd�ã‚°�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(44,44,'ƒ†ƒjƒbƒg�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(45,45,'ƒpƒlƒ‹�H�iŒš’z�j',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(46,46,'‰Æ‹ï�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(47,47,'”ü‘•�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(48,48,'ŠÅ”Â�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(49,49,'‘¢‰€�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(50,50,'“d�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(51,51,'�‚ˆ³“d�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(52,52,'Žã“d�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(53,53,'‹‹”r�…�Ý”õ�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(54,54,'‹@ŠB�Ý”õ�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(55,55,'‹ó’²�Ý”õ�H�iŠ·‹C�j',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(56,56,'‹ó’²�Ý”õ�H�iƒGƒAƒRƒ“�j',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(57,57,'’f”M�H�i”zŠÇ�Ý”õŒn�j',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(58,58,'ƒKƒX�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(59,59,'ƒ{ƒCƒ‰�[�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(60,60,'“ÁŽê�Ý”õ�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(61,61,'ƒpƒlƒ‹�H�i�Ý”õ�j',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(62,62,'ƒ|ƒ“ƒvˆ³‘—�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(63,63,'ƒŒƒbƒJ�[',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(64,64,'—k�d�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(65,65,'ŽŽŒ±',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(66,66,'–h•…�A–h‹a',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(67,67,'�Z�Ý‹@Ší',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(68,68,'ƒSƒ~�ˆ•ª',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(69,69,'‰¼�ÝƒnƒEƒX�E‚v‚b�EŽ‘�ÞƒŠ�[ƒX',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(70,70,'Œš�Ý‹@ŠíƒŠ�[ƒX',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(71,71,'Œš’zŽ‘�Þ”Ì”„',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(72,72,'�í—pŽÒ�i‘�–±�j',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(73,73,'�í—pŽÒ�i�HŽ–�j',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(74,74,'ˆâ�Õ’²�¸',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(75,75,'ŠeŽí•ÛŒ¯',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(76,76,'�ÝŒvŽ––±�Š',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(77,77,'“h—¿Ž‘�Þ”Ì”„',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(78,78,'Œx”õ�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(79,79,'•s“®ŽY‰c‹Æ',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(80,80,'Œy“S�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(81,81,'•â�C�H�iƒŠƒyƒA�[�j',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(82,82,'–h�…Ž‘�Þ”Ì”„',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(83,83,'ŠO�\�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(84,84,'�ôŠÇ�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(85,85,'ƒlƒbƒg�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(86,86,'Œš’zˆêŽ®',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(87,87,'�•”Â�Eƒzƒ�ƒCƒgƒ{�[ƒh',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(88,88,'—V‹ï�Ý’u�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(89,89,'ŽÔ‚¢‚·—p�¸�~‹@�E�Ý’u�E”Ì”„',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(90,90,'�~–[‹@Ší”Ì”„�E�Ý’u',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(91,91,'�Ý”õŽ‘�Þ�E‹@Ší”Ì”„',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(92,92,'ƒRƒs�[�E�»–{',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(93,93,'’n”Õ’²�¸',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(94,94,'ƒeƒ“ƒg�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(95,95,'�ô�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(96,96,'ƒtƒFƒ“ƒXŽæ•t�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(97,97,'ƒAƒXƒxƒXƒgŠÖŒW’²�¸',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(98,98,'�s�­�‘Žm',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(99,99,'Ži–@�‘Žm',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(100,100,'•Ü‘•�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(101,101,'ƒRƒ“ƒNƒŠ�[ƒg”z‘—�A”Ì”„',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(102,102,'�Z‘îàêár•ÛŒ¯“™',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(103,103,'ƒvƒŒƒnƒu�V’z�E”Ì”„',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(104,104,'�H‹ï�EŒš’zˆÀ‘S•ÛŒì“™‹æ”Ì”„',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(105,105,'”ñ”j‰óŒŸ�¸“™',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(106,106,'ŠO�\Œš�Þ�EŽ‘�Þ“™”Ì”„',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(107,107,'‘g�Ï�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(108,108,'Ž©“®ŽÔ”Ì”„�E�C—�',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(109,109,'‘ª—ÊŽm',0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(110,110,'ŠO•Ç�H',0,'2019-12-01 00:00:00','2019-12-01 00:00:00');
+/*!40000 ALTER TABLE `subcontractorjobcategory` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Dumping data for table `systemexecute`
+--
+
+LOCK TABLES `systemexecute` WRITE;
+/*!40000 ALTER TABLE `systemexecute` DISABLE KEYS */;
+INSERT INTO `systemexecute` VALUES (1,'2018-10-03',0,0,'2019-12-01 00:00:00','2019-12-01 00:00:00'),(2,'2017-02-27',228,2,'2019-12-01 00:00:00','2019-12-01 00:00:00');
+/*!40000 ALTER TABLE `systemexecute` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Dumping data for table `systemmaster`
+--
+
+LOCK TABLES `systemmaster` WRITE;
+/*!40000 ALTER TABLE `systemmaster` DISABLE KEYS */;
+INSERT INTO `systemmaster` VALUES (1,'Š”Ž®‰ïŽÐ�@Œš’z‰ïŽÐ','','‘ã•\�@‘¾˜N','‘ã•\Žæ’÷–ð','650-0001','•ºŒÉŒ§','�_ŒËŽs’†‰›‹æ','‰Á”[’¬','078-000-0000','078-000-0001','',10.00,0.50,8.00,20.00,3.00,'C:\\Temp\\ƒGƒNƒZƒ‹ƒf�[ƒ^',0,0,'2010-01-01 00:00:00','2010-01-01 00:00:00','9999-12-31 00:00:00','9999-12-31 00:00:00',-1,'','','',0,'2019-12-01 00:00:00','2019-12-01 00:00:00');
+/*!40000 ALTER TABLE `systemmaster` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Dumping data for table `unitmaster`
+--
+
+LOCK TABLES `unitmaster` WRITE;
+/*!40000 ALTER TABLE `unitmaster` DISABLE KEYS */;
+INSERT INTO `unitmaster` VALUES (1,2,'‚�','2019-12-01 00:00:00','2019-12-01 00:00:00'),(2,28,'ƒ†ƒjƒbƒg','2019-12-01 00:00:00','2019-12-01 00:00:00'),(3,26,'ƒpƒbƒN','2019-12-01 00:00:00','2019-12-01 00:00:00'),(4,27,'Œû','2019-12-01 00:00:00','2019-12-01 00:00:00'),(5,21,'’š','2019-12-01 00:00:00','2019-12-01 00:00:00'),(6,29,'‰�•œ','2019-12-01 00:00:00','2019-12-01 00:00:00'),(7,30,'‚�‚�','2019-12-01 00:00:00','2019-12-01 00:00:00'),(8,18,'‘©','2019-12-01 00:00:00','2019-12-01 00:00:00'),(9,31,'Œn“�','2019-12-01 00:00:00','2019-12-01 00:00:00'),(10,7,'‰„‚�','2019-12-01 00:00:00','2019-12-01 00:00:00'),(11,32,'ƒXƒpƒ“','2019-12-01 00:00:00','2019-12-01 00:00:00'),(12,33,'ŒpŽè','2019-12-01 00:00:00','2019-12-01 00:00:00'),(13,15,'‚‹‚‡','2019-12-01 00:00:00','2019-12-01 00:00:00'),(14,1,'Ž®','2019-12-01 00:00:00','2019-12-01 00:00:00'),(15,34,'˜A','2019-12-01 00:00:00','2019-12-01 00:00:00'),(16,16,'‚”','2019-12-01 00:00:00','2019-12-01 00:00:00'),(17,35,'‘‹','2019-12-01 00:00:00','2019-12-01 00:00:00'),(18,36,'‚��E“ú','2019-12-01 00:00:00','2019-12-01 00:00:00'),(19,9,'�°‚�‚Q','2019-12-01 00:00:00','2019-12-01 00:00:00'),(20,37,'” ','2019-12-01 00:00:00','2019-12-01 00:00:00'),(21,38,'‚”�E“ú','2019-12-01 00:00:00','2019-12-01 00:00:00'),(22,3,'‚�‚Q','2019-12-01 00:00:00','2019-12-01 00:00:00'),(23,14,'ŒÂ','2019-12-01 00:00:00','2019-12-01 00:00:00'),(24,39,'‚�‚Q�E“ú','2019-12-01 00:00:00','2019-12-01 00:00:00'),(25,40,'‚ƒ‚�‚Q','2019-12-01 00:00:00','2019-12-01 00:00:00'),(26,23,'Šª','2019-12-01 00:00:00','2019-12-01 00:00:00'),(27,41,'ƒXƒpƒ““ú','2019-12-01 00:00:00','2019-12-01 00:00:00'),(28,8,'‰„‚�‚Q','2019-12-01 00:00:00','2019-12-01 00:00:00'),(29,13,'‘g','2019-12-01 00:00:00','2019-12-01 00:00:00'),(30,42,'‚�ƒXƒp“ú','2019-12-01 00:00:00','2019-12-01 00:00:00'),(31,10,'Œš‚�‚Q','2019-12-01 00:00:00','2019-12-01 00:00:00'),(32,19,'–{','2019-12-01 00:00:00','2019-12-01 00:00:00'),(33,43,'ŒÂ�E“ú','2019-12-01 00:00:00','2019-12-01 00:00:00'),(34,44,'�…•½‚�‚Q','2019-12-01 00:00:00','2019-12-01 00:00:00'),(35,45,'Šî','2019-12-01 00:00:00','2019-12-01 00:00:00'),(36,46,'–‡�E“ú','2019-12-01 00:00:00','2019-12-01 00:00:00'),(37,47,'‚‹‚k','2019-12-01 00:00:00','2019-12-01 00:00:00'),(38,48,'ŠÊ','2019-12-01 00:00:00','2019-12-01 00:00:00'),(39,49,'–{�E“ú','2019-12-01 00:00:00','2019-12-01 00:00:00'),(40,50,'‚k','2019-12-01 00:00:00','2019-12-01 00:00:00'),(41,20,'–‡','2019-12-01 00:00:00','2019-12-01 00:00:00'),(42,51,'‘g�E“ú','2019-12-01 00:00:00','2019-12-01 00:00:00'),(43,4,'‚�‚R','2019-12-01 00:00:00','2019-12-01 00:00:00'),(44,52,'‘ä','2019-12-01 00:00:00','2019-12-01 00:00:00'),(45,53,'‘ä�E“ú','2019-12-01 00:00:00','2019-12-01 00:00:00'),(46,5,'‹ó‚�‚R','2019-12-01 00:00:00','2019-12-01 00:00:00'),(47,54,'ƒZƒbƒg','2019-12-01 00:00:00','2019-12-01 00:00:00'),(48,55,'“��E“ú','2019-12-01 00:00:00','2019-12-01 00:00:00'),(49,56,'’Œ','2019-12-01 00:00:00','2019-12-01 00:00:00'),(50,57,'ƒLƒbƒg','2019-12-01 00:00:00','2019-12-01 00:00:00'),(51,58,'ƒZƒbƒg“ú','2019-12-01 00:00:00','2019-12-01 00:00:00'),(52,59,'“ú','2019-12-01 00:00:00','2019-12-01 00:00:00'),(53,22,'‘Ü','2019-12-01 00:00:00','2019-12-01 00:00:00'),(54,60,'‚�‚Q�EŒŽ','2019-12-01 00:00:00','2019-12-01 00:00:00'),(55,61,'ŒŽ','2019-12-01 00:00:00','2019-12-01 00:00:00'),(56,62,'–Ê','2019-12-01 00:00:00','2019-12-01 00:00:00'),(57,63,'‘ä�EŒŽ','2019-12-01 00:00:00','2019-12-01 00:00:00'),(58,64,'ŽŽ—¿','2019-12-01 00:00:00','2019-12-01 00:00:00'),(59,6,'’Ø','2019-12-01 00:00:00','2019-12-01 00:00:00'),(60,65,'Šî�EŒŽ','2019-12-01 00:00:00','2019-12-01 00:00:00'),(61,66,'�E','2019-12-01 00:00:00','2019-12-01 00:00:00'),(62,67,'ŒÂ�Š','2019-12-01 00:00:00','2019-12-01 00:00:00'),(63,11,'•Ç‚�‚Q','2019-12-01 00:00:00','2019-12-01 00:00:00'),(64,24,'‰ñ','2019-12-01 00:00:00','2019-12-01 00:00:00'),(65,68,'ƒŠƒ“ƒO','2019-12-01 00:00:00','2019-12-01 00:00:00'),(66,12,'‰Ë‚�‚Q','2019-12-01 00:00:00','2019-12-01 00:00:00'),(67,69,'‹Ê','2019-12-01 00:00:00','2019-12-01 00:00:00'),(68,70,'”«','2019-12-01 00:00:00','2019-12-01 00:00:00'),(69,71,'‚�‚Q�E‰ñ','2019-12-01 00:00:00','2019-12-01 00:00:00'),(70,72,'“�','2019-12-01 00:00:00','2019-12-01 00:00:00'),(71,73,'”Ÿ','2019-12-01 00:00:00','2019-12-01 00:00:00'),(72,74,'•S‚�‚�','2019-12-01 00:00:00','2019-12-01 00:00:00'),(73,75,'ŒŠ','2019-12-01 00:00:00','2019-12-01 00:00:00'),(74,25,'ƒP�[ƒX','2019-12-01 00:00:00','2019-12-01 00:00:00'),(75,76,'‚�ƒXƒpƒ“','2019-12-01 00:00:00','2019-12-01 00:00:00'),(76,77,'‘o','2019-12-01 00:00:00','2019-12-01 00:00:00'),(77,78,'ŒŸ‘Ì','2019-12-01 00:00:00','2019-12-01 00:00:00'),(78,79,'ƒ|ƒCƒ“ƒg','2019-12-01 00:00:00','2019-12-01 00:00:00'),(79,80,'‘«','2019-12-01 00:00:00','2019-12-01 00:00:00'),(80,17,'ƒ–�Š','2019-12-01 00:00:00','2019-12-01 00:00:00'),(81,81,'’…','2019-12-01 00:00:00','2019-12-01 00:00:00'),(82,82,'‹Æ–±','2019-12-01 00:00:00','2019-12-01 00:00:00');
+/*!40000 ALTER TABLE `unitmaster` ENABLE KEYS */;
+UNLOCK TABLES;
+;
+--
+-- Dumping data for table `yearmaster`
+--
+
+LOCK TABLES `yearmaster` WRITE;
+/*!40000 ALTER TABLE `yearmaster` DISABLE KEYS */;
+INSERT INTO `yearmaster` VALUES (2010),(2011),(2012),(2013),(2014),(2015),(2016),(2017),(2018),(2019),(2020),(2021),(2022),(2023),(2024),(2025),(2026),(2027),(2028),(2029),(2030),(2031),(2032),(2033),(2034),(2035),(2036),(2037),(2038),(2039),(2040),(2041),(2042),(2043),(2044),(2045),(2046),(2047),(2048),(2049),(2050),(2051),(2052),(2053),(2054),(2055),(2056),(2057),(2058),(2059),(2060),(2061),(2062),(2063),(2064),(2065),(2066),(2067),(2068),(2069),(2070),(2071),(2072),(2073),(2074),(2075),(2076),(2077),(2078),(2079),(2080),(2081),(2082),(2083),(2084),(2085),(2086),(2087),(2088),(2089),(2090),(2091),(2092),(2093),(2094),(2095),(2096),(2097),(2098),(2099),(2100),(2101),(2102),(2103),(2104),(2105),(2106),(2107),(2108),(2109),(2110),(2111),(2112),(2113),(2114);
+/*!40000 ALTER TABLE `yearmaster` ENABLE KEYS */;
+UNLOCK TABLES;
+
Index: trunk/ddl/ƒe�[ƒuƒ‹Žd—l�‘.xlsx
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: trunk/src/ProcessManagement/ProcessManagement/rinen1.jpg
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: trunk/src/ProcessManagement/ProcessManagement/rinen1.jpg
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/rinen1.jpg	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/rinen1.jpg	(nonexistent)

Property changes on: trunk/src/ProcessManagement/ProcessManagement/rinen1.jpg
___________________________________________________________________
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/src/ProcessManagement/ProcessManagement/naoe.jpg
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: trunk/src/ProcessManagement/ProcessManagement/naoe.jpg
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/naoe.jpg	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/naoe.jpg	(nonexistent)

Property changes on: trunk/src/ProcessManagement/ProcessManagement/naoe.jpg
___________________________________________________________________
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/src/ProcessManagement/ProcessManagement/systyo.jpg
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: trunk/src/ProcessManagement/ProcessManagement/systyo.jpg
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/systyo.jpg	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/systyo.jpg	(nonexistent)

Property changes on: trunk/src/ProcessManagement/ProcessManagement/systyo.jpg
___________________________________________________________________
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/src/ProcessManagement/ProcessManagement/rinen.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: trunk/src/ProcessManagement/ProcessManagement/rinen.png
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/rinen.png	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/rinen.png	(nonexistent)

Property changes on: trunk/src/ProcessManagement/ProcessManagement/rinen.png
___________________________________________________________________
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/src/ProcessManagement/ProcessManagement/rinen.jpg
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: trunk/src/ProcessManagement/ProcessManagement/rinen.jpg
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/rinen.jpg	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/rinen.jpg	(nonexistent)

Property changes on: trunk/src/ProcessManagement/ProcessManagement/rinen.jpg
___________________________________________________________________
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/src/ProcessManagement/ProcessManagement/matusita.jpg
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: trunk/src/ProcessManagement/ProcessManagement/matusita.jpg
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/matusita.jpg	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/matusita.jpg	(nonexistent)

Property changes on: trunk/src/ProcessManagement/ProcessManagement/matusita.jpg
___________________________________________________________________
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/src/ProcessManagement/ProcessManagement/yamamoto_isoroku.jpg
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: trunk/src/ProcessManagement/ProcessManagement/yamamoto_isoroku.jpg
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/yamamoto_isoroku.jpg	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/yamamoto_isoroku.jpg	(nonexistent)

Property changes on: trunk/src/ProcessManagement/ProcessManagement/yamamoto_isoroku.jpg
___________________________________________________________________
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/src/ProcessManagement/ProcessManagement/Common/CommonMotions.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Common/CommonMotions.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Common/CommonMotions.cs	(revision 468)
@@ -1889,9 +1889,9 @@
                 switch (ProductDefine.ProductType)
                 {
                     case (int)ProductDefine.ProductTypeDef.Originals:
-                    case (int)ProductDefine.ProductTypeDef.MassProductionType2:
+                    case (int)ProductDefine.ProductTypeDef.ProductsModelType2:
                         break;
-                    case (int)ProductDefine.ProductTypeDef.MassProductionType1:
+                    case (int)ProductDefine.ProductTypeDef.ProductsModelType1:
                         // ä¸€äººè¦ªæ–¹ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³ã�¯true
                         bRet = true;
                         break;
Index: trunk/src/ProcessManagement/ProcessManagement/Common/Process/ClsChangeLedgerData.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Common/Process/ClsChangeLedgerData.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Common/Process/ClsChangeLedgerData.cs	(revision 468)
@@ -1295,11 +1295,6 @@
         /// <summary>
         /// æ”¯æ‰•é‡‘é¡�å�ˆè¨ˆã�Œå®Ÿè¡Œé‡‘é¡�ã‚’è¶…ã�ˆã�Ÿå ´å�ˆã�¯flaseã‚’è¿”ã�™
         /// </summary>
-        /// <param name="ConstrCode">å·¥äº‹ç•ªå�·</param>
-        /// <param name="CompanyCode">ä¼šç¤¾ã‚³ãƒ¼ãƒ‰</param>
-        /// <param name="DetailNo">å·¥äº‹å�°å¸³è¡Œç•ªå�·</param>
-        /// <param name="CurrentValue">ç�¾åœ¨å…¥åŠ›å€¤</param>
-        /// <param name="TargetDate">ç�¾åœ¨å…¥åŠ›å¹´æœˆ</param>
         /// <returns></returns>
         public static bool OverExecAmount(int ConstrCode, int DetailNo, int CurrentValue, int TargetDate, int CompanyCode = 0)
         {
@@ -1313,18 +1308,30 @@
 
                 int GroupNo = (int)FrmConstructionLedger.DataGroup.ConstructionCosts;
 
-                strSQL.Append("select");
+                strSQL.Append("Select");
                 strSQL.Append(" A.ConstructionCode,");
                 strSQL.Append(" A.CompanyCode,");
                 strSQL.Append(" A.ExecutionAmount,");
-                strSQL.Append(" SUM(B.PaymentAmount)");
+                strSQL.Append(" SUM(ifnull(B.PaymentAmount, 0)), ");
+                strSQL.Append(" Round((Ifnull(Odr.OrdersLinePrice, 0) / (100.0 - ifnull(Odr2.StatutoryWelfareRate, 0))) * 100.0, 0) As OrderPrice");
+
                 strSQL.Append(" From constructionledgerdetail AS A");
 
-                strSQL.Append(" LEFT OUTER JOIN constructionledgerexcute AS B");
-                strSQL.Append(" ON B.ConstructionCode = A.ConstructionCode");
-                strSQL.Append(" AND B.GroupCount = A.GroupCount");
-                strSQL.Append(" AND B.LineCount = A.LineCount");
-                strSQL.AppendFormat(" AND DATE_FORMAT(B.TargetMonth ,'%Y%m') <> '{0}'", TargetDate);
+                strSQL.Append("      LEFT JOIN constructionledgerexcute AS B");
+                strSQL.Append("           ON B.ConstructionCode = A.ConstructionCode");
+                strSQL.Append("           AND B.GroupCount = A.GroupCount");
+                strSQL.Append("           AND B.LineCount = A.LineCount");
+                strSQL.AppendFormat("     AND DATE_FORMAT(B.TargetMonth ,'%Y%m') <> '{0}'", TargetDate);
+                strSQL.Append("      LEFT JOIN PurchaseOrderDetail As Odr");
+                strSQL.Append("           ON Odr.ConstructionCode = A.SourceCode");
+                strSQL.Append("           And Odr.SourceCode = A.ConstructionCode");
+                strSQL.Append("           And Odr.SourceDetailCnt = A.DetailCount");
+                strSQL.AppendFormat("     And Odr.GroupCount = {0}", (int)PurchaseOrderDetail.GroupCountDef.Detail);
+                strSQL.Append("           And A.DetailCount > 0");
+                strSQL.Append("      LEFT JOIN PurchaseOrderDetail As Odr2");
+                strSQL.Append("           ON Odr2.ConstructionCode = Odr.ConstructionCode");
+                strSQL.Append("           And Odr2.SeqNo = Odr.SeqNo");
+                strSQL.AppendFormat("     And Odr2.GroupCount = {0}", (int)PurchaseOrderDetail.GroupCountDef.StatutoryWelfare);
 
                 strSQL.AppendFormat(" WHERE A.ConstructionCode = {0}", ConstrCode);
                 strSQL.AppendFormat(" AND A.GroupCount = {0}", GroupNo);
@@ -1338,10 +1345,13 @@
                 object[] objRec = (object[])ArrayList[0];
                 int ExecValue = CommonMotions.cnvInt(objRec[2]);
                 int PaymentValue = CommonMotions.cnvInt(objRec[3]);
-                
-                // ç™»éŒ²å€¤+å…¥åŠ›å€¤ã�Œå®Ÿè¡Œé‡‘é¡�ã‚’è¶…ã�ˆã�Ÿå ´å�ˆã�¯falseã‚’è¿”ã�™
-                if (ExecValue < (PaymentValue + CurrentValue)) return false;
+                int OrderValue = CommonMotions.cnvInt(objRec[4]);
 
+                //// ç™»éŒ²å€¤+å…¥åŠ›å€¤ã�Œå®Ÿè¡Œé‡‘é¡�ã‚’è¶…ã�ˆã�Ÿå ´å�ˆã�¯falseã‚’è¿”ã�™
+                //if (ExecValue < (PaymentValue + CurrentValue)) return false;
+                // ç™»éŒ²å€¤+å…¥åŠ›å€¤ã�Œç™ºæ³¨é‡‘é¡�ã‚’è¶…ã�ˆã�Ÿå ´å�ˆã�¯falseã‚’è¿”ã�™
+                if (OrderValue < (PaymentValue + CurrentValue)) return false;
+
                 return true;
             }
             catch (System.Exception ex)
Index: trunk/src/ProcessManagement/ProcessManagement/Common/Process/ClsExcute.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Common/Process/ClsExcute.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Common/Process/ClsExcute.cs	(revision 468)
@@ -538,6 +538,53 @@
 
         #endregion
 
+        #region ãƒ—ãƒ­ã‚»ã‚¹ã�Œå®Ÿè£…ã�•ã‚Œã�¦ã�„ã‚‹ã�‹ã‚’åˆ¤å®šã�™ã‚‹
+        /// <summary>
+        /// ãƒ—ãƒ­ã‚»ã‚¹ã�Œå®Ÿè£…ã�•ã‚Œã�¦ã�„ã‚‹ã�‹ã‚’åˆ¤å®šã�™ã‚‹
+        /// </summary>
+        /// <returns></returns>
+        public static bool GetImplementationProcess(int ProcNo)
+        {
+            try
+            {
+                KeyValuePair<int, string>[] keyValues = null;
+                switch (ProductDefine.ProductType)
+                {
+                    case (int)ProductDefine.ProductTypeDef.Originals:
+                        // ----- ã‚ªãƒªã‚¸ãƒŠãƒ«ç‰ˆ
+                        keyValues = FrmSecurity.GetExecKeyValuesOrignal;
+                        break;
+                    case (int)ProductDefine.ProductTypeDef.ProductsModelType1:
+                        // ----- è£½å“�ç‰ˆï¼ˆä¸€äººè¦ªæ–¹ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³ï¼‰
+                        keyValues = FrmSecurity.GetExecKeyValuesProType1;
+                        break;
+                    case (int)ProductDefine.ProductTypeDef.ProductsModelType2:
+                        // ----- è£½å“�ç‰ˆï¼ˆæ‰¿èª�ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³ï¼‰
+                        keyValues = FrmSecurity.GetExecKeyValuesProType2;
+                        break;
+                    default:
+                        break;
+                }
+
+                bool bRet = false;
+                foreach (KeyValuePair<int, string> valuePair in keyValues)
+                {
+                    if(valuePair.Key == ProcNo)
+                    {
+                        bRet = true;
+                        break;
+                    }
+                }
+                return bRet;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+        }
+        #endregion
+
         #region ç·¨é›†ãƒ•ãƒ©ã‚°
         /// <summary>
         /// ç·¨é›†ãƒ•ãƒ©ã‚°
Index: trunk/src/ProcessManagement/ProcessManagement/Common/Process/ClsProcessExist.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Common/Process/ClsProcessExist.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Common/Process/ClsProcessExist.cs	(revision 468)
@@ -361,11 +361,11 @@
                         // ----- ã‚ªãƒªã‚¸ãƒŠãƒ«ç‰ˆ
                         GetProcessListOriginals(ref ProcList, OperationPrcess);
                         break;
-                    case (int)ProductDefine.ProductTypeDef.MassProductionType1:
+                    case (int)ProductDefine.ProductTypeDef.ProductsModelType1:
                         // ----- è£½å“�ç‰ˆï¼ˆä¸€äººè¦ªæ–¹ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³ï¼‰
                         GetProcessListMassProductionType1(ref ProcList, OperationPrcess);
                         break;
-                    case (int)ProductDefine.ProductTypeDef.MassProductionType2:
+                    case (int)ProductDefine.ProductTypeDef.ProductsModelType2:
                         // ----- è£½å“�ç‰ˆï¼ˆæ‰¿èª�ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³ï¼‰
                         GetProcessListMassProductionType2(ref ProcList, OperationPrcess);
                         break;
@@ -372,8 +372,6 @@
                     default:
                         break;
                 }
-
-
             }
             catch (Exception ex)
             {
@@ -1527,6 +1525,8 @@
                                         CommonDefine.ProjectsStatus.First(x => x.Value.Equals("è«‹æ±‚ç¢ºèª�")).Key,
                                         CommonDefine.ProjectsStatus.First(x => x.Value.Equals("ç·�å‹™å…¥é‡‘ç¢ºèª�")).Key,
                                         CommonDefine.ProjectsStatus.First(x => x.Value.Equals("æ‹…å½“è€…å…¥é‡‘ç¢ºèª�å®Œäº†")).Key,
+                                        CommonDefine.ProjectsStatus.First(x => x.Value.Equals("ä¸€èˆ¬è£œä¿®å·¥äº‹")).Key,
+                                        CommonDefine.ProjectsStatus.First(x => x.Value.Equals("ç©ºå®¶è£œä¿®å·¥äº‹")).Key,
                                         };
                 
                 // ãƒ‡ãƒ¼ã‚¿ã�®å­˜åœ¨ç¢ºèª�
Index: trunk/src/ProcessManagement/ProcessManagement/Common/Process/ClsSecurityPermission.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Common/Process/ClsSecurityPermission.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Common/Process/ClsSecurityPermission.cs	(revision 468)
@@ -400,43 +400,49 @@
             IOMProcessExcute ExecDB = new IOMProcessExcute();
             try
             {
-                if (PersonCode == CommonMotions.LoginUserData.PersonCode && CommonMotions.LoginUserProcExe.Count > 0)
+                // DBã‚ˆã‚Šèª­è¾¼ãƒ�ã‚§ãƒƒã‚¯ã�™ã‚‹
+                StringBuilder strSQL = new StringBuilder();
+                strSQL.Append("SELECT");
+                strSQL.Append(" B.EXECCODE");
+                strSQL.Append(", B.EDITFLG");
+                strSQL.Append(", A.PERSONCODE");
+                strSQL.Append(", A.PERSONNAME");
+                strSQL.Append(", B.SECCODE");
+                strSQL.Append(" FROM PERSONINCHARGEMASTER A");
+                strSQL.Append("      Inner Join PROCESSEXCUTEMASTER B");
+                strSQL.Append("            On B.SECCODE = A.SECCODE");
+                strSQL.AppendFormat("      AND B.EXECCODE = {0}", ExecCode);
+                strSQL.AppendFormat(" WHERE A.PERSONCODE = {0}", PersonCode);
+
+                bool bRet = false;
+                ArrayList arList = new ArrayList();
+                // ï¼¤ï¼¢ã‚ˆã‚Šã�®ãƒ‡ãƒ¼ã‚¿ã�Œå�–å¾—ã�§ã��ã�Ÿå ´å�ˆã�¯ã��ã�“ã�§åˆ¤å®šã�™ã‚‹
+                if (ExecDB.ExecuteReader(strSQL.ToString(), ref arList) && arList.Count > 0)
                 {
-                    // ãƒ­ã‚°ã‚¤ãƒ³è€…ã�§èµ·å‹•ãƒ†ãƒ¼ãƒ–ãƒ«ã�Œå�–å¾—ã�•ã‚Œã�¦ã�„ã‚Œã�°ãƒ¡ãƒ¢ãƒªä¸Šã‚ˆã‚Šãƒ�ã‚§ãƒƒã‚¯ã�™ã‚‹
-                    List<ProcessExcute> Target = CommonMotions.LoginUserProcExe.FindAll(x => x.ExecCode == ExecCode).ToList();
-
-                    // ãƒ‡ãƒ¼ã‚¿ã�Œç„¡ã�‘ã‚Œã�°æˆ»ã‚‹
-                    if (Target.Count < 1) return false;
-                    // ç·¨é›†ãƒ•ãƒ©ã‚°ã‚’å�–å¾—ã�™ã‚‹
-                    Editflg = Target[0].EditFlg;
+                    object[] objRec = (object[])arList[0];
+                    // ç·¨é›†ãƒ•ãƒ©ã‚°å�–å¾—
+                    Editflg = CommonMotions.cnvInt(objRec[1]);
+                    bRet = true;
                 }
                 else
                 {
-                    // ãƒ­ã‚°ã‚¤ãƒ³è€…ä»¥å¤–ã€�ã‚‚ã�—ã��ã�¯èµ·å‹•ãƒ†ãƒ¼ãƒ–ãƒ«ã�Œå�–å¾—ã�•ã‚Œã�¦ã�„ã�ªã�„å ´å�ˆã�¯DBã‚ˆã‚Šèª­è¾¼ãƒ�ã‚§ãƒƒã‚¯ã�™ã‚‹
-                    StringBuilder strSQL = new StringBuilder();
-                    strSQL.Append("SELECT");
-                    strSQL.Append(" B.EXECCODE");
-                    strSQL.Append(", B.EDITFLG");
-                    strSQL.Append(", A.PERSONCODE");
-                    strSQL.Append(", A.PERSONNAME");
-                    strSQL.Append(", B.SECCODE");
-                    strSQL.Append(" FROM PERSONINCHARGEMASTER A");
-                    strSQL.Append("      Inner Join PROCESSEXCUTEMASTER B");
-                    strSQL.Append("            On B.SECCODE = A.SECCODE");
-                    strSQL.AppendFormat("      AND B.EXECCODE = {0}", ExecCode);
-                    strSQL.AppendFormat(" WHERE A.PERSONCODE = {0}", PersonCode);
+                    // ï¼¤ï¼¢ã�‹ã‚‰å�–å¾—ã�§ã��ã�ªã�„å ´å�ˆã�¯èµ·å‹•ã�«å�–å¾—ã�§ã��ã�Ÿãƒ•ãƒ©ã‚°ã‚ˆã‚Šåˆ¤å®šã�™ã‚‹
+                    if (CommonMotions.LoginUserProcExe.Count > 0)
+                    {
+                        // ãƒ­ã‚°ã‚¤ãƒ³è€…ã�§èµ·å‹•ãƒ†ãƒ¼ãƒ–ãƒ«ã�Œå�–å¾—ã�•ã‚Œã�¦ã�„ã‚Œã�°ãƒ¡ãƒ¢ãƒªä¸Šã‚ˆã‚Šãƒ�ã‚§ãƒƒã‚¯ã�™ã‚‹
+                        List<ProcessExcute> Target = CommonMotions.LoginUserProcExe.FindAll(x => x.ExecCode == ExecCode).ToList();
 
-                    ArrayList arList = new ArrayList();
-                    if (!ExecDB.ExecuteReader(strSQL.ToString(), ref arList)) return false;
+                        // ãƒ‡ãƒ¼ã‚¿ã�Œã�‚ã‚Œã�°ç·¨é›†ãƒ•ãƒ©ã‚°ã‚’å�–å¾—ã�™ã‚‹
+                        if (Target.Count > 0)
+                        {
+                            // ç·¨é›†ãƒ•ãƒ©ã‚°ã‚’å�–å¾—ã�™ã‚‹
+                            Editflg = Target[0].EditFlg;
+                            bRet = true;
+                        }
+                    }
+                }
 
-                    if (arList.Count == 0) return false;
-                    object[] objRec = (object[])arList[0];
-
-                    // ç·¨é›†ãƒ•ãƒ©ã‚°å�–å¾—
-                    Editflg = CommonMotions.cnvInt(objRec[1]);
-                }
-                // ã�“ã�“ã�¾ã�§æ�¥ã�Ÿå ´å�ˆã�¯èµ·å‹•OK
-                return true;
+                return bRet;
             }
             catch (Exception ex)
             {
Index: trunk/src/ProcessManagement/ProcessManagement/Common/ProductDefine.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Common/ProductDefine.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Common/ProductDefine.cs	(revision 468)
@@ -35,13 +35,29 @@
             /// </summary>
             Originals = 0,
             /// <summary>
-            ///  1:è£½å“�ç‰ˆï¼‘ï¼ˆï¼‘äººè¦ªæ–¹ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³ï¼‰
+            ///  1:è£½å“�ç‰ˆï¼šé�’é¾�ï¼šï¼‘äººè¦ªæ–¹ç‰ˆ
             /// </summary>
-            MassProductionType1,
+            ProductsModelType1,
             /// <summary>
-            ///  2:è£½å“�ç‰ˆï¼’ï¼ˆæ‰¿èª�ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³ï¼‰
+            ///  2:è£½å“�ç‰ˆï¼šç™½è™Žãƒ»æœ±é›€ï¼šæ‰¿èª�ç‰ˆ
             /// </summary>
-            MassProductionType2,
+            ProductsModelType2,
+            /// <summary>
+            ///  3:è£½å“�ç‰ˆï¼šçŽ„æ­¦ï¼šæ‰¿èª�æ©Ÿèƒ½ï¼‹å·¥äº‹ç®¡ç�†æ©Ÿèƒ½è¿½åŠ ç‰ˆ
+            /// </summary>
+            ProductsModelType3,
+            /// <summary>
+            ///  4:è£½å“�ç‰ˆï¼šä¹�å°¾ï¼šæ‰¿èª�æ©Ÿèƒ½ï¼‹å·¥äº‹ç®¡ç�†æ©Ÿèƒ½è¿½åŠ ç‰ˆï¼‹äººå“¡ç®¡ç�†æ©Ÿèƒ½è¿½åŠ 
+            /// </summary>
+            ProductsModelType4,
+            /// <summary>
+            ///  5:è£½å“�ç‰ˆï¼šéº’éºŸï¼šãƒ•ãƒ«æ©Ÿèƒ½ç‰ˆ
+            /// </summary>
+            ProductsModelType5,
+            /// <summary>
+            ///  6:è£½å“�ç‰ˆï¼šé³³å‡°ï¼šãƒ•ãƒ«æ©Ÿèƒ½ç‰ˆï¼‹ã‚«ã‚¹ã‚¿ãƒžã‚¤ã‚º
+            /// </summary>
+            ProductsModelType6,
         }
         #endregion
         #endregion
@@ -50,7 +66,7 @@
         /// <summary>
         /// è£½å“�ç¨®åˆ¥
         /// </summary>
-        private static int      m_ProductType = (int)ProductTypeDef.MassProductionType1;
+        private static int      m_ProductType = (int)ProductTypeDef.ProductsModelType1;
         #endregion
 
         #region ã‚³ãƒ³ã‚¹ãƒˆãƒ©ã‚¯ã‚¿
Index: trunk/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOPersonApprovalDetail.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOPersonApprovalDetail.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOPersonApprovalDetail.cs	(nonexistent)
@@ -1,542 +0,0 @@
-ï»¿using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Collections;
-
-using log4net;
-using MySql.Data.MySqlClient;           // Data Provider for MySql
-
-using ProcessManagement.DB.MySql;
-using ProcessManagement.DB.Core;
-using ProcessManagement.DataModel;
-
-using ProcessManagement.Common;
-
-namespace ProcessManagement.DB.IOAccess
-{
-    /// <summary>
-    /// æ‹…å½“è€…æ‰¿èª�æ˜Žç´°ãƒ‡ãƒ¼ã‚¿ã‚¢ã‚¯ã‚»ã‚¹ã‚¯ãƒ©ã‚¹
-    /// </summary>
-    public class IOPersonApprovalDetail : MySqlProcess
-    {
-        #region å®šç¾©éƒ¨
-        /// <summary>
-        /// log4netãƒ­ã‚°ã‚’ä½¿ç”¨ã�™ã‚‹
-        /// </summary>
-        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
-        #endregion
-
-        #region å®šæ•°
-        /// <summary>
-        /// æ‰¿èª�ãƒ‡ãƒ¼ã‚¿ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ä¸¦ã�³
-        /// </summary>
-        public enum ColumnName
-        {
-            PersonCode = 0,
-            ApprovalCode,
-            OrderDate,
-            OrderNo,
-            SeqNo,
-            DetailData01,
-            DetailData02,
-            DetailData03,
-            DetailData04,
-            EntryDate,
-            UpdateDate
-        }
-        #endregion
-
-        #region ã‚³ãƒ³ã‚¹ãƒˆãƒ©ã‚¯ã‚¿
-        /// <summary>
-        /// ã‚³ãƒ³ã‚¹ãƒˆãƒ©ã‚¯ã‚¿
-        /// </summary>
-        /// <param name="ConnectionString"></param>
-        public IOPersonApprovalDetail()
-            : base(DBCommon.Instance.DBConnectString)
-        {
-        }
-
-        #endregion
-
-        #region æ‰¿èª�ãƒ‡ãƒ¼ã‚¿æ¤œç´¢æ–‡å­—åˆ—ä½œæˆ�
-        /// <summary>
-        /// æ‰¿èª�ãƒ‡ãƒ¼ã‚¿æ¤œç´¢æ–‡å­—åˆ—ä½œæˆ�
-        /// </summary>
-        /// <param name="AddSQLString">æ¤œç´¢æ�¡ä»¶SQLæ–‡å­—åˆ—</param>
-        /// <param name="data">æ‰¿èª�ãƒ‡ãƒ¼ã‚¿ãƒ‡ãƒ¼ã‚¿</param>
-        /// <returns>trueï¼šæˆ�åŠŸ falseï¼šå¤±æ•—</returns>
-        private string CreateSelectSQL()
-        {
-            // SQLä½œæˆ�ï¼ˆDateTimeåž‹ã�Œå¤‰æ�›ã�§ã��ã�ªã�„ã�®ã�§Charã�«å¤‰æ�›ã�—ã�¦ã�Šã��ï¼‰
-            StringBuilder strcmd = new StringBuilder();
-            strcmd.Append("SELECT");
-            strcmd.Append(" PersonCode");
-            strcmd.Append(", ApprovalCode");
-            strcmd.Append(", OrderDate");
-            strcmd.Append(", OrderNo");
-            strcmd.Append(", SeqNo");
-            strcmd.Append(", DetailData01");
-            strcmd.Append(", DetailData02");
-            strcmd.Append(", DetailData03");
-            strcmd.Append(", DetailData04");
-            strcmd.Append(", DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')");
-            strcmd.Append(", DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')");
-            strcmd.Append(" FROM PersonApprovalDetail");
-
-            return strcmd.ToString();
-        }
-        #endregion
-
-        #region æ‰¿èª�ãƒ‡ãƒ¼ã‚¿æ¤œç´¢ï¼ˆè¤‡æ•°ï¼‰
-        /// <summary>
-        /// æ‰¿èª�ãƒ‡ãƒ¼ã‚¿æ¤œç´¢ï¼ˆè¤‡æ•°ï¼‰
-        /// </summary>
-        /// <param name="AddSQLString"></param>
-        /// <param name="data"></param>
-        /// <param name="bConnect"></param>
-        /// <returns></returns>
-        public bool SelectAction(string AddSQLString, ref List<PersonApprovalDetail> data, bool bConnect = true)
-        {
-            // ã‚¤ãƒ³ã‚¿ãƒ¼ãƒ•ã‚§ãƒ¼ã‚¹
-            StringBuilder strcmd = new StringBuilder();
-            ArrayList arData = new ArrayList();
-
-            try
-            {
-                // SQLä½œæˆ�
-                strcmd.Append(CreateSelectSQL());
-                strcmd.Append(AddSQLString);
-
-                // SQLå®Ÿè¡Œ
-                if (!ExecuteReader(strcmd.ToString(), ref arData, bConnect)) return false;
-
-                // ãƒ‡ãƒ¼ã‚¿ã‚»ãƒƒãƒˆ
-                foreach (object[] objwrk in arData)
-                {
-                    PersonApprovalDetail work = new PersonApprovalDetail();
-                    Reader2Struct(objwrk, ref work);
-                    data.Add(work);
-                }
-
-                return true;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}ï¼š{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd.ToString());
-                return false;
-            }
-
-        }
-        #endregion
-
-        #region æ‰¿èª�ãƒ‡ãƒ¼ã‚¿æ¤œç´¢ï¼ˆ1ä»¶ï¼‰
-        /// <summary>
-        /// æ‰¿èª�ãƒ‡ãƒ¼ã‚¿æ¤œç´¢ï¼ˆ1ä»¶ï¼‰
-        /// </summary>
-        /// <param name="AddSQLString"></param>
-        /// <param name="data"></param>
-        /// <param name="bConnect"></param>
-        /// <returns></returns>
-        public bool SelectAction(string AddSQLString, ref PersonApprovalDetail data, bool bConnect = true)
-        {
-            // ã‚¤ãƒ³ã‚¿ãƒ¼ãƒ•ã‚§ãƒ¼ã‚¹
-            StringBuilder strcmd = new StringBuilder();
-            ArrayList arData = new ArrayList();
-
-            try
-            {
-                // SQLä½œæˆ�
-                strcmd.Append(CreateSelectSQL());
-                strcmd.Append(AddSQLString);
-
-                // SQLå®Ÿè¡Œ
-                if (!ExecuteReader(strcmd.ToString(), ref arData, bConnect)) return false;
-                if (arData.Count == 0) return false;
-
-                // ãƒ‡ãƒ¼ã‚¿ã‚»ãƒƒãƒˆ
-                object[] objwrk = (object[])arData[0];
-                Reader2Struct(objwrk, ref data);
-
-                return true;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}ï¼š{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd.ToString());
-                return false;
-            }
-
-        }
-        #endregion
-
-        #region æ‰¿èª�ãƒ‡ãƒ¼ã‚¿è¿½åŠ ï¼ˆè¤‡æ•°ï¼‰
-        /// <summary>
-        /// æ‰¿èª�ãƒ‡ãƒ¼ã‚¿è¿½åŠ ï¼ˆè¤‡æ•°ï¼‰
-        /// </summary>
-        /// <param name="data">æ‰¿èª�ãƒ‡ãƒ¼ã‚¿ãƒ‡ãƒ¼ã‚¿</param>
-        /// <returns>trueï¼šæˆ�åŠŸ falseï¼šå¤±æ•—</returns>
-        public bool InsertAction(List<PersonApprovalDetail> data, bool bConnect = true)
-        {
-            StringBuilder strcmd = new StringBuilder();
-            try
-            {
-                bool bColFirst = true;
-                strcmd.Append("INSERT INTO PersonApprovalDetail");
-                strcmd.Append(" (");
-                foreach (var gender in Enum.GetValues(typeof(ColumnName)))
-                {
-                    if (!bColFirst) strcmd.Append(", ");
-                    strcmd.Append(gender.ToString());
-                    bColFirst = false;
-                }
-                strcmd.Append(") VALUES");
-
-                bool bDataFirst = true;
-                foreach (PersonApprovalDetail work in data)
-                {
-                    if (bDataFirst) strcmd.Append(" (");
-                    else strcmd.Append(", (");
-
-                    strcmd.AppendFormat("  {0}", work.PersonCode);
-                    strcmd.AppendFormat(", {0}", work.ApprovalCode);
-                    strcmd.AppendFormat(", STR_TO_DATE('{0}','%Y/%m/%d')", work.OrderDate.ToShortDateString());
-                    strcmd.AppendFormat(", {0}", work.OrderNo);
-                    strcmd.AppendFormat(", {0}", work.SeqNo);
-                    strcmd.AppendFormat(", {0}", work.DetailData01);
-                    strcmd.AppendFormat(", {0}", work.DetailData02);
-                    strcmd.AppendFormat(", {0}", work.DetailData03);
-                    strcmd.AppendFormat(", {0}", work.DetailData04);
-                    strcmd.AppendFormat(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", work.EntryDate);
-                    strcmd.AppendFormat(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", work.UpdateDate);
-                    strcmd.Append(")");
-
-                    bDataFirst = false;
-                }
-
-                if (!ExecuteNonQuery(strcmd.ToString(), bConnect)) return false;
-
-                return true;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}ï¼š{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd.ToString());
-                return false;
-            }
-        }
-        #endregion
-
-        #region æ‰¿èª�ãƒ‡ãƒ¼ã‚¿è¿½åŠ ï¼ˆ1ä»¶ï¼‰
-        /// <summary>
-        /// æ‰¿èª�ãƒ‡ãƒ¼ã‚¿è¿½åŠ ï¼ˆ1ä»¶ï¼‰
-        /// </summary>
-        /// <param name="data"></param>
-        /// <param name="bConnect"></param>
-        /// <returns></returns>
-        public bool InsertAction(PersonApprovalDetail data, bool bConnect = true)
-        {
-            StringBuilder strcmd = new StringBuilder();
-            try
-            {
-
-                strcmd.Append("INSERT INTO PersonApprovalDetail");
-
-                strcmd.Append(" (");
-                bool bFirst = true;
-                foreach (var gender in Enum.GetValues(typeof(ColumnName)))
-                {
-                    if (!bFirst) strcmd.Append(", ");
-                    strcmd.Append(gender.ToString());
-                    bFirst = false;
-                }
-                strcmd.Append(") VALUES (");
-
-                strcmd.AppendFormat("  {0}", data.PersonCode);
-                strcmd.AppendFormat(", {0}", data.ApprovalCode);
-                strcmd.AppendFormat(", STR_TO_DATE('{0}','%Y/%m/%d')", data.OrderDate.ToShortDateString());
-                strcmd.AppendFormat(", {0}", data.OrderNo);
-                strcmd.AppendFormat(", {0}", data.SeqNo);
-                strcmd.AppendFormat(", {0}", data.DetailData01);
-                strcmd.AppendFormat(", {0}", data.DetailData02);
-                strcmd.AppendFormat(", {0}", data.DetailData03);
-                strcmd.AppendFormat(", {0}", data.DetailData04);
-
-                strcmd.AppendFormat(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", data.EntryDate);
-                strcmd.AppendFormat(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", data.UpdateDate);
-                strcmd.Append(")");
-
-                if (!ExecuteNonQuery(strcmd.ToString(), bConnect)) return false;
-
-                return true;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}ï¼š{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd.ToString());
-                return false;
-            }
-        }
-        #endregion
-
-        #region æ‰¿èª�ãƒ‡ãƒ¼ã‚¿æ›´æ–°
-        /// <summary>
-        /// æ‰¿èª�ãƒ‡ãƒ¼ã‚¿æ›´æ–°
-        /// </summary>
-        /// <param name="AddSQLString">æ›´æ–°æ�¡ä»¶SQLæ–‡å­—åˆ—</param>
-        /// <param name="data">æ‰¿èª�ãƒ‡ãƒ¼ã‚¿ãƒ‡ãƒ¼ã‚¿</param>
-        /// <returns>trueï¼šæˆ�åŠŸ falseï¼šå¤±æ•—</returns>
-        public bool UpdateAction(string AddSQLString, PersonApprovalDetail data, bool bConnect = true)
-        {
-            StringBuilder strcmd = new StringBuilder();
-            try
-            {
-
-                strcmd.Append("UPDATE PersonApprovalDetail");
-
-                strcmd.Append(" SET");
-
-                strcmd.AppendFormat(" PersonCode = {0}", data.PersonCode);
-                strcmd.AppendFormat(", ApprovalCode = {0}", data.ApprovalCode);
-                strcmd.AppendFormat(", OrderDate = STR_TO_DATE('{0}','%Y/%m/%d')", data.OrderDate.ToShortDateString());
-                strcmd.AppendFormat(", SeqNo = {0}", data.SeqNo);
-                strcmd.AppendFormat(", OrderNo = {0}", data.OrderNo);
-                strcmd.AppendFormat(", DetailData01 = {0}", data.DetailData01);
-                strcmd.AppendFormat(", DetailData02 = {0}", data.DetailData02);
-                strcmd.AppendFormat(", DetailData03 = {0}", data.DetailData03);
-                strcmd.AppendFormat(", DetailData04 = {0}", data.DetailData04);
-
-                strcmd.Append(", UpdateDate = NOW()");
-                strcmd.Append(AddSQLString);
-
-                if (!ExecuteNonQuery(strcmd.ToString(), bConnect)) return false;
-
-                return true;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}ï¼š{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd.ToString());
-                return false;
-            }
-        }
-        #endregion
-
-        #region æ‰¿èª�ãƒ‡ãƒ¼ã‚¿å‰Šé™¤
-        /// <summary>
-        /// æ‰¿èª�ãƒ‡ãƒ¼ã‚¿å‰Šé™¤
-        /// </summary>
-        /// <param name="AddSQLString">å‰Šé™¤æ�¡ä»¶SQLæ–‡å­—åˆ—</param>
-        /// <param name="data">æ‰¿èª�ãƒ‡ãƒ¼ã‚¿ãƒ‡ãƒ¼ã‚¿</param>
-        /// <returns>trueï¼šæˆ�åŠŸ falseï¼šå¤±æ•—</returns>
-        public bool DeleteAction(string AddSQLString, bool bConnect = true)
-        {
-            // ã‚¤ãƒ³ã‚¿ãƒ¼ãƒ•ã‚§ãƒ¼ã‚¹
-            StringBuilder strcmd = new StringBuilder();
-            try
-            {
-                strcmd.AppendFormat("{0}{1}", "DELETE FROM PersonApprovalDetail", AddSQLString);
-
-                if (!ExecuteNonQuery(strcmd.ToString(), bConnect)) return false;
-
-                return true;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}ï¼š{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd.ToString());
-                return false;
-            }
-        }
-        #endregion
-
-        #region 1é …ç›®æ›´æ–°å‡¦ç�†
-        /// <summary>
-        /// 1é …ç›®ã�®æ›´æ–°ã‚’è¡Œã�†
-        /// </summary>
-        /// <returns></returns>
-        public bool UpdateFeild(int PersonCode, int ApprovalCode, DateTime OrderDate, int OrderNo, int SeqNo, int FeildNo, object value, bool bConnect = true)
-        {
-            StringBuilder strcmd = new StringBuilder();
-            try
-            {
-                strcmd.Append("UPDATE PersonApprovalDetail");
-
-                strcmd.Append(" SET");
-                switch (FeildNo)
-                {
-                    case (int)ColumnName.PersonCode:
-                        strcmd.AppendFormat(" PersonCode = {0}", ((int)value).ToString());
-                        break;
-                    case (int)ColumnName.ApprovalCode:
-                        strcmd.AppendFormat(" ApprovalCode = {0}", ((int)value).ToString());
-                        break;
-                    case (int)ColumnName.OrderDate:
-                        strcmd.AppendFormat(" OrderDate = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
-                        break;
-                    case (int)ColumnName.OrderNo:
-                        strcmd.AppendFormat(" OrderNo = {0}", ((int)value).ToString());
-                        break;
-                    case (int)ColumnName.SeqNo:
-                        strcmd.AppendFormat(" SeqNo = {0}", ((int)value).ToString());
-                        break;
-                    case (int)ColumnName.DetailData01:
-                        strcmd.AppendFormat(" DetailData01 = {0}", ((int)value).ToString());
-                        break;
-                    case (int)ColumnName.DetailData02:
-                        strcmd.AppendFormat(" DetailData02 = {0}", ((int)value).ToString());
-                        break;
-                    case (int)ColumnName.DetailData03:
-                        strcmd.AppendFormat(" DetailData03 = {0}", ((int)value).ToString());
-                        break;
-                    case (int)ColumnName.DetailData04:
-                        strcmd.AppendFormat(" DetailData04 = {0}", ((int)value).ToString());
-                        break;
-                }
-
-                strcmd.Append(", UpdateDate = NOW()");
-                strcmd.Append(CreatePrimarykeyString(PersonCode, ApprovalCode, OrderDate, OrderNo, SeqNo));
-
-                if (!ExecuteNonQuery(strcmd.ToString(), bConnect)) return false;
-
-                return true;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}ï¼š{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd.ToString());
-                return false;
-            }
-        }
-        #endregion
-
-        #region MySQLDataReaderã‚ˆã‚Šæ§‹é€ ä½“ã�¸ã‚»ãƒƒãƒˆã�™ã‚‹
-        /// <summary>
-        /// MySQLDataReaderã‚ˆã‚Šæ§‹é€ ä½“ã�¸ã‚»ãƒƒãƒˆã�™ã‚‹
-        /// </summary>
-        /// <param name="reader">MySQLDataReader</param>
-        /// <param name="wrk">æ§‹é€ ä½“</param>
-        public void Reader2Struct(object[] objwrk, ref PersonApprovalDetail wrk)
-        {
-            try
-            {
-                // ãƒ‡ãƒ¼ã‚¿å�–å¾—
-                wrk.PersonCode = int.Parse(objwrk[(int)ColumnName.PersonCode].ToString());
-                wrk.ApprovalCode = int.Parse(objwrk[(int)ColumnName.ApprovalCode].ToString());
-                wrk.OrderDate = DateTime.Parse(objwrk[(int)ColumnName.OrderDate].ToString());
-                wrk.OrderNo = int.Parse(objwrk[(int)ColumnName.OrderNo].ToString());
-                wrk.SeqNo = int.Parse(objwrk[(int)ColumnName.SeqNo].ToString());
-                wrk.DetailData01 = ulong.Parse(objwrk[(int)ColumnName.DetailData01].ToString());
-                wrk.DetailData02 = ulong.Parse(objwrk[(int)ColumnName.DetailData02].ToString());
-                wrk.DetailData03 = ulong.Parse(objwrk[(int)ColumnName.DetailData03].ToString());
-                wrk.DetailData04 = ulong.Parse(objwrk[(int)ColumnName.DetailData04].ToString());
-
-                wrk.EntryDate = DateTime.Parse(objwrk[(int)ColumnName.EntryDate].ToString());
-                wrk.UpdateDate = DateTime.Parse(objwrk[(int)ColumnName.UpdateDate].ToString());
-            }
-            catch (MySqlException myex)
-            {
-                logger.ErrorFormat("ï¼­ï½™ï¼³ï¼±ï¼¬ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), myex.Message);
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region ä¸»ã‚­ãƒ¼æ¤œç´¢ã�®æ–‡å­—åˆ—ã‚’è¿”ã�™
-        /// <summary>
-        /// ä¸»ã‚­ãƒ¼æ¤œç´¢ã�®æ–‡å­—åˆ—ã‚’è¿”ã�™
-        /// </summary>
-        /// <param name="BusinessTypeCode"></param>
-        /// <returns>Whereæ–‡å­—åˆ—</returns>
-        public string CreatePrimarykeyString(int PersonCode, int ApprovalCode, DateTime OrderDate, int OrderNo = 0, int SeqNo = 0, string APara = "")
-        {
-            StringBuilder strWork = new StringBuilder();
-            try
-            {
-                strWork.AppendFormat(" Where {0}PersonCode = {1}", APara, PersonCode.ToString());
-                strWork.AppendFormat(" And {0}ApprovalCode = {1}", APara, ApprovalCode.ToString());
-                strWork.AppendFormat(" And DATE({0}OrderDate) = DATE(STR_TO_DATE('{1}','%Y/%m/%d'))", APara, OrderDate.ToShortDateString());
-                if (OrderNo != 0)
-                    strWork.AppendFormat(" And {0}OrderNo = {1}", APara, OrderNo.ToString());
-                if (SeqNo != 0)
-                    strWork.AppendFormat(" And {0}SeqNo = {1}", APara, SeqNo.ToString());
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}ï¼š{2}", CommonMotions.GetMethodName(2), ex.Message, strWork.ToString());
-            }
-
-            return strWork.ToString();
-        }
-        #endregion
-
-        #region å�—ä»˜ç•ªå�·ã�®æœ€å¤§å€¤ã‚’å�–å¾—ã�™ã‚‹
-        /// <summary>
-        /// å�—ä»˜ç•ªå�·ã�®æœ€å¤§å€¤ã‚’å�–å¾—ã�™ã‚‹
-        /// </summary>
-        /// <param name="AddSQLString"></param>
-        /// <param name="bConnect"></param>
-        /// <returns></returns>
-        public int SelectMaxOrderNoCount(string AddSQLString, bool bConnect = true)
-        {
-            // ã‚¤ãƒ³ã‚¿ãƒ¼ãƒ•ã‚§ãƒ¼ã‚¹
-            StringBuilder strcmd = new StringBuilder();
-            ArrayList arData = new ArrayList();
-            int iRet = 0;
-            try
-            {
-                // SQLä½œæˆ�
-                strcmd.AppendFormat("SELECT IFNULL(MAX(OrderNo), 0) FROM PersonApprovalDetail{0}", AddSQLString);
-
-                // SQLå®Ÿè¡Œ
-                if (!ExecuteReader(strcmd.ToString(), ref arData, bConnect)) return iRet;
-
-                // ãƒ‡ãƒ¼ã‚¿ã‚»ãƒƒãƒˆ
-                object[] wrkobj = (object[])arData[0];
-                iRet = CommonMotions.cnvInt(wrkobj[0]);
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}ï¼š{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd.ToString());
-            }
-            return iRet;
-        }
-        #endregion
-
-        #region æž�ç•ªã�®æœ€å¤§å€¤ã‚’å�–å¾—ã�™ã‚‹
-        /// <summary>
-        /// æž�ç•ªã�®æœ€å¤§å€¤ã‚’å�–å¾—ã�™ã‚‹
-        /// </summary>
-        /// <param name="AddSQLString"></param>
-        /// <param name="bConnect"></param>
-        /// <returns></returns>
-        public int SelectMaxSeqNoCount(string AddSQLString, bool bConnect = true)
-        {
-            // ã‚¤ãƒ³ã‚¿ãƒ¼ãƒ•ã‚§ãƒ¼ã‚¹
-            StringBuilder strcmd = new StringBuilder();
-            ArrayList arData = new ArrayList();
-            int iRet = 0;
-            try
-            {
-                // SQLä½œæˆ�
-                strcmd.AppendFormat("SELECT IFNULL(MAX(SeqNo), 0) FROM PersonApprovalDetail{0}", AddSQLString);
-
-                // SQLå®Ÿè¡Œ
-                if (!ExecuteReader(strcmd.ToString(), ref arData, bConnect)) return iRet;
-
-                // ãƒ‡ãƒ¼ã‚¿ã‚»ãƒƒãƒˆ
-                foreach (object[] objwrk in arData)
-                {
-                    if (objwrk[0].ToString().Equals("null"))
-                        iRet = 0;
-                    else
-                        iRet = int.Parse(objwrk[0].ToString());
-                }
-
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}ï¼š{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd.ToString());
-            }
-            return iRet;
-        }
-        #endregion
-    }
-}
Index: trunk/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOMConstructionTypeMaster.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOMConstructionTypeMaster.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOMConstructionTypeMaster.cs	(revision 468)
@@ -40,6 +40,7 @@
             RepairFlg,
             SecRank,
             ExpensesLink,
+            CompanyProp,
             DeleteFlg,
             EntryDate,
             UpdateDate,
@@ -200,6 +201,7 @@
                 strcmd.AppendFormat(", {0}", work.RepairFlg);
                 strcmd.AppendFormat(", {0}", work.SecRank);
                 strcmd.AppendFormat(", {0}", work.ExpensesLink);
+                strcmd.AppendFormat(", {0}", work.CompanyProp);
                 strcmd.AppendFormat(", {0}", work.DeleteFlg);
 
                 strcmd.AppendFormat(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", work.EntryDate);
@@ -254,6 +256,7 @@
                     strcmd.AppendFormat(", {0}", work.RepairFlg);
                     strcmd.AppendFormat(", {0}", work.SecRank);
                     strcmd.AppendFormat(", {0}", work.ExpensesLink);
+                    strcmd.AppendFormat(", {0}", work.CompanyProp);
                     strcmd.AppendFormat(", {0}", work.DeleteFlg);
 
                     strcmd.AppendFormat(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", work.EntryDate);
@@ -299,6 +302,7 @@
                 strcmd.AppendFormat(", RepairFlg = {0}", data.RepairFlg);
                 strcmd.AppendFormat(", SecRank = {0}", data.SecRank);
                 strcmd.AppendFormat(", ExpensesLink = {0}", data.ExpensesLink);
+                strcmd.AppendFormat(", CompanyProp = {0}", data.CompanyProp);
                 strcmd.AppendFormat(", DeleteFlg = {0}", data.DeleteFlg);
 
                 strcmd.Append(", UpdateDate = NOW()");
@@ -452,6 +456,7 @@
                 wrk.RepairFlg = int.Parse(objwrk[(int)NameColumn.RepairFlg].ToString());
                 wrk.SecRank = int.Parse(objwrk[(int)NameColumn.SecRank].ToString());
                 wrk.ExpensesLink = int.Parse(objwrk[(int)NameColumn.ExpensesLink].ToString());
+                wrk.CompanyProp = int.Parse(objwrk[(int)NameColumn.CompanyProp].ToString());
 
                 wrk.DeleteFlg = int.Parse(objwrk[(int)NameColumn.DeleteFlg].ToString());
 
Index: trunk/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOPurchaseOrder.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOPurchaseOrder.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOPurchaseOrder.cs	(revision 468)
@@ -63,6 +63,8 @@
             RePrintFlag,                // å†�å�°åˆ·å�¯èƒ½ãƒ•ãƒ©ã‚°
             OrderDate,                  // å�—æ³¨ãƒ»ã‚­ãƒ£ãƒ³ã‚»ãƒ«å¹´æœˆæ—¥
             OrderStatus,                // å�—æ³¨çŠ¶æ…‹
+            OrderStDate,                // ç�€å·¥æ—¥
+            OrderEdDate,                // å®Œäº†æ—¥
 
             EntryDate,	                // ç™»éŒ²å¹´æœˆæ—¥
             UpdateDate,	                // æ›´æ–°å¹´æœˆæ—¥
@@ -256,13 +258,14 @@
                 strcmd.AppendFormat(",{0}", work.SafetyOfficerCode);                    // å®‰å…¨ç®¡ç�†è€…ã‚³ãƒ¼ãƒ‰
                 strcmd.AppendFormat(",'{0}'", work.SafetyOfficerName);                  // å®‰å…¨ç®¡ç�†è€…å��
                 strcmd.AppendFormat(",{0}", work.WorkersCount);                         // ä½œæ¥­å“¡æ•°
-                strcmd.AppendFormat(",STR_TO_DATE('{0}','%Y/%m/%d')",
-                                                work.PrintoutDate.ToShortDateString()); // å�°åˆ·å¹´æœˆæ—¥
+                strcmd.AppendFormat(",STR_TO_DATE('{0}','%Y/%m/%d')", work.PrintoutDate.ToShortDateString());   // å�°åˆ·å¹´æœˆæ—¥
                 strcmd.AppendFormat(",{0}", work.RePrintFlag);                          // å†�å�°åˆ·å�¯èƒ½ãƒ•ãƒ©ã‚°
-                strcmd.AppendFormat(",STR_TO_DATE('{0}','%Y/%m/%d')",
-                                                work.OrderDate.ToShortDateString());    // å�—æ³¨ãƒ»ã‚­ãƒ£ãƒ³ã‚»ãƒ«å¹´æœˆæ—¥
+                strcmd.AppendFormat(",STR_TO_DATE('{0}','%Y/%m/%d')", work.OrderDate.ToShortDateString());      // å�—æ³¨ãƒ»ã‚­ãƒ£ãƒ³ã‚»ãƒ«å¹´æœˆæ—¥
                 strcmd.AppendFormat(",{0}", work.OrderStatus);                          // å�—æ³¨çŠ¶æ…‹
 
+                strcmd.AppendFormat(",STR_TO_DATE('{0}','%Y/%m/%d')", work.OrderStDate.ToShortDateString());    // ç�€å·¥æ—¥
+                strcmd.AppendFormat(",STR_TO_DATE('{0}','%Y/%m/%d')", work.OrderEdDate.ToShortDateString());    // å®Œäº†æ—¥
+
                 strcmd.AppendFormat(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", work.EntryDate);
                 strcmd.AppendFormat(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", work.UpdateDate);
                 strcmd.Append(")");
@@ -338,13 +341,14 @@
                     strcmd.AppendFormat(",{0}", work.SafetyOfficerCode);                    // å®‰å…¨ç®¡ç�†è€…ã‚³ãƒ¼ãƒ‰
                     strcmd.AppendFormat(",'{0}'", work.SafetyOfficerName);                  // å®‰å…¨ç®¡ç�†è€…å��
                     strcmd.AppendFormat(",{0}", work.WorkersCount);                         // ä½œæ¥­å“¡æ•°
-                    strcmd.AppendFormat(",STR_TO_DATE('{0}','%Y/%m/%d')",
-                                                    work.PrintoutDate.ToShortDateString()); // å�°åˆ·å¹´æœˆæ—¥
+                    strcmd.AppendFormat(",STR_TO_DATE('{0}','%Y/%m/%d')", work.PrintoutDate.ToShortDateString());   // å�°åˆ·å¹´æœˆæ—¥
                     strcmd.AppendFormat(",{0}", work.RePrintFlag);                          // å†�å�°åˆ·å�¯èƒ½ãƒ•ãƒ©ã‚°
-                    strcmd.AppendFormat(",STR_TO_DATE('{0}','%Y/%m/%d')",
-                                                    work.OrderDate.ToShortDateString());    // å�—æ³¨ãƒ»ã‚­ãƒ£ãƒ³ã‚»ãƒ«å¹´æœˆæ—¥
+                    strcmd.AppendFormat(",STR_TO_DATE('{0}','%Y/%m/%d')", work.OrderDate.ToShortDateString());      // å�—æ³¨ãƒ»ã‚­ãƒ£ãƒ³ã‚»ãƒ«å¹´æœˆæ—¥
                     strcmd.AppendFormat(",{0}", work.OrderStatus);                          // å�—æ³¨çŠ¶æ…‹
 
+                    strcmd.AppendFormat(",STR_TO_DATE('{0}','%Y/%m/%d')", work.OrderStDate.ToShortDateString());    // ç�€å·¥æ—¥
+                    strcmd.AppendFormat(",STR_TO_DATE('{0}','%Y/%m/%d')", work.OrderEdDate.ToShortDateString());    // å®Œäº†æ—¥
+
                     strcmd.AppendFormat(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", work.EntryDate);
                     strcmd.AppendFormat(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", work.UpdateDate);
                     strcmd.Append(")");
@@ -415,13 +419,14 @@
                 strcmd.AppendFormat(",SafetyOfficerCode = {0}", data.SafetyOfficerCode);                    // å®‰å…¨ç®¡ç�†è€…ã‚³ãƒ¼ãƒ‰
                 strcmd.AppendFormat(",SafetyOfficerName = '{0}'", data.SafetyOfficerName);                  // å®‰å…¨ç®¡ç�†è€…å��
                 strcmd.AppendFormat(",WorkersCount = {0}", data.WorkersCount);                              // ä½œæ¥­å“¡æ•°
-                strcmd.AppendFormat(",PrintoutDate = STR_TO_DATE('{0}','%Y/%m/%d')",
-                                                                    data.PrintoutDate.ToShortDateString()); // å�°åˆ·å¹´æœˆæ—¥
+                strcmd.AppendFormat(",PrintoutDate = STR_TO_DATE('{0}','%Y/%m/%d')", data.PrintoutDate.ToShortDateString());// å�°åˆ·å¹´æœˆæ—¥
                 strcmd.AppendFormat(",RePrintFlag = {0}", data.RePrintFlag);                                // å†�å�°åˆ·å�¯èƒ½ãƒ•ãƒ©ã‚°
-                strcmd.AppendFormat(",OrderDate = STR_TO_DATE('{0}','%Y/%m/%d')",
-                                                                    data.OrderDate.ToShortDateString());    // å�—æ³¨ãƒ»ã‚­ãƒ£ãƒ³ã‚»ãƒ«å¹´æœˆæ—¥
+                strcmd.AppendFormat(",OrderDate = STR_TO_DATE('{0}','%Y/%m/%d')", data.OrderDate.ToShortDateString());      // å�—æ³¨ãƒ»ã‚­ãƒ£ãƒ³ã‚»ãƒ«å¹´æœˆæ—¥
                 strcmd.AppendFormat(",OrderStatus = {0}", data.OrderStatus);                                // å�—æ³¨çŠ¶æ…‹
 
+                strcmd.AppendFormat(",OrderStDate = STR_TO_DATE('{0}','%Y/%m/%d')", data.OrderStDate.ToShortDateString());  // ç�€å·¥æ—¥
+                strcmd.AppendFormat(",OrderEdDate = STR_TO_DATE('{0}','%Y/%m/%d')", data.OrderEdDate.ToShortDateString());  // å®Œäº†æ—¥
+
                 strcmd.Append(", UpdateDate = NOW()");
                 strcmd.Append(AddSQLString);
 
@@ -569,6 +574,12 @@
                     case (int)TableColumn.OrderStatus:              // å�—æ³¨çŠ¶æ…‹
                         strcmd.AppendFormat(",OrderStatus = {0}", ((int)value).ToString());
                         break;
+                    case (int)TableColumn.OrderStDate:              // ç�€å·¥æ—¥
+                        strcmd.AppendFormat(" OrderStDate = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
+                    case (int)TableColumn.OrderEdDate:              // å®Œäº†æ—¥
+                        strcmd.AppendFormat(" OrderStDate = STR_TO_DATE('{0}','%Y/%m/%d')", ((DateTime)value).ToShortDateString());
+                        break;
                 }
 
                 strcmd.Append(", UpdateDate = NOW()");
@@ -631,6 +642,9 @@
                 wrk.OrderDate = DateTime.Parse(objwrk[(int)TableColumn.OrderDate].ToString());                      // å�—æ³¨ãƒ»ã‚­ãƒ£ãƒ³ã‚»ãƒ«å¹´æœˆæ—¥
                 wrk.OrderStatus = int.Parse(objwrk[(int)TableColumn.OrderStatus].ToString());                       // å�—æ³¨çŠ¶æ…‹
 
+                wrk.OrderStDate = DateTime.Parse(objwrk[(int)TableColumn.OrderStDate].ToString());                  // ç�€å·¥æ—¥
+                wrk.OrderEdDate = DateTime.Parse(objwrk[(int)TableColumn.OrderEdDate].ToString());                  // å®Œäº†æ—¥
+
                 wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
                 wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
             }
Index: trunk/src/ProcessManagement/ProcessManagement/DataModel/PersonApprovalDetail.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/DataModel/PersonApprovalDetail.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/DataModel/PersonApprovalDetail.cs	(nonexistent)
@@ -1,154 +0,0 @@
-ï»¿using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-
-namespace ProcessManagement.DataModel
-{
-    /// <summary>
-    /// æ‹…å½“è€…æ‰¿èª�æ˜Žç´°ãƒ‡ãƒ¼ã‚¿
-    /// </summary>
-    public class PersonApprovalDetail
-    {
-        #region ãƒ¡ãƒ³ãƒ�å¤‰æ•°
-        /// <summary>
-        /// æ‹…å½“è€…ã‚³ãƒ¼ãƒ‰
-        /// </summary>
-        private int         m_PersonCode = 0;
-        /// <summary>
-        /// æ‰¿èª�æ©Ÿèƒ½ç•ªå�·
-        /// </summary>
-        private int         m_ApprovalCode = 0;
-        /// <summary>
-        /// å�—ä»˜æ—¥
-        /// </summary>
-        private DateTime    m_OrderDate = DateTime.MinValue;
-        /// <summary>
-        /// å�—ä»˜ç•ªå�·
-        /// </summary>
-        private int         m_OrderNo = 0;
-        /// <summary>
-        /// æž�ç•ª
-        /// </summary>
-        private int         m_SeqNo = 0;
-        /// <summary>
-        /// æ˜Žç´°ãƒ‡ãƒ¼ã‚¿01
-        /// </summary>
-        private ulong       m_DetailData01 = 0;
-        /// <summary>
-        /// æ˜Žç´°ãƒ‡ãƒ¼ã‚¿02
-        /// </summary>
-        private ulong       m_DetailData02 = 0;
-        /// <summary>
-        /// æ˜Žç´°ãƒ‡ãƒ¼ã‚¿03
-        /// </summary>
-        private ulong       m_DetailData03 = 0;
-        /// <summary>
-        /// æ˜Žç´°ãƒ‡ãƒ¼ã‚¿04
-        /// </summary>
-        private ulong       m_DetailData04 = 0;
-        /// <summary>
-        /// ç™»éŒ²æ—¥ä»˜
-        /// </summary>
-        private DateTime    m_EntryDate = DateTime.Now;
-        /// <summary>
-        /// æ›´æ–°æ—¥ä»˜
-        /// </summary>
-        private DateTime    m_UpdateDate = DateTime.Now;
-        #endregion
-
-        #region ã‚³ãƒ³ã‚¹ãƒˆãƒ©ã‚¯ã‚¿
-        #endregion
-
-        #region ãƒ—ãƒ­ãƒ‘ãƒ†ã‚£
-        /// <summary>
-        /// æ‹…å½“è€…ã‚³ãƒ¼ãƒ‰
-        /// </summary>
-        public int PersonCode
-        {
-            get { return m_PersonCode; }
-            set { m_PersonCode = value; }
-        }
-        /// <summary>
-        /// æ‰¿èª�æ©Ÿèƒ½ç•ªå�·
-        /// </summary>
-        public int ApprovalCode
-        {
-            get { return m_ApprovalCode; }
-            set { m_ApprovalCode = value; }
-        }
-        /// <summary>
-        /// å�—ä»˜æ—¥
-        /// </summary>
-        public DateTime OrderDate
-        {
-            get { return m_OrderDate; }
-            set { m_OrderDate = value; }
-        }
-        /// <summary>
-        /// å�—ä»˜ç•ªå�·
-        /// </summary>
-        public int OrderNo
-        {
-            get { return m_OrderNo; }
-            set { m_OrderNo = value; }
-        }
-        /// <summary>
-        /// æž�ç•ª
-        /// </summary>
-        public int SeqNo
-        {
-            get { return m_SeqNo; }
-            set { m_SeqNo = value; }
-        }
-        /// <summary>
-        /// æ˜Žç´°ãƒ‡ãƒ¼ã‚¿01
-        /// </summary>
-        public ulong DetailData01
-        {
-            get { return m_DetailData01; }
-            set { m_DetailData01 = value; }
-        }
-        /// <summary>
-        /// æ˜Žç´°ãƒ‡ãƒ¼ã‚¿02
-        /// </summary>
-        public ulong DetailData02
-        {
-            get { return m_DetailData02; }
-            set { m_DetailData02 = value; }
-        }
-        /// <summary>
-        /// æ˜Žç´°ãƒ‡ãƒ¼ã‚¿03
-        /// </summary>
-        public ulong DetailData03
-        {
-            get { return m_DetailData03; }
-            set { m_DetailData03 = value; }
-        }
-        /// <summary>
-        /// æ˜Žç´°ãƒ‡ãƒ¼ã‚¿04
-        /// </summary>
-        public ulong DetailData04
-        {
-            get { return m_DetailData04; }
-            set { m_DetailData04 = value; }
-        }
-        /// <summary>
-        /// ç™»éŒ²æ—¥ä»˜
-        /// </summary>
-        public DateTime EntryDate
-        {
-            set { m_EntryDate = value; }
-            get { return m_EntryDate; }
-        }
-        /// <summary>
-        /// æ›´æ–°æ—¥ä»˜
-        /// </summary>
-        public DateTime UpdateDate
-        {
-            set { m_UpdateDate = value; }
-            get { return m_UpdateDate; }
-        }
-        #endregion
-    }
-}
Index: trunk/src/ProcessManagement/ProcessManagement/DataModel/CalennderPage.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/DataModel/CalennderPage.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/DataModel/CalennderPage.cs	(nonexistent)
@@ -1,91 +0,0 @@
-ï»¿using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using System.Windows.Forms;
-
-namespace ProcessManagement.DataModel
-{
-    #region æœˆå�˜ä½�ãƒ‡ãƒ¼ã‚¿ã‚¯ãƒ©ã‚¹
-    /// <summary>
-    /// æœˆå�˜ä½�ãƒ‡ãƒ¼ã‚¿ã‚¯ãƒ©ã‚¹
-    /// </summary>
-    public class MonthryData
-    {
-        /// <summary>
-        /// é€±ã‚¿ã‚¤ãƒˆãƒ«
-        /// </summary>
-        private Label[] m_lblWeekTitle = new Label[7];
-        /// <summary>
-        /// æ—¥ãƒ‡ãƒ¼ã‚¿
-        /// </summary>
-        private Label[] m_lblDayData = new Label[42];
-
-        /// <summary>
-        /// é€±ã‚¿ã‚¤ãƒˆãƒ«
-        /// </summary>
-        public Label[] lblWeekTitle
-        {
-            get { return m_lblWeekTitle; }
-            set { m_lblWeekTitle = value; }
-        }
-        /// <summary>
-        /// æ—¥ãƒ‡ãƒ¼ã‚¿
-        /// </summary>
-        public Label[] lblDayData
-        {
-            get { return m_lblDayData; }
-            set { m_lblDayData = value; }
-        }
-    }
-    #endregion
-
-    /// <summary>
-    /// ã‚«ãƒ¬ãƒ³ãƒ€ãƒ¼ãƒžã‚¹ã‚¿è¡¨ç¤ºãƒšãƒ¼ã‚¸å®šç¾©
-    /// </summary>
-    public class CalennderPage
-    {
-        #region ãƒ¡ãƒ³ãƒ�å¤‰æ•°
-        /// <summary>
-        /// æœˆã‚¿ã‚¤ãƒˆãƒ«
-        /// </summary>
-        private Label[] m_lblMonthTitle = new Label[12];
-        /// <summary>
-        /// æœˆæ¯Žãƒ‡ãƒ¼ã‚¿
-        /// </summary>
-        private MonthryData[] m_MonthryData = new MonthryData[12];
-        /// <summary>
-        /// æœˆæ¯Žæž 
-        /// </summary>
-        private TableLayoutPanel[] m_MonthTableLayout = new TableLayoutPanel[12];
-        #endregion
-
-        #region ãƒ—ãƒ­ãƒ‘ãƒ†ã‚£
-        /// <summary>
-        /// æœˆã‚¿ã‚¤ãƒˆãƒ«ã‚¤ãƒ³ã‚¿ãƒ¼ãƒ•ã‚§ãƒ¼ã‚¹
-        /// </summary>
-        public Label[] lblMonthTitle
-        {
-            get { return m_lblMonthTitle; }
-            set { m_lblMonthTitle = value; }
-        }
-        /// <summary>
-        /// æœˆæ¯Žãƒ‡ãƒ¼ã‚¿
-        /// </summary>
-        public MonthryData[] MonthryData
-        {
-            get { return m_MonthryData; }
-            set { m_MonthryData = value; }
-        }
-        /// <summary>
-        /// æœˆæ¯Žæž 
-        /// </summary>
-        public TableLayoutPanel[] MonthTableLayout
-        {
-            get { return m_MonthTableLayout; }
-            set { m_MonthTableLayout = value; }
-        }
-        #endregion
-    }
-}
Index: trunk/src/ProcessManagement/ProcessManagement/DataModel/ConstructionTypeMaster.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/DataModel/ConstructionTypeMaster.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/DataModel/ConstructionTypeMaster.cs	(revision 468)
@@ -70,8 +70,25 @@
         }
         #endregion
 
+        #region è‡ªç¤¾å·¥äº‹åŒºåˆ†
+        /// <summary>
+        /// è‡ªç¤¾å·¥äº‹åŒºåˆ†
+        /// </summary>
+        public enum CompanyPropDef
+        {
+            /// <summary>
+            /// 0:é€šå¸¸å·¥äº‹
+            /// </summary>
+            Normal = 0,
+            /// <summary>
+            /// 1:è‡ªç¤¾å·¥äº‹
+            /// </summary>
+            OwnProp,
+        }
         #endregion
 
+        #endregion
+
         #region ãƒ¡ãƒ³ãƒ�å¤‰æ•°
         private int         m_TypeCode = 0;	                    // å·¥äº‹ç¨®åˆ¥ã‚³ãƒ¼ãƒ‰
         private int         m_DisplayOrder = 0;	                // è¡¨ç¤ºé †
@@ -80,6 +97,7 @@
         private int         m_RepairFlg = 0;                    // æ–°ç¯‰ãƒ»æ”¹ä¿®ãƒ•ãƒ©ã‚°
         private int         m_SecRank = 0;                      // ä¿�è­·åŒºåˆ†ãƒ©ãƒ³ã‚¯
         private int         m_ExpensesLink = 0;                 // çµŒè²»ä½¿ç”¨åŒºåˆ†
+        private int         m_CompanyProp = 0;                  // è‡ªç¤¾å·¥äº‹åŒºåˆ†
 
         private int         m_DeleteFlg = 0;	                // å‰Šé™¤ãƒ•ãƒ©ã‚°
         private DateTime    m_EntryDate = DateTime.Now;         // ç™»éŒ²æ—¥ä»˜
@@ -147,6 +165,14 @@
             set { m_ExpensesLink = value; }
         }
         /// <summary>
+        /// è‡ªç¤¾å·¥äº‹åŒºåˆ†
+        /// </summary>
+        public int CompanyProp
+        {
+            get { return m_CompanyProp; }
+            set { m_CompanyProp = value; }
+        }
+        /// <summary>
         /// å‰Šé™¤ãƒ•ãƒ©ã‚°
         /// </summary>
         public int DeleteFlg
Index: trunk/src/ProcessManagement/ProcessManagement/DataModel/DivisionMaster.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/DataModel/DivisionMaster.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/DataModel/DivisionMaster.cs	(revision 468)
@@ -25,7 +25,7 @@
             /// </summary>
             ConstructionClass = 2,
             /// <summary>
-            /// 3:æ–½å·¥çµŒè²»å��ç§°ç™»éŒ²
+            /// 3:æ–½å·¥çµŒè²»åŒºåˆ†ç™»éŒ²
             /// </summary>
             ConstructionExpenses = 3,
         }
Index: trunk/src/ProcessManagement/ProcessManagement/DataModel/PurchaseOrder.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/DataModel/PurchaseOrder.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/DataModel/PurchaseOrder.cs	(revision 468)
@@ -72,6 +72,9 @@
         private DateTime    m_OrderDate = DateTime.MinValue;            // å�—æ³¨ãƒ»ã‚­ãƒ£ãƒ³ã‚»ãƒ«å¹´æœˆæ—¥
         private int         m_OrderStatus = 0;                          // å�—æ³¨çŠ¶æ…‹
 
+        private DateTime    m_OrderStDate = DateTime.MinValue;          // ç�€å·¥æ—¥
+        private DateTime    m_OrderEdDate = DateTime.MinValue;          // å®Œäº†æ—¥
+
         private DateTime    m_EntryDate = DateTime.Now;                 // ç™»éŒ²æ—¥ä»˜
         private DateTime    m_UpdateDate = DateTime.Now;                // æ›´æ–°æ—¥ä»˜
         #endregion
@@ -330,6 +333,24 @@
         }
 
         /// <summary>
+        /// ç�€å·¥æ—¥
+        /// </summary>
+        public DateTime OrderStDate
+        {
+            get { return m_OrderStDate; }
+            set { m_OrderStDate = value; }
+        }
+
+        /// <summary>
+        /// å®Œäº†æ—¥
+        /// </summary>
+        public DateTime OrderEdDate
+        {
+            get { return m_OrderEdDate; }
+            set { m_OrderEdDate = value; }
+        }
+
+        /// <summary>
         /// ç™»éŒ²æ—¥ä»˜
         /// </summary>
         public DateTime EntryDate
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/CustomControls/GroupBoxEx.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/CustomControls/GroupBoxEx.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/CustomControls/GroupBoxEx.cs	(revision 468)
@@ -86,7 +86,8 @@
 
                 // ãƒ†ã‚­ã‚¹ãƒˆã‚’æ��ç”»
                 Rectangle tTextRect = e.ClipRectangle;
-                tTextRect.X += 6;                           // ãƒ†ã‚­ã‚¹ãƒˆã�®æ��ç”»é–‹å§‹ä½�ç½®(X)ã‚’ã‚°ãƒ«ãƒ¼ãƒ—ãƒœãƒƒã‚¯ã‚¹ã�®é ˜åŸŸã�‹ã‚‰6ãƒ‰ãƒƒãƒˆã�šã‚‰ã�™
+                tTextRect.X = 6;                           // ãƒ†ã‚­ã‚¹ãƒˆã�®æ��ç”»é–‹å§‹ä½�ç½®(X)ã‚’ã‚°ãƒ«ãƒ¼ãƒ—ãƒœãƒƒã‚¯ã‚¹ã�®é ˜åŸŸã�‹ã‚‰6ãƒ‰ãƒƒãƒˆã�šã‚‰ã�™
+                tTextRect.Y = 1;                           // ãƒ†ã‚­ã‚¹ãƒˆã�®æ��ç”»é–‹å§‹ä½�ç½®(Y)ã‚’ã‚°ãƒ«ãƒ¼ãƒ—ãƒœãƒƒã‚¯ã‚¹ã�®é ˜åŸŸã�‹ã‚‰1ãƒ‰ãƒƒãƒˆã�šã‚‰ã�™
                 tTextRect.Width = tTextSize.Width;
                 tTextRect.Height = tTextSize.Height;
                 e.Graphics.FillRectangle(new SolidBrush(this.BackColor), tTextRect);
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalPerson/FrmAppManAux.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalPerson/FrmAppManAux.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalPerson/FrmAppManAux.cs	(revision 468)
@@ -689,6 +689,7 @@
                 if (!CreateSubconMailQueue(FreeDB, QueDB))
                 {
                     FreeDB.rollback();
+                    QueDB.rollback();
                     return false;
                 }
 
@@ -737,7 +738,7 @@
                 GetPayCompanyDataSQL(ref strSQL, Argument0, Argument1);
 
                 ArrayList arList = new ArrayList();
-                if (!FreeDB.ExecuteReader(strSQL.ToString(), ref arList)) return false;
+                if (!FreeDB.ExecuteReader(strSQL.ToString(), ref arList, false)) return false;
                 if (arList.Count < 1) return true;
 
                 int nQueSeqNo = QueDB.SelectMaxQueSeqNo("") + 1;
@@ -1719,21 +1720,23 @@
                 // å�–å¾—æ®‹ã�Œç„¡ã�‘ã‚Œã�°æ›´æ–°
                 if (dWork == 0) goto MasterUpdate;
 
+                // æœ‰çµ¦å�–å¾—æ•°ã�®ã‚»ãƒƒãƒˆ
+                LinkRec.PreviousYear = dWork;
                 // ----- å‰�å¹´åº¦ã‚’å¯¾è±¡ã�¨ã�™ã‚‹
                 // å‰�å¹´åº¦æœ‰çµ¦æ®‹ã�Œè¶³ã‚Šã�ªã�„å ´å�ˆ
                 if (ManRec.PaidVacationDaysPrev < dWork)
                 {
-                    MessageBox.Show("æœ‰çµ¦ä¼‘æš‡ã�®æ®‹ã‚Šã�Œè¶³ã‚Šã�¾ã�›ã‚“ã€‚"
-                                    , "ç™»éŒ²ã‚¨ãƒ©ãƒ¼"
-                                    , MessageBoxButtons.OK
-                                    , MessageBoxIcon.Error);
-                    return false;
+                    // å‰�å¹´åº¦ã�®è¶³ã‚‰ã�šã‚’å½“å¹´åº¦ã‚ˆã‚Šæ¸›ç®—ã�™ã‚‹
+                    ManRec.PaidVacationDays = (ManRec.PaidVacationDaysPrev - dWork);
+                    // å‰�å¹´åº¦ã‚’ï¼�ã�«ã�™ã‚‹
+                    ManRec.PaidVacationDaysPrev = 0;
                 }
+                else
+                {
+                    // å‰�å¹´åº¦ã‚ˆã‚Šæœ‰çµ¦å�–å¾—æ—¥ã‚’å�–å¾—ã�™ã‚‹
+                    ManRec.PaidVacationDaysPrev -= dWork;
+                }
 
-                // å‰�å¹´åº¦ã‚ˆã‚Šæœ‰çµ¦å�–å¾—æ—¥ã‚’å�–å¾—ã�™ã‚‹
-                LinkRec.PreviousYear = dWork;
-                ManRec.PaidVacationDaysPrev -= dWork;
-
                 MasterUpdate:
 
                 // æ‹…å½“è€…ãƒžã‚¹ã‚¿æ›´æ–°
@@ -2056,5 +2059,41 @@
         }
         #endregion
 
+        #region ãƒ†ã‚¹ãƒˆãƒ­ã‚¸ãƒƒã‚¯
+        /// <summary>
+        /// ãƒ¡ãƒ¼ãƒ«é€�ä¿¡ã‚­ãƒ¥ãƒ¼å¼·åˆ¶æ›¸è¾¼ã�¿
+        /// </summary>
+        private void SetRequestMail()
+        {
+            IOAllFreeSQL FreeDB = new IOAllFreeSQL();
+            IOSubConMailQueue QueDB = new IOSubConMailQueue();
+            try
+            {
+                m_ApprovalCode = (int)ClsExcute.ApprovalListNo.SubConstrPayment;
+                m_OrderDate = 201911;
+
+                FreeDB.connect();
+                QueDB.connect(); QueDB.beginTran();
+                if (!CreateSubconMailQueue(FreeDB, QueDB))
+                {
+                    QueDB.rollback();
+                    return;
+                }
+
+                QueDB.commit();
+
+                MessageBox.Show("å‡¦ç�†çµ‚äº†");
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+            finally
+            {
+                FreeDB.close(); FreeDB = null;
+                QueDB.close(); QueDB = null;
+            }
+        }
+        #endregion
     }
 }
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalPerson/FrmApprovalPerson.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalPerson/FrmApprovalPerson.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalPerson/FrmApprovalPerson.cs	(revision 468)
@@ -857,5 +857,12 @@
             }
         }
         #endregion
+
+        #region ƒfƒoƒbƒO
+        private void button1_Click(object sender, EventArgs e)
+        {
+            SetRequestMail();
+        }
+        #endregion
     }
 }
\ No newline at end of file
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalPerson/FrmApprovalPerson.designer.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalPerson/FrmApprovalPerson.designer.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalPerson/FrmApprovalPerson.designer.cs	(revision 468)
@@ -39,15 +39,6 @@
             this.label1 = new System.Windows.Forms.Label();
             this.btnEnd = new System.Windows.Forms.Button();
             this.panel2 = new System.Windows.Forms.Panel();
-            this.dgvEntryData = new ProcessManagement.Forms.CustomControls.DataGridViewEX();
-            this.Column01 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Column02 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Column03 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Column06 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Column07 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Column04 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Column05 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Column08 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.panel1 = new System.Windows.Forms.Panel();
             this.lblLabel03 = new System.Windows.Forms.Label();
             this.label2 = new System.Windows.Forms.Label();
@@ -90,12 +81,22 @@
             this.label18 = new System.Windows.Forms.Label();
             this.tvDispData = new System.Windows.Forms.TreeView();
             this.btnHelp = new System.Windows.Forms.Button();
+            this.button1 = new System.Windows.Forms.Button();
+            this.dgvEntryData = new ProcessManagement.Forms.CustomControls.DataGridViewEX();
+            this.Column01 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column02 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column03 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column06 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column07 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column04 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column05 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column08 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.panel2.SuspendLayout();
-            ((System.ComponentModel.ISupportInitialize)(this.dgvEntryData)).BeginInit();
             this.panel1.SuspendLayout();
             this.panel3.SuspendLayout();
             this.panel4.SuspendLayout();
             this.panel5.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.dgvEntryData)).BeginInit();
             this.SuspendLayout();
             // 
             // label1
@@ -135,134 +136,6 @@
             this.panel2.Size = new System.Drawing.Size(760, 160);
             this.panel2.TabIndex = 15;
             // 
-            // dgvEntryData
-            // 
-            this.dgvEntryData.AllowUserToAddRows = false;
-            this.dgvEntryData.AllowUserToDeleteRows = false;
-            this.dgvEntryData.AllowUserToResizeColumns = false;
-            this.dgvEntryData.AllowUserToResizeRows = false;
-            this.dgvEntryData.BackgroundColor = System.Drawing.Color.White;
-            this.dgvEntryData.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle1.BackColor = System.Drawing.Color.Black;
-            dataGridViewCellStyle1.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            dataGridViewCellStyle1.ForeColor = System.Drawing.Color.White;
-            dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
-            dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
-            dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
-            this.dgvEntryData.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
-            this.dgvEntryData.ColumnHeadersHeight = 24;
-            this.dgvEntryData.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
-            this.dgvEntryData.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
-            this.Column01,
-            this.Column02,
-            this.Column03,
-            this.Column06,
-            this.Column07,
-            this.Column04,
-            this.Column05,
-            this.Column08});
-            this.dgvEntryData.EnableHeadersVisualStyles = false;
-            this.dgvEntryData.Location = new System.Drawing.Point(6, 5);
-            this.dgvEntryData.Name = "dgvEntryData";
-            this.dgvEntryData.RowHeadersVisible = false;
-            this.dgvEntryData.RowHeadersWidth = 20;
-            this.dgvEntryData.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
-            this.dgvEntryData.RowTemplate.Height = 24;
-            this.dgvEntryData.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
-            this.dgvEntryData.Size = new System.Drawing.Size(744, 146);
-            this.dgvEntryData.TabIndex = 8;
-            // 
-            // Column01
-            // 
-            this.Column01.Frozen = true;
-            this.Column01.HeaderText = "æ‰¿èª�è€…ã‚³ãƒ¼ãƒ‰";
-            this.Column01.Name = "Column01";
-            this.Column01.ReadOnly = true;
-            this.Column01.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.Column01.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.Column01.Visible = false;
-            this.Column01.Width = 5;
-            // 
-            // Column02
-            // 
-            dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle2.Font = new System.Drawing.Font("Century", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            dataGridViewCellStyle2.ForeColor = System.Drawing.Color.Black;
-            this.Column02.DefaultCellStyle = dataGridViewCellStyle2;
-            this.Column02.Frozen = true;
-            this.Column02.HeaderText = "â„–";
-            this.Column02.Name = "Column02";
-            this.Column02.ReadOnly = true;
-            this.Column02.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.Column02.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.Column02.Width = 44;
-            // 
-            // Column03
-            // 
-            dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.Column03.DefaultCellStyle = dataGridViewCellStyle3;
-            this.Column03.Frozen = true;
-            this.Column03.HeaderText = "æ‰¿èª�è€…å��";
-            this.Column03.Name = "Column03";
-            this.Column03.ReadOnly = true;
-            this.Column03.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.Column03.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.Column03.Width = 150;
-            // 
-            // Column06
-            // 
-            dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.Column06.DefaultCellStyle = dataGridViewCellStyle4;
-            this.Column06.Frozen = true;
-            this.Column06.HeaderText = "æ‰¿èª�çŠ¶æ…‹";
-            this.Column06.Name = "Column06";
-            this.Column06.ReadOnly = true;
-            this.Column06.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.Column06.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.Column06.Width = 125;
-            // 
-            // Column07
-            // 
-            dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle5.Font = new System.Drawing.Font("Century", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            this.Column07.DefaultCellStyle = dataGridViewCellStyle5;
-            this.Column07.Frozen = true;
-            this.Column07.HeaderText = "å‡¦ç�†æ—¥ä»˜";
-            this.Column07.Name = "Column07";
-            this.Column07.ReadOnly = true;
-            this.Column07.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.Column07.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.Column07.Width = 120;
-            // 
-            // Column04
-            // 
-            dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.Column04.DefaultCellStyle = dataGridViewCellStyle6;
-            this.Column04.HeaderText = "æ‰€ã€€å±ž";
-            this.Column04.Name = "Column04";
-            this.Column04.ReadOnly = true;
-            this.Column04.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.Column04.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.Column04.Width = 145;
-            // 
-            // Column05
-            // 
-            dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.Column05.DefaultCellStyle = dataGridViewCellStyle7;
-            this.Column05.HeaderText = "å½¹ã€€è�·";
-            this.Column05.Name = "Column05";
-            this.Column05.ReadOnly = true;
-            this.Column05.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.Column05.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.Column05.Width = 157;
-            // 
-            // Column08
-            // 
-            this.Column08.HeaderText = "æœ€çµ‚æ‰¿èª�åŒºåˆ†";
-            this.Column08.Name = "Column08";
-            this.Column08.Visible = false;
-            // 
             // panel1
             // 
             this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
@@ -776,6 +649,148 @@
             this.btnHelp.UseVisualStyleBackColor = false;
             this.btnHelp.Click += new System.EventHandler(this.btnHelp_Click);
             // 
+            // button1
+            // 
+            this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.button1.BackColor = System.Drawing.Color.Blue;
+            this.button1.ForeColor = System.Drawing.Color.White;
+            this.button1.Location = new System.Drawing.Point(10, 464);
+            this.button1.Name = "button1";
+            this.button1.Size = new System.Drawing.Size(120, 30);
+            this.button1.TabIndex = 119;
+            this.button1.Text = "ãƒ‡ãƒ�ãƒƒã‚°";
+            this.button1.UseVisualStyleBackColor = false;
+            this.button1.Visible = false;
+            this.button1.Click += new System.EventHandler(this.button1_Click);
+            // 
+            // dgvEntryData
+            // 
+            this.dgvEntryData.AllowUserToAddRows = false;
+            this.dgvEntryData.AllowUserToDeleteRows = false;
+            this.dgvEntryData.AllowUserToResizeColumns = false;
+            this.dgvEntryData.AllowUserToResizeRows = false;
+            this.dgvEntryData.BackgroundColor = System.Drawing.Color.White;
+            this.dgvEntryData.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle1.BackColor = System.Drawing.Color.Black;
+            dataGridViewCellStyle1.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            dataGridViewCellStyle1.ForeColor = System.Drawing.Color.White;
+            dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+            dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvEntryData.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
+            this.dgvEntryData.ColumnHeadersHeight = 24;
+            this.dgvEntryData.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
+            this.dgvEntryData.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
+            this.Column01,
+            this.Column02,
+            this.Column03,
+            this.Column06,
+            this.Column07,
+            this.Column04,
+            this.Column05,
+            this.Column08});
+            this.dgvEntryData.EnableHeadersVisualStyles = false;
+            this.dgvEntryData.Location = new System.Drawing.Point(6, 5);
+            this.dgvEntryData.Name = "dgvEntryData";
+            this.dgvEntryData.RowHeadersVisible = false;
+            this.dgvEntryData.RowHeadersWidth = 20;
+            this.dgvEntryData.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
+            this.dgvEntryData.RowTemplate.Height = 24;
+            this.dgvEntryData.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
+            this.dgvEntryData.Size = new System.Drawing.Size(744, 146);
+            this.dgvEntryData.TabIndex = 8;
+            // 
+            // Column01
+            // 
+            this.Column01.Frozen = true;
+            this.Column01.HeaderText = "æ‰¿èª�è€…ã‚³ãƒ¼ãƒ‰";
+            this.Column01.Name = "Column01";
+            this.Column01.ReadOnly = true;
+            this.Column01.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.Column01.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.Column01.Visible = false;
+            this.Column01.Width = 5;
+            // 
+            // Column02
+            // 
+            dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle2.Font = new System.Drawing.Font("Century", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            dataGridViewCellStyle2.ForeColor = System.Drawing.Color.Black;
+            this.Column02.DefaultCellStyle = dataGridViewCellStyle2;
+            this.Column02.Frozen = true;
+            this.Column02.HeaderText = "â„–";
+            this.Column02.Name = "Column02";
+            this.Column02.ReadOnly = true;
+            this.Column02.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.Column02.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.Column02.Width = 44;
+            // 
+            // Column03
+            // 
+            dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.Column03.DefaultCellStyle = dataGridViewCellStyle3;
+            this.Column03.Frozen = true;
+            this.Column03.HeaderText = "æ‰¿èª�è€…å��";
+            this.Column03.Name = "Column03";
+            this.Column03.ReadOnly = true;
+            this.Column03.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.Column03.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.Column03.Width = 150;
+            // 
+            // Column06
+            // 
+            dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.Column06.DefaultCellStyle = dataGridViewCellStyle4;
+            this.Column06.Frozen = true;
+            this.Column06.HeaderText = "æ‰¿èª�çŠ¶æ…‹";
+            this.Column06.Name = "Column06";
+            this.Column06.ReadOnly = true;
+            this.Column06.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.Column06.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.Column06.Width = 125;
+            // 
+            // Column07
+            // 
+            dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle5.Font = new System.Drawing.Font("Century", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.Column07.DefaultCellStyle = dataGridViewCellStyle5;
+            this.Column07.Frozen = true;
+            this.Column07.HeaderText = "å‡¦ç�†æ—¥ä»˜";
+            this.Column07.Name = "Column07";
+            this.Column07.ReadOnly = true;
+            this.Column07.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.Column07.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.Column07.Width = 120;
+            // 
+            // Column04
+            // 
+            dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.Column04.DefaultCellStyle = dataGridViewCellStyle6;
+            this.Column04.HeaderText = "æ‰€ã€€å±ž";
+            this.Column04.Name = "Column04";
+            this.Column04.ReadOnly = true;
+            this.Column04.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.Column04.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.Column04.Width = 145;
+            // 
+            // Column05
+            // 
+            dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.Column05.DefaultCellStyle = dataGridViewCellStyle7;
+            this.Column05.HeaderText = "å½¹ã€€è�·";
+            this.Column05.Name = "Column05";
+            this.Column05.ReadOnly = true;
+            this.Column05.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.Column05.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.Column05.Width = 157;
+            // 
+            // Column08
+            // 
+            this.Column08.HeaderText = "æœ€çµ‚æ‰¿èª�åŒºåˆ†";
+            this.Column08.Name = "Column08";
+            this.Column08.Visible = false;
+            // 
             // FrmApprovalPerson
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
@@ -782,6 +797,7 @@
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
             this.BackColor = System.Drawing.Color.Black;
             this.ClientSize = new System.Drawing.Size(1340, 497);
+            this.Controls.Add(this.button1);
             this.Controls.Add(this.btnHelp);
             this.Controls.Add(this.panel5);
             this.Controls.Add(this.panel4);
@@ -800,12 +816,12 @@
             this.Load += new System.EventHandler(this.FrmApprovalPerson_Load);
             this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.FrmApprovalPerson_KeyDown);
             this.panel2.ResumeLayout(false);
-            ((System.ComponentModel.ISupportInitialize)(this.dgvEntryData)).EndInit();
             this.panel1.ResumeLayout(false);
             this.panel3.ResumeLayout(false);
             this.panel4.ResumeLayout(false);
             this.panel4.PerformLayout();
             this.panel5.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.dgvEntryData)).EndInit();
             this.ResumeLayout(false);
 
         }
@@ -866,5 +882,6 @@
         private System.Windows.Forms.DataGridViewTextBoxColumn Column05;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column08;
         private System.Windows.Forms.Button btnHelp;
+        private System.Windows.Forms.Button button1;
     }
 }
\ No newline at end of file
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalPerson/FrmApprovalPersonAuxiliary.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalPerson/FrmApprovalPersonAuxiliary.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalPerson/FrmApprovalPersonAuxiliary.cs	(revision 468)
@@ -1254,20 +1254,12 @@
                 {
                     case (int)ClsExcute.ApprovalListNo.FeePayment:                          // 11:æ‰‹é–“æ”¯æ‰•
                         ClsExcute.ProcControlPara[NowPoint].IntExecParameter.Add((int)CommonDefine.LabourKinds.Labor);
-                        // ç®¡ç�†è€…ã�¯å…¨ã�¦è¡¨ç¤ºã�™ã‚‹
-                        if (CommonMotions.LoginUserData.PersonCode == CommonDefine.AdminCode || CommonMotions.LoginUserSecurity.SecRank == nSecRank)
-                            ClsExcute.ProcControlPara[NowPoint].IntExecParameter.Add(0);
-                        else
-                            ClsExcute.ProcControlPara[NowPoint].IntExecParameter.Add(m_PersonCode);
+                        ClsExcute.ProcControlPara[NowPoint].IntExecParameter.Add(m_PersonCode);
 
                         break;
                     case (int)ClsExcute.ApprovalListNo.SubConstrPayment:                    // 12:æ¥­è€…æ”¯æ‰•
                         ClsExcute.ProcControlPara[NowPoint].IntExecParameter.Add((int)CommonDefine.LabourKinds.Normal);
-                        // ç®¡ç�†è€…ã�¯å…¨ã�¦è¡¨ç¤ºã�™ã‚‹
-                        if (CommonMotions.LoginUserData.PersonCode == CommonDefine.AdminCode || CommonMotions.LoginUserSecurity.SecRank == nSecRank)
-                            ClsExcute.ProcControlPara[NowPoint].IntExecParameter.Add(0);
-                        else
-                            ClsExcute.ProcControlPara[NowPoint].IntExecParameter.Add(m_PersonCode);
+                        ClsExcute.ProcControlPara[NowPoint].IntExecParameter.Add(m_PersonCode);
 
                         break;
                     case (int)ClsExcute.ApprovalListNo.OutEarly:                            // 14:æ—©å‡º
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalScreen/FrmAppScrnAux.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalScreen/FrmAppScrnAux.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalScreen/FrmAppScrnAux.cs	(revision 468)
@@ -39,26 +39,53 @@
                 switch (m_ApprovalCode)
                 {
                     case (int)ClsExcute.ApprovalListNo.ConstructionBudgetApproval:
-                        // å·¥äº‹äºˆç®—æ›¸ã‚’æ‰¿èª�æ™‚ã�«å·¥äº‹è©³ç´°å�°å¸³ã‚’ä½œæˆ�ã�™ã‚‹
-                        // å·¥äº‹å�°å¸³ãƒ‡ãƒ¼ã‚¿ä½œæˆ�
+                        // å·¥äº‹äºˆç®—æ›¸ã‚’æ‰¿èª�æ™‚ã�«å·¥äº‹è©³ç´°å�°å¸³ãƒ‡ãƒ¼ã‚¿ã‚’ä½œæˆ�ã�™ã‚‹
+                        // å·¥äº‹å�°å¸³è«‹æ±‚ãƒ‡ãƒ¼ã‚¿ä½œæˆ�
                         CaretaLedgerData();
                         break;
 
                     case (int)ClsExcute.ApprovalListNo.PurchaseOrderEntryApproval:
-                        // æ³¨æ–‡æ›¸ã‚’æ‰¿èª�æ™‚ã�«é€�ä¿¡ã‚­ãƒ¥ãƒ¼ãƒ‡ãƒ¼ã‚¿ã‚’ä½œæˆ�ã�™ã‚‹
-                        CreateSubconMailQueue();
+                        switch (ProductDefine.ProductType)
+                        {
+                            case (int)ProductDefine.ProductTypeDef.Originals:
+                                // ----- ã‚ªãƒªã‚¸ãƒŠãƒ«ç‰ˆ
+                                // æ³¨æ–‡æ›¸ã‚’æ‰¿èª�æ™‚ã�«é€�ä¿¡ã‚­ãƒ¥ãƒ¼ãƒ‡ãƒ¼ã‚¿ã‚’ä½œæˆ�ã�™ã‚‹
+                                CreateSubconMailQueue();
+                                break;
+                            case (int)ProductDefine.ProductTypeDef.ProductsModelType1:
+                                // ----- è£½å“�ç‰ˆï¼ˆä¸€äººè¦ªæ–¹ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³ï¼‰
+                            case (int)ProductDefine.ProductTypeDef.ProductsModelType2:
+                                // ----- è£½å“�ç‰ˆï¼ˆæ‰¿èª�ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³ï¼‰
+                                break;
+                            default:
+                                break;
+                        }
                         break;
 
                     case (int)ClsExcute.ApprovalListNo.OrderRequestApproval:
-                        //  è«‹æ±‚æ‰¿èª�ã‚’æ‰¿èª�æ™‚ã�«è«‹æ±‚ãƒ‡ãƒ¼ã‚¿ã‚’ä½œæˆ�ã�™ã‚‹
-                        // è«‹æ±‚ãƒ‡ãƒ¼ã‚¿ä½œæˆ�
-                        CaretaBillingData();
+                        //  è«‹æ±‚æ‰¿èª�ã‚’æ‰¿èª�æ™‚ã�«å·¥äº‹è©³ç´°å�°å¸³è«‹æ±‚é‡‘é¡�ã‚»ãƒƒãƒˆã�™ã‚‹
+                        CaretaBillingLedgerData();
                         break;
 
                     case (int)ClsExcute.ApprovalListNo.SafetyPatrolApproval:
                         // å®‰å…¨ãƒ‘ãƒˆãƒ­ãƒ¼ãƒ«æ‰¿èª�å¾Œå‡¦ç�†
-                        // è¡Œå‹•äºˆå®šè¿½åŠ ã€�æŽ²ç¤ºæ�¿è¡¨ç¤ºã�™ã‚‹ã€‚
-                        CreateSafetyPatrol();
+                        switch (ProductDefine.ProductType)
+                        {
+                            case (int)ProductDefine.ProductTypeDef.Originals:
+                                // ----- ã‚ªãƒªã‚¸ãƒŠãƒ«ç‰ˆ
+                                // ç”³è«‹å…ƒãƒ‡ãƒ¼ã‚¿ã�«å�—ä»˜ç•ªå�·ã‚’ã‚»ãƒƒãƒˆã�™ã‚‹
+                                SetApprovalOrderNo();
+                                // è¡Œå‹•äºˆå®šè¿½åŠ ã€�æŽ²ç¤ºæ�¿è¡¨ç¤ºã�™ã‚‹ã€‚
+                                CreateSafetyPatrol();
+                                break;
+                            case (int)ProductDefine.ProductTypeDef.ProductsModelType1:
+                                // ----- è£½å“�ç‰ˆï¼ˆä¸€äººè¦ªæ–¹ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³ï¼‰
+                            case (int)ProductDefine.ProductTypeDef.ProductsModelType2:
+                                // ----- è£½å“�ç‰ˆï¼ˆæ‰¿èª�ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³ï¼‰
+                                break;
+                            default:
+                                break;
+                        }
                         break;
 
                     default:
@@ -252,16 +279,91 @@
         }
         #endregion
 
-        #region è«‹æ±‚ãƒ‡ãƒ¼ã‚¿ä½œæˆ�
+        #region å·¥äº‹è©³ç´°å�°å¸³è«‹æ±‚é‡‘é¡�ã‚»ãƒƒãƒˆ
         /// <summary>
-        /// è«‹æ±‚ãƒ‡ãƒ¼ã‚¿ä½œæˆ�
+        /// å·¥äº‹è©³ç´°å�°å¸³è«‹æ±‚é‡‘é¡�ã‚»ãƒƒãƒˆ
         /// </summary>
         /// <returns></returns>
-        private bool CaretaBillingData()
+        private bool CaretaBillingLedgerData()
         {
+            IOConstructionLedgerExcute ExcuteDB = new IOConstructionLedgerExcute();
+            IOConstructionLedgerDetail DetailDB = new IOConstructionLedgerDetail();
+            IORequestHead ReqHDB = new IORequestHead();
             try
             {
-                // å®Ÿè£…ä¸­
+                StringBuilder sql = new StringBuilder();
+                
+                // è«‹æ±‚ãƒ˜ãƒƒãƒ€ãƒ¼ã‚ˆã‚Šè«‹æ±‚ãƒ‡ãƒ¼ã‚¿ã�®å�–å¾—
+                sql.AppendFormat(" Where REQCONSTRUCTIONCODE = {0}", m_ConstructionCode);
+                sql.AppendFormat(" And ORDERNO = {0}", m_OrderNo);
+                RequestHead HeadRec = new RequestHead();
+                if (!ReqHDB.SelectAction(sql.ToString(), ref HeadRec)) return false;
+
+                // è«‹æ±‚ãƒ˜ãƒƒãƒ€ã‚ˆã‚Šè«‹æ±‚æœˆã‚’æ±‚ã‚�ã‚‹
+                int yyyy = CommonMotions.cnvTruncate((double)HeadRec.RequestMonth / 100);
+                int mm = HeadRec.RequestMonth % 100;
+                DateTime dt = new DateTime(yyyy, mm, 1);
+
+                // è«‹æ±‚ãƒ˜ãƒƒãƒ€ãƒ¼ã‚ˆã‚Šè©²å½“æœˆã�®è«‹æ±‚é‡‘é¡�å�–å¾—
+                sql.Clear();
+                sql.Append("Select");
+                sql.Append(" REQCONSTRUCTIONCODE");     // 0
+                sql.Append(", BILLINGDATE");            // 1
+                sql.Append(", SUM(REQUESTAMOUNT)");     // 2
+                sql.Append(" From REQUESTHEAD");
+                sql.AppendFormat(" Where REQCONSTRUCTIONCODE = {0}", m_ConstructionCode);
+                sql.AppendFormat(" And DATE_FORMAT(BILLINGDATE, '%Y%m') = {0}", HeadRec.RequestMonth);
+                ArrayList ReqData = new ArrayList();
+                if (!ReqHDB.ExecuteReader(sql.ToString(), ref ReqData)) return false;
+                object[] ObjRec = (object[])ReqData[0];
+
+                // è«‹æ±‚é‡‘é¡�ã�®è¡Œç•ªå�·ã‚’å�–å¾—
+                ConstructionLedgerDetail lstDetail = new ConstructionLedgerDetail();
+                sql.Clear();
+                sql.Append(DetailDB.CreatePrimarykeyString(m_ConstructionCode
+                                                            , (int)FrmConstructionLedger.DataGroup.BillingAmount));
+                if (!DetailDB.SelectAction(sql.ToString(), ref lstDetail)) return false;
+
+                // å½“è©²æœˆã�®è«‹æ±‚é‡‘é¡�ã�®ãƒ¬ã‚³ãƒ¼ãƒ‰ã�Œã�‚ã‚‹ã�‹å�–å¾—ã�—ã�¦ã�¿ã‚‹
+                sql.Clear();
+                sql.Append(ExcuteDB.CreatePrimarykeyString(m_ConstructionCode
+                                                            , (int)FrmConstructionLedger.DataGroup.BillingAmount
+                                                            , lstDetail.LineCount));
+                sql.AppendFormat(" AND DATE(TargetMonth) = DATE('{0}') ", dt.ToShortDateString());
+
+                List<ConstructionLedgerExcute> lstExcute = new List<ConstructionLedgerExcute>();
+                if (!ExcuteDB.SelectAction(sql.ToString(), ref lstExcute)) return false;
+
+                // è«‹æ±‚æœˆã‚ˆã‚Šã‚«ãƒ©ãƒ ç•ªå�·ã‚’å�–å¾—ã�™ã‚‹
+                int ColCnt = ClsChangeLedgerData.CalcTargetMonthToColumn(ExcuteDB, true, ConstructionCode, dt);
+
+                // å�°å¸³æ›´æ–°
+                ConstructionLedgerExcute LdgExcute = new ConstructionLedgerExcute();
+                LdgExcute.ConstructionCode = m_ConstructionCode;
+                LdgExcute.GroupCount = lstDetail.GroupCount;
+                LdgExcute.LineCount = lstDetail.LineCount;
+                LdgExcute.ColumnCount = ColCnt;
+                LdgExcute.PaymentAmount = CommonMotions.cnvLong(ObjRec[2]);
+                LdgExcute.TargetMonth = dt;
+                // ãƒ¬ã‚³ãƒ¼ãƒ‰ã�Œå­˜åœ¨ã�™ã‚‹å ´å�ˆ
+                if (lstExcute.Count > 0)
+                {
+                    // æ›´æ–°
+                    sql.Clear();
+                    sql.Append(ExcuteDB.CreatePrimarykeyString(LdgExcute.ConstructionCode
+                                                                    , LdgExcute.GroupCount
+                                                                    , LdgExcute.LineCount
+                                                                    , LdgExcute.ColumnCount));
+
+                    if (!ExcuteDB.UpdateAction(sql.ToString(), LdgExcute)) return false;
+                }
+                else
+                {
+
+                    // ãƒ¬ã‚³ãƒ¼ãƒ‰ã‚’æŒ¿å…¥
+                    if (!ExcuteDB.InsertAction(LdgExcute)) return false;
+                }
+
                 return true;
             }
             catch (Exception ex)
@@ -269,6 +371,12 @@
                 logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
                 return false;
             }
+            finally
+            {
+                ExcuteDB.close(); ExcuteDB = null;
+                DetailDB.close(); DetailDB = null;
+                ReqHDB.close(); ReqHDB = null;
+            }
         }
         #endregion
 
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalScreen/FrmApprovalScreenAuxiliary.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalScreen/FrmApprovalScreenAuxiliary.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalScreen/FrmApprovalScreenAuxiliary.cs	(revision 468)
@@ -1633,8 +1633,8 @@
                     CreatePurchaseOrderLink();
                 }
 
-                // ç”³è«‹å…ƒãƒ‡ãƒ¼ã‚¿ã�«å�—ä»˜ç•ªå�·ã‚’ã‚»ãƒƒãƒˆã�™ã‚‹
-                SetApprovalOrderNo();
+                // æ‰¿èª�å¾Œå‡¦ç�†
+                ApprovalNextProcess();
 
                 return true;
             }
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstractionList/FrmConstructionList.designer.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstractionList/FrmConstructionList.designer.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstractionList/FrmConstructionList.designer.cs	(revision 468)
@@ -280,7 +280,7 @@
             this.radioButton2.BackColor = System.Drawing.Color.Transparent;
             this.radioButton2.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.radioButton2.ForeColor = System.Drawing.Color.Black;
-            this.radioButton2.Location = new System.Drawing.Point(662, 32);
+            this.radioButton2.Location = new System.Drawing.Point(662, 30);
             this.radioButton2.Name = "radioButton2";
             this.radioButton2.Size = new System.Drawing.Size(77, 20);
             this.radioButton2.TabIndex = 44;
@@ -295,7 +295,7 @@
             this.radioButton1.Checked = true;
             this.radioButton1.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.radioButton1.ForeColor = System.Drawing.Color.Black;
-            this.radioButton1.Location = new System.Drawing.Point(662, 12);
+            this.radioButton1.Location = new System.Drawing.Point(662, 10);
             this.radioButton1.Name = "radioButton1";
             this.radioButton1.Size = new System.Drawing.Size(77, 20);
             this.radioButton1.TabIndex = 43;
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBaseInfo/FrmConstructionBaseInfo.designer.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBaseInfo/FrmConstructionBaseInfo.designer.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBaseInfo/FrmConstructionBaseInfo.designer.cs	(revision 468)
@@ -3785,6 +3785,7 @@
             // 
             // pnlProgress
             // 
+            this.pnlProgress.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
             this.pnlProgress.BackColor = System.Drawing.Color.White;
             this.pnlProgress.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
             this.pnlProgress.Controls.Add(this.lblProgress);
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBaseInfo/FrmConstructionBaseInfoAuxiliary.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBaseInfo/FrmConstructionBaseInfoAuxiliary.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBaseInfo/FrmConstructionBaseInfoAuxiliary.cs	(revision 468)
@@ -343,7 +343,7 @@
 
                             switch (ProductDefine.ProductType)
                             {
-                                case (int)ProductDefine.ProductTypeDef.MassProductionType1:
+                                case (int)ProductDefine.ProductTypeDef.ProductsModelType1:
                                     if (CommonDefine.ProjectsStatus[iStatusCount].Equals("Žó�@�@’�"))
                                     {
                                         if (!CommonMotions.DispFieldCombCheck(m_DspCtrl[ix], true)) iNGno = ix;
@@ -5906,7 +5906,7 @@
                     case (int)ProductDefine.ProductTypeDef.Originals:
                         // ----- ƒIƒŠƒWƒiƒ‹”Å
                         break;
-                    case (int)ProductDefine.ProductTypeDef.MassProductionType1:
+                    case (int)ProductDefine.ProductTypeDef.ProductsModelType1:
                         // ----- �»•i”Å�iˆê�l�e•ûƒo�[ƒWƒ‡ƒ“�j
                         // ”ñ•\Ž¦
                         rdbEstimateType2.Visible = false;
@@ -5954,7 +5954,7 @@
                         lblTransferDate.Visible = false;
                         label68.Visible = false;
                         break;
-                    case (int)ProductDefine.ProductTypeDef.MassProductionType2:
+                    case (int)ProductDefine.ProductTypeDef.ProductsModelType2:
                         // ----- �»•i”Å�i�³”Fƒo�[ƒWƒ‡ƒ“�j
                         // ”ñ•\Ž¦
                         rdbStatus8.Visible = false;         // ˆê”Ê•â�C�HŽ–
@@ -6132,10 +6132,10 @@
                             || (CommonMotions.LoginUserSecurity.SecRank != nNormalRank))
                             bCompCheck = true;
                         break;
-                    case (int)ProductDefine.ProductTypeDef.MassProductionType1:
+                    case (int)ProductDefine.ProductTypeDef.ProductsModelType1:
                         // ----- ˆê�l�e•ûƒo�[ƒWƒ‡ƒ“
                         // �Å�‚ŠÇ—�ŽÒˆÈŠO‚Í�¿‹�Šm”F‚É‚Å‚«‚È‚¢
-                    case (int)ProductDefine.ProductTypeDef.MassProductionType2:
+                    case (int)ProductDefine.ProductTypeDef.ProductsModelType2:
                         // ----- �³”Fƒo�[ƒWƒ‡ƒ“
                         // �Å�‚ŠÇ—�ŽÒˆÈŠO‚Í�¿‹�Šm”F‚É‚Å‚«‚È‚¢
                         if ((CommonMotions.LoginUserData.PersonCode == CommonDefine.AdminCode)
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBaseInfo/ProcessControl.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBaseInfo/ProcessControl.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBaseInfo/ProcessControl.cs	(revision 468)
@@ -90,12 +90,15 @@
 
                 // ãƒ¡ãƒ‹ãƒ¥ãƒ¼ãƒ‡ãƒ¼ã‚¿ã�®ã‚»ãƒƒãƒˆ
                 bool[] bFirst = new bool[] { false, false, false };
-                for (int ix=1;ix< ProcList.Count;ix++)
+                for (int ix = 1; ix < ProcList.Count; ix++)
                 {
                     KeyValuePair<int, string> CurRec = ProcList[ix];
                     // è‡ªãƒ—ãƒ­ã‚»ã‚¹ã�¯å‡¦ç�†ã�—ã�ªã�„
                     if (CurRec.Key == s_CurrentProcessNo) continue;
 
+                    // è£½å“�ã�«ã‚ˆã�£ã�¦ã�®å®Ÿè£…ãƒ�ã‚§ãƒƒã‚¯
+                    if (!ClsExcute.GetImplementationProcess(CurRec.Key)) continue;
+
                     //ã‚¤ãƒ™ãƒ³ãƒˆã�®ç™»éŒ²
                     switch (CurRec.Key)
                     {
@@ -232,6 +235,7 @@
         {
             try
             {
+                if (ClsExcute.ProcControlPara.Count < 1) return false;
                 // ãƒ—ãƒ­ã‚»ã‚¹èµ·å‹•ãƒ†ãƒ¼ãƒ–ãƒ«ã�«ç”³è«‹ç”»é�¢ã�Œè¨­å®šã�•ã‚Œã�¦ã�„ã‚‹å ´å�ˆã�¯true
                 int NextProcess = ClsExcute.ProcControlPara[ClsExcute.GetNowProcessPoint()].ProcNo;
                 if (NextProcess == (int)ClsExcute.SubFormExecuteNo.ApprovalScreen) return true;
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBudget/FrmConstructionBudgetAuxiliary.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBudget/FrmConstructionBudgetAuxiliary.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBudget/FrmConstructionBudgetAuxiliary.cs	(revision 468)
@@ -202,10 +202,10 @@
                 {
                     case (int)ProductDefine.ProductTypeDef.Originals:
                         // ----- ã‚ªãƒªã‚¸ãƒŠãƒ«ç‰ˆ
-                    case (int)ProductDefine.ProductTypeDef.MassProductionType2:
+                    case (int)ProductDefine.ProductTypeDef.ProductsModelType2:
                         // ----- è£½å“�ç‰ˆï¼ˆæ‰¿èª�ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³ï¼‰
                         break;
-                    case (int)ProductDefine.ProductTypeDef.MassProductionType1:
+                    case (int)ProductDefine.ProductTypeDef.ProductsModelType1:
                         // ----- è£½å“�ç‰ˆï¼ˆä¸€äººè¦ªæ–¹ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³ï¼‰
                         label20.Visible = false;
                         label21.Visible = false;
@@ -1727,7 +1727,7 @@
                     {
                         case (int)ProductDefine.ProductTypeDef.Originals:
                             // ----- ã‚ªãƒªã‚¸ãƒŠãƒ«
-                        case (int)ProductDefine.ProductTypeDef.MassProductionType2:
+                        case (int)ProductDefine.ProductTypeDef.ProductsModelType2:
                             // ----- è£½å“�ç‰ˆï¼ˆæ‰¿èª�ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³ï¼‰
                             // æŒ‡å°Žå“¡çµ¦ä¸Ž
                             CreateInstructorCosts(true, ParentDate);
@@ -1735,7 +1735,7 @@
                             // å‰¯æ‹…å½“è€…çµ¦ä¸ŽçµŒè²»
                             CreateAssistantCosts(true, ParentDate);
                             break;
-                        case (int)ProductDefine.ProductTypeDef.MassProductionType1:
+                        case (int)ProductDefine.ProductTypeDef.ProductsModelType1:
                             // ----- è£½å“�ç‰ˆï¼ˆä¸€äººè¦ªæ–¹ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³ï¼‰
                             break;
                         default:
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBudget/ProcessControl.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBudget/ProcessControl.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBudget/ProcessControl.cs	(revision 468)
@@ -96,6 +96,9 @@
                     // è‡ªãƒ—ãƒ­ã‚»ã‚¹ã�¯å‡¦ç�†ã�—ã�ªã�„
                     if (CurRec.Key == s_CurrentProcessNo) continue;
 
+                    // è£½å“�ã�«ã‚ˆã�£ã�¦ã�®å®Ÿè£…ãƒ�ã‚§ãƒƒã‚¯
+                    if (!ClsExcute.GetImplementationProcess(CurRec.Key)) continue;
+
                     //ã‚¤ãƒ™ãƒ³ãƒˆã�®ç™»éŒ²
                     switch (CurRec.Key)
                     {
@@ -232,6 +235,7 @@
         {
             try
             {
+                if (ClsExcute.ProcControlPara.Count < 1) return false;
                 // ãƒ—ãƒ­ã‚»ã‚¹èµ·å‹•ãƒ†ãƒ¼ãƒ–ãƒ«ã�«ç”³è«‹ç”»é�¢ã�Œè¨­å®šã�•ã‚Œã�¦ã�„ã‚‹å ´å�ˆã�¯true
                 int NextProcess = ClsExcute.ProcControlPara[ClsExcute.GetNowProcessPoint()].ProcNo;
                 if (NextProcess == (int)ClsExcute.SubFormExecuteNo.ApprovalScreen) return true;
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedgerAuxiliary.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedgerAuxiliary.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedgerAuxiliary.cs	(revision 468)
@@ -184,10 +184,10 @@
                 {
                     case (int)ProductDefine.ProductTypeDef.Originals:
                         // ----- ã‚ªãƒªã‚¸ãƒŠãƒ«ç‰ˆ
-                    case (int)ProductDefine.ProductTypeDef.MassProductionType2:
+                    case (int)ProductDefine.ProductTypeDef.ProductsModelType2:
                         // ----- è£½å“�ç‰ˆï¼ˆæ‰¿èª�ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³ï¼‰
                         break;
-                    case (int)ProductDefine.ProductTypeDef.MassProductionType1:
+                    case (int)ProductDefine.ProductTypeDef.ProductsModelType1:
                         // ----- è£½å“�ç‰ˆï¼ˆä¸€äººè¦ªæ–¹ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³ï¼‰
                         label20.Visible = false;
                         label21.Visible = false;
@@ -2220,7 +2220,7 @@
             IOConstructionBudgetDetail DetailDB = new IOConstructionBudgetDetail();
             try
             {
-                int DivCode = DivisionMaster.DivisionMasterCode.First(x => x.Value.Equals("æ–½å·¥çµŒè²»å��ç§°ç™»éŒ²")).Key;
+                int DivCode = DivisionMaster.DivisionMasterCode.First(x => x.Value.Equals("æ–½å·¥çµŒè²»åŒºåˆ†ç™»éŒ²")).Key;
                 StringBuilder strSQL = new StringBuilder();
                 strSQL.Append("SELECT B.NAMESTRING, A.AMOUNTCONFIGRATE, A.COMPONENTCODE");
                 strSQL.Append(" FROM CONSTRUCTIONBUDGETDETAIL A, DIVISIONMASTER B");
@@ -2576,7 +2576,7 @@
                 {
                     case (int)ProductDefine.ProductTypeDef.Originals:
                         // ----- ã‚ªãƒªã‚¸ãƒŠãƒ«
-                    case (int)ProductDefine.ProductTypeDef.MassProductionType2:
+                    case (int)ProductDefine.ProductTypeDef.ProductsModelType2:
                         // ----- è£½å“�ç‰ˆï¼ˆæ‰¿èª�ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³ï¼‰
                         // æŒ‡å°Žå“¡çµ¦ä¸Ž
                         GetDispDataFromConstructionBudget(DetailList, GroupNo, (int)FrmConstructionBudget.DataGroup.InstructorCosts, icnt++);
@@ -2583,7 +2583,7 @@
                         // å‰¯æ‹…å½“è€…çµ¦ä¸Ž
                         GetDispDataFromConstructionBudget(DetailList, GroupNo, (int)FrmConstructionBudget.DataGroup.AssistantCosts, icnt++);
                         break;
-                    case (int)ProductDefine.ProductTypeDef.MassProductionType1:
+                    case (int)ProductDefine.ProductTypeDef.ProductsModelType1:
                         // ----- è£½å“�ç‰ˆï¼ˆä¸€äººè¦ªæ–¹ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³ï¼‰
                         break;
                     default:
@@ -3780,18 +3780,20 @@
                 strcmd.Append("   LEFT JOIN(Select Bdd.ConstructionCode, EstSum.PriceValue As SumOdrVal, SUM(Bdd.ExecutionAmount) As SumExecVal");
                 strcmd.Append("             From ConstructionBudgetdetail As Bdd");
                 strcmd.Append("                  Left Join(Select EstSumA.ConstructionCode, SUM(EstSumA.EstimatePrice) AS PriceValue From estimatebudgetdetail As EstSumA");
-                //strcmd.AppendFormat("                      Where EstSumA.ConstructionCode = {0}", m_ConstructionCode);
-                strcmd.AppendFormat("                      Where EstSumA.ComponentCode in ({0}, {1})) As EstSum"
+                strcmd.AppendFormat("                      Where EstSumA.ConstructionCode = {0}", m_ConstructionCode);
+                strcmd.AppendFormat("                      And EstSumA.ComponentCode in ({0}, {1})) As EstSum"
                                                                                                     , m_CommonCosts.NormalManagementPublic
                                                                                                     , m_CommonCosts.NormalManagementPrivate);
                 strcmd.Append("                       On EstSum.ConstructionCode = Bdd.ConstructionCode");
-                strcmd.AppendFormat("       WHERE Bdd.GroupCount = {0}", (int)FrmConstructionBudget.DataGroup.Expenses);
+                strcmd.AppendFormat("       Where Bdd.ConstructionCode = {0}", m_ConstructionCode);
+                strcmd.AppendFormat("       AND Bdd.GroupCount = {0}", (int)FrmConstructionBudget.DataGroup.Expenses);
                 strcmd.Append("             Group By Bdd.ConstructionCode) As Budget1 ON Budget1.ConstructionCode = A.SourceCode");
 
                 // æ–½å·¥è²»å�–å¾—
                 strcmd.Append("   LEFT JOIN(Select Bdd.ConstructionCode, SUM(Bdd.EstimatePrice) As SumOdrVal, SUM(Bdd.ExecutionAmount) As SumExecVal");
                 strcmd.Append("             From ConstructionBudgetdetail As Bdd");
-                strcmd.AppendFormat("       WHERE Bdd.GroupCount In ({0}, {1}, {2})", (int)FrmConstructionBudget.DataGroup.CommonTempCosts
+                strcmd.AppendFormat("       WHERE Bdd.ConstructionCode = {0}", m_ConstructionCode);
+                strcmd.AppendFormat("       AND Bdd.GroupCount In ({0}, {1}, {2})", (int)FrmConstructionBudget.DataGroup.CommonTempCosts
                                                                                     , (int)FrmConstructionBudget.DataGroup.OutSourceCosts
                                                                                     , (int)FrmConstructionBudget.DataGroup.MyConstruction);
                 strcmd.Append("             Group By Bdd.ConstructionCode) As Budget2 ON Budget2.ConstructionCode = A.SourceCode");
@@ -3799,7 +3801,8 @@
                 // è«¸çµŒè²»å�–å¾—
                 strcmd.Append("   LEFT JOIN(Select Bdd.ConstructionCode, SUM(Bdd.EstimatePrice) As SumOdrVal, SUM(Bdd.ExecutionAmount) As SumExecVal");
                 strcmd.Append("             From ConstructionBudgetdetail As Bdd");
-                strcmd.AppendFormat("       Where Bdd.GroupCount In ({0}, {1}, {2}, {3}, {4}, {5})"
+                strcmd.AppendFormat("       WHERE Bdd.ConstructionCode = {0}", m_ConstructionCode);
+                strcmd.AppendFormat("       AND Bdd.GroupCount In ({0}, {1}, {2}, {3}, {4}, {5})"
                                                                                     , (int)FrmConstructionBudget.DataGroup.PurchaseCosts
                                                                                     , (int)FrmConstructionBudget.DataGroup.VehicleLeaseFee
                                                                                     , (int)FrmConstructionBudget.DataGroup.TransportationCosts
@@ -3812,11 +3815,12 @@
                 strcmd.Append("   LEFT JOIN(Select Bdd.ConstructionCode, EstSum.PriceValue As SumOdrVal, SUM(Bdd.ExecutionAmount) As SumExecVal");
                 strcmd.Append("             From ConstructionBudgetdetail As Bdd");
                 strcmd.Append("                  Left Join(Select EstSumA.ConstructionCode, SUM(EstSumA.PriceValue) AS PriceValue From estimatedata As EstSumA");
-                //strcmd.AppendFormat("                      Where EstSumA.ConstructionCode = {0}", m_ConstructionCode);
-                strcmd.AppendFormat("                      Where EstSumA.ComponentCode in ({0}, {1})) As EstSum", m_CommonCosts.FieldManagementPublic
+                strcmd.AppendFormat("                      Where EstSumA.ConstructionCode = {0}", m_ConstructionCode);
+                strcmd.AppendFormat("                      And EstSumA.ComponentCode in ({0}, {1})) As EstSum", m_CommonCosts.FieldManagementPublic
                                                                                                     , m_CommonCosts.FieldManagementPrivate);
                 strcmd.Append("                       On EstSum.ConstructionCode = Bdd.ConstructionCode");
-                strcmd.AppendFormat("       Where Bdd.GroupCount In ({0}, {1}, {2})"
+                strcmd.AppendFormat("       WHERE Bdd.ConstructionCode = {0}", m_ConstructionCode);
+                strcmd.AppendFormat("       AND Bdd.GroupCount In ({0}, {1}, {2})"
                                                                                     , (int)FrmConstructionBudget.DataGroup.InstructorCosts
                                                                                     , (int)FrmConstructionBudget.DataGroup.AssistantCosts
                                                                                     , (int)FrmConstructionBudget.DataGroup.PayrollExpenses);
@@ -4205,11 +4209,11 @@
                                     // ä¸€èˆ¬ãƒ¦ãƒ¼ã‚¶ãƒ¼ã�¯è¡Œãƒ­ãƒƒã‚¯
                                     if (!CheckLeaderOrUser()) CurRow.ReadOnly = true;
                                     break;
-                                case (int)ProductDefine.ProductTypeDef.MassProductionType1:
+                                case (int)ProductDefine.ProductTypeDef.ProductsModelType1:
                                     // è£½å“�ç‰ˆï¼ˆä¸€äººè¦ªæ–¹ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³ï¼‰ã�¯å‰¯æ‹…å½“ã‚’è¡Œãƒ­ãƒƒã‚¯
                                     if (DetailRec.GroupCount == (int)DataGroup.Assistant) CurRow.ReadOnly = true;
                                     break;
-                                case (int)ProductDefine.ProductTypeDef.MassProductionType2:
+                                case (int)ProductDefine.ProductTypeDef.ProductsModelType2:
                                     // è£½å“�ç‰ˆï¼ˆæ‰¿èª�ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³ï¼‰
                                     break;
                                 default:
@@ -4229,8 +4233,8 @@
                                     // ä¸€èˆ¬ãƒ¦ãƒ¼ã‚¶ãƒ¼ã�¯è¡Œãƒ­ãƒƒã‚¯
                                     if (!CheckLeaderOrUser()) CurRow.ReadOnly = true;
                                     break;
-                                case (int)ProductDefine.ProductTypeDef.MassProductionType1:
-                                case (int)ProductDefine.ProductTypeDef.MassProductionType2:
+                                case (int)ProductDefine.ProductTypeDef.ProductsModelType1:
+                                case (int)ProductDefine.ProductTypeDef.ProductsModelType2:
                                     // è¡Œãƒ­ãƒƒã‚¯
                                     CurRow.ReadOnly = true;
                                     break;
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/ProcessControl.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/ProcessControl.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/ProcessControl.cs	(revision 468)
@@ -96,6 +96,9 @@
                     // è‡ªãƒ—ãƒ­ã‚»ã‚¹ã�¯å‡¦ç�†ã�—ã�ªã�„
                     if (CurRec.Key == s_CurrentProcessNo) continue;
 
+                    // è£½å“�ã�«ã‚ˆã�£ã�¦ã�®å®Ÿè£…ãƒ�ã‚§ãƒƒã‚¯
+                    if (!ClsExcute.GetImplementationProcess(CurRec.Key)) continue;
+
                     //ã‚¤ãƒ™ãƒ³ãƒˆã�®ç™»éŒ²
                     switch (CurRec.Key)
                     {
@@ -232,6 +235,7 @@
         {
             try
             {
+                if (ClsExcute.ProcControlPara.Count < 1) return false;
                 // ãƒ—ãƒ­ã‚»ã‚¹èµ·å‹•ãƒ†ãƒ¼ãƒ–ãƒ«ã�«ç”³è«‹ç”»é�¢ã�Œè¨­å®šã�•ã‚Œã�¦ã�„ã‚‹å ´å�ˆã�¯true
                 int NextProcess = ClsExcute.ProcControlPara[ClsExcute.GetNowProcessPoint()].ProcNo;
                 if (NextProcess == (int)ClsExcute.SubFormExecuteNo.ApprovalScreen) return true;
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedgerList/ProcessControl.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedgerList/ProcessControl.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedgerList/ProcessControl.cs	(revision 468)
@@ -96,6 +96,9 @@
                     // è‡ªãƒ—ãƒ­ã‚»ã‚¹ã�¯å‡¦ç�†ã�—ã�ªã�„
                     if (CurRec.Key == s_CurrentProcessNo) continue;
 
+                    // è£½å“�ã�«ã‚ˆã�£ã�¦ã�®å®Ÿè£…ãƒ�ã‚§ãƒƒã‚¯
+                    if (!ClsExcute.GetImplementationProcess(CurRec.Key)) continue;
+
                     //ã‚¤ãƒ™ãƒ³ãƒˆã�®ç™»éŒ²
                     switch (CurRec.Key)
                     {
@@ -232,6 +235,7 @@
         {
             try
             {
+                if (ClsExcute.ProcControlPara.Count < 1) return false;
                 // ãƒ—ãƒ­ã‚»ã‚¹èµ·å‹•ãƒ†ãƒ¼ãƒ–ãƒ«ã�«ç”³è«‹ç”»é�¢ã�Œè¨­å®šã�•ã‚Œã�¦ã�„ã‚‹å ´å�ˆã�¯true
                 int NextProcess = ClsExcute.ProcControlPara[ClsExcute.GetNowProcessPoint()].ProcNo;
                 if (NextProcess == (int)ClsExcute.SubFormExecuteNo.ApprovalScreen) return true;
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/CopyTargetList/FrmCopyTargetList.designer.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/CopyTargetList/FrmCopyTargetList.designer.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/CopyTargetList/FrmCopyTargetList.designer.cs	(revision 468)
@@ -145,7 +145,7 @@
             this.radioButton2.BackColor = System.Drawing.Color.Transparent;
             this.radioButton2.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.radioButton2.ForeColor = System.Drawing.Color.White;
-            this.radioButton2.Location = new System.Drawing.Point(662, 32);
+            this.radioButton2.Location = new System.Drawing.Point(662, 30);
             this.radioButton2.Name = "radioButton2";
             this.radioButton2.Size = new System.Drawing.Size(77, 20);
             this.radioButton2.TabIndex = 54;
@@ -161,7 +161,7 @@
             this.radioButton1.Checked = true;
             this.radioButton1.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.radioButton1.ForeColor = System.Drawing.Color.White;
-            this.radioButton1.Location = new System.Drawing.Point(662, 12);
+            this.radioButton1.Location = new System.Drawing.Point(662, 10);
             this.radioButton1.Name = "radioButton1";
             this.radioButton1.Size = new System.Drawing.Size(77, 20);
             this.radioButton1.TabIndex = 53;
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRConstruction/ProcessControl.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRConstruction/ProcessControl.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRConstruction/ProcessControl.cs	(revision 468)
@@ -96,6 +96,9 @@
                     // è‡ªãƒ—ãƒ­ã‚»ã‚¹ã�¯å‡¦ç�†ã�—ã�ªã�„
                     if (CurRec.Key == s_CurrentProcessNo) continue;
 
+                    // è£½å“�ã�«ã‚ˆã�£ã�¦ã�®å®Ÿè£…ãƒ�ã‚§ãƒƒã‚¯
+                    if (!ClsExcute.GetImplementationProcess(CurRec.Key)) continue;
+
                     //ã‚¤ãƒ™ãƒ³ãƒˆã�®ç™»éŒ²
                     switch (CurRec.Key)
                     {
@@ -232,6 +235,7 @@
         {
             try
             {
+                if (ClsExcute.ProcControlPara.Count < 1) return false;
                 // ãƒ—ãƒ­ã‚»ã‚¹èµ·å‹•ãƒ†ãƒ¼ãƒ–ãƒ«ã�«ç”³è«‹ç”»é�¢ã�Œè¨­å®šã�•ã‚Œã�¦ã�„ã‚‹å ´å�ˆã�¯true
                 int NextProcess = ClsExcute.ProcControlPara[ClsExcute.GetNowProcessPoint()].ProcNo;
                 if (NextProcess == (int)ClsExcute.SubFormExecuteNo.ApprovalScreen) return true;
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRWork/FrmDRWork.Designer.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRWork/FrmDRWork.Designer.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRWork/FrmDRWork.Designer.cs	(revision 468)
@@ -76,6 +76,7 @@
             this.btnWorkingList = new System.Windows.Forms.Button();
             this.label2 = new System.Windows.Forms.Label();
             this.label3 = new System.Windows.Forms.Label();
+            this.comboBox1 = new ProcessManagement.Forms.CustomControls.ComboBoxEX();
             this.label6 = new System.Windows.Forms.Label();
             this.label12 = new System.Windows.Forms.Label();
             this.label10 = new System.Windows.Forms.Label();
@@ -88,7 +89,6 @@
             this.label4 = new System.Windows.Forms.Label();
             this.tabControl1 = new System.Windows.Forms.TabControl();
             this.tabPage1 = new System.Windows.Forms.TabPage();
-            this.lblCellTotal = new System.Windows.Forms.Label();
             this.button11 = new System.Windows.Forms.Button();
             this.button9 = new System.Windows.Forms.Button();
             this.button7 = new System.Windows.Forms.Button();
@@ -104,6 +104,25 @@
             this.label13 = new System.Windows.Forms.Label();
             this.label48 = new System.Windows.Forms.Label();
             this.label5 = new System.Windows.Forms.Label();
+            this.dgvAllDisplay = new ProcessManagement.Forms.CustomControls.DataGridViewEX();
+            this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column24 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.tabPage2 = new System.Windows.Forms.TabPage();
             this.label89 = new System.Windows.Forms.Label();
             this.label80 = new System.Windows.Forms.Label();
@@ -193,28 +212,6 @@
             this.label24 = new System.Windows.Forms.Label();
             this.label25 = new System.Windows.Forms.Label();
             this.label55 = new System.Windows.Forms.Label();
-            this.label18 = new System.Windows.Forms.Label();
-            this.btnHelp = new System.Windows.Forms.Button();
-            this.btnNoneDisp = new System.Windows.Forms.Button();
-            this.dgvAllDisplay = new ProcessManagement.Forms.CustomControls.DataGridViewEX();
-            this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Column23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Column24 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Column16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Column17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Column15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Column5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Column8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Column7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Column20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Column21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Column6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Column18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Column19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Column22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.dgvTransport02 = new ProcessManagement.Forms.CustomControls.DataGridViewEX();
             this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column26 = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -228,6 +225,10 @@
             this.Column14 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
             this.dataGridViewCheckBoxColumn3 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
             this.dgvTransport01 = new ProcessManagement.Forms.CustomControls.DataGridViewEX();
+            this.lblCellTotal = new System.Windows.Forms.Label();
+            this.label18 = new System.Windows.Forms.Label();
+            this.btnHelp = new System.Windows.Forms.Button();
+            this.btnNoneDisp = new System.Windows.Forms.Button();
             this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -239,14 +240,13 @@
             this.Column11 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
             this.Column12 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
             this.dataGridViewCheckBoxColumn7 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
-            this.comboBox1 = new ProcessManagement.Forms.CustomControls.ComboBoxEX();
             this.panel3.SuspendLayout();
             this.pnlApproval.SuspendLayout();
             this.pnlApprovalButton.SuspendLayout();
             this.tabControl1.SuspendLayout();
             this.tabPage1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.dgvAllDisplay)).BeginInit();
             this.tabPage2.SuspendLayout();
-            ((System.ComponentModel.ISupportInitialize)(this.dgvAllDisplay)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.dgvTransport02)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.dgvTransport01)).BeginInit();
             this.SuspendLayout();
@@ -580,6 +580,18 @@
             this.label3.Text = "æ‹… å½“ è€…";
             this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
             // 
+            // comboBox1
+            // 
+            this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+            this.comboBox1.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
+            this.comboBox1.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.comboBox1.FormattingEnabled = true;
+            this.comboBox1.Location = new System.Drawing.Point(121, 3);
+            this.comboBox1.Name = "comboBox1";
+            this.comboBox1.Size = new System.Drawing.Size(150, 27);
+            this.comboBox1.TabIndex = 0;
+            this.comboBox1.TextChanged += new System.EventHandler(this.comboBox1_TextChanged);
+            // 
             // label6
             // 
             this.label6.BackColor = System.Drawing.Color.SandyBrown;
@@ -743,18 +755,6 @@
             this.tabPage1.TabIndex = 0;
             this.tabPage1.Text = "å‡ºå‹¤æ—¥å ±";
             // 
-            // lblCellTotal
-            // 
-            this.lblCellTotal.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.lblCellTotal.AutoSize = true;
-            this.lblCellTotal.BackColor = System.Drawing.Color.Black;
-            this.lblCellTotal.Font = new System.Drawing.Font("ï¼­ï¼³ ï¼°æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.lblCellTotal.ForeColor = System.Drawing.Color.White;
-            this.lblCellTotal.Location = new System.Drawing.Point(110, 665);
-            this.lblCellTotal.Name = "lblCellTotal";
-            this.lblCellTotal.Size = new System.Drawing.Size(0, 16);
-            this.lblCellTotal.TabIndex = 143;
-            // 
             // button11
             // 
             this.button11.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
@@ -976,6 +976,244 @@
             this.label5.Text = "æ™‚é–“å¤–å�ˆè¨ˆ";
             this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
             // 
+            // dgvAllDisplay
+            // 
+            this.dgvAllDisplay.AllowUserToAddRows = false;
+            this.dgvAllDisplay.AllowUserToDeleteRows = false;
+            this.dgvAllDisplay.AllowUserToResizeRows = false;
+            this.dgvAllDisplay.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
+            | System.Windows.Forms.AnchorStyles.Right)));
+            this.dgvAllDisplay.BackgroundColor = System.Drawing.Color.White;
+            this.dgvAllDisplay.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
+            dataGridViewCellStyle1.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
+            dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+            dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvAllDisplay.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
+            this.dgvAllDisplay.ColumnHeadersHeight = 30;
+            this.dgvAllDisplay.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
+            this.dgvAllDisplay.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
+            this.Column1,
+            this.Column4,
+            this.Column3,
+            this.Column23,
+            this.Column24,
+            this.Column16,
+            this.Column2,
+            this.Column17,
+            this.Column15,
+            this.Column5,
+            this.Column8,
+            this.Column7,
+            this.Column20,
+            this.Column21,
+            this.Column6,
+            this.Column18,
+            this.Column19,
+            this.Column22});
+            this.dgvAllDisplay.EnableHeadersVisualStyles = false;
+            this.dgvAllDisplay.Location = new System.Drawing.Point(8, 4);
+            this.dgvAllDisplay.Name = "dgvAllDisplay";
+            this.dgvAllDisplay.RowHeadersVisible = false;
+            this.dgvAllDisplay.RowHeadersWidth = 20;
+            this.dgvAllDisplay.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
+            this.dgvAllDisplay.RowTemplate.DefaultCellStyle.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.dgvAllDisplay.RowTemplate.DefaultCellStyle.ForeColor = System.Drawing.Color.Black;
+            this.dgvAllDisplay.RowTemplate.Height = 24;
+            this.dgvAllDisplay.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
+            this.dgvAllDisplay.Size = new System.Drawing.Size(1310, 464);
+            this.dgvAllDisplay.TabIndex = 37;
+            this.dgvAllDisplay.TabStop = false;
+            this.dgvAllDisplay.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvAllDisplay_CellDoubleClick);
+            this.dgvAllDisplay.CellEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvAllDisplay_CellEnter);
+            this.dgvAllDisplay.CellValidated += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvAllDisplay_CellValidated);
+            this.dgvAllDisplay.CellValueChanged += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvAllDisplay_CellValueChanged);
+            this.dgvAllDisplay.MouseUp += new System.Windows.Forms.MouseEventHandler(this.dgvAllDisplay_MouseUp);
+            // 
+            // Column1
+            // 
+            dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.Column1.DefaultCellStyle = dataGridViewCellStyle2;
+            this.Column1.Frozen = true;
+            this.Column1.HeaderText = "æ—¥ä»˜";
+            this.Column1.Name = "Column1";
+            this.Column1.ReadOnly = true;
+            this.Column1.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.Column1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.Column1.Width = 60;
+            // 
+            // Column4
+            // 
+            this.Column4.Frozen = true;
+            this.Column4.HeaderText = "å†…éƒ¨æ—¥ä»˜";
+            this.Column4.Name = "Column4";
+            this.Column4.ReadOnly = true;
+            this.Column4.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.Column4.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.Column4.Visible = false;
+            this.Column4.Width = 5;
+            // 
+            // Column3
+            // 
+            dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.Column3.DefaultCellStyle = dataGridViewCellStyle3;
+            this.Column3.Frozen = true;
+            this.Column3.HeaderText = "æ›œæ—¥";
+            this.Column3.Name = "Column3";
+            this.Column3.ReadOnly = true;
+            this.Column3.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.Column3.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.Column3.Width = 80;
+            // 
+            // Column23
+            // 
+            dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle4.ForeColor = System.Drawing.Color.Black;
+            this.Column23.DefaultCellStyle = dataGridViewCellStyle4;
+            this.Column23.Frozen = true;
+            this.Column23.HeaderText = "äº¤";
+            this.Column23.Name = "Column23";
+            this.Column23.ReadOnly = true;
+            this.Column23.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.Column23.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.Column23.ToolTipText = "äº¤é€šè²»å…¥åŠ›æœ‰";
+            this.Column23.Width = 30;
+            // 
+            // Column24
+            // 
+            dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle5.ForeColor = System.Drawing.Color.Black;
+            this.Column24.DefaultCellStyle = dataGridViewCellStyle5;
+            this.Column24.Frozen = true;
+            this.Column24.HeaderText = "å±Š";
+            this.Column24.Name = "Column24";
+            this.Column24.ReadOnly = true;
+            this.Column24.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.Column24.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.Column24.ToolTipText = "ç”³è«‹ä¸­å±Šæœ‰";
+            this.Column24.Width = 30;
+            // 
+            // Column16
+            // 
+            this.Column16.Frozen = true;
+            this.Column16.HeaderText = "å·¥äº‹ç•ªå�·";
+            this.Column16.Name = "Column16";
+            this.Column16.ReadOnly = true;
+            this.Column16.Visible = false;
+            // 
+            // Column2
+            // 
+            dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            this.Column2.DefaultCellStyle = dataGridViewCellStyle6;
+            this.Column2.HeaderText = "å‹¤å‹™å†…å®¹ï¼ˆç�¾å ´ï¼‰";
+            this.Column2.Name = "Column2";
+            this.Column2.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.Column2.Width = 310;
+            // 
+            // Column17
+            // 
+            this.Column17.HeaderText = "å‹¤å‹™åŒºåˆ†";
+            this.Column17.Name = "Column17";
+            this.Column17.ReadOnly = true;
+            this.Column17.Visible = false;
+            // 
+            // Column15
+            // 
+            dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.Column15.DefaultCellStyle = dataGridViewCellStyle7;
+            this.Column15.HeaderText = "å‹¤ã€€å‹™";
+            this.Column15.Name = "Column15";
+            this.Column15.ReadOnly = true;
+            this.Column15.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+            this.Column15.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.Column15.Width = 80;
+            // 
+            // Column5
+            // 
+            dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle8.Font = new System.Drawing.Font("Century", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.Column5.DefaultCellStyle = dataGridViewCellStyle8;
+            this.Column5.HeaderText = "é–‹å§‹æ™‚é–“";
+            this.Column5.Name = "Column5";
+            this.Column5.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.Column5.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // Column8
+            // 
+            dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle9.Font = new System.Drawing.Font("Century", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.Column8.DefaultCellStyle = dataGridViewCellStyle9;
+            this.Column8.HeaderText = "çµ‚äº†æ™‚é–“";
+            this.Column8.Name = "Column8";
+            this.Column8.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.Column8.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // Column7
+            // 
+            dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle10.Font = new System.Drawing.Font("Century", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.Column7.DefaultCellStyle = dataGridViewCellStyle10;
+            this.Column7.HeaderText = "å‹¤å‹™æ™‚é–“";
+            this.Column7.Name = "Column7";
+            this.Column7.ReadOnly = true;
+            this.Column7.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.Column7.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // Column20
+            // 
+            dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle11.Font = new System.Drawing.Font("Century", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.Column20.DefaultCellStyle = dataGridViewCellStyle11;
+            this.Column20.HeaderText = "æ™‚é–“å¤–å°±æ¥­";
+            this.Column20.Name = "Column20";
+            this.Column20.ReadOnly = true;
+            this.Column20.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.Column20.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // Column21
+            // 
+            dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle12.Font = new System.Drawing.Font("Century", 9.75F, System.Drawing.FontStyle.Bold);
+            dataGridViewCellStyle12.ForeColor = System.Drawing.Color.Black;
+            this.Column21.DefaultCellStyle = dataGridViewCellStyle12;
+            this.Column21.HeaderText = "æ™‚é–“å¤–èª�å®š";
+            this.Column21.Name = "Column21";
+            this.Column21.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.Column21.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // Column6
+            // 
+            this.Column6.HeaderText = "æ™‚é–“å¤–èª�å®šç�†ç”±";
+            this.Column6.Name = "Column6";
+            this.Column6.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.Column6.Width = 200;
+            // 
+            // Column18
+            // 
+            this.Column18.HeaderText = "ä¼‘æ—¥ãƒ•ãƒ©ã‚°";
+            this.Column18.Name = "Column18";
+            this.Column18.ReadOnly = true;
+            this.Column18.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.Column18.Visible = false;
+            // 
+            // Column19
+            // 
+            this.Column19.HeaderText = "å±Šé †åº�ç•ªå�·";
+            this.Column19.Name = "Column19";
+            this.Column19.Visible = false;
+            // 
+            // Column22
+            // 
+            this.Column22.HeaderText = "æ˜Žç´°ç•ªå�·";
+            this.Column22.Name = "Column22";
+            this.Column22.ReadOnly = true;
+            this.Column22.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.Column22.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.Column22.Visible = false;
+            // 
             // tabPage2
             // 
             this.tabPage2.BackColor = System.Drawing.Color.Black;
@@ -1083,11 +1321,11 @@
             this.label89.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
             this.label89.Location = new System.Drawing.Point(717, 26);
             this.label89.Name = "label89";
-            this.label89.Size = new System.Drawing.Size(25, 40);
+            this.label89.Size = new System.Drawing.Size(30, 40);
             this.label89.TabIndex = 251;
             this.label89.Tag = "";
             this.label89.Text = "å‡º";
-            this.label89.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            this.label89.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
             // 
             // label80
             // 
@@ -1096,11 +1334,11 @@
             this.label80.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
             this.label80.Location = new System.Drawing.Point(58, 26);
             this.label80.Name = "label80";
-            this.label80.Size = new System.Drawing.Size(25, 40);
+            this.label80.Size = new System.Drawing.Size(30, 40);
             this.label80.TabIndex = 250;
             this.label80.Tag = "";
             this.label80.Text = "å‡º";
-            this.label80.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            this.label80.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
             // 
             // label17
             // 
@@ -1958,9 +2196,9 @@
             this.label71.BackColor = System.Drawing.Color.White;
             this.label71.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
             this.label71.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.label71.Location = new System.Drawing.Point(942, 26);
+            this.label71.Location = new System.Drawing.Point(947, 26);
             this.label71.Name = "label71";
-            this.label71.Size = new System.Drawing.Size(100, 40);
+            this.label71.Size = new System.Drawing.Size(95, 40);
             this.label71.TabIndex = 184;
             this.label71.Tag = "";
             this.label71.Text = "å½“ æ—¥ è¨ˆ\r\nï¼ˆKmï¼‰";
@@ -1972,7 +2210,7 @@
             this.label72.BackColor = System.Drawing.Color.White;
             this.label72.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
             this.label72.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.label72.Location = new System.Drawing.Point(842, 26);
+            this.label72.Location = new System.Drawing.Point(847, 26);
             this.label72.Name = "label72";
             this.label72.Size = new System.Drawing.Size(100, 40);
             this.label72.TabIndex = 183;
@@ -1986,7 +2224,7 @@
             this.label73.BackColor = System.Drawing.Color.White;
             this.label73.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
             this.label73.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.label73.Location = new System.Drawing.Point(742, 26);
+            this.label73.Location = new System.Drawing.Point(747, 26);
             this.label73.Name = "label73";
             this.label73.Size = new System.Drawing.Size(100, 40);
             this.label73.TabIndex = 182;
@@ -2175,9 +2413,9 @@
             this.label22.BackColor = System.Drawing.Color.White;
             this.label22.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
             this.label22.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.label22.Location = new System.Drawing.Point(283, 26);
+            this.label22.Location = new System.Drawing.Point(288, 26);
             this.label22.Name = "label22";
-            this.label22.Size = new System.Drawing.Size(100, 40);
+            this.label22.Size = new System.Drawing.Size(95, 40);
             this.label22.TabIndex = 165;
             this.label22.Tag = "";
             this.label22.Text = "å½“ æ—¥ è¨ˆ\r\nï¼ˆKmï¼‰";
@@ -2189,7 +2427,7 @@
             this.label23.BackColor = System.Drawing.Color.White;
             this.label23.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
             this.label23.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.label23.Location = new System.Drawing.Point(183, 26);
+            this.label23.Location = new System.Drawing.Point(188, 26);
             this.label23.Name = "label23";
             this.label23.Size = new System.Drawing.Size(100, 40);
             this.label23.TabIndex = 164;
@@ -2203,7 +2441,7 @@
             this.label24.BackColor = System.Drawing.Color.White;
             this.label24.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
             this.label24.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.label24.Location = new System.Drawing.Point(83, 26);
+            this.label24.Location = new System.Drawing.Point(88, 26);
             this.label24.Name = "label24";
             this.label24.Size = new System.Drawing.Size(100, 40);
             this.label24.TabIndex = 163;
@@ -2238,285 +2476,6 @@
             this.label55.Text = "å�ˆã€€ã€€è¨ˆ";
             this.label55.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
             // 
-            // label18
-            // 
-            this.label18.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.label18.BackColor = System.Drawing.Color.White;
-            this.label18.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label18.Font = new System.Drawing.Font("Century", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            this.label18.Location = new System.Drawing.Point(5, 4);
-            this.label18.Name = "label18";
-            this.label18.Size = new System.Drawing.Size(60, 27);
-            this.label18.TabIndex = 139;
-            this.label18.Text = "999";
-            this.label18.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
-            this.label18.Visible = false;
-            // 
-            // btnHelp
-            // 
-            this.btnHelp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
-            this.btnHelp.BackColor = System.Drawing.Color.Black;
-            this.btnHelp.Font = new System.Drawing.Font("MS UI Gothic", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.btnHelp.ForeColor = System.Drawing.Color.White;
-            this.btnHelp.Location = new System.Drawing.Point(1313, 0);
-            this.btnHelp.Name = "btnHelp";
-            this.btnHelp.Size = new System.Drawing.Size(30, 30);
-            this.btnHelp.TabIndex = 140;
-            this.btnHelp.TabStop = false;
-            this.btnHelp.Text = "ï¼Ÿ";
-            this.btnHelp.UseVisualStyleBackColor = false;
-            this.btnHelp.Click += new System.EventHandler(this.btnHelp_Click);
-            // 
-            // btnNoneDisp
-            // 
-            this.btnNoneDisp.BackColor = System.Drawing.Color.Red;
-            this.btnNoneDisp.ForeColor = System.Drawing.Color.White;
-            this.btnNoneDisp.Location = new System.Drawing.Point(71, 5);
-            this.btnNoneDisp.Name = "btnNoneDisp";
-            this.btnNoneDisp.Size = new System.Drawing.Size(33, 21);
-            this.btnNoneDisp.TabIndex = 141;
-            this.btnNoneDisp.Text = "è¦‹ã�ˆã�ªã�„";
-            this.btnNoneDisp.UseVisualStyleBackColor = false;
-            this.btnNoneDisp.Visible = false;
-            // 
-            // dgvAllDisplay
-            // 
-            this.dgvAllDisplay.AllowUserToAddRows = false;
-            this.dgvAllDisplay.AllowUserToDeleteRows = false;
-            this.dgvAllDisplay.AllowUserToResizeRows = false;
-            this.dgvAllDisplay.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
-            | System.Windows.Forms.AnchorStyles.Right)));
-            this.dgvAllDisplay.BackgroundColor = System.Drawing.Color.White;
-            this.dgvAllDisplay.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
-            dataGridViewCellStyle1.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
-            dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
-            dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
-            dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
-            this.dgvAllDisplay.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
-            this.dgvAllDisplay.ColumnHeadersHeight = 30;
-            this.dgvAllDisplay.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
-            this.dgvAllDisplay.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
-            this.Column1,
-            this.Column4,
-            this.Column3,
-            this.Column23,
-            this.Column24,
-            this.Column16,
-            this.Column2,
-            this.Column17,
-            this.Column15,
-            this.Column5,
-            this.Column8,
-            this.Column7,
-            this.Column20,
-            this.Column21,
-            this.Column6,
-            this.Column18,
-            this.Column19,
-            this.Column22});
-            this.dgvAllDisplay.EnableHeadersVisualStyles = false;
-            this.dgvAllDisplay.Location = new System.Drawing.Point(8, 4);
-            this.dgvAllDisplay.Name = "dgvAllDisplay";
-            this.dgvAllDisplay.RowHeadersVisible = false;
-            this.dgvAllDisplay.RowHeadersWidth = 20;
-            this.dgvAllDisplay.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
-            this.dgvAllDisplay.RowTemplate.DefaultCellStyle.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.dgvAllDisplay.RowTemplate.DefaultCellStyle.ForeColor = System.Drawing.Color.Black;
-            this.dgvAllDisplay.RowTemplate.Height = 24;
-            this.dgvAllDisplay.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
-            this.dgvAllDisplay.Size = new System.Drawing.Size(1310, 464);
-            this.dgvAllDisplay.TabIndex = 37;
-            this.dgvAllDisplay.TabStop = false;
-            this.dgvAllDisplay.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvAllDisplay_CellDoubleClick);
-            this.dgvAllDisplay.CellEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvAllDisplay_CellEnter);
-            this.dgvAllDisplay.CellValidated += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvAllDisplay_CellValidated);
-            this.dgvAllDisplay.CellValueChanged += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvAllDisplay_CellValueChanged);
-            this.dgvAllDisplay.MouseUp += new System.Windows.Forms.MouseEventHandler(this.dgvAllDisplay_MouseUp);
-            // 
-            // Column1
-            // 
-            dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.Column1.DefaultCellStyle = dataGridViewCellStyle2;
-            this.Column1.Frozen = true;
-            this.Column1.HeaderText = "æ—¥ä»˜";
-            this.Column1.Name = "Column1";
-            this.Column1.ReadOnly = true;
-            this.Column1.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.Column1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.Column1.Width = 60;
-            // 
-            // Column4
-            // 
-            this.Column4.Frozen = true;
-            this.Column4.HeaderText = "å†…éƒ¨æ—¥ä»˜";
-            this.Column4.Name = "Column4";
-            this.Column4.ReadOnly = true;
-            this.Column4.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.Column4.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.Column4.Visible = false;
-            this.Column4.Width = 5;
-            // 
-            // Column3
-            // 
-            dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.Column3.DefaultCellStyle = dataGridViewCellStyle3;
-            this.Column3.Frozen = true;
-            this.Column3.HeaderText = "æ›œæ—¥";
-            this.Column3.Name = "Column3";
-            this.Column3.ReadOnly = true;
-            this.Column3.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.Column3.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.Column3.Width = 80;
-            // 
-            // Column23
-            // 
-            dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle4.ForeColor = System.Drawing.Color.Black;
-            this.Column23.DefaultCellStyle = dataGridViewCellStyle4;
-            this.Column23.Frozen = true;
-            this.Column23.HeaderText = "äº¤";
-            this.Column23.Name = "Column23";
-            this.Column23.ReadOnly = true;
-            this.Column23.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.Column23.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.Column23.ToolTipText = "äº¤é€šè²»å…¥åŠ›æœ‰";
-            this.Column23.Width = 25;
-            // 
-            // Column24
-            // 
-            dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle5.ForeColor = System.Drawing.Color.Black;
-            this.Column24.DefaultCellStyle = dataGridViewCellStyle5;
-            this.Column24.Frozen = true;
-            this.Column24.HeaderText = "å±Š";
-            this.Column24.Name = "Column24";
-            this.Column24.ReadOnly = true;
-            this.Column24.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.Column24.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.Column24.ToolTipText = "ç”³è«‹ä¸­å±Šæœ‰";
-            this.Column24.Width = 25;
-            // 
-            // Column16
-            // 
-            this.Column16.Frozen = true;
-            this.Column16.HeaderText = "å·¥äº‹ç•ªå�·";
-            this.Column16.Name = "Column16";
-            this.Column16.ReadOnly = true;
-            this.Column16.Visible = false;
-            // 
-            // Column2
-            // 
-            dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            this.Column2.DefaultCellStyle = dataGridViewCellStyle6;
-            this.Column2.HeaderText = "å‹¤å‹™å†…å®¹ï¼ˆç�¾å ´ï¼‰";
-            this.Column2.Name = "Column2";
-            this.Column2.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.Column2.Width = 320;
-            // 
-            // Column17
-            // 
-            this.Column17.HeaderText = "å‹¤å‹™åŒºåˆ†";
-            this.Column17.Name = "Column17";
-            this.Column17.ReadOnly = true;
-            this.Column17.Visible = false;
-            // 
-            // Column15
-            // 
-            dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.Column15.DefaultCellStyle = dataGridViewCellStyle7;
-            this.Column15.HeaderText = "å‹¤ã€€å‹™";
-            this.Column15.Name = "Column15";
-            this.Column15.ReadOnly = true;
-            this.Column15.Resizable = System.Windows.Forms.DataGridViewTriState.True;
-            this.Column15.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.Column15.Width = 80;
-            // 
-            // Column5
-            // 
-            dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle8.Font = new System.Drawing.Font("Century", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            this.Column5.DefaultCellStyle = dataGridViewCellStyle8;
-            this.Column5.HeaderText = "é–‹å§‹æ™‚é–“";
-            this.Column5.Name = "Column5";
-            this.Column5.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.Column5.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // Column8
-            // 
-            dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle9.Font = new System.Drawing.Font("Century", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            this.Column8.DefaultCellStyle = dataGridViewCellStyle9;
-            this.Column8.HeaderText = "çµ‚äº†æ™‚é–“";
-            this.Column8.Name = "Column8";
-            this.Column8.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.Column8.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // Column7
-            // 
-            dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle10.Font = new System.Drawing.Font("Century", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            this.Column7.DefaultCellStyle = dataGridViewCellStyle10;
-            this.Column7.HeaderText = "å‹¤å‹™æ™‚é–“";
-            this.Column7.Name = "Column7";
-            this.Column7.ReadOnly = true;
-            this.Column7.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.Column7.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // Column20
-            // 
-            dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle11.Font = new System.Drawing.Font("Century", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            this.Column20.DefaultCellStyle = dataGridViewCellStyle11;
-            this.Column20.HeaderText = "æ™‚é–“å¤–å°±æ¥­";
-            this.Column20.Name = "Column20";
-            this.Column20.ReadOnly = true;
-            this.Column20.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.Column20.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // Column21
-            // 
-            dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle12.Font = new System.Drawing.Font("Century", 9.75F, System.Drawing.FontStyle.Bold);
-            dataGridViewCellStyle12.ForeColor = System.Drawing.Color.Black;
-            this.Column21.DefaultCellStyle = dataGridViewCellStyle12;
-            this.Column21.HeaderText = "æ™‚é–“å¤–èª�å®š";
-            this.Column21.Name = "Column21";
-            this.Column21.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.Column21.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // Column6
-            // 
-            this.Column6.HeaderText = "æ™‚é–“å¤–èª�å®šç�†ç”±";
-            this.Column6.Name = "Column6";
-            this.Column6.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.Column6.Width = 200;
-            // 
-            // Column18
-            // 
-            this.Column18.HeaderText = "ä¼‘æ—¥ãƒ•ãƒ©ã‚°";
-            this.Column18.Name = "Column18";
-            this.Column18.ReadOnly = true;
-            this.Column18.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.Column18.Visible = false;
-            // 
-            // Column19
-            // 
-            this.Column19.HeaderText = "å±Šé †åº�ç•ªå�·";
-            this.Column19.Name = "Column19";
-            this.Column19.Visible = false;
-            // 
-            // Column22
-            // 
-            this.Column22.HeaderText = "æ˜Žç´°ç•ªå�·";
-            this.Column22.Name = "Column22";
-            this.Column22.ReadOnly = true;
-            this.Column22.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.Column22.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.Column22.Visible = false;
-            // 
             // dgvTransport02
             // 
             this.dgvTransport02.AllowUserToAddRows = false;
@@ -2591,7 +2550,7 @@
             this.Column26.ReadOnly = true;
             this.Column26.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.Column26.ToolTipText = "å‡ºå‹¤æ—¥å ±å…¥åŠ›æœ‰";
-            this.Column26.Width = 25;
+            this.Column26.Width = 30;
             // 
             // Column10
             // 
@@ -2637,6 +2596,7 @@
             this.dataGridViewTextBoxColumn4.ReadOnly = true;
             this.dataGridViewTextBoxColumn4.Resizable = System.Windows.Forms.DataGridViewTriState.False;
             this.dataGridViewTextBoxColumn4.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.dataGridViewTextBoxColumn4.Width = 95;
             // 
             // dataGridViewCheckBoxColumn1
             // 
@@ -2727,6 +2687,59 @@
             this.dgvTransport01.CellValueChanged += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvTransport_CellValueChanged);
             this.dgvTransport01.CurrentCellDirtyStateChanged += new System.EventHandler(this.dgvTransport_CurrentCellDirtyStateChanged);
             // 
+            // lblCellTotal
+            // 
+            this.lblCellTotal.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.lblCellTotal.AutoSize = true;
+            this.lblCellTotal.BackColor = System.Drawing.Color.Black;
+            this.lblCellTotal.Font = new System.Drawing.Font("ï¼­ï¼³ ï¼°æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.lblCellTotal.ForeColor = System.Drawing.Color.White;
+            this.lblCellTotal.Location = new System.Drawing.Point(110, 665);
+            this.lblCellTotal.Name = "lblCellTotal";
+            this.lblCellTotal.Size = new System.Drawing.Size(0, 16);
+            this.lblCellTotal.TabIndex = 143;
+            // 
+            // label18
+            // 
+            this.label18.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.label18.BackColor = System.Drawing.Color.White;
+            this.label18.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label18.Font = new System.Drawing.Font("Century", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.label18.Location = new System.Drawing.Point(5, 4);
+            this.label18.Name = "label18";
+            this.label18.Size = new System.Drawing.Size(60, 27);
+            this.label18.TabIndex = 139;
+            this.label18.Text = "999";
+            this.label18.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+            this.label18.Visible = false;
+            // 
+            // btnHelp
+            // 
+            this.btnHelp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+            this.btnHelp.BackColor = System.Drawing.Color.Black;
+            this.btnHelp.Font = new System.Drawing.Font("MS UI Gothic", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.btnHelp.ForeColor = System.Drawing.Color.White;
+            this.btnHelp.Location = new System.Drawing.Point(1313, 0);
+            this.btnHelp.Name = "btnHelp";
+            this.btnHelp.Size = new System.Drawing.Size(30, 30);
+            this.btnHelp.TabIndex = 140;
+            this.btnHelp.TabStop = false;
+            this.btnHelp.Text = "ï¼Ÿ";
+            this.btnHelp.UseVisualStyleBackColor = false;
+            this.btnHelp.Click += new System.EventHandler(this.btnHelp_Click);
+            // 
+            // btnNoneDisp
+            // 
+            this.btnNoneDisp.BackColor = System.Drawing.Color.Red;
+            this.btnNoneDisp.ForeColor = System.Drawing.Color.White;
+            this.btnNoneDisp.Location = new System.Drawing.Point(71, 5);
+            this.btnNoneDisp.Name = "btnNoneDisp";
+            this.btnNoneDisp.Size = new System.Drawing.Size(33, 21);
+            this.btnNoneDisp.TabIndex = 141;
+            this.btnNoneDisp.Text = "è¦‹ã�ˆã�ªã�„";
+            this.btnNoneDisp.UseVisualStyleBackColor = false;
+            this.btnNoneDisp.Visible = false;
+            // 
             // dataGridViewTextBoxColumn5
             // 
             dataGridViewCellStyle20.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
@@ -2753,7 +2766,7 @@
             this.Column25.Resizable = System.Windows.Forms.DataGridViewTriState.False;
             this.Column25.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.Column25.ToolTipText = "å‡ºå‹¤æ—¥å ±å…¥åŠ›æœ‰";
-            this.Column25.Width = 25;
+            this.Column25.Width = 30;
             // 
             // Column9
             // 
@@ -2799,6 +2812,7 @@
             this.dataGridViewTextBoxColumn8.ReadOnly = true;
             this.dataGridViewTextBoxColumn8.Resizable = System.Windows.Forms.DataGridViewTriState.False;
             this.dataGridViewTextBoxColumn8.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.dataGridViewTextBoxColumn8.Width = 95;
             // 
             // dataGridViewCheckBoxColumn5
             // 
@@ -2840,18 +2854,6 @@
             this.dataGridViewCheckBoxColumn7.Resizable = System.Windows.Forms.DataGridViewTriState.False;
             this.dataGridViewCheckBoxColumn7.Width = 55;
             // 
-            // comboBox1
-            // 
-            this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
-            this.comboBox1.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
-            this.comboBox1.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.comboBox1.FormattingEnabled = true;
-            this.comboBox1.Location = new System.Drawing.Point(121, 3);
-            this.comboBox1.Name = "comboBox1";
-            this.comboBox1.Size = new System.Drawing.Size(150, 27);
-            this.comboBox1.TabIndex = 0;
-            this.comboBox1.TextChanged += new System.EventHandler(this.comboBox1_TextChanged);
-            // 
             // FrmDRWork
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
@@ -2885,8 +2887,8 @@
             this.pnlApprovalButton.ResumeLayout(false);
             this.tabControl1.ResumeLayout(false);
             this.tabPage1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.dgvAllDisplay)).EndInit();
             this.tabPage2.ResumeLayout(false);
-            ((System.ComponentModel.ISupportInitialize)(this.dgvAllDisplay)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.dgvTransport02)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.dgvTransport01)).EndInit();
             this.ResumeLayout(false);
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRWork/FrmDRWorkAuxiliary.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRWork/FrmDRWorkAuxiliary.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRWork/FrmDRWorkAuxiliary.cs	(revision 468)
@@ -534,15 +534,27 @@
                     DspWorkingOut(CurRow);
 
                     // ----- æ™‚é–“å¤–èª�å®š
-                    TimeSpan tsCertification = CommonMotions.cnvDecimal2TimeSpan(CommonMotions.cnvDecimal(CurRec[(int)ReadDataOrder.Certification]));
+                    decimal decCertification = CommonMotions.cnvDecimal(CurRec[(int)ReadDataOrder.Certification]);
+                    TimeSpan tsCertification = CommonMotions.cnvDecimal2TimeSpan(decCertification);
                     // ä¼‘æ—¥å‡ºå‹¤ã�¯æ™‚é–“ã‚’ã��ã�®ã�¾ã�¾ã‚»ãƒƒãƒˆ
                     if (nWorkKindFlg == (int)AttendanceDailyData.WorkKindFlgDef.HolidayWork)
                         tsCertification = CommonMotions.cnvTimeSpan(CurRow.Cells[(int)GridColumn01.WorkTime].Value);
 
                     string strCertification = string.Empty;
-                    // å°±æ¥­æ™‚é–“å¤–ã�Œã�‚ã‚Œã�°è¡¨ç¤ºã�™ã‚‹
+                    // å°±æ¥­æ™‚é–“å¤–ã�Œã�‚ã‚Œã�°èª�å®šæ™‚é–“ã‚’è¡¨ç¤ºã�™ã‚‹
                     if (CommonMotions.cnvString(CurRow.Cells[(int)GridColumn01.OverTimes].Value).Length > 0)
-                        strCertification = string.Format("{0}:{1:00}", tsCertification.Hours, tsCertification.Minutes);
+                    {
+                        int nHour = Math.Abs(tsCertification.Hours);
+                        int nMinutes = Math.Abs(tsCertification.Minutes);
+                        if (decCertification < 0)
+                        {
+                            strCertification = string.Format("-{0}:{1:00}", nHour, nMinutes);
+                        }
+                        else
+                        {
+                            strCertification = string.Format("{0}:{1:00}", nHour, nMinutes);
+                        }
+                    }
                     CurRow.Cells[(int)GridColumn01.Certification].Value = strCertification;
 
                     CurRow.Cells[(int)GridColumn01.Comment].Value = CommonMotions.cnvString(CurRec[(int)ReadDataOrder.Comment]);
@@ -583,7 +595,16 @@
 
                     // å±Šã�®æ‰¿èª�ã�Œã�‚ã‚Œã�°ãƒ­ãƒƒã‚¯ã�™ã‚‹
                     int RowAppStat = CommonMotions.cnvInt(CurRec[(int)ReadDataOrder.RowAppStat]);
-                    if (RowAppStat == (int)CommonDefine.ApprovalStatus.Approval) CurRow.ReadOnly = true;    // è¡Œãƒ­ãƒƒã‚¯
+                    if (RowAppStat == (int)CommonDefine.ApprovalStatus.Approval)
+                    {
+                        // è¡Œãƒ­ãƒƒã‚¯
+                        CurRow.ReadOnly = true;
+                        // æŒ¯æ›¿ä¼‘æ—¥å‡ºå‹¤ã�¯æ™‚é–“ã�Œã�‚ã‚Œã�°æ™‚é–“å¤–ã�Œã�‚ã‚Œã�°è¡¨ç¤ºã�™ã‚‹
+                        if ((int)AttendanceDailyData.WorkKindFlgDef.TransferHoliday == nWorkKindFlg)
+                        {
+                            CurRow.Cells[(int)GridColumn01.Certification].Value = CurRow.Cells[(int)GridColumn01.OverTimes].Value;
+                        }
+                    }
 
                     // æ‹…å½“è€…ä»¥å¤–ã�¯èª�å�¯ç�†ç”±ã‚’è¨­å®šã�§ã��ã‚‹
                     if (CommonMotions.LoginUserSecurity.SecRank != CommonDefine.SecurityRankList[NRank].Key)
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRWork/FrmDRWorkNoticeAux.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRWork/FrmDRWorkNoticeAux.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRWork/FrmDRWorkNoticeAux.cs	(revision 468)
@@ -894,6 +894,7 @@
         private bool ChkpnlDateType2()
         {
             IOMPersonInCharge ManDB = new IOMPersonInCharge();
+            IOAttendanceNotice NoticeDB = new IOAttendanceNotice();
             try
             {
                 decimal NoticePeriod = CommonMotions.cnvDecimal(txtType2Days.Text);
@@ -914,6 +915,22 @@
                 // æœ‰çµ¦ä»¥å¤–ã�¯ä»¥ä¸‹ã‚’ãƒ�ã‚§ãƒƒã‚¯ã�—ã�ªã�„
                 if (!radioButton1.Checked) return true;
 
+                // æ‰¿èª�ä¸­ã�®ä»Šå›žä»¥å¤–ã�®ãƒ‡ãƒ¼ã‚¿ã‚’å�–å¾—ã�™ã‚‹
+                strSQL.Clear();
+                strSQL.Append("Select ifnull(sum(NoticePeriod), 0) From attendancenotice");
+                strSQL.AppendFormat(" Where PersonCode = {0}", m_ManNo);
+                strSQL.AppendFormat(" And AttendanceNo = {0}", m_ExceNo);
+                strSQL.AppendFormat(" And (AttendanceMonth != {0}", (dtType2_1.Value.Year * 100) + dtType2_1.Value.Month);
+                strSQL.AppendFormat(" And OrderNo != {0})", m_OrderNo);
+                strSQL.Append("       And ApprovalNo = 0");
+                ArrayList arrayList = new ArrayList();
+                NoticeDB.ExecuteReader(strSQL.ToString(), ref arrayList);
+                if (arrayList.Count > 0)
+                {
+                    object[] objRec = (object[])arrayList[0];
+                    NoticePeriod += CommonMotions.cnvDecimal(objRec[0]);
+                }
+
                 decimal dWork = 0;
                 if (ManRec.PaidVacationDays >= NoticePeriod)
                 {
@@ -949,6 +966,11 @@
                 logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
                 return false;
             }
+            finally
+            {
+                ManDB.close(); ManDB = null;
+                NoticeDB.close(); NoticeDB = null;
+            }
         }
         #endregion
 
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateBudget/FrmEstimateBudgetAuxiliary.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateBudget/FrmEstimateBudgetAuxiliary.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateBudget/FrmEstimateBudgetAuxiliary.cs	(revision 468)
@@ -3287,11 +3287,12 @@
                 frm.EditLock = m_EditLock;
                 frm.SubForm = true;
                 frm.ShowInTaskbar = true;
+                frm.CheckForm = true;
 
                 // ã‚¯ãƒ­ãƒ¼ã‚¹ãƒ‰ãƒ�ãƒ³ãƒ‰ãƒ©ã‚’ã�“ã�¡ã‚‰ã�§å®šç¾©ã�™ã‚‹
                 frm.FormClosed += new FormClosedEventHandler(FrmEstimateInputClosed);
                 frm.Show();
-                bool bErr = frm.LinkBudgetPetition;
+                //bool bErr = frm.LinkBudgetPetition;
             }
             catch (Exception ex)
             {
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateBudget/ProcessControl.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateBudget/ProcessControl.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateBudget/ProcessControl.cs	(revision 468)
@@ -96,6 +96,9 @@
                     // è‡ªãƒ—ãƒ­ã‚»ã‚¹ã�¯å‡¦ç�†ã�—ã�ªã�„
                     if (CurRec.Key == s_CurrentProcessNo) continue;
 
+                    // è£½å“�ã�«ã‚ˆã�£ã�¦ã�®å®Ÿè£…ãƒ�ã‚§ãƒƒã‚¯
+                    if (!ClsExcute.GetImplementationProcess(CurRec.Key)) continue;
+
                     //ã‚¤ãƒ™ãƒ³ãƒˆã�®ç™»éŒ²
                     switch (CurRec.Key)
                     {
@@ -232,6 +235,7 @@
         {
             try
             {
+                if (ClsExcute.ProcControlPara.Count < 1) return false;
                 // ãƒ—ãƒ­ã‚»ã‚¹èµ·å‹•ãƒ†ãƒ¼ãƒ–ãƒ«ã�«ç”³è«‹ç”»é�¢ã�Œè¨­å®šã�•ã‚Œã�¦ã�„ã‚‹å ´å�ˆã�¯true
                 int NextProcess = ClsExcute.ProcControlPara[ClsExcute.GetNowProcessPoint()].ProcNo;
                 if (NextProcess == (int)ClsExcute.SubFormExecuteNo.ApprovalScreen) return true;
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateInput/FrmEstimateInput.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateInput/FrmEstimateInput.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateInput/FrmEstimateInput.cs	(revision 468)
@@ -348,6 +348,11 @@
         // *-----* ‹¤’Ê�ˆ—��Ý’è *-----*
 
         /// <summary>
+        /// ƒ`ƒFƒbƒN—pƒtƒH�[ƒ€‹N“®ƒtƒ‰ƒO
+        /// </summary>
+        private bool m_CheckForm = false;
+
+        /// <summary>
         /// ŠÖ˜A‚·‚é‘¼Œ©�Ï•\Ž¦ƒ{ƒ^ƒ“•\Ž¦
         /// </summary>
         private bool m_Panel3Visible = true;
@@ -357,7 +362,6 @@
         /// </summary>
         private int m_EndingButton = -1;
 
-
         /// <summary>
         /// ˆó�ü�ˆ—�ƒvƒ�ƒZƒX�”ƒJƒEƒ“ƒg
         /// </summary>
@@ -442,6 +446,15 @@
         // *-----* ‹¤’Ê�ˆ—��Ý’è *-----*
 
         /// <summary>
+        /// ƒ`ƒFƒbƒN—pƒtƒH�[ƒ€‹N“®ƒtƒ‰ƒO
+        /// </summary>
+        public bool CheckForm
+        {
+            get { return m_CheckForm; }
+            set { m_CheckForm = value; }
+        }
+
+        /// <summary>
         /// ŠÖ˜A‚·‚é‘¼Œ©�Ï•\Ž¦ƒ{ƒ^ƒ“•\Ž¦
         /// </summary>
         public bool Panel3Visible
@@ -1145,90 +1158,6 @@
         }
         #endregion
 
-        #region �\�¿ƒ{ƒ^ƒ“‰Ÿ‰º
-        /// <summary>
-        /// �\�¿ƒ{ƒ^ƒ“‰Ÿ‰º
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void btnPetition_Click(object sender, EventArgs e)
-        {
-            try
-            {
-                if (CommonMotions.OperationConfirmation())
-                {
-                    // ˆê�l�³”F�ˆ—�
-                    if (!OneApprovalProcess()) return;
-                }
-                else
-                {
-                    // ƒIƒŠƒWƒiƒ‹�\�¿�ˆ—�
-                    if (!PettionProcess()) return;
-                }
-
-                // �eƒtƒH�[ƒ€�I—¹
-                m_ParentEnd = true;
-
-                // �I—¹�ˆ—�OFF
-                m_CloseingProcessOn = false;
-
-                // Ž©ƒtƒH�[ƒ€�I—¹
-                this.Close();
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region �³”Fƒ{ƒ^ƒ“‰Ÿ‰º
-        /// <summary>
-        /// �³”Fƒ{ƒ^ƒ“‰Ÿ‰º
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void btnApproval_Click(object sender, EventArgs e)
-        {
-            try
-            {
-                // ƒf�[ƒ^•Ï�X—LŽž‚Íƒf�[ƒ^“o˜^
-                if (m_bChengeAns)
-                {
-                    if (!DataEntryProcess()) return;
-                }
-
-                // �\�¿�E�³”FŽž‚Ì�‡�˜ƒ`ƒFƒbƒN
-                if (!CheckApprovalSequence()) return;
-
-                // ‹N“®”Ô�†
-                int NowPoint = ClsExcute.NextProcess((int)ClsExcute.SubFormExecuteNo.ApprovalScreen);
-                
-                // �HŽ–”Ô�†
-                ClsExcute.ProcControlPara[NowPoint].IntExecParameter.Add(m_ConstructionBaseInfo.ConstructionCode);
-                
-                // �³”F‹@”\”Ô�†
-                int iApprovalCode = ClsExcute.AppovalList.First(x => x.Value.Equals("�ÏŽZŒ©�Ï�‘�³”F")).Key;
-                ClsExcute.ProcControlPara[NowPoint].IntExecParameter.Add(iApprovalCode);
-
-                // Žó•t”Ô�†
-                ClsExcute.ProcControlPara[NowPoint].IntExecParameter.Add(CommonDefine.s_Default_OrderNo);
-
-                // �eƒtƒH�[ƒ€�I—¹
-                m_ParentEnd = true;
-
-                // �I—¹�ˆ—�OFF
-                m_CloseingProcessOn = false;
-                // Ž©ƒtƒH�[ƒ€�I—¹
-                this.Close();
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
         #region �‰ŠúƒtƒH�[ƒ€ƒ��[ƒh
         /// <summary>
         /// �‰ŠúƒtƒH�[ƒ€ƒ��[ƒh
@@ -1957,6 +1886,90 @@
         }
         #endregion
 
+        #region �\�¿ƒ{ƒ^ƒ“‰Ÿ‰º
+        /// <summary>
+        /// �\�¿ƒ{ƒ^ƒ“‰Ÿ‰º
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void btnPetition_Click(object sender, EventArgs e)
+        {
+            try
+            {
+                if (CommonMotions.OperationConfirmation())
+                {
+                    // ˆê�l�³”F�ˆ—�
+                    if (!OneApprovalProcess()) return;
+                }
+                else
+                {
+                    // ƒIƒŠƒWƒiƒ‹�\�¿�ˆ—�
+                    if (!PettionProcess()) return;
+                }
+
+                // �eƒtƒH�[ƒ€�I—¹
+                m_ParentEnd = true;
+
+                // �I—¹�ˆ—�OFF
+                m_CloseingProcessOn = false;
+
+                // Ž©ƒtƒH�[ƒ€�I—¹
+                this.Close();
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region �³”Fƒ{ƒ^ƒ“‰Ÿ‰º
+        /// <summary>
+        /// �³”Fƒ{ƒ^ƒ“‰Ÿ‰º
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void btnApproval_Click(object sender, EventArgs e)
+        {
+            try
+            {
+                // ƒf�[ƒ^•Ï�X—LŽž‚Íƒf�[ƒ^“o˜^
+                if (m_bChengeAns)
+                {
+                    if (!DataEntryProcess()) return;
+                }
+
+                // �\�¿�E�³”FŽž‚Ì�‡�˜ƒ`ƒFƒbƒN
+                if (!CheckApprovalSequence()) return;
+
+                // ‹N“®”Ô�†
+                int NowPoint = ClsExcute.NextProcess((int)ClsExcute.SubFormExecuteNo.ApprovalScreen);
+
+                // �HŽ–”Ô�†
+                ClsExcute.ProcControlPara[NowPoint].IntExecParameter.Add(m_ConstructionBaseInfo.ConstructionCode);
+
+                // �³”F‹@”\”Ô�†
+                int iApprovalCode = ClsExcute.AppovalList.First(x => x.Value.Equals("�ÏŽZŒ©�Ï�‘�³”F")).Key;
+                ClsExcute.ProcControlPara[NowPoint].IntExecParameter.Add(iApprovalCode);
+
+                // Žó•t”Ô�†
+                ClsExcute.ProcControlPara[NowPoint].IntExecParameter.Add(CommonDefine.s_Default_OrderNo);
+
+                // �eƒtƒH�[ƒ€�I—¹
+                m_ParentEnd = true;
+
+                // �I—¹�ˆ—�OFF
+                m_CloseingProcessOn = false;
+                // Ž©ƒtƒH�[ƒ€�I—¹
+                this.Close();
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
         #region �³”Fƒpƒlƒ‹�ipnlApproval�j�³”Fƒ{ƒ^ƒ“
         /// <summary>
         /// �³”Fƒpƒlƒ‹�ipnlApproval�j�³”Fƒ{ƒ^ƒ“
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateInput/FrmEstimateInputAuxiliary.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateInput/FrmEstimateInputAuxiliary.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateInput/FrmEstimateInputAuxiliary.cs	(revision 468)
@@ -103,6 +103,10 @@
 
                 // å‰²å½“é‡‘é¡�è¨ˆç®—ãƒ•ãƒ©ã‚°Off
                 bAmountAllocationStopFlg = false;
+
+                // ç©�ç®—äºˆç®—æ›¸ç”³è«‹æ™‚ãƒªãƒ³ã‚¯å‡¦ç�†
+                if (m_CheckForm)
+                    LinkBudgetPetitionProc();
             }
             catch (Exception ex)
             {
@@ -1962,7 +1966,7 @@
             try
             {
                 // åˆ�æœŸæ™‚è¡¨ç¤ºã�—ã�ªã�„
-                if (bAmountAllocationStopFlg) return;
+                if (bAmountAllocationStopFlg && !m_CheckForm) return;
 
                 // ã‚¯ãƒªã‚¢
                 m_AmountList.Clear();
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateInput/ProcessControl.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateInput/ProcessControl.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateInput/ProcessControl.cs	(revision 468)
@@ -96,6 +96,9 @@
                     // è‡ªãƒ—ãƒ­ã‚»ã‚¹ã�¯å‡¦ç�†ã�—ã�ªã�„
                     if (CurRec.Key == s_CurrentProcessNo) continue;
 
+                    // è£½å“�ã�«ã‚ˆã�£ã�¦ã�®å®Ÿè£…ãƒ�ã‚§ãƒƒã‚¯
+                    if (!ClsExcute.GetImplementationProcess(CurRec.Key)) continue;
+
                     //ã‚¤ãƒ™ãƒ³ãƒˆã�®ç™»éŒ²
                     switch (CurRec.Key)
                     {
@@ -232,6 +235,7 @@
         {
             try
             {
+                if (ClsExcute.ProcControlPara.Count < 1) return false;
                 // ãƒ—ãƒ­ã‚»ã‚¹èµ·å‹•ãƒ†ãƒ¼ãƒ–ãƒ«ã�«ç”³è«‹ç”»é�¢ã�Œè¨­å®šã�•ã‚Œã�¦ã�„ã‚‹å ´å�ˆã�¯true
                 int NextProcess = ClsExcute.ProcControlPara[ClsExcute.GetNowProcessPoint()].ProcNo;
                 if (NextProcess == (int)ClsExcute.SubFormExecuteNo.ApprovalScreen) return true;
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimatePrint/FrmEstimatePrintAuxiliary.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimatePrint/FrmEstimatePrintAuxiliary.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimatePrint/FrmEstimatePrintAuxiliary.cs	(revision 468)
@@ -670,7 +670,8 @@
                 }
                 else
                 {
-                    objPrint0[1, (int)Cover1ColumCharctor.ColumM] = CommonMotions.GetNameOfAnEra(DateTime.Now) + "   å¹´   æœˆ   æ—¥";
+                    //objPrint0[1, (int)Cover1ColumCharctor.ColumM] = CommonMotions.GetNameOfAnEra(DateTime.Now) + "   å¹´   æœˆ   æ—¥";
+                    objPrint0[1, (int)Cover1ColumCharctor.ColumM] = DateTime.Now.ToShortDateString();
                 }
 
                 objPrint0[5, (int)Cover1ColumCharctor.ColumC] =
@@ -795,7 +796,8 @@
                 }
                 else
                 {
-                    objPrint[0, (int)Cover2ColumCharctor.ColumE] = CommonMotions.GetNameOfAnEra(DateTime.Now) + "   å¹´   æœˆ   æ—¥";
+                    //objPrint[0, (int)Cover2ColumCharctor.ColumE] = CommonMotions.GetNameOfAnEra(DateTime.Now) + "   å¹´   æœˆ   æ—¥";
+                    objPrint[0, (int)Cover2ColumCharctor.ColumE] = DateTime.Now.ToShortDateString();
                 }
 
                 objPrint[2, (int)Cover2ColumCharctor.ColumE] = GetDictionaryMember(workDic, (int)ConstructionBaseInfoDetail.DataNoDef.ConstructionName).Trim();         // å·¥äº‹å��ç§°
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimatePrint/ProcessControl.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimatePrint/ProcessControl.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimatePrint/ProcessControl.cs	(revision 468)
@@ -96,6 +96,9 @@
                     // è‡ªãƒ—ãƒ­ã‚»ã‚¹ã�¯å‡¦ç�†ã�—ã�ªã�„
                     if (CurRec.Key == s_CurrentProcessNo) continue;
 
+                    // è£½å“�ã�«ã‚ˆã�£ã�¦ã�®å®Ÿè£…ãƒ�ã‚§ãƒƒã‚¯
+                    if (!ClsExcute.GetImplementationProcess(CurRec.Key)) continue;
+
                     //ã‚¤ãƒ™ãƒ³ãƒˆã�®ç™»éŒ²
                     switch (CurRec.Key)
                     {
@@ -232,6 +235,7 @@
         {
             try
             {
+                if (ClsExcute.ProcControlPara.Count < 1) return false;
                 // ãƒ—ãƒ­ã‚»ã‚¹èµ·å‹•ãƒ†ãƒ¼ãƒ–ãƒ«ã�«ç”³è«‹ç”»é�¢ã�Œè¨­å®šã�•ã‚Œã�¦ã�„ã‚‹å ´å�ˆã�¯true
                 int NextProcess = ClsExcute.ProcControlPara[ClsExcute.GetNowProcessPoint()].ProcNo;
                 if (NextProcess == (int)ClsExcute.SubFormExecuteNo.ApprovalScreen) return true;
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Material/ConstrMATLList/FrmConstrMATLList.designer.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Material/ConstrMATLList/FrmConstrMATLList.designer.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Material/ConstrMATLList/FrmConstrMATLList.designer.cs	(revision 468)
@@ -143,7 +143,7 @@
             this.radioButton2.Checked = true;
             this.radioButton2.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.radioButton2.ForeColor = System.Drawing.Color.Black;
-            this.radioButton2.Location = new System.Drawing.Point(662, 32);
+            this.radioButton2.Location = new System.Drawing.Point(662, 30);
             this.radioButton2.Name = "radioButton2";
             this.radioButton2.Size = new System.Drawing.Size(77, 20);
             this.radioButton2.TabIndex = 44;
@@ -158,7 +158,7 @@
             this.radioButton1.BackColor = System.Drawing.Color.Transparent;
             this.radioButton1.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.radioButton1.ForeColor = System.Drawing.Color.Black;
-            this.radioButton1.Location = new System.Drawing.Point(662, 12);
+            this.radioButton1.Location = new System.Drawing.Point(662, 10);
             this.radioButton1.Name = "radioButton1";
             this.radioButton1.Size = new System.Drawing.Size(77, 20);
             this.radioButton1.TabIndex = 43;
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Material/MaterialReserveEntry/ProcessControl.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Material/MaterialReserveEntry/ProcessControl.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Material/MaterialReserveEntry/ProcessControl.cs	(revision 468)
@@ -96,6 +96,9 @@
                     // è‡ªãƒ—ãƒ­ã‚»ã‚¹ã�¯å‡¦ç�†ã�—ã�ªã�„
                     if (CurRec.Key == s_CurrentProcessNo) continue;
 
+                    // è£½å“�ã�«ã‚ˆã�£ã�¦ã�®å®Ÿè£…ãƒ�ã‚§ãƒƒã‚¯
+                    if (!ClsExcute.GetImplementationProcess(CurRec.Key)) continue;
+
                     //ã‚¤ãƒ™ãƒ³ãƒˆã�®ç™»éŒ²
                     switch (CurRec.Key)
                     {
@@ -232,6 +235,7 @@
         {
             try
             {
+                if (ClsExcute.ProcControlPara.Count < 1) return false;
                 // ãƒ—ãƒ­ã‚»ã‚¹èµ·å‹•ãƒ†ãƒ¼ãƒ–ãƒ«ã�«ç”³è«‹ç”»é�¢ã�Œè¨­å®šã�•ã‚Œã�¦ã�„ã‚‹å ´å�ˆã�¯true
                 int NextProcess = ClsExcute.ProcControlPara[ClsExcute.GetNowProcessPoint()].ProcNo;
                 if (NextProcess == (int)ClsExcute.SubFormExecuteNo.ApprovalScreen) return true;
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Material/MaterialReturnEntry/ProcessControl.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Material/MaterialReturnEntry/ProcessControl.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Material/MaterialReturnEntry/ProcessControl.cs	(revision 468)
@@ -96,6 +96,9 @@
                     // è‡ªãƒ—ãƒ­ã‚»ã‚¹ã�¯å‡¦ç�†ã�—ã�ªã�„
                     if (CurRec.Key == s_CurrentProcessNo) continue;
 
+                    // è£½å“�ã�«ã‚ˆã�£ã�¦ã�®å®Ÿè£…ãƒ�ã‚§ãƒƒã‚¯
+                    if (!ClsExcute.GetImplementationProcess(CurRec.Key)) continue;
+
                     //ã‚¤ãƒ™ãƒ³ãƒˆã�®ç™»éŒ²
                     switch (CurRec.Key)
                     {
@@ -232,6 +235,7 @@
         {
             try
             {
+                if (ClsExcute.ProcControlPara.Count < 1) return false;
                 // ãƒ—ãƒ­ã‚»ã‚¹èµ·å‹•ãƒ†ãƒ¼ãƒ–ãƒ«ã�«ç”³è«‹ç”»é�¢ã�Œè¨­å®šã�•ã‚Œã�¦ã�„ã‚‹å ´å�ˆã�¯true
                 int NextProcess = ClsExcute.ProcControlPara[ClsExcute.GetNowProcessPoint()].ProcNo;
                 if (NextProcess == (int)ClsExcute.SubFormExecuteNo.ApprovalScreen) return true;
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PersonApprovalList/FrmPersonAppList.Designer.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PersonApprovalList/FrmPersonAppList.Designer.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PersonApprovalList/FrmPersonAppList.Designer.cs	(revision 468)
@@ -332,7 +332,7 @@
             this.radioButton2.BackColor = System.Drawing.Color.Transparent;
             this.radioButton2.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.radioButton2.ForeColor = System.Drawing.Color.Black;
-            this.radioButton2.Location = new System.Drawing.Point(701, 32);
+            this.radioButton2.Location = new System.Drawing.Point(701, 30);
             this.radioButton2.Name = "radioButton2";
             this.radioButton2.Size = new System.Drawing.Size(77, 20);
             this.radioButton2.TabIndex = 44;
@@ -347,7 +347,7 @@
             this.radioButton1.Checked = true;
             this.radioButton1.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.radioButton1.ForeColor = System.Drawing.Color.Black;
-            this.radioButton1.Location = new System.Drawing.Point(701, 12);
+            this.radioButton1.Location = new System.Drawing.Point(701, 10);
             this.radioButton1.Name = "radioButton1";
             this.radioButton1.Size = new System.Drawing.Size(77, 20);
             this.radioButton1.TabIndex = 43;
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Proceedings/ProcessControl.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Proceedings/ProcessControl.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Proceedings/ProcessControl.cs	(revision 468)
@@ -96,6 +96,9 @@
                     // è‡ªãƒ—ãƒ­ã‚»ã‚¹ã�¯å‡¦ç�†ã�—ã�ªã�„
                     if (CurRec.Key == s_CurrentProcessNo) continue;
 
+                    // è£½å“�ã�«ã‚ˆã�£ã�¦ã�®å®Ÿè£…ãƒ�ã‚§ãƒƒã‚¯
+                    if (!ClsExcute.GetImplementationProcess(CurRec.Key)) continue;
+
                     //ã‚¤ãƒ™ãƒ³ãƒˆã�®ç™»éŒ²
                     switch (CurRec.Key)
                     {
@@ -232,6 +235,7 @@
         {
             try
             {
+                if (ClsExcute.ProcControlPara.Count < 1) return false;
                 // ãƒ—ãƒ­ã‚»ã‚¹èµ·å‹•ãƒ†ãƒ¼ãƒ–ãƒ«ã�«ç”³è«‹ç”»é�¢ã�Œè¨­å®šã�•ã‚Œã�¦ã�„ã‚‹å ´å�ˆã�¯true
                 int NextProcess = ClsExcute.ProcControlPara[ClsExcute.GetNowProcessPoint()].ProcNo;
                 if (NextProcess == (int)ClsExcute.SubFormExecuteNo.ApprovalScreen) return true;
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/CreateNewTabPage.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/CreateNewTabPage.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/CreateNewTabPage.cs	(revision 468)
@@ -295,7 +295,7 @@
                 NewPage.Group3Fix[0].Text = "å¥‘ç´„ç· çµ�å¾Œ";
                 NewPage.Group3Fix[0].TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
 
-                // æ—¥ä»˜
+                // å‰�æ‰•é‡‘æ—¥ä»˜
                 NewPage.Group3TextBox[(int)Group3TextBox.PrePaymentsDays].BackColor = System.Drawing.Color.White;
                 NewPage.Group3TextBox[(int)Group3TextBox.PrePaymentsDays].Enabled = false;
                 NewPage.Group3TextBox[(int)Group3TextBox.PrePaymentsDays].Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
@@ -751,9 +751,11 @@
                 wrkGB.Controls.Add(NewPage.Group1Button[(int)Group1Button.Down]);   // ç™ºæ³¨æ˜Žç´°ã‚°ãƒ«ãƒ¼ãƒ—Downãƒœã‚¿ãƒ³
                 wrkGB.Controls.Add(NewPage.Group1DataGridView);                     // ç™ºæ³¨æ˜Žç´°ã‚°ãƒ«ãƒ¼ãƒ—DataGridViewEX
                 wrkGB.Controls.Add(NewPage.Group1Label);                            // å�ˆè¨ˆé‡‘é¡�
-                wrkGB.Location = new System.Drawing.Point(6, 38);
+                wrkGB.Controls.Add(NewPage.Group1CellTotal);                        // ã‚°ãƒªãƒƒãƒ‰è¨ˆç®—è¨ˆ
+
+                wrkGB.Location = new System.Drawing.Point(6, 36);
                 wrkGB.Name = string.Format("PageGroupBoxDetailGroup{0}", PageCount);
-                wrkGB.Size = new System.Drawing.Size(1290, 268);
+                wrkGB.Size = new System.Drawing.Size(1290, 272);
                 wrkGB.TabStop = false;
                 wrkGB.Text = "ç™ºæ³¨æ›¸æ˜Žç´°";
 
@@ -937,6 +939,7 @@
                 wrkGrid.CellEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvAllDisplay_CellEnter);
                 wrkGrid.CellValidated += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvAllDisplay_CellValidated);
                 wrkGrid.CellValueChanged += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvAllDisplay_CellValueChanged);
+                wrkGrid.MouseUp += new System.Windows.Forms.MouseEventHandler(this.dgvAllDisplay_MouseUp);
 
                 // è¡Œã�®è¿½åŠ 
                 wrkGrid.Rows.Add(15);
@@ -956,7 +959,7 @@
 
                 // label13
                 NewPage.Group1Fix[1].BackColor = System.Drawing.Color.White;
-                NewPage.Group1Fix[1].Location = new System.Drawing.Point(286, 240);
+                NewPage.Group1Fix[1].Location = new System.Drawing.Point(304, 240);
                 NewPage.Group1Fix[1].Name = string.Format("Group1Fix1{0}", PageCount);
                 NewPage.Group1Fix[1].Size = new System.Drawing.Size(202, 25);
                 NewPage.Group1Fix[1].Text = "ä»˜ã�‘æ��å‡ºè¦‹ç©�ã‚‚ã‚Šã�«ã‚ˆã‚‹";
@@ -972,11 +975,12 @@
                 NewPage.Group1Label.Text = string.Empty;
                 NewPage.Group1Label.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
 
-                // æœ€çµ‚è¡Œè¡¨ç¤ºæ—¥ä»˜
+                // è¦‹ç©�æ›¸å�—å�–æ—¥ä»˜
+                NewPage.Group1TextBox.Font = new System.Drawing.Font("Century", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
                 NewPage.Group1TextBox.ImeMode = System.Windows.Forms.ImeMode.Disable;
-                NewPage.Group1TextBox.Location = new System.Drawing.Point(176, 241);
+                NewPage.Group1TextBox.Location = new System.Drawing.Point(176, 239);
                 NewPage.Group1TextBox.Name = string.Format("Group1Value{0}", PageCount);
-                NewPage.Group1TextBox.Size = new System.Drawing.Size(110, 23);
+                NewPage.Group1TextBox.Size = new System.Drawing.Size(120, 27);
                 NewPage.Group1TextBox.TabIndex = 2;
                 NewPage.Group1TextBox.Text = string.Empty;
                 NewPage.Group1TextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
@@ -984,6 +988,17 @@
                 NewPage.Group1TextBox.TextChanged += new System.EventHandler(this.txtBox_TextChanged);
                 NewPage.Group1TextBox.Validated += new System.EventHandler(this.textBoxS002_Validated);
 
+                // ã‚°ãƒªãƒƒãƒ‰è¨ˆç®—è¨ˆ
+                NewPage.Group1CellTotal.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+                NewPage.Group1CellTotal.AutoSize = true;
+                NewPage.Group1CellTotal.BackColor = System.Drawing.Color.WhiteSmoke;
+                NewPage.Group1CellTotal.Font = new System.Drawing.Font("ï¼­ï¼³ ï¼°æ˜Žæœ�", 9.75F, System.Drawing.FontStyle.Bold);
+                NewPage.Group1CellTotal.ForeColor = System.Drawing.Color.Black;
+                NewPage.Group1CellTotal.Location = new System.Drawing.Point(550, 244);
+                NewPage.Group1CellTotal.Name = "Group1CellTotal";
+                NewPage.Group1CellTotal.Size = new System.Drawing.Size(0, 13);
+                NewPage.Group1CellTotal.Text = string.Empty;
+
                 // btnDispDown
                 NewPage.Group1Button[(int)Group1Button.Down].Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
                 NewPage.Group1Button[(int)Group1Button.Down].Location = new System.Drawing.Point(1244, 141);
@@ -1085,7 +1100,7 @@
                 wrkLbl3.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
                 wrkLbl3.Location = new System.Drawing.Point(874, 8);
                 wrkLbl3.Name = string.Format("PageValueOrderPrice{0}", PageCount);
-                wrkLbl3.Size = new System.Drawing.Size(170, 22);
+                wrkLbl3.Size = new System.Drawing.Size(170, 25);
                 wrkLbl3.Text = string.Empty;
                 wrkLbl3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
 
@@ -1100,13 +1115,15 @@
                 wrkLbl4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
 
                 // ç™ºæ³¨æ›¸ä½œæˆ�æ—¥
-                NewPage.PageTextBox.Location = new System.Drawing.Point(1180, 8);
+                NewPage.PageTextBox.Font = new System.Drawing.Font("Century", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+                NewPage.PageTextBox.Location = new System.Drawing.Point(1180, 6);
                 NewPage.PageTextBox.Name = string.Format("NewPagePageTextBox{0}", PageCount);
-                NewPage.PageTextBox.Size = new System.Drawing.Size(114, 23);
-                NewPage.PageTextBox.TextAlign = HorizontalAlignment.Right;
+                NewPage.PageTextBox.Size = new System.Drawing.Size(120, 27);
+                NewPage.PageTextBox.TextAlign = HorizontalAlignment.Center;
                 NewPage.PageTextBox.TabIndex = 0;
                 NewPage.PageTextBox.Enter += new System.EventHandler(this.txtBoxS001_Enter);
                 NewPage.PageTextBox.TextChanged += new System.EventHandler(this.txtBox_TextChanged);
+                NewPage.PageTextBox.Validated += new System.EventHandler(this.textBoxS002_Validated);
 
                 // ä¸�è¦�åˆ†(æ•°å�ˆã‚�ã�›ã�®ç‚ºã�«ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã�¯ä½œæˆ�ã�™ã‚‹ã�Œæœªä½¿ç”¨)
                 NewPage.PageValueItem[(int)PageValue.OrderDate].Visible = false;
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/FrmOrderEntryList.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/FrmOrderEntryList.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/FrmOrderEntryList.cs	(revision 468)
@@ -185,6 +185,11 @@
         private bool m_EditLock = false;
 
         /// <summary>
+        /// çµ‚äº†ãƒœã‚¿ãƒ³æŠ¼ä¸‹ãƒ•ãƒ©ã‚°
+        /// </summary>
+        private bool m_CloseingProcessOn = true;
+
+        /// <summary>
         /// ãƒ©ãƒ™ãƒ«ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ä¿�æŒ�é…�åˆ—
         /// </summary>
         private Control[] m_DspLabelCtrl;
@@ -204,6 +209,17 @@
         /// </summary>
         private bool m_NewApprovalFlg = false;
 
+        // *-----* å…±é€šå‡¦ç�†è¨­å®š *-----*
+        /// <summary>
+        /// ã‚µãƒ–ãƒ•ã‚©ãƒ¼ãƒ ãƒ•ãƒ©ã‚°
+        /// </summary>
+        private bool m_SubForm = false;
+        /// <summary>
+        /// å‘¼å‡ºå…ƒçµ‚äº†ãƒ•ãƒ©ã‚°
+        /// </summary>
+        private bool m_ParentEnd = false;
+        // *-----* å…±é€šå‡¦ç�†è¨­å®š *-----*
+
         #endregion
 
         #region ãƒ—ãƒ­ãƒ‘ãƒ†ã‚£
@@ -271,6 +287,25 @@
             set { m_NewApprovalFlg = value; }
         }
 
+        // *-----* å…±é€šå‡¦ç�†è¨­å®š *-----*
+        /// <summary>
+        /// ã‚µãƒ–ãƒ•ã‚©ãƒ¼ãƒ ãƒ•ãƒ©ã‚°
+        /// </summary>
+        public bool SubForm
+        {
+            get { return m_SubForm; }
+            set { m_SubForm = value; }
+        }
+        /// <summary>
+        /// å‘¼å‡ºå…ƒçµ‚äº†ãƒ•ãƒ©ã‚°
+        /// </summary>
+        public bool ParentEnd
+        {
+            get { return m_ParentEnd; }
+            set { m_ParentEnd = value; }
+        }
+        // *-----* å…±é€šå‡¦ç�†è¨­å®š *-----*
+
         #endregion
 
         #region ã‚³ãƒ³ã‚¹ãƒˆãƒ©ã‚¯ã‚¿
@@ -316,7 +351,10 @@
             try
             {
                 // çµ‚äº†ãƒœã‚¿ãƒ³ã�ŒONã�ªã‚‰ã�°å‰�ãƒ—ãƒ­ã‚»ã‚¹ã�«æˆ»ã‚‹
-                if (m_ComplateFlg == DialogResult.Cancel) ClsExcute.BackProcess();
+                if (m_ComplateFlg == DialogResult.Cancel)
+                {
+                    if (m_CloseingProcessOn) ClsExcute.BackProcess();
+                }
             }
             catch (System.Exception ex)
             {
@@ -333,6 +371,12 @@
         /// <param name="e"></param>
         private void btnEnd_Click(object sender, EventArgs e)
         {
+            // ã‚µãƒ–ãƒ•ã‚©ãƒ¼ãƒ èµ·å‹•ä»¥å¤–ã�¯çµ‚äº†å‡¦ç�†ON
+            if (!m_SubForm)
+                m_CloseingProcessOn = true;
+            else
+                m_CloseingProcessOn = false;
+
             m_ComplateFlg = DialogResult.Cancel;
             this.Close();
         }
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/FrmPurchaseOrderEntry.Designer.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/FrmPurchaseOrderEntry.Designer.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/FrmPurchaseOrderEntry.Designer.cs	(revision 468)
@@ -28,22 +28,23 @@
         /// </summary>
         private void InitializeComponent()
         {
-            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();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle21 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle22 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle();
             this.label1 = new System.Windows.Forms.Label();
             this.panel1 = new System.Windows.Forms.Panel();
+            this.txtlabel11 = new System.Windows.Forms.TextBox();
+            this.txtlabel8 = new System.Windows.Forms.TextBox();
             this.btnInputImage = new System.Windows.Forms.Button();
             this.label9 = new System.Windows.Forms.Label();
-            this.label8 = new System.Windows.Forms.Label();
             this.lblFixComment = new System.Windows.Forms.Label();
             this.lblLabel01 = new System.Windows.Forms.Label();
             this.panel2 = new System.Windows.Forms.Panel();
@@ -58,7 +59,6 @@
             this.label14 = new System.Windows.Forms.Label();
             this.label4 = new System.Windows.Forms.Label();
             this.label5 = new System.Windows.Forms.Label();
-            this.label11 = new System.Windows.Forms.Label();
             this.lblLabel04 = new System.Windows.Forms.Label();
             this.pnlApproval = new System.Windows.Forms.Panel();
             this.lblApprovalCount = new System.Windows.Forms.Label();
@@ -74,6 +74,19 @@
             this.btnEnd = new System.Windows.Forms.Button();
             this.tabPage1 = new System.Windows.Forms.TabPage();
             this.panel3 = new System.Windows.Forms.Panel();
+            this.lbl001 = new System.Windows.Forms.Label();
+            this.lbl003 = new System.Windows.Forms.Label();
+            this.label18 = new System.Windows.Forms.Label();
+            this.txtBoxS001 = new System.Windows.Forms.TextBox();
+            this.lbl002 = new System.Windows.Forms.Label();
+            this.label15 = new System.Windows.Forms.Label();
+            this.TabCollections = new System.Windows.Forms.TabControl();
+            this.btnOtherProc = new System.Windows.Forms.Button();
+            this.btnPageDelete = new System.Windows.Forms.Button();
+            this.btnChangeCompany = new System.Windows.Forms.Button();
+            this.button1 = new System.Windows.Forms.Button();
+            this.btnLineDelete = new System.Windows.Forms.Button();
+            this.btnHelp = new System.Windows.Forms.Button();
             this.groupBox3 = new ProcessManagement.Forms.CustomControls.GroupBoxEx();
             this.label40 = new System.Windows.Forms.Label();
             this.txtBoxR013 = new System.Windows.Forms.TextBox();
@@ -121,11 +134,6 @@
             this.label19 = new System.Windows.Forms.Label();
             this.label6 = new System.Windows.Forms.Label();
             this.label22 = new System.Windows.Forms.Label();
-            this.lbl001 = new System.Windows.Forms.Label();
-            this.lbl003 = new System.Windows.Forms.Label();
-            this.label18 = new System.Windows.Forms.Label();
-            this.txtBoxS001 = new System.Windows.Forms.TextBox();
-            this.lbl002 = new System.Windows.Forms.Label();
             this.groupBox4 = new ProcessManagement.Forms.CustomControls.GroupBoxEx();
             this.dgvTerms = new ProcessManagement.Forms.CustomControls.DataGridViewEX();
             this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -153,14 +161,7 @@
             this.ColDataFlg = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.label15 = new System.Windows.Forms.Label();
-            this.TabCollections = new System.Windows.Forms.TabControl();
-            this.btnOtherProc = new System.Windows.Forms.Button();
-            this.btnPageDelete = new System.Windows.Forms.Button();
-            this.btnChangeCompany = new System.Windows.Forms.Button();
-            this.button1 = new System.Windows.Forms.Button();
-            this.btnLineDelete = new System.Windows.Forms.Button();
-            this.btnHelp = new System.Windows.Forms.Button();
+            this.lblCellTotal = new System.Windows.Forms.Label();
             this.panel1.SuspendLayout();
             this.panel2.SuspendLayout();
             this.pnlApproval.SuspendLayout();
@@ -167,6 +168,7 @@
             this.pnlApprovalButton.SuspendLayout();
             this.tabPage1.SuspendLayout();
             this.panel3.SuspendLayout();
+            this.TabCollections.SuspendLayout();
             this.groupBox3.SuspendLayout();
             this.groupBox2.SuspendLayout();
             this.groupBox5.SuspendLayout();
@@ -174,7 +176,6 @@
             ((System.ComponentModel.ISupportInitialize)(this.dgvTerms)).BeginInit();
             this.groupBox1.SuspendLayout();
             ((System.ComponentModel.ISupportInitialize)(this.dgvAllDisplay)).BeginInit();
-            this.TabCollections.SuspendLayout();
             this.SuspendLayout();
             // 
             // label1
@@ -196,9 +197,10 @@
             this.panel1.Anchor = System.Windows.Forms.AnchorStyles.Top;
             this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(255)))));
             this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.panel1.Controls.Add(this.txtlabel11);
+            this.panel1.Controls.Add(this.txtlabel8);
             this.panel1.Controls.Add(this.btnInputImage);
             this.panel1.Controls.Add(this.label9);
-            this.panel1.Controls.Add(this.label8);
             this.panel1.Controls.Add(this.lblFixComment);
             this.panel1.Controls.Add(this.lblLabel01);
             this.panel1.Controls.Add(this.panel2);
@@ -211,7 +213,6 @@
             this.panel1.Controls.Add(this.label14);
             this.panel1.Controls.Add(this.label4);
             this.panel1.Controls.Add(this.label5);
-            this.panel1.Controls.Add(this.label11);
             this.panel1.Controls.Add(this.lblLabel04);
             this.panel1.Controls.Add(this.pnlApproval);
             this.panel1.Controls.Add(this.pnlApprovalButton);
@@ -220,6 +221,32 @@
             this.panel1.Size = new System.Drawing.Size(1330, 110);
             this.panel1.TabIndex = 8;
             // 
+            // txtlabel11
+            // 
+            this.txtlabel11.Font = new System.Drawing.Font("Century", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.txtlabel11.Location = new System.Drawing.Point(1209, 62);
+            this.txtlabel11.Name = "txtlabel11";
+            this.txtlabel11.ReadOnly = true;
+            this.txtlabel11.Size = new System.Drawing.Size(114, 27);
+            this.txtlabel11.TabIndex = 117;
+            this.txtlabel11.TabStop = false;
+            this.txtlabel11.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+            this.txtlabel11.TextChanged += new System.EventHandler(this.txtBox_TextChanged);
+            this.txtlabel11.Validated += new System.EventHandler(this.textBoxS002_Validated);
+            // 
+            // txtlabel8
+            // 
+            this.txtlabel8.Font = new System.Drawing.Font("Century", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.txtlabel8.Location = new System.Drawing.Point(1209, 35);
+            this.txtlabel8.Name = "txtlabel8";
+            this.txtlabel8.ReadOnly = true;
+            this.txtlabel8.Size = new System.Drawing.Size(114, 27);
+            this.txtlabel8.TabIndex = 116;
+            this.txtlabel8.TabStop = false;
+            this.txtlabel8.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+            this.txtlabel8.TextChanged += new System.EventHandler(this.txtBox_TextChanged);
+            this.txtlabel8.Validated += new System.EventHandler(this.textBoxS002_Validated);
+            // 
             // btnInputImage
             // 
             this.btnInputImage.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
@@ -238,7 +265,7 @@
             // 
             this.label9.BackColor = System.Drawing.Color.SandyBrown;
             this.label9.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label9.Location = new System.Drawing.Point(1081, 62);
+            this.label9.Location = new System.Drawing.Point(1081, 36);
             this.label9.Name = "label9";
             this.label9.Size = new System.Drawing.Size(120, 25);
             this.label9.TabIndex = 35;
@@ -245,17 +272,6 @@
             this.label9.Text = "ç�€ã€€å·¥ã€€æ—¥";
             this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
             // 
-            // label8
-            // 
-            this.label8.BackColor = System.Drawing.Color.White;
-            this.label8.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label8.ForeColor = System.Drawing.Color.Black;
-            this.label8.Location = new System.Drawing.Point(1209, 62);
-            this.label8.Name = "label8";
-            this.label8.Size = new System.Drawing.Size(114, 25);
-            this.label8.TabIndex = 36;
-            this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
             // lblFixComment
             // 
             this.lblFixComment.AutoSize = true;
@@ -383,7 +399,7 @@
             // 
             this.label14.BackColor = System.Drawing.Color.SandyBrown;
             this.label14.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label14.Location = new System.Drawing.Point(1081, 36);
+            this.label14.Location = new System.Drawing.Point(1081, 62);
             this.label14.Name = "label14";
             this.label14.Size = new System.Drawing.Size(120, 25);
             this.label14.TabIndex = 35;
@@ -412,17 +428,6 @@
             this.label5.Text = "å·¥äº‹æ‹…å½“è€…";
             this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
             // 
-            // label11
-            // 
-            this.label11.BackColor = System.Drawing.Color.White;
-            this.label11.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label11.ForeColor = System.Drawing.Color.Black;
-            this.label11.Location = new System.Drawing.Point(1209, 36);
-            this.label11.Name = "label11";
-            this.label11.Size = new System.Drawing.Size(114, 25);
-            this.label11.TabIndex = 36;
-            this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
             // lblLabel04
             // 
             this.lblLabel04.BackColor = System.Drawing.Color.White;
@@ -629,6 +634,172 @@
             this.panel3.TabIndex = 0;
             this.panel3.Scroll += new System.Windows.Forms.ScrollEventHandler(this.BasePanel_Scroll);
             // 
+            // lbl001
+            // 
+            this.lbl001.BackColor = System.Drawing.Color.White;
+            this.lbl001.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.lbl001.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.lbl001.Location = new System.Drawing.Point(8, 8);
+            this.lbl001.Name = "lbl001";
+            this.lbl001.Size = new System.Drawing.Size(166, 22);
+            this.lbl001.TabIndex = 73;
+            this.lbl001.Text = "2016999901-001";
+            this.lbl001.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+            // 
+            // lbl003
+            // 
+            this.lbl003.BackColor = System.Drawing.Color.White;
+            this.lbl003.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.lbl003.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.lbl003.Location = new System.Drawing.Point(874, 7);
+            this.lbl003.Name = "lbl003";
+            this.lbl003.Size = new System.Drawing.Size(170, 25);
+            this.lbl003.TabIndex = 72;
+            this.lbl003.Text = "\\999,999,999-";
+            this.lbl003.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+            // 
+            // label18
+            // 
+            this.label18.BackColor = System.Drawing.Color.SandyBrown;
+            this.label18.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label18.Location = new System.Drawing.Point(696, 7);
+            this.label18.Name = "label18";
+            this.label18.Size = new System.Drawing.Size(170, 25);
+            this.label18.TabIndex = 71;
+            this.label18.Text = "å�°å¸³ç™ºæ³¨é‡‘é¡�(ç¨Žåˆ¥)";
+            this.label18.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // txtBoxS001
+            // 
+            this.txtBoxS001.Font = new System.Drawing.Font("Century", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.txtBoxS001.Location = new System.Drawing.Point(1180, 6);
+            this.txtBoxS001.Name = "txtBoxS001";
+            this.txtBoxS001.Size = new System.Drawing.Size(120, 27);
+            this.txtBoxS001.TabIndex = 3;
+            this.txtBoxS001.Text = "2019/11/30";
+            this.txtBoxS001.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+            // 
+            // lbl002
+            // 
+            this.lbl002.BackColor = System.Drawing.Color.White;
+            this.lbl002.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.lbl002.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.lbl002.Location = new System.Drawing.Point(182, 8);
+            this.lbl002.Name = "lbl002";
+            this.lbl002.Size = new System.Drawing.Size(500, 22);
+            this.lbl002.TabIndex = 70;
+            this.lbl002.Text = "å�”åŠ›ä¼šç¤¾å��ç§°";
+            this.lbl002.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+            // 
+            // label15
+            // 
+            this.label15.BackColor = System.Drawing.Color.Cyan;
+            this.label15.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label15.Location = new System.Drawing.Point(1052, 7);
+            this.label15.Name = "label15";
+            this.label15.Size = new System.Drawing.Size(120, 25);
+            this.label15.TabIndex = 69;
+            this.label15.Text = "ç™ºæ³¨æ›¸ä½œæˆ�æ—¥";
+            this.label15.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // TabCollections
+            // 
+            this.TabCollections.Alignment = System.Windows.Forms.TabAlignment.Bottom;
+            this.TabCollections.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
+            | System.Windows.Forms.AnchorStyles.Left) 
+            | System.Windows.Forms.AnchorStyles.Right)));
+            this.TabCollections.Controls.Add(this.tabPage1);
+            this.TabCollections.Location = new System.Drawing.Point(7, 150);
+            this.TabCollections.Name = "TabCollections";
+            this.TabCollections.SelectedIndex = 0;
+            this.TabCollections.Size = new System.Drawing.Size(1330, 502);
+            this.TabCollections.TabIndex = 56;
+            // 
+            // btnOtherProc
+            // 
+            this.btnOtherProc.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.btnOtherProc.BackColor = System.Drawing.Color.SpringGreen;
+            this.btnOtherProc.Location = new System.Drawing.Point(7, 656);
+            this.btnOtherProc.Name = "btnOtherProc";
+            this.btnOtherProc.Size = new System.Drawing.Size(160, 30);
+            this.btnOtherProc.TabIndex = 95;
+            this.btnOtherProc.TabStop = false;
+            this.btnOtherProc.Text = "ä»–ã�®ç”»é�¢ã�¸";
+            this.btnOtherProc.UseVisualStyleBackColor = false;
+            this.btnOtherProc.Click += new System.EventHandler(this.btnOtherProc_Click);
+            // 
+            // btnPageDelete
+            // 
+            this.btnPageDelete.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.btnPageDelete.BackColor = System.Drawing.Color.DeepPink;
+            this.btnPageDelete.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.btnPageDelete.ForeColor = System.Drawing.Color.Yellow;
+            this.btnPageDelete.Location = new System.Drawing.Point(812, 655);
+            this.btnPageDelete.Name = "btnPageDelete";
+            this.btnPageDelete.Size = new System.Drawing.Size(120, 30);
+            this.btnPageDelete.TabIndex = 96;
+            this.btnPageDelete.Text = "ãƒšãƒ¼ã‚¸å‰Šé™¤";
+            this.btnPageDelete.UseVisualStyleBackColor = false;
+            this.btnPageDelete.Click += new System.EventHandler(this.btnPageDelete_Click);
+            // 
+            // btnChangeCompany
+            // 
+            this.btnChangeCompany.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.btnChangeCompany.BackColor = System.Drawing.Color.DeepSkyBlue;
+            this.btnChangeCompany.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.btnChangeCompany.ForeColor = System.Drawing.Color.Black;
+            this.btnChangeCompany.Location = new System.Drawing.Point(500, 655);
+            this.btnChangeCompany.Name = "btnChangeCompany";
+            this.btnChangeCompany.Size = new System.Drawing.Size(120, 30);
+            this.btnChangeCompany.TabIndex = 97;
+            this.btnChangeCompany.Text = "ç™ºæ³¨å…ˆå¤‰æ›´";
+            this.btnChangeCompany.UseVisualStyleBackColor = false;
+            this.btnChangeCompany.Click += new System.EventHandler(this.btnChangeCompany_Click);
+            // 
+            // button1
+            // 
+            this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.button1.BackColor = System.Drawing.Color.DarkSlateGray;
+            this.button1.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.button1.ForeColor = System.Drawing.Color.White;
+            this.button1.Location = new System.Drawing.Point(193, 656);
+            this.button1.Name = "button1";
+            this.button1.Size = new System.Drawing.Size(120, 30);
+            this.button1.TabIndex = 97;
+            this.button1.Text = "ãƒ‡ãƒ¼ã‚¿å¤‰æ›´";
+            this.button1.UseVisualStyleBackColor = false;
+            this.button1.Visible = false;
+            this.button1.Click += new System.EventHandler(this.button1_Click);
+            // 
+            // btnLineDelete
+            // 
+            this.btnLineDelete.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.btnLineDelete.BackColor = System.Drawing.Color.LightPink;
+            this.btnLineDelete.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.btnLineDelete.ForeColor = System.Drawing.Color.Red;
+            this.btnLineDelete.Location = new System.Drawing.Point(686, 655);
+            this.btnLineDelete.Name = "btnLineDelete";
+            this.btnLineDelete.Size = new System.Drawing.Size(120, 30);
+            this.btnLineDelete.TabIndex = 96;
+            this.btnLineDelete.Text = "è¡Œã€€å‰Šã€€é™¤";
+            this.btnLineDelete.UseVisualStyleBackColor = false;
+            this.btnLineDelete.Click += new System.EventHandler(this.btnLineDelete_Click);
+            // 
+            // btnHelp
+            // 
+            this.btnHelp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+            this.btnHelp.BackColor = System.Drawing.Color.Black;
+            this.btnHelp.Font = new System.Drawing.Font("MS UI Gothic", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.btnHelp.ForeColor = System.Drawing.Color.White;
+            this.btnHelp.Location = new System.Drawing.Point(1313, 0);
+            this.btnHelp.Name = "btnHelp";
+            this.btnHelp.Size = new System.Drawing.Size(30, 30);
+            this.btnHelp.TabIndex = 115;
+            this.btnHelp.TabStop = false;
+            this.btnHelp.Text = "ï¼Ÿ";
+            this.btnHelp.UseVisualStyleBackColor = false;
+            this.btnHelp.Click += new System.EventHandler(this.btnHelp_Click);
+            // 
             // groupBox3
             // 
             this.groupBox3.BackColor = System.Drawing.Color.White;
@@ -1190,60 +1361,6 @@
             this.label22.Text = "äºº";
             this.label22.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
             // 
-            // lbl001
-            // 
-            this.lbl001.BackColor = System.Drawing.Color.White;
-            this.lbl001.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.lbl001.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.lbl001.Location = new System.Drawing.Point(8, 8);
-            this.lbl001.Name = "lbl001";
-            this.lbl001.Size = new System.Drawing.Size(166, 22);
-            this.lbl001.TabIndex = 73;
-            this.lbl001.Text = "2016999901-001";
-            this.lbl001.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
-            // 
-            // lbl003
-            // 
-            this.lbl003.BackColor = System.Drawing.Color.White;
-            this.lbl003.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.lbl003.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.lbl003.Location = new System.Drawing.Point(874, 8);
-            this.lbl003.Name = "lbl003";
-            this.lbl003.Size = new System.Drawing.Size(170, 22);
-            this.lbl003.TabIndex = 72;
-            this.lbl003.Text = "\\999,999,999-";
-            this.lbl003.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
-            // 
-            // label18
-            // 
-            this.label18.BackColor = System.Drawing.Color.SandyBrown;
-            this.label18.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label18.Location = new System.Drawing.Point(696, 7);
-            this.label18.Name = "label18";
-            this.label18.Size = new System.Drawing.Size(170, 25);
-            this.label18.TabIndex = 71;
-            this.label18.Text = "å�°å¸³ç™ºæ³¨é‡‘é¡�(ç¨Žåˆ¥)";
-            this.label18.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // txtBoxS001
-            // 
-            this.txtBoxS001.Location = new System.Drawing.Point(1180, 8);
-            this.txtBoxS001.Name = "txtBoxS001";
-            this.txtBoxS001.Size = new System.Drawing.Size(114, 23);
-            this.txtBoxS001.TabIndex = 66;
-            // 
-            // lbl002
-            // 
-            this.lbl002.BackColor = System.Drawing.Color.White;
-            this.lbl002.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.lbl002.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.lbl002.Location = new System.Drawing.Point(182, 8);
-            this.lbl002.Name = "lbl002";
-            this.lbl002.Size = new System.Drawing.Size(500, 22);
-            this.lbl002.TabIndex = 70;
-            this.lbl002.Text = "å�”åŠ›ä¼šç¤¾å��ç§°";
-            this.lbl002.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
-            // 
             // groupBox4
             // 
             this.groupBox4.BackColor = System.Drawing.Color.White;
@@ -1264,14 +1381,14 @@
             this.dgvTerms.AllowUserToResizeRows = false;
             this.dgvTerms.BackgroundColor = System.Drawing.Color.White;
             this.dgvTerms.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
-            dataGridViewCellStyle1.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
-            dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
-            dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
-            dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
-            this.dgvTerms.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
+            dataGridViewCellStyle20.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle20.BackColor = System.Drawing.SystemColors.Control;
+            dataGridViewCellStyle20.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            dataGridViewCellStyle20.ForeColor = System.Drawing.SystemColors.WindowText;
+            dataGridViewCellStyle20.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+            dataGridViewCellStyle20.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle20.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvTerms.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle20;
             this.dgvTerms.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
             this.dgvTerms.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
             this.dataGridViewTextBoxColumn2,
@@ -1290,8 +1407,8 @@
             // 
             // dataGridViewTextBoxColumn2
             // 
-            dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dataGridViewTextBoxColumn2.DefaultCellStyle = dataGridViewCellStyle2;
+            dataGridViewCellStyle21.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.dataGridViewTextBoxColumn2.DefaultCellStyle = dataGridViewCellStyle21;
             this.dataGridViewTextBoxColumn2.Frozen = true;
             this.dataGridViewTextBoxColumn2.HeaderText = "â„–";
             this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
@@ -1302,8 +1419,8 @@
             // 
             // dataGridViewTextBoxColumn12
             // 
-            dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            this.dataGridViewTextBoxColumn12.DefaultCellStyle = dataGridViewCellStyle3;
+            dataGridViewCellStyle22.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            this.dataGridViewTextBoxColumn12.DefaultCellStyle = dataGridViewCellStyle22;
             this.dataGridViewTextBoxColumn12.HeaderText = "æ�¡ã€€ã€€ã€€ä»¶";
             this.dataGridViewTextBoxColumn12.Name = "dataGridViewTextBoxColumn12";
             this.dataGridViewTextBoxColumn12.Resizable = System.Windows.Forms.DataGridViewTriState.False;
@@ -1314,6 +1431,7 @@
             // 
             this.groupBox1.BackColor = System.Drawing.Color.White;
             this.groupBox1.BorderColor = System.Drawing.Color.Black;
+            this.groupBox1.Controls.Add(this.lblCellTotal);
             this.groupBox1.Controls.Add(this.label13);
             this.groupBox1.Controls.Add(this.textBoxS002);
             this.groupBox1.Controls.Add(this.label2);
@@ -1321,9 +1439,9 @@
             this.groupBox1.Controls.Add(this.btnDispDown);
             this.groupBox1.Controls.Add(this.btnDispUp);
             this.groupBox1.Controls.Add(this.dgvAllDisplay);
-            this.groupBox1.Location = new System.Drawing.Point(6, 38);
+            this.groupBox1.Location = new System.Drawing.Point(6, 36);
             this.groupBox1.Name = "groupBox1";
-            this.groupBox1.Size = new System.Drawing.Size(1290, 270);
+            this.groupBox1.Size = new System.Drawing.Size(1290, 272);
             this.groupBox1.TabIndex = 68;
             this.groupBox1.TabStop = false;
             this.groupBox1.Text = "ç™ºæ³¨æ›¸æ˜Žç´°";
@@ -1331,7 +1449,7 @@
             // label13
             // 
             this.label13.BackColor = System.Drawing.Color.White;
-            this.label13.Location = new System.Drawing.Point(286, 240);
+            this.label13.Location = new System.Drawing.Point(304, 240);
             this.label13.Name = "label13";
             this.label13.Size = new System.Drawing.Size(202, 25);
             this.label13.TabIndex = 64;
@@ -1340,10 +1458,11 @@
             // 
             // textBoxS002
             // 
-            this.textBoxS002.ImeMode = System.Windows.Forms.ImeMode.On;
-            this.textBoxS002.Location = new System.Drawing.Point(176, 241);
+            this.textBoxS002.Font = new System.Drawing.Font("Century", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.textBoxS002.ImeMode = System.Windows.Forms.ImeMode.Disable;
+            this.textBoxS002.Location = new System.Drawing.Point(176, 239);
             this.textBoxS002.Name = "textBoxS002";
-            this.textBoxS002.Size = new System.Drawing.Size(110, 23);
+            this.textBoxS002.Size = new System.Drawing.Size(120, 27);
             this.textBoxS002.TabIndex = 2;
             this.textBoxS002.Text = "2016/12/31";
             this.textBoxS002.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
@@ -1402,14 +1521,14 @@
             this.dgvAllDisplay.AllowUserToResizeRows = false;
             this.dgvAllDisplay.BackgroundColor = System.Drawing.Color.White;
             this.dgvAllDisplay.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Control;
-            dataGridViewCellStyle4.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText;
-            dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
-            dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
-            dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
-            this.dgvAllDisplay.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4;
+            dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle12.BackColor = System.Drawing.SystemColors.Control;
+            dataGridViewCellStyle12.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            dataGridViewCellStyle12.ForeColor = System.Drawing.SystemColors.WindowText;
+            dataGridViewCellStyle12.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+            dataGridViewCellStyle12.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvAllDisplay.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle12;
             this.dgvAllDisplay.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
             this.dgvAllDisplay.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
             this.dataGridViewTextBoxColumn1,
@@ -1441,8 +1560,8 @@
             // 
             // dataGridViewTextBoxColumn1
             // 
-            dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle5;
+            dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle13;
             this.dataGridViewTextBoxColumn1.Frozen = true;
             this.dataGridViewTextBoxColumn1.HeaderText = "â„–";
             this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
@@ -1480,8 +1599,8 @@
             // 
             // Column5
             // 
-            dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            this.Column5.DefaultCellStyle = dataGridViewCellStyle6;
+            dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            this.Column5.DefaultCellStyle = dataGridViewCellStyle14;
             this.Column5.Frozen = true;
             this.Column5.HeaderText = "å·¥ã€€ç¨®ãƒ»å“�ã€€å��";
             this.Column5.Name = "Column5";
@@ -1491,8 +1610,8 @@
             // 
             // Column6
             // 
-            dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            this.Column6.DefaultCellStyle = dataGridViewCellStyle7;
+            dataGridViewCellStyle15.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            this.Column6.DefaultCellStyle = dataGridViewCellStyle15;
             this.Column6.Frozen = true;
             this.Column6.HeaderText = "å†…ã€€å®¹ã€€å†…ã€€è¨³";
             this.Column6.Name = "Column6";
@@ -1502,10 +1621,10 @@
             // 
             // Column7
             // 
-            dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle8.Format = "N0";
-            dataGridViewCellStyle8.NullValue = null;
-            this.Column7.DefaultCellStyle = dataGridViewCellStyle8;
+            dataGridViewCellStyle16.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle16.Format = "N0";
+            dataGridViewCellStyle16.NullValue = null;
+            this.Column7.DefaultCellStyle = dataGridViewCellStyle16;
             this.Column7.Frozen = true;
             this.Column7.HeaderText = "æ•°ã€€é‡�";
             this.Column7.Name = "Column7";
@@ -1515,8 +1634,8 @@
             // 
             // Column8
             // 
-            dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.Column8.DefaultCellStyle = dataGridViewCellStyle9;
+            dataGridViewCellStyle17.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.Column8.DefaultCellStyle = dataGridViewCellStyle17;
             this.Column8.Frozen = true;
             this.Column8.HeaderText = "å�˜ã€€ä½�";
             this.Column8.Name = "Column8";
@@ -1526,8 +1645,8 @@
             // 
             // Column11
             // 
-            dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.Column11.DefaultCellStyle = dataGridViewCellStyle10;
+            dataGridViewCellStyle18.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            this.Column11.DefaultCellStyle = dataGridViewCellStyle18;
             this.Column11.Frozen = true;
             this.Column11.HeaderText = "å�˜ã€€ä¾¡";
             this.Column11.Name = "Column11";
@@ -1537,8 +1656,8 @@
             // 
             // Column12
             // 
-            dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.Column12.DefaultCellStyle = dataGridViewCellStyle11;
+            dataGridViewCellStyle19.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            this.Column12.DefaultCellStyle = dataGridViewCellStyle19;
             this.Column12.Frozen = true;
             this.Column12.HeaderText = "é‡‘ã€€é¡�";
             this.Column12.Name = "Column12";
@@ -1577,115 +1696,19 @@
             this.Column4.ReadOnly = true;
             this.Column4.Visible = false;
             // 
-            // label15
+            // lblCellTotal
             // 
-            this.label15.BackColor = System.Drawing.Color.Cyan;
-            this.label15.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label15.Location = new System.Drawing.Point(1052, 7);
-            this.label15.Name = "label15";
-            this.label15.Size = new System.Drawing.Size(120, 25);
-            this.label15.TabIndex = 69;
-            this.label15.Text = "ç™ºæ³¨æ›¸ä½œæˆ�æ—¥";
-            this.label15.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            this.lblCellTotal.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.lblCellTotal.AutoSize = true;
+            this.lblCellTotal.BackColor = System.Drawing.Color.WhiteSmoke;
+            this.lblCellTotal.Font = new System.Drawing.Font("ï¼­ï¼³ ï¼°æ˜Žæœ�", 9.75F, System.Drawing.FontStyle.Bold);
+            this.lblCellTotal.ForeColor = System.Drawing.Color.Black;
+            this.lblCellTotal.Location = new System.Drawing.Point(550, 244);
+            this.lblCellTotal.Name = "lblCellTotal";
+            this.lblCellTotal.Size = new System.Drawing.Size(0, 13);
+            this.lblCellTotal.TabIndex = 67;
+            this.lblCellTotal.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
             // 
-            // TabCollections
-            // 
-            this.TabCollections.Alignment = System.Windows.Forms.TabAlignment.Bottom;
-            this.TabCollections.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
-            | System.Windows.Forms.AnchorStyles.Left) 
-            | System.Windows.Forms.AnchorStyles.Right)));
-            this.TabCollections.Controls.Add(this.tabPage1);
-            this.TabCollections.Location = new System.Drawing.Point(7, 150);
-            this.TabCollections.Name = "TabCollections";
-            this.TabCollections.SelectedIndex = 0;
-            this.TabCollections.Size = new System.Drawing.Size(1330, 502);
-            this.TabCollections.TabIndex = 56;
-            // 
-            // btnOtherProc
-            // 
-            this.btnOtherProc.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.btnOtherProc.BackColor = System.Drawing.Color.SpringGreen;
-            this.btnOtherProc.Location = new System.Drawing.Point(7, 656);
-            this.btnOtherProc.Name = "btnOtherProc";
-            this.btnOtherProc.Size = new System.Drawing.Size(160, 30);
-            this.btnOtherProc.TabIndex = 95;
-            this.btnOtherProc.TabStop = false;
-            this.btnOtherProc.Text = "ä»–ã�®ç”»é�¢ã�¸";
-            this.btnOtherProc.UseVisualStyleBackColor = false;
-            this.btnOtherProc.Click += new System.EventHandler(this.btnOtherProc_Click);
-            // 
-            // btnPageDelete
-            // 
-            this.btnPageDelete.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
-            this.btnPageDelete.BackColor = System.Drawing.Color.DeepPink;
-            this.btnPageDelete.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.btnPageDelete.ForeColor = System.Drawing.Color.Yellow;
-            this.btnPageDelete.Location = new System.Drawing.Point(812, 655);
-            this.btnPageDelete.Name = "btnPageDelete";
-            this.btnPageDelete.Size = new System.Drawing.Size(120, 30);
-            this.btnPageDelete.TabIndex = 96;
-            this.btnPageDelete.Text = "ãƒšãƒ¼ã‚¸å‰Šé™¤";
-            this.btnPageDelete.UseVisualStyleBackColor = false;
-            this.btnPageDelete.Click += new System.EventHandler(this.btnPageDelete_Click);
-            // 
-            // btnChangeCompany
-            // 
-            this.btnChangeCompany.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
-            this.btnChangeCompany.BackColor = System.Drawing.Color.DeepSkyBlue;
-            this.btnChangeCompany.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.btnChangeCompany.ForeColor = System.Drawing.Color.Black;
-            this.btnChangeCompany.Location = new System.Drawing.Point(500, 655);
-            this.btnChangeCompany.Name = "btnChangeCompany";
-            this.btnChangeCompany.Size = new System.Drawing.Size(120, 30);
-            this.btnChangeCompany.TabIndex = 97;
-            this.btnChangeCompany.Text = "ç™ºæ³¨å…ˆå¤‰æ›´";
-            this.btnChangeCompany.UseVisualStyleBackColor = false;
-            this.btnChangeCompany.Click += new System.EventHandler(this.btnChangeCompany_Click);
-            // 
-            // button1
-            // 
-            this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
-            this.button1.BackColor = System.Drawing.Color.DarkSlateGray;
-            this.button1.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.button1.ForeColor = System.Drawing.Color.White;
-            this.button1.Location = new System.Drawing.Point(193, 656);
-            this.button1.Name = "button1";
-            this.button1.Size = new System.Drawing.Size(120, 30);
-            this.button1.TabIndex = 97;
-            this.button1.Text = "ãƒ‡ãƒ¼ã‚¿å¤‰æ›´";
-            this.button1.UseVisualStyleBackColor = false;
-            this.button1.Visible = false;
-            this.button1.Click += new System.EventHandler(this.button1_Click);
-            // 
-            // btnLineDelete
-            // 
-            this.btnLineDelete.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
-            this.btnLineDelete.BackColor = System.Drawing.Color.LightPink;
-            this.btnLineDelete.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.btnLineDelete.ForeColor = System.Drawing.Color.Red;
-            this.btnLineDelete.Location = new System.Drawing.Point(686, 655);
-            this.btnLineDelete.Name = "btnLineDelete";
-            this.btnLineDelete.Size = new System.Drawing.Size(120, 30);
-            this.btnLineDelete.TabIndex = 96;
-            this.btnLineDelete.Text = "è¡Œã€€å‰Šã€€é™¤";
-            this.btnLineDelete.UseVisualStyleBackColor = false;
-            this.btnLineDelete.Click += new System.EventHandler(this.btnLineDelete_Click);
-            // 
-            // btnHelp
-            // 
-            this.btnHelp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
-            this.btnHelp.BackColor = System.Drawing.Color.Black;
-            this.btnHelp.Font = new System.Drawing.Font("MS UI Gothic", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.btnHelp.ForeColor = System.Drawing.Color.White;
-            this.btnHelp.Location = new System.Drawing.Point(1313, 0);
-            this.btnHelp.Name = "btnHelp";
-            this.btnHelp.Size = new System.Drawing.Size(30, 30);
-            this.btnHelp.TabIndex = 115;
-            this.btnHelp.TabStop = false;
-            this.btnHelp.Text = "ï¼Ÿ";
-            this.btnHelp.UseVisualStyleBackColor = false;
-            this.btnHelp.Click += new System.EventHandler(this.btnHelp_Click);
-            // 
             // FrmPurchaseOrderEntry
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
@@ -1724,6 +1747,7 @@
             this.tabPage1.ResumeLayout(false);
             this.panel3.ResumeLayout(false);
             this.panel3.PerformLayout();
+            this.TabCollections.ResumeLayout(false);
             this.groupBox3.ResumeLayout(false);
             this.groupBox3.PerformLayout();
             this.groupBox2.ResumeLayout(false);
@@ -1735,7 +1759,6 @@
             this.groupBox1.ResumeLayout(false);
             this.groupBox1.PerformLayout();
             ((System.ComponentModel.ISupportInitialize)(this.dgvAllDisplay)).EndInit();
-            this.TabCollections.ResumeLayout(false);
             this.ResumeLayout(false);
 
         }
@@ -1753,8 +1776,6 @@
         private System.Windows.Forms.Label label14;
         private System.Windows.Forms.Label label9;
         private System.Windows.Forms.Label label5;
-        private System.Windows.Forms.Label label11;
-        private System.Windows.Forms.Label label8;
         private System.Windows.Forms.Label lblLabel04;
         private System.Windows.Forms.Panel panel2;
         private System.Windows.Forms.RadioButton radioButton2;
@@ -1864,5 +1885,8 @@
         private System.Windows.Forms.DataGridViewTextBoxColumn Column3;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column4;
         private System.Windows.Forms.Button btnHelp;
+        private System.Windows.Forms.TextBox txtlabel11;
+        private System.Windows.Forms.TextBox txtlabel8;
+        private System.Windows.Forms.Label lblCellTotal;
     }
 }
\ No newline at end of file
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/FrmPurchaseOrderEntry.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/FrmPurchaseOrderEntry.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/FrmPurchaseOrderEntry.cs	(revision 468)
@@ -109,14 +109,14 @@
             /// </summary>
             SWRate,
         }
-    #endregion
+        #endregion
 
         #region æ�¡ä»¶ã‚°ãƒªãƒƒãƒ‰ã‚¿ã‚¤ãƒˆãƒ«æ–‡å­—
-    /// <summary>
-    /// ç°¡æ˜“ç‰ˆæ�¡ä»¶ã‚°ãƒªãƒƒãƒ‰ã‚¿ã‚¤ãƒˆãƒ«
-    /// </summary>
-    private const string s_TermsTitle1 = "ç™ºæ³¨æ�¡ä»¶";
         /// <summary>
+        /// ç°¡æ˜“ç‰ˆæ�¡ä»¶ã‚°ãƒªãƒƒãƒ‰ã‚¿ã‚¤ãƒˆãƒ«
+        /// </summary>
+        private const string s_TermsTitle1 = "ç™ºæ³¨æ�¡ä»¶";
+        /// <summary>
         /// æ­£è¦�ç‰ˆæ�¡ä»¶ã‚°ãƒªãƒƒãƒ‰ã‚¿ã‚¤ãƒˆãƒ«
         /// </summary>
         private const string s_TermsTitle2 = "æ–½å·¥æŒ‡ç¤ºäº‹é …";
@@ -438,6 +438,11 @@
         private ConstructionBaseInfo m_ConstructionBaseInfo = new ConstructionBaseInfo();
 
         /// <summary>
+        /// è©²å½“å·¥äº‹ç¨®åˆ¥
+        /// </summary>
+        private ConstructionTypeMaster m_ConstructionType = new ConstructionTypeMaster();
+
+        /// <summary>
         /// ã‚¿ãƒ–ãƒšãƒ¼ã‚¸ã�”ã�¨ã�®ãƒªã‚¹ãƒˆ
         /// </summary>
         List<PurchaseOrderInputPage> m_TabPageList = new List<PurchaseOrderInputPage>();
@@ -1479,6 +1484,53 @@
         }
         #endregion
 
+        #region ã‚°ãƒªãƒƒãƒ‰ã�®ãƒžã‚¦ã‚¹ã‚¢ãƒƒãƒ—
+        /// <summary>
+        /// ã‚°ãƒªãƒƒãƒ‰ãƒžã‚¦ã‚¹ã‚¢ãƒƒãƒ—
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void dgvAllDisplay_MouseUp(object sender, MouseEventArgs e)
+        {
+            try
+            {
+                DataGridViewEX dgv = (DataGridViewEX)sender;
+
+                int TabCnt = TabCollections.SelectedIndex;
+                PurchaseOrderInputPage CurPage = m_TabPageList[TabCnt];
+                CurPage.Group1CellTotal.Text = string.Empty;
+
+                double dTotal = 0;
+                int DataCnt = 0;
+                int NumericCnt = 0;
+                foreach (DataGridViewCell c in dgv.SelectedCells)
+                {
+                    if (CommonMotions.chkObjectIsNull(dgv.Rows[c.RowIndex].Cells[c.ColumnIndex])) continue;
+                    if (CommonMotions.chkCellBlank(dgv.Rows[c.RowIndex].Cells[c.ColumnIndex].Value)) continue;
+
+                    //Console.WriteLine("{0}, {1}", c.ColumnIndex, c.RowIndex);
+                    DataCnt++;
+                    dTotal += CommonMotions.cnvDouble(dgv.Rows[c.RowIndex].Cells[c.ColumnIndex].Value);
+                    if (CommonMotions.chkNumeric(dgv.Rows[c.RowIndex].Cells[c.ColumnIndex].Value)) NumericCnt++;
+                }
+                if (DataCnt <= 1 || dTotal == 0 || NumericCnt == 0) return;
+                string strTotal = CommonMotions.cnvTruncate(dTotal).ToString("#,#");
+                if (dTotal - System.Math.Floor(dTotal) != 0) strTotal = dTotal.ToString("#,#.00");
+
+                string strwrkData = string.Format(CommonDefine.s_CalculateCellFormat,
+                                                    CommonMotions.cnvTruncate(dTotal / (double)NumericCnt).ToString("#,#"),
+                                                    DataCnt.ToString("#,#"),
+                                                    strTotal);
+
+                CurPage.Group1CellTotal.Text = strwrkData;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
         #region æ‰¿èª�ãƒ‘ãƒ�ãƒ«ï¼ˆpnlApprovalï¼‰æ‰¿èª�ãƒœã‚¿ãƒ³
         /// <summary>
         /// æ‰¿èª�ãƒ‘ãƒ�ãƒ«ï¼ˆpnlApprovalï¼‰æ‰¿èª�ãƒœã‚¿ãƒ³
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/FrmPurchaseOrderEntry.resx
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/FrmPurchaseOrderEntry.resx	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/FrmPurchaseOrderEntry.resx	(revision 468)
@@ -117,9 +117,6 @@
   <resheader name="writer">
     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
   </resheader>
-  <metadata name="dataGridViewTextBoxColumn12.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
   <metadata name="Column14.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     <value>True</value>
   </metadata>
@@ -153,4 +150,7 @@
   <metadata name="Column4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     <value>True</value>
   </metadata>
+  <metadata name="dataGridViewTextBoxColumn12.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
 </root>
\ No newline at end of file
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/FrmPurchaseOrderEntryAuxiliary.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/FrmPurchaseOrderEntryAuxiliary.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/FrmPurchaseOrderEntryAuxiliary.cs	(revision 468)
@@ -81,6 +81,7 @@
         private bool GetBaseInfoData()
         {
             IOConstructionBaseInfo cbDB = new IOConstructionBaseInfo();
+            IOMConstructionType TypeDB = new IOMConstructionType();
             try
             {
                 StringBuilder strSQL = new StringBuilder();
@@ -87,6 +88,10 @@
                 strSQL.Append(cbDB.CreatePrimarykeyString(m_ConstructionCode));
                 if (!cbDB.SelectAction(strSQL.ToString(), ref m_ConstructionBaseInfo)) return false;
 
+                strSQL.Clear();
+                strSQL.Append(TypeDB.CreatePrimarykeyString(m_ConstructionBaseInfo.ConstructionType));
+                if (!TypeDB.SelectAction(strSQL.ToString(), ref m_ConstructionType)) return false;
+
                 return true;
             }
             catch (Exception ex)
@@ -97,6 +102,7 @@
             finally
             {
                 cbDB.close(); cbDB = null;
+                TypeDB.close(); TypeDB = null;
             }
         }
         #endregion
@@ -115,8 +121,8 @@
             m_DspLabelCtrl[(int)DspLblCtrlName.CreatorName] = lblLabel04;
             m_DspLabelCtrl[(int)DspLblCtrlName.ConstructionType] = label17;
 
-            m_DspLabelCtrl[(int)DspLblCtrlName.StartingDate] = label8;
-            m_DspLabelCtrl[(int)DspLblCtrlName.CompleteDate] = label11;
+            m_DspLabelCtrl[(int)DspLblCtrlName.StartingDate] = txtlabel8;
+            m_DspLabelCtrl[(int)DspLblCtrlName.CompleteDate] = txtlabel11;
 
             // ã�“ã�“ã�§å›ºå®šæ–‡å­—ã�®è¡¨ç¤º
             lblFixComment.Text = string.Format("â€»é‡‘é¡�å¤‰æ›´æ™‚ã�®{0}ã�¯{1}ï¼…ã�§è‡ªå‹•è¨ˆç®—ã�•ã‚Œã�¾ã�™ã€‚"
@@ -290,6 +296,7 @@
             try
             {
                 frm.OrderFrm = this;
+                frm.SubForm = m_SubForm;
                 frm.ConstructionCode = m_ConstructionCode;
                 if (m_NewApprovalFlg) frm.NewApprovalFlg = m_NewApprovalFlg;
                 frm.ShowDialog();
@@ -329,8 +336,8 @@
                     case (int)ProductDefine.ProductTypeDef.Originals:
                         // ----- ã‚ªãƒªã‚¸ãƒŠãƒ«ç‰ˆ
                         break;
-                    case (int)ProductDefine.ProductTypeDef.MassProductionType1:
-                    case (int)ProductDefine.ProductTypeDef.MassProductionType2:
+                    case (int)ProductDefine.ProductTypeDef.ProductsModelType1:
+                    case (int)ProductDefine.ProductTypeDef.ProductsModelType2:
                         // ----- è£½å“�ç‰ˆ
                         label4.Visible = false;
                         panel2.Visible = false;
@@ -468,8 +475,10 @@
                 if (OrderList.Count != 0)
                 {
                     OrderRec = OrderList[0];
-                    if (OrderRec.OrderSheetType == (int)CommonDefine.OrderSheetType.SimpleType) radioButton1.Checked = true;
-                    else radioButton2.Checked = true;
+                    if (OrderRec.OrderSheetType == (int)CommonDefine.OrderSheetType.SimpleType)
+                        radioButton1.Checked = true;
+                    else
+                        radioButton2.Checked = true;
                 }
                 else
                 {
@@ -495,18 +504,11 @@
                 ctypeDB.SelectAction(strSQL.ToString(), ref ctypeRec);
                 m_DspLabelCtrl[(int)DspLblCtrlName.ConstructionType].Text = ctypeRec.NameString;                                                                // å·¥äº‹ç¨®åˆ¥
 
-                DateTime StDate = m_ConstructionBaseInfo.ConstructionPeriodStart;
-                DateTime EdDate = m_ConstructionBaseInfo.ConstructionPeriodEnd;
-                if (StDate != DateTime.MinValue && EdDate != DateTime.MinValue)
-                {
-                    m_DspLabelCtrl[(int)DspLblCtrlName.StartingDate].Text = StDate.ToShortDateString();                                                         // å¥‘ç´„å·¥æœŸé–‹å§‹
-                    m_DspLabelCtrl[(int)DspLblCtrlName.CompleteDate].Text = EdDate.ToShortDateString();                                                         // å¥‘ç´„å·¥æœŸå®Œæˆ�
-                }
-                else
-                {
-                    m_DspLabelCtrl[(int)DspLblCtrlName.StartingDate].Text = CommonMotions.cnvDateToUndecidedString(m_ConstructionBaseInfo.StartDate);           // å·¥æœŸï¼ˆé–‹å§‹ï¼‰
-                    m_DspLabelCtrl[(int)DspLblCtrlName.CompleteDate].Text = CommonMotions.cnvDateToUndecidedString(m_ConstructionBaseInfo.EndDate);             // å·¥æœŸï¼ˆçµ‚äº†ï¼‰
-                }
+
+                // ç�€å·¥æ—¥ãƒ»å®Œäº†æ—¥ã‚’è¡¨ç¤ºã�™ã‚‹
+                PurchaseOrder OdrRec = new PurchaseOrder();
+                SetStEdDate(OdrRec);
+
             }
             catch (System.Exception ex)
             {
@@ -887,6 +889,45 @@
         // ---------- å·¥äº‹è©³ç´°å�°å¸³ã‚ˆã‚Šãƒ‡ãƒ¼ã‚¿ä½œæˆ�ã€€ã€€ã€€ã€€â†‘â†‘
 
         // ---------- æ³¨æ–‡æ›¸ã‚ˆã‚Šãƒ‡ãƒ¼ã‚¿ä½œæˆ�          ã€€â†“â†“
+        #region ç�€å·¥æ—¥ãƒ»å®Œäº†æ—¥ã‚’è¡¨ç¤ºã�™ã‚‹
+        /// <summary>
+        /// ç�€å·¥æ—¥ãƒ»å®Œäº†æ—¥ã‚’è¡¨ç¤ºã�™ã‚‹
+        /// </summary>
+        private void SetStEdDate(PurchaseOrder OrderRec)
+        {
+            try
+            {
+                DateTime StDate = OrderRec.OrderStDate;
+                DateTime EdDate = OrderRec.OrderEdDate;
+                if (StDate == DateTime.MinValue)
+                {
+                    // å·¥æœŸï¼ˆé–‹å§‹ï¼‰
+                    m_DspLabelCtrl[(int)DspLblCtrlName.StartingDate].Text = CommonMotions.cnvDateToUndecidedString(m_ConstructionBaseInfo.ConstructionPeriodStart);
+                }
+                else
+                {
+                    // å¥‘ç´„å·¥æœŸé–‹å§‹
+                    m_DspLabelCtrl[(int)DspLblCtrlName.StartingDate].Text = StDate.ToShortDateString();
+                }
+
+                if (EdDate == DateTime.MinValue)
+                {
+                    // å·¥æœŸï¼ˆçµ‚äº†ï¼‰
+                    m_DspLabelCtrl[(int)DspLblCtrlName.CompleteDate].Text = CommonMotions.cnvDateToUndecidedString(m_ConstructionBaseInfo.ConstructionPeriodEnd);
+                }
+                else
+                {
+                    // å¥‘ç´„å·¥æœŸå®Œæˆ�
+                    m_DspLabelCtrl[(int)DspLblCtrlName.CompleteDate].Text = EdDate.ToShortDateString();
+                }
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
         #region æ³¨æ–‡æ›¸ãƒ‡ãƒ¼ã‚¿ã‚’å�–å¾—
         /// <summary>
         /// æ³¨æ–‡æ›¸ãƒ‡ãƒ¼ã‚¿ã‚’å�–å¾—ã�—ã�¦ç”»é�¢è¡¨ç¤ºã�™ã‚‹
@@ -915,6 +956,9 @@
                 if (!OrderDB.SelectAction(strSQL.ToString(), ref OrderList)) return false;
                 if (OrderList.Count == 0) return false;
 
+                // ç�€å·¥æ—¥ãƒ»å®Œäº†æ—¥ã‚’è¡¨ç¤ºã�™ã‚‹
+                SetStEdDate(OrderList[0]);
+
                 // ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆãƒšãƒ¼ã‚¸ã‚’å‰Šé™¤ã�™ã‚‹
                 this.TabCollections.TabPages.RemoveAt(0);
 
@@ -1388,8 +1432,8 @@
                         return false;
                     }
 
-                    // æ³¨æ–‡æ›¸æ˜Žç´°ãƒ‡ãƒ¼ã‚¿ç™»éŒ²å‡¦ç�†
-                    if (!EntryPurchaseOrderDetail(DetailDB, LDetailDB, DataTab, SeqCnt))
+                    // å·¥äº‹å�°å¸³ã�®æ³¨æ–‡æ›¸ä½œæˆ�ãƒ•ãƒ©ã‚°æ›´æ–°
+                    if (!UpdateLedgerDetail(LDetailDB, DataTab))
                     {
                         OrderDB.rollback();
                         DetailDB.rollback();
@@ -1397,8 +1441,8 @@
                         return false;
                     }
 
-                    // å·¥äº‹å�°å¸³ã�®æ³¨æ–‡æ›¸ä½œæˆ�ãƒ•ãƒ©ã‚°æ›´æ–°
-                    if (!UpdateLedgerDetail(LDetailDB, DataTab))
+                    // æ³¨æ–‡æ›¸æ˜Žç´°ãƒ‡ãƒ¼ã‚¿ç™»éŒ²å‡¦ç�†
+                    if (!EntryPurchaseOrderDetail(DetailDB, LDetailDB, DataTab, SeqCnt))
                     {
                         OrderDB.rollback();
                         DetailDB.rollback();
@@ -1443,6 +1487,21 @@
             IOConstructionLedger LedgerDB = new IOConstructionLedger();
             try
             {
+                // ç�€å·¥æ—¥ãƒ�ã‚§ãƒƒã‚¯
+                if(!CommonMotions.DispFieldDateCheck(txtlabel8, true))
+                {
+                    MessageBox.Show("ç�€å·¥æ—¥ã�«ã‚¨ãƒ©ãƒ¼ã�Œã�‚ã‚Šã�¾ã�™ã€�ç¢ºèª�ã�—ã�¦ã��ã� ã�•ã�„ã€‚", "ãƒ‡ãƒ¼ã‚¿ç¢ºèª�"
+                                        , MessageBoxButtons.OK, MessageBoxIcon.Warning);
+                    return false;
+                }
+                // å®Œäº†æ—¥ãƒ�ã‚§ãƒƒã‚¯
+                if (!CommonMotions.DispFieldDateCheck(txtlabel11, true))
+                {
+                    MessageBox.Show("å®Œäº†æ—¥ã�«ã‚¨ãƒ©ãƒ¼ã�Œã�‚ã‚Šã�¾ã�™ã€�ç¢ºèª�ã�—ã�¦ã��ã� ã�•ã�„ã€‚", "ãƒ‡ãƒ¼ã‚¿ç¢ºèª�"
+                                        , MessageBoxButtons.OK, MessageBoxIcon.Warning);
+                    return false;
+                }
+
                 foreach (PurchaseOrderInputPage CurPage in m_TabPageList)
                 {
                     bPageAns = true;
@@ -1462,9 +1521,8 @@
 
                     // ç™ºæ³¨é‡‘é¡�ãƒ»å�ˆè¨ˆé‡‘é¡�ã�®ãƒ�ã‚§ãƒƒã‚¯(å…¥åŠ›é‡‘é¡�ã�Œå¤§ã��ã��ã�ªã�£ã�Ÿå ´å�ˆã�¯ã‚¨ãƒ©ãƒ¼)
                     bool bNotErr = true;
-                    //if (LedgerRec.OrdersDecisionPrice < CommonMotions.cnvDouble(CurPage.PageValueItem[(int)PageValue.OrderPrice].Text))
-                    //if (CommonMotions.cnvDouble(CurPage.PageValueItem[(int)PageValue.OrderPrice].Text) < CommonMotions.cnvDouble(CurPage.Group1Label.Text))
-                    if (LedgerRec.OrdersDecisionPrice < CommonMotions.cnvDouble(CurPage.Group1Label.Text))
+                    if (m_ConstructionType.CompanyProp == (int)ConstructionTypeMaster.CompanyPropDef.Normal
+                        && LedgerRec.OrdersDecisionPrice < CommonMotions.cnvDouble(CurPage.Group1Label.Text))
                     {
                         bNotErr = false;
                         bPageAns = false;
@@ -1511,7 +1569,8 @@
                                     break;
 
                                 case (int)DispDetailGridColumn.PriceValue:      // é‡‘é¡�
-                                    if (CommonMotions.cnvDouble(CurCell) > 9999999999.99) bRowAns &= false;
+                                    if (CommonMotions.cnvDouble(CurCell.Value) > 9999999999.99) bRowAns &= false;
+                                    if (CommonMotions.cnvDouble(CurCell.Value) < 0) bRowAns &= false;
                                     break;
                                 default:
                                     break;
@@ -1589,12 +1648,14 @@
                             if (field3 > 9999999999.99) bPageAns = false;   // å¼•æ¸¡ã�—æ™‚ã�®æ”¯æ‰•é‡‘é¡�
                             CheckField.Add(new KeyValuePair<int, double>((int)Group3TextBox.CompletionPaymentPrice, field3));
                         }
-                        // é‡‘é¡�ã�Œç™ºæ³¨é‡‘é¡�ã‚’è¶…ã�ˆã�¦ã�„ã‚‹ã�‹?
+                        // é‡‘é¡�ã�Œç™ºæ³¨é‡‘é¡�ã‚’è¶…ã�ˆã�¦ã�„ã‚‹ã�‹?ï¼ˆé€šå¸¸å·¥äº‹ã�®ã�¿ãƒ�ã‚§ãƒƒã‚¯ï¼‰
                         bool TotalCheck = true;
                         double TotalValue = 0;
                         foreach (KeyValuePair<int, double> wrkData in CheckField) TotalValue += wrkData.Value;
 
-                        if (TotalValue > CommonMotions.cnvDouble(CurPage.PageValueItem[(int)PageValue.OrderPrice].Text))
+                        double dwork = CommonMotions.cnvDouble(CurPage.PageValueItem[(int)PageValue.OrderPrice].Text);
+                        if (m_ConstructionType.CompanyProp == (int)ConstructionTypeMaster.CompanyPropDef.Normal
+                            && TotalValue > dwork)
                         {
                             bPageAns = false;
                             TotalCheck = false;
@@ -1700,11 +1761,14 @@
 
                 DataRec.CreateDate = CommonMotions.cnvDate(DataTab.PageTextBox.Text);                                   // ä½œæˆ�æ—¥ä»˜
 
-                //DataRec.OrderPrice = CommonMotions.cnvDouble(DataTab.PageValueItem[(int)PageValue.OrderPrice].Text);    // ç™ºæ³¨é‡‘é¡�
+                //DataRec.OrderPrice = CommonMotions.cnvDouble(DataTab.PageValueItem[(int)PageValue.OrderPrice].Text);  // ç™ºæ³¨é‡‘é¡�
                 DataRec.OrderPrice = CommonMotions.cnvDouble(DataTab.Group1Label.Text);                                 // ç™ºæ³¨é‡‘é¡�
 
                 DataRec.LastRowStringDate = CommonMotions.cnvDate(DataTab.Group1TextBox.Text);                          // æœ€çµ‚è¡Œè¡¨ç¤ºæ—¥ä»˜
 
+                DataRec.OrderStDate = CommonMotions.cnvDate(m_DspLabelCtrl[(int)DspLblCtrlName.StartingDate].Text);     // ç�€å·¥æ—¥
+                DataRec.OrderEdDate = CommonMotions.cnvDate(m_DspLabelCtrl[(int)DspLblCtrlName.CompleteDate].Text);     // å®Œäº†æ—¥
+
                 // ç°¡æ˜“ç‰ˆã�¨æ­£è¦�ç‰ˆã�§ã�¯ç™»éŒ²å†…å®¹ã�Œé�•ã�†
                 if (radioButton1.Checked)
                 {   // ç°¡æ˜“ç‰ˆãƒ‡ãƒ¼ã‚¿
@@ -1810,8 +1874,8 @@
                         CommonMotions.cnvDouble(GetRow.Cells[(int)DispDetailGridColumn.PriceValue].Value) == 0) continue;
 
                     // æ¥­è€…å¤‰æ›´æ™‚ã�¯å�°å¸³ãƒ‡ãƒ¼ã‚¿ã‚’æ–°è¦�ä½œæˆ�ã�—ã�¦è¡Œç•ªå�·ã‚’å�–å¾—ã�™ã‚‹
-                    if (DataTab.CompanyChange
-                        && CommonMotions.cnvInt(GetRow.Cells[(int)DispDetailGridColumn.GroupNo].Value) == (int)PurchaseOrderDetail.DataTypeFlagDef.CommonData)
+                    int nGroupNo = CommonMotions.cnvInt(GetRow.Cells[(int)DispDetailGridColumn.GroupNo].Value);
+                    if (DataTab.CompanyChange && nGroupNo == (int)PurchaseOrderDetail.DataTypeFlagDef.CommonData)
                     {
                         // å…ƒå�°å¸³è¡Œç•ªå�·å¤‰æ›´
                         int nSourceDetailCnt = 0;
@@ -1993,40 +2057,85 @@
         {
             try
             {
-                int QuantityVal = 0;
-                int PriceVal = 0;
-                int LedgerLine = 0;
-                int TargetCode = 0;
                 StringBuilder strSQL = new StringBuilder();
 
+                // å·¥äº‹å�°å¸³ã‚ˆã‚Šå¿…è¦�ãƒ‡ãƒ¼ã‚¿å�–å¾—
+                strSQL.Append("Select");
+                strSQL.Append(" ConstructionCode");
+                strSQL.Append(", MAX(LineCount)");
+                strSQL.Append(" From constructionledgerdetail");
+                strSQL.AppendFormat(" Where GroupCount = {0}", (int)FrmConstructionLedger.DataGroup.ConstructionCosts);
+                strSQL.AppendFormat(" And SourceCode = {0}", m_ConstructionCode);
+                ArrayList GetData = new ArrayList();
+                if (!LDetailDB.ExecuteReader(strSQL.ToString(), ref GetData, false)) return false;
+                if (GetData.Count < 1) return false;
+                object[] LedgerData = (object[])GetData[0];
+                int nBaseCode = CommonMotions.cnvInt(LedgerData[0]);
+                int nMaxLine = CommonMotions.cnvInt(LedgerData[1]);
+
+                // ã‚­ãƒ¼é …ç›®å�–å¾—æ�¡ä»¶ä½œæˆ�
+                strSQL.Clear();
+                strSQL.Append(LDetailDB.CreatePrimarykeyString(nBaseCode, (int)FrmConstructionLedger.DataGroup.ConstructionCosts));
+                // ãƒ‡ãƒ¼ã‚¿ã�Œã�ªã�„å ´å�ˆã�¯æ–°è¦�æ˜Žç´°ç•ªå�·ã‚’å�–å¾—ã�™ã‚‹
+                int DetailCount = LDetailDB.SelectMaxDetailCount(strSQL.ToString(), false);
+
+                List<ConstructionLedgerDetail> NewList = new List<ConstructionLedgerDetail>();
+
                 DataGridViewEX dgv = DataTab.Group1DataGridView;
                 foreach (DataGridViewRow CurRow in dgv.Rows)
                 {
+                    // ç¦�åˆ©åŽšç”Ÿè²»ã�¯å‡¦ç�†ã�—ã�ªã�„
+                    int DataType = CommonMotions.cnvInt(CurRow.Cells[(int)DispDetailGridColumn.DataType].Value);
+                    if (DataType == (int)PurchaseOrderDetail.DataTypeFlagDef.StatutoryWelfare) continue;
+
                     // å�°å¸³å·¥äº‹ç•ªå�·
-                    TargetCode = CommonMotions.cnvInt(CurRow.Cells[(int)DispDetailGridColumn.SourceCode].Value);
+                    int TargetCode = CommonMotions.cnvInt(CurRow.Cells[(int)DispDetailGridColumn.SourceCode].Value);
                     // æ•°é‡�
-                    QuantityVal = CommonMotions.cnvInt(CurRow.Cells[(int)DispDetailGridColumn.Quantity].Value);
+                    int QuantityVal = CommonMotions.cnvInt(CurRow.Cells[(int)DispDetailGridColumn.Quantity].Value);
                     // é‡‘é¡�
-                    PriceVal = CommonMotions.cnvInt(CurRow.Cells[(int)DispDetailGridColumn.PriceValue].Value);
+                    int PriceVal = CommonMotions.cnvInt(CurRow.Cells[(int)DispDetailGridColumn.PriceValue].Value);
                     // å·¥äº‹å�°å¸³è¡Œ
-                    LedgerLine = CommonMotions.cnvInt(CurRow.Cells[(int)DispDetailGridColumn.LedgerDetailNo].Value);
+                    int LedgerLine = CommonMotions.cnvInt(CurRow.Cells[(int)DispDetailGridColumn.LedgerDetailNo].Value);
                     // æ•°é‡�é‡‘é¡�ç„¡ã�¯å‡¦ç�†ã�—ã�ªã�„
                     if (QuantityVal == 0 && PriceVal == 0) continue;
-                    if (LedgerLine == 0) continue;
 
-                    // æ³¨æ–‡æ›¸ä½œæˆ�ãƒ•ãƒ©ã‚°ON
-                    strSQL.Clear();
-                    strSQL.Append(LDetailDB.CreatePrimarykeyString(TargetCode));
-                    strSQL.AppendFormat(" AND SOURCECODE = {0}", m_ConstructionCode);
-                    strSQL.AppendFormat(" AND GROUPCOUNT = {0}", (int)FrmConstructionLedger.DataGroup.ConstructionCosts);
-                    strSQL.AppendFormat(" AND COMPANYCODE = {0}", DataTab.OrderCompanyCode);
-                    strSQL.AppendFormat(" AND DetailCount = {0}", LedgerLine);
-                    if (!LDetailDB.UpdateFeild(strSQL.ToString()
-                                                , (int)IOConstructionLedgerDetail.TableColumn.PurchaseOrderFlg
-                                                , (int)ConstructionLedgerDetail.PurOrderFlgDef.Making
-                                                , false))
+                    // å�°å¸³è¡Œã�Œç„¡ã�‘ã‚Œã�°è¿½åŠ ãƒ‡ãƒ¼ã‚¿ã‚’ä½œæˆ�ã�™ã‚‹
+                    if (LedgerLine == 0)
                     {
-                        LogicalErrorMessage("æ³¨æ–‡æ›¸ãƒ‡ãƒ¼ã‚¿ï¼šæ³¨æ–‡æ›¸ä½œæˆ�ãƒ•ãƒ©ã‚°æ›´æ–°ã�«å¤±æ•—ã�—ã�¾ã�—ã�Ÿã€‚", "æ›´æ–°ã‚¨ãƒ©ãƒ¼", CommonMotions.GetMethodName());
+                        // é‡‘é¡�ãƒžã‚¤ãƒŠã‚¹ã�¯å‡¦ç�†ã�—ã�ªã�„
+                        if (PriceVal < 0) continue;
+                        // å�°å¸³æ˜Žç´°ãƒ‡ãƒ¼ã‚¿ã‚’ä½œæˆ�ã�™ã‚‹
+                        CreateInsertRowData(nBaseCode, DataTab, CurRow, ref DetailCount, ref nMaxLine, ref NewList);
+
+                        // å…ƒå·¥äº‹ç•ªå�·ã�®ã‚»ãƒƒãƒˆ
+                        CurRow.Cells[(int)DispDetailGridColumn.SourceCode].Value = nBaseCode;
+                        // å�°å¸³æ˜Žç´°ç•ªå�·ã‚’ã‚°ãƒªãƒƒãƒ‰ã�¸ã‚»ãƒƒãƒˆ
+                        CurRow.Cells[(int)DispDetailGridColumn.LedgerDetailNo].Value = DetailCount;
+                    }
+                    else
+                    {
+                        // æ³¨æ–‡æ›¸ä½œæˆ�ãƒ•ãƒ©ã‚°ON
+                        strSQL.Clear();
+                        strSQL.Append(LDetailDB.CreatePrimarykeyString(TargetCode));
+                        strSQL.AppendFormat(" AND SOURCECODE = {0}", m_ConstructionCode);
+                        strSQL.AppendFormat(" AND GROUPCOUNT = {0}", (int)FrmConstructionLedger.DataGroup.ConstructionCosts);
+                        strSQL.AppendFormat(" AND COMPANYCODE = {0}", DataTab.OrderCompanyCode);
+                        strSQL.AppendFormat(" AND DetailCount = {0}", LedgerLine);
+                        if (!LDetailDB.UpdateFeild(strSQL.ToString()
+                                                    , (int)IOConstructionLedgerDetail.TableColumn.PurchaseOrderFlg
+                                                    , (int)ConstructionLedgerDetail.PurOrderFlgDef.Making
+                                                    , false))
+                        {
+                            LogicalErrorMessage("æ³¨æ–‡æ›¸ãƒ‡ãƒ¼ã‚¿ï¼šæ³¨æ–‡æ›¸ä½œæˆ�ãƒ•ãƒ©ã‚°æ›´æ–°ã�«å¤±æ•—ã�—ã�¾ã�—ã�Ÿã€‚", "æ›´æ–°ã‚¨ãƒ©ãƒ¼", CommonMotions.GetMethodName());
+                            return false;
+                        }
+                    }
+                }
+                if (NewList.Count > 0)
+                {
+                    if (!LDetailDB.InsertAction(NewList, false))
+                    {
+                        LogicalErrorMessage("å·¥äº‹è©³ç´°å�°å¸³æ˜Žç´°ï¼šãƒ‡ãƒ¼ã‚¿ä½œæˆ�ã�«å¤±æ•—ã�—ã�¾ã�—ã�Ÿã€‚", "æ›´æ–°ã‚¨ãƒ©ãƒ¼", CommonMotions.GetMethodName());
                         return false;
                     }
                 }
@@ -2041,6 +2150,50 @@
         }
         #endregion
 
+        #region å·¥äº‹è©³ç´°å�°å¸³æ˜Žç´°ãƒ‡ãƒ¼ã‚¿ã‚’ä½œæˆ�ã�™ã‚‹
+        /// <summary>
+        /// å·¥äº‹è©³ç´°å�°å¸³æ˜Žç´°ãƒ‡ãƒ¼ã‚¿ã‚’ä½œæˆ�ã�™ã‚‹
+        /// </summary>
+        private void CreateInsertRowData(int nBaseCode
+                                        , PurchaseOrderInputPage DataTab
+                                        , DataGridViewRow CurRow
+                                        , ref int DetailCount
+                                        , ref int nMaxLine
+                                        , ref List<ConstructionLedgerDetail> NewList)
+        {
+            try
+            {
+                ConstructionLedgerDetail NewRec = new ConstructionLedgerDetail();
+
+                NewRec.ConstructionCode = nBaseCode;                                                                        // å·¥äº‹ç•ªå�·
+                NewRec.GroupCount = (int)FrmConstructionLedger.DataGroup.ConstructionCosts;                                 // ã‚°ãƒ«ãƒ¼ãƒ—ç•ªå�·
+                NewRec.LineCount = nMaxLine += 10;                                                                          // è¡Œç•ªå�·
+                NewRec.FirstString = CommonMotions.cnvString(CurRow.Cells[(int)DispDetailGridColumn.FirstName].Value);      // é …ç›®å��ç§°
+                NewRec.SecondString = CommonMotions.cnvString(CurRow.Cells[(int)DispDetailGridColumn.SecondName].Value);    // å·¥äº‹å†…å®¹
+                NewRec.CompanyType = (int)ConstructionLedgerDetail.CompanyTypeDef.Subconstractor;                           // å�”åŠ›ä¼šç¤¾ã‚³ãƒ¼ãƒ‰ã‚¿ã‚¤ãƒ—
+                NewRec.CompanyCode = DataTab.OrderCompanyCode;                                                              // å�”åŠ›ä¼šç¤¾ã‚³ãƒ¼ãƒ‰
+                NewRec.CompanyName = DataTab.EntryTab.Text;                                                                 // å�”åŠ›ä¼šç¤¾å��ç§°
+                NewRec.EstimatePrice = 0;                                                                                   // äºˆç®—ï¼ˆè¦‹ç©�ï¼‰é‡‘é¡�
+                NewRec.ExecutionAmount = 0;                                                                                 // å®Ÿè¡Œé‡‘é¡�
+                NewRec.IndependentFlg = (int)ConstructionLedgerDetail.IndependentFlgDef.Independent;                        // ç‹¬ç«‹ãƒ‡ãƒ¼ã‚¿ãƒ•ãƒ©ã‚°
+                NewRec.FixDataFlg = 0;                                                                                      // å›ºå®šãƒ‡ãƒ¼ã‚¿ãƒ•ãƒ©ã‚°
+                NewRec.SalaryFlg = 0;                                                                                       // çµ¦ä¸ŽæŒ¯åˆ†åŒºåˆ†
+                NewRec.SalaryDays = 0;                                                                                      // çµ¦ä¸ŽæŒ¯åˆ†æ—¥æ•°
+                NewRec.OperatingFlg = 0;                                                                                    // æ‹…å½“ä¸­ãƒ•ãƒ©ã‚°
+                NewRec.SourceCode = m_ConstructionCode;                                                                     // å…ƒå·¥äº‹ç•ªå�·
+                NewRec.PurchaseOrderFlg = (int)ConstructionLedgerDetail.PurOrderFlgDef.Making;                              // æ³¨æ–‡æ›¸ç™ºè¡Œãƒ•ãƒ©ã‚°
+                NewRec.InvalidLine = (int)ConstructionLedgerDetail.InvalidLineDef.ValidData;                                // ç„¡åŠ¹è¡Œ
+                NewRec.DetailCount = ++DetailCount;                                                                         // æ˜Žç´°ç•ªå�·
+
+                NewList.Add(NewRec);
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
         #region å�”åŠ›ä¼šç¤¾å¤‰æ›´ç¢ºèª�
         /// <summary>
         /// å�”åŠ›ä¼šç¤¾å¤‰æ›´ç¢ºèª�
@@ -2131,9 +2284,14 @@
 
                         SourceCode = CommonMotions.cnvInt(CurRow.Cells[(int)DispDetailGridColumn.SourceCode].Value);
                         SourceLine = CommonMotions.cnvInt(CurRow.Cells[(int)DispDetailGridColumn.LedgerDetailNo].Value);
+                        // å�°å¸³è¡Œã�Œç„¡ã�‘ã‚Œã�°å‡¦ç�†ã�—ã�ªã�„
+                        if (SourceLine == 0) continue;
+
                         strUpdate.Clear();
                         strUpdate.AppendFormat(LDetailDB.CreatePrimarykeyString(SourceCode, (int)FrmConstructionLedger.DataGroup.ConstructionCosts));
                         strUpdate.AppendFormat(" And DetailCount = {0}", SourceLine);
+
+                        // å�°å¸³æ›´æ–°
                         if (!LDetailDB.UpdateFeild(strUpdate.ToString(),
                                                     (int)IOConstructionLedgerDetail.TableColumn.PurchaseOrderFlg,
                                                     (int)ConstructionLedgerDetail.PurOrderFlgDef.NoCreate,
@@ -2539,7 +2697,7 @@
                     CommonMotions.chkCellBlank(dgv.CurrentRow.Cells[(int)DispDetailGridColumn.SecondName].Value)) return;
 
                 // ã‚°ãƒªãƒƒãƒ‰ã‚¢ãƒƒãƒ—ã‚­ãƒ¼å‡¦ç�†
-                DataTab.Group1DataGridView.GridRowUpAction((int)DispDetailGridColumn.GroupNo, (int)DispDetailGridColumn.PriceValue);
+                DataTab.Group1DataGridView.GridRowUpAction((int)DispDetailGridColumn.GroupNo, (int)DispDetailGridColumn.SWRate);
             }
             catch (Exception ex)
             {
@@ -2567,7 +2725,7 @@
                     CommonMotions.chkCellBlank(dgv.Rows[NextRow].Cells[(int)DispDetailGridColumn.SecondName].Value)) return;
 
                 // ã‚°ãƒªãƒƒãƒ‰ãƒ€ã‚¦ãƒ³ã‚­ãƒ¼å‡¦ç�†
-                DataTab.Group1DataGridView.GridRowDownAction((int)DispDetailGridColumn.GroupNo, (int)DispDetailGridColumn.PriceValue);
+                DataTab.Group1DataGridView.GridRowDownAction((int)DispDetailGridColumn.GroupNo, (int)DispDetailGridColumn.SWRate);
             }
             catch (Exception ex)
             {
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/ProcessControl.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/ProcessControl.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/ProcessControl.cs	(revision 468)
@@ -96,6 +96,9 @@
                     // è‡ªãƒ—ãƒ­ã‚»ã‚¹ã�¯å‡¦ç�†ã�—ã�ªã�„
                     if (CurRec.Key == s_CurrentProcessNo) continue;
 
+                    // è£½å“�ã�«ã‚ˆã�£ã�¦ã�®å®Ÿè£…ãƒ�ã‚§ãƒƒã‚¯
+                    if (!ClsExcute.GetImplementationProcess(CurRec.Key)) continue;
+
                     //ã‚¤ãƒ™ãƒ³ãƒˆã�®ç™»éŒ²
                     switch (CurRec.Key)
                     {
@@ -232,6 +235,7 @@
         {
             try
             {
+                if (ClsExcute.ProcControlPara.Count < 1) return false;
                 // ãƒ—ãƒ­ã‚»ã‚¹èµ·å‹•ãƒ†ãƒ¼ãƒ–ãƒ«ã�«ç”³è«‹ç”»é�¢ã�Œè¨­å®šã�•ã‚Œã�¦ã�„ã‚‹å ´å�ˆã�¯true
                 int NextProcess = ClsExcute.ProcControlPara[ClsExcute.GetNowProcessPoint()].ProcNo;
                 if (NextProcess == (int)ClsExcute.SubFormExecuteNo.ApprovalScreen) return true;
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/PurchaseOrderInputPage.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/PurchaseOrderInputPage.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/PurchaseOrderInputPage.cs	(revision 468)
@@ -40,7 +40,7 @@
         /// ãƒ™ãƒ¼ã‚¹ãƒ‘ãƒ�ãƒ«
         /// </summary>
         private Panel                           m_BasePanel = new Panel();
-        
+
         /// <summary>
         /// ã‚°ãƒ«ãƒ¼ãƒ—ãƒœãƒƒã‚¯ã‚¹
         /// </summary>
@@ -102,6 +102,11 @@
         /// ã‚»ãƒ«ã‚¹ã‚¿ã‚¤ãƒ«
         /// </summary>
         private DataGridViewCellStyle[]         m_Group1CellStyle = new DataGridViewCellStyle[FrmPurchaseOrderEntry.GridColumnCount];
+
+        /// <summary>
+        /// ã‚°ãƒªãƒƒãƒ‰è¨ˆç®—è¨ˆãƒ©ãƒ™ãƒ«
+        /// </summary>
+        private Label                           m_Group1CellTotal = new Label();
         #endregion
 
         #region ç°¡æ˜“ç‰ˆæ”¯æ‰•ã�„æ�¡ä»¶ã‚°ãƒ«ãƒ¼ãƒ—
@@ -335,6 +340,16 @@
             get { return m_Group1CellStyle; }
             set { m_Group1CellStyle = value; }
         }
+
+
+        /// <summary>
+        /// ã‚°ãƒªãƒƒãƒ‰è¨ˆç®—è¨ˆãƒ©ãƒ™ãƒ«
+        /// </summary>
+        public Label Group1CellTotal
+        {
+            get { return m_Group1CellTotal; }
+            set { Group1CellTotal = value; }
+        }
         #endregion
 
         #region ç°¡æ˜“ç‰ˆæ”¯æ‰•ã�„æ�¡ä»¶ã‚°ãƒ«ãƒ¼ãƒ—
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderPrint/PrintFormat1.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderPrint/PrintFormat1.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderPrint/PrintFormat1.cs	(revision 468)
@@ -557,14 +557,16 @@
                 // æ³¨æ–‡æ›¸ä½œæˆ�æ—¥
                 string strCreateDate = OrderRec.CreateDate.ToShortDateString();
                 // å·¥æœŸé–‹å§‹æ—¥
-                string strStartDate = string.Empty;
-                if (m_ConstructionBaseInfo.ConstructionPeriodStart < OrderRec.CreateDate)
-                    strStartDate = OrderRec.CreateDate.AddDays(1).ToShortDateString();
+                //string strStartDate = string.Empty;
+                //if (m_ConstructionBaseInfo.ConstructionPeriodStart < OrderRec.CreateDate)
+                //    strStartDate = OrderRec.CreateDate.AddDays(1).ToShortDateString();
 
                 if (!m_PrintDate)
                 {
-                    strCreateDate = string.Format("{0}   å¹´   æœˆ   æ—¥", CommonMotions.GetNameOfAnEra(OrderRec.CreateDate));
-                    strStartDate = string.Format("{0}  å¹´  æœˆ  æ—¥", CommonMotions.GetNameOfAnEra(m_ConstructionBaseInfo.ConstructionPeriodStart));
+                    //strCreateDate = string.Format("{0}   å¹´   æœˆ   æ—¥", CommonMotions.GetNameOfAnEra(OrderRec.CreateDate));
+                    //strStartDate = string.Format("{0}  å¹´  æœˆ  æ—¥", CommonMotions.GetNameOfAnEra(m_ConstructionBaseInfo.ConstructionPeriodStart));
+                    strCreateDate = OrderRec.CreateDate.ToShortDateString();
+                    //strStartDate = m_ConstructionBaseInfo.ConstructionPeriodStart.ToShortDateString();
                 }
 
                 m_UsedExcel.ExcelCellSet(m_UsedExcel.CreateCellString("E", (23 + startLine)), ConstractionName);                                // å·¥äº‹å��ç§°
@@ -572,20 +574,26 @@
 
                 m_UsedExcel.ExcelCellSet(m_UsedExcel.CreateCellString("E", (24 + startLine)), PlaceString);                                     // æ–½å·¥å�Šã�³ç´�å…¥å ´æ‰€
                 m_UsedExcel.ExcelCellSet(m_UsedExcel.CreateCellString("E", (25 + startLine)), m_ConstructionCode.ToString());                   // å·¥äº‹ç•ªå�·
+
                 m_UsedExcel.ExcelCellSet(m_UsedExcel.CreateCellString("J", (25 + startLine)),
                                                                 string.Format("{0}-{1}", m_ConstructionCode, OrderRec.SeqNo.ToString("000")));  // ç™ºæ³¨ç•ªå�·
+
                 m_UsedExcel.ExcelCellSet(m_UsedExcel.CreateCellString("M", (25 + startLine)), PaymentTermsString);                              // æ”¯æ‰•ã�„æ�¡ä»¶
 
-                m_UsedExcel.ExcelCellSet(m_UsedExcel.CreateCellString("E", (26 + startLine)), strStartDate);                                    // å·¥æœŸé–‹å§‹æ—¥
+                m_UsedExcel.ExcelCellSet(m_UsedExcel.CreateCellString("E", (26 + startLine))
+                                                                , OrderRec.OrderStDate.ToShortDateString());                                    // å·¥æœŸé–‹å§‹æ—¥
                 
                 m_UsedExcel.ExcelCellSet(m_UsedExcel.CreateCellString("J", (26 + startLine))
-                                                                , m_ConstructionBaseInfo.ConstructionPeriodEnd.ToShortDateString());            // å·¥æœŸçµ‚äº†æ—¥
+                                                                , OrderRec.OrderEdDate.ToShortDateString());                                    // å·¥æœŸçµ‚äº†æ—¥
+
                 m_UsedExcel.ExcelCellSet(m_UsedExcel.CreateCellString("E", (27 + startLine)),
                                                                             string.Format("ï¿¥{0}", OrderRec.OrderPrice.ToString("#,0")));       // ç™ºæ³¨é‡‘é¡�ï¼ˆç¨Žåˆ¥ï¼‰
+
                 m_UsedExcel.ExcelCellSet(m_UsedExcel.CreateCellString("J", (27 + startLine)), PersonRec.PersonName);                            // ç�¾å ´æ‹…å½“è€…
 
                 m_UsedExcel.ExcelCellSet(m_UsedExcel.CreateCellString("M", (27 + startLine)),
                                                                         string.Format("ç�¾é‡‘ã€€ã€€{0}ã€€ï¼…", OrderRec.CashRatio.ToString("0.0")));    // ç�¾é‡‘å‰²å�ˆ
+
                 m_UsedExcel.ExcelCellSet(m_UsedExcel.CreateCellString("P", (27 + startLine)),
                                                                         string.Format("æ‰‹å½¢ã€€ã€€{0}ã€€ï¼…", (100 - OrderRec.CashRatio).ToString("0.0")));   // æ‰‹å½¢å‰²å�ˆ
 
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderPrint/ProcessControl.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderPrint/ProcessControl.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderPrint/ProcessControl.cs	(revision 468)
@@ -96,6 +96,9 @@
                     // è‡ªãƒ—ãƒ­ã‚»ã‚¹ã�¯å‡¦ç�†ã�—ã�ªã�„
                     if (CurRec.Key == s_CurrentProcessNo) continue;
 
+                    // è£½å“�ã�«ã‚ˆã�£ã�¦ã�®å®Ÿè£…ãƒ�ã‚§ãƒƒã‚¯
+                    if (!ClsExcute.GetImplementationProcess(CurRec.Key)) continue;
+
                     //ã‚¤ãƒ™ãƒ³ãƒˆã�®ç™»éŒ²
                     switch (CurRec.Key)
                     {
@@ -232,6 +235,7 @@
         {
             try
             {
+                if (ClsExcute.ProcControlPara.Count < 1) return false;
                 // ãƒ—ãƒ­ã‚»ã‚¹èµ·å‹•ãƒ†ãƒ¼ãƒ–ãƒ«ã�«ç”³è«‹ç”»é�¢ã�Œè¨­å®šã�•ã‚Œã�¦ã�„ã‚‹å ´å�ˆã�¯true
                 int NextProcess = ClsExcute.ProcControlPara[ClsExcute.GetNowProcessPoint()].ProcNo;
                 if (NextProcess == (int)ClsExcute.SubFormExecuteNo.ApprovalScreen) return true;
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderStatus/FrmPurchaseOrderStatus.designer.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderStatus/FrmPurchaseOrderStatus.designer.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderStatus/FrmPurchaseOrderStatus.designer.cs	(revision 468)
@@ -157,7 +157,7 @@
             this.radioButton2.BackColor = System.Drawing.Color.Transparent;
             this.radioButton2.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.radioButton2.ForeColor = System.Drawing.Color.Black;
-            this.radioButton2.Location = new System.Drawing.Point(662, 32);
+            this.radioButton2.Location = new System.Drawing.Point(662, 30);
             this.radioButton2.Name = "radioButton2";
             this.radioButton2.Size = new System.Drawing.Size(77, 20);
             this.radioButton2.TabIndex = 44;
@@ -172,7 +172,7 @@
             this.radioButton1.Checked = true;
             this.radioButton1.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.radioButton1.ForeColor = System.Drawing.Color.Black;
-            this.radioButton1.Location = new System.Drawing.Point(662, 12);
+            this.radioButton1.Location = new System.Drawing.Point(662, 10);
             this.radioButton1.Name = "radioButton1";
             this.radioButton1.Size = new System.Drawing.Size(77, 20);
             this.radioButton1.TabIndex = 43;
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ReqApprovalStatus/FrmReqApprovalStatus.designer.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ReqApprovalStatus/FrmReqApprovalStatus.designer.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ReqApprovalStatus/FrmReqApprovalStatus.designer.cs	(revision 468)
@@ -165,7 +165,7 @@
             this.radioButton2.Checked = true;
             this.radioButton2.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.radioButton2.ForeColor = System.Drawing.Color.Black;
-            this.radioButton2.Location = new System.Drawing.Point(662, 32);
+            this.radioButton2.Location = new System.Drawing.Point(662, 30);
             this.radioButton2.Name = "radioButton2";
             this.radioButton2.Size = new System.Drawing.Size(77, 20);
             this.radioButton2.TabIndex = 44;
@@ -180,7 +180,7 @@
             this.radioButton1.BackColor = System.Drawing.Color.Transparent;
             this.radioButton1.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.radioButton1.ForeColor = System.Drawing.Color.Black;
-            this.radioButton1.Location = new System.Drawing.Point(662, 12);
+            this.radioButton1.Location = new System.Drawing.Point(662, 10);
             this.radioButton1.Name = "radioButton1";
             this.radioButton1.Size = new System.Drawing.Size(77, 20);
             this.radioButton1.TabIndex = 43;
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ReqbillingStatus/FrmReqBillingStatus.designer.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ReqbillingStatus/FrmReqBillingStatus.designer.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ReqbillingStatus/FrmReqBillingStatus.designer.cs	(revision 468)
@@ -171,7 +171,7 @@
             this.radioButton2.Checked = true;
             this.radioButton2.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.radioButton2.ForeColor = System.Drawing.Color.Black;
-            this.radioButton2.Location = new System.Drawing.Point(662, 32);
+            this.radioButton2.Location = new System.Drawing.Point(662, 30);
             this.radioButton2.Name = "radioButton2";
             this.radioButton2.Size = new System.Drawing.Size(77, 20);
             this.radioButton2.TabIndex = 44;
@@ -186,7 +186,7 @@
             this.radioButton1.BackColor = System.Drawing.Color.Transparent;
             this.radioButton1.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.radioButton1.ForeColor = System.Drawing.Color.Black;
-            this.radioButton1.Location = new System.Drawing.Point(662, 12);
+            this.radioButton1.Location = new System.Drawing.Point(662, 10);
             this.radioButton1.Name = "radioButton1";
             this.radioButton1.Size = new System.Drawing.Size(77, 20);
             this.radioButton1.TabIndex = 43;
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntry/FrmEntryReqSelOrderer.resx
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntry/FrmEntryReqSelOrderer.resx	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntry/FrmEntryReqSelOrderer.resx	(nonexistent)
@@ -1,141 +0,0 @@
-ï»¿<?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="col1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="col2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="col3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="col4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="col5.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="col6.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="col7.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-</root>
\ No newline at end of file
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntry/FrmEntryReqSelOrderer.Designer.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntry/FrmEntryReqSelOrderer.Designer.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntry/FrmEntryReqSelOrderer.Designer.cs	(nonexistent)
@@ -1,246 +0,0 @@
-ï»¿namespace ProcessManagement.Forms.DataEntry
-{
-    partial class FrmEntryReqSelOrderer
-    {
-        /// <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.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();
-            this.label4 = new System.Windows.Forms.Label();
-            this.cbReqMonth = new System.Windows.Forms.ComboBox();
-            this.dgv1 = new CustomControls.DataGridViewEX();
-            this.col1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.col2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.col3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.col4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.col5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.col6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.col7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.btnSelRequest = new System.Windows.Forms.Button();
-            this.btnEnd = new System.Windows.Forms.Button();
-            ((System.ComponentModel.ISupportInitialize)(this.dgv1)).BeginInit();
-            this.SuspendLayout();
-            // 
-            // label4
-            // 
-            this.label4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
-            this.label4.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label4.CausesValidation = false;
-            this.label4.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.label4.Location = new System.Drawing.Point(12, 9);
-            this.label4.Name = "label4";
-            this.label4.Size = new System.Drawing.Size(100, 23);
-            this.label4.TabIndex = 0;
-            this.label4.Text = "è«‹æ±‚æœˆ";
-            this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // cbReqMonth
-            // 
-            this.cbReqMonth.BackColor = System.Drawing.Color.White;
-            this.cbReqMonth.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
-            this.cbReqMonth.FormattingEnabled = true;
-            this.cbReqMonth.Location = new System.Drawing.Point(118, 9);
-            this.cbReqMonth.Name = "cbReqMonth";
-            this.cbReqMonth.Size = new System.Drawing.Size(109, 23);
-            this.cbReqMonth.TabIndex = 1;
-            this.cbReqMonth.SelectedIndexChanged += new System.EventHandler(this.cbReqMonth_SelectedIndexChanged);
-            // 
-            // dgv1
-            // 
-            this.dgv1.AllowUserToAddRows = false;
-            this.dgv1.AllowUserToDeleteRows = false;
-            this.dgv1.AllowUserToResizeColumns = false;
-            this.dgv1.AllowUserToResizeRows = false;
-            this.dgv1.BackgroundColor = System.Drawing.Color.White;
-            dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
-            dataGridViewCellStyle1.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
-            dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
-            dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
-            dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
-            this.dgv1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
-            this.dgv1.ColumnHeadersHeight = 28;
-            this.dgv1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
-            this.dgv1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
-            this.col1,
-            this.col2,
-            this.col3,
-            this.col4,
-            this.col5,
-            this.col6,
-            this.col7});
-            this.dgv1.EnableHeadersVisualStyles = false;
-            this.dgv1.Location = new System.Drawing.Point(12, 42);
-            this.dgv1.MultiSelect = false;
-            this.dgv1.Name = "dgv1";
-            this.dgv1.RowHeadersVisible = false;
-            this.dgv1.RowTemplate.Height = 21;
-            this.dgv1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
-            this.dgv1.Size = new System.Drawing.Size(661, 272);
-            this.dgv1.TabIndex = 2;
-            this.dgv1.SelectionChanged += new System.EventHandler(this.dgv1_SelectionChanged);
-            this.dgv1.DoubleClick += new System.EventHandler(this.dgvMaster_DoubleClick);
-            // 
-            // col1
-            // 
-            this.col1.HeaderText = "è«‹æ±‚å…ˆ";
-            this.col1.Name = "col1";
-            this.col1.ReadOnly = true;
-            this.col1.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.col1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.col1.Width = 320;
-            // 
-            // col2
-            // 
-            dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.col2.DefaultCellStyle = dataGridViewCellStyle2;
-            this.col2.HeaderText = "è«‹æ±‚æ¸ˆ";
-            this.col2.Name = "col2";
-            this.col2.ReadOnly = true;
-            this.col2.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.col2.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.col2.Width = 80;
-            // 
-            // col3
-            // 
-            dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.col3.DefaultCellStyle = dataGridViewCellStyle3;
-            this.col3.HeaderText = "æœªè«‹æ±‚";
-            this.col3.Name = "col3";
-            this.col3.ReadOnly = true;
-            this.col3.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.col3.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.col3.Width = 80;
-            // 
-            // col4
-            // 
-            dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.col4.DefaultCellStyle = dataGridViewCellStyle4;
-            this.col4.HeaderText = "ç·�é¡�";
-            this.col4.Name = "col4";
-            this.col4.ReadOnly = true;
-            this.col4.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.col4.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.col4.Width = 160;
-            // 
-            // col5
-            // 
-            this.col5.HeaderText = "OrderersDivision";
-            this.col5.Name = "col5";
-            this.col5.ReadOnly = true;
-            this.col5.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.col5.Visible = false;
-            // 
-            // col6
-            // 
-            this.col6.HeaderText = "OrderersCode";
-            this.col6.Name = "col6";
-            this.col6.ReadOnly = true;
-            this.col6.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.col6.Visible = false;
-            // 
-            // col7
-            // 
-            this.col7.HeaderText = "OrderersName";
-            this.col7.Name = "col7";
-            this.col7.ReadOnly = true;
-            this.col7.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.col7.Visible = false;
-            // 
-            // btnSelRequest
-            // 
-            this.btnSelRequest.BackColor = System.Drawing.Color.Blue;
-            this.btnSelRequest.Cursor = System.Windows.Forms.Cursors.Default;
-            this.btnSelRequest.Enabled = false;
-            this.btnSelRequest.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.btnSelRequest.ForeColor = System.Drawing.Color.White;
-            this.btnSelRequest.Location = new System.Drawing.Point(427, 322);
-            this.btnSelRequest.Name = "btnSelRequest";
-            this.btnSelRequest.Size = new System.Drawing.Size(120, 30);
-            this.btnSelRequest.TabIndex = 3;
-            this.btnSelRequest.Text = "è«‹æ±‚é�¸æŠž";
-            this.btnSelRequest.UseVisualStyleBackColor = false;
-            this.btnSelRequest.Click += new System.EventHandler(this.btnSelRequest_Click);
-            // 
-            // btnEnd
-            // 
-            this.btnEnd.BackColor = System.Drawing.Color.Red;
-            this.btnEnd.Cursor = System.Windows.Forms.Cursors.Default;
-            this.btnEnd.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.btnEnd.ForeColor = System.Drawing.Color.Black;
-            this.btnEnd.Location = new System.Drawing.Point(553, 322);
-            this.btnEnd.Name = "btnEnd";
-            this.btnEnd.Size = new System.Drawing.Size(120, 30);
-            this.btnEnd.TabIndex = 4;
-            this.btnEnd.Text = "çµ‚ã€€äº†";
-            this.btnEnd.UseVisualStyleBackColor = false;
-            this.btnEnd.Click += new System.EventHandler(this.btnEnd_Click);
-            // 
-            // FrmEntryReqSelOrderer
-            // 
-            this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 15F);
-            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
-            this.BackColor = System.Drawing.Color.Black;
-            this.ClientSize = new System.Drawing.Size(684, 362);
-            this.Controls.Add(this.btnEnd);
-            this.Controls.Add(this.btnSelRequest);
-            this.Controls.Add(this.dgv1);
-            this.Controls.Add(this.cbReqMonth);
-            this.Controls.Add(this.label4);
-            this.Cursor = System.Windows.Forms.Cursors.Default;
-            this.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
-            this.Margin = new System.Windows.Forms.Padding(4);
-            this.Name = "FrmEntryReqSelOrderer";
-            this.ShowIcon = false;
-            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
-            this.Text = "è«‹æ±‚æ›¸ä½œæˆ�";
-            this.Load += new System.EventHandler(this.FrmEntryReqSelOrderer_Load);
-            ((System.ComponentModel.ISupportInitialize)(this.dgv1)).EndInit();
-            this.ResumeLayout(false);
-
-        }
-
-        #endregion
-
-        private System.Windows.Forms.Label label4;
-        private System.Windows.Forms.ComboBox cbReqMonth;
-        private CustomControls.DataGridViewEX dgv1;
-        private System.Windows.Forms.Button btnSelRequest;
-        private System.Windows.Forms.Button btnEnd;
-        private System.Windows.Forms.DataGridViewTextBoxColumn col1;
-        private System.Windows.Forms.DataGridViewTextBoxColumn col2;
-        private System.Windows.Forms.DataGridViewTextBoxColumn col3;
-        private System.Windows.Forms.DataGridViewTextBoxColumn col4;
-        private System.Windows.Forms.DataGridViewTextBoxColumn col5;
-        private System.Windows.Forms.DataGridViewTextBoxColumn col6;
-        private System.Windows.Forms.DataGridViewTextBoxColumn col7;
-    }
-}
\ No newline at end of file
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntry/FrmEntryReqSelOrderer.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntry/FrmEntryReqSelOrderer.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntry/FrmEntryReqSelOrderer.cs	(nonexistent)
@@ -1,530 +0,0 @@
-ï»¿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;
-
-using ProcessManagement.Common;
-using ProcessManagement.DataModel;
-using ProcessManagement.DB;
-using ProcessManagement.DB.IOAccess;
-using ProcessManagement.Forms.ControlsAction;
-using ProcessManagement.Forms.SubForms;
-
-namespace ProcessManagement.Forms.DataEntry
-{
-    public partial class FrmEntryReqSelOrderer : Form
-    {
-        #region ä½¿ç”¨å®šç¾©
-        //log4netãƒ­ã‚°ã‚’ä½¿ç”¨ã�™ã‚‹
-        private static readonly log4net.ILog logger = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
-        #endregion
-
-        #region å¤‰æ•°
-
-        #region ClsOrdererReqDataã‚¯ãƒ©ã‚¹å®šç¾©
-        /// <summary>
-        /// ç™ºæ³¨è€…è«‹æ±‚
-        /// </summary>
-        private class ClsOrdererReqData
-        {
-            #region ClsOrdererReqDataå¤‰æ•°
-            private int m_nOrderersDivision = 0;        // ç™ºæ³¨è€…åŒºåˆ†
-            private int m_nOrderersCode = 0;            // ç™ºæ³¨è€…ã‚³ãƒ¼ãƒ‰
-            private string m_strOrderersName = "";      // ç™ºæ³¨è€…å��
-
-            private int m_nDoneCount = 0;               // è«‹æ±‚æ¸ˆæ•°
-            private int m_nUndoneCount = 0;             // æœªè«‹æ±‚æ•°
-
-            private long m_lTotalAmount = 0;             // ç·�é¡�
-
-            private List<RequestHead> m_lstReqHead = new List<RequestHead>();       // è«‹æ±‚ãƒ˜ãƒƒãƒ€ãƒªã‚¹ãƒˆ
-
-            #endregion
-
-            #region ClsOrdererReqDataãƒ—ãƒ­ãƒ‘ãƒ†ã‚£
-            public int OrderersDivision
-            {
-                get { return m_nOrderersDivision; }
-            }
-            public int OrderersCode
-            {
-                get { return m_nOrderersCode; }
-            }
-            public string OrderersName
-            {
-                get { return m_strOrderersName; }
-            }
-            public int DoneCount
-            {
-                get { return m_nDoneCount; }
-            }
-            public int UndoneCount
-            {
-                get { return m_nUndoneCount; }
-            }
-            public long TotalAmount
-            {
-                get { return m_lTotalAmount; }
-            }
-
-            public List<RequestHead> ListReqHead
-            {
-                get { return m_lstReqHead; }
-            }
-            #endregion
-
-            #region ClsOrdererReqDataã‚³ãƒ³ã‚¹ãƒˆãƒ©ã‚¯ã‚¿
-            /// <summary>
-            /// ã‚³ãƒ³ã‚¹ãƒˆãƒ©ã‚¯ã‚¿
-            /// </summary>
-            /// <param name="nOrderersDivision"></param>
-            /// <param name="nOrderersCode"></param>
-            /// <param name="strOrderersName"></param>
-            public ClsOrdererReqData(int nOrderersDivision, int nOrderersCode, string strOrderersName)
-            {
-                m_nOrderersDivision = nOrderersDivision;
-                m_nOrderersCode = nOrderersCode;
-                m_strOrderersName = strOrderersName.Trim();
-            }
-            #endregion
-
-            #region ClsOrdererReqData ã‚­ãƒ¼æ–‡å­—åˆ—ã�®å�–å¾—
-            public string GetKeyString()
-            {
-                return GetKeyString(m_nOrderersDivision, m_nOrderersCode, m_strOrderersName);
-            }
-            #endregion
-
-            #region ClsOrdererReqData ã‚­ãƒ¼æ–‡å­—åˆ—ã�®å�–å¾—(static)
-            public static string GetKeyString(int nOrderersDivision, int nOrderersCode, string strOrderersName)
-            {
-                string ret = "";
-
-                ret = nOrderersDivision.ToString("D5");
-                ret += "_";
-                ret += nOrderersCode.ToString("D5");
-                ret += "_";
-                ret += strOrderersName;
-
-                return ret;
-            }
-            #endregion
-
-            #region ClsOrdererReqData è«‹æ±‚ãƒ˜ãƒƒãƒ€ã�®è¿½åŠ 
-            public void AddReqHead(RequestHead ReqHead)
-            {
-                if (ReqHead.InvoiceNo > 0)
-                {
-                    m_nDoneCount++;
-                }
-                else
-                {
-                    m_nUndoneCount++;
-                }
-
-                m_lTotalAmount += ReqHead.RequestTotalAmount;
-
-                m_lstReqHead.Add(ReqHead);
-                return;
-            }
-            #endregion
-
-        }
-        #endregion
-
-        // ç™ºæ³¨è€…è«‹æ±‚ãƒ‡ãƒ¼ã‚¿ãƒ�ãƒƒã‚·ãƒ¥ãƒ†ãƒ¼ãƒ–ãƒ«
-        Dictionary<int, Dictionary<string, ClsOrdererReqData>> m_dicOrdererReqData = new Dictionary<int, Dictionary<string, ClsOrdererReqData>>();
-
-        #endregion
-
-        #region ã‚³ãƒ³ã‚¹ãƒˆãƒ©ã‚¯ã‚¿
-        public FrmEntryReqSelOrderer()
-        {
-            InitializeComponent();
-        }
-        #endregion
-
-        #region ãƒ•ã‚©ãƒ¼ãƒ ã�®ãƒ­ãƒ¼ãƒ‰
-        /// <summary>
-        /// ãƒ•ã‚©ãƒ¼ãƒ ã�®ãƒ­ãƒ¼ãƒ‰
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void FrmEntryReqSelOrderer_Load(object sender, EventArgs e)
-        {
-            // ãƒ‡ãƒ¼ã‚¿ã‚°ãƒªãƒƒãƒ‰ãƒ“ãƒ¥ã�®è¨­å®š
-            dgv1.EnableHeadersVisualStyles = false;
-            dgv1.AutoGenerateColumns = false;
-            dgv1.ColumnHeadersHeight = 28;
-            dgv1.ColumnHeadersDefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter;
-            dgv1.AllowUserToAddRows = false;
-            dgv1.RowTemplate.Height = 24;
-            dgv1.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            dgv1.ColumnHeadersDefaultCellStyle.BackColor = Color.Aquamarine;
-
-            List<int> lstReqMonth = new List<int>();
-
-            // è«‹æ±‚æœˆã�®å�–å¾—
-            GetRequestMonth(ref lstReqMonth);
-
-            if ((lstReqMonth.Count == 0) || (lstReqMonth[0] != int.Parse(DateTime.Now.ToString("yyyyMM"))))
-            {
-                lstReqMonth.Insert(0, int.Parse(DateTime.Now.ToString("yyyyMM")));
-            }
-
-            List<KeyValuePair<int, string>> lstKeyVal = new List<KeyValuePair<int, string>>();
-
-            foreach (int nMonth in lstReqMonth)
-            {
-                int yyyy = CommonMotions.cnvTruncate((double)(nMonth / 100));
-                int mm = nMonth % 100;
-                string strReqMonth = string.Format("{0}/{1}", yyyy, mm.ToString("D2"));
-
-                KeyValuePair<int, string> key = new KeyValuePair<int, string>(nMonth, strReqMonth);
-
-                lstKeyVal.Add(key);
-            }
-
-            int nReqMonth = 0;
-
-            cbReqMonth.ValueMember = "Key";
-            cbReqMonth.DisplayMember = "Value";
-
-            // ã‚³ãƒ³ãƒœãƒœãƒƒã‚¯ã‚¹åˆ�æœŸè¡¨ç¤º
-            ComboBoxAction.InitDataSetCombBox(cbReqMonth, lstKeyVal, false);
-
-            if (cbReqMonth.Items.Count > 0)
-            {
-                cbReqMonth.SelectedValue = int.Parse(DateTime.Now.ToString("yyyyMM"));
-                nReqMonth = CommonMotions.cnvInt(cbReqMonth.SelectedValue);
-
-                // è«‹æ±‚ãƒ‡ãƒ¼ã‚¿ã�®å�–å¾—
-                GetRequestData( nReqMonth );
-            }
-
-            // è«‹æ±‚ãƒ‡ãƒ¼ã‚¿ã�®è¡¨ç¤º
-            DispOrdererReqData(nReqMonth);
-
-        }
-        #endregion
-
-        #region [è«‹æ±‚é�¸æŠž]ãƒœã‚¿ãƒ³æŠ¼ä¸‹
-        /// <summary>
-        /// [è«‹æ±‚é�¸æŠž]ãƒœã‚¿ãƒ³æŠ¼ä¸‹
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void btnSelRequest_Click(object sender, EventArgs e)
-        {
-
-            int nOrderersDivision = 0;
-            int nOrderersCode = 0;
-            string strOrderersName = "";
-
-            foreach (DataGridViewRow r in dgv1.SelectedRows)
-            {
-                if (r.Cells[4].Value != null)
-                {
-                    nOrderersDivision = CommonMotions.cnvInt(r.Cells[4].Value);
-                    nOrderersCode = CommonMotions.cnvInt(r.Cells[5].Value);
-                    strOrderersName = CommonMotions.cnvString(r.Cells[6].Value);
-
-                    break;
-                }
-            }
-
-            // ãƒ€ãƒŸãƒ¼è¡Œã�®é�¸æŠžã�®å ´å�ˆã�¯ã‚¹ãƒ«ãƒ¼
-            if (nOrderersDivision == 0)
-            {
-                return;
-            }
-
-            FrmEntryReqSelRequest frmEntry = new FrmEntryReqSelRequest();
-            //FrmRequestPrintSel frmEntry = new FrmRequestPrintSel();
-
-            frmEntry.EditFlg = true;
-            frmEntry.RequestMonth = CommonMotions.cnvInt(cbReqMonth.SelectedValue);
-            frmEntry.OrderersDivision = nOrderersDivision;
-            frmEntry.OrderersCode = nOrderersCode;
-            frmEntry.OrderersName = strOrderersName;
-
-            Visible = false;
-
-            DialogResult ret = frmEntry.ShowDialog(this);
-
-            int nInvoiceNo = frmEntry.InvoiceNo;
-
-            frmEntry.Dispose();
-
-            if ( ret == DialogResult.Cancel)
-            {
-                Visible = true;
-                return;
-            }
-
-            FrmRequestPrint frmPrint = new FrmRequestPrint();
-
-            //frmPrint.InvoiceNo = nInvoiceNo;
-
-            frmPrint.ShowDialog(this);
-            
-        }
-        #endregion
-
-        #region [çµ‚äº†]ãƒœã‚¿ãƒ³æŠ¼ä¸‹
-        /// <summary>
-        /// [çµ‚äº†]ãƒœã‚¿ãƒ³æŠ¼ä¸‹
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void btnEnd_Click(object sender, EventArgs e)
-        {
-            ClsExcute.BackProcess();
-
-            Close();
-        }
-        #endregion
-
-        #region è«‹æ±‚æœˆã‚³ãƒ³ãƒœã�®å¤‰æ›´
-        /// <summary>
-        /// è«‹æ±‚æœˆã‚³ãƒ³ãƒœã�®å¤‰æ›´
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void cbReqMonth_SelectedIndexChanged(object sender, EventArgs e)
-        {
-            // è«‹æ±‚æœˆã‚³ãƒ³ãƒœã�‹ã‚‰è«‹æ±‚æœˆã‚’å�–å¾—
-            int nReqMonth = CommonMotions.cnvInt(cbReqMonth.SelectedValue);
-
-            // è«‹æ±‚ãƒ‡ãƒ¼ã‚¿ã�®å�–å¾—
-            GetRequestData(nReqMonth);
-
-            // ãƒ‡ãƒ¼ã‚¿ã‚°ãƒªãƒƒãƒ‰ãƒ“ãƒ¥ã�®è¡Œå‰Šé™¤
-            dgv1.Rows.Clear();
-
-            // è«‹æ±‚ãƒ‡ãƒ¼ã‚¿ã�®è¡¨ç¤º
-            DispOrdererReqData(nReqMonth);
-
-        }
-        #endregion
-
-        #region ãƒ‡ãƒ¼ã‚¿ã‚°ãƒªãƒƒãƒ‰ãƒ“ãƒ¥ã�®é�¸æŠžå¤‰æ›´
-        private void dgv1_SelectionChanged(object sender, EventArgs e)
-        {
-            bool bEnable = false;
-
-            foreach (DataGridViewRow r in dgv1.SelectedRows)
-            {
-                if (r.Cells[4].Value != null)
-                {
-                    bEnable = true;                   
-                }
-            }
-
-            btnSelRequest.Enabled = bEnable;
-        }
-        #endregion
-
-        #region ãƒ€ãƒ–ãƒ«ã‚¯ãƒªãƒƒã‚¯
-        private void dgvMaster_DoubleClick(object sender, EventArgs e)
-        {
-            btnSelRequest_Click(sender, e);
-        }
-        #endregion
-
-        #region è«‹æ±‚æœˆã�®å�–å¾—
-        /// <summary>
-        /// è«‹æ±‚æœˆã�®å�–å¾—
-        /// </summary>
-        private void GetRequestMonth( ref List<int> lstReqestMonth )
-        {
-            IORequestHead ioReqHead = new IORequestHead();
-
-            List<RequestHead> lstWork = new List<RequestHead>();
-
-            Dictionary<int, List<RequestHead>> dicWork = new Dictionary<int, List<RequestHead>>();
-
-            try
-            {
-                string sql = " Where AssignedFlg = 0 Order By RequestMonth Desc, ReqConstructionCode Asc";
-
-                // è«‹æ±‚ãƒ˜ãƒƒãƒ€ã�®å�–å¾—
-                if (ioReqHead.SelectAction(sql, ref lstWork) == false)
-                {
-                    return;
-                }
-
-                // è«‹æ±‚ãƒ˜ãƒƒãƒ€ãƒ¬ã‚³ãƒ¼ãƒ‰åˆ†ãƒ«ãƒ¼ãƒ—
-                foreach (RequestHead ReqHead in lstWork)
-                {
-                    List<RequestHead> lstReqHead = null;
-
-                    // è«‹æ±‚æœˆæ¯Žã�®å·¥äº‹ç•ªå�·ãƒªã‚¹ãƒˆã�Œå­˜åœ¨ã�—ã�ªã�„å ´å�ˆ
-                    if( dicWork.TryGetValue( ReqHead.RequestMonth, out lstReqHead ) == false )
-                    {
-                        // å·¥äº‹ç•ªå�·ãƒªã‚¹ãƒˆã‚’æ§‹ç¯‰
-                        lstReqHead = new List<RequestHead>();
-                        // ãƒ�ãƒƒã‚·ãƒ¥ãƒ†ãƒ¼ãƒ–ãƒ«ã�«è¿½åŠ 
-                        dicWork.Add(ReqHead.RequestMonth, lstReqHead);
-                    }
-                    // å·¥äº‹ç•ªå�·ãƒªã‚¹ãƒˆã�«è¿½åŠ 
-                    lstReqHead.Add(ReqHead);
-                }
-
-                List<int> lstKey = new List<int>(dicWork.Keys);
-
-                foreach (int nRequestMonth in lstKey)
-                {
-                    List<RequestHead> lstReqHead = null;
-
-                    if (dicWork.TryGetValue(nRequestMonth, out lstReqHead) == true)
-                    {
-                        foreach (RequestHead ReqHead in lstReqHead)
-                        {
-                            // æœ€çµ‚æ‰¿èª�æ¸ˆ
-                            if (ClsCommonApproval.CheckProcessApproval(ReqHead.ReqConstructionCode
-                                                                        , (int)ClsExcute.ApprovalListNo.OrderRequestApproval
-                                                                        , ReqHead.OrderNo))
-                            {
-                                // è«‹æ±‚æœˆã‚’ãƒªã‚¹ãƒˆã�«è¿½åŠ ï¼ˆä»¥é™�ã�¯ãƒ�ã‚§ãƒƒã‚¯ã�™ã‚‹å¿…è¦�ã�ªã�—ï¼‰
-                                lstReqestMonth.Add(nRequestMonth);
-                                break;
-                            }
-                        }
-                    }
-                }
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-            finally
-            {
-                ioReqHead.close();
-                ioReqHead = null;
-            }
-
-            return;
-        }
-        #endregion
-
-        #region ç™ºæ³¨è€…è«‹æ±‚ãƒ‡ãƒ¼ã‚¿ã�®å�–å¾—
-        /// <summary>
-        /// è«‹æ±‚å…ˆä¸€è¦§ã�®å�–å¾—
-        /// </summary>
-        private void GetRequestData( int nReqMonth )
-        {
-            IORequestHead ioReqHead = new IORequestHead();
-
-            List<RequestHead> lstWork = new List<RequestHead>();
-
-            try
-            {
-                Dictionary<string, ClsOrdererReqData> dicReqData = null;
-
-                // å½“è©²è«‹æ±‚æœˆã�Œæ—¢ã�«ç™»éŒ²ã�•ã‚Œã�¦ã�„ã‚‹å ´å�ˆ
-                if (m_dicOrdererReqData.TryGetValue(nReqMonth, out dicReqData) == true)
-                {
-                    return;
-                }
-
-                // å½“è©²è«‹æ±‚æœˆã�®è«‹æ±‚ãƒ˜ãƒƒãƒ€ã‚’å�–å¾—
-                //string sql = string.Format(" Where RequestMonth = {0} And AssignedFlg = 0 Order by ReqConstructionCode", nReqMonth);
-                string sql = string.Format(" Where RequestMonth = {0} Order by ReqConstructionCode", nReqMonth);
-                if (ioReqHead.SelectAction(sql, ref lstWork) == false)
-                {
-                    return;
-                }
-
-                // ãƒ�ãƒƒã‚·ãƒ¥ãƒ†ãƒ¼ãƒ–ãƒ«ã‚’è¿½åŠ 
-                dicReqData = new Dictionary<string, ClsOrdererReqData>();
-                m_dicOrdererReqData.Add(nReqMonth, dicReqData);
-
-                foreach (RequestHead ReqHead in lstWork)
-                {
-                    // æœ€çµ‚æ‰¿èª�ã�•ã‚Œã�¦ã�„ã�ªã�„å ´å�ˆã�¯å¯¾è±¡å¤–
-                    if (!ClsCommonApproval.CheckProcessApproval(ReqHead.ReqConstructionCode
-                                                                , (int)ClsExcute.ApprovalListNo.OrderRequestApproval
-                                                                , ReqHead.OrderNo))
-                    {
-                        continue;
-                    }
-
-                    // ã‚­ãƒ¼æ–‡å­—åˆ—ã‚’å�–å¾—
-                    string strKey = ClsOrdererReqData.GetKeyString(ReqHead.OrderersDivision, ReqHead.OrderersCode, ReqHead.OrderersName);
-                    ClsOrdererReqData OdrReqData = null ;
-
-                    // ã�¾ã� ç™»éŒ²ã�•ã‚Œã�¦ã�„ã�ªã�„å ´å�ˆ
-                    if (dicReqData.TryGetValue(strKey, out OdrReqData) == false)
-                    {
-                        // ç™ºæ³¨è€…è«‹æ±‚ãƒ‡ãƒ¼ã‚¿ã‚’è¿½åŠ 
-                        OdrReqData = new ClsOrdererReqData(ReqHead.OrderersDivision, ReqHead.OrderersCode, ReqHead.OrderersName);
-                        dicReqData.Add(strKey, OdrReqData);
-
-                    }
-                    
-                    // ç™ºæ³¨è€…è«‹æ±‚ãƒ‡ãƒ¼ã‚¿ã�«è«‹æ±‚ãƒ˜ãƒƒãƒ€ã‚’è¿½åŠ 
-                    OdrReqData.AddReqHead(ReqHead);
-                }
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-            finally
-            {
-                ioReqHead.close();
-                ioReqHead = null;
-            }
-        }
-        #endregion
-
-        #region è«‹æ±‚ãƒ‡ãƒ¼ã‚¿ã�®è¡¨ç¤º
-        private void DispOrdererReqData(int nReqMonth)
-        {
-            Dictionary<string, ClsOrdererReqData> dicReqData = null;
-            if (m_dicOrdererReqData.TryGetValue(nReqMonth, out dicReqData) == false)
-            {
-                return;
-            }
-
-            int nCount = dicReqData.Count();
-
-            if( nCount < 10 )
-            {
-                nCount = 10;
-            }
-            dgv1.Rows.Add(nCount);
-
-            int trow = 0;
-
-            List<string> lstKey = new List<string>(dicReqData.Keys);
-            foreach (string strKey in lstKey)
-            {
-                ClsOrdererReqData   OrdReqData = null;
-                if (dicReqData.TryGetValue(strKey, out OrdReqData) == true)
-                {
-                    dgv1[0, trow].Value = OrdReqData.OrderersName;
-                    dgv1[1, trow].Value = OrdReqData.DoneCount.ToString("#,0");
-                    dgv1[2, trow].Value = OrdReqData.UndoneCount.ToString("#,0");
-                    dgv1[3, trow].Value = OrdReqData.TotalAmount.ToString("#,0");
-                    dgv1[4, trow].Value = OrdReqData.OrderersDivision;
-                    dgv1[5, trow].Value = OrdReqData.OrderersCode;
-                    dgv1[6, trow].Value = OrdReqData.OrderersName;
-
-                    trow++;
-                }
-            }
-
-            dgv1[0,0].Selected = false;
-        }
-        #endregion
-
-
-    }
-}
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntry/FrmEntryReqSelRequest.resx
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntry/FrmEntryReqSelRequest.resx	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntry/FrmEntryReqSelRequest.resx	(nonexistent)
@@ -1,138 +0,0 @@
-ï»¿<?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="col1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="col2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="col3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="col4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="col5.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="col6.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-</root>
\ No newline at end of file
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntry/FrmEntryReqSelRequest.Designer.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntry/FrmEntryReqSelRequest.Designer.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntry/FrmEntryReqSelRequest.Designer.cs	(nonexistent)
@@ -1,433 +0,0 @@
-ï»¿namespace ProcessManagement.Forms.DataEntry
-{
-
-    partial class FrmEntryReqSelRequest
-    {
-        /// <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.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();
-            this.label4 = new System.Windows.Forms.Label();
-            this.lbReqMonth = new System.Windows.Forms.Label();
-            this.label2 = new System.Windows.Forms.Label();
-            this.lbOrderersName = new System.Windows.Forms.Label();
-            this.btnEnd = new System.Windows.Forms.Button();
-            this.btnGenerate = new System.Windows.Forms.Button();
-            this.panel1 = new System.Windows.Forms.Panel();
-            this.lbTotalAmount = new System.Windows.Forms.Label();
-            this.dgv1 = new CustomControls.DataGridViewEX();
-            this.col1 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
-            this.col2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.col3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.col4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.col5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.col6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.label8 = new System.Windows.Forms.Label();
-            this.btnAllUnselect = new System.Windows.Forms.Button();
-            this.label7 = new System.Windows.Forms.Label();
-            this.btnAllSelect = new System.Windows.Forms.Button();
-            this.lbSelect = new System.Windows.Forms.Label();
-            this.label5 = new System.Windows.Forms.Label();
-            this.label10 = new System.Windows.Forms.Label();
-            this.cbCreateDate = new System.Windows.Forms.ComboBox();
-            this.btnDel = new System.Windows.Forms.Button();
-            this.panel1.SuspendLayout();
-            ((System.ComponentModel.ISupportInitialize)(this.dgv1)).BeginInit();
-            this.SuspendLayout();
-            // 
-            // label4
-            // 
-            this.label4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
-            this.label4.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label4.CausesValidation = false;
-            this.label4.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.label4.Location = new System.Drawing.Point(12, 9);
-            this.label4.Name = "label4";
-            this.label4.Size = new System.Drawing.Size(100, 23);
-            this.label4.TabIndex = 23;
-            this.label4.Text = "è«‹æ±‚æœˆ";
-            this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lbReqMonth
-            // 
-            this.lbReqMonth.BackColor = System.Drawing.Color.White;
-            this.lbReqMonth.ForeColor = System.Drawing.SystemColors.ControlText;
-            this.lbReqMonth.Location = new System.Drawing.Point(118, 8);
-            this.lbReqMonth.Name = "lbReqMonth";
-            this.lbReqMonth.Size = new System.Drawing.Size(103, 24);
-            this.lbReqMonth.TabIndex = 24;
-            this.lbReqMonth.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
-            // 
-            // label2
-            // 
-            this.label2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
-            this.label2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label2.CausesValidation = false;
-            this.label2.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.label2.Location = new System.Drawing.Point(12, 42);
-            this.label2.Name = "label2";
-            this.label2.Size = new System.Drawing.Size(100, 23);
-            this.label2.TabIndex = 25;
-            this.label2.Text = "è«‹æ±‚å…ˆ";
-            this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lbOrderersName
-            // 
-            this.lbOrderersName.BackColor = System.Drawing.Color.White;
-            this.lbOrderersName.ForeColor = System.Drawing.SystemColors.ControlText;
-            this.lbOrderersName.Location = new System.Drawing.Point(118, 42);
-            this.lbOrderersName.Name = "lbOrderersName";
-            this.lbOrderersName.Size = new System.Drawing.Size(591, 24);
-            this.lbOrderersName.TabIndex = 26;
-            this.lbOrderersName.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
-            // 
-            // btnEnd
-            // 
-            this.btnEnd.BackColor = System.Drawing.Color.Aqua;
-            this.btnEnd.Cursor = System.Windows.Forms.Cursors.Default;
-            this.btnEnd.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.btnEnd.ForeColor = System.Drawing.Color.Black;
-            this.btnEnd.Location = new System.Drawing.Point(640, 441);
-            this.btnEnd.Name = "btnEnd";
-            this.btnEnd.Size = new System.Drawing.Size(120, 30);
-            this.btnEnd.TabIndex = 34;
-            this.btnEnd.Text = "çµ‚ã€€äº†";
-            this.btnEnd.UseVisualStyleBackColor = false;
-            this.btnEnd.Click += new System.EventHandler(this.btnEnd_Click);
-            // 
-            // btnGenerate
-            // 
-            this.btnGenerate.BackColor = System.Drawing.Color.Blue;
-            this.btnGenerate.Cursor = System.Windows.Forms.Cursors.Default;
-            this.btnGenerate.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.btnGenerate.ForeColor = System.Drawing.Color.White;
-            this.btnGenerate.Location = new System.Drawing.Point(514, 441);
-            this.btnGenerate.Name = "btnGenerate";
-            this.btnGenerate.Size = new System.Drawing.Size(120, 30);
-            this.btnGenerate.TabIndex = 33;
-            this.btnGenerate.Text = "è«‹æ±‚æ›¸ä½œæˆ�";
-            this.btnGenerate.UseVisualStyleBackColor = false;
-            this.btnGenerate.Click += new System.EventHandler(this.btnGenerate_Click);
-            // 
-            // panel1
-            // 
-            this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.panel1.Controls.Add(this.lbTotalAmount);
-            this.panel1.Controls.Add(this.dgv1);
-            this.panel1.Controls.Add(this.label8);
-            this.panel1.Controls.Add(this.btnAllUnselect);
-            this.panel1.Controls.Add(this.label7);
-            this.panel1.Controls.Add(this.btnAllSelect);
-            this.panel1.Controls.Add(this.lbSelect);
-            this.panel1.Controls.Add(this.label5);
-            this.panel1.ForeColor = System.Drawing.Color.Black;
-            this.panel1.Location = new System.Drawing.Point(12, 77);
-            this.panel1.Name = "panel1";
-            this.panel1.Size = new System.Drawing.Size(745, 354);
-            this.panel1.TabIndex = 37;
-            // 
-            // lbTotalAmount
-            // 
-            this.lbTotalAmount.BackColor = System.Drawing.Color.White;
-            this.lbTotalAmount.ForeColor = System.Drawing.Color.Black;
-            this.lbTotalAmount.Location = new System.Drawing.Point(304, 6);
-            this.lbTotalAmount.Name = "lbTotalAmount";
-            this.lbTotalAmount.Size = new System.Drawing.Size(185, 24);
-            this.lbTotalAmount.TabIndex = 42;
-            this.lbTotalAmount.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
-            // 
-            // dgv1
-            // 
-            this.dgv1.AllowUserToAddRows = false;
-            this.dgv1.AllowUserToDeleteRows = false;
-            this.dgv1.AllowUserToResizeColumns = false;
-            this.dgv1.AllowUserToResizeRows = false;
-            this.dgv1.BackgroundColor = System.Drawing.Color.White;
-            dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
-            dataGridViewCellStyle1.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
-            dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
-            dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
-            dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
-            this.dgv1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
-            this.dgv1.ColumnHeadersHeight = 28;
-            this.dgv1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
-            this.dgv1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
-            this.col1,
-            this.col2,
-            this.col3,
-            this.col4,
-            this.col5,
-            this.col6});
-            this.dgv1.EnableHeadersVisualStyles = false;
-            this.dgv1.Location = new System.Drawing.Point(8, 36);
-            this.dgv1.Name = "dgv1";
-            this.dgv1.RowHeadersVisible = false;
-            this.dgv1.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
-            this.dgv1.RowTemplate.Height = 21;
-            this.dgv1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
-            this.dgv1.Size = new System.Drawing.Size(721, 270);
-            this.dgv1.TabIndex = 43;
-            this.dgv1.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgv1_CellContentClick);
-            this.dgv1.CellContentDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgv1_CellContentDoubleClick);
-            // 
-            // col1
-            // 
-            this.col1.Frozen = true;
-            this.col1.HeaderText = "";
-            this.col1.Name = "col1";
-            this.col1.ReadOnly = true;
-            this.col1.Width = 30;
-            // 
-            // col2
-            // 
-            this.col2.Frozen = true;
-            this.col2.HeaderText = "è«‹æ±‚ä»¶å��";
-            this.col2.Name = "col2";
-            this.col2.ReadOnly = true;
-            this.col2.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.col2.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.col2.Width = 370;
-            // 
-            // col3
-            // 
-            dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.col3.DefaultCellStyle = dataGridViewCellStyle2;
-            this.col3.Frozen = true;
-            this.col3.HeaderText = "è«‹æ±‚é‡‘é¡�";
-            this.col3.Name = "col3";
-            this.col3.ReadOnly = true;
-            this.col3.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.col3.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.col3.Width = 160;
-            // 
-            // col4
-            // 
-            dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.col4.DefaultCellStyle = dataGridViewCellStyle3;
-            this.col4.Frozen = true;
-            this.col4.HeaderText = "ä½œæˆ�";
-            this.col4.Name = "col4";
-            this.col4.ReadOnly = true;
-            this.col4.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.col4.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.col4.Width = 140;
-            // 
-            // col5
-            // 
-            this.col5.HeaderText = "RequestNo";
-            this.col5.Name = "col5";
-            this.col5.ReadOnly = true;
-            this.col5.Visible = false;
-            // 
-            // col6
-            // 
-            this.col6.HeaderText = "InvoiceNo";
-            this.col6.Name = "col6";
-            this.col6.ReadOnly = true;
-            this.col6.Visible = false;
-            // 
-            // label8
-            // 
-            this.label8.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
-            this.label8.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label8.CausesValidation = false;
-            this.label8.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.label8.ForeColor = System.Drawing.Color.Black;
-            this.label8.Location = new System.Drawing.Point(200, 6);
-            this.label8.Name = "label8";
-            this.label8.Size = new System.Drawing.Size(100, 24);
-            this.label8.TabIndex = 41;
-            this.label8.Text = "é‡‘é¡�å�ˆè¨ˆ";
-            this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // btnAllUnselect
-            // 
-            this.btnAllUnselect.BackColor = System.Drawing.Color.Lime;
-            this.btnAllUnselect.Cursor = System.Windows.Forms.Cursors.Default;
-            this.btnAllUnselect.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.btnAllUnselect.ForeColor = System.Drawing.Color.Black;
-            this.btnAllUnselect.Location = new System.Drawing.Point(134, 312);
-            this.btnAllUnselect.Name = "btnAllUnselect";
-            this.btnAllUnselect.Size = new System.Drawing.Size(120, 30);
-            this.btnAllUnselect.TabIndex = 38;
-            this.btnAllUnselect.Text = "å…¨é�¸æŠžè§£é™¤";
-            this.btnAllUnselect.UseVisualStyleBackColor = false;
-            this.btnAllUnselect.Click += new System.EventHandler(this.btnAllUnselect_Click);
-            // 
-            // label7
-            // 
-            this.label7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
-            this.label7.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label7.CausesValidation = false;
-            this.label7.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.label7.ForeColor = System.Drawing.Color.Black;
-            this.label7.Location = new System.Drawing.Point(151, 6);
-            this.label7.Name = "label7";
-            this.label7.Size = new System.Drawing.Size(42, 24);
-            this.label7.TabIndex = 40;
-            this.label7.Text = "ä»¶";
-            this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // btnAllSelect
-            // 
-            this.btnAllSelect.BackColor = System.Drawing.Color.Yellow;
-            this.btnAllSelect.Cursor = System.Windows.Forms.Cursors.Default;
-            this.btnAllSelect.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.btnAllSelect.ForeColor = System.Drawing.Color.Black;
-            this.btnAllSelect.Location = new System.Drawing.Point(8, 312);
-            this.btnAllSelect.Name = "btnAllSelect";
-            this.btnAllSelect.Size = new System.Drawing.Size(120, 30);
-            this.btnAllSelect.TabIndex = 37;
-            this.btnAllSelect.Text = "å…¨é�¸æŠž";
-            this.btnAllSelect.UseVisualStyleBackColor = false;
-            this.btnAllSelect.Click += new System.EventHandler(this.btnAllSelect_Click);
-            // 
-            // lbSelect
-            // 
-            this.lbSelect.BackColor = System.Drawing.Color.White;
-            this.lbSelect.ForeColor = System.Drawing.SystemColors.ControlText;
-            this.lbSelect.Location = new System.Drawing.Point(93, 6);
-            this.lbSelect.Name = "lbSelect";
-            this.lbSelect.Size = new System.Drawing.Size(55, 24);
-            this.lbSelect.TabIndex = 39;
-            this.lbSelect.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
-            // 
-            // label5
-            // 
-            this.label5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
-            this.label5.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label5.CausesValidation = false;
-            this.label5.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.label5.ForeColor = System.Drawing.Color.Black;
-            this.label5.Location = new System.Drawing.Point(9, 6);
-            this.label5.Name = "label5";
-            this.label5.Size = new System.Drawing.Size(80, 24);
-            this.label5.TabIndex = 38;
-            this.label5.Text = "é�¸æŠž";
-            this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // label10
-            // 
-            this.label10.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
-            this.label10.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label10.CausesValidation = false;
-            this.label10.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.label10.Location = new System.Drawing.Point(227, 9);
-            this.label10.Name = "label10";
-            this.label10.Size = new System.Drawing.Size(100, 23);
-            this.label10.TabIndex = 38;
-            this.label10.Text = "ä½œæˆ�æ—¥";
-            this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // cbCreateDate
-            // 
-            this.cbCreateDate.BackColor = System.Drawing.Color.White;
-            this.cbCreateDate.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
-            this.cbCreateDate.FormattingEnabled = true;
-            this.cbCreateDate.Location = new System.Drawing.Point(333, 10);
-            this.cbCreateDate.Name = "cbCreateDate";
-            this.cbCreateDate.Size = new System.Drawing.Size(150, 23);
-            this.cbCreateDate.TabIndex = 39;
-            this.cbCreateDate.SelectedIndexChanged += new System.EventHandler(this.cbCreateDate_SelectedIndexChanged);
-            // 
-            // btnDel
-            // 
-            this.btnDel.BackColor = System.Drawing.Color.Red;
-            this.btnDel.Cursor = System.Windows.Forms.Cursors.Default;
-            this.btnDel.Enabled = false;
-            this.btnDel.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.btnDel.ForeColor = System.Drawing.Color.Black;
-            this.btnDel.Location = new System.Drawing.Point(12, 440);
-            this.btnDel.Name = "btnDel";
-            this.btnDel.Size = new System.Drawing.Size(120, 30);
-            this.btnDel.TabIndex = 40;
-            this.btnDel.Text = "è«‹æ±‚æ›¸å‰Šé™¤";
-            this.btnDel.UseVisualStyleBackColor = false;
-            this.btnDel.Click += new System.EventHandler(this.btnDel_Click);
-            // 
-            // FrmEntryReqSelRequest
-            // 
-            this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 15F);
-            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
-            this.BackColor = System.Drawing.Color.Black;
-            this.ClientSize = new System.Drawing.Size(768, 481);
-            this.Controls.Add(this.btnDel);
-            this.Controls.Add(this.cbCreateDate);
-            this.Controls.Add(this.label10);
-            this.Controls.Add(this.panel1);
-            this.Controls.Add(this.btnEnd);
-            this.Controls.Add(this.btnGenerate);
-            this.Controls.Add(this.lbOrderersName);
-            this.Controls.Add(this.label2);
-            this.Controls.Add(this.lbReqMonth);
-            this.Controls.Add(this.label4);
-            this.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.ForeColor = System.Drawing.SystemColors.ControlText;
-            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
-            this.Margin = new System.Windows.Forms.Padding(4);
-            this.Name = "FrmEntryReqSelRequest";
-            this.ShowIcon = false;
-            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
-            this.Text = "è«‹æ±‚æ›¸ä½œæˆ�";
-            this.Load += new System.EventHandler(this.FrmEntryReqSelRequest_Load);
-            this.panel1.ResumeLayout(false);
-            ((System.ComponentModel.ISupportInitialize)(this.dgv1)).EndInit();
-            this.ResumeLayout(false);
-
-        }
-
-        #endregion
-
-        private System.Windows.Forms.Label label4;
-        private System.Windows.Forms.Label lbReqMonth;
-        private System.Windows.Forms.Label label2;
-        private System.Windows.Forms.Label lbOrderersName;
-        private System.Windows.Forms.Button btnEnd;
-        private System.Windows.Forms.Button btnGenerate;
-        private System.Windows.Forms.Panel panel1;
-        private System.Windows.Forms.Button btnAllUnselect;
-        private System.Windows.Forms.Button btnAllSelect;
-        private System.Windows.Forms.Label label5;
-        private System.Windows.Forms.Label lbTotalAmount;
-        private System.Windows.Forms.Label label8;
-        private System.Windows.Forms.Label label7;
-        private System.Windows.Forms.Label lbSelect;
-        private CustomControls.DataGridViewEX dgv1;
-        private System.Windows.Forms.Label label10;
-        private System.Windows.Forms.ComboBox cbCreateDate;
-        private System.Windows.Forms.DataGridViewCheckBoxColumn col1;
-        private System.Windows.Forms.DataGridViewTextBoxColumn col2;
-        private System.Windows.Forms.DataGridViewTextBoxColumn col3;
-        private System.Windows.Forms.DataGridViewTextBoxColumn col4;
-        private System.Windows.Forms.DataGridViewTextBoxColumn col5;
-        private System.Windows.Forms.DataGridViewTextBoxColumn col6;
-        private System.Windows.Forms.Button btnDel;
-    }
-}
\ No newline at end of file
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntry/FrmEntryReqSelRequest.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntry/FrmEntryReqSelRequest.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntry/FrmEntryReqSelRequest.cs	(nonexistent)
@@ -1,1023 +0,0 @@
-ï»¿using System;
-using System.Collections;
-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;
-
-using ProcessManagement.Common;
-using ProcessManagement.DataModel;
-using ProcessManagement.DB;
-using ProcessManagement.DB.IOAccess;
-using ProcessManagement.Forms.SubForms;
-using ProcessManagement.Forms.ControlsAction;
-
-
-namespace ProcessManagement.Forms.DataEntry
-{
-    public partial class FrmEntryReqSelRequest : Form
-    {
-        #region ä½¿ç”¨å®šç¾©
-        //log4netãƒ­ã‚°ã‚’ä½¿ç”¨ã�™ã‚‹
-        private static readonly log4net.ILog logger = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
-        #endregion
-
-        #region å®šæ•°
-
-        /// <summary>
-        /// ãƒ�ã‚§ãƒƒã‚¯çµ�æžœ
-        /// </summary>
-        enum CheckState
-        {
-            Ok = 0,
-            Warning,
-            Error,
-        }
-        #endregion
-
-        #region å¤‰æ•°
-
-        private bool m_bEditFlg = true;             // ç·¨é›†ãƒ¢ãƒ¼ãƒ‰
-        private int m_nInvoiceNo = 0;               // è«‹æ±‚æ›¸No
-        private int m_nRequestMonth = 0;            // è«‹æ±‚æœˆ
-        private int m_nOrderersDivision = 0;        // ç™ºæ³¨è€…åŒºåˆ†
-        private int m_nOrderersCode = 0;            // ç™ºæ³¨è€…ã‚³ãƒ¼ãƒ‰
-        private string m_strOrderersName = "";      // ç™ºæ³¨è€…å��
-        private int m_nOldSelectedValue = 0;
-
-        // è«‹æ±‚ãƒ˜ãƒƒãƒ€
-        private List<RequestHead> m_lstReqHead = new List<RequestHead>();
-
-        // è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿
-        private Dictionary<int, InvoiceData> m_dicInvData = new Dictionary<int, InvoiceData>();
-
-        #endregion
-
-        #region ãƒ—ãƒ­ãƒ‘ãƒ†ã‚£
-
-        public bool EditFlg
-        {
-            get { return m_bEditFlg; }
-            set { m_bEditFlg = value; }
-        }
-        public int InvoiceNo
-        {
-            get { return m_nInvoiceNo; }
-            set { m_nInvoiceNo = value; }
-        }
-        public int RequestMonth
-        {
-            get { return m_nRequestMonth; }
-            set { m_nRequestMonth = value; }
-        }
-        public int OrderersDivision
-        {
-            get { return m_nOrderersDivision; }
-            set { m_nOrderersDivision = value; }
-        }
-        public int OrderersCode
-        {
-            get { return m_nOrderersCode; }
-            set { m_nOrderersCode = value; }
-        }
-        public string OrderersName
-        {
-            get { return m_strOrderersName; }
-            set { m_strOrderersName = value; }
-        }
-
-        #endregion
-
-        #region ã‚³ãƒ³ã‚¹ãƒˆãƒ©ã‚¯ã‚¿
-        public FrmEntryReqSelRequest()
-        {
-            InitializeComponent();
-        }
-        #endregion
-
-        #region ãƒ•ã‚©ãƒ¼ãƒ ã�®ãƒ­ãƒ¼ãƒ‰
-        private void FrmEntryReqSelRequest_Load(object sender, EventArgs e)
-        {
-            dgv1.EnableHeadersVisualStyles = false;
-            dgv1.AutoGenerateColumns = false;
-            dgv1.ColumnHeadersHeight = 28;
-            dgv1.ColumnHeadersDefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter;
-            dgv1.AllowUserToAddRows = false;
-            dgv1.RowTemplate.Height = 24;
-            dgv1.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            dgv1.ColumnHeadersDefaultCellStyle.BackColor = Color.Aquamarine;
-
-            int yyyy = CommonMotions.cnvTruncate((double)m_nRequestMonth / 100);
-            int mm = m_nRequestMonth % 100;
-            lbReqMonth.Text = string.Format("{0}/{1}", yyyy, mm.ToString("D2"));
-            lbOrderersName.Text = m_strOrderersName;
-
-            // è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿å�–å¾—
-            GetInvoiceData();
-
-            List<int> lstCreateData = new List<int>();
-
-            if (m_nInvoiceNo == 0)
-            {
-                // ä½œæˆ�æ—¥ã‚³ãƒ³ãƒœã�®å�–å¾—
-                SetRequestCreateDateAll();
-            }
-            else
-            {
-                // ä½œæˆ�æ—¥ã‚³ãƒ³ãƒœã�®å�–å¾—
-                SetRequestCreateDateOnly();
-            }
-
-            cbCreateDate.SelectedIndex = 0;
-
-            // è«‹æ±‚ãƒ‡ãƒ¼ã‚¿å�–å¾—
-            GetReqestData();
-
-            // è«‹æ±‚ãƒ‡ãƒ¼ã‚¿è¡¨ç¤º
-            DispRequestData();
-
-            // è«‹æ±‚æ›¸ã�ŒæŒ‡å®šã�•ã‚Œã�¦ã�„ã‚‹å ´å�ˆã�¯ã€�ãƒ�ã‚§ãƒƒã‚¯ãƒœãƒƒã‚¯ã‚¹å¤‰æ›´ã�«é–¢ã‚�ã‚‹æ“�ä½œã�¯è¨±å�¯ã�—ã�ªã�„
-            if (m_nInvoiceNo > 0)
-            {
-                btnAllSelect.Enabled = false;
-                btnAllUnselect.Enabled = false;
-            }
-            UpdateCheckValue();
-
-            dgv1.Rows[0].Visible = false;
-
-        }
-        #endregion
-
-        #region [å…¨é�¸æŠž]ãƒœã‚¿ãƒ³æŠ¼ä¸‹
-        private void btnAllSelect_Click(object sender, EventArgs e)
-        {
-            int nInvoiceNo = CommonMotions.cnvInt(cbCreateDate.SelectedValue);
-
-            dgv1.CellContentClick -= dgv1_CellContentClick;
-            dgv1.CellContentDoubleClick -= dgv1_CellContentDoubleClick;
-
-            for (int i = 1; i < dgv1.Rows.Count; i++)
-            {
-                // è«‹æ±‚ãƒ˜ãƒƒãƒ€ã�Œç´�ã�¥ã�„ã�¦ã�„ã�ªã�„è¡Œã�¯ãƒ€ãƒŸãƒ¼
-                if (dgv1[4, i].Value == null)
-                {
-                    break;
-                }
-
-                // è«‹æ±‚æ›¸ã�Œç´�ã�¥ã�„ã�¦ã�„ã�ªã�„ã‚‚ã�®ã�¯ON
-                if (dgv1[5, i].Value == null)
-                {
-                    dgv1[0, i].Value = true;
-                }
-                // è«‹æ±‚æ›¸ã�Œç´�ã�¥ã�„ã�¦ã�„ã�¦ã‚‚é�¸æŠžã�•ã‚Œã�¦ã�„ã‚‹è«‹æ±‚æ›¸ã�®ã‚‚ã�®ã�¯ON
-                else if (CommonMotions.cnvInt(dgv1[5, i].Value) == nInvoiceNo)
-                {
-                    dgv1[0, i].Value = true;
-                }
-            }
-
-            // é�¸æŠžæ•°ã€�é�¸æŠžé‡‘é¡�ã�®æ›´æ–°
-            UpdateCheckValue();
-
-            dgv1.CellContentClick += dgv1_CellContentClick;
-            dgv1.CellContentDoubleClick += dgv1_CellContentDoubleClick;
-
-        }
-        #endregion
-
-        #region [å…¨é�¸æŠžè§£é™¤]ãƒœã‚¿ãƒ³æŠ¼ä¸‹
-        private void btnAllUnselect_Click(object sender, EventArgs e)
-        {
-            int nInvoiceNo = CommonMotions.cnvInt(cbCreateDate.SelectedValue);
-
-            for (int i = 1; i < dgv1.Rows.Count; i++)
-            {
-                // è«‹æ±‚ãƒ˜ãƒƒãƒ€ã�Œç´�ã�¥ã�„ã�¦ã�„ã�ªã�„è¡Œã�¯ãƒ€ãƒŸãƒ¼
-                if (dgv1[4, i].Value == null)
-                {
-                    break;
-                }
-
-                // è«‹æ±‚æ›¸ã�Œç´�ã�¥ã�„ã�¦ã�„ã�ªã�„ã‚‚ã�®ã�¯OFF
-                if (dgv1[5, i].Value == null)
-                {
-                    dgv1[0, i].Value = false;
-                }
-                // è«‹æ±‚æ›¸ã�Œç´�ã�¥ã�„ã�¦ã�„ã�¦ã‚‚é�¸æŠžã�•ã‚Œã�¦ã�„ã�ªã�„è«‹æ±‚æ›¸ã�®ã‚‚ã�®ã�¯OFF
-                else if (CommonMotions.cnvInt(dgv1[5, i].Value) != nInvoiceNo)
-                {
-                    dgv1[0, i].Value = false;
-                }
-            }
-            // é�¸æŠžæ•°ã€�é�¸æŠžé‡‘é¡�ã�®æ›´æ–°
-            UpdateCheckValue();
-        }
-        #endregion
-
-        #region [å‰Šé™¤]ãƒœã‚¿ãƒ³æŠ¼ä¸‹
-        private void btnDel_Click(object sender, EventArgs e)
-        {
-            if (MessageBox.Show("è¡¨ç¤ºã�•ã‚Œã�¦ã�„ã‚‹è«‹æ±‚æ›¸ã‚’å‰Šé™¤ã�—ã�¾ã�™ã�Œã‚ˆã‚�ã�—ã�„ã�§ã�™ã�‹ï¼Ÿ", "å‰Šé™¤ç¢ºèª�", MessageBoxButtons.YesNo, MessageBoxIcon.Information) == DialogResult.No)
-            {
-                return;
-            }
-
-            int nInvoiceNo = CommonMotions.cnvInt(cbCreateDate.SelectedValue);
-
-            // è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿ã�®å‰Šé™¤
-            if (DeleteInvoiceData(nInvoiceNo) == false)
-            {
-                return;
-            }
-
-            foreach (RequestHead ReqHead in m_lstReqHead)
-            {
-                if (ReqHead.InvoiceNo == nInvoiceNo)
-                {
-                    ReqHead.InvoiceNo = 0;
-                }
-            }
-
-            for (int i = 0; i < dgv1.Rows.Count; i++)
-            {
-                // è«‹æ±‚ãƒ˜ãƒƒãƒ€ã�Œç´�ã�¥ã�„ã�¦ã�„ã�ªã�„è¡Œã�¯ãƒ€ãƒŸãƒ¼
-                if (dgv1[4, i].Value == null)
-                {
-                    break;
-                }
-
-                // å‰Šé™¤å¯¾è±¡ã�®è¨­è¨ˆæ›¸ãƒ‡ãƒ¼ã‚¿ã�Œç´�ã�¥ã�„ã�¦ã�„ã‚‹å ´å�ˆ
-                if ((dgv1[5, i].Value != null) && (CommonMotions.cnvInt(dgv1[5, i].Value) == nInvoiceNo))
-                {
-                    dgv1[5, i].Value = null;
-                    dgv1[3, i].Value = null; 
-                }
-
-            }
-
-            // è«‹æ±‚ãƒ‡ãƒ¼ã‚¿ã�‹ã‚‰è©²å½“è«‹æ±‚æ›¸ã‚’å‰Šé™¤
-            m_dicInvData.Remove(nInvoiceNo);
-
-            cbCreateDate.SelectedIndexChanged -= cbCreateDate_SelectedIndexChanged;
-
-            cbCreateDate.DataSource = null;
-            cbCreateDate.Items.Clear();
-
-            // ä½œæˆ�æ—¥ã‚³ãƒ³ãƒœã�®å�–å¾—
-            SetRequestCreateDateAll();
-
-            cbCreateDate.SelectedIndexChanged += cbCreateDate_SelectedIndexChanged;
-
-            cbCreateDate.SelectedIndex = 0;
-
-
-            RefleshRequestList(nInvoiceNo);
-
-        }
-        #endregion
-
-        #region [è«‹æ±‚æ›¸ä½œæˆ�]ãƒœã‚¿ãƒ³æŠ¼ä¸‹
-        private void btnGenerate_Click(object sender, EventArgs e)
-        {
-            int ret;
-            string msg = "";
-
-            // ä½œæˆ�ãƒ�ã‚§ãƒƒã‚¯
-            ret  = CheckGenerate(ref msg);
-
-            if (ret == (int)CheckState.Ok)
-            {
-                if (MessageBox.Show(msg, "ç™»éŒ²ç¢ºèª�", MessageBoxButtons.YesNo, MessageBoxIcon.Question) != DialogResult.Yes)
-                {
-                    return;
-                }
-            }
-            else if (ret == (int)CheckState.Warning)
-            {
-                if (MessageBox.Show(msg, "ç™»éŒ²ç¢ºèª�", MessageBoxButtons.YesNo, MessageBoxIcon.Warning) != DialogResult.Yes)
-                {
-                    return;
-                }
-            }
-            else
-            {
-                MessageBox.Show(msg, "ç™»éŒ²ç¢ºèª�", MessageBoxButtons.OK, MessageBoxIcon.Error);
-                return;
-            }
-
-            // ãƒ‡ãƒ¼ã‚¿ã�®ç™»éŒ²
-            m_nInvoiceNo = EntryData();
-
-            DialogResult = DialogResult.OK;
-
-            // ç”»é�¢ã‚¯ãƒ­ãƒ¼ã‚º
-            Close();
-        }
-        #endregion
-
-        #region [çµ‚äº†]ãƒœã‚¿ãƒ³æŠ¼ä¸‹
-        private void btnEnd_Click(object sender, EventArgs e)
-        {
-            // ç”»é�¢ã‚¯ãƒ­ãƒ¼ã‚º
-            Close();
-        }
-        #endregion
-
-        #region ä½œæˆ�æ—¥ã‚³ãƒ³ãƒœã�®é�¸æŠžå¤‰æ›´
-        private void cbCreateDate_SelectedIndexChanged(object sender, EventArgs e)
-        {
-            int nInvoiceNo = CommonMotions.cnvInt(cbCreateDate.SelectedValue);
-
-            if (m_nOldSelectedValue == nInvoiceNo)
-            {
-                return;
-            }
-
-            m_nOldSelectedValue = nInvoiceNo;
-
-            RefleshRequestList(nInvoiceNo);
-        }
-
-        #endregion
-
-        #region ä¸€è¦§ã�®æ›´æ–°
-
-        private void RefleshRequestList( int nInvoiceNo )
-        {
-            bool bEnabled = false;
-
-            // æ–°è¦�ä»¥å¤–ã�Œé�¸æŠžã�•ã‚Œã�Ÿå ´å�ˆ
-            if (nInvoiceNo != 0)
-            {
-                InvoiceData InvData = null;
-                if (m_dicInvData.TryGetValue(nInvoiceNo, out InvData) == true)
-                {
-                    if (InvData.CompleteFlg == 0)
-                    {
-                        bEnabled = true;
-                    }
-                }
-            }
-
-            btnDel.Enabled = bEnabled;
-
-            for (int i = 1; i < dgv1.Rows.Count; i++)
-            {
-                // è«‹æ±‚ãƒ˜ãƒƒãƒ€ã�Œç´�ã�¥ã�„ã�¦ã�„ã�ªã�„è¡Œã�¯ãƒ€ãƒŸãƒ¼
-                if (dgv1[4, i].Value == null)
-                {
-                    break;
-                }
-
-                // æ–°è¦�è«‹æ±‚æ›¸ã�Œé�¸æŠžã�•ã‚Œã�Ÿå ´å�ˆã�¯å…¨OFF
-                if (nInvoiceNo == 0)
-                {
-                    dgv1[0, i].Value = false;
-                    dgv1[0, i].ReadOnly = false;
-                }
-                else
-                {
-                    // è«‹æ±‚æ›¸ã�Œé�¸æŠžã�•ã‚Œã�Ÿå ´å�ˆã�¯è©²å½“è¨­è¨ˆæ›¸ã�®ã�¿ON
-                    if ((dgv1[5, i].Value != null) && (CommonMotions.cnvInt(dgv1[5, i].Value) == nInvoiceNo))
-                    {
-                        dgv1[0, i].Value = true;
-                        dgv1[0, i].ReadOnly = true;
-
-                    }
-                    else
-                    {
-                        dgv1[0, i].Value = false;
-                        dgv1[0, i].ReadOnly = false;
-                    }
-                }
-            }
-            // é�¸æŠžæ•°ã€�é�¸æŠžé‡‘é¡�ã�®æ›´æ–°
-            UpdateCheckValue();
-        }
-
-        #endregion
-
-        #region ã‚»ãƒ«å†…å®¹ã�®ã‚¯ãƒªãƒƒã‚¯
-        private void dgv1_CellContentClick(object sender, DataGridViewCellEventArgs e)
-        {
-            dgv1_CellContentDoubleClick(sender, e);
-        }
-        #endregion
-
-        #region ã‚»ãƒ«å†…å®¹ã�®Wã‚¯ãƒªãƒƒã‚¯
-        private void dgv1_CellContentDoubleClick(object sender, DataGridViewCellEventArgs e)
-        {
-            DataGridViewRow dgvRow = dgv1.CurrentRow;
-            if (dgvRow.Cells[0].EditedFormattedValue.Equals(true) == true)
-            {
-                dgvRow.Cells[0].Value = false;
-            }
-            else
-            {
-                dgvRow.Cells[0].Value = true;
-            }
-
-            UpdateCheckValue();
-        }
-        #endregion
-
-        #region é�¸æŠžæ•°ã€�é�¸æŠžé‡‘é¡�ã�®æ›´æ–°
-        void UpdateCheckValue()
-        {
-            int cnt = 0;
-            long val;
-            long amount = 0;
-
-            for (int i = 1; i < dgv1.Rows.Count; i++)
-            {
-                if (dgv1[0, i].EditedFormattedValue.Equals(true) == true)
-                {
-                    cnt++;
-
-                    if (dgv1[2, i].Value != null)
-                    {
-                        val = CommonMotions.cnvLong(dgv1[2, i].Value.ToString().Replace(",", string.Empty));
-                    }
-                    else
-                    {
-                        val = 0;
-                    }
-
-                    amount += val;
-                }
-            }
-
-            lbSelect.Text = cnt.ToString("#,0");
-            lbTotalAmount.Text = amount.ToString("#,0");
-        }
-        #endregion
-
-        #region è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿ã�®å�–å¾—
-        private void GetInvoiceData()
-        {
-            IOInvoiceData ioInvData = new IOInvoiceData();
-
-            ArrayList arData = new ArrayList();
-
-            try
-            {
-                string sql = "SELECT";
-                sql += " InvData.InvoiceNo";
-                sql += ", InvData.OrderersDivision";
-                sql += ", InvData.OrderersCode";
-                sql += ", InvData.RequestMonth";
-                sql += ", InvData.SeqNo";
-                sql += ", DATE_FORMAT(InvData.CretateDate, '%Y/%m/%d')";
-                sql += ", DATE_FORMAT(InvData.RequestDate, '%Y/%m/%d')";
-                sql += ", InvData.RequestName";
-                sql += ", InvData.TotalAmount";
-                sql += ", InvData.TaxAmount";
-                sql += ", InvData.Comment1";
-                sql += ", InvData.Comment2";
-                sql += ", InvData.Comment3";
-                sql += ", InvData.Comment4";
-                sql += ", InvData.Comment5";
-                sql += ", InvData.CompleteFlg";
-                sql += ", DATE_FORMAT(InvData.EntryDate, '%Y/%m/%d %H:%i:%s')";
-                sql += ", DATE_FORMAT(InvData.UpdateDate, '%Y/%m/%d %H:%i:%s')";
-                sql += " FROM";
-                sql += " InvoiceData InvData";
-                sql += string.Format(" WHERE InvData.OrderersDivision = {0}", m_nOrderersDivision);
-                sql += string.Format(" AND InvData.OrderersCode = {0} ", m_nOrderersCode);
-                sql += string.Format(" AND InvData.RequestMonth = {0} ", m_nRequestMonth);
-                sql += " AND EXISTS( SELECT * FROM RequestHead ReqHead WHERE ReqHead.InvoiceNo = InvData.InvoiceNo )";
-                sql += " ORDER BY InvData.CretateDate Asc, InvData.SeqNo Asc";
-
-                // SQLå®Ÿè¡Œ
-                if (!ioInvData.ExecuteReader(sql, ref arData, true)) return;
-
-                // ãƒ‡ãƒ¼ã‚¿ã‚»ãƒƒãƒˆ
-                foreach (object[] objwrk in arData)
-                {
-                    InvoiceData work = new InvoiceData();
-                    ioInvData.Reader2Struct(objwrk, ref work);
-
-                    m_dicInvData.Add(work.InvoiceNo, work);
-                }
-
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-            finally
-            {
-                ioInvData.close();
-                ioInvData = null;
-            }
-            return;
-        }
-        #endregion
-
-        #region è«‹æ±‚ãƒ‡ãƒ¼ã‚¿ã�®å�–å¾—
-
-        private void GetReqestData()
-        {
-
-            IORequestHead ioReqHead = new IORequestHead();
-
-            try
-            {
-                List<RequestHead> lstWork = new List<RequestHead>();
-
-                StringBuilder sql = new StringBuilder();
-                sql.AppendFormat(" Where RequestMonth = {0}", m_nRequestMonth); 
-                sql.AppendFormat(" And OrderersDivision = {0}", m_nOrderersDivision);
-                sql.AppendFormat(" And OrderersCode = {0}", m_nOrderersCode);
-                //sql += string.Format(" And OrderersName = '{0}'", m_strOrderersName);
-                //sql += " And AssignedFlg = 0";
-                sql.Append(" Order by ReqConstructionCode Asc, OrderNo Asc");
-
-                if (!ioReqHead.SelectAction(sql.ToString(), ref lstWork)) return;
-
-                foreach (RequestHead ReqHead in lstWork)
-                {
-                    // æœ€çµ‚æ‰¿èª�æ¸ˆ
-                    if (!ClsCommonApproval.CheckProcessApproval(ReqHead.ReqConstructionCode
-                                                                , (int)ClsExcute.ApprovalListNo.OrderRequestApproval
-                                                                , ReqHead.OrderNo))
-                    {
-                        continue;
-                    }
-
-                    // è«‹æ±‚ãƒ˜ãƒƒãƒ€ã�®è¿½åŠ 
-                    m_lstReqHead.Add(ReqHead);
-
-                }
-
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-            finally
-            {
-                ioReqHead.close();
-                ioReqHead = null;
-            }
-        }
-        #endregion
-
-        #region è«‹æ±‚ãƒ‡ãƒ¼ã‚¿ã�®è¡¨ç¤º
-
-        private void DispRequestData()
-        {
-            int nCount = m_lstReqHead.Count;
-            if (nCount < 10)
-            {
-                nCount = 10;
-            }
-
-            // è¡Œã‚’è¿½åŠ 
-            dgv1.Rows.Add(nCount+1);
-
-            int trow = 1;
-            foreach (RequestHead ReqHead in m_lstReqHead)
-            {
-                // è«‹æ±‚æ›¸Noã�ŒæŒ‡å®šã�•ã‚Œã�¦ã�„ã‚‹å ´å�ˆã�¯ã€�ãƒ�ã‚§ãƒƒã‚¯ãƒœãƒƒã‚¯ã‚¹ã�®å¤‰æ›´ä¸�å�¯
-                if (m_nInvoiceNo == 0)
-                {
-                    dgv1[0, trow].ReadOnly = false;
-                }
-
-                dgv1[1, trow].Value = ReqHead.ReqConstructionName;
-                dgv1[2, trow].Value = ReqHead.RequestTotalAmount.ToString("#,0");
-                dgv1[4, trow].Value = ReqHead.RequestNo;
-
-                if (ReqHead.InvoiceNo > 0)
-                {
-                    InvoiceData InvData = null;
-
-                    if (m_dicInvData.TryGetValue(ReqHead.InvoiceNo, out InvData) == true)
-                    {
-                        dgv1[3, trow].Value = InvData.CretateDate.ToString("yyyy/MM/dd");
-                        dgv1[5, trow].Value = InvData.InvoiceNo;
-                    }
-
-                }
-                trow++;
-            }
-        }
-
-        #endregion
-
-        #region ä½œæˆ�æ—¥ã‚³ãƒ³ãƒœã�®è¨­å®š
-        private void SetRequestCreateDateAll()
-        {
-            List<int> lstKeyInvNo = new List<int>(m_dicInvData.Keys);
-            Dictionary<string, List<InvoiceData>> dicWork = new Dictionary<string, List<InvoiceData>>();
-            List<KeyValuePair<int, string>> lstKeyVal = new List<KeyValuePair<int, string>>();
-
-            foreach (int nInvoiceNo in lstKeyInvNo)
-            {
-                InvoiceData InvData = null;
-                if (m_dicInvData.TryGetValue(nInvoiceNo, out InvData) == true)
-                {
-                    string strDate = InvData.CretateDate.ToString("yyyy/MM/dd");
-
-                    List<InvoiceData> lstWork = null;
-
-                    if (dicWork.TryGetValue(strDate, out lstWork) == false)
-                    {
-                        lstWork = new List<InvoiceData>();
-
-                        dicWork.Add(strDate, lstWork);
-                    }
-                    lstWork.Add(InvData);
-                }
-            }
-            
-            List<string> lstKeyDate = new List<string>(dicWork.Keys);
-
-            KeyValuePair<int, string> KeyValNew = new KeyValuePair<int, string>(0, "æ–°è¦�");
-            lstKeyVal.Add(KeyValNew);
-
-            foreach (string strDate in lstKeyDate)
-            {
-                List<InvoiceData> lstWork = null;
-
-                if (dicWork.TryGetValue(strDate, out lstWork) == true)
-                {
-                    for (int i = 0; i < lstWork.Count; i++)
-                    {
-                        string strValue;
-
-                        strValue = strDate;
-                        if (i > 0)
-                        {
-                            strValue += string.Format("({0})", i);
-                        }
-
-                        KeyValuePair<int, string> KeyVal = new KeyValuePair<int, string>(lstWork[i].InvoiceNo, strValue);
-
-                        lstKeyVal.Add(KeyVal);
-                    }
-                }
-            }
-
-            cbCreateDate.ValueMember = "Key";
-            cbCreateDate.DisplayMember = "Value";
-
-            // ã‚³ãƒ³ãƒœãƒœãƒƒã‚¯ã‚¹åˆ�æœŸè¡¨ç¤º
-            ComboBoxAction.InitDataSetCombBox(cbCreateDate, lstKeyVal, false);
-                                    
-            return;
-        }
-
-        private void SetRequestCreateDateOnly()
-        {
-
-            List<KeyValuePair<int, string>> lstKeyVal = new List<KeyValuePair<int, string>>();
-            InvoiceData InvData = null;
-
-            if (m_dicInvData.TryGetValue(m_nInvoiceNo, out InvData) == true)
-            {
-                string strDate = InvData.CretateDate.ToString("yyyy/MM/dd");
-
-                KeyValuePair<int, string> KeyVal = new KeyValuePair<int, string>(InvData.InvoiceNo, strDate);
-
-                lstKeyVal.Add(KeyVal);
-            }
-
-            cbCreateDate.ValueMember = "Key";
-            cbCreateDate.DisplayMember = "Value";
-
-            // ã‚³ãƒ³ãƒœãƒœãƒƒã‚¯ã‚¹åˆ�æœŸè¡¨ç¤º
-            ComboBoxAction.InitDataSetCombBox(cbCreateDate, lstKeyVal, false);
-
-            return;
-        }
-
-        #endregion
-
-        #region ä½œæˆ�ãƒ�ã‚§ãƒƒã‚¯
-        private int CheckGenerate(ref string msg)
-        {
-            int nInvoiceNo = CommonMotions.cnvInt(cbCreateDate.SelectedValue);
-
-            int nSelect = CommonMotions.cnvInt(lbSelect.Text);
-            int nRet = (int)CheckState.Ok;
-
-            // é�¸æŠžã�ªã�—
-            if (nSelect == 0)
-            {
-                msg = "è«‹æ±‚ä»¶å��ã�Œé�¸æŠžã�•ã‚Œã�¦ã�„ã�¾ã�›ã‚“";
-
-                return (int)CheckState.Error;
-            }
-
-            int tcol = 0;
-            for (int i = 1; i < dgv1.Rows.Count; i++)
-            {
-                // è«‹æ±‚ãƒ˜ãƒƒãƒ€ã�Œç´�ã�¥ã�„ã�¦ã�„ã�ªã�„è¡Œã�¯ãƒ€ãƒŸãƒ¼
-                if (dgv1[4, i].Value == null)
-                {
-                    break;
-                }
-
-                // é�¸æŠžã‚Œã�¦ã�„ã‚‹å ´å�ˆ
-                if (dgv1[tcol, i].EditedFormattedValue.Equals(true) == true)
-                {
-                    if (dgv1[5, i].Value == null)
-                    {
-                        continue;
-                    }
-
-                    if (CommonMotions.cnvInt(dgv1[5, i].Value) != nInvoiceNo)
-                    {
-                        nRet = (int)CheckState.Warning;
-                        break;
-                    }
-                }
-            }
-
-            if (nRet == (int)CheckState.Warning)
-            {
-                msg = "ä»–ã�§è«‹æ±‚ã�•ã‚Œã�¦ã�„ã‚‹è«‹æ±‚ä»¶å��ã�Œé�¸æŠžã�•ã‚Œã�¦ã�„ã�¾ã�™ã€‚\nã�“ã�®å†…å®¹ã�§è«‹æ±‚æ›¸ã‚’ä½œæˆ�ã�—ã�¦ã‚ˆã‚�ã�—ã�„ã�§ã�™ã�‹ï¼Ÿ";
-                return nRet;
-            }
-
-            for (int i = 1; i < dgv1.Rows.Count; i++)
-            {
-                // è«‹æ±‚ãƒ˜ãƒƒãƒ€ã�Œç´�ã�¥ã�„ã�¦ã�„ã�ªã�„è¡Œã�¯ãƒ€ãƒŸãƒ¼
-                if (dgv1[4, i].Value == null)
-                {
-                    break;
-                }
-
-
-                // é�¸æŠžã‚Œã�¦ã�„ã‚‹å ´å�ˆ
-                if (dgv1[tcol, i].EditedFormattedValue.Equals(true) == true)
-                {
-                    if (dgv1[5, i].Value != null)
-                    {
-                        continue;
-                    }
-
-                    if (InvoiceNo == 0)
-                    {
-                            msg = "æ—¢ã�«ä½œæˆ�æ¸ˆã�®è«‹æ±‚æ›¸ã�«æ–°è¦�è«‹æ±‚ä»¶å��ã‚’è¿½åŠ ã�—ã�¾ã�™ã€‚\nã�“ã�®å†…å®¹ã�§è«‹æ±‚æ›¸ã‚’ä½œæˆ�ã�—ã�¦ã‚ˆã‚�ã�—ã�„ã�§ã�™ã�‹ï¼Ÿ";
-                            nRet = (int)CheckState.Warning;
-                            break;
-                    }
-                }
-            }
-
-
-            if (nRet == (int)CheckState.Ok)
-            {
-                msg = "ã�“ã�®å†…å®¹ã�§è«‹æ±‚æ›¸ã‚’ä½œæˆ�ã�—ã�¦ã‚ˆã‚�ã�—ã�„ã�§ã�™ã�‹ï¼Ÿ";
-            }
-
-            return nRet;
-            
-        }
-        #endregion
-
-        #region è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿ç™»éŒ²
-
-        private int EntryData()
-        {
-            int nInvoiceNo = CommonMotions.cnvInt(cbCreateDate.SelectedValue);
-
-            List<RequestHead> lstReqHead = new List<RequestHead>();
-
-            int tcol = 0;
-            for (int i = 1; i < dgv1.Rows.Count; i++)
-            {
-                // è«‹æ±‚ãƒ˜ãƒƒãƒ€ã�Œç´�ã�¥ã�„ã�¦ã�„ã�ªã�„è¡Œã�¯ãƒ€ãƒŸãƒ¼
-                if (dgv1[4, i].Value == null)
-                {
-                    break;
-                }
-
-                // é�¸æŠžã‚Œã�¦ã�„ã‚‹å ´å�ˆ
-                if (dgv1[tcol, i].EditedFormattedValue.Equals(true) == true)
-                {
-                    lstReqHead.Add(m_lstReqHead[i-1]);
-                }
-            }
-
-            // è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿ã�®ç™»éŒ²
-            nInvoiceNo = AddInvoiceData(nInvoiceNo, lstReqHead);
-
-            return nInvoiceNo;
-        }
-
-        #endregion
-
-        #region è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿ã�®ç™»éŒ²
-
-        private int AddInvoiceData(int nInvoiceNo, List<RequestHead> lstReqHead)
-        {
-            IOInvoiceData ioInvData = new IOInvoiceData();
-            IORequestHead ioReqHead = new IORequestHead();
-
-            InvoiceData InvData = null;
-
-
-            ioInvData.beginTran();
-            ioReqHead.beginTran();
-
-            try
-            {
-                // è«‹æ±‚æ›¸Noã�ŒæŒ‡å®šã�•ã‚Œã�¦ã�„ã�ªã�„å ´å�ˆ
-                if (nInvoiceNo == 0)
-                {
-                    // è«‹æ±‚æ›¸Noã�®æŽ¡ç•ª
-                    nInvoiceNo = ioInvData.NumberingInvoiceNo(m_nRequestMonth);
-                    if (nInvoiceNo == -1)
-                    {
-                        // DBãƒ­ãƒ¼ãƒ«ãƒ�ãƒƒã‚¯
-                        ioInvData.rollback();
-                        ioReqHead.rollback();
-
-                        return -1;
-                    }
-
-                    // è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿æ§‹ç¯‰
-                    InvData = new InvoiceData();
-
-                    InvData.InvoiceNo = nInvoiceNo;
-                    InvData.OrderersDivision = m_nOrderersDivision;
-                    InvData.OrderersCode = m_nOrderersCode;
-                    InvData.RequestMonth = m_nRequestMonth;
-                    InvData.SeqNo = ioInvData.NumberingSeqNo(m_nOrderersDivision, m_nOrderersCode,m_nRequestMonth);
-                    InvData.CretateDate = DateTime.Now;
-                    InvData.RequestDate = DateTime.MinValue;
-                    InvData.RequestName = m_strOrderersName;
-                    InvData.TotalAmount = 0;
-                    InvData.TaxAmount = 0;
-
-                    // è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿ã�®æŒ¿å…¥
-                    if (ioInvData.InsertAction(InvData) == false)
-                    {
-                        // DBãƒ­ãƒ¼ãƒ«ãƒ�ãƒƒã‚¯
-                        ioInvData.rollback();
-                        ioReqHead.rollback();
-
-                        return -1;
-                    }
-                }
-                else
-                {
-                    // è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿ã�®å�–å¾—
-                    if (m_dicInvData.TryGetValue(nInvoiceNo, out InvData) == false)
-                    {
-                        // DBãƒ­ãƒ¼ãƒ«ãƒ�ãƒƒã‚¯
-                        ioInvData.rollback();
-                        ioReqHead.rollback();
-                        return -1;
-                    }
-
-                    // ä½œæˆ�æ—¥ã�®ã�¿æ›´æ–°
-                    InvData.CretateDate = DateTime.Now;
-                    InvData.TotalAmount = 0;
-                    InvData.TaxAmount = 0;
-
-                    // è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿ã�®æ›´æ–°
-                    string sql = string.Format(" Where InvoiceNo = {0}", nInvoiceNo);
-                    if (ioInvData.UpdateAction(sql, InvData) == false)
-                    {
-                        // DBãƒ­ãƒ¼ãƒ«ãƒ�ãƒƒã‚¯
-                        ioInvData.rollback();
-                        ioReqHead.rollback();
-
-                        return -1;
-                    }
-                }
-
-                // é�¸æŠžã�•ã‚Œã�¦ã�„ã‚‹è«‹æ±‚ãƒ˜ãƒƒãƒ€ã�®è«‹æ±‚æ›¸Noã‚’æ›´æ–°
-                foreach (RequestHead ReqHead in lstReqHead)
-                {
-                    ReqHead.InvoiceNo = nInvoiceNo;
-                }
-                if (ioReqHead.UpdateAction(lstReqHead) == false)
-                {
-                    // DBãƒ­ãƒ¼ãƒ«ãƒ�ãƒƒã‚¯
-                    ioInvData.rollback();
-                    ioReqHead.rollback();
-
-                    return -1;
-                }
-
-                // DBã‚³ãƒŸãƒƒãƒˆ
-                ioInvData.commit();
-                ioReqHead.commit();
-
-                return nInvoiceNo;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-                return -1;
-            }
-            finally
-            {
-                ioInvData.close();
-                ioInvData = null;
-                ioReqHead.close();
-                ioReqHead = null;
-            }
-        }
-
-        #endregion
-
-        #region è«‹æ±‚æ›¸é…�ä¸‹ã�®é‡‘é¡�ã‚’å�–å¾—
-        private void GetReqHeadAmount(List<RequestHead> lstReqHead, ref long lTotalAmount, ref long lTaxAmount)
-        {
-            foreach (RequestHead ReqHead in lstReqHead)
-            {
-                lTotalAmount += ReqHead.RequestTotalAmount;
-                lTaxAmount += ReqHead.TaxAmount;
-            }
-            return;
-        }
-        #endregion
-
-        #region è«‹æ±‚ãƒ‡ãƒ¼ã‚¿ã�®å‰Šé™¤
-        private bool DeleteInvoiceData(int nInvoiceNo)
-        {
-            string sql = "";
-
-            IOInvoiceData ioInvData = new IOInvoiceData();
-            IORequestHead ioReqHead = new IORequestHead();
-
-            ioInvData.beginTran();
-            ioReqHead.beginTran();
-
-            try
-            {
-                // è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿ã�®å‰Šé™¤
-                sql = string.Format(" Where InvoiceNo = {0}", nInvoiceNo);
-                if (ioInvData.DeleteAction(sql) == false)
-                {
-                    ioInvData.rollback();
-                    ioReqHead.rollback();
-
-                    return false;
-                }
-
-                List<RequestHead> lstReqHead = new List<RequestHead>();
-
-                sql = string.Format(" Where InvoiceNo = {0}", nInvoiceNo);
-                if (ioReqHead.SelectAction(sql, ref lstReqHead) == false)
-                {
-                    ioInvData.rollback();
-                    ioReqHead.rollback();
-
-                    return false;
-                }
-
-                // è«‹æ±‚ãƒ˜ãƒƒãƒ€ã�®è«‹æ±‚æ›¸Noã‚’ã‚¯ãƒªã‚¢
-                foreach (RequestHead ReqHead in lstReqHead)
-                {
-                    ReqHead.InvoiceNo = 0;
-
-                    
-                }
-
-                // è«‹æ±‚ãƒ˜ãƒƒãƒ€ã‚’æ›´æ–°
-                if (ioReqHead.UpdateAction(lstReqHead) == false)
-                {
-                    ioInvData.rollback();
-                    ioReqHead.rollback();
-
-                    return false;
-
-                }
-
-                ioInvData.commit();
-                ioReqHead.commit();
-
-                return true; 
-
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-                return false;
-            }
-            finally
-            {
-                ioInvData.close();
-                ioInvData = null;
-                ioReqHead.close();
-                ioReqHead = null;
-            }
-
-        }
-        #endregion
-
-    }
-}
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/ProcessControl.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/ProcessControl.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/ProcessControl.cs	(nonexistent)
@@ -1,1641 +0,0 @@
-ï»¿using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
-using System.Drawing;
-using System.Text;
-using System.Windows.Forms;
-using System.Collections;
-using System.Linq;
-using System.Diagnostics;
-
-using log4net;
-using log4net.Appender;
-using log4net.Repository.Hierarchy;
-
-using ProcessManagement.Common;
-using ProcessManagement.DB.IOAccess;
-using ProcessManagement.DataModel;
-using ProcessManagement.DB.Core;
-using ProcessManagement.Forms.CustomControls;
-using ProcessManagement.Forms.ControlsAction;
-using ProcessManagement.Forms.SubForms;
-using ProcessManagement.Forms.Master;
-
-namespace ProcessManagement.Forms.DataEntry
-{
-    partial class FrmRequestSummaryList
-    {
-        #region è‡ªãƒ—ãƒ­ã‚»ã‚¹ã�®ç•ªå�·
-        /// <summary>
-        /// è‡ªãƒ—ãƒ­ã‚»ã‚¹ã�®ç•ªå�·ã‚’æŒ�ã�¤
-        /// </summary>
-        private static int s_CurrentProcessNo = (int)ClsExcute.ProcessExecuteNo.RequestSummaryList;
-        #endregion
-
-        #region ãƒ—ãƒ­ã‚»ã‚¹ã‚³ãƒ³ãƒ†ã‚­ã‚¹ãƒˆãƒ¡ãƒ‹ãƒ¥ãƒ¼å¤‰æ•°
-        /// <summary>
-        /// ãƒ—ãƒ­ã‚»ã‚¹ã‚³ãƒ³ãƒ†ã‚­ã‚¹ãƒˆãƒ¡ãƒ‹ãƒ¥ãƒ¼
-        /// </summary>
-        private ContextMenuStrip m_ProcessContextMenuStrip = new ContextMenuStrip();
-        #endregion
-
-        #region å·¥äº‹ç•ªå�·
-        /// <summary>
-        /// å·¥äº‹ç•ªå�·
-        /// </summary>
-        private int m_ConstructionCode = 0;
-        #endregion
-
-        #region å·¥äº‹æƒ…å ±å®šç¾©
-        /// <summary>
-        /// å·¥äº‹æƒ…å ±å®šç¾©
-        /// </summary>
-        private ConstructionBaseInfo m_ConstructionBaseInfo = new ConstructionBaseInfo();
-        #endregion
-
-        #region åˆ¥ãƒ—ãƒ­ã‚»ã‚¹ç§»å‹•ãƒ¡ãƒ‹ãƒ¥ãƒ¼ä½œæˆ�
-        /// <summary>
-        /// åˆ¥ãƒ—ãƒ­ã‚»ã‚¹ç§»å‹•ãƒ¡ãƒ‹ãƒ¥ãƒ¼ä½œæˆ�
-        /// </summary>
-        private void CreateProcessContextMenu()
-        {
-            try
-            {
-                // ãƒ¡ãƒ‹ãƒ¥ãƒ¼ã�®ã‚»ãƒƒãƒˆ
-                UpDateProcessContextMenu();
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region åˆ¥ãƒ—ãƒ­ã‚»ã‚¹ç§»å‹•ãƒ¡ãƒ‹ãƒ¥ãƒ¼æ›´æ–°
-        /// <summary>
-        /// åˆ¥ãƒ—ãƒ­ã‚»ã‚¹ç§»å‹•ãƒ¡ãƒ‹ãƒ¥ãƒ¼æ›´æ–°
-        /// </summary>
-        private void UpDateProcessContextMenu(bool bSubForm = false)
-        {
-            try
-            {
-                // èµ·å‹•ãƒ—ãƒ­ã‚»ã‚¹ã�®ä¸€æ¡ˆã‚’ä½œæˆ�ã�™ã‚‹
-                List<KeyValuePair<int, string>> ProcList = new List<KeyValuePair<int, string>>();
-                // å·¥äº‹ç•ªå�·ã‚»ãƒƒãƒˆ
-                ClsProcessExist.ConstructionCode = m_ConstructionCode;
-                // ãƒªã‚¹ãƒˆå�–å¾—
-                ClsProcessExist.GetProcessList(ref ProcList, s_CurrentProcessNo);
-
-                // ãƒ¡ãƒ‹ãƒ¥ãƒ¼ä¸€è¦§ã‚’ä½œæˆ�ã�™ã‚‹
-                m_ProcessContextMenuStrip.Items.Clear();
-
-                // ãƒ¡ãƒ‹ãƒ¥ãƒ¼ãƒ‡ãƒ¼ã‚¿ã�®ã‚»ãƒƒãƒˆ
-                int icnt = 0;
-                foreach (KeyValuePair<int, string> CurRec in ProcList)
-                {
-                    // è‡ªãƒ—ãƒ­ã‚»ã‚¹ã�¯å‡¦ç�†ã�—ã�ªã�„
-                    if (CurRec.Key == s_CurrentProcessNo) continue;
-
-                    //ã‚¤ãƒ™ãƒ³ãƒˆã�®ç™»éŒ²
-                    EventHandler handle = null;
-                    switch (CurRec.Key)
-                    {
-                        case (int)ClsExcute.ProcessExecuteNo.MainMenu:                  //  0:ãƒ¡ãƒ‹ãƒ¥ãƒ¼
-                            handle = ProcessExecute_MainMenu;
-                            break;
-                        case (int)ClsExcute.ProcessExecuteNo.ConstructionBaseInfo:      //  2:å·¥äº‹æƒ…å ±å…¥åŠ›
-                            handle = ProcessExecute_ConstructionBaseInfo;
-                            break;
-                        case (int)ClsExcute.ProcessExecuteNo.EstimateInput:             //  3:ç©�ç®—è¦‹ç©�å…¥åŠ›
-                            handle = ProcessExecute_EstimateInput;
-                            break;
-                        case (int)ClsExcute.ProcessExecuteNo.EstimatePrint:             //  4:ç©�ç®—è¦‹ç©�æ›¸å�°åˆ·
-                            handle = ProcessExecute_EstimatePrint;
-                            break;
-                        case (int)ClsExcute.ProcessExecuteNo.EstimateBudget:            //  5:ç©�ç®—äºˆç®—æ›¸å…¥åŠ›
-                            handle = ProcessExecute_EstimateBudget;
-                            break;
-                        case (int)ClsExcute.ProcessExecuteNo.ConstructionBudget:        //  6:å·¥äº‹äºˆç®—æ›¸å…¥åŠ›
-                            handle = ProcessExecute_ConstructionBudget;
-                            break;
-                        case (int)ClsExcute.ProcessExecuteNo.ConstructionCopyList:      //  8:å·¥äº‹æ¡ˆä»¶ã‚³ãƒ”ãƒ¼æ©Ÿèƒ½
-                            handle = ProcessExecute_ConstructionCopyList;
-                            break;
-                        case (int)ClsExcute.ProcessExecuteNo.PurchaseOrderEntry:        //  9:æ³¨æ–‡æ›¸å…¥åŠ›
-                            handle = ProcessExecute_PurchaseOrderEntry;
-                            break;
-                        case (int)ClsExcute.ProcessExecuteNo.PurchaseOrderPrint:        // 10:æ³¨æ–‡æ›¸å�°åˆ·
-                            handle = ProcessExecute_PurchaseOrderPrint;
-                            break;
-                        case (int)ClsExcute.ProcessExecuteNo.ConstructionLedger:        // 13:å·¥äº‹è©³ç´°å�°å¸³
-                            handle = ProcessExecute_ConstructionLedger;
-                            break;
-                        case (int)ClsExcute.ProcessExecuteNo.TAndPCosts:                // 14:äº¤é€šè²»å�Šã�³è³¼å…¥å“�å…¥åŠ›
-                            handle = ProcessExecute_TAndPCosts;
-                            break;
-                        case (int)ClsExcute.ProcessExecuteNo.DRConstruction:            // 16:å·¥äº‹æ—¥å ±å…¥åŠ›
-                            handle = ProcessExecute_DRConstruction;
-                            break;
-                        case (int)ClsExcute.ProcessExecuteNo.Proceedings:               // 17:æ‰“å�ˆã�›è­°äº‹éŒ²å…¥åŠ›
-                            handle = ProcessExecute_Proceedings;
-                            break;
-                        case (int)ClsExcute.ProcessExecuteNo.DRWork:                    // 18:å‡ºå‹¤æ—¥å ±    ----- æœªå®Ÿè£…
-                            break;
-                        case (int)ClsExcute.ProcessExecuteNo.MaterialReserveEntry:      // 26:è³‡æ��è²¸å‡º
-                            handle = ProcessExecute_MaterialReserve;
-                            break;
-                        case (int)ClsExcute.ProcessExecuteNo.MaterialReturnEntry:       // 27:è³‡æ��è¿”å�´
-                            handle = ProcessExecute_MaterialReturn;
-                            break;
-                        case (int)ClsExcute.ProcessExecuteNo.PaymentConfirmation:       // 30:å…¥é‡‘å…¥åŠ›
-                            handle = ProcessExecute_PaymentConfirmation;
-                            break;
-                        case (int)ClsExcute.ProcessExecuteNo.RequestInput:              // 31:è«‹æ±‚å…¥åŠ›
-                            handle = ProcessExecute_RequestInput;
-                            break;
-                        case (int)ClsExcute.ProcessExecuteNo.RequestPrint:              // 32:è«‹æ±‚æ›¸å�°åˆ·
-                            handle = ProcessExecute_RequestPrint;
-                            break;
-                    }
-                    // èµ·å‹•é–¢æ•°ã�®ã‚»ãƒƒãƒˆã�Œç„¡ã�‘ã‚Œã�°å‡¦ç�†ã�—ã�ªã�„
-                    if (handle == null) continue;
-
-                    // åŒºåˆ‡ã‚Šç·š
-                    if (icnt > 0) m_ProcessContextMenuStrip.Items.Add("-");
-                    // è¡Œã�®ã‚»ãƒƒãƒˆ
-                    ToolStripMenuItem tsmItem = new ToolStripMenuItem(CurRec.Value, null, handle);
-                    m_ProcessContextMenuStrip.Items.Add(tsmItem);
-                    icnt++;
-                }
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region çµ‚äº†æ™‚å‡¦ç�†
-        /// <summary>
-        /// çµ‚äº†æ™‚ã‚µãƒ–ãƒ•ã‚©ãƒ¼ãƒ ã‚¯ãƒ­ãƒ¼ã‚º
-        /// </summary>
-        private void TerminatingProcess()
-        {
-            try
-            {
-                // ãƒ•ã‚©ãƒ¼ãƒ ã�ŒCloseã�•ã‚Œã�¦ã�„ã�ªã�‘ã‚Œã�°ã‚¯ãƒ­ãƒ¼ã‚ºã�™ã‚‹
-                for (int i = 0; i < ClsExcute.SubFormHandleList.Length; i++)
-                {
-                    PreserveSubFormHandle Handle = ClsExcute.SubFormHandleList[i];
-
-                    // è‡ªåˆ†ã�Œèµ·å‹•ã�—ã�Ÿã‚‚ã�®ä»¥å¤–ã�¯å‡¦ç�†ã�—ã�ªã�„
-                    if (Handle.ProcessNo != s_CurrentProcessNo) continue;
-
-                    // èµ·å‹•ã�•ã‚Œã�¦ç„¡ã�‘ã‚Œã�°å‡¦ç�†ã�—ã�ªã�„
-                    if (Handle.SubFormHandle == null) continue;
-
-                    // è‡ªåˆ†ã�¯å‡¦ç�†ã�—ã�ªã�„
-                    if (i == s_CurrentProcessNo)
-                    {
-                        Handle.SubFormHandle = null;
-                        Handle.ProcessNo = (int)ClsExcute.ProcessExecuteNo.MainMenu;
-                        continue;
-                    }
-
-                    // ç”»é�¢ã‚¯ãƒ­ãƒ¼ã‚º
-                    Handle.SubFormHandle.Close();
-                    ClsOtherProc.ProcFormClose(i);
-                }
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region æ¬¡ã�®èµ·å‹•ã�Œç”³è«‹ç”»é�¢ã�‹ã�©ã�†ã�‹ã�®åˆ¤å®š
-        /// <summary>
-        /// æ¬¡ã�®èµ·å‹•ã�Œç”³è«‹ç”»é�¢ã�‹ã�©ã�†ã�‹ã�®åˆ¤å®š
-        /// </summary>
-        /// <returns></returns>
-        private bool judgmentApprovalScreen()
-        {
-            try
-            {
-                // ãƒ—ãƒ­ã‚»ã‚¹èµ·å‹•ãƒ†ãƒ¼ãƒ–ãƒ«ã�«ç”³è«‹ç”»é�¢ã�Œè¨­å®šã�•ã‚Œã�¦ã�„ã‚‹å ´å�ˆã�¯true
-                int NextProcess = ClsExcute.ProcControlPara[ClsExcute.GetNowProcessPoint()].ProcNo;
-                if (NextProcess == (int)ClsExcute.SubFormExecuteNo.ApprovalScreen) return true;
-
-                return false;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-                return false;
-            }
-        }
-        #endregion
-
-        #region    // ---------- ä»–ãƒ—ãƒ­ã‚»ã‚¹èµ·å‹•ãƒ�ãƒ³ãƒ‰ãƒ©ç¾¤ã€€START
-        #region ä¸€æ°—ã�«ãƒ¡ãƒ‹ãƒ¥ãƒ¼ã�¸æˆ»ã‚‹
-        /// <summary>
-        /// ä¸€æ°—ã�«ãƒ¡ãƒ‹ãƒ¥ãƒ¼ã�¸æˆ»ã‚‹
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void ProcessExecute_MainMenu(object sender, EventArgs e)
-        {
-            try
-            {
-                // èµ·å‹•ãƒ†ãƒ¼ãƒ–ãƒ«ã‚’ã‚¯ãƒªã‚¢ã�™ã‚‹
-                ClsOtherProc.ProcExec_MainMenu();
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-            finally
-            {
-                // ãƒ¡ãƒ‹ãƒ¥ãƒ¼ã�¸æˆ»ã‚‹ãƒ•ãƒ©ã‚°ONã€€
-                m_ParentEnd = true;
-                // çµ‚äº†å‡¦ç�†OFF
-                m_CloseingProcessOn = false;
-                // è‡ªãƒ•ã‚©ãƒ¼ãƒ çµ‚äº†
-                this.Close();
-            }
-        }
-        #endregion
-
-        #region å¢—æ¸›å·¥äº‹ãƒ�ã‚§ãƒƒã‚¯
-        /// <summary>
-        /// å¢—æ¸›å·¥äº‹ãƒ�ã‚§ãƒƒã‚¯
-        /// </summary>
-        /// <returns></returns>
-        private bool CheckconstrLink()
-        {
-            try
-            {
-                bool linkFlg = false;
-                if (m_ConstructionBaseInfo.TyingFlg != (int)ConstructionBaseInfo.TyingFlgDef.Standard ||
-                    m_ConstructionBaseInfo.JoinFlg != (int)ConstructionBaseInfo.JoinFlgDef.Standard) linkFlg = true;
-
-                return linkFlg;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-                return false;
-            }
-        }
-        #endregion
-
-        #region å·¥äº‹æƒ…å ±å…¥åŠ›
-        /// <summary>
-        /// å·¥äº‹æƒ…å ±å…¥åŠ›
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void ProcessExecute_ConstructionBaseInfo(object sender, EventArgs e)
-        {
-            try
-            {
-                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.ConstructionBaseInfo;
-                // ãƒ•ã‚©ãƒ¼ãƒ ã�Œã�‚ã‚Œã�°æœ€å‰�é�¢ã�¸
-                FrmConstructionBaseInfo frm = (FrmConstructionBaseInfo)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
-                if (frm != null)
-                {
-                    frm.Activate();
-                    return;
-                }
-
-                // å¢—æ¸›å·¥äº‹ã�¯ã‚µãƒ–ãƒ•ã‚©ãƒ¼ãƒ ã‚’è¡¨ç¤ºã�™ã‚‹
-                bool linkFlg = CheckconstrLink();
-
-                // å·¥äº‹æƒ…å ±å…¥åŠ›èµ·å‹•
-                frm = new FrmConstructionBaseInfo();
-                // ã‚¯ãƒ­ãƒ¼ã‚¹ãƒ‰ãƒ�ãƒ³ãƒ‰ãƒ©ã‚’ã�“ã�¡ã‚‰ã�§å®šç¾©ã�™ã‚‹
-                frm.FormClosed += new FormClosedEventHandler(FrmConstructionBaseInfoClosed);
-                ClsOtherProc.ProcExec_ConstructionBaseInfo(ref frm
-                                                        , m_ConstructionCode
-                                                        , linkFlg
-                                                        , s_CurrentProcessNo
-                                                        , m_EditLock
-                                                        , this);
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region ç©�ç®—è¦‹ç©�æ›¸å…¥åŠ›
-        /// <summary>
-        /// ç©�ç®—è¦‹ç©�æ›¸å…¥åŠ›
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void ProcessExecute_EstimateInput(object sender, EventArgs e)
-        {
-            try
-            {
-                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.EstimateInput;
-                // ãƒ•ã‚©ãƒ¼ãƒ ã�Œã�‚ã‚Œã�°æœ€å‰�é�¢ã�¸
-                FrmEstimateInput frm = (FrmEstimateInput)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
-                if (frm != null)
-                {
-                    frm.Activate();
-                    return;
-                }
-
-                // å¢—æ¸›å·¥äº‹ã�¯ã‚µãƒ–ãƒ•ã‚©ãƒ¼ãƒ ã‚’è¡¨ç¤ºã�™ã‚‹
-                bool linkFlg = CheckconstrLink();
-
-                // ç©�ç®—è¦‹ç©�æ›¸å…¥åŠ›èµ·å‹•
-                frm = new FrmEstimateInput();
-                // ã‚¯ãƒ­ãƒ¼ã‚¹ãƒ‰ãƒ�ãƒ³ãƒ‰ãƒ©ã‚’ã�“ã�¡ã‚‰ã�§å®šç¾©ã�™ã‚‹
-                frm.FormClosed += new FormClosedEventHandler(FrmEstimateInputClosed);
-
-                ClsOtherProc.ProcExec_EstimateInput(ref frm
-                                                    , m_ConstructionCode
-                                                    , linkFlg
-                                                    , s_CurrentProcessNo
-                                                    , m_EditLock
-                                                    , this);
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region ç©�ç®—è¦‹ç©�æ›¸å�°åˆ·
-        /// <summary>
-        /// ç©�ç®—è¦‹ç©�æ›¸å�°åˆ·
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void ProcessExecute_EstimatePrint(object sender, EventArgs e)
-        {
-            try
-            {
-                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.EstimatePrint;
-                // ãƒ•ã‚©ãƒ¼ãƒ ã�Œã�‚ã‚Œã�°æœ€å‰�é�¢ã�¸
-                FrmEstimatePrint frm = (FrmEstimatePrint)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
-                if (frm != null)
-                {
-                    frm.Activate();
-                    return;
-                }
-
-                // å¢—æ¸›å·¥äº‹ã�¯ã‚µãƒ–ãƒ•ã‚©ãƒ¼ãƒ ã‚’è¡¨ç¤ºã�™ã‚‹
-                bool linkFlg = CheckconstrLink();
-
-                // ç©�ç®—è¦‹ç©�æ›¸å�°åˆ·èµ·å‹•
-                frm = new FrmEstimatePrint();
-                // ã‚¯ãƒ­ãƒ¼ã‚¹ãƒ‰ãƒ�ãƒ³ãƒ‰ãƒ©ã‚’ã�“ã�¡ã‚‰ã�§å®šç¾©ã�™ã‚‹
-                frm.FormClosed += new FormClosedEventHandler(FrmEstimatePrintClosed);
-
-                ClsOtherProc.ProcExec_EstimatePrint(ref frm
-                                                    , m_ConstructionCode
-                                                    , linkFlg
-                                                    , s_CurrentProcessNo
-                                                    , m_EditLock
-                                                    , this);
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region ç©�ç®—äºˆç®—æ›¸å…¥åŠ›
-        /// <summary>
-        /// ç©�ç®—äºˆç®—æ›¸å…¥åŠ›
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void ProcessExecute_EstimateBudget(object sender, EventArgs e)
-        {
-            try
-            {
-                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.EstimateBudget;
-                // ãƒ•ã‚©ãƒ¼ãƒ ã�Œã�‚ã‚Œã�°æœ€å‰�é�¢ã�¸
-                FrmEstimateBudget frm = (FrmEstimateBudget)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
-                if (frm != null)
-                {
-                    frm.Activate();
-                    return;
-                }
-
-                // å¢—æ¸›å·¥äº‹ã�¯ã‚µãƒ–ãƒ•ã‚©ãƒ¼ãƒ ã‚’è¡¨ç¤ºã�™ã‚‹
-                bool linkFlg = CheckconstrLink();
-
-                // ç©�ç®—äºˆç®—æ›¸å…¥åŠ›èµ·å‹•
-                frm = new FrmEstimateBudget();
-                // ã‚¯ãƒ­ãƒ¼ã‚¹ãƒ‰ãƒ�ãƒ³ãƒ‰ãƒ©ã‚’ã�“ã�¡ã‚‰ã�§å®šç¾©ã�™ã‚‹
-                frm.FormClosed += new FormClosedEventHandler(FrmEstimateBudgetClosed);
-
-                ClsOtherProc.ProcExec_EstimateBudget(ref frm
-                                                    , m_ConstructionCode
-                                                    , linkFlg
-                                                    , s_CurrentProcessNo
-                                                    , m_EditLock
-                                                    , this);
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region å·¥äº‹äºˆç®—æ›¸å…¥åŠ›
-        /// <summary>
-        /// å·¥äº‹äºˆç®—æ›¸å…¥åŠ›
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void ProcessExecute_ConstructionBudget(object sender, EventArgs e)
-        {
-            try
-            {
-                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.ConstructionBudget;
-                // ãƒ•ã‚©ãƒ¼ãƒ ã�Œã�‚ã‚Œã�°æœ€å‰�é�¢ã�¸
-                FrmConstructionBudget frm = (FrmConstructionBudget)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
-                if (frm != null)
-                {
-                    frm.Activate();
-                    return;
-                }
-
-                // å¢—æ¸›å·¥äº‹ã�¯ã‚µãƒ–ãƒ•ã‚©ãƒ¼ãƒ ã‚’è¡¨ç¤ºã�™ã‚‹
-                bool linkFlg = CheckconstrLink();
-
-                // å·¥äº‹äºˆç®—æ›¸å…¥åŠ›èµ·å‹•
-                frm = new FrmConstructionBudget();
-                // ã‚¯ãƒ­ãƒ¼ã‚¹ãƒ‰ãƒ�ãƒ³ãƒ‰ãƒ©ã‚’ã�“ã�¡ã‚‰ã�§å®šç¾©ã�™ã‚‹
-                frm.FormClosed += new FormClosedEventHandler(FrmConstructionBudgetClosed);
-
-                ClsOtherProc.ProcExec_ConstructionBudget(ref frm
-                                                    , m_ConstructionCode
-                                                    , linkFlg
-                                                    , s_CurrentProcessNo
-                                                    , m_EditLock
-                                                    , this);
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region å·¥äº‹æ¡ˆä»¶ã‚³ãƒ”ãƒ¼æ©Ÿèƒ½
-        /// <summary>
-        /// å·¥äº‹æ¡ˆä»¶ã‚³ãƒ”ãƒ¼æ©Ÿèƒ½
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void ProcessExecute_ConstructionCopyList(object sender, EventArgs e)
-        {
-            try
-            {
-                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.ConstructionCopyList;
-                // ãƒ•ã‚©ãƒ¼ãƒ ã�Œã�‚ã‚Œã�°æœ€å‰�é�¢ã�¸
-                FrmNewOrContinueCopy frm = (FrmNewOrContinueCopy)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
-                if (frm != null)
-                {
-                    frm.Activate();
-                    return;
-                }
-
-                // å¢—æ¸›å·¥äº‹ã�¯ã‚µãƒ–ãƒ•ã‚©ãƒ¼ãƒ ã‚’è¡¨ç¤ºã�™ã‚‹
-                bool linkFlg = CheckconstrLink();
-
-                // å·¥äº‹æ¡ˆä»¶ã‚³ãƒ”ãƒ¼èµ·å‹•
-                frm = new FrmNewOrContinueCopy();
-                // ã‚¯ãƒ­ãƒ¼ã‚¹ãƒ‰ãƒ�ãƒ³ãƒ‰ãƒ©ã‚’ã�“ã�¡ã‚‰ã�§å®šç¾©ã�™ã‚‹
-                frm.FormClosed += new FormClosedEventHandler(FrmNewOrContinueCopyClosed);
-
-                ClsOtherProc.ProcExec_ConstructionCopyList(ref frm
-                                                    , m_ConstructionCode
-                                                    , linkFlg
-                                                    , s_CurrentProcessNo
-                                                    , m_EditLock
-                                                    , this);
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region æ³¨æ–‡æ›¸å…¥åŠ›
-        /// <summary>
-        /// æ³¨æ–‡æ›¸å…¥åŠ›
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void ProcessExecute_PurchaseOrderEntry(object sender, EventArgs e)
-        {
-            try
-            {
-                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.PurchaseOrderEntry;
-                // ãƒ•ã‚©ãƒ¼ãƒ ã�Œã�‚ã‚Œã�°æœ€å‰�é�¢ã�¸
-                FrmPurchaseOrderEntry frm = (FrmPurchaseOrderEntry)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
-                if (frm != null)
-                {
-                    frm.Activate();
-                    return;
-                }
-
-                // å¢—æ¸›å·¥äº‹ã�¯ã‚µãƒ–ãƒ•ã‚©ãƒ¼ãƒ ã‚’è¡¨ç¤ºã�™ã‚‹
-                bool linkFlg = CheckconstrLink();
-
-                // æ³¨æ–‡æ›¸å…¥åŠ›èµ·å‹•
-                frm = new FrmPurchaseOrderEntry();
-                // ã‚¯ãƒ­ãƒ¼ã‚¹ãƒ‰ãƒ�ãƒ³ãƒ‰ãƒ©ã‚’ã�“ã�¡ã‚‰ã�§å®šç¾©ã�™ã‚‹
-                frm.FormClosed += new FormClosedEventHandler(FrmPurchaseOrderEntryClosed);
-
-                ClsOtherProc.ProcExec_PurchaseOrderEntry(ref frm
-                                                    , m_ConstructionCode
-                                                    , linkFlg
-                                                    , s_CurrentProcessNo
-                                                    , m_EditLock
-                                                    , this);
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region æ³¨æ–‡æ›¸å�°åˆ·
-        /// <summary>
-        /// æ³¨æ–‡æ›¸å�°åˆ·
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void ProcessExecute_PurchaseOrderPrint(object sender, EventArgs e)
-        {
-            try
-            {
-                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.PurchaseOrderPrint;
-                // ãƒ•ã‚©ãƒ¼ãƒ ã�Œã�‚ã‚Œã�°æœ€å‰�é�¢ã�¸
-                FrmPurchaseOrderPrint frm = (FrmPurchaseOrderPrint)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
-                if (frm != null)
-                {
-                    frm.Activate();
-                    return;
-                }
-
-                // å¢—æ¸›å·¥äº‹ã�¯ã‚µãƒ–ãƒ•ã‚©ãƒ¼ãƒ ã‚’è¡¨ç¤ºã�™ã‚‹
-                bool linkFlg = CheckconstrLink();
-
-                // æ³¨æ–‡æ›¸å�°åˆ·èµ·å‹•
-                frm = new FrmPurchaseOrderPrint();
-                // ã‚¯ãƒ­ãƒ¼ã‚¹ãƒ‰ãƒ�ãƒ³ãƒ‰ãƒ©ã‚’ã�“ã�¡ã‚‰ã�§å®šç¾©ã�™ã‚‹
-                frm.FormClosed += new FormClosedEventHandler(FrmPurchaseOrderPrintClosed);
-
-                ClsOtherProc.ProcExec_PurchaseOrderPrint(ref frm
-                                                    , m_ConstructionCode
-                                                    , linkFlg
-                                                    , s_CurrentProcessNo
-                                                    , m_EditLock
-                                                    , this);
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region å·¥äº‹è©³ç´°å�°å¸³
-        /// <summary>
-        /// å·¥äº‹è©³ç´°å�°å¸³
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void ProcessExecute_ConstructionLedger(object sender, EventArgs e)
-        {
-            try
-            {
-                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.ConstructionLedger;
-                // ãƒ•ã‚©ãƒ¼ãƒ ã�Œã�‚ã‚Œã�°æœ€å‰�é�¢ã�¸
-                FrmConstructionLedger frm = (FrmConstructionLedger)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
-                if (frm != null)
-                {
-                    frm.Activate();
-                    return;
-                }
-
-                // å·¥äº‹è©³ç´°å�°å¸³å…¥åŠ›èµ·å‹•
-                frm = new FrmConstructionLedger();
-                // ã‚¯ãƒ­ãƒ¼ã‚¹ãƒ‰ãƒ�ãƒ³ãƒ‰ãƒ©ã‚’ã�“ã�¡ã‚‰ã�§å®šç¾©ã�™ã‚‹
-                frm.FormClosed += new FormClosedEventHandler(FrmConstructionLedgerClosed);
-
-                ClsOtherProc.ProcExec_ConstructionLedger(ref frm
-                                                    , m_ConstructionCode
-                                                    , s_CurrentProcessNo
-                                                    , m_EditLock
-                                                    , this);
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region äº¤é€šè²»å�Šã�³è³¼å…¥å“�ç­‰å…¥åŠ›
-        /// <summary>
-        /// äº¤é€šè²»å�Šã�³è³¼å…¥å“�ç­‰å…¥åŠ›
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void ProcessExecute_TAndPCosts(object sender, EventArgs e)
-        {
-            try
-            {
-                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.TAndPCosts;
-                // ãƒ•ã‚©ãƒ¼ãƒ ã�Œã�‚ã‚Œã�°æœ€å‰�é�¢ã�¸
-                FrmTAndPCosts frm = (FrmTAndPCosts)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
-                if (frm != null)
-                {
-                    frm.Activate();
-                    return;
-                }
-
-                // äº¤é€šè²»å�Šã�³è³¼å…¥å“�ç­‰å…¥åŠ›èµ·å‹•
-                frm = new FrmTAndPCosts();
-                // ã‚¯ãƒ­ãƒ¼ã‚¹ãƒ‰ãƒ�ãƒ³ãƒ‰ãƒ©ã‚’ã�“ã�¡ã‚‰ã�§å®šç¾©ã�™ã‚‹
-                frm.FormClosed += new FormClosedEventHandler(FrmTAndPCostsClosed);
-
-                int nDepCode = CommonMotions.LoginUserData.DepartmentCode;
-                int nPersonCode = CommonMotions.LoginUserData.PersonCode;
-                ClsOtherProc.ProcExec_TAndPCosts(ref frm
-                                                    , m_ConstructionCode
-                                                    , nDepCode
-                                                    , nPersonCode
-                                                    , s_CurrentProcessNo
-                                                    , m_EditLock
-                                                    , this);
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region å·¥äº‹æ—¥å ±å…¥åŠ›
-        /// <summary>
-        /// å·¥äº‹æ—¥å ±å…¥åŠ›
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void ProcessExecute_DRConstruction(object sender, EventArgs e)
-        {
-            try
-            {
-                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.DRConstruction;
-                // ãƒ•ã‚©ãƒ¼ãƒ ã�Œã�‚ã‚Œã�°æœ€å‰�é�¢ã�¸
-                FrmDRConstruction frm = (FrmDRConstruction)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
-                if (frm != null)
-                {
-                    frm.Activate();
-                    return;
-                }
-
-                // å·¥äº‹æ—¥å ±å…¥åŠ›èµ·å‹•
-                frm = new FrmDRConstruction();
-                // ã‚¯ãƒ­ãƒ¼ã‚¹ãƒ‰ãƒ�ãƒ³ãƒ‰ãƒ©ã‚’ã�“ã�¡ã‚‰ã�§å®šç¾©ã�™ã‚‹
-                frm.FormClosed += new FormClosedEventHandler(FrmDRConstructionClosed);
-
-                int nPersonCode = m_ConstructionBaseInfo.ConstructionPersonCode;
-                ClsOtherProc.ProcExec_DRConstruction(ref frm
-                                                    , m_ConstructionCode
-                                                    , s_CurrentProcessNo
-                                                    , nPersonCode
-                                                    , m_EditLock
-                                                    , this);
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region æ‰“å�ˆã�›è­°äº‹éŒ²å…¥åŠ›
-        /// <summary>
-        /// æ‰“å�ˆã�›è­°äº‹éŒ²å…¥åŠ›
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void ProcessExecute_Proceedings(object sender, EventArgs e)
-        {
-            try
-            {
-                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.Proceedings;
-                // ãƒ•ã‚©ãƒ¼ãƒ ã�Œã�‚ã‚Œã�°æœ€å‰�é�¢ã�¸
-                FrmProceedings frm = (FrmProceedings)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
-                if (frm != null)
-                {
-                    frm.Activate();
-                    return;
-                }
-
-                // æ‰“å�ˆã�›è­°äº‹éŒ²å…¥åŠ›èµ·å‹•
-                frm = new FrmProceedings();
-                // ã‚¯ãƒ­ãƒ¼ã‚¹ãƒ‰ãƒ�ãƒ³ãƒ‰ãƒ©ã‚’ã�“ã�¡ã‚‰ã�§å®šç¾©ã�™ã‚‹
-                frm.FormClosed += new FormClosedEventHandler(FrmProceedingsClosed);
-
-                int nPersonCode = m_ConstructionBaseInfo.ConstructionPersonCode;
-                ClsOtherProc.ProcExec_Proceedings(ref frm
-                                                    , m_ConstructionCode
-                                                    , s_CurrentProcessNo
-                                                    , nPersonCode
-                                                    , m_EditLock
-                                                    , this);
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region è³‡æ��è²¸å‡ºå…¥åŠ›
-        /// <summary>
-        /// è³‡æ��è²¸å‡ºå…¥åŠ›
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void ProcessExecute_MaterialReserve(object sender, EventArgs e)
-        {
-            try
-            {
-                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.MaterialReserveEntry;
-                // ãƒ•ã‚©ãƒ¼ãƒ ã�Œã�‚ã‚Œã�°æœ€å‰�é�¢ã�¸
-                FrmMaterialReserveEntry frm = (FrmMaterialReserveEntry)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
-                if (frm != null)
-                {
-                    frm.Activate();
-                    return;
-                }
-
-                // è³‡æ��è²¸å‡ºå…¥åŠ›èµ·å‹•
-                frm = new FrmMaterialReserveEntry();
-                // ã‚¯ãƒ­ãƒ¼ã‚¹ãƒ‰ãƒ�ãƒ³ãƒ‰ãƒ©ã‚’ã�“ã�¡ã‚‰ã�§å®šç¾©ã�™ã‚‹
-                frm.FormClosed += new FormClosedEventHandler(FrmMaterialReserveClosed);
-
-                ClsOtherProc.ProcExec_MaterialReserve(ref frm
-                                                    , m_ConstructionCode
-                                                    , s_CurrentProcessNo
-                                                    , m_EditLock
-                                                    , this);
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region è³‡æ��è¿”å�´å…¥åŠ›
-        /// <summary>
-        /// è³‡æ��è¿”å�´å…¥åŠ›
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void ProcessExecute_MaterialReturn(object sender, EventArgs e)
-        {
-            try
-            {
-                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.MaterialReturnEntry;
-                // ãƒ•ã‚©ãƒ¼ãƒ ã�Œã�‚ã‚Œã�°æœ€å‰�é�¢ã�¸
-                FrmMaterialReturnEntry frm = (FrmMaterialReturnEntry)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
-                if (frm != null)
-                {
-                    frm.Activate();
-                    return;
-                }
-
-                // è³‡æ��è¿”å�´å…¥åŠ›èµ·å‹•
-                frm = new FrmMaterialReturnEntry();
-                // ã‚¯ãƒ­ãƒ¼ã‚¹ãƒ‰ãƒ�ãƒ³ãƒ‰ãƒ©ã‚’ã�“ã�¡ã‚‰ã�§å®šç¾©ã�™ã‚‹
-                frm.FormClosed += new FormClosedEventHandler(FrmMaterialReturnClosed);
-
-                ClsOtherProc.ProcExec_MaterialReturn(ref frm
-                                                    , m_ConstructionCode
-                                                    , s_CurrentProcessNo
-                                                    , m_EditLock
-                                                    , this);
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region è«‹æ±‚å…¥åŠ›
-        /// <summary>
-        /// è«‹æ±‚å…¥åŠ›
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void ProcessExecute_RequestInput(object sender, EventArgs e)
-        {
-            try
-            {
-                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.RequestInput;
-                // ãƒ•ã‚©ãƒ¼ãƒ ã�Œã�‚ã‚Œã�°æœ€å‰�é�¢ã�¸
-                FrmRequestInput frm = (FrmRequestInput)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
-                if (frm != null)
-                {
-                    frm.Activate();
-                    return;
-                }
-
-                // è«‹æ±‚å…¥åŠ›èµ·å‹•
-                frm = new FrmRequestInput();
-                // ã‚¯ãƒ­ãƒ¼ã‚¹ãƒ‰ãƒ�ãƒ³ãƒ‰ãƒ©ã‚’ã�“ã�¡ã‚‰ã�§å®šç¾©ã�™ã‚‹
-                frm.FormClosed += new FormClosedEventHandler(FrmRequestInputClosed);
-
-                ClsOtherProc.ProcExec_RequestInput(ref frm
-                                                    , m_ConstructionCode
-                                                    , s_CurrentProcessNo
-                                                    , m_EditLock
-                                                    , this);
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region è«‹æ±‚å�°åˆ·
-        /// <summary>
-        /// è«‹æ±‚å�°åˆ·
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void ProcessExecute_RequestPrint(object sender, EventArgs e)
-        {
-            try
-            {
-                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.RequestPrint;
-                // ãƒ•ã‚©ãƒ¼ãƒ ã�Œã�‚ã‚Œã�°æœ€å‰�é�¢ã�¸
-                FrmRequestPrintSel frm = (FrmRequestPrintSel)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
-                if (frm != null)
-                {
-                    frm.Activate();
-                    return;
-                }
-
-                // è«‹æ±‚å…¥åŠ›èµ·å‹•
-                frm = new FrmRequestPrintSel();
-                // ã‚¯ãƒ­ãƒ¼ã‚¹ãƒ‰ãƒ�ãƒ³ãƒ‰ãƒ©ã‚’ã�“ã�¡ã‚‰ã�§å®šç¾©ã�™ã‚‹
-                frm.FormClosed += new FormClosedEventHandler(FrmRequestPrintClosed);
-
-                ClsOtherProc.ProcExec_RequestPrint(ref frm
-                                                    , m_ConstructionCode
-                                                    , s_CurrentProcessNo
-                                                    , this);
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region å…¥é‡‘å…¥åŠ›
-        /// <summary>
-        /// å…¥é‡‘å…¥åŠ›
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void ProcessExecute_PaymentConfirmation(object sender, EventArgs e)
-        {
-            try
-            {
-                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.PaymentConfirmation;
-                // ãƒ•ã‚©ãƒ¼ãƒ ã�Œã�‚ã‚Œã�°æœ€å‰�é�¢ã�¸
-                FrmSelectPayment frm = (FrmSelectPayment)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
-                if (frm != null)
-                {
-                    frm.Activate();
-                    return;
-                }
-
-                // è«‹æ±‚å…¥åŠ›èµ·å‹•
-                frm = new FrmSelectPayment();
-                // ã‚¯ãƒ­ãƒ¼ã‚¹ãƒ‰ãƒ�ãƒ³ãƒ‰ãƒ©ã‚’ã�“ã�¡ã‚‰ã�§å®šç¾©ã�™ã‚‹
-                frm.FormClosed += new FormClosedEventHandler(FrmPaymentConfirmationClosed);
-
-                ClsOtherProc.ProcExec_PaymentConfirmation(ref frm
-                                                    , m_ConstructionCode
-                                                    , s_CurrentProcessNo
-                                                    , this);
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #endregion // ---------- ä»–ãƒ—ãƒ­ã‚»ã‚¹èµ·å‹•ãƒ�ãƒ³ãƒ‰ãƒ©ç¾¤ã€€END
-
-        #region    // ---------- ä»–ãƒ—ãƒ­ã‚»ã‚¹çµ‚äº†ãƒ�ãƒ³ãƒ‰ãƒ©ç¾¤ã€€START
-        #region å·¥äº‹æƒ…å ±å…¥åŠ›ã�®ã‚¯ãƒ­ãƒ¼ã‚ºã‚’å�–å¾—ã�™ã‚‹
-        /// <summary>
-        /// å·¥äº‹æƒ…å ±å…¥åŠ›ã�®ã‚¯ãƒ­ãƒ¼ã‚ºã‚’å�–å¾—ã�™ã‚‹
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void FrmConstructionBaseInfoClosed(object sender, FormClosedEventArgs e)
-        {
-            try
-            {
-                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.ConstructionBaseInfo;
-                FrmConstructionBaseInfo frm = (FrmConstructionBaseInfo)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
-                bool ThisEnd = frm.ParentEnd;
-                bool DataChange = frm.DataChenge;
-
-                // ãƒ•ã‚©ãƒ¼ãƒ ã�®ã‚¯ãƒªã‚¢
-                ClsOtherProc.ProcFormClose(ProcessNo);
-
-                // ãƒ¡ãƒ‹ãƒ¥ãƒ¼ã�¸æˆ»ã‚‹ã�®é�¸æŠž
-                if (ThisEnd)
-                {
-                    // çµ‚äº†å‡¦ç�†OFF
-                    m_CloseingProcessOn = false;
-                    this.Close();
-                }
-                else
-                {
-                    this.Activate();
-                    // ãƒ‡ãƒ¼ã‚¿å¤‰æ›´ã�Œã�‚ã‚‹å ´å�ˆã�¯å†�è¡¨ç¤º
-                    if (DataChange)
-                    {
-                        GetBaseInfoData();
-                        InitDataLoad();
-                    }
-                }
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region ç©�ç®—è¦‹ç©�å…¥åŠ›ã�®ã‚¯ãƒ­ãƒ¼ã‚ºã‚’å�–å¾—ã�™ã‚‹
-        /// <summary>
-        /// ç©�ç®—è¦‹ç©�å…¥åŠ›ã�®ã‚¯ãƒ­ãƒ¼ã‚ºã‚’å�–å¾—ã�™ã‚‹
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void FrmEstimateInputClosed(object sender, FormClosedEventArgs e)
-        {
-            try
-            {
-                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.EstimateInput;
-                FrmEstimateInput frm = (FrmEstimateInput)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
-                bool ThisEnd = frm.ParentEnd;
-
-                // ãƒ•ã‚©ãƒ¼ãƒ ã�®ã‚¯ãƒªã‚¢
-                ClsOtherProc.ProcFormClose(ProcessNo);
-
-                // ãƒ¡ãƒ‹ãƒ¥ãƒ¼ã�¸æˆ»ã‚‹ã�®é�¸æŠž
-                if (ThisEnd)
-                {
-                    // ç”³è«‹ç”»é�¢ã�Œè¨­å®šã�•ã‚Œã�¦ã�„ã‚‹å ´å�ˆã�¯è¦ªã‚‚çµ‚ã‚�ã‚‰ã�›ã‚‹
-                    if (judgmentApprovalScreen()) m_ParentEnd = true;
-
-                    // çµ‚äº†å‡¦ç�†OFF
-                    m_CloseingProcessOn = false;
-                    this.Close();
-                }
-                else
-                {
-                    UpDateProcessContextMenu();
-                    this.Activate();
-                }
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region ç©�ç®—è¦‹ç©�å�°åˆ·ã�®ã‚¯ãƒ­ãƒ¼ã‚ºã‚’å�–å¾—ã�™ã‚‹
-        /// <summary>
-        /// ç©�ç®—è¦‹ç©�å�°åˆ·ã�®ã‚¯ãƒ­ãƒ¼ã‚ºã‚’å�–å¾—ã�™ã‚‹
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void FrmEstimatePrintClosed(object sender, FormClosedEventArgs e)
-        {
-            try
-            {
-                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.EstimatePrint;
-                FrmEstimatePrint frm = (FrmEstimatePrint)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
-                bool ThisEnd = frm.ParentEnd;
-
-                // ãƒ•ã‚©ãƒ¼ãƒ ã�®ã‚¯ãƒªã‚¢
-                ClsOtherProc.ProcFormClose(ProcessNo);
-
-                // ãƒ¡ãƒ‹ãƒ¥ãƒ¼ã�¸æˆ»ã‚‹ã�®é�¸æŠž
-                if (ThisEnd)
-                {
-                    // çµ‚äº†å‡¦ç�†OFF
-                    m_CloseingProcessOn = false;
-                    this.Close();
-                }
-                else
-                {
-                    UpDateProcessContextMenu();
-                    this.Activate();
-                }
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region ç©�ç®—äºˆç®—æ›¸å…¥åŠ›ã�®ã‚¯ãƒ­ãƒ¼ã‚ºã‚’å�–å¾—ã�™ã‚‹
-        /// <summary>
-        /// ç©�ç®—äºˆç®—æ›¸å…¥åŠ›ã�®ã‚¯ãƒ­ãƒ¼ã‚ºã‚’å�–å¾—ã�™ã‚‹
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void FrmEstimateBudgetClosed(object sender, FormClosedEventArgs e)
-        {
-            try
-            {
-                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.EstimateBudget;
-                FrmEstimateBudget frm = (FrmEstimateBudget)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
-                bool ThisEnd = frm.ParentEnd;
-
-                // ãƒ•ã‚©ãƒ¼ãƒ ã�®ã‚¯ãƒªã‚¢
-                ClsOtherProc.ProcFormClose(ProcessNo);
-
-                // ãƒ¡ãƒ‹ãƒ¥ãƒ¼ã�¸æˆ»ã‚‹ã�®é�¸æŠž
-                if (ThisEnd)
-                {
-                    // ç”³è«‹ç”»é�¢ã�Œè¨­å®šã�•ã‚Œã�¦ã�„ã‚‹å ´å�ˆã�¯è¦ªã‚‚çµ‚ã‚�ã‚‰ã�›ã‚‹
-                    if (judgmentApprovalScreen()) m_ParentEnd = true;
-
-                    // çµ‚äº†å‡¦ç�†OFF
-                    m_CloseingProcessOn = false;
-                    this.Close();
-                }
-                else
-                {
-                    UpDateProcessContextMenu();
-                    this.Activate();
-                }
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region å·¥äº‹äºˆç®—æ›¸å…¥åŠ›ã�®ã‚¯ãƒ­ãƒ¼ã‚ºã‚’å�–å¾—ã�™ã‚‹
-        /// <summary>
-        /// å·¥äº‹äºˆç®—æ›¸å…¥åŠ›ã�®ã‚¯ãƒ­ãƒ¼ã‚ºã‚’å�–å¾—ã�™ã‚‹
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void FrmConstructionBudgetClosed(object sender, FormClosedEventArgs e)
-        {
-            try
-            {
-                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.ConstructionBudget;
-                FrmConstructionBudget frm = (FrmConstructionBudget)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
-                bool ThisEnd = frm.ParentEnd;
-
-                // ãƒ•ã‚©ãƒ¼ãƒ ã�®ã‚¯ãƒªã‚¢
-                ClsOtherProc.ProcFormClose(ProcessNo);
-
-                // ãƒ¡ãƒ‹ãƒ¥ãƒ¼ã�¸æˆ»ã‚‹ã�®é�¸æŠž
-                if (ThisEnd)
-                {
-                    // ç”³è«‹ç”»é�¢ã�Œè¨­å®šã�•ã‚Œã�¦ã�„ã‚‹å ´å�ˆã�¯è¦ªã‚‚çµ‚ã‚�ã‚‰ã�›ã‚‹
-                    if (judgmentApprovalScreen()) m_ParentEnd = true;
-
-                    // çµ‚äº†å‡¦ç�†OFF
-                    m_CloseingProcessOn = false;
-                    this.Close();
-                }
-                else
-                {
-                    UpDateProcessContextMenu();
-                    this.Activate();
-                }
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region å·¥äº‹æ¡ˆä»¶ã‚³ãƒ”ãƒ¼æ©Ÿèƒ½ã�®ã‚¯ãƒ­ãƒ¼ã‚ºã‚’å�–å¾—ã�™ã‚‹
-        /// <summary>
-        /// å·¥äº‹æ¡ˆä»¶ã‚³ãƒ”ãƒ¼æ©Ÿèƒ½ã�®ã‚¯ãƒ­ãƒ¼ã‚ºã‚’å�–å¾—ã�™ã‚‹
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void FrmNewOrContinueCopyClosed(object sender, FormClosedEventArgs e)
-        {
-            try
-            {
-                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.ConstructionCopyList;
-                // ãƒ—ãƒ­ã‚»ã‚¹ç•ªå�·ã�Œé�•ã�†ã�®ã�§æ³¨æ„�ï¼�ï¼�
-                FrmNewOrContinueCopy frm = (FrmNewOrContinueCopy)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
-
-                // æˆ»ã‚Šå€¤å�–å¾—
-                int ConstructionCode = frm.ConstructionCode;
-                bool bNowConstruction = frm.NewConstruction;
-                DialogResult drThisEnd = frm.EndButton;
-
-                // ãƒ•ã‚©ãƒ¼ãƒ ã�®ã‚¯ãƒªã‚¢
-                ClsOtherProc.ProcFormClose(ProcessNo);
-
-                // ç”»é�¢çµ‚äº†æ™‚ã�¯ä»¥ä¸‹å‡¦ç�†ç„¡
-                if (drThisEnd == DialogResult.Cancel) return;
-
-                // çµ‚äº†å‡¦ç�†ãƒ•ãƒ©ã‚°On
-                m_CloseingProcessOn = true;
-
-                this.Close();
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region æ³¨æ–‡æ›¸å…¥åŠ›ã‚¯ãƒ­ãƒ¼ã‚ºã‚’å�–å¾—ã�™ã‚‹
-        /// <summary>
-        /// æ³¨æ–‡æ›¸å…¥åŠ›ã‚¯ãƒ­ãƒ¼ã‚ºã‚’å�–å¾—ã�™ã‚‹
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void FrmPurchaseOrderEntryClosed(object sender, FormClosedEventArgs e)
-        {
-            try
-            {
-                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.PurchaseOrderEntry;
-                FrmPurchaseOrderEntry frm = (FrmPurchaseOrderEntry)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
-                bool ThisEnd = frm.ParentEnd;
-
-                // ãƒ•ã‚©ãƒ¼ãƒ ã�®ã‚¯ãƒªã‚¢
-                ClsOtherProc.ProcFormClose(ProcessNo);
-
-                // ãƒ¡ãƒ‹ãƒ¥ãƒ¼ã�¸æˆ»ã‚‹ã�®é�¸æŠž
-                if (ThisEnd)
-                {
-                    // ç”³è«‹ç”»é�¢ã�Œè¨­å®šã�•ã‚Œã�¦ã�„ã‚‹å ´å�ˆã�¯è¦ªã‚‚çµ‚ã‚�ã‚‰ã�›ã‚‹
-                    if (judgmentApprovalScreen()) m_ParentEnd = true;
-
-                    // çµ‚äº†å‡¦ç�†OFF
-                    m_CloseingProcessOn = false;
-                    this.Close();
-                }
-                else
-                {
-                    UpDateProcessContextMenu();
-                    this.Activate();
-                }
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region æ³¨æ–‡æ›¸å�°åˆ·ã‚¯ãƒ­ãƒ¼ã‚ºã‚’å�–å¾—ã�™ã‚‹
-        /// <summary>
-        /// æ³¨æ–‡æ›¸å�°åˆ·ã‚¯ãƒ­ãƒ¼ã‚ºã‚’å�–å¾—ã�™ã‚‹
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void FrmPurchaseOrderPrintClosed(object sender, FormClosedEventArgs e)
-        {
-            try
-            {
-                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.PurchaseOrderPrint;
-                FrmPurchaseOrderPrint frm = (FrmPurchaseOrderPrint)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
-                bool ThisEnd = frm.ParentEnd;
-
-                // ãƒ•ã‚©ãƒ¼ãƒ ã�®ã‚¯ãƒªã‚¢
-                ClsOtherProc.ProcFormClose(ProcessNo);
-
-                // ãƒ¡ãƒ‹ãƒ¥ãƒ¼ã�¸æˆ»ã‚‹ã�®é�¸æŠž
-                if (ThisEnd)
-                {
-                    // çµ‚äº†å‡¦ç�†OFF
-                    m_CloseingProcessOn = false;
-                    this.Close();
-                }
-                else
-                {
-                    UpDateProcessContextMenu();
-                    this.Activate();
-                }
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region å·¥äº‹è©³ç´°å�°å¸³ã�®ã‚¯ãƒ­ãƒ¼ã‚ºã‚’å�–å¾—ã�™ã‚‹
-        /// <summary>
-        /// å·¥äº‹è©³ç´°å�°å¸³ã�®ã‚¯ãƒ­ãƒ¼ã‚ºã‚’å�–å¾—ã�™ã‚‹
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void FrmConstructionLedgerClosed(object sender, FormClosedEventArgs e)
-        {
-            try
-            {
-                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.ConstructionLedger;
-                FrmConstructionLedger frm = (FrmConstructionLedger)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
-                bool ThisEnd = frm.ParentEnd;
-
-                // ãƒ•ã‚©ãƒ¼ãƒ ã�®ã‚¯ãƒªã‚¢
-                ClsOtherProc.ProcFormClose(ProcessNo);
-
-                // ãƒ¡ãƒ‹ãƒ¥ãƒ¼ã�¸æˆ»ã‚‹ã�®é�¸æŠž
-                if (ThisEnd)
-                {
-                    // çµ‚äº†å‡¦ç�†OFF
-                    m_CloseingProcessOn = false;
-                    this.Close();
-                }
-                else
-                {
-                    UpDateProcessContextMenu();
-                    this.Activate();
-                }
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region äº¤é€šè²»å�Šã�³è³¼å…¥å“�ç­‰å…¥åŠ›ã�®ã‚¯ãƒ­ãƒ¼ã‚ºã‚’å�–å¾—ã�™ã‚‹
-        /// <summary>
-        /// äº¤é€šè²»å�Šã�³è³¼å…¥å“�ç­‰å…¥åŠ›ã�®ã‚¯ãƒ­ãƒ¼ã‚ºã‚’å�–å¾—ã�™ã‚‹
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void FrmTAndPCostsClosed(object sender, FormClosedEventArgs e)
-        {
-            try
-            {
-                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.TAndPCosts;
-                FrmTAndPCosts frm = (FrmTAndPCosts)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
-                bool ThisEnd = frm.ParentEnd;
-
-                // ãƒ•ã‚©ãƒ¼ãƒ ã�®ã‚¯ãƒªã‚¢
-                ClsOtherProc.ProcFormClose(ProcessNo);
-
-                // ãƒ¡ãƒ‹ãƒ¥ãƒ¼ã�¸æˆ»ã‚‹ã�®é�¸æŠž
-                if (ThisEnd)
-                {
-                    // çµ‚äº†å‡¦ç�†OFF
-                    m_CloseingProcessOn = false;
-                    this.Close();
-                }
-                else
-                {
-                    UpDateProcessContextMenu();
-                    this.Activate();
-                }
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region å·¥äº‹æ—¥å ±å…¥åŠ›ã�®ã‚¯ãƒ­ãƒ¼ã‚ºã‚’å�–å¾—ã�™ã‚‹
-        /// <summary>
-        /// å·¥äº‹æ—¥å ±å…¥åŠ›ã�®ã‚¯ãƒ­ãƒ¼ã‚ºã‚’å�–å¾—ã�™ã‚‹
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void FrmDRConstructionClosed(object sender, FormClosedEventArgs e)
-        {
-            try
-            {
-                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.DRConstruction;
-                FrmDRConstruction frm = (FrmDRConstruction)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
-                bool ThisEnd = frm.ParentEnd;
-
-                // ãƒ•ã‚©ãƒ¼ãƒ ã�®ã‚¯ãƒªã‚¢
-                ClsOtherProc.ProcFormClose(ProcessNo);
-
-                if (ThisEnd)
-                {
-                    // çµ‚äº†å‡¦ç�†OFF
-                    m_CloseingProcessOn = false;
-                    this.Close();
-                }
-                else
-                {
-                    UpDateProcessContextMenu();
-                    this.Activate();
-                }
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region æ‰“å�ˆã�›è­°äº‹éŒ²å…¥åŠ›ã�®ã‚¯ãƒ­ãƒ¼ã‚ºã‚’å�–å¾—ã�™ã‚‹
-        /// <summary>
-        /// æ‰“å�ˆã�›è­°äº‹éŒ²å…¥åŠ›ã�®ã‚¯ãƒ­ãƒ¼ã‚ºã‚’å�–å¾—ã�™ã‚‹
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void FrmProceedingsClosed(object sender, FormClosedEventArgs e)
-        {
-            try
-            {
-                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.Proceedings;
-                FrmProceedings frm = (FrmProceedings)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
-                bool ThisEnd = frm.ParentEnd;
-
-                // ãƒ•ã‚©ãƒ¼ãƒ ã�®ã‚¯ãƒªã‚¢
-                ClsOtherProc.ProcFormClose(ProcessNo);
-
-                if (ThisEnd)
-                {
-                    // çµ‚äº†å‡¦ç�†OFF
-                    m_CloseingProcessOn = false;
-                    this.Close();
-                }
-                else
-                {
-                    UpDateProcessContextMenu();
-                    this.Activate();
-                }
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region è³‡æ��è²¸å‡ºå…¥åŠ›ã�®ã‚¯ãƒ­ãƒ¼ã‚ºã‚’å�–å¾—ã�™ã‚‹
-        /// <summary>
-        /// è³‡æ��è²¸å‡ºå…¥åŠ›ã�®ã‚¯ãƒ­ãƒ¼ã‚ºã‚’å�–å¾—ã�™ã‚‹
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void FrmMaterialReserveClosed(object sender, FormClosedEventArgs e)
-        {
-            try
-            {
-                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.MaterialReserveEntry;
-                FrmMaterialReserveEntry frm = (FrmMaterialReserveEntry)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
-                bool ThisEnd = frm.ParentEnd;
-
-                // ãƒ•ã‚©ãƒ¼ãƒ ã�®ã‚¯ãƒªã‚¢
-                ClsOtherProc.ProcFormClose(ProcessNo);
-
-                if (ThisEnd)
-                {
-                    // çµ‚äº†å‡¦ç�†OFF
-                    m_CloseingProcessOn = false;
-                    this.Close();
-                }
-                else
-                {
-                    UpDateProcessContextMenu();
-                    this.Activate();
-                }
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region è³‡æ��è¿”å�´å…¥åŠ›ã�®ã‚¯ãƒ­ãƒ¼ã‚ºã‚’å�–å¾—ã�™ã‚‹
-        /// <summary>
-        /// è³‡æ��è¿”å�´å…¥åŠ›ã�®ã‚¯ãƒ­ãƒ¼ã‚ºã‚’å�–å¾—ã�™ã‚‹
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void FrmMaterialReturnClosed(object sender, FormClosedEventArgs e)
-        {
-            try
-            {
-                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.MaterialReturnEntry;
-                FrmMaterialReturnEntry frm = (FrmMaterialReturnEntry)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
-                bool ThisEnd = frm.ParentEnd;
-
-                // ãƒ•ã‚©ãƒ¼ãƒ ã�®ã‚¯ãƒªã‚¢
-                ClsOtherProc.ProcFormClose(ProcessNo);
-
-                if (ThisEnd)
-                {
-                    // çµ‚äº†å‡¦ç�†OFF
-                    m_CloseingProcessOn = false;
-                    this.Close();
-                }
-                else
-                {
-                    UpDateProcessContextMenu();
-                    this.Activate();
-                }
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region è«‹æ±‚å…¥åŠ›ã�®ã‚¯ãƒ­ãƒ¼ã‚ºã‚’å�–å¾—ã�™ã‚‹
-        /// <summary>
-        /// è«‹æ±‚å…¥åŠ›ã�®ã‚¯ãƒ­ãƒ¼ã‚ºã‚’å�–å¾—ã�™ã‚‹
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void FrmRequestInputClosed(object sender, FormClosedEventArgs e)
-        {
-            try
-            {
-                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.RequestInput;
-                FrmRequestInput frm = (FrmRequestInput)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
-                bool ThisEnd = frm.ParentEnd;
-
-                // ãƒ•ã‚©ãƒ¼ãƒ ã�®ã‚¯ãƒªã‚¢
-                ClsOtherProc.ProcFormClose(ProcessNo);
-
-                if (ThisEnd)
-                {
-                    // çµ‚äº†å‡¦ç�†OFF
-                    m_CloseingProcessOn = false;
-                    this.Close();
-                }
-                else
-                {
-                    UpDateProcessContextMenu();
-                    this.Activate();
-                }
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region è«‹æ±‚å�°åˆ·ã�®ã‚¯ãƒ­ãƒ¼ã‚ºã‚’å�–å¾—ã�™ã‚‹
-        /// <summary>
-        /// è«‹æ±‚å�°åˆ·ã�®ã‚¯ãƒ­ãƒ¼ã‚ºã‚’å�–å¾—ã�™ã‚‹
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void FrmRequestPrintClosed(object sender, FormClosedEventArgs e)
-        {
-            try
-            {
-                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.RequestPrint;
-                FrmRequestPrintSel frm = (FrmRequestPrintSel)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
-
-                // ãƒ•ã‚©ãƒ¼ãƒ ã�®ã‚¯ãƒªã‚¢
-                ClsOtherProc.ProcFormClose(ProcessNo);
-
-                UpDateProcessContextMenu();
-                this.Activate();
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region å…¥é‡‘å…¥åŠ›ã�®ã‚¯ãƒ­ãƒ¼ã‚ºã‚’å�–å¾—ã�™ã‚‹
-        /// <summary>
-        /// å…¥é‡‘å…¥åŠ›ã�®ã‚¯ãƒ­ãƒ¼ã‚ºã‚’å�–å¾—ã�™ã‚‹
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void FrmPaymentConfirmationClosed(object sender, FormClosedEventArgs e)
-        {
-            try
-            {
-                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.PaymentConfirmation;
-                FrmSelectPayment frm = (FrmSelectPayment)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
-
-                // ãƒ•ã‚©ãƒ¼ãƒ ã�®ã‚¯ãƒªã‚¢
-                ClsOtherProc.ProcFormClose(ProcessNo);
-
-                UpDateProcessContextMenu();
-                this.Activate();
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #endregion // ---------- ä»–ãƒ—ãƒ­ã‚»ã‚¹çµ‚äº†ãƒ�ãƒ³ãƒ‰ãƒ©ç¾¤ã€€END
-
-        #region // ---------- è«‹æ±‚ã�¾ã�¨ã‚�å…¥åŠ›å›ºæœ‰å‡¦ç�†
-        #region å·¥äº‹ç•ªå�·å�–å¾—
-        /// <summary>
-        /// å·¥äº‹ç•ªå�·å�–å¾—
-        /// </summary>
-        /// <returns></returns>
-        private void GetConstructionCode()
-        {
-            try
-            {
-                m_ConstructionCode = 0;
-                
-                // ã‚°ãƒªãƒƒãƒ‰å�–å¾—
-                DataGridViewEX dgv = getShowingView();
-                // ã‚«ãƒ¬ãƒ³ãƒˆè¡Œå�–å¾—
-                DataGridViewRow CurRow = dgv.CurrentRow;
-                // ã‚»ãƒ«ä½�ç½®å�–å¾—
-                int ConstrPos = rdbCompany.Checked ? (int)DispColumn_Company.GengaCode : (int)DispColumn_Project.GengaCode;
-
-                m_ConstructionCode = CommonMotions.cnvInt(CurRow.Cells[ConstrPos].Value);
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region å·¥äº‹æƒ…å ±å�–å¾—å‡¦ç�†
-        /// <summary>
-        /// å·¥äº‹æƒ…å ±å�–å¾—
-        /// </summary>
-        /// <returns></returns>
-        private bool GetBaseInfoData()
-        {
-            IOConstructionBaseInfo cbDB = new IOConstructionBaseInfo();
-            try
-            {
-                string strSQL = cbDB.CreatePrimarykeyString(m_ConstructionCode);
-                if (!cbDB.SelectAction(strSQL, ref m_ConstructionBaseInfo)) return false;
-
-                return true;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-                return false;
-            }
-            finally
-            {
-                cbDB.close(); cbDB = null;
-            }
-        }
-        #endregion
-        #endregion // ---------- è«‹æ±‚ã�¾ã�¨ã‚�å…¥åŠ›å›ºæœ‰å‡¦ç�†ã€€END
-    }
-}
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/FrmRequestSummaryListAuxiliary.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/FrmRequestSummaryListAuxiliary.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/FrmRequestSummaryListAuxiliary.cs	(nonexistent)
@@ -1,7098 +0,0 @@
-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;
-using System.Collections;
-using System.Diagnostics;
-using System.Threading;
-
-using log4net;
-using log4net.Appender;
-using log4net.Repository.Hierarchy;
-
-using ProcessManagement.Common;
-using ProcessManagement.DB.IOAccess;
-using ProcessManagement.DataModel;
-using ProcessManagement.DB.Core;
-using ProcessManagement.Forms.CustomControls;
-using ProcessManagement.Forms.ControlsAction;
-using ProcessManagement.Forms.SubForms;
-
-//*---------------------------- �¿‹�‚Ü‚Æ‚ß‰æ–Ê(•â�•)---------------------------*
-//  2015/07/13  Ver1.0.0.0      Create Source           
-//
-//
-//
-//*----------------------------------------------------------------------------*
-namespace ProcessManagement.Forms.DataEntry
-{
-    partial class FrmRequestSummaryList
-    {
-
-        #region �s�ó‘Ô‚ÌŽæ“¾
-        /// <summary>
-        /// �s�ó‘Ô‚ÌŽæ“¾
-        /// </summary>
-        /// <param name="target"></param>
-        /// <returns></returns>
-        private DataRowState cnvRowState(object target)
-        {
-            DataRowState Result = DataRowState.Detached;
-            try
-            {
-                if (target != null)
-                {
-                    Result = (DataRowState)target;
-                }
-            }
-            catch (Exception ex)
-            {
-                Console.WriteLine(ex.Message);
-            }
-
-            return Result;
-        }
-        #endregion
-
-        #region ƒf�[ƒ^�Ä•\Ž¦
-        /// <summary>
-        /// ƒf�[ƒ^�Ä•\Ž¦
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private bool DispShowView()
-        {
-            try
-            {
-                if (m_bChengeAns == true)
-                {
-                    if (MessageBox.Show("ƒf�[ƒ^‚É•Ï�X‚ª‚ ‚è‚Ü‚·�A“o˜^‚¹‚¸‚É‘Î�Û‚ð•Ï�X‚µ‚Ä‚æ‚ë‚µ‚¢‚Å‚·‚©�H", "Šm”F"
-                        , MessageBoxButtons.YesNo, MessageBoxIcon.Warning) == DialogResult.No)
-                    {
-                        return false;
-                    }
-                }
-
-                showView();
-                SetColumnID();
-                controlButton();
-
-                // •\Ž¦
-                InitDataLoad();
-                DispGridData();
-
-                return true;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                return false;
-            }
-        }
-        #endregion
-
-        #region �³”FŽžƒpƒ‰ƒ��[ƒ^�‰ŠúƒZƒbƒg
-        /// <summary>
-        /// �³”FŽžƒpƒ‰ƒ��[ƒ^�‰ŠúƒZƒbƒg
-        /// </summary>
-        private void SetApprovalInitParametar(ref int DepCode, ref int PersonCode)
-        {
-            IOMPersonInCharge PersonDB = new IOMPersonInCharge();
-            try
-            {
-                // ƒ�ƒjƒ…�[‚©‚ç‚Ì‹N“®Žž‚Í�ˆ—�‚µ‚È‚¢
-                if (m_FirstFlg) return;
-
-                StringBuilder strSQL = new StringBuilder();
-                strSQL.Append(PersonDB.CreatePrimarykeyString(m_PaymentPersonCode));
-                PersonInChargeMaster PersonRec = new PersonInChargeMaster();
-                PersonDB.SelectAction(strSQL.ToString(), ref PersonRec);
-
-                DepCode = PersonRec.DepartmentCode;
-                PersonCode = PaymentPersonCode;
-
-                cmbDepartment.Enabled = false;
-                cmbPerson.Enabled = false;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-            finally
-            {
-                PersonDB.close(); PersonDB = null;
-            }
-        }
-        #endregion
-
-        #region ƒvƒ�ƒOƒŒƒXƒo�[•\Ž¦�§Œä
-        /// <summary>
-        /// ƒvƒ�ƒOƒŒƒXƒo�[•\Ž¦�§Œä
-        /// </summary>
-        /// <param name="bDisp"></param>
-        private void ProgressBarCtrl(bool bDisp)
-        {
-            try
-            {
-                // ƒvƒ�ƒOƒŒƒXƒo�[•\Ž¦
-                DataProgressBar.Visible = bDisp;
-                DataProgressBar.Minimum = 0;
-                DataProgressBar.Maximum = 0;
-
-                // ƒ{ƒ^ƒ“•\Ž¦
-                btnOtherProc.Visible = !bDisp;
-                btnAddCompany.Visible = !bDisp;
-                btnDeleteCompany.Visible = !bDisp;
-                btnAddProject.Visible = !bDisp;
-                btnDeleteProject.Visible = !bDisp;
-
-                // ƒtƒH�[ƒ€ƒ�ƒbƒN
-                this.Enabled = !bDisp;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region ƒwƒbƒ_�[•”•\Ž¦�§Œä
-        /// <summary>
-        /// ƒwƒbƒ_�[•”•\Ž¦�§Œä
-        /// </summary>
-        /// <param name="DispType"></param>
-        private void DispHeaderCtrl(int DispType)
-        {
-            try
-            {
-                switch (DispType)
-                {
-                    case (int)HeaderCtrlDef.Type1:
-                        // ----- •”��–³�E’S“–ŽÒ—L
-                        // •”��ƒRƒ“ƒ{ƒ{ƒbƒNƒX
-                        label4.Visible = false;
-                        cmbDepartment.Visible = false;
-
-                        // ’S“–ŽÒƒRƒ“ƒ{ƒ{ƒbƒNƒX
-                        label11.Visible = false;
-                        cmbPerson.Visible = false;
-
-                        // •\Ž¦Œ`Ž®
-                        label2.Location = label4.Location;
-                        panel2.Location = cmbDepartment.Location;
-
-                        // Žx•¥“ú
-                        label5.Location = label11.Location;
-                        lblPaymentDate.Location = cmbPerson.Location;
-
-                        groupBoxEx1.Height = 40;
-                        Point po = dgvCompany.Location;
-                        po.Y -= 30;
-                        dgvCompany.Location = po;
-                        dgvProject.Location = po;
-                        dgvCompany.Height += 40;
-                        dgvProject.Height += 40;
-
-                        break;
-
-                    case (int)HeaderCtrlDef.Type2:
-                        // ----- •”��–³�E’S“–ŽÒ–³
-                        // •”��ƒRƒ“ƒ{ƒ{ƒbƒNƒX
-                        label4.Visible = false;
-                        cmbDepartment.Visible = false;
-
-                        // ’S“–ŽÒƒRƒ“ƒ{ƒ{ƒbƒNƒX
-                        label11.Location = label4.Location;
-                        cmbPerson.Location = cmbDepartment.Location;
-                        break;
-                }
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region ƒRƒ“ƒ{ƒ{ƒbƒNƒX�‰Šú•\Ž¦
-        /// <summary>
-        /// ƒRƒ“ƒ{ƒ{ƒbƒNƒX�‰Šú•\Ž¦
-        /// </summary>
-        private void InitCombBox(int DepCode, int PersonCode)
-        {
-            try
-            {
-                int AllPath = (int)CommonDefine.SecurityRangePos.AllPath;           // ‘S•”��
-                int Multiple = (int)CommonDefine.SecurityRangePos.Multiple;         // •¡�”•”��
-                int Only = (int)CommonDefine.SecurityRangePos.Only;                 // Ž©•”��‚Ì‚Ý
-                int None = (int)CommonDefine.SecurityRangePos.None;                 // Ž©’S“–ŽÒ‚Ì‚Ý
-
-                if (CommonMotions.LoginUserData.PersonCode == CommonDefine.AdminCode
-                    || CommonMotions.LoginUserSecurity.SecRange == CommonDefine.SecurityRangeList[AllPath].Key
-                    || CommonMotions.LoginUserSecurity.SecRange == (int)CommonDefine.SecurityRangeList[Multiple].Key)
-                {
-                }
-                else
-                {
-                    if (CommonMotions.LoginUserSecurity.SecRange == (int)CommonDefine.SecurityRangeList[Only].Key)
-                    {
-                        // •”��ƒRƒ“ƒ{”ñ•\Ž¦
-                        DispHeaderCtrl((int)HeaderCtrlDef.Type2);
-                    }
-                    else if (CommonMotions.LoginUserSecurity.SecRange == (int)CommonDefine.SecurityRangeList[None].Key)
-                    {
-                        // •”���E’S“–ŽÒƒRƒ“ƒ{•\Ž¦–³
-                        DispHeaderCtrl((int)HeaderCtrlDef.Type1);
-                    }
-                }
-
-                // ƒRƒ“ƒ{ƒ{ƒbƒNƒXƒZƒbƒg
-                SetcmbDepartment();
-                SetcmbPersons();
-
-                // ‘�–±‹Æ–±Žg—pŽÒ‚ªƒ�ƒOƒCƒ“‚µ‚Ä‚¢‚é�ê�‡‚ÍƒRƒ“ƒ{‚ð‹ó”’‚É‚·‚é
-                if (CommonMotions.LoginUserSecurity.GeneralAffairs == (int)SecurityMaster.GeneAffDef.GeneralDep) return;
-
-                // ƒ�ƒOƒCƒ“ŽÒƒZƒbƒg
-                if (PersonCode > 0)
-                {
-                    cmbDepartment.SelectedValue = DepCode;
-                    cmbPerson.SelectedValue = PersonCode;
-                }
-                else
-                {
-                    InitDepPersonCode();
-                }
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region Žw’è”NŒŽ‚æ‚è‘Î�ÛŠú�E‘Î�Û”N“x‚ð•Ô‚·
-        /// <summary>
-        /// Žw’è”NŒŽ‚æ‚è‘Î�ÛŠú�E‘Î�Û”N“x‚ð•Ô‚·
-        /// </summary>
-        /// <returns></returns>
-        private int GetTargetCount()
-        {
-            try
-            {
-                string strSelectVal = CommonMotions.cnvString(cmbTargetMonth.SelectedValue);
-                int nTargetDateVal = CommonMotions.cnvInt(strSelectVal.Replace("/", ""));
-                int nTargetCount = CommonMotions.ConvDate2YearOrPeriod(new DateTime(nTargetDateVal / 100, nTargetDateVal % 100, 1));
-
-                return nTargetCount;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                return 0;
-            }
-        }
-        #endregion
-
-        #region •”��ƒRƒ“ƒ{ƒ{ƒbƒNƒX‚ðƒZƒbƒg‚·‚é
-        /// <summary>
-        /// •”��ƒRƒ“ƒ{ƒ{ƒbƒNƒX‚Ö•¶Žš‚ðƒZƒbƒg‚·‚é
-        /// </summary>
-        private void SetcmbDepartment()
-        {
-            IOMDepartment depDB = new IOMDepartment();
-            bool bSave = m_initDataLoad;
-            m_initDataLoad = true;
-            try
-            {
-                int nBeforeCode = CommonMotions.cnvInt(cmbDepartment.SelectedValue);
-
-                int nTargetCount = GetTargetCount();
-                // •”��ƒ}ƒXƒ^‚ðŒŸ�õ‚·‚é
-                StringBuilder strSQL = new StringBuilder();
-                CommonMotions.CreateDepCombBoxSQL(ref strSQL, nTargetCount);
-
-                // •”��ƒ}ƒXƒ^“Ç�ž
-                ArrayList arList = new ArrayList();
-                if (!depDB.ExecuteReader(strSQL.ToString(), ref arList)) return;
-
-                List<KeyValuePair<int, string>> ConstructionDataList = new List<KeyValuePair<int, string>>();
-                ConstructionDataList.Add(new KeyValuePair<int, string>(0, ""));
-
-                foreach (object[] work in arList)
-                {
-                    KeyValuePair<int, string> keyval = new KeyValuePair<int, string>(CommonMotions.cnvInt(work[0])
-                                                                                    , CommonMotions.cnvString(work[1]));
-
-                    ConstructionDataList.Add(keyval);
-                }
-
-                cmbDepartment.SelectedIndexChanged -= new System.EventHandler(cmbDepartment_SelectedIndexChanged);
-
-                cmbDepartment.DataSource = null;
-                cmbDepartment.Items.Clear();
-                cmbDepartment.Text = "";
-
-                // ƒRƒ“ƒ{ƒ{ƒbƒNƒX�‰Šú•\Ž¦
-                ComboBoxAction.InitDataSetCombBox(cmbDepartment, ConstructionDataList);
-
-                cmbDepartment.SelectedValue = nBeforeCode;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-            finally
-            {
-                depDB.close(); depDB = null;
-                m_initDataLoad = bSave;
-                cmbDepartment.SelectedIndexChanged += new System.EventHandler(cmbDepartment_SelectedIndexChanged);
-            }
-        }
-        #endregion
-
-        #region �‰ŠúŽž‚Éƒ�ƒOƒCƒ“’S“–ŽÒ‚ðƒZƒbƒg‚·‚é
-        /// <summary>
-        /// �‰ŠúŽž‚Éƒ�ƒOƒCƒ“’S“–ŽÒ‚ðƒZƒbƒg‚·‚é
-        /// </summary>
-        private void InitDepPersonCode()
-        {
-            try
-            {
-                // ‘I‘ð•”��‚ª•¡�”‚ÌŽÒ‚ÍƒZƒbƒg‚µ‚È‚¢
-                if (cmbDepartment.Items.Count > 2) return;
-                cmbDepartment.SelectedValue = CommonMotions.LoginUserData.DepartmentCode;
-                SetcmbPersons();
-                cmbPerson.SelectedValue = CommonMotions.LoginUserData.PersonCode;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region ’S“–ŽÒƒRƒ“ƒ{ƒ{ƒbƒNƒX‚ðƒZƒbƒg‚·‚é
-        /// <summary>
-        /// ’S“–ŽÒƒRƒ“ƒ{ƒ{ƒbƒNƒX‚Ö•¶Žš‚ðƒZƒbƒg‚·‚é
-        /// </summary>
-        private void SetcmbPersons()
-        {
-            IOMPersonInCharge picDB = new IOMPersonInCharge();
-            bool bSave = m_initDataLoad;
-            m_initDataLoad = true;
-            try
-            {
-                int nBeforeCode = CommonMotions.cnvInt(cmbPerson.SelectedValue);
-                if (CommonMotions.cnvInt(cmbDepartment.SelectedValue) < 1) nBeforeCode = 0;
-
-                int nTargetCount = GetTargetCount();
-                int DepartmentCode = GetDepartmentCode();
-                StringBuilder strSQL = new StringBuilder();
-                CommonMotions.CreateManCombBoxSQL(ref strSQL, nTargetCount, DepartmentCode);
-
-                // ’S“–ŽÒƒ}ƒXƒ^“Ç�ž
-                ArrayList workList = new ArrayList();
-                if (!picDB.ExecuteReader(strSQL.ToString(), ref workList)) return;
-
-                List<KeyValuePair<int, string>> ConstructionDataList = new List<KeyValuePair<int, string>>();
-                ConstructionDataList.Add(new KeyValuePair<int, string>(0, ""));
-
-                PersonInChargeMaster workRec = new PersonInChargeMaster();
-                foreach (object[] work in workList)
-                {
-                    picDB.Reader2Struct(work, ref workRec);
-                    KeyValuePair<int, string> keyval = new KeyValuePair<int, string>(workRec.PersonCode, workRec.PersonName);
-
-                    ConstructionDataList.Add(keyval);
-                }
-
-                cmbPerson.SelectedIndexChanged -= new EventHandler(cmbPerson_SelectedIndexChanged);
-
-                cmbPerson.DataSource = null;
-                cmbPerson.Items.Clear();
-                cmbPerson.Text = "";
-
-                // ƒRƒ“ƒ{ƒ{ƒbƒNƒX�‰Šú•\Ž¦
-                ComboBoxAction.InitDataSetCombBox(cmbPerson, ConstructionDataList);
-
-                cmbPerson.SelectedValue = nBeforeCode;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-            finally
-            {
-                picDB.close(); picDB = null;
-                m_initDataLoad = bSave;
-                cmbPerson.SelectedIndexChanged += new EventHandler(cmbPerson_SelectedIndexChanged);
-            }
-        }
-        #endregion
-
-        #region •”��ƒRƒ“ƒ{‚æ‚è’S“–ŽÒƒR�[ƒh‚ðŽæ“¾‚·‚é
-        /// <summary>
-        /// •”��ƒRƒ“ƒ{‚æ‚è’S“–ŽÒƒR�[ƒh‚ðŽæ“¾‚·‚é
-        /// </summary>
-        /// <returns></returns>
-        private int GetDepartmentCode()
-        {
-            try
-            {
-                return CommonMotions.cnvInt(cmbDepartment.SelectedValue);
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}", ex.Message);
-                return 0;
-            }
-        }
-        #endregion
-
-        #region ’S“–ŽÒƒRƒ“ƒ{‚æ‚è’S“–ŽÒƒR�[ƒh‚ðŽæ“¾‚·‚é
-        /// <summary>
-        /// ’S“–ŽÒƒRƒ“ƒ{‚æ‚è’S“–ŽÒƒR�[ƒh‚ðŽæ“¾‚·‚é
-        /// </summary>
-        /// <returns></returns>
-        private int GetConstrPersonCode()
-        {
-            try
-            {
-                return CommonMotions.cnvInt(cmbPerson.SelectedValue);
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}", ex.Message);
-                return 0;
-            }
-        }
-        #endregion
-
-        #region ’S“–ŽÒƒRƒ“ƒ{ƒ{ƒbƒNƒXƒZƒbƒgŽž•”��‚ðƒZƒbƒg‚·‚é
-        /// <summary>
-        /// ’S“–ŽÒƒRƒ“ƒ{ƒ{ƒbƒNƒXƒZƒbƒgŽž•”��‚ðƒZƒbƒg‚·‚é
-        /// </summary>
-        /// <returns></returns>
-        private bool SetPerosonToDepartment()
-        {
-            IOMPersonInCharge PersonDB = new IOMPersonInCharge();
-            try
-            {
-                // ƒRƒ“ƒ{ƒ{ƒbƒNƒX‚æ‚è‘I‘ð’S“–ŽÒ‚ðŽæ“¾‚·‚é
-                int PersonCode = GetConstrPersonCode();
-                if (PersonCode < 1) return true;
-
-                int nTargetCount = GetTargetCount();
-                int DepartmentCode = GetDepartmentCode();
-                if (DepartmentCode > 0) return true;
-
-                StringBuilder strSQL = new StringBuilder();
-                CommonMotions.CreateMan2DepSQL(ref strSQL, nTargetCount, PersonCode);
-
-                ArrayList arList = new ArrayList();
-                if (!PersonDB.ExecuteReader(strSQL.ToString(), ref arList)) return false;
-                if (arList.Count < 1) return false;
-
-                object[] objRec = (object[])arList[0];
-                PersonInChargeMaster PersonRec = new PersonInChargeMaster();
-                PersonRec.PersonCode = CommonMotions.cnvInt(objRec[0]);         // ’S“–ŽÒƒR�[ƒh
-                PersonRec.PersonName = CommonMotions.cnvString(objRec[1]);      // ’S“–ŽÒ–¼
-                PersonRec.DepartmentCode = CommonMotions.cnvInt(objRec[2]);     // •”��ƒR�[ƒh
-
-                // “¯‚¶•”��‚Ì�ê�‡‚Í�ˆ—�‚µ‚È‚¢
-                //if (DepartmentCode == PersonRec.DepartmentCode) return true;
-
-                // •”��ƒRƒ“ƒ{ƒ{ƒbƒNƒX‚Ö•”��ƒR�[ƒhƒZƒbƒg
-                SetcmbDepartment();
-                cmbDepartment.SelectedIndexChanged -= new EventHandler(cmbDepartment_SelectedIndexChanged);
-                cmbDepartment.SelectedValue = PersonRec.DepartmentCode;
-
-                SetcmbPersons();    // ’S“–ŽÒƒRƒ“ƒ{ƒ{ƒbƒNƒX•Ï�X
-                cmbPerson.SelectedIndexChanged -= new EventHandler(cmbPerson_SelectedIndexChanged);
-                cmbPerson.SelectedValue = PersonCode;
-
-                return true;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                return false;
-            }
-            finally
-            {
-                PersonDB.close(); PersonDB = null;
-
-                cmbDepartment.SelectedIndexChanged += new EventHandler(cmbDepartment_SelectedIndexChanged);
-                cmbPerson.SelectedIndexChanged += new EventHandler(cmbPerson_SelectedIndexChanged);
-            }
-        }
-        #endregion
-
-        #region �‰Šú’l
-        /// <summary>
-        /// �‰Šú’l
-        /// </summary>
-        private void InitDataLoad()
-        {
-            IOBankBusinessDayMaster IoBbdm = new IOBankBusinessDayMaster();
-            List<BankBusinessDayMaster> LstBbdm = new List<BankBusinessDayMaster>();
-            try
-            {
-                // ŽèŠÔŽx•¥Šm”F‚©‹ÆŽÒŽx•¥Šm”F‚©‚ð•\Ž¦
-                if (m_Labourkind == (int)CommonDefine.LabourKinds.Labor)
-                {
-                    CombinedOrderLabel1.Visible = true;
-                    CombinedOrderLabel2.Visible = false;
-                }
-                else
-                {
-                    CombinedOrderLabel1.Visible = false;
-                    CombinedOrderLabel2.Visible = true;
-                }
-                // ƒOƒŠƒbƒhƒRƒ“ƒ{ƒf�[ƒ^
-                DataGridViewComboBoxColumn column;
-                column = (DataGridViewComboBoxColumn)dgvCompany.Columns[(int)DispColumn.KyoryokuUmu];
-                column.Items.Clear();
-                column.Items.Add(new KeyValuePair<int, string>(-1, ""));
-                column.Items.Add(new KeyValuePair<int, string>(0, "�~"));
-                column.Items.Add(new KeyValuePair<int, string>(1, "�›"));
-                column.ValueMember = "Key";
-                column.DisplayMember = "Value";
-
-                DataGridViewComboBoxColumn column2;
-                column2 = (DataGridViewComboBoxColumn)dgvProject.Columns[(int)DispColumn.KyoryokuUmu];
-                column2.Items.Clear();
-                column2.Items.Add(new KeyValuePair<int, string>(-1, ""));
-                column2.Items.Add(new KeyValuePair<int, string>(0, "�~"));
-                column2.Items.Add(new KeyValuePair<int, string>(1, "�›"));
-                column2.ValueMember = "Key";
-                column2.DisplayMember = "Value";
-
-                if (cmbTargetMonth.SelectedValue == null || cmbTargetMonth.SelectedValue.ToString().Length != 6) return;
-
-                // Žx•¥“ú�Ý’è
-                DateTime deadLine = new DateTime(), payDate = new DateTime(), currentYearMonth = new DateTime();
-                GetDeadLineAndPayday(ref currentYearMonth, ref deadLine, ref payDate);
-
-                int payDay = payDate.Day;
-                string sqlWhere = IoBbdm.CreatePrimarykeyString(CommonMotions.cnvInt(payDate.ToString("yyyyMM")), payDay);
-
-                for (int i = 0; i < 30; i++)    // 30“ú‚µ‚©‚³‚©‚Ì‚Ú‚ç‚È‚¢
-                {
-                    IoBbdm.SelectAction(sqlWhere, ref LstBbdm);
-                    if (LstBbdm.Count == 1)
-                    {
-                        break;
-                    }
-                    payDay--;
-                    sqlWhere = IoBbdm.CreatePrimarykeyString(CommonMotions.cnvInt(payDate.ToString("yyyyMM")), payDay);
-                }
-
-                lblPaymentDate.Text = payDate.ToString("yyyy/MM/") + payDay.ToString("00");
-
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-            finally
-            {
-                IoBbdm.close(); IoBbdm = null;
-            }
-        }
-        #endregion
-
-        #region �‰Šú•\Ž¦‚ÌƒXƒ^ƒCƒ‹‚ð•Ï�X
-        /// <summary>
-        /// �‰Šú•\Ž¦‚ÌƒXƒ^ƒCƒ‹‚ð•Ï�X
-        /// </summary>
-        /// <param name="dgv"></param>
-        private void InitDisplayStyle(DataGridViewEX dgv)
-        {
-            try
-            {
-                dgv.Columns[(int)DispColumn.SomuSeikyu].HeaderCell.Style.BackColor = System.Drawing.Color.Coral;
-                dgv.Columns[(int)DispColumn.SomuKosoku].HeaderCell.Style.BackColor = System.Drawing.Color.Coral;
-                dgv.Columns[(int)DispColumn.SomuKanamono].HeaderCell.Style.BackColor = System.Drawing.Color.Coral;
-                dgv.Columns[(int)DispColumn.SomuSannhaiZei].HeaderCell.Style.BackColor = System.Drawing.Color.Coral;
-
-                dgv.Columns[(int)DispColumn.KojiSeikyu].HeaderCell.Style.BackColor = System.Drawing.Color.SkyBlue;
-                dgv.Columns[(int)DispColumn.KojiNebiki].HeaderCell.Style.BackColor = System.Drawing.Color.SkyBlue;
-                dgv.Columns[(int)DispColumn.KojiSousai].HeaderCell.Style.BackColor = System.Drawing.Color.SkyBlue;
-                dgv.Columns[(int)DispColumn.KojiKosoku].HeaderCell.Style.BackColor = System.Drawing.Color.SkyBlue;
-                dgv.Columns[(int)DispColumn.KojiKanamono].HeaderCell.Style.BackColor = System.Drawing.Color.SkyBlue;
-                dgv.Columns[(int)DispColumn.KojiSannhaiZei].HeaderCell.Style.BackColor = System.Drawing.Color.SkyBlue;
-                dgv.Columns[(int)DispColumn.KyoryokuUmu].HeaderCell.Style.BackColor = System.Drawing.Color.SkyBlue;
-
-
-                dgv.Columns[(int)DispColumn.JikaiKurikosi].ReadOnly = true;
-                dgv.Columns[(int)DispColumn.KyoryokuKin].ReadOnly = true;
-                dgv.Columns[(int)DispColumn.CyuumonshoTeisyutu].ReadOnly = true;
-                dgv.Columns[(int)DispColumn.CyuumonshoTouchaku].ReadOnly = true;
-                dgv.Columns[(int)DispColumn.YosanSho].ReadOnly = true;
-                dgv.Columns[(int)DispColumn.TantoShonin].ReadOnly = true;
-                dgv.Columns[(int)DispColumn.Shonin1].ReadOnly = true;
-                dgv.Columns[(int)DispColumn.Shonin2].ReadOnly = true;
-                dgv.Columns[(int)DispColumn.Shonin3].ReadOnly = true;
-                dgv.Columns[(int)DispColumn.Shonin4].ReadOnly = true;
-                dgv.Columns[(int)DispColumn.Shonin5].ReadOnly = true;
-                dgv.Columns[(int)DispColumn.Shonin6].ReadOnly = true;
-                dgv.Columns[(int)DispColumn.Shonin7].ReadOnly = true;
-                dgv.Columns[(int)DispColumn.Shonin8].ReadOnly = true;
-                dgv.Columns[(int)DispColumn.Shonin9].ReadOnly = true;
-                dgv.Columns[(int)DispColumn.Shonin10].ReadOnly = true;
-
-                // ‘€�ì‰Â•s‰Â�Ø‚è‘Ö‚¦
-                DataGridView_ReadOnlyChange(dgv);
-
-                // �¿‹��‘‹àŠz‚Ü‚Å‚ÍŒÅ’è
-                dgv.Columns[(int)DispColumn.SomuSeikyu].Frozen = true;
-
-                // ƒwƒbƒ_ƒ\�[ƒg•s‰Â
-                foreach (int Column in Enum.GetValues(typeof(DispColumn)))
-                {
-                    dgv.Columns[Column].SortMode = DataGridViewColumnSortMode.NotSortable;
-                }
-
-
-                // •â�•’l—ñ•s‰ÂŽ‹�@�¦ƒ�ƒ“ƒe‚µ‚â‚·‚­‚·‚éˆ×�Aƒvƒ�ƒOƒ‰ƒ€‚Å•s‰ÂŽ‹
-                dgv.Columns[(int)DispColumn.KyoryokuKinRitu].Visible = false;
-                for (int Column = 0; Column < (int)DispColumn.No; Column++)
-                {
-                    dgv.Columns[Column].Visible = false;
-                }
-
-                int[] VisCol = new int[]{
-                    dgv.Equals(dgvCompany) ? (int)DispColumn_Company.SubConstractorCode : (int)DispColumn_Project.SubConstractorCode,
-                    dgv.Equals(dgvCompany) ? (int)DispColumn_Company.CompanyCode : (int)DispColumn_Project.CompanyCode,
-                    dgv.Equals(dgvCompany) ? (int)DispColumn_Company.GengaCode : (int)DispColumn_Project.GengaCode};
-
-                for (int i = 0; i < VisCol.Length; i++)
-                {
-                    dgv.Columns[VisCol[i]].Visible = false;
-                }
-
-                for (int Column = (int)DispColumn.TantoShoninCode; Column <= (int)DispColumn.InstrDepCode; Column++)
-                {
-                    if (Column != (int)DispColumn.TantoShonin
-                        && Column != (int)DispColumn.Shonin1
-                        && Column != (int)DispColumn.Shonin2
-                        && Column != (int)DispColumn.Shonin3
-                        && Column != (int)DispColumn.Shonin4
-                        && Column != (int)DispColumn.Shonin5
-                        && Column != (int)DispColumn.Shonin6
-                        && Column != (int)DispColumn.Shonin7
-                        && Column != (int)DispColumn.Shonin8
-                        && Column != (int)DispColumn.Shonin9
-                        && Column != (int)DispColumn.Shonin10
-                        && Column != (int)DispColumn.Bikou)
-                        dgv.Columns[Column].Visible = false;
-                }
-                int TargetCol = (int)DispColumn_Project.GengaName;
-                if (dgv == dgvCompany)
-                {
-                    dgv.Columns[TargetCol].HeaderCell.Style.Font =
-                        new Font("‚l‚r –¾’©", 6F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-                    dgv.Columns[TargetCol].Width = 60;
-                    dgv.Columns[TargetCol].DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter;
-                }
-                else
-                {
-                    dgv.Columns[TargetCol].HeaderCell.Style.Font =
-                        new Font("‚l‚r –¾’©", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-                    dgv.Columns[TargetCol].Width = 180;
-                    dgv.Columns[TargetCol].DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleLeft;
-                }
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region ‘Î�ÛŒŽ“x�A’÷“ú�AŽx•¥“ú‚ðŽæ“¾‚·‚é
-        /// <summary>
-        /// ‘Î�ÛŒŽ“x�A’÷“ú�AŽx•¥“ú‚ðŽæ“¾‚·‚é
-        /// </summary>
-        /// <param name="currentYearMonth"></param>
-        /// <param name="deadLine"></param>
-        /// <param name="payDate"></param>
-        /// <returns></returns>
-        private bool GetDeadLineAndPayday(ref DateTime currentYearMonth, ref DateTime deadLine, ref DateTime payDate)
-        {
-            IODeadLineMaster IoDLM = new IODeadLineMaster();
-            try
-            {
-                List<DeadLineMaster> lstDlm = new List<DeadLineMaster>();
-                int days, daysThisMonth, daysNextMonth;
-                string targetMonth;
-                DateTime now = Common.DateTimeUtil.StripTime(DateTime.Now), rangeStDate, rangeEdDate;
-
-                //’÷“úƒ}ƒXƒ^Žæ“¾
-                if (!IoDLM.SelectAction(string.Format(" where LabourKind = {0}", m_Labourkind), ref lstDlm))
-                {
-                    throw new Exception("’÷“úŽæ“¾ƒGƒ‰�[�B");
-                }
-                if (lstDlm.Count == 0)
-                {
-                    throw new Exception("’÷“úƒ}ƒXƒ^‚Éƒf�[ƒ^‚ª‘¶�Ý‚µ‚Ü‚¹‚ñ�B");
-                }
-
-                //‘I‘ð‘Î�ÛŒŽ‚ª‚ ‚é�ê�‡
-                if (cmbTargetMonth.SelectedValue != null)
-                {
-                    targetMonth = cmbTargetMonth.SelectedValue.ToString();
-                }
-                else
-                {
-                    //‘I‘ð‚ª–³‚¢�ê�‡‚Í“–ŒŽ‚ðŠî�€‚Æ‚·‚é
-                    if (now <= new DateTime(now.Year, now.Month, lstDlm[0].DeadLine))
-                    {
-                        targetMonth = now.AddMonths(-1).ToString("yyyyMM");
-                    }
-                    else
-                    {
-                        targetMonth = now.ToString("yyyyMM");
-                    }
-                }
-
-                //’÷‚ß”ÍˆÍ‚ÌŒvŽZ
-                rangeStDate = new DateTime(CommonMotions.cnvInt(targetMonth.Substring(0, 4)), CommonMotions.cnvInt(targetMonth.Substring(4, 2)), 1);
-                rangeEdDate = rangeStDate.AddMonths(1);
-                daysThisMonth = DateTime.DaysInMonth(CommonMotions.cnvInt(targetMonth.Substring(0, 4)), CommonMotions.cnvInt(targetMonth.Substring(4, 2)));
-                daysNextMonth = DateTime.DaysInMonth(rangeEdDate.Year, rangeEdDate.Month);
-                ////”ÍˆÍŽn
-                if (daysThisMonth < lstDlm[0].DeadLine)
-                {
-                    rangeStDate = rangeStDate.AddDays(daysThisMonth - 1);
-                }
-                else
-                {
-                    rangeStDate = rangeStDate.AddDays(lstDlm[0].DeadLine);
-                }
-                //”ÍˆÍ�I
-                if (daysNextMonth < lstDlm[0].DeadLine)
-                {
-                    rangeEdDate = new DateTime(rangeEdDate.Year, rangeEdDate.Month, daysNextMonth);
-                }
-                else
-                {
-                    rangeEdDate = new DateTime(rangeEdDate.Year, rangeEdDate.Month, lstDlm[0].DeadLine);
-                }
-                now = rangeEdDate;
-
-                // ’÷“úŒˆ’è
-                daysThisMonth = DateTime.DaysInMonth(now.Year, now.Month);
-                if (lstDlm[0].DeadLine < daysThisMonth)
-                {
-                    deadLine = new DateTime(now.Year, now.Month, lstDlm[0].DeadLine);
-                }
-                else
-                {
-                    deadLine = new DateTime(now.Year, now.Month, daysThisMonth);
-                }
-
-                //‘Î�ÛŒŽ“x�Ý’è
-                if(now <= deadLine)
-                {
-                    currentYearMonth = deadLine.AddMonths(-1);
-                }
-                else
-                {
-                    currentYearMonth = deadLine;
-                }
-
-                //Žx•¥“ú
-                days = DateTime.DaysInMonth(deadLine.Year, deadLine.Month);
-                if (days < lstDlm[0].PayDay)
-                {
-                    payDate = new DateTime(deadLine.Year, deadLine.Month, days);
-                }
-                else
-                {
-                    payDate = new DateTime(deadLine.Year, deadLine.Month, lstDlm[0].PayDay);
-                }
-      
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                return false;
-            }
-            finally
-            {
-                IoDLM.close();
-                IoDLM = null;
-            }
-
-            return true;
-        }
-        #endregion
-
-        #region ‘Î�ÛŒŽ�Ý’è
-        /// <summary>
-        /// ‘Î�ÛŒŽ�Ý’è
-        /// </summary>
-        /// <returns></returns>
-        private bool LoadTargetMonth(ref int PayDay)
-        {
-            IOBillingData IoBD = new IOBillingData();
-            try
-            {
-                ArrayList arData = new ArrayList();
-                DateTime deadLine = new DateTime(), payDate = new DateTime(), currentYearMonth = new DateTime();
-
-                //“ú•tŒQ‚ÌŽæ“¾
-                GetDeadLineAndPayday(ref currentYearMonth, ref deadLine, ref payDate);
-                string selectValue = currentYearMonth.ToString("yyyyMM");
-
-                // ’Š�o
-                StringBuilder sql = new StringBuilder();
-                sql.Append("select Bd.TargetDate from BillingData as Bd ");
-                sql.Append("left join SubContractorMaster as Scm on Bd.CompanyCode = Scm.CompanyCode ");
-                sql.AppendFormat("and Scm.Labourkind = {0} ", m_Labourkind);
-                sql.Append("group by Bd.TargetDate order by Bd.TargetDate desc");
-
-                if (!IoBD.ExecuteReader(sql.ToString(), ref arData)) return false;
-
-                //“–ŒŽ‘Î�ÛŒŽ“x�Ý’è
-                List<KeyValuePair<string, string>> DataList = new List<KeyValuePair<string, string>>();
-�@              string wrk = currentYearMonth.ToString("yyyyMM");
-                DataList.Add(new KeyValuePair<string, string>(wrk, string.Format("{0}/{1}", wrk.Substring(0, 4), wrk.Substring(4, 2))));
-
-                //‰ß‹Ž‘Î�ÛŒŽ“x�Ý’è
-                foreach (object[] work in arData)
-                {
-                    wrk = CommonMotions.cnvString(work[0]);
-                    if (CommonMotions.cnvInt(wrk) < CommonMotions.cnvInt(selectValue))
-                    {
-                        DataList.Add(new KeyValuePair<string, string>(wrk, string.Format("{0}/{1}", wrk.Substring(0, 4), wrk.Substring(4, 2))));
-                    }
-                    KeyValuePair<string, string> keyval = new KeyValuePair<string, string>(wrk, string.Format("{0}/{1}", wrk.Substring(0, 4), wrk.Substring(4, 2)));
-                }
-
-                // ƒRƒ“ƒ{ƒ{ƒbƒNƒX�‰Šú•\Ž¦
-                //cmbTargetMonth.SelectedIndexChanged -= cmbTargetMonth_SelectedIndexChanged; //(•\Ž¦ƒ{ƒ^ƒ“‚É‚æ‚é�Ä•\Ž¦‚Ì‚½‚ß�AƒCƒxƒ“ƒg‚Å�Ä•`‰æ‚µ‚È‚¢)
-                cmbTargetMonth.DataSource = null;
-                ComboBoxAction.InitDataSetCombBox(cmbTargetMonth, DataList, false);
-                //cmbTargetMonth.SelectedIndexChanged += cmbTargetMonth_SelectedIndexChanged;
-
-                // �‰Šú’l�Ý’è
-                cmbTargetMonth.SelectedValue = selectValue;
-
-                return true;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                return false;
-            }
-            finally
-            {
-                IoBD.close();
-                IoBD = null;
-            }
-
-        }
-        #endregion ‘Î�ÛŒŽ�Ý’è
-
-        #region ˆê——•\Ž¦‘Î�Ûƒtƒ‰ƒO‚É‘Î‰ž‚µ‚½ˆê——‚ð•\Ž¦‚·‚é
-        /// <summary>
-        /// ˆê——•\Ž¦‘Î�Ûƒtƒ‰ƒO‚É‘Î‰ž‚µ‚½ˆê——‚ð•\Ž¦‚·‚é
-        /// </summary>
-        private void showView()
-        {
-            try
-            {
-                if (rdbCompany.Checked)
-                {
-                    // �¿‹�‚Ü‚Æ‚ßˆê——�i‹ÆŽÒ�j‚ð•\Ž¦
-                    dgvCompany.Visible = true;
-                    dgvProject.Visible = false;
-                }
-                else
-                {
-                    // �¿‹�‚Ü‚Æ‚ßˆê——�iŒ»�ê�j‚ð•\Ž¦
-                    dgvCompany.Visible = false;
-                    dgvProject.Visible = true;
-                }
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region ƒ{ƒ^ƒ“�§Œä‚ð�s‚¤�iƒf�[ƒ^Œ��”‚É‚æ‚è•Ï‰»�j
-        /// <summary>
-        /// ƒ{ƒ^ƒ“�§Œä‚ð�s‚¤�iƒf�[ƒ^Œ��”‚É‚æ‚è•Ï‰»�j
-        /// </summary>
-        private void controlButton_DataCount()
-        {
-            try
-            {
-                DataGridViewEX dgv = getShowingView();
-
-                DataGridViewRow[] Rows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×
-                                                                                    && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowVisible].Value) == (int)RowVisibleDef.Visible)
-                                                                        .ToArray();
-                if (Rows.Count() == 0)
-                {
-                    btnAddProject.Visible = false;
-                    btnDeleteProject.Visible = false;
-                }
-                else
-                {
-                    btnAddProject.Visible = true;
-                    btnDeleteProject.Visible = true;
-                }
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region ƒ{ƒ^ƒ“�§Œä‚ð�s‚¤
-        /// <summary>
-        /// ƒ{ƒ^ƒ“�§Œä‚ð�s‚¤
-        /// </summary>
-        private void controlButton()
-        {
-            try
-            {
-                // ƒ†�[ƒU–ˆ‚Ìƒ{ƒ^ƒ“�§Œä
-                // ‘�–±’S“–
-                if (m_UserInfo.m_GeneralAffairsFlg == (int)SecurityMaster.GeneAffDef.GeneralDep)
-                {
-                    btnAddCompany.Visible = true;
-                    btnDeleteCompany.Visible = true;
-                    btnAddProject.Visible = true;
-                    btnDeleteProject.Visible = true;
-                }
-                // ’S“–ŽÒ‚Ì�ê�‡
-                else if (m_UserInfo.m_Type == CommonDefine.SecurityRankPos.NormalAuthority)
-                {
-                    btnAddCompany.Visible = false;
-                    btnDeleteCompany.Visible = false;
-                    btnAddProject.Visible = true;
-                    btnDeleteProject.Visible = true;
-                }
-                // �Š‘®’·�A“�Š‡ŽÒ‚Ì�ê�‡
-                else if (m_UserInfo.m_Type == CommonDefine.SecurityRankPos.LimitedAuthority
-                        || m_UserInfo.m_Type == CommonDefine.SecurityRankPos.FreeAuthority)
-                {
-                    btnAddCompany.Visible = false;
-                    btnDeleteCompany.Visible = false;
-                    btnAddProject.Visible = true;
-                    btnDeleteProject.Visible = true;
-
-                }
-                // “Á•ÊŒ ŒÀ‚Ì�ê�‡
-                else if (m_UserInfo.m_Type == CommonDefine.SecurityRankPos.SpecialAuthority)
-                {
-                    btnAddCompany.Visible = true;
-                    btnDeleteCompany.Visible = true;
-                    btnAddProject.Visible = true;
-                    btnDeleteProject.Visible = true;
-                }
-
-                // ŽèŠÔ�E’Ê�í‹ÆŽÒŽx•¥‚¢Šm”Fƒ{ƒ^ƒ“•\Ž¦
-                int nProcNo = (int)ClsExcute.ProcessExecuteNo.ReqSumTotalList;
-                int nEditFlg = (int)CommonDefine.ProcessDataEdit.Reference;
-                if (ClsSecurityPermission.GetExecutePermission(nProcNo, ref nEditFlg))
-                {
-                    btnTotalDsp.Visible = true;
-                }
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region ƒf�[ƒ^ƒOƒŠƒbƒhƒrƒ…�[‚Ì‘€�ì‰Â•s‰Â�Ø‚è‘Ö‚¦
-        /// <summary>
-        /// ƒf�[ƒ^ƒOƒŠƒbƒhƒrƒ…�[‚Ì‘€�ì‰Â•s‰Â�Ø‚è‘Ö‚¦
-        /// </summary>
-        /// <param name="dgv"></param>
-        private void DataGridView_ReadOnlyChange(DataGridViewEX dgv)
-        {
-            try
-            {
-                // ƒVƒXƒeƒ€ŠÇ—�“Á•ÊŒ ŒÀ‚Íƒ�ƒbƒN–³
-                if (m_UserInfo.m_Type == CommonDefine.SecurityRankPos.SpecialAuthority) return;
-
-                // ‘�–±’S“–
-                if (m_UserInfo.m_GeneralAffairsFlg == (int)SecurityMaster.GeneAffDef.GeneralDep)
-                {
-                    // ‘�–±‚Í�¿‹�‚àŽx•¥‚à“ü—Í‰Â”\
-                }
-                else
-                {
-                    // ˆê”Ê’S“–ŽÒ‚Ì�ê�‡
-                    if (m_UserInfo.m_Type == CommonDefine.SecurityRankPos.NormalAuthority)
-                    {
-                        dgv.Columns[(int)DispColumn.SomuSeikyu].ReadOnly = true;
-                        dgv.Columns[(int)DispColumn.SomuKosoku].ReadOnly = true;
-                        dgv.Columns[(int)DispColumn.SomuKanamono].ReadOnly = true;
-                        dgv.Columns[(int)DispColumn.SomuSannhaiZei].ReadOnly = true;
-                    }
-                    // �Š‘®’·�A“�Š‡ŽÒ‚Ì�ê�‡
-                    else if (m_UserInfo.m_Type == CommonDefine.SecurityRankPos.LimitedAuthority || m_UserInfo.m_Type == CommonDefine.SecurityRankPos.FreeAuthority)
-                    {
-                        dgv.Columns[(int)DispColumn.SomuSeikyu].ReadOnly = true;
-                        dgv.Columns[(int)DispColumn.SomuKosoku].ReadOnly = true;
-                        dgv.Columns[(int)DispColumn.SomuKanamono].ReadOnly = true;
-                        dgv.Columns[(int)DispColumn.SomuSannhaiZei].ReadOnly = true;
-                    }
-                    else
-                    {
-                        dgv.Columns[(int)DispColumn.KojiSeikyu].ReadOnly = true;
-                        dgv.Columns[(int)DispColumn.KojiNebiki].ReadOnly = true;
-                        dgv.Columns[(int)DispColumn.KojiSousai].ReadOnly = true;
-                        dgv.Columns[(int)DispColumn.KojiKosoku].ReadOnly = true;
-                        dgv.Columns[(int)DispColumn.KojiKanamono].ReadOnly = true;
-                        dgv.Columns[(int)DispColumn.KojiSannhaiZei].ReadOnly = true;
-                        dgv.Columns[(int)DispColumn.KyoryokuUmu].ReadOnly = true;
-                        dgv.Columns[(int)DispColumn.SomuSeikyu].ReadOnly = true;
-                        dgv.Columns[(int)DispColumn.SomuKosoku].ReadOnly = true;
-                        dgv.Columns[(int)DispColumn.SomuKanamono].ReadOnly = true;
-                        dgv.Columns[(int)DispColumn.SomuSannhaiZei].ReadOnly = true;
-                        dgv.Columns[(int)DispColumn.Bikou].ReadOnly = true;
-                    }
-                }
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region ‹ÆŽÒ�EŒ»�êŠeƒR�[ƒh‚Æ–¼�Ì‚Ì�s”Ô�†Žæ“¾
-        /// <summary>
-        ///  ‹ÆŽÒ�EŒ»�êŠeƒR�[ƒh‚Æ–¼�Ì‚Ì�s”Ô�†Žæ“¾
-        /// </summary>
-        private void SetColumnID()
-        {
-            try
-            {
-                m_Company_Column = rdbCompany.Checked ? (int)DispColumn_Company.SubConstractorCode : (int)DispColumn_Project.SubConstractorCode;
-                m_Company_DispColumn = rdbCompany.Checked ? (int)DispColumn_Company.CompanyCode : (int)DispColumn_Project.CompanyCode;
-                m_CompanyNM_Column = rdbCompany.Checked ? (int)DispColumn_Company.SubConstractorName : (int)DispColumn_Project.SubConstractorName;
-
-                m_Genba_Column = rdbCompany.Checked ? (int)DispColumn_Company.GengaCode : (int)DispColumn_Project.GengaCode;
-                m_GenbaNM_Column = rdbCompany.Checked ? (int)DispColumn_Company.GengaName : (int)DispColumn_Project.GengaName;
-
-                m_GoukeiCode_Column = rdbCompany.Checked ? (int)DispColumn_Company.SubConstractorCode : (int)DispColumn_Project.GengaCode;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region Œ»�Ý•\Ž¦‚³‚ê‚Ä‚¢‚éƒOƒŠƒbƒh‚ð•Ô‚·
-        /// <summary>
-        /// Œ»�Ý•\Ž¦‚³‚ê‚Ä‚¢‚éƒOƒŠƒbƒh‚ð•Ô‚·
-        /// </summary>
-        private DataGridViewEX getShowingView()
-        {
-            try
-            {
-                // �¿‹�‚Ü‚Æ‚ßˆê——�i‹ÆŽÒ�j‚ð•\Ž¦‚µ‚Ä‚¢‚é�ê�‡
-                if (rdbCompany.Checked)
-                {
-                    return dgvCompany;
-                }
-                else
-                {
-                    return dgvProject;
-                }
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                return null;
-            }
-        }
-        #endregion
-
-        #region ‘I‘ðƒZƒ‹ŒvŽZ�ˆ—�
-        /// <summary>
-        /// ‘I‘ðƒZƒ‹ŒvŽZ�ˆ—�
-        /// </summary>
-        private void GridCalcProc()
-        {
-            try
-            {
-                DataGridViewEX dgv = getShowingView();
-                Label lblwrk = null;
-                lblwrk = lblCellTotal;
-                lblwrk.Text = string.Empty;
-
-                double dTotal = 0;
-                int DataCnt = 0;
-                int NumericCnt = 0;
-                foreach (DataGridViewCell c in dgv.SelectedCells)
-                {
-                    if (CommonMotions.chkObjectIsNull(dgv.Rows[c.RowIndex].Cells[c.ColumnIndex])) continue;
-                    if (CommonMotions.chkCellBlank(dgv.Rows[c.RowIndex].Cells[c.ColumnIndex].Value)) continue;
-
-                    //Console.WriteLine("{0}, {1}", c.ColumnIndex, c.RowIndex);
-                    DataCnt++;
-                    dTotal += CommonMotions.cnvDouble(dgv.Rows[c.RowIndex].Cells[c.ColumnIndex].Value);
-                    if (CommonMotions.chkNumeric(dgv.Rows[c.RowIndex].Cells[c.ColumnIndex].Value)) NumericCnt++;
-                }
-                //if (DataCnt <= 1 || dTotal == 0 || NumericCnt == 0) return;
-                if (DataCnt <= 1 || NumericCnt == 0) return;
-                string strTotal = CommonMotions.cnvTruncate(dTotal).ToString("#,0");
-                if (dTotal - System.Math.Floor(dTotal) != 0) strTotal = dTotal.ToString("#,0.00");
-
-                string strwrkData = string.Format(CommonDefine.s_CalculateCellFormat,
-                                                    CommonMotions.cnvTruncate(dTotal / (double)NumericCnt).ToString("#,0"),
-                                                    DataCnt.ToString("#,0"),
-                                                    strTotal);
-                lblwrk.Text = strwrkData;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region ‹¦—Í‰ïŽÐ‘I‘ðƒ_ƒCƒAƒ�ƒO•\Ž¦
-        /// <summary>
-        /// ‹¦—Í‰ïŽÐ‘I‘ðƒ_ƒCƒAƒ�ƒO•\Ž¦
-        /// </summary>
-        private void ShowSubConstructorDiag()
-        {
-            FrmSubContractorDiag frm = new FrmSubContractorDiag();
-            IOConstructionBaseInfo IoCbi = new IOConstructionBaseInfo();
-            try
-            {
-                DataGridViewEX dgv = getShowingView();
-                DataGridViewRow CurRow = dgv.CurrentRow;
-
-                // �³”F�Ï‚Ý‚Í�ˆ—�‚µ‚È‚¢
-                int nApprovalEndFlg = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.ApprovalEndFlg].Value);
-                if (nApprovalEndFlg == (int)PaymentDataDetail.ApprovalEndFlgDef.Approval) return;
-
-                // �s‚Ìƒf�[ƒ^‚ðŽæ“¾‚·‚é
-                int nCompanyCode = CommonMotions.cnvInt(CurRow.Cells[m_Company_Column].Value);
-                int nConstrCode = CommonMotions.cnvInt(CurRow.Cells[m_Genba_Column].Value);
-
-                // ----- ƒ_ƒCƒAƒ�ƒO•\Ž¦ƒpƒ‰ƒ�ƒ^ƒZƒbƒg
-                // ‹N“®Œ³ƒZƒbƒg
-                frm.StartupSource = (int)ClsExcute.ProcessExecuteNo.RequestSummaryList;
-                // �HŽ–”Ô�†ƒZƒbƒg
-                frm.ConstructionCode = CommonMotions.cnvInt(CurRow.Cells[m_Genba_Column].Value);
-                // Žx•¥‹æ•ªƒZƒbƒg
-                frm.SelectLabourKind = m_Labourkind;
-                // •s–¾ƒ{ƒ^ƒ“•\Ž¦
-                frm.DispAddUnknown = true;
-                // •s–¾‚Ì‘Î�ˆ‚Å‹ÆŽÒƒR�[ƒh‚ðƒZƒbƒg‚·‚é
-                frm.SelectData.CompanyCode = nCompanyCode;
-
-                // ‹¦—Í‰ïŽÐ‘I‘ð•\Ž¦
-                frm.ShowDialog();
-
-                // ƒLƒƒƒ“ƒZƒ‹Žž‚ÍˆÈ‰º‚Ì�ˆ—�‚ð�s‚í‚È‚¢
-                if (DialogResult.Cancel.Equals(frm.EndButton)) return;
-
-                // ‘I‘ðƒf�[ƒ^‚ðŽæ“¾‚·‚é
-                SubContractorMaster selRec = null;
-                if (DialogResult.Yes.Equals(frm.EndButton))
-                {
-                    // •s–¾Žž‚ÍƒNƒŠƒA
-                    selRec = new SubContractorMaster();
-                }
-                else
-                {
-                    // ‘I‘ð’lƒZƒbƒg
-                    selRec = frm.SelectData;
-                }
-
-                int nNewMakeRowIndex = -1;
-                if (rdbCompany.Checked)
-                {
-                    // ----- ‹ÆŽÒ
-                    GridCompanyInCompany(selRec, ref nNewMakeRowIndex);
-                }
-                else
-                {
-                    // ----- Œ»�ê
-                    GridProjectInCompany(selRec, ref nNewMakeRowIndex);
-                }
-
-                // �sƒf�[ƒ^‚ÌƒZƒbƒg‚ª�³�í�I—¹‚µ‚Ä‚¢‚È‚¢�ê�‡‚Í�ˆ—�‚µ‚È‚¢
-                if (nNewMakeRowIndex < 0) return;
-
-                // ’�•¶�‘—X‘—�E’�•¶�‘•Ô‘—�E—\ŽZ�‘‚Ì’lŽæ“¾
-                SetMaruBatsuKigou(dgv, IoCbi, nConstrCode, nNewMakeRowIndex);
-
-                ResetNo();
-                m_bChengeAns = true;
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-            finally
-            {
-                frm.Dispose(); frm = null;
-                IoCbi.close(); IoCbi = null;
-            }
-        }
-        #endregion
-
-        #region ‹ÆŽÒƒOƒŠƒbƒh‹ÆŽÒ’Ç‰Á�ˆ—�
-        /// <summary>
-        /// ‹ÆŽÒƒOƒŠƒbƒh‹ÆŽÒ’Ç‰Á�ˆ—�
-        /// </summary>
-        /// <param name="selRec"></param>
-        private void GridCompanyInCompany(SubContractorMaster selRec, ref int nNewMakeRowIndex)
-        {
-            FrmConstructionLedger frm2 = new FrmConstructionLedger();
-            try
-            {
-                DataGridViewEX dgv = getShowingView();
-                DataGridViewRow CurRow = dgv.CurrentRow;
-                int MakeIndex = -1;
-
-                // ƒOƒŠƒbƒh‚Ì‹ÆŽÒƒR�[ƒhŽæ“¾
-                int nCompanyCode = CommonMotions.cnvInt(CurRow.Cells[m_Company_Column].Value);
-                int nConstrCode = CommonMotions.cnvInt(CurRow.Cells[m_Genba_Column].Value);
-                string strRowCompName = CommonMotions.cnvString(CurRow.Cells[m_CompanyNM_Column].Value);
-                
-                // ‹ÆŽÒ•s–¾�s‚Å‹ÆŽÒ‘I‘ðŽž
-                bool bUnKwonRow = false;
-                if (nCompanyCode == 0 && strRowCompName.Equals(s_UnknownString) && selRec.CompanyCode > 0)
-                {
-                    CurRow.Cells[m_Company_DispColumn].Value = selRec.CompanyCode;
-                    CurRow.Cells[m_CompanyNM_Column].Value = selRec.CompanyName;
-                    CurRow.Cells[(int)DispColumn.CompanyDispOrder].Value = selRec.DisplayOrder;
-                    if (cnvRowState(CurRow.Cells[(int)DispColumn.RowState].Value) == DataRowState.Unchanged)
-                        CurRow.Cells[(int)DispColumn.RowState].Value = DataRowState.Modified;
-
-                    bUnKwonRow = true;
-
-                }
-
-                // ƒ_ƒCƒAƒ�ƒO‚Å‘I‘ð‚³‚ê‚½‹ÆŽÒ‚ðŒŸ�õ
-                DataGridViewRow[] rows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[m_Company_DispColumn].Value) == selRec.CompanyCode
-                                                                                && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowVisible].Value) == (int)RowVisibleDef.Visible
-                                                                                && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×
-                                                                                && cnvRowState(x.Cells[(int)DispColumn.RowState].Value) != DataRowState.Deleted)
-                                                                            .ToArray();
-
-                if (rows.Count() > 0)
-                {
-                    // ‘I‘ð‚³‚ê‚½‹ÆŽÒ‚ªŠù‚É‚ ‚ê‚Î�ˆ—�‚µ‚È‚¢
-                    if (!bUnKwonRow) return;
-                }
-                else
-                {
-                    // �V‹K’Ç‰Á‚Í�HŽ–ƒR�[ƒh‚ðƒNƒŠƒA‚·‚é
-                    nConstrCode = 0;
-                }
-
-                // ‘ä’ ‘I‘ð
-                int[] nRowCol = new int[2];
-                if (nConstrCode > 0 && selRec.CompanyCode > 0)
-                {
-                    // ‹ÆŽÒ�E�HŽ–‚ª�Ý’è�Ï‚Ý‚Í‘ä’ ‚æ‚è�s‚ð‘I‘ð
-                    if (!DispSelectLedger(selRec.CompanyCode, nConstrCode, frm2, ref nRowCol)) return;
-                }
-
-                // •s–¾�s‚ÉƒZƒbƒg‚µ‚½�ê�‡‚Í‘ä’ ‚ðƒZƒbƒg‚µ‚Ä”²‚¯‚é
-                if (bUnKwonRow)
-                {
-                    nNewMakeRowIndex = CurRow.Index;
-                    // ‘ä’ ‘I‘ð�s‚ÌƒZƒbƒg
-                    dgv.Rows[CurRow.Index].Cells[(int)DispColumn.ConstructionLedgerDetailNo].Value = nRowCol[0];
-                    dgv.Rows[CurRow.Index].Cells[(int)DispColumn.ConstructionLedgerColNo].Value = nRowCol[1];
-                    return;
-                }
-
-                // No’l
-                string cellNo = dgv.Rows.Cast<DataGridViewRow>().Where(x => cnvRowState(x.Cells[(int)DispColumn.RowState].Value) != DataRowState.Deleted)
-                                                              .Max(y => (string)y.Cells[(int)DispColumn.No].Value.ToString());
-                int No = 0;
-                if (cellNo == null)
-                {
-                    No = 1;
-                }
-                else
-                {
-                    No = CommonMotions.cnvInt(cellNo) + 1;
-                }
-
-                MakeIndex = SearchRowIndexCompany(selRec.CompanyCode, true);
-
-                // ƒf�[ƒ^“ü—Í�s
-                MakeNewRow(selRec.CompanyCode, selRec.CompanyName, 0, No, nRowCol, ref MakeIndex, -1, MakeIndex, string.Empty);
-                dgv.Rows[MakeIndex].Cells[(int)DispColumn.CompanyDispOrder].Value = selRec.DisplayOrder;
-                dgv.Rows[MakeIndex].Cells[(int)DispColumn.RowState].Value = DataRowState.Added;
-
-                MakeIndex++;
-                // �‡Œv�s’Ç‰Á
-                MakeGoukeiGyo(dgv, selRec.CompanyCode, selRec.DisplayOrder, MakeIndex);
-
-                nNewMakeRowIndex = MakeIndex;
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-            finally
-            {
-                frm2.Dispose(); frm2 = null;
-            }
-        }
-        #endregion
-
-        #region Œ»�êƒOƒŠƒbƒh‹ÆŽÒ’Ç‰Á�ˆ—�
-        /// <summary>
-        /// Œ»�êƒOƒŠƒbƒh‹ÆŽÒ’Ç‰Á�ˆ—�
-        /// </summary>
-        /// <param name="selRec"></param>
-        private void GridProjectInCompany(SubContractorMaster selRec, ref int nNewMakeRowIndex)
-        {
-            FrmConstructionLedger frm2 = new FrmConstructionLedger();
-            try
-            {
-                DataGridViewEX dgv = getShowingView();
-                DataGridViewRow CurRow = dgv.CurrentRow;
-                int MakeIndex = -1;
-
-                // ƒOƒŠƒbƒh‚ÌƒR�[ƒhŽæ“¾
-                int nConstrCode = CommonMotions.cnvInt(CurRow.Cells[m_Genba_Column].Value);
-                int nCompanyCode = CommonMotions.cnvInt(CurRow.Cells[m_Company_Column].Value);
-                string strRowCompName = CommonMotions.cnvString(CurRow.Cells[m_CompanyNM_Column].Value);
-
-                // ----- •s–¾�s‚Å‚Ì‘I‘ð
-                bool bUnKwonRow = false;
-                if (nCompanyCode == 0 && strRowCompName.Equals(s_UnknownString) && selRec.CompanyCode > 0)
-                {
-                    // •s–¾�s‚Å‹ÆŽÒ‚ð‘I‘ð‚µ‚½�ê�‡‚ÍƒZƒbƒg‚·‚é
-                    CurRow.Cells[m_Company_DispColumn].Value = selRec.CompanyCode;
-                    CurRow.Cells[m_CompanyNM_Column].Value = selRec.CompanyName;
-                    if (cnvRowState(CurRow.Cells[(int)DispColumn.RowState].Value) == DataRowState.Unchanged)
-                        CurRow.Cells[(int)DispColumn.RowState].Value = DataRowState.Modified;
-
-                    bUnKwonRow = true;
-                }
-
-                // ‘ä’ ‘I‘ð
-                int[] nRowCol = new int[2];
-                if (nConstrCode > 0 && selRec.CompanyCode > 0)
-                {
-                    // ‹ÆŽÒ�E�HŽ–‚ª�Ý’è�Ï‚Ý‚Í‘ä’ ‚æ‚è�s‚ð‘I‘ð
-                    if (!DispSelectLedger(selRec.CompanyCode, nConstrCode, frm2, ref nRowCol)) return;
-                }
-
-                // •s–¾�s‚ÉƒZƒbƒg‚µ‚½�ê�‡‚Í‘ä’ ‚ðƒZƒbƒg‚µ‚Ä”²‚¯‚é
-                if (bUnKwonRow)
-                {
-                    nNewMakeRowIndex = CurRow.Index;
-                    // ‘ä’ ‘I‘ð�s‚ÌƒZƒbƒg
-                    dgv.Rows[CurRow.Index].Cells[(int)DispColumn.ConstructionLedgerDetailNo].Value = nRowCol[0];
-                    dgv.Rows[CurRow.Index].Cells[(int)DispColumn.ConstructionLedgerColNo].Value = nRowCol[1];
-                    return;
-                }
-
-                // �HŽ––¼‚ðŽæ“¾‚·‚é
-                int iNo = 0;
-                string strConstrName = string.Empty;
-                DataGridViewRow[] rows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[m_Genba_Column].Value) == nConstrCode
-                                                                                && CommonMotions.cnvString(x.Cells[m_GenbaNM_Column].Value).Length > 0
-                                                                                && CommonMotions.cnvInt(x.Cells[(int)DispColumn.No].Value) > 0)
-                                                                            .ToArray();
-                if (rows.Count() > 0)
-                {
-                    // ‡‚‚ª‚ ‚ê‚ÎŽæ“¾‚·‚é
-                    iNo = CommonMotions.cnvInt(rows[0].Cells[(int)DispColumn.No].Value);
-                    // Œ»�ê–¼�Ì‚ª‚ ‚ê‚ÎŽæ“¾‚·‚é
-                    strConstrName = CommonMotions.cnvString(rows[0].Cells[m_GenbaNM_Column].Value);
-                }
-
-                // ‘I‘ð‹ÆŽÒ‚ª“¯ˆê�HŽ–“à‚É‚ ‚é‚©‚ð”»’è‚·‚é
-                DataGridViewRow[] SelRows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[m_Genba_Column].Value) == nConstrCode
-                                                                                && CommonMotions.cnvInt(x.Cells[m_Company_DispColumn].Value) == selRec.CompanyCode
-                                                                                && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowVisible].Value) == (int)RowVisibleDef.Visible
-                                                                                && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×)
-                                                                            .OrderBy(y => CommonMotions.cnvInt(y.Cells[m_Company_DispColumn].Value))
-                                                                            .ToArray();
-
-                // ----- ’Ê�í�s‚Å‚Ì‘I‘ð
-                if (SelRows.Count() < 1)
-                {
-                    // ----- �¬Œv�s‚Ì�ã‚É’Ç‰Á‚·‚é
-                    MakeIndex = SearchRowIndexProject(nConstrCode, true) + 1;
-                }
-                else
-                {
-                    // ----- ‘¶�Ý‹ÆŽÒ‚Ì�ÅŒã‚É’Ç‰Á‚·‚é
-                    int DataCnt = SelRows.Count();
-                    MakeIndex = SelRows[DataCnt].Index - 1;
-                }
-                // ƒf�[ƒ^�s�ì�¬
-                MakeNewRow(selRec.CompanyCode, selRec.CompanyName, nConstrCode, iNo, nRowCol, ref MakeIndex, -1, MakeIndex, strConstrName);
-                dgv.Rows[MakeIndex].Cells[(int)DispColumn.CompanyDispOrder].Value = selRec.DisplayOrder;
-                dgv.Rows[MakeIndex].Cells[(int)DispColumn.RowState].Value = DataRowState.Added;
-
-                nNewMakeRowIndex = MakeIndex;
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-            finally
-            {
-                frm2.Dispose(); frm2 = null;
-            }
-        }
-        #endregion
-
-        #region ’�•¶�‘—X‘—�E’�•¶�‘•Ô‘—�E—\ŽZ�‘‚Ì’lŽæ“¾
-        /// <summary>
-        /// ’�•¶�‘—X‘—�E’�•¶�‘•Ô‘—�E—\ŽZ�‘‚Ì’lŽæ“¾
-        /// </summary>
-        private void SetMaruBatsuKigou(DataGridViewEX dgv
-                                        , IOConstructionBaseInfo IoCbi
-                                        , int nConstructionCode
-                                        , int nNewMakeRowIndex)
-        {
-            try
-            {
-                if (nConstructionCode < 1) return;
-                // ’�•¶�‘—X‘—�E’�•¶�‘•Ô‘—�E—\ŽZ�‘‚Ì’lŽæ“¾
-                StringBuilder sWhere = new StringBuilder();
-                ArrayList arData = new ArrayList();
-                if (!GetMarubatu(IoCbi, nConstructionCode, ref arData))
-                {
-                    MessageBox.Show("�HŽ–Šî–{�î•ñ�E�³”Fƒf�[ƒ^ƒGƒ‰�[", "ƒf�[ƒ^Žæ“¾ƒGƒ‰�[", MessageBoxButtons.OK, MessageBoxIcon.Error);
-                    return;
-                }
-
-                if (arData.Count != 0)
-                {
-                    // ’�•¶�‘’ñ�o�E’�•¶�‘“ž’…�E—\ŽZ�‘
-                    object[] row = (object[])arData[0];
-                    dgv.Rows[nNewMakeRowIndex].Cells[(int)DispColumn.CyuumonshoTeisyutu].Value = row[0];
-                    dgv.Rows[nNewMakeRowIndex].Cells[(int)DispColumn.CyuumonshoTouchaku].Value = row[1];
-                    dgv.Rows[nNewMakeRowIndex].Cells[(int)DispColumn.YosanSho].Value = row[2];
-                }
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region ‹ÆŽÒƒOƒŠƒbƒh‚ÅŽw’è‚µ‚½‰ïŽÐƒR�[ƒh�‡‚ÌŽŸ‚ÌƒCƒ“ƒfƒbƒNƒX‚ðŽæ“¾‚·‚é
-        /// <summary>
-        /// ‹ÆŽÒƒOƒŠƒbƒh‚ÅŽw’è‚µ‚½‰ïŽÐƒR�[ƒh�‡‚ÌŽŸ‚ÌƒCƒ“ƒfƒbƒNƒX‚ðŽæ“¾‚·‚é
-        /// </summary>
-        /// <returns></returns>
-        private int SearchRowIndexCompany(int nCompCode, bool bCompany, int nConstrCode = 0)
-        {
-            try
-            {
-                int Result = 0;
-                DataGridViewEX dgv = getShowingView();
-                // ‹ÆŽÒ‚ªŠù‚É‚ ‚ê‚ÎŽæ“¾‚·‚é
-                DataGridViewRow[] rows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[m_Company_DispColumn].Value) == nCompCode
-                                                                                && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowVisible].Value) == (int)RowVisibleDef.Visible
-                                                                                && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×
-                                                                                && cnvRowState(x.Cells[(int)DispColumn.RowState].Value) != DataRowState.Deleted)
-                                                                            .OrderBy(y => CommonMotions.cnvInt(y.Cells[(int)DispColumn.LineCount].Value))
-                                                                            .ToArray();
-                DataGridViewRow SelRow = null;
-                if (bCompany)
-                {
-                    // ----- ‹ÆŽÒŒŸ�õ
-                    if (rows.Count() > 0)
-                    {
-                        SelRow = rows.Cast<DataGridViewRow>().FirstOrDefault();
-
-                        Result = SelRow == null ? -1 : SelRow.Index;
-                        Result ++;
-                    }
-                    else
-                    {
-                        SelRow = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[m_Company_Column].Value) > nCompCode
-                                                                                && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowVisible].Value) == (int)RowVisibleDef.Visible
-                                                                                && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×
-                                                                                && cnvRowState(x.Cells[(int)DispColumn.RowState].Value) != DataRowState.Deleted)
-                                                                            .OrderBy(y => CommonMotions.cnvInt(y.Cells[(int)DispColumn.LineCount].Value))
-                                                                            .FirstOrDefault();
-
-                        if (SelRow == null)
-                        {
-                            Result = dgv.RowCount;
-                        }
-                        else
-                        {
-                            Result = SelRow.Index;
-                        }
-                    }
-                }
-                else
-                {
-                    // ----- Œ»�êŒŸ�õ
-                    // ‹ÆŽÒƒOƒŠƒbƒh‚Å‚ÍŒ»�ê‚Í•K‚¸‹ÆŽÒ‚Ì‰º‚É“ü‚é‚Ì‚Å‹ÆŽÒ‚Í•K‚¸‚ ‚é
-                    if (rows.Count() > 0)
-                    {
-                        SelRow = rows.Cast<DataGridViewRow>().LastOrDefault();
-
-                        Result = SelRow == null ? -1 : SelRow.Index;
-                        Result++;
-                    }
-                }
-
-                return Result;
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                return -1;
-            }
-        }
-        #endregion
-
-        #region Œ»�êƒOƒŠƒbƒh‚ÅŽw’è‚µ‚½�HŽ–ƒR�[ƒh�‡‚ÌŽŸ‚ÌƒCƒ“ƒfƒbƒNƒX‚ðŽæ“¾‚·‚é
-        /// <summary>
-        /// Œ»�êƒOƒŠƒbƒh‚ÅŽw’è‚µ‚½�HŽ–ƒR�[ƒh�‡‚ÌŽŸ‚ÌƒCƒ“ƒfƒbƒNƒX‚ðŽæ“¾‚·‚é
-        /// </summary>
-        /// <param name="CompnayCode"></param>
-        /// <returns></returns>
-        private int SearchRowIndexProject(int ConstrCode, bool bCompany)
-        {
-            try
-            {
-                int Result = 0;
-                DataGridViewEX dgv = getShowingView();
-                DataGridViewRow SelRow = null;
-                if (bCompany)
-                {
-                    // Œ»�êŒŸ�õ
-                    SelRow = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[m_Genba_Column].Value) == ConstrCode
-                                                                        && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×)
-                                                                .LastOrDefault();
-                }
-                else
-                {
-                    // ‹ÆŽÒŒŸ�õ
-                    SelRow = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[m_Genba_Column].Value) > ConstrCode
-                                                                        && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×)
-                                                                .FirstOrDefault();
-                }
-
-                Result = SelRow == null ? -1 : SelRow.Index;
-                return Result;
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                return -1;
-            }
-        }
-        #endregion
-
-        #region �s’Ç‰Á
-        /// <summary>
-        /// �V‹K�s’Ç‰Á
-        /// </summary>
-        /// <param name="CompanyCode">‹ÆŽÒƒR�[ƒh</param>
-        /// <param name="CompanyName">‹ÆŽÒ–¼</param>
-        /// <param name="GenbaCode">Œ»�êƒR�[ƒh</param>
-        /// <param name="No">No</param>
-        /// <param name="iGroupSeqNo">˜A”Ô</param>
-        /// <param name="iIndex">ƒf�[ƒ^�ì�¬ˆÊ’u</param>
-        /// <param name="GenbaName">Œ»�ê–¼</param>
-        private void MakeNewRow(int CompanyCode
-                                , string CompanyName
-                                , int GenbaCode
-                                , int No
-                                , int[] nRowCol
-                                , ref int MakeIndex
-                                , int iGroupSeqNo = -1
-                                , int iIndex = -1
-                                , string GenbaName = "")
-        {
-            DataGridViewEX dgv = getShowingView();
-            int iLineCnt = 0;
-            int iGoukeiSeqNo = 0;
-            int iGoukeiCode = rdbCompany.Checked ? CompanyCode : GenbaCode;
-
-            // ˆê’UƒZƒ‹‚Ì’l•Ï�XƒCƒxƒ“ƒg‚ð–³Œø‚É‚·‚é
-            dgv.CellValueChanged -= DataGridView_CellValueChanged;
-            try
-            {
-                // �‡Œv—p�s”Ô�†
-                string cell = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[m_GoukeiCode_Column].Value) == iGoukeiCode
-                                                                        && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×
-                                                                        && cnvRowState(x.Cells[(int)DispColumn.RowState].Value) != DataRowState.Deleted)
-                                                                .Max(y => (string)y.Cells[(int)DispColumn.GoukeiSeqNo].Value.ToString());
-                if (cell == null)
-                {
-                    iGoukeiSeqNo = 1;
-                }
-                else
-                {
-                    iGoukeiSeqNo = CommonMotions.cnvInt(cell) + 1;
-                }
-
-                // ˜A”Ô
-                cell = null;
-                if (iGroupSeqNo == -1)
-                {
-                    cell = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[m_Company_DispColumn].Value) == CompanyCode
-                                                                            && cnvRowState(x.Cells[(int)DispColumn.RowState].Value) != DataRowState.Deleted)
-                                                            .Max(y => (string)y.Cells[(int)DispColumn.GroupSeqNo].Value.ToString());
-                    if (cell == null)
-                    {
-                        iGroupSeqNo = 1;
-                    }
-                    else
-                    {
-                        DataGridViewRow[] RowList = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[m_Company_DispColumn].Value) == CompanyCode
-                                                                                && cnvRowState(x.Cells[(int)DispColumn.RowState].Value) != DataRowState.Deleted
-                                                                                && CommonMotions.cnvInt(x.Cells[(int)DispColumn.GroupSeqNo].Value) == CommonMotions.cnvInt(cell))
-                                                                                .ToArray();
-                        // SeqNoƒZƒbƒg
-                        iGroupSeqNo = CommonMotions.cnvInt(cell);
-                        // �³”F�Ï‚Ý‚ÍƒJƒEƒ“ƒgƒAƒbƒv
-                        if (RowList.Count() > 0)
-                        {
-                            if (CommonMotions.cnvInt(RowList[0].Cells[(int)DispColumn.ApprovalEndFlg].Value) == 1) iGroupSeqNo++;
-                        }
-                    }
-                }
-
-                // �s”Ô�†
-                int lineCnt = 0;
-                // ‘Î�Û‹ÆŽÒ‚ª‘¶�Ý‚·‚é‚©‚ðƒ`ƒFƒbƒN‚·‚é
-                DataGridViewRow[] CompList = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[m_Company_DispColumn].Value) == CompanyCode
-                                                                          && CommonMotions.cnvInt(x.Cells[(int)DispColumn.GroupSeqNo].Value) == iGroupSeqNo
-                                                                          && cnvRowState(x.Cells[(int)DispColumn.RowState].Value) != DataRowState.Deleted)
-                                                                          .ToArray();
-
-                if (CompList.Count() > 0)
-                {
-                    lineCnt = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[m_Company_DispColumn].Value) == CompanyCode
-                                                                              && CommonMotions.cnvInt(x.Cells[(int)DispColumn.GroupSeqNo].Value) == iGroupSeqNo
-                                                                              && cnvRowState(x.Cells[(int)DispColumn.RowState].Value) != DataRowState.Deleted)
-                                                                     .Max(y => CommonMotions.cnvInt(y.Cells[(int)DispColumn.LineCount].Value));
-                }
-
-                if (lineCnt == 0)
-                {
-                    iLineCnt = 1;
-                }
-                else
-                {
-                    iLineCnt = CommonMotions.cnvInt(lineCnt) + 1;
-                }
-
-                if (iIndex == -1)
-                {
-                    iIndex = getNewIndexNo();
-                    dgv.Rows.Add(iIndex, CompanyCode.ToString(), CompanyName);
-                    MakeIndex = iIndex;
-                }
-                else
-                {
-                    dgv.Rows.Insert(iIndex, CompanyCode.ToString(), CompanyName);
-                }
-
-                dgv.Rows[iIndex].Cells[(int)DispColumn.CompanyDispOrder].Value = 0;
-                dgv.Rows[iIndex].Cells[(int)DispColumn.ApprovalEndFlg].Value = 0;
-                dgv.Rows[iIndex].Cells[(int)DispColumn.UpdateDate].Value = "";
-                dgv.Rows[iIndex].Cells[(int)DispColumn.RowState].Value = DataRowState.Added;            // ’Ç‰Á
-                dgv.Rows[iIndex].Cells[(int)DispColumn.RowVisible].Value = (int)RowVisibleDef.Visible;  // ‰ÂŽ‹
-                dgv.Rows[iIndex].Cells[(int)DispColumn.RowType].Value = (int)RowsTypeDef.–¾�×;
-                dgv.Rows[iIndex].Cells[(int)DispColumn.No].Value = No == 0 ? "" : CommonMotions.cnvString(No);
-                dgv.Rows[iIndex].Cells[(int)DispColumn.GoukeiSeqNo].Value = iGoukeiSeqNo;
-                dgv.Rows[iIndex].Cells[(int)DispColumn.GroupSeqNo].Value = iGroupSeqNo;
-                dgv.Rows[iIndex].Cells[(int)DispColumn.LineCount].Value = iLineCnt;
-
-                dgv.Rows[iIndex].Cells[m_Company_Column].Value = CompanyCode;
-                dgv.Rows[iIndex].Cells[m_Company_DispColumn].Value = CompanyCode;
-                dgv.Rows[iIndex].Cells[m_CompanyNM_Column].Value = CompanyCode > 0 ? CompanyName : s_UnknownString;
-                dgv.Rows[iIndex].Cells[m_CompanyNM_Column].ToolTipText = CompanyCode > 0 ? CompanyName : s_UnknownString;
-                dgv.Rows[iIndex].Cells[m_Genba_Column].Value = GenbaCode;
-                dgv.Rows[iIndex].Cells[m_GenbaNM_Column].Value = GenbaCode > 0 ? GenbaName : s_UnknownString;
-                dgv.Rows[iIndex].Cells[m_GenbaNM_Column].ToolTipText = GenbaCode > 0 ? GenbaName : s_UnknownString;
-
-                dgv.Rows[iIndex].Cells[(int)DispColumn.SomuSeikyu].Value = 0;
-                dgv.Rows[iIndex].Cells[(int)DispColumn.SomuKosoku].Value = 0;
-                dgv.Rows[iIndex].Cells[(int)DispColumn.SomuKanamono].Value = 0;
-                dgv.Rows[iIndex].Cells[(int)DispColumn.SomuSannhaiZei].Value = 0;
-                dgv.Rows[iIndex].Cells[(int)DispColumn.KojiSeikyu].Value = 0;
-                dgv.Rows[iIndex].Cells[(int)DispColumn.KojiNebiki].Value = 0;
-                dgv.Rows[iIndex].Cells[(int)DispColumn.KojiSousai].Value = 0;
-                dgv.Rows[iIndex].Cells[(int)DispColumn.JikaiKurikosi].Value = 0;
-                dgv.Rows[iIndex].Cells[(int)DispColumn.KojiKosoku].Value = 0;
-                dgv.Rows[iIndex].Cells[(int)DispColumn.KojiKanamono].Value = 0;
-                dgv.Rows[iIndex].Cells[(int)DispColumn.KojiSannhaiZei].Value = 0;
-                dgv.Rows[iIndex].Cells[(int)DispColumn.KyoryokuKin].Value = "";
-                dgv.Rows[iIndex].Cells[(int)DispColumn.KyoryokuKinRitu].Value = CommonMotions.SystemMasterData.CooperationRate;
-
-                dgv.Rows[iIndex].Cells[(int)DispColumn.KyoryokuUmu].Value = -1;
-
-                dgv.Rows[iIndex].Cells[(int)DispColumn.CyuumonshoTeisyutu].Value = "";
-                dgv.Rows[iIndex].Cells[(int)DispColumn.CyuumonshoTouchaku].Value = "";
-                dgv.Rows[iIndex].Cells[(int)DispColumn.YosanSho].Value = "";
-                dgv.Rows[iIndex].Cells[(int)DispColumn.TantoShoninCode].Value = "";
-                dgv.Rows[iIndex].Cells[(int)DispColumn.TantoShonin].Value = "";
-                dgv.Rows[iIndex].Cells[(int)DispColumn.TantoShonin].Style.ForeColor = Color.Gray;
-                dgv.Rows[iIndex].Cells[(int)DispColumn.Shonin1].Value = "";
-                dgv.Rows[iIndex].Cells[(int)DispColumn.Shonin2].Value = "";
-                dgv.Rows[iIndex].Cells[(int)DispColumn.Shonin3].Value = "";
-                dgv.Rows[iIndex].Cells[(int)DispColumn.Shonin4].Value = "";
-                dgv.Rows[iIndex].Cells[(int)DispColumn.Shonin5].Value = "";
-                dgv.Rows[iIndex].Cells[(int)DispColumn.Shonin6].Value = "";
-                dgv.Rows[iIndex].Cells[(int)DispColumn.Shonin7].Value = "";
-                dgv.Rows[iIndex].Cells[(int)DispColumn.Shonin8].Value = "";
-                dgv.Rows[iIndex].Cells[(int)DispColumn.Shonin9].Value = "";
-                dgv.Rows[iIndex].Cells[(int)DispColumn.Shonin10].Value = "";
-                dgv.Rows[iIndex].Cells[(int)DispColumn.Bikou].Value = "";
-                dgv.Rows[iIndex].Cells[(int)DispColumn.ShohiZeiRitu].Value = CommonMotions.SystemMasterData.ConsumptionTax;
-                dgv.Rows[iIndex].Cells[(int)DispColumn.ConstructionLedgerDetailNo].Value = nRowCol[0];
-                dgv.Rows[iIndex].Cells[(int)DispColumn.ConstructionLedgerColNo].Value = nRowCol[1];
-
-                MakeIndex = iIndex;
-
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-            finally
-            {
-                // ƒZƒ‹‚Ì’l•Ï�XƒCƒxƒ“ƒg‚ð—LŒø‚É‚·‚é
-                dgv.CellValueChanged += DataGridView_CellValueChanged;
-            }
-        }
-        #endregion
-
-        #region Œ»�ê‘I‘ðƒ_ƒCƒAƒ�ƒO•\Ž¦
-        /// <summary>
-        /// �HŽ–ˆÄŒ�‘I‘ðƒ_ƒCƒAƒ�ƒO•\Ž¦
-        /// </summary>
-        private void ShowProjectDiag()
-        {
-            FrmConstructionDiag frm = new FrmConstructionDiag();
-            IOConstructionBaseInfo IoCbi = new IOConstructionBaseInfo();
-            try
-            {
-                DataGridViewEX dgv = getShowingView();
-                DataGridViewRow CurRow = dgv.CurrentRow;
-
-                int nCompanyCode = CommonMotions.cnvInt(CurRow.Cells[m_Company_DispColumn].Value);
-                int nConstrCode = CommonMotions.cnvInt(CurRow.Cells[m_Genba_Column].Value);
-
-                // �³”F�Ï‚Ý‚Í�ˆ—�‚µ‚È‚¢
-                int nApprovalEndFlg = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.ApprovalEndFlg].Value);
-                if (nApprovalEndFlg == (int)PaymentDataDetail.ApprovalEndFlgDef.Approval) return;
-
-                int nPersonCode = CommonMotions.LoginUserData.PersonCode;
-
-                // ----- ƒ_ƒCƒAƒ�ƒO•\Ž¦ƒpƒ‰ƒ�ƒ^ƒZƒbƒg
-                // ‹N“®Œ³ƒZƒbƒg
-                frm.ProcessNo = (int)ClsExcute.ProcessExecuteNo.RequestSummaryList;
-                // ŒŸ�õƒ^ƒCƒvƒZƒbƒg
-                frm.PersonCharge = (int)FrmConstructionDiag.PersonChargePoint.Construction;
-                // �HŽ–’S“–ŽÒƒR�[ƒh
-                frm.PersonCode = nPersonCode;
-                // ŒŸ�õƒ^ƒCƒv
-                frm.SelectType = (int)FrmConstructionDiag.SelectConstructionType.RengeOngoing;
-                // •¡�”�s‘I‘ð
-                frm.SetGridMultiSelect = false;
-                // •s–¾ƒ{ƒ^ƒ“•\Ž¦
-                frm.DispAddUnknown = true;
-
-                frm.ShowDialog();
-
-                // �I—¹ƒR�[ƒhŠm”F
-                if (DialogResult.Cancel.Equals(frm.EndButton)) return;
-
-                // ‘I‘ð–³‚µ‚Í�ˆ—�‚µ‚È‚¢
-                int nSelConstrCode = 0;
-                string sSelConstrName = string.Empty;
-                // •s–¾ˆÈŠO‚Í‘I‘ðƒf�[ƒ^‚ðŽæ“¾‚·‚é
-                if (!DialogResult.Yes.Equals(frm.EndButton))
-                {
-                    // ‘I‘ð’lƒZƒbƒg
-                    nSelConstrCode = frm.ConstructionCode;
-                    sSelConstrName = frm.ConstructionName;
-                }
-
-                int nNewMakeRowIndex = -1;
-                if (rdbCompany.Checked)
-                {
-                    // ----- ‹ÆŽÒ
-                    GridCompanyInProject(nSelConstrCode, sSelConstrName, ref nNewMakeRowIndex);
-                }
-                else if (rdbProject.Checked)
-                {   // ----- Œ»�ê
-                    GridProjectInProject(nSelConstrCode, sSelConstrName, ref nNewMakeRowIndex);
-                }
-
-                // �sƒf�[ƒ^‚ÌƒZƒbƒg‚ª�³�í�I—¹‚µ‚Ä‚¢‚È‚¢�ê�‡‚Í�ˆ—�‚µ‚È‚¢
-                if (nNewMakeRowIndex < 0) return;
-
-                // ’�•¶�‘—X‘—�E’�•¶�‘•Ô‘—�E—\ŽZ�‘‚Ì’lŽæ“¾
-                SetMaruBatsuKigou(dgv, IoCbi, nSelConstrCode, nNewMakeRowIndex);
-
-                ResetNo();
-                m_bChengeAns = true;
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-            finally
-            {
-                frm.Dispose(); frm = null;
-                IoCbi.close(); IoCbi = null;
-            }
-        }
-        #endregion
-
-        #region ‹ÆŽÒƒOƒŠƒbƒhŒ»�ê’Ç‰Á�ˆ—�
-        /// <summary>
-        /// ‹ÆŽÒƒOƒŠƒbƒhŒ»�ê’Ç‰Á�ˆ—�
-        /// </summary>
-        private void GridCompanyInProject(int SelConstrCode, string SelConstrName, ref int nNewMakeRowIndex)
-        {
-            FrmConstructionLedger frm2 = new FrmConstructionLedger();
-            try
-            {
-                DataGridViewEX dgv = getShowingView();
-                DataGridViewRow CurRow = dgv.CurrentRow;
-
-                // ƒOƒŠƒbƒh‚ÌƒR�[ƒhŽæ“¾
-                int nCompanyCode = CommonMotions.cnvInt(CurRow.Cells[m_Company_DispColumn].Value);
-                int nConstrCode = CommonMotions.cnvInt(CurRow.Cells[m_Genba_Column].Value);
-                string strConstrName = CommonMotions.cnvString(CurRow.Cells[m_GenbaNM_Column].Value);
-
-                // •s–¾�s‚ð‘I‘ð‚µ‚½�ê�‡‚Í�HŽ–‚ðƒZƒbƒg‚·‚é
-                bool bUnKwonRow = false;
-                if (nConstrCode == 0 && s_UnknownString.Equals(strConstrName) && SelConstrCode > 0)
-                {
-                    CurRow.Cells[m_Genba_Column].Value = SelConstrCode;
-                    CurRow.Cells[m_GenbaNM_Column].Value = SelConstrName;
-                    if (cnvRowState(CurRow.Cells[(int)DispColumn.RowState].Value) == DataRowState.Unchanged)
-                        CurRow.Cells[(int)DispColumn.RowState].Value = DataRowState.Modified;
-
-                    bUnKwonRow = true;
-                }
-
-                int[] nRowCol = new int[2];
-                if (SelConstrCode > 0 && nCompanyCode > 0)
-                {
-                    // —¼•û�Ý’è‚³‚ê‚Ä‚¢‚ê‚Î‘ä’ ‚ð•\Ž¦‚·‚é
-                    if (!DispSelectLedger(nCompanyCode, SelConstrCode, frm2, ref nRowCol)) return;
-                }
-
-                // •s–¾�s‚ÉƒZƒbƒg‚µ‚½�ê�‡‚Í‘ä’ ‹ó‚Ìƒf�[ƒ^‚ðƒZƒbƒg‚µ‚Ä”²‚¯‚é
-                if (bUnKwonRow)
-                {
-                    nNewMakeRowIndex = CurRow.Index;
-                    // ‘ä’ ‘I‘ð�s‚ÌƒZƒbƒg
-                    dgv.Rows[CurRow.Index].Cells[(int)DispColumn.ConstructionLedgerDetailNo].Value = nRowCol[0];
-                    dgv.Rows[CurRow.Index].Cells[(int)DispColumn.ConstructionLedgerColNo].Value = nRowCol[1];
-                    return;
-                }
-
-                // ----- �¬Œv�s‚Ì�ã‚É’Ç‰Á‚·‚é
-                int MakeIndex = SearchRowIndexCompany(nCompanyCode, false, SelConstrCode);
-
-                // ‹ÆŽÒ–¼‚ðŽæ“¾‚·‚é
-                DataGridViewRow[] CompNameRows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[m_Company_DispColumn].Value) == nCompanyCode
-                                                                                && CommonMotions.cnvString(x.Cells[m_CompanyNM_Column].Value).Length > 0
-                                                                                && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×)
-                                                                            .ToArray();
-                string strCompnyName = CommonMotions.cnvString(CompNameRows[0].Cells[m_CompanyNM_Column].Value);
-
-                // �s�ì�¬
-                MakeNewRow(nCompanyCode, strCompnyName, SelConstrCode, 0, nRowCol, ref MakeIndex, -1, MakeIndex, SelConstrName);
-                dgv.Rows[MakeIndex].Cells[(int)DispColumn.RowState].Value = DataRowState.Added;
-
-                nNewMakeRowIndex = MakeIndex;
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-            finally
-            {
-                frm2.Dispose(); frm2 = null;
-            }
-        }
-        #endregion
-
-        #region Œ»�êƒOƒŠƒbƒhŒ»�ê’Ç‰Á�ˆ—�
-        /// <summary>
-        /// Œ»�êƒOƒŠƒbƒhŒ»�ê’Ç‰Á�ˆ—�
-        /// </summary>
-        private void GridProjectInProject(int SelConstrCode, string SelConstrName, ref int nNewMakeRowIndex)
-        {
-            FrmConstructionLedger frm2 = new FrmConstructionLedger();
-            try
-            {
-                DataGridViewEX dgv = getShowingView();
-                DataGridViewRow CurRow = dgv.CurrentRow;
-
-                // ƒOƒŠƒbƒh‚ÌƒR�[ƒhŽæ“¾
-                int nCompanyCode = CommonMotions.cnvInt(CurRow.Cells[m_Company_DispColumn].Value);
-                int nConstrCode = CommonMotions.cnvInt(CurRow.Cells[m_Genba_Column].Value);
-                string strConstrName = CommonMotions.cnvString(CurRow.Cells[m_CompanyNM_Column].Value);
-
-                // •s–¾�s‚ð‘I‘ð‚µ‚½�ê�‡‚Í�HŽ–‚ðƒZƒbƒg‚·‚é
-                bool bUnKwonRow = false;
-                if (nConstrCode == 0 && s_UnknownString.Equals(strConstrName) && SelConstrCode > 0)
-                {
-                    CurRow.Cells[m_Genba_Column].Value = SelConstrCode;
-                    CurRow.Cells[m_GenbaNM_Column].Value = SelConstrName;
-                    if (cnvRowState(CurRow.Cells[(int)DispColumn.RowState].Value) == DataRowState.Unchanged)
-                        CurRow.Cells[(int)DispColumn.RowState].Value = DataRowState.Modified;
-
-                    bUnKwonRow = true;
-                }
-
-                // Šù‚É�HŽ–‚ª‚ ‚é‚©‚Ìƒ`ƒFƒbƒN
-                DataGridViewRow[] Rows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[m_Genba_Column].Value) == SelConstrCode
-                                                                                && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×
-                                                                                && cnvRowState(x.Cells[(int)DispColumn.RowState].Value) != DataRowState.Deleted)
-                                                                        .ToArray();
-                if (Rows.Count() > 0)
-                {
-                    // ‘I‘ð‚³‚ê‚½‹ÆŽÒ‚ªŠù‚É‚ ‚ê‚Î�ˆ—�‚µ‚È‚¢
-                    if (!bUnKwonRow) return;
-                }
-                else
-                {
-                    // �V‹K’Ç‰Á‚Í�HŽ–ƒR�[ƒh‚ðƒNƒŠƒA‚·‚é
-                    nConstrCode = 0;
-                }
-
-                int[] nRowCol = new int[2];
-                if (SelConstrCode > 0 && nCompanyCode > 0)
-                {
-                    // —¼•û�Ý’è‚³‚ê‚Ä‚¢‚ê‚Î‘ä’ •\Ž¦•\Ž¦‚·‚é
-                    if (!DispSelectLedger(nCompanyCode, SelConstrCode, frm2, ref nRowCol)) return;
-                }
-
-                // •s–¾�s‚ÉƒZƒbƒg‚µ‚½�ê�‡‚Í‘ä’ ‚ðƒZƒbƒg‚µ‚Ä”²‚¯‚é
-                if (bUnKwonRow)
-                {
-                    nNewMakeRowIndex = CurRow.Index;
-                    // ‘ä’ ‘I‘ð�s‚ÌƒZƒbƒg
-                    dgv.Rows[CurRow.Index].Cells[(int)DispColumn.ConstructionLedgerDetailNo].Value = nRowCol[0];
-                    dgv.Rows[CurRow.Index].Cells[(int)DispColumn.ConstructionLedgerColNo].Value = nRowCol[1];
-                    return;
-                }
-
-                int MakeIndex = 0;
-                // ----- �V‹K�s
-                MakeIndex = SearchRowIndexProject(SelConstrCode, false);
-
-                // �s�ì�¬
-                MakeNewRow(0, string.Empty, SelConstrCode, 0, nRowCol, ref MakeIndex, -1, -1, SelConstrName);
-                dgv.Rows[MakeIndex].Cells[(int)DispColumn.CompanyDispOrder].Value = 0;
-                dgv.Rows[MakeIndex].Cells[(int)DispColumn.RowState].Value = DataRowState.Added;
-
-                // �‡Œv�s’Ç‰Á
-                int GoukeiNo = CommonMotions.cnvInt(dgv.Rows[MakeIndex].Cells[(int)DispColumn.GoukeiSeqNo].Value);
-                MakeIndex++;
-                MakeGoukeiGyo(dgv, GoukeiNo, 0, MakeIndex);
-
-                nNewMakeRowIndex = MakeIndex;
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-            finally
-            {
-                frm2.Dispose(); frm2 = null;
-            }
-        }
-        #endregion
-
-        #region ‘ä’ �s‚Ì‘I‘ð‰æ–Ê‚ð•\Ž¦‚·‚é
-        /// <summary>
-        /// ‘ä’ �s‚Ì‘I‘ð‰æ–Ê‚ð•\Ž¦‚·‚é
-        /// </summary>
-        private bool DispSelectLedger(int nCompnyCode, int nConstrCode, FrmConstructionLedger frmLedger, ref int[] nRowCol)
-        {
-            try
-            {
-                // ‘Î�ÛƒŠƒXƒg�ì�¬
-                SetTargetCompanyList(nCompnyCode, nConstrCode, frmLedger);
-                // ‘I‘ðŒã‘ä’ •\Ž¦
-                frmLedger.SubForm = true;
-                // �HŽ–”Ô�†
-                frmLedger.ConstructionCode = nConstrCode;
-                // �¿‹�‚Ü‚Æ‚ß‘I‘ðŽg—pŽžƒtƒ‰ƒO
-                frmLedger.ReqSumDialogFlag = true;
-                // �¿‹�‚Ü‚Æ‚ß‘Î�ÛŒŽ
-                frmLedger.ReqSumTargetMonth = CommonMotions.cnvInt(cmbTargetMonth.SelectedValue);
-                // �¿‹�‚Ü‚Æ‚ß‘Î�Û‹ÆŽÒƒR�[ƒh
-                frmLedger.ReqSumCompany = nCompnyCode;
-                // ‰æ–Ê•\Ž¦
-                frmLedger.ShowDialog();
-                // �I—¹ƒR�[ƒhŠm”F
-                if (DialogResult.Cancel.Equals(frmLedger.EndButton)) return false;
-                // –¾�×�E—ñ”Ô�†Žæ“¾
-                nRowCol[0] = frmLedger.TargetDetailNo;
-                nRowCol[1] = frmLedger.TargetColumn;
-
-                return true;
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                return false;
-            }
-        }
-        #endregion
-
-        #region �HŽ–‘ä’ Œü‚¯‘Î�Û‹ÆŽÒƒŠƒXƒg�ì�¬�ˆ—�
-        /// <summary>
-        /// �HŽ–‘ä’ Œü‚¯‘Î�Û‹ÆŽÒƒŠƒXƒg�ì�¬�ˆ—�
-        /// </summary>
-        /// <param name="nCompnyCode"></param>
-        /// <param name="frm2"></param>
-        private void SetTargetCompanyList(int nCompnyCode, int nSelConstrCode, FrmConstructionLedger frm2, bool bDialog = true)
-        {
-            try
-            {
-                DataGridViewEX dgv = getShowingView();
-
-                // ‘Î�Û‹ÆŽÒ‚ðŽæ“¾‚·‚é
-                DataGridViewRow[] SelRows = null;
-                if (bDialog)
-                {
-                    // ‹ÆŽÒ‘I‘ðƒ_ƒCƒAƒ�ƒO
-                    SelRows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[m_Company_DispColumn].Value) == nCompnyCode
-                                                                        && CommonMotions.cnvInt(x.Cells[m_Genba_Column].Value) == nSelConstrCode
-                                                                        && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×)
-                                                                .OrderBy(y => CommonMotions.cnvInt(y.Cells[m_Company_DispColumn].Value))
-                                                                .ToArray();
-                }
-                else
-                {
-                    // ‘ä’ ‰{——•\Ž¦
-                    SelRows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[m_Genba_Column].Value) == nSelConstrCode
-                                                                        && (cnvRowState(x.Cells[(int)DispColumn.RowState].Value) == DataRowState.Added
-                                                                        || cnvRowState(x.Cells[(int)DispColumn.RowState].Value) == DataRowState.Modified)
-                                                                        && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×)
-                                                                .OrderBy(y => CommonMotions.cnvInt(y.Cells[m_Company_DispColumn].Value))
-                                                                .ToArray();
-                }
-                // ƒŠƒXƒgƒZƒbƒg
-                frm2.BillDetailList.Clear();
-                foreach (DataGridViewRow CurRow in SelRows)
-                {
-                    BillingDataDetail DataCurRec = new BillingDataDetail();
-                    DataCurRec.CompanyCode = CommonMotions.cnvInt(CurRow.Cells[m_Company_DispColumn].Value);
-                    DataCurRec.ConstructionRowCnt = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.ConstructionLedgerDetailNo].Value);
-                    DataCurRec.BillPrice = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.KojiSeikyu].Value);
-                    frm2.BillDetailList.Add(DataCurRec);
-                }
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region ƒZƒ‹“ü—ÍŒã�ˆ—�
-        /// <summary>
-        /// ƒZƒ‹“ü—ÍŒã�ˆ—�
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void CellInputAfter(object sender, DataGridViewCellEventArgs e)
-        {
-            try
-            {
-                DataGridViewEX dgv = (DataGridViewEX)sender;
-                RowsTypeDef TargetRowtype = (RowsTypeDef)dgv[(int)DispColumn.RowType, e.RowIndex].Value;
-
-                // �s�E—ñ‚ª”ÍˆÍŠO‚Í�ˆ—�‚µ‚È‚¢
-                if (e.ColumnIndex < (int)DispColumn.SomuSeikyu) return;
-                if ((int)DispColumn.KyoryokuUmu <= e.ColumnIndex) return;
-                if (TargetRowtype >= RowsTypeDef.�¬Œv) return;
-
-                int Code_Column = dgvCompany.Visible == true ? (int)DispColumn_Company.SubConstractorCode : (int)DispColumn_Project.GengaCode;
-
-                // �¬ŒvŽZ�o
-                ShoukeiSanshutu(e.ColumnIndex, Code_Column, CommonMotions.cnvInt(dgv[Code_Column, e.RowIndex].Value));
-
-                // ŽŸ‰ñŒJ‰z
-                if (e.ColumnIndex == (int)DispColumn.SomuSeikyu ||
-                    e.ColumnIndex == (int)DispColumn.KojiSeikyu ||
-                    e.ColumnIndex == (int)DispColumn.KojiNebiki ||
-                    e.ColumnIndex == (int)DispColumn.KojiSousai)
-                {
-                    dgv[(int)DispColumn.JikaiKurikosi, e.RowIndex].Value = CommonMotions.cnvInt(dgv[(int)DispColumn.SomuSeikyu, e.RowIndex].Value)
-                                                                        - (CommonMotions.cnvInt(dgv[(int)DispColumn.KojiSeikyu, e.RowIndex].Value)
-                                                                        + CommonMotions.cnvInt(dgv[(int)DispColumn.KojiNebiki, e.RowIndex].Value)
-                                                                        + CommonMotions.cnvInt(dgv[(int)DispColumn.KojiSousai, e.RowIndex].Value));
-                }
-
-                // ‹¦—Í‹à
-                if (e.ColumnIndex == (int)DispColumn.KojiSeikyu)
-                {
-                    SetKyoryokukin(dgv, e.RowIndex, Code_Column);
-                }
-
-                // �Á”ï�Å
-                if (e.ColumnIndex == (int)DispColumn.SomuSeikyu || e.ColumnIndex == (int)DispColumn.KojiSeikyu)
-                {
-                    // �Á”ï�Å�sŒŸ�õ
-                    int ZeiRowIndex = SearchRowIndex(Code_Column, CommonMotions.cnvInt(dgv[Code_Column, e.RowIndex].Value), RowsTypeDef.�Á”ï�Å);
-
-                    // �¬Œv�sŒŸ�õ
-                    int ShoukeiRowIndex = SearchRowIndex(Code_Column, CommonMotions.cnvInt(dgv[Code_Column, e.RowIndex].Value), RowsTypeDef.�¬Œv);
-
-                    if (ShoukeiRowIndex >= 0)
-                    {
-                        dgv[e.ColumnIndex, ZeiRowIndex].Value = CommonMotions.cnvRound(CommonMotions.cnvDouble(dgv[e.ColumnIndex, ShoukeiRowIndex].Value)
-                                                                                        * (CommonMotions.SystemMasterData.ConsumptionTax / 100));
-                    }
-                }
-
-                // �‚‘¬‘ã
-                if (e.ColumnIndex == (int)DispColumn.SomuKosoku || e.ColumnIndex == (int)DispColumn.KojiKosoku)
-                {
-                    // —ñ�Ý’è
-                    int ColIndex = e.ColumnIndex == (int)DispColumn.SomuKosoku ? (int)DispColumn.SomuSeikyu : (int)DispColumn.KojiSeikyu;
-
-                    // �‡Œv’l�Ý’è
-                    SetSubGoukei(dgv, ColIndex, e.ColumnIndex, Code_Column, CommonMotions.cnvInt(dgv[Code_Column, e.RowIndex].Value), RowsTypeDef.�‚‘¬‘ã);
-                }
-
-
-                // ‹à•¨‘ã
-                if (e.ColumnIndex == (int)DispColumn.SomuKanamono || e.ColumnIndex == (int)DispColumn.KojiKanamono)
-                {
-                    // —ñ�Ý’è
-                    int ColIndex = e.ColumnIndex == (int)DispColumn.SomuKanamono ? (int)DispColumn.SomuSeikyu : (int)DispColumn.KojiSeikyu;
-
-                    // �‡Œv’l�Ý’è
-                    SetSubGoukei(dgv, ColIndex, e.ColumnIndex, Code_Column, CommonMotions.cnvInt(dgv[Code_Column, e.RowIndex].Value), RowsTypeDef.‹à•¨‘ã);
-                }
-
-                // ŽY”p�Å
-                if (e.ColumnIndex == (int)DispColumn.SomuSannhaiZei || e.ColumnIndex == (int)DispColumn.KojiSannhaiZei)
-                {
-                    // —ñ�Ý’è
-                    int ColIndex = e.ColumnIndex == (int)DispColumn.SomuSannhaiZei ? (int)DispColumn.SomuSeikyu : (int)DispColumn.KojiSeikyu;
-
-                    // �‡Œv’l�Ý’è
-                    SetSubGoukei(dgv, ColIndex, e.ColumnIndex, Code_Column, CommonMotions.cnvInt(dgv[Code_Column, e.RowIndex].Value), RowsTypeDef.ŽY”p�Å);
-                }
-
-                // �‡Œv�s
-                setGoukei(Code_Column, CommonMotions.cnvInt(dgv[Code_Column, e.RowIndex].Value));
-
-                if (!m_initDataLoad) m_bChengeAns = true;
-
-
-                DataGridViewRow CurRow = dgv.Rows[e.RowIndex];
-
-                // �¿‹�‹àŠz˜AŒg
-                if (e.ColumnIndex != (int)DispColumn.KojiSeikyu) return;
-                if (m_FrmLedger == null) return;
-
-                // �¿‹�‚Ü‚Æ‚ß‘Î�Û‹ÆŽÒƒR�[ƒh
-                m_FrmLedger.ReqSumCompany = CommonMotions.cnvInt(CurRow.Cells[m_Company_DispColumn].Value);
-                // –¾�×”Ô�†
-                m_FrmLedger.TargetDetailNo = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.ConstructionLedgerDetailNo].Value);
-                // �‘�ž‚ÝƒJƒ‰ƒ€ˆÊ’u
-                m_FrmLedger.TargetColumn = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.ConstructionLedgerColNo].Value);
-                // �¿‹��ˆ—�˜AŒg‹àŠz
-                m_FrmLedger.AddingRequestPrice = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.KojiSeikyu].Value);
-                // ‹àŠzƒZƒbƒg
-                bool bRet = m_FrmLedger.SetGridData;
-
-                //if (m_FrmLedger.AddingRequestPrice != CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.KojiSeikyu].Value))
-                //{
-                //    m_FrmLedger.AddingRequestPrice = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.KojiSeikyu].Value);
-                //}
-
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region No�`�‡Œv’PˆÊ‚Ì–¼�Ì•\Ž¦ƒŠƒZƒbƒg
-        /// <summary>
-        /// No�`�‡Œv’PˆÊ‚Ì–¼�Ì•\Ž¦ƒŠƒZƒbƒg
-        /// </summary>
-        private void ResetNo()
-        {
-            try
-            {
-                DataGridViewEX dgv = getShowingView();
-                int DisporderCol = 0;
-                int iNo, iTop;
-
-                //‹ÆŽÒ�‡‚Å‚Ì•t”Ô
-                if (rdbCompany.Checked)
-                {
-                    DisporderCol = (int)DispColumn_Company.SubConstractorCode;
-
-                    // •\Ž¦‚³‚ê‚Ä‚¢‚é�i�í�œ‚³‚ê‚Ä‚¢‚È‚¢�j–¾�×�s‚ð‘Î�Û‚Æ‚·‚é
-                    var OrderRows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×
-                                                                            && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowVisible].Value) == (int)RowVisibleDef.Visible)
-                                                                    .GroupBy(c => new
-                                                                    {
-                                                                        DispOrder = CommonMotions.cnvInt(c.Cells[DisporderCol].Value),
-                                                                        GoukeiCode = CommonMotions.cnvInt(c.Cells[m_GoukeiCode_Column].Value),
-                                                                        GoukeiName = CommonMotions.cnvString(c.Cells[m_GoukeiCode_Column + 2].ToolTipText)
-                                                                    })
-                                                                    .OrderBy(y => y.Key.DispOrder)
-                                                                    .ToArray();
-
-                    iNo = 1;
-                    foreach (var k in OrderRows)
-                    {
-                        // �HŽ–”Ô�†‚ª“¯‚¶‚à‚Ì‚ðŽæ“¾‚·‚é
-                        DataGridViewRow[] GoukeiRows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×
-                                                                                                 && CommonMotions.cnvInt(x.Cells[m_GoukeiCode_Column].Value) == k.Key.GoukeiCode)
-                                                                                      .OrderBy(y => y.Cells[(int)DispColumn.CompanyDispOrder].Value)
-                                                                                      .ThenBy(y1 => y1.Cells[(int)DispColumn.GroupSeqNo].Value)
-                                                                                      .ThenBy(y2 => y2.Cells[(int)DispColumn.LineCount].Value)
-                                                                                      .ToArray();
-                        // �s‚ÌSEQNO‚ðƒZƒbƒg‚·‚é
-                        iTop = 1;
-                        foreach (DataGridViewRow r in GoukeiRows)
-                        {
-                            r.Cells[(int)DispColumn.GoukeiSeqNo].Value = iTop;
-                            iTop++;
-                        }
-
-                        DataGridViewRow[] Rows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowVisible].Value) == (int)RowVisibleDef.Visible
-                                                                        && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×
-                                                                        && CommonMotions.cnvInt(x.Cells[m_GoukeiCode_Column].Value) == k.Key.GoukeiCode)
-                                                                .OrderBy(y => y.Cells[(int)DispColumn.GoukeiSeqNo].RowIndex)
-                                                                .ToArray();
-
-                        bool bFirst = true;
-                        foreach (DataGridViewRow r in Rows)
-                        {
-                            if (bFirst)
-                            {
-                                r.Cells[(int)DispColumn.No].Value = iNo;
-                                bFirst = false;
-                                continue;
-                            }
-
-                            r.Cells[(int)DispColumn.No].Value = "";
-                            r.Cells[m_CompanyNM_Column].Value = "";
-                        }
-                        iNo++;
-                    }
-                }
-                //Œ»�ê�‡‚Å‚Ì•t”Ô
-                else
-                {
-                    DisporderCol = m_GoukeiCode_Column;
-
-                    var OrderRows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×
-                                                                            && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowVisible].Value) == (int)RowVisibleDef.Visible)
-                                                                    .GroupBy(c => new
-                                                                    {
-                                                                        DispOrder = CommonMotions.cnvInt(c.Cells[DisporderCol].Value),
-                                                                        GoukeiCode = CommonMotions.cnvInt(c.Cells[m_GoukeiCode_Column].Value),
-                                                                        GoukeiName = CommonMotions.cnvString(c.Cells[m_GoukeiCode_Column + 1].ToolTipText)
-                                                                    }).Select(g => new
-                                                                    {
-                                                                        DispOrder = g.Key.DispOrder,
-                                                                        GoukeiCode = g.Key.GoukeiCode,
-                                                                        GoukeiName = g.Key.GoukeiName,
-                                                                        MinRowIndex = g.Min(c => CommonMotions.cnvInt(c.Cells[DisporderCol].RowIndex))
-                                                                    })
-                                                                    .OrderBy(y => y.MinRowIndex)
-                                                                    .ToArray();
-
-                    iNo = 1;
-                    foreach (var k in OrderRows)
-                    {
-                        DataGridViewRow[] GoukeiRows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×
-                                                                                                 && CommonMotions.cnvInt(x.Cells[m_GoukeiCode_Column].Value) == k.GoukeiCode)
-                                                                                        .OrderBy(y => y.Cells[(int)DispColumn.CompanyDispOrder].Value)
-                                                                                        .ThenBy(y1 => y1.Cells[(int)DispColumn.GroupSeqNo].Value)
-                                                                                        .ThenBy(y2 => y2.Cells[(int)DispColumn.LineCount].Value)
-                                                                                        .ToArray();
-                        iTop = 1;
-                        foreach (DataGridViewRow r in GoukeiRows)
-                        {
-                            r.Cells[(int)DispColumn.GoukeiSeqNo].Value = iTop;
-                            iTop++;
-                        }
-
-                        DataGridViewRow[] Rows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowVisible].Value) == (int)RowVisibleDef.Visible
-                                                                        && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×
-                                                                        && CommonMotions.cnvInt(x.Cells[m_GoukeiCode_Column].Value) == k.GoukeiCode)
-                                                                .OrderBy(y => y.Cells[m_GoukeiCode_Column].RowIndex)
-                                                                .ToArray();
-
-                        bool bFirst = true;
-                        foreach (DataGridViewRow r in Rows)
-                        {
-                            if (bFirst)
-                            {
-                                r.Cells[(int)DispColumn.No].Value = iNo;
-                                bFirst = false;
-                                continue;
-                            }
-
-                            r.Cells[(int)DispColumn.No].Value = "";
-                            r.Cells[m_GenbaNM_Column].Value = "";
-                        }
-                        iNo++;
-                    }
-                }
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-
-        }
-        #endregion
-
-        #region ˜A”Ô‚ð�U‚è‚È‚¨‚·�@�¦“¯‹ÆŽÒƒf�[ƒ^‚ª‘S‚Ä�V‹K‚Ì�ê�‡‚Ì‚Ý
-        /// <summary>
-        /// ˜A”Ô‚ð�U‚è‚È‚¨‚·�@�¦“¯‹ÆŽÒƒf�[ƒ^‚ª‘S‚Ä�V‹K‚Ì�ê�‡‚Ì‚Ý
-        /// </summary>
-        private void ResetSeqNo(int CompanyCode)
-        {
-            try
-            {
-                DataGridViewEX dgv = getShowingView();
-
-                DataGridViewRow[] ExistenceData = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[m_Company_DispColumn].Value) == CompanyCode
-                                                                                            && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×
-                                                                                            && cnvRowState(x.Cells[(int)DispColumn.RowState].Value) != DataRowState.Added)
-                                                                                            .ToArray();
-
-                if (ExistenceData.Count() == 0)
-                {
-                    int SeqNo = 1;
-
-                    DataGridViewRow[] Rows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[m_Company_DispColumn].Value) == CompanyCode
-                                                                                    && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×)
-                                                                                    .ToArray();
-                    int escSeqNo = 0;
-                    int LineCount = 1;
-                    foreach (DataGridViewRow r in Rows)
-                    {
-                        if (r.State != DataGridViewElementStates.None)
-                        {
-                            if (escSeqNo != CommonMotions.cnvInt(r.Cells[(int)DispColumn.GroupSeqNo].Value))
-                            {
-                                escSeqNo = CommonMotions.cnvInt(r.Cells[(int)DispColumn.GroupSeqNo].Value);
-                                r.Cells[(int)DispColumn.GroupSeqNo].Value = SeqNo;
-                                SeqNo++;
-                                LineCount = 1;
-                            }
-                            r.Cells[(int)DispColumn.LineCount].Value = LineCount;
-                            LineCount++;
-                        }
-                    }
-
-                }
-
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-
-        }
-        #endregion
-
-        #region Žw’è�‡ŒvƒOƒ‹�[ƒv‚Ì�‡Œv�s‚ð�í�œ
-        /// <summary>
-        /// Žw’è�‡ŒvƒOƒ‹�[ƒv‚Ì�‡Œv�s‚ð�í�œ
-        /// </summary>
-        /// <param name="iGoukeiCode"></param>
-        private void DeleteGoukeiRows(int iGoukeiCode, ref bool Delete)
-        {
-            try
-            {
-                DataGridViewEX dgv = getShowingView();
-                Delete = false;
-
-                // “¯ƒOƒ‹�[ƒv‚ª‘S‚Ä–³‚­‚È‚Á‚½�ê�‡‚Í�A�‡Œv•\Ž¦‚ð�í�œ
-                int cnt = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowVisible].Value) == (int)RowVisibleDef.Visible
-                                                                && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×
-                                                                && CommonMotions.cnvInt(x.Cells[m_GoukeiCode_Column].Value) == iGoukeiCode)
-                                                        .Count();
-                if (cnt == 0)
-                {
-                    // �‡Œv�s�í�œ
-                    DataGridViewRow[] RowsGoukei = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[m_GoukeiCode_Column].Value) == iGoukeiCode
-                                                                        && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) != (int)RowsTypeDef.–¾�×)
-                                                                .ToArray();
-
-                    foreach (DataGridViewRow r in RowsGoukei)
-                    {
-                        dgv.Rows.Remove(r);
-                    }
-                    Delete = true;
-                }
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region –Ú“I‚Ì�‡Œv�s‚ÌDataGridViewEX‚ÌIndex‚ð•Ô‚·
-        /// <summary>
-        /// –Ú“I‚Ì�‡Œv�s‚ÌDataGridViewEX‚ÌIndex‚ð•Ô‚·
-        /// </summary>
-        /// <param name="CodeCol">ƒR�[ƒh—ñ”Ô�†</param>
-        /// <param name="Code">ƒR�[ƒh</param>
-        /// <param name="RowType">ŒŸ�õ‘Î�Û�‡Œv�s</param>
-        /// <returns></returns>
-        private int SearchRowIndex(int CodeCol, int Code, RowsTypeDef RowType, int SeqNo = 0, int LineCode = 0, DataRowState NotRowState = DataRowState.Unchanged)
-        {
-            try
-            {
-                DataGridViewEX dgv = getShowingView();
-                int type = (int)RowType;
-                int Result = 0;
-                DataGridViewRow[] Rows = null;
-
-                if (SeqNo == 0 && LineCode == 0)
-                {
-                    Rows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[CodeCol].Value) == Code
-                                                                    && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowVisible].Value) == (int)RowVisibleDef.Visible
-                                                                    && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == type).ToArray();
-                }
-                else if (SeqNo != 0)
-                {
-                    Rows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[(int)CodeCol].Value) == Code
-                                                                    && CommonMotions.cnvInt(x.Cells[(int)DispColumn.GroupSeqNo].Value) == SeqNo
-                                                                    && CommonMotions.cnvInt(x.Cells[(int)DispColumn.LineCount].Value) == LineCode
-                                                                    && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowVisible].Value) == (int)RowVisibleDef.Visible
-                                                                    && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == type).ToArray();
-                }
-
-
-                Result = Rows.Count() == 0 ? -1 : Rows[0].Index;
-
-                return Result;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                return 0;
-            }
-        }
-        #endregion
-
-        #region Žx•¥–¾�×ƒf�[ƒ^Šm”F
-        /// <summary>
-        /// Žx•¥–¾�×ƒf�[ƒ^Šm”F
-        /// </summary>
-        /// <param name="CompanyCode"></param>
-        /// <param name="SeqNo"></param>
-        /// <param name="LineCount"></param>
-        /// <returns></returns>
-        private int CheckPaymentDataDetail(int CompanyCode, int SeqNo, int LineCount)
-        {
-            IOPaymentDataDetail IoPdD = new IOPaymentDataDetail();
-            DataGridViewEX dgv;
-            try
-            {
-                List<PaymentDataDetail> PdDList = new List<PaymentDataDetail>();
-
-                dgv = getShowingView();
-
-
-                string sWhere = IoPdD.CreatePrimarykeyString(CompanyCode, m_Select_TargetDate, SeqNo, LineCount);
-
-                if (!IoPdD.SelectAction(sWhere, ref PdDList))
-                {
-                    MessageBox.Show("ƒf�[ƒ^Šm”F‚ÉŽ¸”s‚µ‚Ü‚µ‚½", "Œ»�ê�í�œ", MessageBoxButtons.OK, MessageBoxIcon.Error);
-                    return -1;
-                }
-
-                //�@ƒf�[ƒ^‚ª‘¶�Ý‚µ‚Ä‚¢‚é���HŽ–’S“–ŽÒ“ü—Í—“‚ª“ü—Í‚³‚ê‚Ä‚¢‚é
-                return PdDList.Count;
-
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                return -1;
-            }
-            finally
-            {
-                IoPdD.close();
-                IoPdD = null;
-            }
-        }
-        #endregion
-
-        #region ƒf�[ƒ^Žæ“¾Žž�A�‡Œv‹àŠzŽZ�o
-        /// <summary>
-        /// ƒf�[ƒ^Žæ“¾Žž�A�‡Œv‹àŠzŽZ�o
-        /// </summary>
-        /// <param name="dgv">‘Î�ÛƒOƒŠƒbƒh</param>
-        /// <param name="GoukeiCd">�‡Œv’PˆÊ‚ÌƒR�[ƒh</param>
-        private void setGoukei_DataDisp(DataGridViewEX dgv, int GoukeiCd)
-        {
-            try
-            {
-                int iColIndex = 0;
-
-
-                // •K—v�s’Š�o ˜A”Ô�A�s”Ô�†�¸�‡
-                DataGridViewRow[] Rows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×
-                                                                                  && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowVisible].Value) == (int)RowVisibleDef.Visible
-                                                                                  && CommonMotions.cnvInt(x.Cells[m_GoukeiCode_Column].Value) == GoukeiCd)
-                                                                            .OrderBy(y => y.Cells[(int)DispColumn.GroupSeqNo].Value)
-                                                                            .ThenBy(y1 => y1.Cells[(int)DispColumn.LineCount].Value)
-                                                                            .ToArray();
-                foreach (DataGridViewRow row in Rows)
-                {
-                    // ‹¦—Í‹à�Ý’è
-                    SetKyoryokukin(dgv, row.Index, m_GoukeiCode_Column);
-
-                    // ŽŸ‰ñŒJ‰z
-                    dgv[(int)DispColumn.JikaiKurikosi, row.Index].Value = CommonMotions.cnvInt(dgv[(int)DispColumn.SomuSeikyu, row.Index].Value)
-                                                                            - (CommonMotions.cnvInt(dgv[(int)DispColumn.KojiSeikyu, row.Index].Value)
-                                                                            + CommonMotions.cnvInt(dgv[(int)DispColumn.KojiNebiki, row.Index].Value)
-                                                                            + CommonMotions.cnvInt(dgv[(int)DispColumn.KojiSousai, row.Index].Value));
-                }
-
-                ShoukeiSanshutu((int)DispColumn.SomuSeikyu, m_GoukeiCode_Column, GoukeiCd);
-                ShoukeiSanshutu((int)DispColumn.SomuKosoku, m_GoukeiCode_Column, GoukeiCd);
-                ShoukeiSanshutu((int)DispColumn.SomuKanamono, m_GoukeiCode_Column, GoukeiCd);
-                ShoukeiSanshutu((int)DispColumn.SomuSannhaiZei, m_GoukeiCode_Column, GoukeiCd);
-
-                ShoukeiSanshutu((int)DispColumn.KojiSeikyu, m_GoukeiCode_Column, GoukeiCd);
-
-                ShoukeiSanshutu((int)DispColumn.KojiNebiki, m_GoukeiCode_Column, GoukeiCd);
-                ShoukeiSanshutu((int)DispColumn.KojiSousai, m_GoukeiCode_Column, GoukeiCd);
-                ShoukeiSanshutu((int)DispColumn.JikaiKurikosi, m_GoukeiCode_Column, GoukeiCd);
-
-                ShoukeiSanshutu((int)DispColumn.KojiKosoku, m_GoukeiCode_Column, GoukeiCd);
-                ShoukeiSanshutu((int)DispColumn.KojiKanamono, m_GoukeiCode_Column, GoukeiCd);
-                ShoukeiSanshutu((int)DispColumn.KojiSannhaiZei, m_GoukeiCode_Column, GoukeiCd);
-                ShoukeiSanshutu((int)DispColumn.KyoryokuKin, m_GoukeiCode_Column, GoukeiCd);
-
-                // ‘�–±�‡Œv—“
-                iColIndex = (int)DispColumn.SomuKosoku;
-                foreach (RowsTypeDef i in Enum.GetValues(typeof(RowsTypeDef)))
-                {
-                    if (i == RowsTypeDef.–¾�×) continue;
-                    if (i == RowsTypeDef.�¬Œv) continue;
-                    if (i == RowsTypeDef.‹¦—Í‹à) break;
-
-                    // —ñ�Ý’è
-                    int ColIndex = (int)DispColumn.SomuSeikyu;
-
-                    if (i == RowsTypeDef.�Á”ï�Å)
-                    {
-                        // �sŒŸ�õ
-                        int RowIndex = SearchRowIndex(m_GoukeiCode_Column, GoukeiCd, i);
-                        // �¬Œv�sŒŸ�õ
-                        int ShoukeiRowIndex = SearchRowIndex(m_GoukeiCode_Column, GoukeiCd, RowsTypeDef.�¬Œv);
-                        if (ShoukeiRowIndex == -1) return;
-
-                        dgv[ColIndex, RowIndex].Value = CommonMotions.cnvRound(CommonMotions.cnvDouble(dgv[ColIndex, ShoukeiRowIndex].Value)
-                                                                                * (CommonMotions.SystemMasterData.ConsumptionTax / 100));
-                    }
-                    else
-                    {
-                        SetSubGoukei(dgv, ColIndex, iColIndex, m_GoukeiCode_Column, GoukeiCd, i);
-                        iColIndex++;
-                    }
-
-                }
-
-
-                // �HŽ–�‡Œv—“
-                iColIndex = (int)DispColumn.KojiKosoku;
-                foreach (RowsTypeDef i in Enum.GetValues(typeof(RowsTypeDef)))
-                {
-                    if (i == RowsTypeDef.–¾�×) continue;
-                    if (i == RowsTypeDef.�¬Œv) continue;
-
-                    // —ñ�Ý’è
-                    int ColIndex = (int)DispColumn.KojiSeikyu;
-
-                    if (i == RowsTypeDef.�Á”ï�Å)
-                    {
-                        // �sŒŸ�õ
-                        int RowIndex = SearchRowIndex(m_GoukeiCode_Column, GoukeiCd, i);
-                        // �¬Œv�sŒŸ�õ
-                        int ShoukeiRowIndex = SearchRowIndex(m_GoukeiCode_Column, GoukeiCd, RowsTypeDef.�¬Œv);
-
-                        if (RowIndex < 0 || ShoukeiRowIndex < 0) return;
-
-                        dgv[ColIndex, RowIndex].Value = CommonMotions.cnvRound(CommonMotions.cnvDouble(dgv[ColIndex, ShoukeiRowIndex].Value)
-                                                                                * (CommonMotions.SystemMasterData.ConsumptionTax / 100));
-                    }
-                    else
-                    {
-                        SetSubGoukei(dgv, ColIndex, iColIndex, m_GoukeiCode_Column, GoukeiCd, i);
-                        iColIndex++;
-                    }
-
-                }
-
-                // �Å�I�‡Œv
-                setGoukei(m_GoukeiCode_Column, GoukeiCd);
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region ‹¦—Í‹à•\Ž¦
-        /// <summary>
-        /// ‹¦—Í‹à•\Ž¦
-        /// </summary>
-        /// <param name="dgv"></param>
-        /// <param name="RowIndex"></param>
-        /// <param name="Code_Column"></param>
-        private void SetKyoryokukin(DataGridViewEX dgv, int RowIndex, int Code_Column)
-        {
-            try
-            {
-                DataGridViewRow CurRow = dgv.Rows[RowIndex];
-                if (CurRow == null) return;
-                if (dgv.CurrentRow == null) return;
-
-                if (RowIndex < 0) return;
-
-                // ‹¦—Í‹à—L–³�w�›�x
-                if (CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.KyoryokuUmu].Value) == 1)
-                {
-                    double wrkValue = CommonMotions.cnvDouble(CurRow.Cells[(int)DispColumn.KojiSeikyu].Value);
-                    double dCooperationRate = (CommonMotions.SystemMasterData.CooperationRate / 100);
-                    CurRow.Cells[(int)DispColumn.KyoryokuKin].Value = CommonMotions.cnvRound(wrkValue * dCooperationRate);
-                }
-                else
-                {
-                    CurRow.Cells[(int)DispColumn.KyoryokuKin].Value = "";
-                }
-
-                // �¬ŒvŽZ�o
-                ShoukeiSanshutu((int)DispColumn.KyoryokuKin, Code_Column, CommonMotions.cnvInt(CurRow.Cells[Code_Column].Value));
-
-                // �‡Œv’lŽZ�o
-                SetSubGoukei(dgv, (int)DispColumn.KojiSeikyu, (int)DispColumn.KyoryokuKin, Code_Column, CommonMotions.cnvInt(CurRow.Cells[Code_Column].Value), RowsTypeDef.‹¦—Í‹à);
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region ƒTƒu�‡Œv’l�Ý’è
-        /// <summary>
-        /// ƒTƒu�‡Œv’l�Ý’è
-        /// </summary>
-        /// <param name="dgv">‘Î�ÛƒOƒŠƒbƒh</param>
-        /// <param name="ColIndex">‘Î�Û—ñƒCƒ“ƒfƒbƒNƒX</param>
-        /// <param name="Code_Column">�‡Œv‚·‚é’PˆÊ‚Ì—ñ”Ô�†</param>
-        /// <param name="Code">�‡Œv‚·‚é’PˆÊ‚Ì—ñ‚Ì’l</param>
-        /// <param name="SetRow">‘Î�Û�‡Œv�s</param>
-        private void SetSubGoukei(DataGridViewEX dgv, int ColIndex, int GetColIndex, int Code_Column, int Code, RowsTypeDef SetRow)
-        {
-            try
-            {
-                // �sŒŸ�õ
-                int RowIndex = SearchRowIndex(Code_Column, Code, SetRow);
-                // �¬Œv�sŒŸ�õ
-                int GetRowIndex = SearchRowIndex(Code_Column, Code, RowsTypeDef.�¬Œv);
-
-                if (RowIndex < 0 || GetRowIndex < 0) return;
-
-                dgv[ColIndex, RowIndex].Value = dgv[GetColIndex, GetRowIndex].Value;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region �¬ŒvŽZ�o
-        /// <summary>
-        /// �¬ŒvŽZ�o
-        /// </summary>
-        /// <param name="TargetColumn"></param>
-        /// <param name="CompanyCode_Column"></param>
-        /// <param name="CompanyCode"></param>
-        private void ShoukeiSanshutu(int TargetColumn, int Code_Column, int Code)
-        {
-            DataGridViewEX dgv = getShowingView();
-            try
-            {
-                if (dgv.RowCount <= 1) return;
-                // �s�E—ñ‚ª”ÍˆÍŠO‚Í�ˆ—�‚µ‚È‚¢
-                if (TargetColumn < (int)DispColumn.SomuSeikyu) return;
-                if ((int)DispColumn.KyoryokuUmu <= TargetColumn) return;
-
-                // �¬Œv�sŒŸ�õ
-                int ShoukeiRowIndex = SearchRowIndex(Code_Column, Code, RowsTypeDef.�¬Œv);
-                if (ShoukeiRowIndex == -1) return;
-
-                int Shoukei = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[Code_Column].Value) == Code
-                                                                            && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×
-                                                                            && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowVisible].Value) == (int)RowVisibleDef.Visible)
-                                                                .Sum(y => CommonMotions.cnvInt(y.Cells[TargetColumn].Value));
-
-                dgv[TargetColumn, ShoukeiRowIndex].Value = Shoukei;
-
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-
-        }
-        #endregion
-
-        #region �‡Œv�s
-        /// <summary>
-        /// �‡Œv�s
-        /// </summary>
-        /// <param name="CompanyCode_Column">‘Î�Û‹ÆŽÒƒR�[ƒh—ñ”Ô�†</param>
-        /// <param name="CompanyCode">‘Î�Û‹ÆŽÒƒR�[ƒh</param>
-        private void setGoukei(int CompanyCode_Column, int CompanyCode)
-        {
-            try
-            {
-                DataGridViewEX dgv = getShowingView();
-
-                // �Ý’è�sŒŸ�õ
-                int RowIndex = SearchRowIndex(CompanyCode_Column, CompanyCode, RowsTypeDef.�‡Œv);
-                if (RowIndex < 0) return;
-
-                int SoumuKei = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[CompanyCode_Column].Value) == CompanyCode &&
-                                                                                                                    ((int)x.Cells[(int)DispColumn.RowType].Value == (int)RowsTypeDef.�¬Œv ||
-                                                                                                                     (int)x.Cells[(int)DispColumn.RowType].Value == (int)RowsTypeDef.�Á”ï�Å ||
-                                                                                                                     (int)x.Cells[(int)DispColumn.RowType].Value == (int)RowsTypeDef.�‚‘¬‘ã ||
-                                                                                                                     (int)x.Cells[(int)DispColumn.RowType].Value == (int)RowsTypeDef.‹à•¨‘ã ||
-                                                                                                                     (int)x.Cells[(int)DispColumn.RowType].Value == (int)RowsTypeDef.ŽY”p�Å))
-                                                               .Sum(y => CommonMotions.cnvInt(y.Cells[(int)DispColumn.SomuSeikyu].Value));
-                dgv[(int)DispColumn.SomuSeikyu, RowIndex].Value = SoumuKei;
-
-                int KojiKei = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[CompanyCode_Column].Value) == CompanyCode &&
-                                                                                                                    ((int)x.Cells[(int)DispColumn.RowType].Value == (int)RowsTypeDef.�¬Œv ||
-                                                                                                                     (int)x.Cells[(int)DispColumn.RowType].Value == (int)RowsTypeDef.�Á”ï�Å ||
-                                                                                                                     (int)x.Cells[(int)DispColumn.RowType].Value == (int)RowsTypeDef.�‚‘¬‘ã ||
-                                                                                                                     (int)x.Cells[(int)DispColumn.RowType].Value == (int)RowsTypeDef.‹à•¨‘ã ||
-                                                                                                                     (int)x.Cells[(int)DispColumn.RowType].Value == (int)RowsTypeDef.ŽY”p�Å))
-                                                               .Sum(y => CommonMotions.cnvInt(y.Cells[(int)DispColumn.KojiSeikyu].Value));
-                KojiKei = KojiKei - CommonMotions.cnvInt(dgv[(int)DispColumn.KojiSeikyu, SearchRowIndex(CompanyCode_Column, CompanyCode, RowsTypeDef.‹¦—Í‹à)].Value);
-                dgv[(int)DispColumn.KojiSeikyu, RowIndex].Value = KojiKei;
-
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region �‡Œv�s�ì�¬
-        /// <summary>
-        /// �‡Œv�s�ì�¬
-        /// </summary>
-        /// <param name="dgv">‘Î�ÛƒOƒŠƒbƒh</param>
-        /// <param name="GoukeiCD">�‡Œv’PˆÊƒR�[ƒh</param>
-        /// <param name="DispOrder">‹¦—Í‰ïŽÐ•\Ž¦�‡</param>
-        /// <param name="StartIndex">�s�ì�¬ˆÊ’u</param>
-        private void MakeGoukeiGyo(DataGridViewEX dgv, int GoukeiCD, int DispOrder = 0, int StartIndex = -1)
-        {
-            try
-            {
-                int cnt = 0;
-                if (StartIndex != -1)
-                {
-                    cnt = StartIndex;
-                }
-
-                DataGridViewRow[] list = new DataGridViewRow[(int)RowsTypeDef.�‡Œv];
-                foreach (RowsTypeDef i in Enum.GetValues(typeof(RowsTypeDef)))
-                {
-                    // –¾�×‚Í‘Î�ÛŠO
-                    if (i == RowsTypeDef.–¾�×) continue;
-
-                    DataGridViewRow row = new DataGridViewRow();
-                    row.CreateCells(dgv);
-
-                    string Money = "";
-                    if (i == RowsTypeDef.�¬Œv)
-                    {
-                        Money = "0";
-                    }
-
-                    if (rdbCompany.Checked)
-                    {
-                        row.SetValues(new object[] { DispOrder,
-                                                        "",
-                                                        "",
-                                                        DataRowState.Unchanged,
-                                                        1,
-                                                        (int)i,
-                                                        0,
-                                                        0,
-                                                        0,
-                                                        "",
-                                                        GoukeiCD,
-                                                        "",
-                                                        "",
-                                                        "",
-                                                        "",     // ’Ç‰Á�@2017/9/11
-                                                        Enum.GetName(typeof(RowsTypeDef), i),
-                                                        0,
-                                                        Money,
-                                                        Money,
-                                                        Money,
-                                                        0,
-                                                        Money,
-                                                        Money,
-                                                        Money,
-                                                        Money,
-                                                        Money,
-                                                        Money,
-                                                        "",
-                                                        0,
-                                                        -1,
-                                                        "", "", "", "", "", "", "", "", "", "", "", "", "", "", "" });
-                    }
-                    else
-                    {
-                        row.SetValues(new object[] { DispOrder,
-                                                        "",
-                                                        "",
-                                                        DataRowState.Unchanged,
-                                                        1,
-                                                        (int)i,
-                                                        0,
-                                                        0,
-                                                        0,
-                                                        "",
-                                                        GoukeiCD,
-                                                        "",
-                                                        "",
-                                                        "",
-                                                        "",     // ’Ç‰Á�@2017/9/11
-                                                        Enum.GetName(typeof(RowsTypeDef), i),
-                                                        0,
-                                                        Money,
-                                                        Money,
-                                                        Money,
-                                                        0,
-                                                        Money,
-                                                        Money,
-                                                        Money,
-                                                        Money,
-                                                        Money,
-                                                        Money,
-                                                        "",
-                                                        0,
-                                                        -1,
-                                                        "", "", "", "", "", "", "", "", "", "", "", "", "", "", "" });
-                    }
-                    row.ReadOnly = true;
-                    switch (i)
-                    {
-                        case RowsTypeDef.�¬Œv:
-                            //row.DefaultCellStyle.BackColor = Color.Khaki;
-                            row.DefaultCellStyle.BackColor = Color.LightGoldenrodYellow;
-                            break;
-                        case RowsTypeDef.�‡Œv:
-                            //row.DefaultCellStyle.BackColor = Color.Yellow;
-                            row.DefaultCellStyle.BackColor = Color.DarkGray;
-                            break;
-                        default:
-                            //row.DefaultCellStyle.BackColor = Color.Aqua;
-                            row.DefaultCellStyle.BackColor = Color.LightGray;
-                            break;
-                    }
-
-                    if (StartIndex != -1)
-                    {
-                        dgv.Rows.Insert(cnt++, row);
-                    }
-                    else
-                    {
-                        list[(int)i - 1] = row;
-                    }
-                }
-
-                if (StartIndex == -1)
-                {
-                    dgv.Rows.AddRange(list);
-                }
-
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-
-        }
-        #endregion
-
-        #region ’�•¶�‘—X‘—�E’�•¶�‘•Ô‘—�E—\ŽZ�‘‚Ì’lŽæ“¾
-        /// <summary>
-        /// ’�•¶�‘—X‘—�E’�•¶�‘•Ô‘—�E—\ŽZ�‘‚Ì’lŽæ“¾
-        /// </summary>
-        /// <param name="IoCbi"></param>
-        /// <param name="ConstructionCode"></param>
-        /// <param name="arData"></param>
-        /// <returns></returns>
-        private bool GetMarubatu(IOConstructionBaseInfo IoCbi, int ConstructionCode, ref ArrayList arData)
-        {
-            StringBuilder sql = new StringBuilder();
-
-            try
-            {
-                sql.AppendLine("select  ");
-                sql.AppendLine(" case ifnull(");
-                sql.AppendLine("     DATE_FORMAT(Cbi.PurchaseOrderMailingDate, '%Y/%m/%d')");
-                sql.AppendFormat(", '{0}')", DateTime.MinValue.ToShortDateString());
-                sql.AppendFormat("     when '{0}' then '�~' else '�›'  ", DateTime.MinValue.ToShortDateString());
-                sql.AppendLine(" end as PurchaseOrderMailingDate, /*’�•¶�‘—X‘—“ú*/ ");
-                sql.AppendLine(" case ifnull(");
-                sql.AppendLine("     DATE_FORMAT(Cbi.PurchaseOrderReturnDate, '%Y/%m/%d')");
-                sql.AppendFormat(", '{0}')", DateTime.MinValue.ToShortDateString());
-                sql.AppendFormat("     when '{0}' then '�~' else '�›'  ", DateTime.MinValue.ToShortDateString());
-                sql.AppendLine(" end as PurchaseOrderReturnDate,  /*’�•¶�‘•Ô‘—“ú*/ ");
-                sql.AppendLine(" case ifnull(Pa.PERSONCODE,0) when 0 then '�~' /* —\ŽZ�‘ */ ");
-                sql.AppendLine("							  else '�›'   ");
-                sql.AppendLine(" end as PaData   ");
-                sql.AppendLine(" from ConstructionBaseInfo as Cbi");
-                sql.AppendLine(" left join (PersonInChargeMaster as Picm2");
-                sql.AppendLine("      left join ApprovalMaster as Am");
-                sql.AppendLine("           on Picm2.DEPARTMENTCODE = Am.DEPARTMENTCODE");
-                sql.AppendLine("           and Am.ApprovalCode = 3");
-                sql.AppendLine("           and ApprovalAuthority = 1)");
-                sql.AppendLine(" on Cbi.ConstructionPersonCode = Picm2.PERSONCODE  ");
-                sql.AppendLine(" left join ProcessApproval as Pa");
-                sql.AppendLine(" on Cbi.CONSTRUCTIONCODE = Pa.CONSTRUCTIONCODE");
-                sql.AppendLine(" and Am.APPROVALPERSON = Pa.PERSONCODE");
-                sql.AppendLine(" and Pa.SEQNO > 1");
-                sql.AppendLine(" and Pa.APPROVALSTATUS = 2 ");
-                sql.AppendFormat("where Cbi.CONSTRUCTIONCODE = {0} ", ConstructionCode);
-                sql.AppendLine("group by Cbi.PurchaseOrderMailingDate, ");
-                sql.AppendLine("Cbi.PurchaseOrderReturnDate, ");
-                sql.AppendLine("Pa.PERSONCODE ");
-
-                // SQLŽÀ�s
-                if (!IoCbi.ExecuteReader(sql.ToString(), ref arData)) return false;
-                if (arData.Count == 0) return false;
-
-                return true;
-
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                return false;
-            }
-        }
-
-        #endregion
-
-        #region �s”Ô�†Žæ“¾
-        /// <summary>
-        /// �s”Ô�†Žæ“¾
-        /// </summary>
-        private int getNewIndexNo()
-        {
-            try
-            {
-                DataGridViewEX dgv = getShowingView();
-                return dgv.Rows.Count;
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                return 0;
-            }
-        }
-        #endregion
-
-        #region ‘Î�Û”NŒŽ“ú‚ðŽæ“¾‚·‚é
-        /// <summary>
-        /// ‘Î�Û”NŒŽ“ú‚ðŽæ“¾‚·‚é
-        /// </summary>
-        /// <returns></returns>
-        private DateTime GetTargetDate()
-        {
-            DateTime OrderDate = DateTime.MinValue;
-            try
-            {
-                // ‘Î�ÛŒŽŽæ“¾
-                string strSelMonth = CommonMotions.cnvString(cmbTargetMonth.SelectedValue);
-                if (strSelMonth.Length == 0) return OrderDate;
-                OrderDate = new DateTime(CommonMotions.cnvInt(strSelMonth.Substring(0, 4)), CommonMotions.cnvInt(strSelMonth.Substring(4, 2)), 1);
-
-                return OrderDate;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                return OrderDate;
-            }
-        }
-        #endregion
-
-        #region �³”Fƒ{ƒ^ƒ“‚Ì•\Ž¦�§Œä
-        /// <summary>
-        /// �³”Fƒ{ƒ^ƒ“‚Ì•\Ž¦�§Œä
-        /// </summary>
-        private void ApprovalDispControl()
-        {
-            try
-            {
-                // �\�¿�E�³”F•\Ž¦�ˆ—�
-                InitApprovalDisplay();
-
-                // �³”F‰æ–Ê‚Ì�u�³”F‘Î�Ûƒf�[ƒ^‚ðŒ©‚é�v‚©‚ç‚Ì‹N“®Žž‚Í�³”Fƒ{ƒ^ƒ“‚Ì•\Ž¦‚ª‚ ‚é
-                bool bApproval = ClsCommonApproval.ExceApprovalScreen();
-                if (!bApproval) return;
-
-                // �³”F‘Î�ÛƒR�[ƒh‚ðŽæ“¾‚·‚é
-                int ApprovalCode = ClsExcute.AppovalList.First(x => x.Value.Equals(s_MyProcessName[m_Labourkind])).Key;
-                // �HŽ–ˆÄŒ�‚ÌŠÇ—�•”��‚ðŽæ“¾‚·‚é
-                int DepartmentCode = CommonMotions.LoginUserData.DepartmentCode;
-                // ˆÄŒ�‚É‘Î‚µ‚Ä�\�¿‚ª‚³‚ê‚Ä‚¢‚é‚©‚ðŠm”F‚·‚é
-                bool Pettition = false;
-                if (!m_FirstFlg)
-                {
-                    Pettition = ClsCommonApproval.CheckPersonPetition(m_PaymentPersonCode, ApprovalCode, m_OrderDate, m_ParaTargetSeqNo);
-                }
-                // ƒ�ƒOƒCƒ“ŽÒ‚ª�³”FŽÒ‚©‚ðŠm”F‚·‚é
-                bool Approvaler = ClsCommonApproval.CheckUserForApprover(ApprovalCode, DepartmentCode);
-                // �\�¿’†‚Åƒ�ƒOƒCƒ“ŽÒ‚ª�³”FŽÒ‚Ì�ê�‡‚Í�³”Fƒ{ƒ^ƒ“‚ð•\Ž¦‚·‚é
-                if (Pettition && Approvaler)
-                {
-                    pnlApprovalButton.Visible = true;
-                }
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region �‰ŠúŽž�\�¿�E�³”F•\Ž¦�ˆ—�
-        /// <summary>
-        /// �‰ŠúŽž�\�¿�E�³”F•\Ž¦�ˆ—�
-        /// </summary>
-        private void InitApprovalDisplay()
-        {
-            try
-            {
-                // ‘Î�ÛŒŽ‚ª�Ý’è‚³‚ê‚Ä‚¢‚È‚¯‚ê‚Î�ˆ—�‚µ‚È‚¢
-                DateTime OrderDate = GetTargetDate();
-                if (OrderDate == DateTime.MinValue) return;
-
-                // �³”FƒR�[ƒhŽæ“¾
-                int iApprovalCode = ClsExcute.AppovalList.First(x => x.Value.Equals(s_MyProcessName[m_Labourkind])).Key;
-
-                // ‹N“®Œ³‚ÌƒŠƒXƒg‚É�³”F‰æ–Ê‚ª‚ ‚ê‚Î•\Ž¦‚µ‚È‚¢
-                if (ClsCommonApproval.ExceApprovalScreen())
-                {
-                    pnlApproval.Visible = false;
-                }
-
-                // �³”Fƒ{ƒ^ƒ“�EŒ��”‚Ì”ñ•\Ž¦
-                btnApproval.Visible = false;
-                lblApprovalCount.Visible = false;
-
-                // ----- �‰ŠúŽž‚Í�\�¿ƒ{ƒ^ƒ“‚ÌƒTƒCƒY‚ð�Å‘å‚É‚·‚é
-                btnPetition.Size = new Size(250, btnPetition.Size.Height);
-
-                int OrderNo = (int)CommonDefine.s_Default_OrderNo;
-                // ----- ’S“–ŽÒƒR�[ƒh�E�³”F‹@”\”Ô�†Žæ“¾�i�\�¿ƒŒƒR�[ƒh‚ª‚È‚¢�ê�‡‚Í–¢�\�¿�j
-                if (!ClsCommonApproval.CheckPersonPetition(CommonMotions.LoginUserData.PersonCode,
-                                                                iApprovalCode,
-                                                                OrderDate,
-                                                                OrderNo)) return;
-
-                // ----- �\�¿�Ï‚Ì�ê�‡
-                // �\�¿ƒ{ƒ^ƒ“‚Ì•\Ž¦
-                btnPetition.Text = CommonDefine.PetitionButtonString[1];
-                btnPetition.ForeColor = Color.Black;
-                btnPetition.Size = btnApproval.Size;
-                btnPetition.Enabled = false;
-
-                // �³”Fƒ{ƒ^ƒ“‚Ì•\Ž¦
-                btnApproval.Visible = true;
-
-                // ----- �³”F�Ï‚Ì�ê�‡
-                if (ClsCommonApproval.CheckPersonApproval(CommonMotions.LoginUserData.PersonCode, iApprovalCode, OrderDate, OrderNo))
-                {
-                    btnApproval.Text = CommonDefine.ApprovalButtonString[1];
-                    btnApproval.ForeColor = Color.Black;
-                    // �³”F�Ï‚Ý‚Ì�ê�‡‚Í“ü—Í‚Å‚«‚È‚¢
-                    //ExecReadOnly();
-                    // �³”F�Ï‚Ý‚Ì�ê�‡‚ÍŽQ�Æƒ�ƒbƒN‚ðŠ|‚¯‚é
-                    m_EditLock = true;
-                    //// �³”F�Ï‚Ýƒtƒ‰ƒOON
-                    //m_ApprovalFlag = true;
-                }
-
-                // �³”FŒ��”‚Ì•\Ž¦
-                lblApprovalCount.Visible = true;
-                SetApprovalCount();
-
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region �³”F�”•\Ž¦
-        /// <summary>
-        /// �³”FŒ��”‚ÌƒZƒbƒg
-        /// </summary>
-        private void SetApprovalCount()
-        {
-            try
-            {
-                // ‘Î�ÛŒŽ‚ª�Ý’è‚³‚ê‚Ä‚¢‚È‚¯‚ê‚Î�ˆ—�‚µ‚È‚¢
-                DateTime OrderDate = GetTargetDate();
-                if (OrderDate == DateTime.MinValue) return;
-
-                // �‰Šú’lƒZƒbƒg
-                lblApprovalCount.Text = "";
-
-                // ’S“–ŽÒƒR�[ƒh�E�³”F‹@”\”Ô�†Žæ“¾
-                int iApprovalCode = ClsExcute.AppovalList.First(x => x.Value.Equals(s_MyProcessName[m_Labourkind])).Key;
-                // ’S“–•”��Žæ“¾
-                int DepartmentCode = ClsCommonApproval.GetFromPersonAndApprovalTheDepartment(CommonMotions.LoginUserData.PersonCode, iApprovalCode, OrderDate, 1);
-
-                // �³”Fƒf�[ƒ^Žæ“¾
-                int ApprovalCount = ClsCommonApproval.GetPersonApprovalDataCount(CommonMotions.LoginUserData.PersonCode, iApprovalCode, OrderDate);
-
-                // �³”FŒo˜Hƒ}ƒXƒ^Žæ“¾
-                int MasterCount = ClsCommonApproval.GetApprovalMasterCount(iApprovalCode, DepartmentCode);
-
-                // �‰Šú’lƒZƒbƒg
-                lblApprovalCount.Text = string.Format("{0}/{1}", ApprovalCount, MasterCount);
-
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region Žx•¥�³”F�î•ñƒf�[ƒ^ƒpƒ‰ƒ�ƒ^ƒZƒbƒg�ˆ—�
-        /// <summary>
-        /// Žx•¥�³”F�î•ñƒf�[ƒ^ƒpƒ‰ƒ�ƒ^ƒZƒbƒg�ˆ—�
-        /// </summary>
-        /// <param name="dgv"></param>
-        /// <param name="NowPoint"></param>
-        private void SetApprovalInfoData(ref ArrayList DataList, bool bPettion = false)
-        {
-            try
-            {
-                int CompanyCode = 0;
-                int LineCount = 0;
-                int SeqNo = 0;
-
-                //int ApprovalNo = 0;
-                //int ApprovalPerson = 0;
-                int PettionPerson = GetConstrPersonCode();
-                string ApprovalPersonName = string.Empty;
-                //int ApprovalAuthority = 0;
-                DateTime dtApproval = DateTime.MinValue;
-
-                DataGridViewEX dgv = getShowingView();
-                foreach (DataGridViewRow CurRow in dgv.Rows)
-                {
-                    // ”ñ•\Ž¦�s‚Í‘Î�ÛŠO
-                    if (!CurRow.Visible) continue;
-
-                    CompanyCode = CommonMotions.cnvInt(CurRow.Cells[m_Company_DispColumn].Value);
-                    LineCount = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.LineCount].Value);
-                    SeqNo = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.GroupSeqNo].Value);
-                    if (CompanyCode == 0) continue;
-
-                    // �\�¿‘Î�Û‚Ì‚ÝƒZƒbƒg‚·‚é
-                    if (PettionPerson != CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.TantoShoninCode].Value)) continue;
-
-                    PaymentApprovalInfo DataRec = new PaymentApprovalInfo();
-                    DataRec.CompanyCode = CompanyCode;                  // ‹¦—Í‰ïŽÐƒR�[ƒh
-                    DataRec.TargetDate = m_Select_TargetDate;           // ‘Î�Û”NŒŽ
-                    DataRec.SeqNo = SeqNo;                              // ˜A”Ô
-                    DataRec.LineCount = LineCount;                      // �s”Ô�†
-
-                    DataList.Add(DataRec);
-                }
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region ƒRƒ“ƒ{ƒ{ƒbƒNƒX‚Ì�F‚ðƒZƒbƒg‚·‚é
-        /// <summary>
-        /// ƒRƒ“ƒ{ƒ{ƒbƒNƒX‚Ì�F‚ðƒZƒbƒg‚·‚é
-        /// </summary>
-        private void SetCombBoxColor(Color[] cForeColor, Color[] cBackColor)
-        {
-            try
-            {
-                cmbDepartment.BackColor = cBackColor[0];
-                cmbPerson.BackColor = cBackColor[1];
-                cmbDepartment.ForeColor = cForeColor[0];
-                cmbPerson.ForeColor = cForeColor[1];
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region ƒRƒ“ƒ{ƒ{ƒbƒNƒX‚ª‘I‘ð‚³‚ê‚Ä‚¢‚é‚©‚Ìƒ`ƒFƒbƒN
-        /// <summary>
-        /// ƒRƒ“ƒ{ƒ{ƒbƒNƒX‚ª‘I‘ð‚³‚ê‚Ä‚¢‚é‚©‚Ìƒ`ƒFƒbƒN
-        /// </summary>
-        private bool CmbDataSelectCheck()
-        {
-            try
-            {
-                int SelDepCode = GetDepartmentCode();
-                int SelPersonCode = GetConstrPersonCode();
-
-                // •”���E’S“–ŽÒ‚ª‘I‘ð‚³‚ê‚Ä‚¢‚ê‚ÎOK
-                if (SelDepCode != 0 && SelPersonCode != 0) return true;
-
-                bool bAns = true;
-                string strMessage = string.Empty;
-                Color[] cBackColor = new Color[] { Color.White, Color.White };
-                Color[] cForeColor = new Color[] { Color.Black, Color.Black };
-                // ƒRƒ“ƒ{ƒ{ƒbƒNƒX‚Ì�F‚ðƒZƒbƒg‚·‚é
-                SetCombBoxColor(cForeColor, cBackColor);
-                
-                if (SelDepCode == 0 && SelPersonCode == 0)
-                {
-                    for (int i = 0; i < 2; i++)
-                    {
-                        cBackColor[i] = Color.Red;
-                        cForeColor[i] = Color.White;
-                    }
-                    strMessage = "•”���E’S“–ŽÒ‚ª‘I‘ð‚³‚ê‚Ä‚¢‚Ü‚¹‚ñ�B";
-                    bAns = false;
-                }
-                else if (SelDepCode == 0 && SelPersonCode != 0)
-                {
-                    cBackColor[0] = Color.Red;
-                    cForeColor[0] = Color.White;
-                    strMessage = "•”��‚ª‘I‘ð‚³‚ê‚Ä‚¢‚Ü‚¹‚ñ�B";
-                    bAns = false;
-                }
-                else if (SelDepCode != 0 && SelPersonCode == 0)
-                {
-                    cBackColor[1] = Color.Red;
-                    cForeColor[1] = Color.White;
-                    strMessage = "’S“–ŽÒ‚ª‘I‘ð‚³‚ê‚Ä‚¢‚Ü‚¹‚ñ�B";
-                    bAns = false;
-                }
-                if (!bAns)
-                {
-                    // ƒRƒ“ƒ{ƒ{ƒbƒNƒX‚Ì�F‚ðƒZƒbƒg‚·‚é
-                    SetCombBoxColor(cForeColor, cBackColor);
-                    MessageBox.Show(strMessage, "‘I‘ðƒGƒ‰�[", MessageBoxButtons.OK, MessageBoxIcon.Error);
-                    return bAns;
-                }
-
-                DataGridViewEX dgv = getShowingView();
-                int nSelCnt = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowVisible].Value) == (int)RowVisibleDef.Visible
-                                                                            && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×)
-                                                                            .Count();
-                if (nSelCnt < 1)
-                {
-                    MessageBox.Show("�\�¿�s‚ª‘¶�Ý‚µ‚Ü‚¹‚ñ�B", "‘I‘ðƒGƒ‰�[", MessageBoxButtons.OK, MessageBoxIcon.Error);
-                    return false;
-                }
-
-                return true;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                return false;
-            }
-        }
-        #endregion
-
-        #region �\�¿ƒ{ƒ^ƒ“‰Ÿ‰º�ˆ—�
-        /// <summary>
-        /// �\�¿ƒ{ƒ^ƒ“‰Ÿ‰º�ˆ—�
-        /// </summary>
-        private void PetitionProcess()
-        {
-            try
-            {
-                // ƒf�[ƒ^“o˜^
-                if (!DataEntryProcess()) return;
-
-                // ‘Î�ÛƒOƒŠƒbƒhŽæ“¾
-                DataGridViewEX dgv = getShowingView();
-                // ‹N“®”Ô�†
-                int NowPoint = ClsExcute.NextProcess((int)ClsExcute.SubFormExecuteNo.ApprovalPerson);
-                // ’S“–ŽÒƒR�[ƒh
-                ClsExcute.ProcControlPara[NowPoint].IntExecParameter.Add(GetConstrPersonCode());
-                // �³”F‹@”\”Ô�†
-                int iApprovalCode = ClsExcute.AppovalList.First(x => x.Value.Equals(s_MyProcessName[m_Labourkind])).Key;
-                ClsExcute.ProcControlPara[NowPoint].IntExecParameter.Add(iApprovalCode);
-                // Žó•t“ú
-                ClsExcute.ProcControlPara[NowPoint].DateExecParameter.Add(GetTargetDate());
-                // Žó•t”Ô�†
-                int nSeqNo = CommonMotions.cnvInt(dgv.Rows[0].Cells[(int)DispColumn.GroupSeqNo].Value);
-                ClsExcute.ProcControlPara[NowPoint].IntExecParameter.Add(nSeqNo);
-
-                // ----- Žx•¥�³”F�î•ñƒf�[ƒ^ƒZƒbƒg
-                ArrayList DataList = new ArrayList();
-                ClsExcute.ProcControlPara[NowPoint].ArrayParameter.Clear();
-                SetApprovalInfoData(ref DataList, true);
-                if (DataList.Count > 0) ClsExcute.ProcControlPara[NowPoint].ArrayParameter.Add(DataList);
-
-                m_CloseingProcessOff = false;
-                // Ž©ƒtƒH�[ƒ€�I—¹
-                this.Close();
-
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region •\Ž¦ƒOƒŠƒbƒh‚æ‚è’S“–ŽÒ‚ðŽæ“¾‚·‚é
-        /// <summary>
-        /// •\Ž¦ƒOƒŠƒbƒh‚æ‚è’S“–ŽÒ‚ðŽæ“¾‚·‚é
-        /// </summary>
-        /// <returns></returns>
-        private int GetDataPersonCode()
-        {
-            try
-            {
-                DataGridViewEX dgv = getShowingView();
-                int nPersonCode = 0;
-
-                foreach (DataGridViewRow CurRow in dgv.Rows)
-                {
-                    // •\Ž¦�s‚Í‘Î�ÛŠO
-                    if (!CurRow.Visible) continue;
-                    
-                    nPersonCode = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.TantoShoninCode].Value);
-                    // –³Œø”Ô�†‚Í‘Î�ÛŠO
-                    if (nPersonCode == 0) continue;
-                    break;
-                }
-
-                return nPersonCode;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                return CommonMotions.LoginUserData.PersonCode;
-            }
-        }
-        #endregion
-
-        #region �³”Fƒ{ƒ^ƒ“‰Ÿ‰º�ˆ—�
-        /// <summary>
-        /// �³”Fƒ{ƒ^ƒ“‰Ÿ‰º�ˆ—�
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void ApprovalProcess()
-        {
-            try
-            {
-                // ƒf�[ƒ^“o˜^
-                if (!DataEntryProcess()) return;
-
-                // ‹N“®”Ô�†
-                int NowPoint = ClsExcute.NextProcess((int)ClsExcute.SubFormExecuteNo.ApprovalPerson);
-
-                // ’S“–ŽÒƒR�[ƒh
-                ClsExcute.ProcControlPara[NowPoint].IntExecParameter.Add(GetDataPersonCode());
-
-                // �³”F‹@”\”Ô�†
-                int iApprovalCode = ClsExcute.AppovalList.First(x => x.Value.Equals(s_MyProcessName[m_Labourkind])).Key;
-                ClsExcute.ProcControlPara[NowPoint].IntExecParameter.Add(iApprovalCode);
-
-                // Žó•t“ú
-                ClsExcute.ProcControlPara[NowPoint].DateExecParameter.Add(GetTargetDate());
-
-                // Žó•t”Ô�†
-                ClsExcute.ProcControlPara[NowPoint].IntExecParameter.Add(CommonDefine.s_Default_OrderNo);
-
-                // ----- Žx•¥�³”F�î•ñƒf�[ƒ^
-                ArrayList DataList = new ArrayList();
-                ClsExcute.ProcControlPara[NowPoint].ArrayParameter.Clear();
-                SetApprovalInfoData(ref DataList);
-                if (DataList.Count > 0) ClsExcute.ProcControlPara[NowPoint].ArrayParameter.Add(DataList);
-
-                // Ž©ƒtƒH�[ƒ€�I—¹
-                this.Close();
-                // ˆê‹C‚Éƒ�ƒjƒ…�[‚Ö
-                ClsExcute.ClearProcess();
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region �³”Fƒpƒlƒ‹�ipnlApproval�j�³”Fƒ{ƒ^ƒ“‰Ÿ‰º�ˆ—�
-        /// <summary>
-        /// �³”Fƒpƒlƒ‹�ipnlApproval�j�³”Fƒ{ƒ^ƒ“‰Ÿ‰º�ˆ—�
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void OnApprovalProcess()
-        {
-            FrmApprovalPerson frm = new FrmApprovalPerson();
-            try
-            {
-                string strMsg = string.Format("{0}‚ð�³”F‚µ‚Ü‚·�A‚æ‚ë‚µ‚¢‚Å‚·‚©�H", s_MyProcessName[m_Labourkind]);
-                if (MessageBox.Show(strMsg, "�³”FŠm”F"
-                                , MessageBoxButtons.YesNo, MessageBoxIcon.Information) == DialogResult.No) return;
-
-                // ’S“–ŽÒƒR�[ƒh
-                frm.PersonCode = GetDataPersonCode();
-                // �³”F‹@”\”Ô�†ƒZƒbƒg
-                frm.ApprovalCode = ClsExcute.AppovalList.First(x => x.Value.Equals(s_MyProcessName[m_Labourkind])).Key;
-                // Žó•t“ú
-                frm.OrderDate = GetTargetDate();
-                // Žó•t”Ô�†
-                frm.OrderNo = CommonDefine.s_Default_OrderNo;
-
-                // ----- Žx•¥�³”F�î•ñƒf�[ƒ^
-                ArrayList DataList = new ArrayList();
-                frm.ArrayParam.Clear();
-                SetApprovalInfoData(ref DataList);
-                if (DataList.Count > 0) frm.ArrayParam.Add(DataList);
-
-                // �\�¿�E�³”FƒŒƒR�[ƒh�X�V
-                if (!frm.ApprovalDataUpDate((int)CommonDefine.ApprovalStatus.Approval, false))
-                {
-                    MessageBox.Show("�³”F‚ÉŽ¸”s‚µ‚Ü‚µ‚½�B", "�³”FƒGƒ‰�[", MessageBoxButtons.OK, MessageBoxIcon.Error);
-                    return;
-                }
-
-                // Š®—¹ƒ�ƒbƒZ�[ƒW
-                CommonMotions.EntryEndMessage("�³”F", "");
-
-                // ‰æ–ÊƒNƒ��[ƒY
-                this.Close();
-                // ˆê‹C‚Éƒ�ƒjƒ…�[‚Ö
-                ClsExcute.ClearProcess();
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-            finally
-            {
-                frm.Dispose(); frm = null;
-            }
-        }
-        #endregion
-
-        #region �³”Fƒpƒlƒ‹�ipnlApproval�j•Û—¯ƒ{ƒ^ƒ“‰Ÿ‰º�ˆ—�
-        /// <summary>
-        /// �³”Fƒpƒlƒ‹�ipnlApproval�j•Û—¯ƒ{ƒ^ƒ“‰Ÿ‰º�ˆ—�
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void OnHoldProcess()
-        {
-            FrmApprovalPerson frm = new FrmApprovalPerson();
-            try
-            {
-                string strMsg = string.Format("{0}‚ð•Û—¯‚Æ‚µ‚Ü‚·�A‚æ‚ë‚µ‚¢‚Å‚·‚©�H", s_MyProcessName[m_Labourkind]);
-                if (MessageBox.Show(strMsg, "•Û—¯Šm”F"
-                                , MessageBoxButtons.YesNo, MessageBoxIcon.Information) == DialogResult.No) return;
-
-                // ’S“–ŽÒƒR�[ƒh
-                frm.PersonCode = GetDataPersonCode();
-                // �³”F‹@”\”Ô�†ƒZƒbƒg
-                frm.ApprovalCode = ClsExcute.AppovalList.First(x => x.Value.Equals(s_MyProcessName[m_Labourkind])).Key;
-                // Žó•t“ú
-                frm.OrderDate = GetTargetDate();
-                // Žó•t”Ô�†
-                frm.OrderNo = CommonDefine.s_Default_OrderNo;
-
-                // ----- Žx•¥�³”F�î•ñƒf�[ƒ^
-                ArrayList DataList = new ArrayList();
-                frm.ArrayParam.Clear();
-                SetApprovalInfoData(ref DataList);
-                if (DataList.Count > 0) frm.ArrayParam.Add(DataList);
-
-                // �\�¿�E�³”FƒŒƒR�[ƒh�X�V
-                if (!frm.ApprovalDataUpDate((int)CommonDefine.ApprovalStatus.Pending, false))
-                {
-                    MessageBox.Show("•Û—¯‚ÉŽ¸”s‚µ‚Ü‚µ‚½�B", "•Û—¯ƒGƒ‰�[", MessageBoxButtons.OK, MessageBoxIcon.Error);
-                    return;
-                }
-
-                // Š®—¹ƒ�ƒbƒZ�[ƒW
-                CommonMotions.EntryEndMessage("•Û—¯", "");
-
-                // ‰æ–ÊƒNƒ��[ƒY
-                this.Close();
-                // ˆê‹C‚Éƒ�ƒjƒ…�[‚Ö
-                ClsExcute.ClearProcess();
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-            finally
-            {
-                frm.Dispose(); frm = null;
-            }
-        }
-        #endregion
-
-        #region �³”Fƒpƒlƒ‹�ipnlApproval�j•s�³”Fƒ{ƒ^ƒ“‰Ÿ‰º�ˆ—�
-        /// <summary>
-        /// �³”Fƒpƒlƒ‹�ipnlApproval�j•s�³”Fƒ{ƒ^ƒ“‰Ÿ‰º�ˆ—�
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void NotApprovalProcess()
-        {
-            FrmApprovalPerson frm = new FrmApprovalPerson();
-            try
-            {
-                string strMsg = string.Format("{0}‚ð•s�³”F‚µ‚Ü‚·�A‚æ‚ë‚µ‚¢‚Å‚·‚©�H", s_MyProcessName[m_Labourkind]);
-                if (MessageBox.Show(strMsg, "•s�³”FŠm”F"
-                                , MessageBoxButtons.YesNo, MessageBoxIcon.Information) == DialogResult.No) return;
-
-                // ’S“–ŽÒƒR�[ƒh
-                frm.PersonCode = GetDataPersonCode();
-                // �³”F‹@”\”Ô�†ƒZƒbƒg
-                frm.ApprovalCode = ClsExcute.AppovalList.First(x => x.Value.Equals(s_MyProcessName)).Key;
-                // Žó•t“ú
-                frm.OrderDate = GetTargetDate();
-                // Žó•t”Ô�†
-                frm.OrderNo = CommonDefine.s_Default_OrderNo;
-
-                // ----- Žx•¥�³”F�î•ñƒf�[ƒ^
-                ArrayList DataList = new ArrayList();
-                frm.ArrayParam.Clear();
-                SetApprovalInfoData(ref DataList);
-                if (DataList.Count > 0) frm.ArrayParam.Add(DataList);
-
-                // �\�¿�E�³”FƒŒƒR�[ƒh�X�V
-                if (!frm.ApprovalDataUpDate((int)CommonDefine.ApprovalStatus.NotApproval, false))
-                {
-                    MessageBox.Show("•s�³”F‚ÉŽ¸”s‚µ‚Ü‚µ‚½�B", "•s�³”FƒGƒ‰�[", MessageBoxButtons.OK, MessageBoxIcon.Error);
-                    return;
-                }
-
-                // Š®—¹ƒ�ƒbƒZ�[ƒW
-                CommonMotions.EntryEndMessage("•s�³”F", "");
-
-                // ‰æ–ÊƒNƒ��[ƒY
-                this.Close();
-                // ˆê‹C‚Éƒ�ƒjƒ…�[‚Ö
-                ClsExcute.ClearProcess();
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-            finally
-            {
-                frm.Dispose(); frm = null;
-            }
-        }
-        #endregion
-
-        #region ŽèŠÔ�E’Ê�í‹ÆŽÒˆê——‰æ–Ê‚ð•\Ž¦‚·‚é
-        /// <summary>
-        /// ŽèŠÔ�E’Ê�í‹ÆŽÒˆê——‰æ–Ê‚ð•\Ž¦‚·‚é
-        /// </summary>
-        private void DispReqSumTotalList()
-        {
-            try
-            {
-                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.ReqSumTotalList;
-                // ƒtƒH�[ƒ€‚ª‚ ‚ê‚Î�Å‘O–Ê‚Ö
-                FrmReqSumTotalList frm = (FrmReqSumTotalList)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
-
-                // •\Ž¦’S“–ŽÒ‚ª“¯‚¶‚È‚ç‚Î�ˆ—�‚µ‚È‚¢
-                if (frm != null)
-                {
-                    frm.Activate();
-                    return;
-                }
-
-                // ŽèŠÔ�E’Ê�í‹ÆŽÒˆê——‰æ–Ê
-                frm = new FrmReqSumTotalList();
-                ClsExcute.SubFormHandleList[ProcessNo].ProcessNo = (int)ClsExcute.ProcessExecuteNo.RequestSummaryList;
-                ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle = (Form)frm;
-
-                // ‘Î�Û”NŒŽ
-                frm.TargetMonth = CommonMotions.cnvString(cmbTargetMonth.SelectedValue);
-
-                // ŽèŠÔ‹ÆŽÒ‹æ•ª
-                frm.Labourkind = m_Labourkind;
-
-                // Žx•¥“ú
-                frm.PayDate = CommonMotions.cnvDate(lblPaymentDate.Text);
-
-                // ƒNƒ��[ƒXƒhƒnƒ“ƒhƒ‰‚ð‚±‚¿‚ç‚Å’è‹`‚·‚é
-                frm.FormClosed += new FormClosedEventHandler(FrmReqSumTotalList_FormClosed);
-                frm.Show();
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region ŽèŠÔ�E’Ê�í‹ÆŽÒˆê——‰æ–Ê‚ðƒNƒ��[ƒY
-        /// <summary>
-        /// ŽèŠÔ�E’Ê�í‹ÆŽÒˆê——‰æ–Ê‚ðƒNƒ��[ƒY‚·‚é
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void FrmReqSumTotalList_FormClosed(object sender, FormClosedEventArgs e)
-        {
-            try
-            {
-                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.ReqSumTotalList;
-                FrmReqSumTotalList frm = (FrmReqSumTotalList)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
-
-                // ƒnƒ“ƒhƒ‹ƒNƒŠƒA
-                if (ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle != null)
-                {
-                    ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle.Dispose();
-                    ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle = null;
-                    ClsExcute.SubFormHandleList[ProcessNo].ProcessNo = (int)ClsExcute.ProcessExecuteNo.MainMenu;
-                }
-
-                this.Activate();
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region ƒOƒŠƒbƒh•\Ž¦
-        /// <summary>
-        /// ƒOƒŠƒbƒh•\Ž¦
-        /// </summary>
-        /// <returns></returns>
-        private void DispGridData()
-        {
-            IOBillingData IoBd = new IOBillingData();
-            ArrayList arData = new ArrayList();
-
-            List<ShoninData> lstDefaultShonin = new List<ShoninData>();
-
-            IOConstructionBaseInfo IoCbi = new IOConstructionBaseInfo();
-            IOMPersonInCharge IoMpic = new IOMPersonInCharge();
-            ConstructionBaseInfo Cbi = new ConstructionBaseInfo();
-            PersonInChargeMaster Picm = new PersonInChargeMaster();
-
-            DataGridViewEX dgv = getShowingView();
-
-            try
-            {
-                // ƒvƒ�ƒOƒŒƒX•\Ž¦�§Œä
-                ProgressBarCtrl(true);
-
-                // ˆê’UƒZƒ‹‚Ì’l•Ï�XƒCƒxƒ“ƒg‚ð–³Œø‚É‚·‚é
-                dgvCompany.CellValueChanged -= new DataGridViewCellEventHandler(DataGridView_CellValueChanged);
-                dgvProject.CellValueChanged -= new DataGridViewCellEventHandler(DataGridView_CellValueChanged);
-
-                // ƒOƒŠƒbƒh‚Ì�s‚ð0‚É–ß‚·
-                dgv.Rows.Clear();
-                // ŒvŽZŒ‹‰Ê•\Ž¦ƒGƒŠƒAƒNƒŠƒA
-                lblCellTotal.Text = string.Empty;
-                // ‘€�ì‰Â•s‰Â�Ø‚è‘Ö‚¦
-                DataGridView_ReadOnlyChange(dgv);
-
-                // ‘I‘ð‘Î�ÛŒŽ‚Ì‘Þ”ð
-                m_Select_TargetDate = CommonMotions.cnvInt(cmbTargetMonth.SelectedValue);
-
-                StringBuilder sql = new StringBuilder();
-                bool bNewData = false;
-
-                // SQL�ì�¬
-                CreateSQLType2Exists(ref sql);
-                // Order By Set
-                SetSQLOrder(ref sql);
-
-                // ƒf�[ƒ^Žæ“¾�@�¬Œv�E�‡Œv‚ðŒvŽZ‚·‚éˆ×�A‘S‚Ä‚Ìƒf�[ƒ^‚ðŽæ“¾‚·‚é
-                if (!IoBd.ExecuteReader(sql.ToString(), ref arData)) return;
-
-                if (arData.Count < 1)
-                {
-                    if (!m_FirstFlg)
-                    {
-                        MessageBox.Show("�\�¿‘Î�Ûƒf�[ƒ^‚ªŒ©‚Â‚©‚è‚Ü‚¹‚ñ�B", "ƒf�[ƒ^ƒGƒ‰�[", MessageBoxButtons.OK, MessageBoxIcon.Error);
-                        return;
-                    }
-
-                    bNewData = true;
-                    // ƒf�[ƒ^‚ª–³‚¢�ê�‡‚Í�V‹KŽæ“¾
-                    sql.Clear();
-                    CreateSQLType2Newly(ref sql);
-                    SetSQLOrder(ref sql);
-                    if (!IoBd.ExecuteReader(sql.ToString(), ref arData)) return;
-                }
-
-                DataProgressBar.Maximum = arData.Count;
-                DataProgressBar.Value = 0;
-
-                // �‡Œv’l�sŽZ�o‚Ì’PˆÊ
-                int DataGoukeiCd_Column = 0;
-                if (rdbCompany.Checked)
-                {
-                    DataGoukeiCd_Column = (int)ClickGetData.COMPANYCODE;
-                }
-                else
-                {
-                    DataGoukeiCd_Column = (int)ClickGetData.CONSTRUCTIONCODE;
-                }
-
-                // ƒf�[ƒ^•\Ž¦
-                int icnt = 0;
-                int iNo = 1;
-                int iGoukeiSeq = 0;
-                int iGoukeiCd = -1;
-                int iDataCount = 0;
-                int iShoninMaxCount = 0;
-                string strErrorMsg = string.Empty;
-                for (int ix = 0; ix < arData.Count; ix++)
-                {
-                    object[] work = (object[])arData[ix];
-
-                    // �‡Œv�s�ì�¬
-                    if (iGoukeiCd != CommonMotions.cnvInt(work[DataGoukeiCd_Column]))
-                    {
-                        // �Å�‰‚Í�ˆ—�‚¹‚¸‚ÉƒR�[ƒhŽæ“¾‚Ì‚Ý
-                        if (iGoukeiCd != -1)
-                        {
-                            // –¾�×•\Ž¦‚³‚ê‚Ä‚¢‚éƒf�[ƒ^Œ��”ƒ`ƒFƒbƒN
-                            iDataCount = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×
-                                                                                  && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowVisible].Value) == (int)RowVisibleDef.Visible
-                                                                                  && CommonMotions.cnvInt(x.Cells[m_GoukeiCode_Column].Value) == iGoukeiCd)
-                                                                         .Count();
-
-                            if (iDataCount > 0)
-                            {
-                                // �‡Œv�s’Ç‰Á
-                                MakeGoukeiGyo(dgv, iGoukeiCd);
-                                icnt += (System.Enum.GetValues(typeof(RowsTypeDef)).Length - 1);    // enum‚É–¾�×‚ª‘�‚¦‚½‚½‚ß-1
-
-                                // �‡Œv’l�Ý’è
-                                setGoukei_DataDisp(dgv, iGoukeiCd);
-
-                            }
-                            iNo++;
-                        }
-                        iGoukeiSeq = 1;
-                        iGoukeiCd = CommonMotions.cnvInt(work[DataGoukeiCd_Column]);
-                    }
-
-                    // �s�ì�¬
-                    if (!CreateLineData(arData, iNo, iGoukeiSeq, bNewData, ref ix, ref strErrorMsg, ref iShoninMaxCount, ref icnt))
-                        throw new Exception(strErrorMsg);
-
-                    // Œ ŒÀ‚É‚æ‚Á‚Ä•\Ž¦”ñ•\Ž¦
-                    // �‰Šú’l‚Í‰ÂŽ‹
-                    dgv.Rows[icnt].Visible = true;
-                    dgv.Rows[icnt].Cells[(int)DispColumn.RowVisible].Value = (int)RowVisibleDef.Visible;
-
-                    work = (object[])arData[ix];
-                    // •s–¾ˆÈŠO
-                    if (CommonMotions.cnvInt(work[(int)ClickGetData.CONSTRUCTIONCODE]) != 0)
-                    {
-                        // ‘I‘ð•”���E’S“–ŽÒ‚ðŽæ“¾
-                        int DepCode = GetDepartmentCode();
-                        int PersonCode = GetConstrPersonCode();
-
-                        if (DepCode == 0 && PersonCode == 0)
-                        {
-                            // •”���E’S“–ŽÒ‘I‘ð–³‚µ
-                            RowVisibleControlAll(icnt, work);
-                        }
-                        else
-                        {
-                            // •”���E’S“–ŽÒ‘I‘ð‚ ‚è
-                            RowVisibleControlSelect(icnt);
-                        }
-                    }
-
-                    // �³”F�Ï‚Í�A�s‘S�€–Ú•Ò�W•s‰Â
-                    if (CommonMotions.cnvInt(work[(int)ClickGetData.ApprovalEndFlg]) == 1)
-                    {
-                        dgv.Rows[icnt].ReadOnly = true;
-                        // �F‚à•Ï‚¦‚é
-                        for (int iCol = (int)DispColumn.CompanyDispOrder; iCol < (int)DispColumn.Shonin1Code; iCol++)
-                        {
-                            dgv.Rows[icnt].Cells[iCol].Style.ForeColor = Color.LightGray;
-                        }
-                        if (dgv == dgvCompany)
-                        {
-                            for (int iCol = (int)DispColumn_Company.SubConstractorCode; iCol < Enum.GetNames(typeof(DispColumn_Company)).Length; iCol++)
-                            {
-                                dgv.Rows[icnt].Cells[iCol].Style.ForeColor = Color.LightGray;
-                            }
-                        }
-                        else
-                        {
-                            for (int iCol = (int)DispColumn_Project.GengaCode; iCol < Enum.GetNames(typeof(DispColumn_Project)).Length; iCol++)
-                            {
-                                dgv.Rows[icnt].Cells[iCol].Style.ForeColor = Color.LightGray;
-                            }
-                        }
-                    }
-
-                    iGoukeiSeq++;
-
-                    DataProgressBar.Value++;
-                    DataProgressBar.Update();
-                }
-
-                // –¾�×•\Ž¦‚³‚ê‚Ä‚¢‚éƒf�[ƒ^Œ��”ƒ`ƒFƒbƒN
-                iDataCount = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×
-                                                                        && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowVisible].Value) == (int)RowVisibleDef.Visible
-                                                                        && CommonMotions.cnvInt(x.Cells[m_GoukeiCode_Column].Value) == iGoukeiCd)
-                                                                .Count();
-                if (iDataCount > 0)
-                {
-                    // �‡Œv�s’Ç‰Á
-                    MakeGoukeiGyo(dgv, iGoukeiCd);
-
-                    // �‡Œv’l�Ý’è
-                    setGoukei_DataDisp(dgv, iGoukeiCd);
-                }
-
-                // ƒOƒ‹�[ƒsƒ“ƒO•\Ž¦
-                ResetNo();
-
-                // �Å‘å�³”F�”ˆÈ�~‚Ì�³”F—ñ‚Í”ñ•\Ž¦
-                //ˆê’U‰ÂŽ‹‚É‚µ‚Ä‚©‚ç�A•s‰ÂŽ‹‚É•Ï�X
-                for (int i = (int)DispColumn.Shonin1; i < (int)DispColumn.Bikou; i += s_ShoninBlockCnt)
-                {
-                    dgv.Columns[i].Visible = true;
-                }
-                for (int i = (int)DispColumn.Shonin1 + (iShoninMaxCount * s_ShoninBlockCnt); i < (int)DispColumn.Bikou; i++)
-                {
-                    dgv.Columns[i].Visible = false;
-                }
-
-                // ƒ{ƒ^ƒ“�§Œä
-                controlButton();
-                controlButton_DataCount();
-
-                // •\Ž¦Žžƒf�[ƒ^Œ��”
-                m_Select_DataCount = arData.Count;
-
-                m_bChengeAns = false;
-
-                // ProgressBar‚Ì’l‚ð•Ï�X‚·‚é
-                DataProgressBar.Value = DataProgressBar.Maximum;
-                DataProgressBar.Update();
-
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-            finally
-            {
-                // ƒCƒxƒ“ƒgƒnƒ“ƒhƒ‰�Ä“o˜^
-                dgvCompany.CellValueChanged += new DataGridViewCellEventHandler(DataGridView_CellValueChanged);
-                dgvProject.CellValueChanged += new DataGridViewCellEventHandler(DataGridView_CellValueChanged);
-
-                IoBd.close(); IoBd = null;
-                IoCbi.close(); IoCbi = null;
-                IoMpic.close(); IoMpic = null;
-
-                // ƒvƒ�ƒOƒŒƒX•\Ž¦�§Œä
-                ProgressBarCtrl(false);
-            }
-        }
-        #endregion
-
-        #region •\Ž¦�s‚Ì�ì�¬
-        /// <summary>
-        /// •\Ž¦�s‚Ì�ì�¬
-        /// </summary>
-        /// <returns></returns>
-        private bool CreateLineData(ArrayList RowData, int iNo, int iGoukeiSeq, bool bNewData
-                                    , ref int ReadCnt, ref string strErrorMsg, ref int ApprovalMaxCount
-                                    , ref int icnt)
-        {
-            try
-            {
-                object[] First = (object[])RowData[ReadCnt];
-
-                // ƒOƒŠƒbƒhƒf�[ƒ^ƒZƒbƒg
-                SetGridData(iNo, iGoukeiSeq, First, bNewData, ref icnt);
-
-                // �³”FŽÒƒŠƒXƒg
-                SetLineApprovalList(RowData, icnt, ref ReadCnt, ref ApprovalMaxCount);
-
-                return true;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                strErrorMsg = ex.Message;
-                return false;
-            }
-        }
-        #endregion
-
-        #region ’S“–ŽÒ�E�³”FŽÒƒŠƒXƒgƒZƒbƒg
-        /// <summary>
-        /// ’S“–ŽÒ�E�³”FŽÒƒŠƒXƒgƒZƒbƒg
-        /// </summary>
-        /// <param name="LineData"></param>
-        private void SetLineApprovalList(ArrayList RowData, int LineCnt, ref int ReadCnt, ref int nMaxCount)
-        {
-            try
-            {
-                DataGridViewEX dgv = getShowingView();
-
-                // ’S“–ŽÒƒf�[ƒ^Žæ“¾
-                object[] objFirst = (object[])RowData[ReadCnt];
-                // ’S“–ŽÒ‚ÌƒZƒbƒg
-                DateTime FirstDate = CommonMotions.cnvDate(objFirst[(int)ClickGetData.ApprovalDate]);
-
-                dgv.Rows[LineCnt].Cells[(int)DispColumn.TantoShoninCode].Value = CommonMotions.cnvInt(objFirst[(int)ClickGetData.ApprovalPersonCode]);
-                dgv.Rows[LineCnt].Cells[(int)DispColumn.TantoShonin].Value = CommonMotions.cnvString(objFirst[(int)ClickGetData.TantoNM]);
-                dgv.Rows[LineCnt].Cells[(int)DispColumn.TantoDate].Value = FirstDate.ToShortDateString();
-                if (FirstDate.Date == DateTime.MinValue.Date)
-                    dgv.Rows[LineCnt].Cells[(int)DispColumn.TantoShonin].Style.ForeColor = Color.Gray;
-                dgv.Rows[LineCnt].Cells[(int)DispColumn.TantoDepCode].Value = CommonMotions.cnvInt(objFirst[(int)ClickGetData.AppDepCode]);
-
-                // �³”FŽÒ�”ƒZƒbƒg
-                int AppCnt = 0;
-
-                int BreakKey1 = CommonMotions.cnvInt(objFirst[(int)ClickGetData.COMPANYCODE]);
-                int BreakKey2 = CommonMotions.cnvInt(objFirst[(int)ClickGetData.CONSTRUCTIONCODE]);
-                int BreakKey3 = CommonMotions.cnvInt(objFirst[(int)ClickGetData.ConstructionLedgerDetailNo]);
-                int BreakKey4 = CommonMotions.cnvInt(objFirst[(int)ClickGetData.LINECOUNT]);
-                int SaveKey1 = BreakKey1;
-                int SaveKey2 = BreakKey2;
-                int SaveKey3 = BreakKey3;
-                int SaveKey4 = BreakKey4;
-
-                // �³”FƒŠƒXƒgƒZƒbƒg
-                int ColCnt = (int)DispColumn.Shonin1Code;
-                for (int ix = ReadCnt; ix < RowData.Count; ix++)
-                {
-                    object[] objRec = (object[])RowData[ix];
-                    DateTime AppDate = CommonMotions.cnvDate(objRec[(int)ClickGetData.PApp_ApprovalDate]);
-
-                    BreakKey1 = CommonMotions.cnvInt(objRec[(int)ClickGetData.COMPANYCODE]);
-                    BreakKey2 = CommonMotions.cnvInt(objRec[(int)ClickGetData.CONSTRUCTIONCODE]);
-                    BreakKey3 = CommonMotions.cnvInt(objRec[(int)ClickGetData.ConstructionLedgerDetailNo]);
-                    BreakKey4 = CommonMotions.cnvInt(objRec[(int)ClickGetData.LINECOUNT]);
-                    // •s–¾Žž‚Í‘ä’ –¾�×”Ô�†‚É�s”Ô�†‚ðƒZƒbƒg‚·‚é
-                    if (BreakKey1 == 0)
-                        BreakKey3 = CommonMotions.cnvInt(objRec[(int)ClickGetData.LINECOUNT]);
-
-                    // ‰ïŽÐƒR�[ƒh�E�HŽ–ƒR�[ƒh‚Ì‚Ç‚¿‚ç‚©‚ªˆá‚¦‚Î”²‚¯‚é
-                    if (BreakKey1 != SaveKey1 || BreakKey2 != SaveKey2 || BreakKey3 != SaveKey3 || BreakKey4 != SaveKey4) break;
-                    ReadCnt = ix;
-
-                    // �\�¿–³‚Í•\Ž¦‚µ‚È‚¢
-                    if (FirstDate.Date != DateTime.MinValue.Date)
-                    {
-                        dgv.Rows[LineCnt].Cells[ColCnt++].Value = CommonMotions.cnvInt(objRec[(int)ClickGetData.AppM_ApprovalPerson]);
-
-                        if (AppDate.Date == DateTime.MinValue.Date) dgv.Rows[LineCnt].Cells[ColCnt].Style.ForeColor = Color.Gray;
-                        dgv.Rows[LineCnt].Cells[ColCnt++].Value = CommonMotions.cnvString(objRec[(int)ClickGetData.AppPName_PersonName]);
-
-                        dgv.Rows[LineCnt].Cells[ColCnt++].Value = AppDate;
-                        dgv.Rows[LineCnt].Cells[ColCnt++].Value = CommonMotions.cnvInt(objRec[(int)ClickGetData.AppM_ApprovalAuthority]);
-                        dgv.Rows[LineCnt].Cells[ColCnt++].Value = CommonMotions.cnvInt(objRec[(int)ClickGetData.AppM_DisplayOrder]);
-                    }
-
-                    AppCnt++;
-
-                    SaveKey1 = BreakKey1;
-                    SaveKey2 = BreakKey2;
-                    SaveKey3 = BreakKey3;
-                }
-                if (nMaxCount < AppCnt) nMaxCount = AppCnt;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region Œ ŒÀ‚É‚æ‚é�s‚Ì•\Ž¦�§Œä
-        /// <summary>
-        /// Œ ŒÀ‚É‚æ‚é�s‚Ì•\Ž¦�§Œä
-        /// </summary>
-        /// <param name="LineCount"></param>
-        private void RowVisibleControlAll(int LineCount, object[] work)
-        {
-            try
-            {
-                DataGridViewEX dgv = getShowingView();
-                DataGridViewRow CurRow = dgv.Rows[LineCount];
-
-                int DepCode = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.DetailName].Value);
-
-                int SaleCode = CommonMotions.cnvInt(work[(int)ClickGetData.SalesPersonCode]);
-                int ConstrPersonCode = CommonMotions.cnvInt(work[(int)ClickGetData.ConstructionPersonCode]);
-                int SubPersonCode = CommonMotions.cnvInt(work[(int)ClickGetData.ConstrSubPersonCode]);
-                int InstrCode = CommonMotions.cnvInt(work[(int)ClickGetData.ConstructionInstructor]);
-
-                // •s–¾ˆÈŠO‚Íˆê’U•s‰ÂŽ‹‚É‚·‚é
-                CurRow.Visible = false;
-                CurRow.Cells[(int)DispColumn.RowVisible].Value = (int)RowVisibleDef.UnVisible;
-
-                // ‘�–±’S“–
-                if (m_UserInfo.m_GeneralAffairsFlg == (int)SecurityMaster.GeneAffDef.GeneralDep)
-                {
-                    // •ÛŒì‹æ•ª”ÍˆÍ‚ÉŠÖŒW‚È‚­‘S•”��‚ÌŽQ�Æ‚ð‰Â”\‚Æ‚µ�A•Ò�W‰Â”\�€–Ú‚Í‘�–±•”–å“ü—Í—“‚Ì‚Ý‚Æ‚·‚é�B
-                    CurRow.Visible = true;
-                    CurRow.Cells[(int)DispColumn.RowVisible].Value = (int)RowVisibleDef.Visible;
-                }
-                // “Á•ÊŒ ŒÀ‚Ì�ê�‡
-                else if (m_UserInfo.m_Type == CommonDefine.SecurityRankPos.SpecialAuthority)
-                {
-                    // •ÛŒì‹æ•ª”ÍˆÍ‚ÉŠÖŒW‚È‚­‘S•”��‚ÌŽQ�Æ‚ð‰Â”\‚Æ‚µ�A‘�–±•”–å“ü—Í—“ˆÈŠO‚Í•Ò�W‰Â”\‚Æ‚·‚é�B
-                    CurRow.Visible = true;
-                    CurRow.Cells[(int)DispColumn.RowVisible].Value = (int)RowVisibleDef.Visible;
-                }
-                // �Š‘®’·�A“�Š‡ŽÒ‚Ì�ê�‡
-                else if (m_UserInfo.m_Type == CommonDefine.SecurityRankPos.LimitedAuthority
-                        || m_UserInfo.m_Type == CommonDefine.SecurityRankPos.FreeAuthority)
-                {
-                    // ŽQ�Æ•”��‚É‚ ‚é‚©‚Ìƒ`ƒFƒbƒN
-                    foreach (PersonDepartmentMaster RefDepRec in CommonMotions.LoginUserRefDepartment)
-                    {
-                        // Ž©•ª‚ªŒ ŒÀ‚ð•ÛŽ�‚·‚é•”��‚Ì�HŽ–‚Ì‚Ý•\Ž¦‚·‚é
-                        if (RefDepRec.DepartmentCode != DepCode)
-                        {
-                            CurRow.Visible = true;
-                            CurRow.Cells[(int)DispColumn.RowVisible].Value = (int)RowVisibleDef.Visible;
-                        }
-                    }
-                }
-                // ’S“–ŽÒ‚Ì�ê�‡
-                else if (m_UserInfo.m_Type == CommonDefine.SecurityRankPos.NormalAuthority)
-                {
-                    if (m_UserInfo.m_SecRange == ClsSecurityPermission.SecRangeType.InCharge)
-                    {
-                        // ‰c‹Æ’S“–
-                        if (CommonMotions.LoginUserData.PersonCode == SaleCode)
-                        {
-                            CurRow.Visible = true;
-                            CurRow.Cells[(int)DispColumn.RowVisible].Value = (int)RowVisibleDef.Visible;
-                        }
-                        // �HŽ–’S“–
-                        if (CommonMotions.LoginUserData.PersonCode == ConstrPersonCode
-                            || CommonMotions.LoginUserData.PersonCode == SubPersonCode
-                            || CommonMotions.LoginUserData.PersonCode == InstrCode)
-                        {
-                            CurRow.Visible = true;
-                            CurRow.Cells[(int)DispColumn.RowVisible].Value = (int)RowVisibleDef.Visible;
-                        }
-                    }
-                    else if (m_UserInfo.m_SecRange == ClsSecurityPermission.SecRangeType.OneDepartment)
-                    {
-                        // ŽQ�Æ•”��‚É‚ ‚é‚©‚Ìƒ`ƒFƒbƒN
-                        foreach (PersonDepartmentMaster RefDepRec in CommonMotions.LoginUserRefDepartment)
-                        {
-                            // Ž©•ª‚ªŒ ŒÀ‚ð•ÛŽ�‚·‚é•”��‚Ì�HŽ–‚Ì‚Ý•\Ž¦‚·‚é
-                            if (RefDepRec.DepartmentCode != DepCode)
-                            {
-                                CurRow.Visible = true;
-                                CurRow.Cells[(int)DispColumn.RowVisible].Value = (int)RowVisibleDef.Visible;
-                            }
-                        }
-                    }
-                }
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region •”���E’S“–ŽÒ‘I‘ð‚É‚æ‚é�s‚Ì•\Ž¦�§Œä
-        /// <summary>
-        /// •”���E’S“–ŽÒ‘I‘ð‚É‚æ‚é�s‚Ì•\Ž¦�§Œä
-        /// </summary>
-        /// <param name="LineCount"></param>
-        private void RowVisibleControlSelect(int LineCount)
-        {
-            try
-            {
-                DataGridViewEX dgv = getShowingView();
-
-                // ‘I‘ðƒf�[ƒ^Žæ“¾
-                int SelDepCode = GetDepartmentCode();
-                int SelPersonCode = GetConstrPersonCode();
-
-                // ----- �sƒf�[ƒ^
-                DataGridViewRow CurRow = dgv.Rows[LineCount];
-                // ‹ÆŽÒ�E�HŽ–ƒR�[ƒh
-                int CompCode = CommonMotions.cnvInt(CurRow.Cells[m_Company_DispColumn].Value);
-                int ConstrCode = CommonMotions.cnvInt(CurRow.Cells[m_Genba_Column].Value);
-
-                // �\�¿’S“–ŽÒ
-                int RowAppDepCode = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.TantoDepCode].Value);
-                int RowApprovalPersonCode = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.TantoShoninCode].Value);
-
-                // Še’S“–ŽÒƒR�[ƒh
-                int RowConstrPersonCode = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.ConstrPerson].Value);
-                int RowSalesPersonCode = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.SalesPerson].Value);
-                int RowAssistPersonCode = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.AssistPerson].Value);
-                int RowInstrPersonCode = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.InstrPerson].Value);
-
-                // Še’S“–ŽÒ•”��
-                int RowConstrDepCode = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.ConstrDepCode].Value);
-                int RowSalesDepCode = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.SalesDepCode].Value);
-                int RowAssistDepCode = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.AssistDepCode].Value);
-                int RowInstrDepCode = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.InstrDepCode].Value);
-
-                // •s–¾‚Í•\Ž¦‚·‚é
-                if (CompCode == 0 || ConstrCode == 0) return;
-
-                // •s–¾ˆÈŠO‚Íˆê’U•s‰ÂŽ‹‚É‚·‚é
-                CurRow.Visible = false;
-                CurRow.Cells[(int)DispColumn.RowVisible].Value = (int)RowVisibleDef.UnVisible;
-
-                // •\Ž¦”»’è
-                if (!CheckSelectedDispRow(SelDepCode, SelPersonCode,
-                                            CompCode, ConstrCode,
-                                            RowAppDepCode, RowApprovalPersonCode,
-                                            RowConstrPersonCode, RowSalesPersonCode, RowAssistPersonCode, RowInstrPersonCode,
-                                            RowConstrDepCode, RowSalesDepCode, RowAssistDepCode, RowInstrDepCode)) return;
-
-                // �s‚ð•\Ž¦‚·‚é
-                CurRow.Visible = true;
-                CurRow.Cells[(int)DispColumn.RowVisible].Value = (int)RowVisibleDef.Visible;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region ƒRƒ“ƒ{ƒ{ƒbƒNƒX‘I‘ðŽž�s•\Ž¦”»’è
-        /// <summary>
-        /// ƒRƒ“ƒ{ƒ{ƒbƒNƒX‘I‘ðŽž�s•\Ž¦”»’è
-        /// </summary>
-        private bool CheckSelectedDispRow(int SelDepCode, int SelPersonCode,
-                                            int CompCode, int ConstrCode,
-                                            int RowAppDepCode, int RowApprovalPersonCode,
-                                            int RowConstrPersonCode, int RowSalesPersonCode, int RowAssistPersonCode, int RowInstrPersonCode,
-                                            int RowConstrDepCode, int RowSalesDepCode, int RowAssistDepCode, int RowInstrDepCode)
-        {
-            try
-            {
-
-                if (SelDepCode != 0 && SelPersonCode != 0)
-                {   // ----- •”���E’S“–ŽÒ‚ªƒZƒbƒg‚³‚ê‚Ä‚¢‚é
-                    if (!m_FirstFlg)
-                    {   // �\�¿�Ï‚Í�\�¿ŽÒ
-                        // ’S“–ŽÒ
-                        if (RowApprovalPersonCode == SelPersonCode) return true;
-                    }
-                    else
-                    {
-                        // ’S“–ŽÒ
-                        if (RowConstrPersonCode == SelPersonCode) return true;
-                    }
-                }
-                else if (SelDepCode != 0 && SelPersonCode == 0)
-                {   // ----- •”��‚Ì‚ÝƒZƒbƒg‚³‚ê‚Ä‚¢‚é
-                    // •”��
-                    if (RowConstrDepCode == SelDepCode
-                        || RowSalesDepCode == SelDepCode
-                        || RowAssistDepCode == SelDepCode
-                        || RowInstrDepCode == SelDepCode) return true;
-                }
-
-                return false;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                return false;
-            }
-        }
-        #endregion
-
-        #region ƒOƒŠƒbƒhƒf�[ƒ^ƒZƒbƒg
-        /// <summary>
-        /// ƒOƒŠƒbƒhƒf�[ƒ^ƒZƒbƒg
-        /// </summary>
-        /// <param name="icnt"></param>
-        /// <param name="iNo"></param>
-        /// <param name="iGoukeiSeq"></param>
-        /// <param name="work"></param>
-        private void SetGridData(int iNo, int iGoukeiSeq, object[] work, bool bNewData, ref int icnt)
-        {
-            try
-            {
-                DataGridViewEX dgv = getShowingView();
-
-                icnt = dgv.Rows.Add();
-
-                dgv.Rows[icnt].Cells[(int)DispColumn.CompanyDispOrder].Value = CommonMotions.cnvInt(work[(int)ClickGetData.DisplayOrder]);
-                dgv.Rows[icnt].Cells[(int)DispColumn.ApprovalEndFlg].Value = CommonMotions.cnvInt(work[(int)ClickGetData.ApprovalEndFlg]);
-                dgv.Rows[icnt].Cells[(int)DispColumn.UpdateDate].Value = CommonMotions.cnvString(work[(int)ClickGetData.UpdateDate]);
-
-                if (bNewData)
-                    dgv.Rows[icnt].Cells[(int)DispColumn.RowState].Value = DataRowState.Added;
-                else
-                    dgv.Rows[icnt].Cells[(int)DispColumn.RowState].Value = DataRowState.Unchanged;
-
-                dgv.Rows[icnt].Cells[(int)DispColumn.RowType].Value = (int)RowsTypeDef.–¾�×;
-                dgv.Rows[icnt].Cells[(int)DispColumn.GoukeiSeqNo].Value = iGoukeiSeq;
-                dgv.Rows[icnt].Cells[(int)DispColumn.GroupSeqNo].Value = CommonMotions.cnvInt(work[(int)ClickGetData.SEQNO]);
-                dgv.Rows[icnt].Cells[(int)DispColumn.LineCount].Value = CommonMotions.cnvInt(work[(int)ClickGetData.LINECOUNT]);
-
-                dgv.Rows[icnt].Cells[(int)DispColumn.No].Value = iNo;
-
-                int nCompanyCode = CommonMotions.cnvInt(work[(int)ClickGetData.COMPANYCODE]);
-                string strCompanyName = CommonMotions.cnvString(work[(int)ClickGetData.COMPANYNAME]);
-                dgv.Rows[icnt].Cells[m_Company_Column].Value = nCompanyCode;
-                dgv.Rows[icnt].Cells[m_Company_DispColumn].Value = nCompanyCode;
-                dgv.Rows[icnt].Cells[m_CompanyNM_Column].Value = nCompanyCode > 0 ? strCompanyName : s_UnknownString;
-                dgv.Rows[icnt].Cells[m_CompanyNM_Column].ToolTipText = nCompanyCode > 0 ? strCompanyName : s_UnknownString;
-
-                int nConstrCode = CommonMotions.cnvInt(work[(int)ClickGetData.CONSTRUCTIONCODE]);
-                string strConstrName = CommonMotions.cnvString(work[(int)ClickGetData.FIELDNAME]);
-                dgv.Rows[icnt].Cells[m_Genba_Column].Value = nConstrCode;
-                dgv.Rows[icnt].Cells[m_GenbaNM_Column].Value = nConstrCode > 0 ? strConstrName : s_UnknownString;
-                dgv.Rows[icnt].Cells[m_GenbaNM_Column].ToolTipText = nConstrCode > 0 ? strConstrName : s_UnknownString;
-
-                dgv.Rows[icnt].Cells[(int)DispColumn.SomuSeikyu].Value = CommonMotions.cnvInt(work[(int)ClickGetData.BILLPRICE]);
-                dgv.Rows[icnt].Cells[(int)DispColumn.SomuKosoku].Value = CommonMotions.cnvInt(work[(int)ClickGetData.HIGHWPRICE]);
-                dgv.Rows[icnt].Cells[(int)DispColumn.SomuKanamono].Value = CommonMotions.cnvInt(work[(int)ClickGetData.HARDWPRICE]);
-                dgv.Rows[icnt].Cells[(int)DispColumn.SomuSannhaiZei].Value = CommonMotions.cnvInt(work[(int)ClickGetData.INDSWASTETAX]);
-
-                dgv.Rows[icnt].Cells[(int)DispColumn.KojiSeikyu].Value = CommonMotions.cnvInt(work[(int)ClickGetData.KojiSeikyu]);
-
-                dgv.Rows[icnt].Cells[(int)DispColumn.KojiNebiki].Value = CommonMotions.cnvInt(work[(int)ClickGetData.KojiNebiki]);
-                dgv.Rows[icnt].Cells[(int)DispColumn.KojiSousai].Value = CommonMotions.cnvInt(work[(int)ClickGetData.KojiSousai]);
-                dgv.Rows[icnt].Cells[(int)DispColumn.JikaiKurikosi].Value = CommonMotions.cnvInt(work[(int)ClickGetData.JikaiKurikosi]);
-
-                dgv.Rows[icnt].Cells[(int)DispColumn.KojiKosoku].Value = CommonMotions.cnvInt(work[(int)ClickGetData.KojiKosoku]);
-                dgv.Rows[icnt].Cells[(int)DispColumn.KojiKanamono].Value = CommonMotions.cnvInt(work[(int)ClickGetData.KojiKanamono]);
-                dgv.Rows[icnt].Cells[(int)DispColumn.KojiSannhaiZei].Value = CommonMotions.cnvInt(work[(int)ClickGetData.KojiSannhaiZei]);
-
-                dgv.Rows[icnt].Cells[(int)DispColumn.KyoryokuKin].Value = CommonMotions.cnvInt(work[(int)ClickGetData.CnstrPrice]);
-                dgv.Rows[icnt].Cells[(int)DispColumn.KyoryokuUmu].Value = CommonMotions.cnvInt(work[(int)ClickGetData.CNSTRPRICEEXIST]);
-
-                dgv.Rows[icnt].Cells[(int)DispColumn.CyuumonshoTeisyutu].Value = CommonMotions.cnvString(work[(int)ClickGetData.PurchaseOrderMailingDate]);
-                dgv.Rows[icnt].Cells[(int)DispColumn.CyuumonshoTouchaku].Value = CommonMotions.cnvString(work[(int)ClickGetData.PurchaseOrderReturnDate]);
-                dgv.Rows[icnt].Cells[(int)DispColumn.YosanSho].Value = CommonMotions.cnvString(work[(int)ClickGetData.PaData]);
-
-                // ”õ�l�Ý’è
-                dgv.Rows[icnt].Cells[(int)DispColumn.Bikou].Value = CommonMotions.cnvString(work[(int)ClickGetData.Bikou]);
-                // �HŽ–�Ú�×‘ä’ ‚Ì�s”Ô�†�A—ñ”Ô�†‚ð�Ý’è
-                dgv.Rows[icnt].Cells[(int)DispColumn.ConstructionLedgerLineNo].Value = CommonMotions.cnvString(work[(int)ClickGetData.ConstructionLedgerRowNo]);
-                dgv.Rows[icnt].Cells[(int)DispColumn.ConstructionLedgerDetailNo].Value = CommonMotions.cnvString(work[(int)ClickGetData.ConstructionLedgerDetailNo]);
-                dgv.Rows[icnt].Cells[(int)DispColumn.ConstructionLedgerColNo].Value = CommonMotions.cnvString(work[(int)ClickGetData.ConstructionLedgerColNo]);
-
-                // –¾�×–¼�ÌƒZƒbƒg
-                dgv.Rows[icnt].Cells[(int)DispColumn.DetailName].Value = CommonMotions.cnvString(work[(int)ClickGetData.DetailName]);
-
-                // �HŽ–’S“–ŽÒƒZƒbƒg
-                dgv.Rows[icnt].Cells[(int)DispColumn.ConstrPerson].Value = CommonMotions.cnvString(work[(int)ClickGetData.ConstructionPersonCode]);
-                dgv.Rows[icnt].Cells[(int)DispColumn.ConstrDepCode].Value = CommonMotions.cnvInt(work[(int)ClickGetData.ConstrDepCode]);
-                // ‰c‹Æ’S“–ŽÒƒZƒbƒg
-                dgv.Rows[icnt].Cells[(int)DispColumn.SalesPerson].Value = CommonMotions.cnvString(work[(int)ClickGetData.SalesPersonCode]);
-                dgv.Rows[icnt].Cells[(int)DispColumn.SalesDepCode].Value = CommonMotions.cnvInt(work[(int)ClickGetData.SalesDepCode]);
-                // •›’S“–ŽÒƒZƒbƒg
-                dgv.Rows[icnt].Cells[(int)DispColumn.AssistPerson].Value = CommonMotions.cnvString(work[(int)ClickGetData.ConstrSubPersonCode]);
-                dgv.Rows[icnt].Cells[(int)DispColumn.AssistDepCode].Value = CommonMotions.cnvInt(work[(int)ClickGetData.AssistDepCode]);
-                // Žw“±ˆõƒZƒbƒg
-                dgv.Rows[icnt].Cells[(int)DispColumn.InstrPerson].Value = CommonMotions.cnvString(work[(int)ClickGetData.ConstructionInstructor]);
-                dgv.Rows[icnt].Cells[(int)DispColumn.InstrDepCode].Value = CommonMotions.cnvInt(work[(int)ClickGetData.InstrDepCode]);
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region ‚r‚p‚kƒOƒ‹�[ƒvƒZƒbƒg
-        /// <summary>
-        /// ‚r‚p‚kƒOƒ‹�[ƒvƒZƒbƒg
-        /// </summary>
-        private void SetSQLGroup(ref StringBuilder sql, string Arias = "")
-        {
-            try
-            {
-                sql.Append(" group by ");
-                sql.AppendFormat("  {0}SeqNo", Arias);
-                sql.AppendFormat(", {0}LineCount", Arias);
-                sql.AppendFormat(", {0}CompanyCode", Arias);
-                sql.AppendFormat(", {0}CompanyName", Arias);
-                sql.AppendFormat(", {0}DisplayOrder", Arias);
-                sql.AppendFormat(", {0}ConstructionCode", Arias);
-                sql.AppendFormat(", {0}FieldName", Arias);
-                sql.AppendFormat(", {0}BillPrice", Arias);
-                sql.AppendFormat(", {0}HighwPrice", Arias);
-                sql.AppendFormat(", {0}Hardwprice", Arias);
-                sql.AppendFormat(", {0}IndswasteTax", Arias);
-                sql.AppendFormat(", {0}UpdateDate", Arias);
-                sql.AppendFormat(", {0}Bikou", Arias);
-                sql.AppendFormat(", {0}KojiSeikyu", Arias);
-                sql.AppendFormat(", {0}KojiNebiki", Arias);
-                sql.AppendFormat(", {0}KojiSousai", Arias);
-                sql.AppendFormat(", {0}JikaiKurikosi", Arias);
-                sql.AppendFormat(", {0}KojiKousoku", Arias);
-                sql.AppendFormat(", {0}KojiKanamono", Arias);
-                sql.AppendFormat(", {0}KojiSannhaiZei", Arias);
-                sql.AppendFormat(", {0}CnstrPrice", Arias);
-                sql.AppendFormat(", {0}CnstrpriceExist", Arias);
-                sql.AppendFormat(", {0}ApprovalPersonCode", Arias);
-                sql.AppendFormat(", {0}TantoNM", Arias);
-                sql.AppendFormat(", {0}ApprovalDate", Arias);
-                sql.AppendFormat(", {0}ApprovalEndFlg", Arias);
-                sql.AppendFormat(", {0}SalesPersonCode", Arias);
-                sql.AppendFormat(", {0}ConstructionPersonCode", Arias);
-                sql.AppendFormat(", {0}ConstrSubPersonCode", Arias);
-                sql.AppendFormat(", {0}ConstructionInstructor", Arias);
-                sql.AppendFormat(", {0}DepartmentCode", Arias);
-                sql.AppendFormat(", {0}PurchaseOrderMailingDate", Arias);
-                sql.AppendFormat(", {0}PurchaseOrderReturnDate", Arias);
-                sql.AppendFormat(", {0}PaData", Arias);
-                sql.AppendFormat(", {0}LinePoint", Arias);
-                sql.AppendFormat(", {0}ColPoint", Arias);
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region ‚r‚p‚kƒI�[ƒ_�[ƒZƒbƒg
-        /// <summary>
-        /// ‚r‚p‚kƒI�[ƒ_�[ƒZƒbƒg
-        /// </summary>
-        private void SetSQLOrder(ref StringBuilder sql)
-        {
-            try
-            {
-                if (rdbCompany.Checked)
-                {
-                    // ‹ÆŽÒ’PˆÊ•\Ž¦
-                    sql.AppendLine(" order by CompanyCode ASC, SeqNo ASC, LineCount ASC, ConstructionCode ASC, LinePoint ASC, M10 DESC");
-                }
-                else if (rdbProject.Checked)
-                {
-                    // Œ»�ê’PˆÊ•\Ž¦
-                    sql.AppendLine(" order by ConstructionPersonCode ASC, ConstructionCode DESC, DisplayOrder ASC, SEQNO ASC, LineCount ASC, LinePoint ASC, M10 DESC ");
-                }
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region �¿‹�‚Ü‚Æ‚ßƒf�[ƒ^“Ç�žSQL�ì�¬(�V‹K)
-        /// <summary>
-        /// �¿‹�‚Ü‚Æ‚ßƒf�[ƒ^“Ç�žSQL�ì�¬(�V‹K)
-        /// </summary>
-        /// <param name="PaInfo"></param>
-        /// <param name="sql"></param>
-        private void CreateSQLType2Newly(ref StringBuilder sql)
-        {
-            try
-            {
-                int DefaultCol = ClsChangeLedgerData.GetLedgerColumnCount();
-                int Appcode = 0;
-                if (m_Labourkind == (int)CommonDefine.LabourKinds.Labor)
-                    Appcode = (int)ClsExcute.ApprovalListNo.FeePayment;
-                else
-                    Appcode = (int)ClsExcute.ApprovalListNo.SubConstrPayment;
-
-                sql.Append("Select ");
-                sql.Append("  1 as SeqNo ");
-                sql.Append("  , 0 as LineCount ");
-                sql.Append("  , Cld.CompanyCode as CompanyCode ");
-                sql.Append("  , Cld.CompanyName as CompanyName ");
-                sql.Append("  , Sc.DisplayOrder as DisplayOrder ");
-                sql.Append("  , Cl.ConstructionCode as ConstructionCode ");
-                sql.Append("  , Cbd.DetailString as FieldName ");
-                sql.Append("  , 0 as BillPrice ");
-                sql.Append("  , 0 as HighwPrice ");
-                sql.Append("  , 0 as HardwPrice ");
-                sql.Append("  , 0 as IndswasteTax ");
-                sql.Append("  , null as UpdateDate ");
-                sql.Append("  , '' as Bikou ");
-                sql.Append("  , 0 as KojiSeikyu ");
-                sql.Append("  , 0 as KojiNebiki ");
-                sql.Append("  , 0 as KojiSousai ");
-                sql.Append("  , 0 as JikaiKurikosi ");
-                sql.Append("  , 0 as KojiKousoku ");
-                sql.Append("  , 0 as KojiKanamono ");
-                sql.Append("  , 0 as KojiSannhaiZei ");
-                sql.Append("  , 0 as CnstrPrice ");
-                sql.Append("  , -1 as CnstrPriceExist ");
-                sql.Append("  , 0 as ApprovalPersonCode ");
-                sql.Append("  , '' as TantoNM ");
-                sql.AppendFormat("  , DATE('{0}') as ApprovalDate ", DateTime.MinValue.ToShortDateString());
-                sql.Append("  , 0 as ApprovalEndFlg ");
-                sql.Append("  , Picm.DepartmentCode As AppDepCode");
-                sql.Append("  , ifnull(Cbi.SalesPersonCode, 0) as SalesPersonCode ");
-                sql.Append("  , ifnull(Cbi.ConstructionPersonCode, 0) as ConstructionPersonCode ");
-                sql.Append("  , ifnull(Cbi.ConstrSubPersonCode, 0) as ConstrSubPersonCode ");
-                sql.Append("  , ifnull(Cbi.ConstructionInstructor, 0) as ConstructionInstructor ");
-                sql.Append("  , Picm.DepartmentCode As ConstrDepCode");
-                sql.Append("  , Picm_Sale.DepartmentCode As SalesDepCode");
-                sql.Append("  , Picm_Sub.DepartmentCode As AssistDepCode");
-                sql.Append("  , Picm_Inst.DepartmentCode As InstrDepCode");
-
-                sql.Append("  , case ifnull(DATE(Pod.SendDate), '') ");
-                sql.Append("    when '' then '�~' ");
-                sql.AppendFormat("    when '{0}' then '�~' ", DateTime.MinValue.ToShortDateString());
-                sql.Append("    else '�›' ");
-                sql.Append("    end as PurchaseOrderMailingDate ");
-
-                sql.Append("  , case ifnull(DATE(Pod.ReturnCheckDate), '') ");
-                sql.Append("    when '' then '�~' ");
-                sql.AppendFormat("    when '{0}' then '�~' ", DateTime.MinValue.ToShortDateString());
-                sql.Append("    else '�›' ");
-                sql.Append("    end as PurchaseOrderReturnDate ");
-                
-                sql.Append("  , '�›' as PaData ");
-                sql.Append("  , Cld.LineCount as LinePoint ");
-                sql.Append("  , Cld.DetailCount as DetailPoint ");
-                sql.AppendFormat("  , PERIOD_DIFF({0}", m_Select_TargetDate);
-                sql.AppendFormat("  , DATE_FORMAT(Cl.ConstructionStart, '%Y%m')) + {0} AS ColPoint ", DefaultCol);
-                sql.Append("  , Cld.SecondString as DetailName ");
-
-                sql.Append("  , 0 As M1 ");
-                sql.Append("  , 0 As M2 ");
-                sql.Append("  , 0 As M3 ");
-                sql.Append("  , 0 As M4 ");
-                sql.Append("  , 0 As M5 ");
-                sql.AppendFormat(", STR_TO_DATE('{0}', '%Y/%m/%d') As M6 ", DateTime.MinValue.ToShortDateString());
-                sql.Append("  , AppM.ApprovalCode As M7 ");
-                sql.Append("  , AppM.DepartmentCode As M8 ");
-                sql.Append("  , AppM.SeqNo As M9 ");
-                sql.Append("  , AppM.DisplayOrder As M10 ");
-                sql.Append("  , AppM.ApprovalPerson As M11 ");
-                sql.Append("  , AppPName.PersonName As M12 ");
-                sql.Append("  , AppM.ApprovalAuthority As M13 ");
-
-                sql.Append(" From ConstructionLedgerDetail as Cld ");
-
-                sql.Append("      inner join ConstructionLedger as Cl ");
-                sql.Append("          on Cl.ConstructionCode = Cld.ConstructionCode ");
-                sql.AppendFormat("    and Cl.ComplateFlg = {0} ", (int)ConstructionLedger.CompFlagDef.Operateing);
-
-                sql.Append("        inner join ConstructionBaseinfoDetail as Cbd ");
-                sql.Append("           on Cbd.ConstructionCode = Cld.SourceCode ");
-                sql.AppendFormat("     and Cbd.DetailNo = {0} ", (int)ConstructionBaseInfoDetail.DataNoDef.ConstructionName);
-
-                sql.Append("        inner join SubContractorMaster as Sc");
-                sql.Append("           on Sc.COMPANYCODE = Cld.CompanyCode ");
-                sql.AppendFormat("     and Sc.LABOURKIND = {0} ", m_Labourkind);
-
-                sql.Append("        left join ConstructionLedgerExcute AS Cle ");
-                sql.Append("           on Cle.ConstructionCode = Cld.ConstructionCode ");
-                sql.Append("           and Cle.GroupCount = Cld.GroupCount ");
-                sql.Append("           and Cle.LineCount = Cld.LineCount ");
-                sql.AppendFormat("     and Cle.ColumnCount = (PERIOD_DIFF({0}", m_Select_TargetDate);
-                sql.AppendFormat("        , DATE_FORMAT(CL.ConstructionStart, '%Y%m')) + {0}) ", DefaultCol);
-                
-                sql.Append("        left join PurchaseOrderDate as Pod ");
-                sql.Append("           on Cld.CompanyCode = Pod.CompanyCode ");
-                sql.Append("           and Cld.ConstructionCode = Pod.ConstructionCode ");
-                sql.Append("        left join (ConstructionBaseInfo as Cbi ");
-                sql.Append("           left join PersonInChargeMaster as Picm ");
-                sql.Append("              on Cbi.ConstructionPersonCode = Picm.PersonCode ");
-                sql.Append("           left join PersonInChargeMaster as Picm_Sale ");
-                sql.Append("              on Cbi.SalesPersonCode = Picm_Sale.PersonCode ");
-                sql.Append("           left join PersonInChargeMaster as Picm_Sub ");
-                sql.Append("              on Cbi.ConstrSubPersonCode = Picm_Sub.PersonCode ");
-                sql.Append("           left join PersonInChargeMaster as Picm_Inst ");
-                sql.Append("              on Cbi.ConstructionInstructor = Picm_Inst.PersonCode) ");
-                sql.Append("        on Cld.ConstructionCode = Cbi.ConstructionCode ");
-
-                sql.Append("      left join approvalmaster As AppM ");
-                sql.AppendFormat("  on AppM.ApprovalCode = {0} ", Appcode);
-                sql.Append("        And AppM.DepartmentCode = Picm.DepartmentCode ");
-                sql.Append("        Inner join PersonInChargeMaster as AppPName ");
-                sql.Append("          on AppPName.PersonCode = AppM.ApprovalPerson ");
-
-                sql.Append(" Where ");
-                sql.AppendFormat("  Cld.GroupCount = {0} ", (int)FrmConstructionLedger.DataGroup.ConstructionCosts);
-                sql.Append("  and Cld.CompanyCode > 0 ");
-                sql.AppendFormat("  and Cld.CompanyType = {0}", (int)CommonDefine.CodeDataType.Subconstractor);
-
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region ‘¶�Ý�¿‹�‚Ü‚Æ‚ßƒf�[ƒ^“Ç�žSQL�ì�¬
-        /// <summary>
-        /// ‘¶�Ý�¿‹�‚Ü‚Æ‚ßƒf�[ƒ^“Ç�žSQL�ì�¬
-        /// </summary>
-        /// <param name="PaInfo"></param>
-        /// <param name="sql"></param>
-        private void CreateSQLType2Exists(ref StringBuilder sql)
-        {
-            try
-            {
-                int Appcode = 0;
-                if (m_Labourkind == (int)CommonDefine.LabourKinds.Labor)
-                    Appcode = (int)ClsExcute.ApprovalListNo.FeePayment;
-                else
-                    Appcode = (int)ClsExcute.ApprovalListNo.SubConstrPayment;
-
-                sql.Append(" Select ");
-                sql.Append("  ifnull(Bd.SeqNo, 1) as SeqNo ");
-                sql.Append("  , ifnull(Bdd.LINECOUNT, 0) as LineCount ");
-                sql.Append("  , ifnull(Bdd.CompanyCode, 0) as CompanyCode ");
-                sql.Append("  , ifnull(Scm.CompanyName, \'\') as CompanyName ");
-                sql.Append("  , ifnull(Scm.DisplayOrder, 99999999) as DisplayOrder ");
-                sql.Append("  , Bdd.ConstructionCode as ConstructionCode ");
-                sql.Append("  , case Bdd.FieldName ");
-                sql.AppendFormat("    when '{0}' then  Bdd.FieldName", s_UnknownString);
-                sql.Append("    else Cbd.DetailString");
-                sql.Append("    End as FieldName ");
-                sql.Append("  , Bdd.BillPrice as BillPrice ");
-                sql.Append("  , Bdd.HighwPrice as HighwPrice ");
-                sql.Append("  , Bdd.HardwPrice as HardwPrice ");
-                sql.Append("  , Bdd.IndswasteTax as IndswasteTax ");
-                sql.Append("  , DATE_FORMAT(Bdd.UpdateDate, '%Y/%m/%d %H:%i:%s') as UpdateDate ");
-                sql.Append("  , ifnull(Bdd.Note, '') as Bikou ");
-                sql.Append("  , ifnull(Pdd.BillPrice, 0) as KojiSeikyu ");
-                sql.Append("  , ifnull(Pdd.DiscountPrice, 0) as KojiNebiki ");
-                sql.Append("  , ifnull(Pdd.OffsetPrice, 0) as KojiSousai ");
-                sql.Append("  , ifnull(Pdd.NextCoPrice, 0) as JikaiKurikosi ");
-                sql.Append("  , ifnull(Pdd.HighwPrice, 0) as KojiKousoku ");
-                sql.Append("  , ifnull(Pdd.HardwPrice, 0) as KojiKanamono ");
-                sql.Append("  , ifnull(Pdd.IndswasteTax, 0) as KojiSannhaiZei ");
-                sql.Append("  , ifnull(Pdd.CnstrPrice, 0) as CnstrPrice ");
-                sql.Append("  , ifnull(Pdd.CnstrPriceExist, - 1) as CnstrPriceExist ");
-                sql.Append("  , ifnull(Pdd.ApprovalPersonCode, 0) as ApprovalPersonCode ");
-                sql.Append("  , ifnull(Picm.SealPrintName, '') as TantoNM ");
-                sql.Append("  , DATE_FORMAT( ");
-                sql.AppendFormat("    ifnull(Pdd.APPROVALDATE, '{0}') ", DateTime.MinValue.ToShortDateString());
-                sql.Append("    , '%Y/%m/%d' ");
-                sql.Append("  ) as ApprovalDate ");
-                sql.Append("  , ifnull(Pdd.ApprovalEndFlg, 0) as ApprovalEndFlg ");
-                sql.Append("  , Picm.DepartmentCode As AppDepCode");
-                sql.Append("  , ifnull(Cbi.SalesPersonCode, 0) as SalesPersonCode ");
-                sql.Append("  , ifnull(Cbi.ConstructionPersonCode, 0) as ConstructionPersonCode ");
-                sql.Append("  , ifnull(Cbi.ConstrSubPersonCode, 0) as ConstrSubPersonCode ");
-                sql.Append("  , ifnull(Cbi.ConstructionInstructor, 0) as ConstructionInstructor ");
-                sql.Append("  , Picm2.DepartmentCode As ConstrDepCode ");
-                sql.Append("  , Picm3.DepartmentCode As SalesDepCode ");
-                sql.Append("  , Picm4.DepartmentCode As AssistDepCode ");
-                sql.Append("  , Picm5.DepartmentCode As InstrDepCode ");
-
-                sql.Append("  , case ifnull(DATE(Pod.SendDate), '') ");
-                sql.Append("    when '' then '�~' ");
-                sql.AppendFormat("    when '{0}' then '�~' ", DateTime.MinValue.ToShortDateString());
-                sql.Append("    else '�›' ");
-                sql.Append("    end as PurchaseOrderMailingDate ");
-                
-                sql.Append("  , case ifnull(DATE(Pod.ReturnCheckDate), '') ");
-                sql.Append("    when '' then '�~' ");
-                sql.AppendFormat("    when '{0}' then '�~' ", DateTime.MinValue.ToShortDateString());
-                sql.Append("    else '�›' ");
-                sql.Append("    end as PurchaseOrderReturnDate ");
-                
-                sql.Append("  , case ifnull(Pa.PersonCode, 0) ");
-                sql.Append("    when 0 then '�~' ");
-                sql.Append("    else '�›' ");
-                sql.Append("    end as PaData ");
-
-                sql.Append("  , Bdd.LineCount as LinePoint ");
-                sql.Append("  , Bdd.CONSTRUCTIONROWCNT as DetailPoint ");
-                sql.Append("  , Bdd.CONSTRUCTIONCOLCNT as ColPoint  ");
-                sql.Append("  , Cld.SecondString as DetailName ");
-                sql.Append("  , PersonApp.PersonCode As M1 ");
-                sql.Append("  , PersonApp.ApprovalCode As M2 ");
-                sql.Append("  , PersonApp.OrderNo As M3 ");
-                sql.Append("  , PayApp.APPROVALPERSON As M4 ");
-                sql.Append("  , PersonApp.ApprovalStatus As M5 ");
-                sql.Append("  , PayApp.APPROVALDATE As M6 ");
-                sql.Append("  , AppM.ApprovalCode As M7 ");
-                sql.Append("  , AppM.DepartmentCode As M8 ");
-                sql.Append("  , AppM.SeqNo As M9 ");
-                sql.Append("  , AppM.DisplayOrder As M10 ");
-                sql.Append("  , AppM.ApprovalPerson As M11 ");
-                sql.Append("  , AppPName.PersonName As M12 ");
-                sql.Append("  , AppM.ApprovalAuthority As M13  ");
-
-                sql.Append(" From BillingData as Bd");
-                sql.Append("       left join (BillingDataDetail as Bdd");
-                sql.Append("         left join (PaymentDataDetail as Pdd ");
-                sql.Append("              left join PersonInChargeMaster as Picm ");
-                sql.Append("                   on Picm.PersonCode = ifnull(Pdd.ApprovalPersonCode, -1)");
-                sql.Append("         )");
-                sql.Append("           on Bdd.CompanyCode = Pdd.CompanyCode ");
-                sql.Append("           and Bdd.TargetDate = Pdd.TargetDate ");
-                sql.Append("           and Bdd.SeqNo = Pdd.SeqNo ");
-                sql.Append("           and Bdd.LineCount = Pdd.LineCount ");
-
-                sql.Append("       Left Join (ConstructionBaseInfo as Cbi ");
-                sql.Append("          left join PersonInChargeMaster as Picm2 ");
-                sql.Append("            on Picm2.PersonCode = Cbi.ConstructionPersonCode ");
-                sql.Append("          left join PersonInChargeMaster as Picm3 ");
-                sql.Append("            on Picm3.PersonCode = Cbi.SalesPersonCode ");
-                sql.Append("          left join PersonInChargeMaster as Picm4 ");
-                sql.Append("            on Picm4.PersonCode = Cbi.ConstrSubPersonCode ");
-                sql.Append("          left join PersonInChargeMaster as Picm5 ");
-                sql.Append("            on Picm5.PersonCode = Cbi.ConstructionInstructor ");
-                sql.Append("          left join ProcessApproval as Pa ");
-                sql.Append("            on Pa.ConstructionCode = Cbi.ConstructionCode");
-                sql.AppendFormat("      and Pa.ApprovalCode = {0}", (int)ClsExcute.ApprovalListNo.ConstructionBudgetApproval);
-                sql.Append("            and Pa.SeqNo = 1 ");
-                sql.AppendFormat("      and Pa.ApprovalStatus = {0}) ", (int)CommonDefine.ApprovalStatus.Approval);
-                sql.Append("       on Bdd.ConstructionCode = Cbi.ConstructionCode) ");
-
-                sql.Append("       on Bd.CompanyCode = Bdd.CompanyCode ");
-                sql.Append("       and Bd.TargetDate = Bdd.TargetDate ");
-                sql.Append("       and Bd.SeqNo = Bdd.SeqNo ");
-
-                sql.Append("  left join (PurchaseOrderDate as Pod )");
-                sql.Append("       on Bd.CompanyCode = Pod.CompanyCode ");
-                sql.Append("       and Bdd.ConstructionCode = Pod.ConstructionCode ");
-
-                sql.Append("  left join constructionledger as Cl");
-                sql.Append("       ON Cl.ConstructionCode = Bdd.CONSTRUCTIONCODE");
-                sql.AppendFormat(" And Cl.ComplateFlg = {0}", (int)ConstructionLedger.CompFlagDef.Operateing);
-
-                sql.Append("  Left join constructionledgerDetail as Cld");
-                sql.Append("       ON Cld.ConstructionCode = Bdd.CONSTRUCTIONCODE");
-                sql.AppendFormat(" And Cld.GroupCount = {0}", (int)FrmConstructionLedger.DataGroup.ConstructionCosts);
-                sql.Append("       And Cld.DetailCount = Bdd.CONSTRUCTIONROWCNT");
-
-                sql.Append("  left join ConstructionBaseinfoDetail as Cbd");
-                sql.Append("       on Cbd.ConstructionCode = Cld.SourceCode ");
-                sql.AppendFormat(" and Cbd.DetailNo = {0} ", (int)ConstructionBaseInfoDetail.DataNoDef.ConstructionName);
-
-                sql.Append("  left join approvalmaster As AppM ");
-                sql.AppendFormat(" on AppM.ApprovalCode = {0} ", Appcode);
-                sql.Append("       And AppM.DepartmentCode = Picm.DepartmentCode ");
-
-                sql.Append("  Left join PersonInChargeMaster as AppPName ");
-                sql.Append("       on AppPName.PersonCode = AppM.ApprovalPerson ");
-
-                sql.Append("  Left Join personapproval As PersonApp ");
-                sql.Append("       On PersonApp.PersonCode = Cbi.ConstructionPersonCode ");
-                sql.Append("       And PersonApp.PersonCodeApproval = AppPName.PersonCode ");
-
-                sql.AppendFormat(" And DATE (PersonApp.OrderDate) = '{0}' ", GetTargetDate().ToShortDateString());
-                sql.Append("       And  PersonApp.SeqNo > 1");
-
-                sql.Append("  Left Join paymentapprovalinfo As PayApp");
-                sql.Append("       On PayApp.COMPANYCODE = Pdd.COMPANYCODE");
-                sql.Append("       And PayApp.TARGETDATE = Pdd.TARGETDATE");
-                sql.Append("       And PayApp.SEQNO = Pdd.SEQNO");
-                sql.Append("       And PayApp.LINECOUNT = Pdd.LINECOUNT");
-                sql.Append("       And PayApp.APPROVALPERSON = AppM.ApprovalPerson");
-
-                sql.Append("  Inner Join SubContractorMaster as Scm ");
-                sql.Append("        On Bdd.CompanyCode = Scm.CompanyCode ");
-                sql.AppendFormat("  And Scm.LabourKind = {0} ", m_Labourkind);
-
-                sql.AppendFormat(" Where Bd.TargetDate = {0} ", m_Select_TargetDate);
-
-                int nNotCode = CommonDefine.ProjectsStatus.First(x => x.Value.Equals("”ñ Žó ’�")).Key;
-                sql.AppendFormat(" And Cbi.ConstructionStatusFlg != {0} ", nNotCode);
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region ‹ÆŽÒ�¿‹�Žx•¥ƒTƒ}ƒŠ�[ƒf�[ƒ^—p�‡Œv’lŽæ“¾�@(ƒf�[ƒ^’PˆÊ)
-        /// <summary>
-        /// ‹ÆŽÒ�¿‹�Žx•¥ƒTƒ}ƒŠ�[ƒf�[ƒ^—p�‡Œv’lŽæ“¾�@(ƒf�[ƒ^’PˆÊ)
-        /// </summary>
-        /// <param name="dgv"></param>
-        /// <param name="CompanyCode">‹¦—Í‰ïŽÐƒR�[ƒh</param>
-        /// <param name="ChargePaymentKind">‘Î�ÛŽx•¥‚¢‹æ•ª�@0�F�¿‹�(‘�–±�j 1�FŽx•¥(�HŽ–’S“–)</param>
-        /// <param name="BpsWork"></param>
-        /// <returns></returns>
-        private bool GetBpsGoukei(DataGridViewEX dgv, int CompanyCode, int ChargePaymentKind, ref BillingPaymentSummary BpsWork)
-        {
-            try
-            {
-                if (ChargePaymentKind == 0)
-                {
-                    // 0�F�¿‹�(‘�–±�j
-                    BpsWork.Payday = CommonMotions.cnvDate(lblPaymentDate.Text);
-                    BpsWork.BillPriceStotal = GetBpsGoukei(dgv, CompanyCode, DispColumn.SomuSeikyu);
-                    //BpsWork.ConsumptionTaxRate = 0.08; // �¦‰ïŽÐ�î•ñ‚Ì’l‚ª�Ý’è‚³‚ê‚é‚æ‚¤‚É‚È‚é
-                    BpsWork.ConsumptionTaxRate = CommonMotions.SystemMasterData.ConsumptionTax;
-                    BpsWork.ConsumptionTaxPrice = CommonMotions.cnvRound(CommonMotions.cnvDouble(BpsWork.BillPriceStotal) * BpsWork.ConsumptionTaxRate);
-                    BpsWork.HighwPriceStotal = GetBpsGoukei(dgv, CompanyCode, DispColumn.SomuKosoku);
-                    BpsWork.HardwPriceStotal = GetBpsGoukei(dgv, CompanyCode, DispColumn.SomuKanamono);
-                    BpsWork.IndsWasteTaxStotal = GetBpsGoukei(dgv, CompanyCode, DispColumn.SomuSannhaiZei);
-
-                    //SystemMaster sm = new SystemMaster();
-                    //BpsWork.CnstrPriceRate = (sm.CooperationRate / 100);
-                    BpsWork.CnstrPriceRate = (CommonMotions.SystemMasterData.CooperationRate / 100);
-                    BpsWork.CnstrPriceStotal = 0;
-                    BpsWork.BillingPriceTotal = BpsWork.BillPriceStotal + BpsWork.ConsumptionTaxPrice + BpsWork.HighwPriceStotal + BpsWork.HardwPriceStotal + BpsWork.IndsWasteTaxStotal;
-                }
-                else if (ChargePaymentKind == 1)
-                {
-                    // 1�FŽx•¥(�HŽ–’S“–)
-                    BpsWork.Payday = CommonMotions.cnvDate(lblPaymentDate.Text);
-                    BpsWork.BillPriceStotal = GetBpsGoukei(dgv, CompanyCode, DispColumn.KojiSeikyu);
-                    //BpsWork.ConsumptionTaxRate = 0.08; // �¦‰ïŽÐ�î•ñ‚Ì’l‚ª�Ý’è‚³‚ê‚é‚æ‚¤‚É‚È‚é
-                    BpsWork.ConsumptionTaxRate = CommonMotions.SystemMasterData.ConsumptionTax;
-                    BpsWork.ConsumptionTaxPrice = CommonMotions.cnvRound(CommonMotions.cnvDouble(BpsWork.BillPriceStotal) * BpsWork.ConsumptionTaxRate);
-                    BpsWork.HighwPriceStotal = GetBpsGoukei(dgv, CompanyCode, DispColumn.KojiKosoku);
-                    BpsWork.HardwPriceStotal = GetBpsGoukei(dgv, CompanyCode, DispColumn.KojiKanamono);
-                    BpsWork.IndsWasteTaxStotal = GetBpsGoukei(dgv, CompanyCode, DispColumn.KojiSannhaiZei);
-                    //SystemMaster sm = new SystemMaster();
-                    //BpsWork.CnstrPriceRate = (sm.CooperationRate / 100);
-                    //BpsWork.CnstrPriceStotal = CommonMotions.cnvRound(CommonMotions.cnvDouble(BpsWork.BillPriceStotal) * (sm.CooperationRate / 100));
-                    BpsWork.CnstrPriceRate = (CommonMotions.SystemMasterData.CooperationRate / 100);
-                    BpsWork.CnstrPriceStotal = CommonMotions.cnvRound(CommonMotions.cnvDouble(BpsWork.BillPriceStotal) * BpsWork.CnstrPriceRate);
-                    BpsWork.BillingPriceTotal = BpsWork.BillPriceStotal + BpsWork.ConsumptionTaxPrice + BpsWork.HighwPriceStotal + BpsWork.HardwPriceStotal + BpsWork.IndsWasteTaxStotal - BpsWork.CnstrPriceStotal;
-
-                }
-
-                return true;
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                return false;
-            }
-        }
-        #endregion
-
-        #region ‹ÆŽÒ�¿‹�Žx•¥ƒTƒ}ƒŠ�[ƒf�[ƒ^—p�‡Œv’lŽæ“¾�@(—ñ’PˆÊ)
-        /// <summary>
-        /// ‹ÆŽÒ�¿‹�Žx•¥ƒTƒ}ƒŠ�[ƒf�[ƒ^—p�‡Œv’lŽæ“¾�@(—ñ’PˆÊ)
-        /// </summary>
-        /// <param name="dgv"></param>
-        /// <param name="CompanyCode"></param>
-        /// <param name="TargetColumn"></param>
-        /// <returns></returns>
-        private long GetBpsGoukei(DataGridViewEX dgv, int CompanyCode, DispColumn TargetColumn)
-        {
-            long Result = 0;
-            try
-            {
-
-                Result = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×
-                                                                && cnvRowState(x.Cells[(int)DispColumn.RowState].Value) != DataRowState.Deleted
-                                                                && CommonMotions.cnvInt(x.Cells[m_Company_DispColumn].Value) == CompanyCode)
-                                                        .Sum(y => CommonMotions.cnvLong(y.Cells[(int)TargetColumn].Value));
-
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-            return Result;
-
-        }
-        #endregion
-
-        #region ‰æ–Ê�€–Ú‚Ìƒ`ƒFƒbƒN
-        /// <summary>
-        /// ‰æ–Ê�€–Ú‚Ìƒ`ƒFƒbƒN
-        /// </summary>
-        /// <returns></returns>
-        private bool DispFeildCheck()
-        {
-            bool bRet = true;
-            try
-            {
-                DataGridViewEX dgv = getShowingView();
-
-                // •K—v�s’Š�o ‹ÆŽÒƒR�[ƒh�A˜A”Ô�A�s”Ô�†�¸�‡
-                DataGridViewRow[] Rows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×
-                                                                                    && cnvRowState(x.Cells[(int)DispColumn.RowState].Value) != DataRowState.Deleted)
-                                                                         .OrderBy(y => y.Cells[m_Company_DispColumn].Value)
-                                                                         .ThenBy(y1 => y1.Cells[(int)DispColumn.GroupSeqNo].Value)
-                                                                         .ThenBy(y2 => y2.Cells[(int)DispColumn.LineCount].Value)
-                                                                         .ToArray();
-
-                foreach (DataGridViewRow r in Rows)
-                {
-                    CommonMotions.chgBackColor(r.Cells[m_GenbaNM_Column], true);
-                    long nTotal = 0;
-                    // “ü—Í‹àŠz‚ð�WŒv‚·‚é
-                    for (int i = (int)DispColumn.KojiSeikyu; i <= (int)DispColumn.KojiSannhaiZei; i++)
-                    {
-                        if (i == (int)DispColumn.JikaiKurikosi) continue;
-                        nTotal += CommonMotions.cnvInt(r.Cells[i].Value);
-                    }
-
-                    if (CommonMotions.cnvInt(r.Cells[m_Genba_Column].Value) == 0
-                        && ((nTotal != 0) || r.Cells[(int)DispColumn.TantoShonin].Style.ForeColor != Color.Gray))
-                    {
-                        CommonMotions.chgBackColor(r.Cells[m_GenbaNM_Column], false);
-                        MessageBox.Show("Œ»�ê‚ª‘I‘ð‚³‚ê‚Ä‚¢‚Ü‚¹‚ñ�B", "ƒf�[ƒ^Šm”F", MessageBoxButtons.OK, MessageBoxIcon.Warning);
-                        bRet = false;
-                    }
-
-                }
-
-                return bRet;
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                return false;
-            }
-        }
-        #endregion
-
-        #region ƒf�[ƒ^“o˜^‚c‚a‚ÌRollBcak�ˆ—�
-        /// <summary>
-        /// ƒf�[ƒ^“o˜^‚c‚a‚ÌRollBcak�ˆ—�
-        /// </summary>
-        private void DataEntryRollBack(IOBillingData IoBd,
-                                        IOBillingDataDetail IoBdD,
-                                        IOPaymentDataDetail IoPdD,
-                                        IOPaymentApprovalInfo IoPaI,
-                                        IOBillingPaymentSummary IoBps,
-                                        IOConstructionLedgerDetail IoDetail,
-                                        IOConstructionLedgerExcute IoExec)
-        {
-            try
-            {
-                IoBd.rollback();
-                IoBdD.rollback();
-                IoPdD.rollback();
-                IoPaI.rollback();
-                IoBps.rollback();
-                IoDetail.rollback();
-                IoExec.rollback();
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region ƒf�[ƒ^•Ï�Xƒ`ƒFƒbƒN
-        /// <summary>
-        /// ƒf�[ƒ^•Ï�Xƒ`ƒFƒbƒN
-        /// </summary>
-        /// <returns></returns>
-        private bool CheckDataDelete(IOBillingDataDetail IoBdD, ref List<BillingDataDetail> BdDList, bool bError)
-        {
-            try
-            {
-                bool bModify = false;
-                DataGridViewEX dgv = getShowingView();
-
-                //�@�í�œ‘Î�Û‚Ì‹ÆŽÒƒR�[ƒh�A˜A”Ô‚Ìƒf�[ƒ^‚Ì’†‚Ì‚¢‚¸‚ê‚©‚ª‘¼ŽÒ‚É‚æ‚Á‚Ä•Ï�X‚³‚ê‚Ä‚¢‚é‚©ƒ`ƒFƒbƒN
-                var rows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×
-                                                                    && cnvRowState(x.Cells[(int)DispColumn.RowState].Value) == DataRowState.Deleted)
-                                                           .GroupBy(c => new
-                                                           {
-                                                               CompanyCode = CommonMotions.cnvInt(c.Cells[m_Company_DispColumn].Value),
-                                                               SeqNo = CommonMotions.cnvInt(c.Cells[(int)DispColumn.GroupSeqNo].Value)
-                                                           })
-                                                           .ToArray();
-
-                StringBuilder strWhere = new StringBuilder();
-                if (rows.Count() == 0) return false;
-
-                foreach (var r in rows)
-                {
-                    strWhere.Clear();
-                    strWhere.AppendFormat(" Where CompanyCode = {0}", r.Key.CompanyCode);
-                    strWhere.AppendFormat(" and TargetDate = {0}", m_Select_TargetDate);
-                    strWhere.AppendFormat(" and SeqNo = {0}", r.Key.SeqNo);
-                    strWhere.Append(" order by CompanyCode, SeqNo, LineCount");
-                    BdDList.Clear();
-                    if (!IoBdD.SelectAction(strWhere.ToString(), ref BdDList, false))
-                    {
-                        MessageBox.Show("“o˜^Šm”F‚ÉŽ¸”s‚µ‚Ü‚µ‚½�B", "“o˜^ƒGƒ‰�[", MessageBoxButtons.OK, MessageBoxIcon.Error);
-                        bError = true;
-                        return false;
-                    }
-                    // Žæ“¾ƒf�[ƒ^‚ª–³‚¯‚ê‚ÎŽŸ‚Ì�s‚Ö
-                    if (BdDList.Count == 0) continue;
-
-                    foreach (BillingDataDetail listRow in BdDList)
-                    {
-                        // ƒOƒŠƒbƒh•\Ž¦ƒf�[ƒ^‚ÌŽæ“¾
-                        DataGridViewRow[] checkRow = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×
-                                                                                                && cnvRowState(x.Cells[(int)DispColumn.RowState].Value) == DataRowState.Modified
-                                                                                                && CommonMotions.cnvInt(x.Cells[m_Company_DispColumn].Value) == listRow.CompanyCode
-                                                                                                && CommonMotions.cnvInt(x.Cells[(int)DispColumn.GroupSeqNo].Value) == listRow.SeqNo
-                                                                                                && CommonMotions.cnvInt(x.Cells[(int)DispColumn.LineCount].Value) == listRow.LineCount)
-                                                                                    .ToArray();
-                        // ƒf�[ƒ^�X�V“ú•t‚Ì”äŠr
-                        DateTime dtUpDate = CommonMotions.cnvDate(checkRow[0].Cells[(int)DispColumn.UpdateDate].Value);
-                        if (checkRow.Count() != 0 && listRow.UpdateDate != dtUpDate)
-                        {
-                            MessageBox.Show("‘¼‚Ìƒ†�[ƒU�[‚É‚æ‚Á‚Ä�X�V‚³‚ê‚Ä‚¢‚Ü‚·�Bƒf�[ƒ^‚ð�Ä•\Ž¦‚µ‚Ä‰º‚³‚¢�B", "“o˜^ƒGƒ‰�[", MessageBoxButtons.OK, MessageBoxIcon.Error);
-                            bModify= true;
-                            break;
-                        }
-                    }
-                }
-
-                return bModify;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                bError = true;
-                return false;
-            }
-        }
-        #endregion
-
-        #region ƒZƒ‹ƒ_ƒuƒ‹ƒNƒŠƒbƒN
-        /// <summary>
-        /// ƒZƒ‹ƒ_ƒuƒ‹ƒNƒŠƒbƒN
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void GridDoubleClick(object sender, DataGridViewCellEventArgs e)
-        {
-            try
-            {
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region �í�œ‘Î�Ûƒf�[ƒ^’è‹`
-        /// <summary>
-        /// �í�œ‘Î�Ûƒf�[ƒ^’è‹`
-        /// </summary>
-        private enum ExceRemDataDef
-        {
-            /// <summary>
-            /// ‹ÆŽÒ�í�œ
-            /// </summary>
-            SelCompany = 1,
-            /// <summary>
-            /// �HŽ–ˆÄŒ�
-            /// </summary>
-            SelProject,
-        }
-        #endregion
-
-        #region ƒf�[ƒ^�í�œŠm”F�ˆ—�
-        /// <summary>
-        /// ƒf�[ƒ^�í�œŠm”F�ˆ—�
-        /// </summary>
-        /// <returns></returns>
-        private bool ExceRemoveConfirmation(ExceRemDataDef SelExec)
-        {
-            try
-            {
-                DataGridViewEX dgv = getShowingView();
-                DataGridViewRow CurRow = dgv.CurrentRow;
-
-                // ƒJƒŒƒ“ƒg�sƒoƒbƒNƒAƒbƒv�•‘Î�Û�FƒZƒbƒg
-                GridCellStyleMember[] CurRowStyle = new GridCellStyleMember[dgv.ColumnCount];
-                CommonMotions.InitSavrGridRow(ref CurRowStyle);
-
-                DataGridViewRow[] ExecRows = null;
-                if (SelExec == ExceRemDataDef.SelCompany)
-                {
-                    int SelData = CommonMotions.cnvInt(CurRow.Cells[m_Company_DispColumn].Value);
-                    if (dgv == dgvCompany)
-                    {
-                        ExecRows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[m_Company_Column].Value) == SelData
-                                                                                && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×)
-                                                                    .ToArray();
-                    }
-                    else
-                    {
-                        ExecRows = new DataGridViewRow[1];
-                        ExecRows[0] = CurRow;
-                    }
-                }
-                else if (SelExec == ExceRemDataDef.SelProject)
-                {
-                    int SelData = CommonMotions.cnvInt(CurRow.Cells[m_Genba_Column].Value);
-                    if (dgv == dgvProject)
-                    {
-                        ExecRows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[m_Genba_Column].Value) == SelData
-                                                                                && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×)
-                                                                    .ToArray();
-                    }
-                    else
-                    {
-                        ExecRows = new DataGridViewRow[1];
-                        ExecRows[0] = CurRow;
-                    }
-                }
-
-
-                foreach (DataGridViewRow ChangeRow in ExecRows)
-                {
-                    CommonMotions.ChangeGridRow(dgv, ChangeRow, ref CurRowStyle);
-                }
-
-                DialogResult drRet = MessageBox.Show("‘I‘ð�s‚ª“–ŒŽ‚ÌŽx•¥‚¢‚æ‚è�í�œ‚³‚ê‚Ü‚·�B\r\n�í�œ‚Í“o˜^ŒãŠm’è‚³‚ê‚Ü‚·�B"
-                                , "�í�œŠm”F"
-                                , MessageBoxButtons.OKCancel
-                                , MessageBoxIcon.Exclamation);
-
-                if (drRet == DialogResult.Cancel)
-                {
-                    // �F‚ðŒ³‚É–ß‚·
-                    foreach (DataGridViewRow ChangeRow in dgv.Rows)
-                    {
-                        CommonMotions.ChangeGridRow(dgv, ChangeRow, ref CurRowStyle, false);
-                    }
-                    return false;
-                }
-
-                return true;
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                return false;
-            }
-        }
-        #endregion
-
-        #region ‹ÆŽÒ�í�œ�ˆ—�
-        /// <summary>
-        /// ‹ÆŽÒ�í�œ�ˆ—�
-        /// </summary>
-        private void RemoveCompany()
-        {
-            try
-            {
-                DataGridViewEX dgv = getShowingView();
-                DataGridViewRow CurRow = dgv.CurrentRow;
-
-                // �í�œŠm”F
-                if (!ExceRemoveConfirmation(ExceRemDataDef.SelCompany)) return;
-
-                int nCompanyCode = CommonMotions.cnvInt(CurRow.Cells[m_Company_DispColumn].Value);
-                int nConstrCode = CommonMotions.cnvInt(CurRow.Cells[m_Genba_Column].Value);
-                // –¾�×�sŽæ“¾
-                DataGridViewRow[] DetailRows = null;
-                if (rdbCompany.Checked)
-                {
-                    DetailRows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[m_Company_DispColumn].Value) == nCompanyCode
-                                                                                && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×)
-                                                                             .ToArray();
-                }
-                else
-                {
-                    // –¾�×ˆÈŠO‚Í�ˆ—�‚µ‚È‚¢
-                    if (CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.RowType].Value) != (int)RowsTypeDef.–¾�×) return;
-                    DetailRows = new DataGridViewRow[1];
-                    DetailRows[0] = CurRow;
-                }
-
-                // ‘Î�Û�s‚ª–³‚¯‚ê‚Î�ˆ—�‚µ‚È‚¢
-                if (DetailRows.Count() < 1) return;
-
-                // �í�œƒ`ƒFƒbƒN
-                long nChkValue = 0;
-                foreach (DataGridViewRow wrkRow in DetailRows)
-                {
-                    for (int i = (int)DispColumn.SomuSeikyu; i < (int)DispColumn.KojiKanamono; i++)
-                    {
-                        if (i == (int)DispColumn.JikaiKurikosi) continue;
-                        nChkValue += CommonMotions.cnvLong(wrkRow.Cells[i].Value);
-                    }
-                }
-
-                if (nChkValue > 0)
-                {
-                    MessageBox.Show("‹àŠz‚ª“ü—Í‚³‚ê‚Ä‚¢‚é‚½‚ß�A�í�œ‚Å‚«‚Ü‚¹‚ñ�B", "ƒf�[ƒ^Šm”F", MessageBoxButtons.OK, MessageBoxIcon.Error);
-                    return;
-                }
-
-                // –¾�×�s�í�œ
-                List<DataGridViewRow> RemovRows = new List<DataGridViewRow>();
-                foreach (DataGridViewRow r in DetailRows)
-                {
-                    if (cnvRowState(r.Cells[(int)DispColumn.RowState].Value) == DataRowState.Added)
-                    {
-                        RemovRows.Add(r);
-                    }
-                    else
-                    {
-                        r.Cells[(int)DispColumn.RowState].Value = DataRowState.Deleted;
-                        r.Cells[(int)DispColumn.RowVisible].Value = (int)RowVisibleDef.UnVisible;
-                        r.Visible = false;
-                    }
-                }
-
-                // �V‹K‚Å’Ç‰Á‚µ‚½�s‚Í�í�œ‚·‚é
-                foreach (DataGridViewRow r in RemovRows)
-                {
-                    dgv.Rows.Remove(r);
-                }
-
-                DataGridViewRow[] TotalRows = null;
-                if (rdbCompany.Checked)
-                {
-                    // ‹ÆŽÒƒOƒŠƒbƒh‚Å‹ÆŽÒ�í�œ‚Í�‡Œv‚à�í�œ‚·‚é
-                    // �‡Œv�sŽæ“¾
-                    TotalRows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[m_Company_Column].Value) == nCompanyCode
-                                                                                                && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) != (int)RowsTypeDef.–¾�×)
-                                                                                    .ToArray();
-                }
-                else
-                {
-                    // Œ»�êƒOƒŠƒbƒh‚Å�s‚ª‚È‚­‚È‚ê‚Î�‡Œv‚à�í�œ‚·‚é
-                    // Œ»�ê“à�s‚ðŽæ“¾‚·‚é
-                    DataGridViewRow[] LeftOverRows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[m_Genba_Column].Value) == nConstrCode
-                                                                                                && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowVisible].Value) == (int)RowVisibleDef.Visible
-                                                                                                && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×)
-                                                                                    .ToArray();
-
-                    if (LeftOverRows.Count() < 1)
-                    {
-                        // �‡Œv�sŽæ“¾
-                        TotalRows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[m_Genba_Column].Value) == nConstrCode
-                                                                                && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) != (int)RowsTypeDef.–¾�×)
-                                                                    .ToArray();
-                    }
-
-                }
-
-                // �‡Œv�s�í�œ
-                foreach (DataGridViewRow r in TotalRows)
-                {
-                    dgv.Rows.Remove(r);
-                }
-
-                ResetNo();
-
-                controlButton_DataCount();
-
-                m_bChengeAns = true;
-
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region Œ»�ê�í�œ�ˆ—�
-        /// <summary>
-        /// Œ»�ê�í�œ�ˆ—�
-        /// </summary>
-        private void RemoveProject()
-        {
-            try
-            {
-                DataGridViewEX dgv = getShowingView();
-                if (dgv == null) return;
-                DataGridViewRow CurRow = dgv.CurrentRow;
-                if (CurRow == null) return;
-
-                // �í�œŠm”F
-                if (!ExceRemoveConfirmation(ExceRemDataDef.SelProject)) return;
-
-                int nCompanyCode = CommonMotions.cnvInt(CurRow.Cells[m_Company_DispColumn].Value);
-                int nConstrCode = CommonMotions.cnvInt(CurRow.Cells[m_Genba_Column].Value);
-
-                // –¾�×�sŽæ“¾
-                DataGridViewRow[] DetailRows = null;
-                if (rdbCompany.Checked)
-                {
-                    // –¾�×ˆÈŠO‚Í�ˆ—�‚µ‚È‚¢
-                    if (CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.RowType].Value) != (int)RowsTypeDef.–¾�×) return;
-                    DetailRows = new DataGridViewRow[1];
-                    DetailRows[0] = CurRow;
-                }
-                else
-                {
-                    DetailRows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[m_Genba_Column].Value) == nConstrCode
-                                                                                && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×)
-                                                                             .ToArray();
-                }
-
-                // ‘Î�Û�s‚ª–³‚¯‚ê‚Î�ˆ—�‚µ‚È‚¢
-                if (DetailRows.Count() < 1) return;
-
-                // �í�œƒ`ƒFƒbƒN
-                long nChkValue = 0;
-                foreach (DataGridViewRow wrkRow in DetailRows)
-                {
-                    for (int i = (int)DispColumn.SomuSeikyu; i < (int)DispColumn.KojiKanamono; i++)
-                    {
-                        if (i == (int)DispColumn.JikaiKurikosi) continue;
-                        nChkValue += CommonMotions.cnvLong(wrkRow.Cells[i].Value);
-                    }
-                }
-
-                if (nChkValue > 0)
-                {
-                    MessageBox.Show("‹àŠz‚ª“ü—Í‚³‚ê‚Ä‚¢‚é‚½‚ß�A�í�œ‚Å‚«‚Ü‚¹‚ñ�B", "ƒf�[ƒ^Šm”F", MessageBoxButtons.OK, MessageBoxIcon.Error);
-                    return;
-                }
-
-                // –¾�×�s�í�œ
-                List<DataGridViewRow> RemovRows = new List<DataGridViewRow>();
-                foreach (DataGridViewRow r in DetailRows)
-                {
-                    if (cnvRowState(r.Cells[(int)DispColumn.RowState].Value) == DataRowState.Added)
-                    {
-                        RemovRows.Add(r);
-                    }
-                    else
-                    {
-                        r.Cells[(int)DispColumn.RowState].Value = DataRowState.Deleted;
-                        r.Cells[(int)DispColumn.RowVisible].Value = (int)RowVisibleDef.UnVisible;
-                        r.Visible = false;
-                    }
-                }
-
-                // �V‹K‚Å’Ç‰Á‚µ‚½�s‚Í�í�œ‚·‚é
-                foreach (DataGridViewRow r in RemovRows)
-                {
-                    dgv.Rows.Remove(r);
-                }
-
-                // �‡Œv�í�œ
-                DataGridViewRow[] TotalRows = null;
-                if (rdbProject.Checked)
-                {
-                    // Œ»�êƒOƒŠƒbƒh‚ÅŒ»�ê�í�œ‚Í�‡Œv‚à�í�œ‚·‚é
-                    // �‡Œv�sŽæ“¾
-                    TotalRows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[m_Genba_Column].Value) == nConstrCode
-                                                                            && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) != (int)RowsTypeDef.–¾�×)
-                                                                .ToArray();
-
-                }
-                else {
-
-                    // ‹ÆŽÒƒOƒŠƒbƒh‚Å�s‚ª‚È‚­‚È‚ê‚Î�‡Œv‚à�í�œ‚·‚é
-                    // ‹ÆŽÒ“à�s‚ðŽæ“¾‚·‚é
-                    DataGridViewRow[] LeftOverRows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[m_Company_DispColumn].Value) == nCompanyCode
-                                                                                                && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowVisible].Value) == (int)RowVisibleDef.Visible
-                                                                                                && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×)
-                                                                                    .ToArray();
-
-                    if (LeftOverRows.Count() < 1)
-                    {
-                        // �‡Œv�sŽæ“¾
-                        TotalRows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[m_Company_Column].Value) == nCompanyCode
-                                                                                && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) != (int)RowsTypeDef.–¾�×)
-                                                                    .ToArray();
-                    }
-                }
-
-                // �‡Œv�s�í�œ
-                foreach (DataGridViewRow r in TotalRows)
-                {
-                    dgv.Rows.Remove(r);
-                }
-
-                ResetNo();
-
-                controlButton_DataCount();
-
-                m_bChengeAns = true;
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region �HŽ–�Ú�×‘ä’ ‹ÆŽÒ‘¶�Ýƒ`ƒFƒbƒN
-        /// <summary>
-        /// �HŽ–�Ú�×‘ä’ ‹ÆŽÒ‘¶�Ýƒ`ƒFƒbƒN
-        /// </summary>
-        private void CheckExistsLedger(int nCompnyCode, int nConstrCode, ref int RowCnt, ref int ColCnt)
-        {
-            IOConstructionLedgerDetail CLDDB = new IOConstructionLedgerDetail();
-            try
-            {
-                DataGridViewEX dgv = getShowingView();
-
-                // •\Ž¦‰æ–Ê�ã‚É‹¦—Í‰ïŽÐ‚ª–³‚¢‚©‚ðƒ`ƒFƒbƒN‚·‚é
-                DataGridViewRow[] compRow = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×
-                                                                                    && cnvRowState(x.Cells[(int)DispColumn.RowState].Value) != DataRowState.Deleted
-                                                                                    && CommonMotions.cnvInt(x.Cells[m_Company_DispColumn].Value) == nCompnyCode)
-                                                                                .ToArray();
-
-                ArrayList CLDList = new ArrayList();
-                StringBuilder strSQL = new StringBuilder();
-                strSQL.Append("Select");
-                strSQL.Append(" A.ConstructionCode");       // 0
-                strSQL.Append(", A.GroupCount");            // 1
-                strSQL.Append(", A.CompanyCode");           // 2
-                strSQL.Append(", A.LineCount");             // 3
-                strSQL.Append(", B.ConstructionStart");     // 4
-                strSQL.Append(" From constructionledgerdetail AS A");
-                strSQL.Append(", constructionledger AS B");
-                strSQL.AppendFormat(" Where ConstructionCode = {0}", nConstrCode);
-                strSQL.AppendFormat(" And GroupCount = {0}", FrmConstructionLedger.DataGroup.ConstructionCosts);
-                strSQL.AppendFormat(" And CompanyCode = {0}", nCompnyCode);
-                strSQL.Append(" And B.ConstructionCode = A.ConstructionCode");
-                CLDDB.ExecuteReader(strSQL.ToString(), ref CLDList);
-
-                // 1Œ�ˆÈ‰º‚Ì�ê�‡
-                if (CLDList.Count < 2)
-                {
-                    switch (CLDList.Count)
-                    {
-                        case 0:
-                            RowCnt = 0;
-                            ColCnt = 0;
-                            break;
-                        case 1:
-                            object[] objRec = (object[])CLDList[0];
-                            string strYm = CommonMotions.cnvString(cmbTargetMonth.SelectedValue);
-                            int nYYYY = CommonMotions.cnvInt(strYm.Substring(0, strYm.LastIndexOf("/") - 1));
-                            int nMM = CommonMotions.cnvInt(strYm.Substring(strYm.LastIndexOf("/") + 1));
-
-                            RowCnt = CommonMotions.cnvInt(objRec[3]);
-                            ColCnt = ClsChangeLedgerData.CalcTargetMonthToColumn(CommonMotions.cnvDate(objRec[4]), new DateTime(nYYYY, nMM, 1));
-                            break;
-                    }
-                    return;
-                }
-
-                // ----- •¡�”Œ�‚ ‚Á‚½�ê�‡‚Í‘I‘ð‚Ì‚½‚ß‚É‘ä’ ‰æ–Ê‚ð•\Ž¦‚·‚é
-                // ƒJƒŒƒ“ƒg�s‚æ‚è�HŽ–”Ô�†‚ðŽæ“¾‚·‚é
-                GetConstructionCode();
-                if (m_ConstructionCode == 0) return;
-                // �HŽ–�î•ñ‚ðŽæ“¾‚·‚é
-                GetBaseInfoData();
-
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-            finally
-            {
-                CLDDB.close(); CLDDB = null;
-            }
-        }
-        #endregion
-
-        #region •\Ž¦�s�”Žæ“¾�ˆ—�
-        /// <summary>
-        /// •\Ž¦�s�”Žæ“¾�ˆ—�
-        /// </summary>
-        /// <returns></returns>
-        private int GetDispRowCount()
-        {
-            try
-            {
-
-                DataGridViewEX dgv = getShowingView();
-
-                // •\Ž¦‰æ–Ê�ã‚É‹¦—Í‰ïŽÐ‚ª–³‚¢‚©‚ðƒ`ƒFƒbƒN‚·‚é
-                return dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowVisible].Value) == (int)RowVisibleDef.Visible).Count();
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                return 0;
-            }
-        }
-        #endregion
-
-        #region “o˜^�ˆ—�ˆÙ�íŽžƒR�[ƒh
-        /// <summary>
-        /// “o˜^�ˆ—�ˆÙ�íŽžƒR�[ƒh
-        /// </summary>
-        private enum EntryErrorCode
-        {
-            /// <summary>
-            /// �³�í
-            /// </summary>
-            Normal = 0,
-            /// <summary>
-            /// �ˆ—�ˆÙ�í�I—¹
-            /// </summary>
-            AbNormal,
-            /// <summary>
-            /// �d•¡ƒGƒ‰�[
-            /// </summary>
-            Duplicate,
-            /// <summary>
-            /// ƒf�[ƒ^‚ªŒ©‚Â‚©‚ç‚È‚¢
-            /// </summary>
-            NotFound,
-            /// <summary>
-            /// ƒf�[ƒ^�ì�¬ƒGƒ‰�[
-            /// </summary>
-            AddData,
-            /// <summary>
-            /// ƒf�[ƒ^�X�VƒGƒ‰�[
-            /// </summary>
-            ModifyData,
-            /// <summary>
-            /// ƒf�[ƒ^�í�œƒGƒ‰�[
-            /// </summary>
-            DeleteData,
-            /// <summary>
-            /// ƒf�[ƒ^ƒ�ƒbƒN’†
-            /// </summary>
-            Locked,
-        }
-        #endregion
-
-        #region “o˜^�ˆ—�ƒGƒ‰�[ƒ�ƒbƒZ�[ƒW�ì�¬
-        /// <summary>
-        /// “o˜^�ˆ—�ƒGƒ‰�[ƒ�ƒbƒZ�[ƒW�ì�¬
-        /// </summary>
-        /// <returns></returns>
-        private string CreateEntryErrorMsg(int ErrorCode, string TableName, string ProcName = "")
-        {
-            try
-            {
-                string strRet = string.Empty;
-
-                switch (ErrorCode)
-                {
-                    // �³�í
-                    case (int)EntryErrorCode.Normal:
-                        break;
-                    // �ˆ—�ˆÙ�í�I—¹
-                    case (int)EntryErrorCode.AbNormal:
-                        strRet = string.Format("{0}�F{1}�ˆ—�‚ÉŽ¸”s‚µ‚Ü‚µ‚½�B", TableName, ProcName);
-                        break;
-                    // �d•¡ƒGƒ‰�[
-                    case (int)EntryErrorCode.Duplicate:
-                        strRet = string.Format("{0}�FŠù‚Éƒf�[ƒ^‚ª‘¶�Ý‚µ‚Ü‚·�B", TableName);
-                        break;
-                    // ƒf�[ƒ^‚ªŒ©‚Â‚©‚ç‚È‚¢
-                    case (int)EntryErrorCode.NotFound:
-                        strRet = string.Format("{0}�F�X�Vƒf�[ƒ^‚ª‚ ‚è‚Ü‚¹‚ñ�B", TableName);
-                        break;
-                    // ƒf�[ƒ^�ì�¬ƒGƒ‰�[
-                    case (int)EntryErrorCode.AddData:
-                        strRet = string.Format("{0}�Fƒf�[ƒ^�ì�¬‚ÉŽ¸”s‚µ‚Ü‚µ‚½�B", TableName);
-                        break;
-                    // ƒf�[ƒ^�X�VƒGƒ‰�[
-                    case (int)EntryErrorCode.ModifyData:
-                        strRet = string.Format("{0}�Fƒf�[ƒ^�X�V‚ÉŽ¸”s‚µ‚Ü‚µ‚½�B", TableName);
-                        break;
-                    // ƒf�[ƒ^�í�œƒGƒ‰�[
-                    case (int)EntryErrorCode.DeleteData:
-                        strRet = string.Format("{0}�Fƒf�[ƒ^�í�œ‚ÉŽ¸”s‚µ‚Ü‚µ‚½�B", TableName);
-                        break;
-                    // ƒf�[ƒ^ƒ�ƒbƒN’†
-                    case (int)EntryErrorCode.Locked:
-                        strRet = string.Format("{0}�F‘¼‚Ìƒ†�[ƒU‚Å•Ò�W’†‚Ì‚½‚ß�A�ˆ—�‚Å‚«‚Ü‚¹‚ñ�B", TableName);
-                        break;
-                }
-
-                return strRet;
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                return string.Empty;
-            }
-        }
-        #endregion
-
-        #region ƒf�[ƒ^“o˜^
-        /// <summary>
-        /// ƒf�[ƒ^“o˜^
-        /// </summary>
-        private bool DataEntryProcess()
-        {
-            // DB’è‹`
-            IOBillingData IoBd = new IOBillingData();
-            IOBillingDataDetail IoBdD = new IOBillingDataDetail();
-            IOBillingPaymentSummary IoBps = new IOBillingPaymentSummary();
-            IOPaymentDataDetail IoPdD = new IOPaymentDataDetail();
-            IOPaymentApprovalInfo IoPaI = new IOPaymentApprovalInfo();
-            IOConstructionLedgerDetail IoDetail = new IOConstructionLedgerDetail();
-            IOConstructionLedgerExcute IoExec = new IOConstructionLedgerExcute();
-            IOMSubContractor IoSub = new IOMSubContractor();
-
-            // ‘Î�ÛƒOƒŠƒbƒhŽæ“¾
-            DataGridViewEX dgv = getShowingView();
-            try
-            {
-                // ˆê’UƒZƒ‹‚Ì’l•Ï�XƒCƒxƒ“ƒg‚ð–³Œø‚É‚·‚é
-                dgv.CellValueChanged -= DataGridView_CellValueChanged;
-
-                // ƒvƒ�ƒOƒŒƒX•\Ž¦�§Œä
-                ProgressBarCtrl(true);
-
-                IoBd.connect(); IoBd.beginTran();
-                IoBdD.connect(); IoBdD.beginTran();
-                IoPdD.connect(); IoPdD.beginTran();
-                IoPaI.connect(); IoPaI.beginTran();
-                IoBps.connect(); IoBps.beginTran();
-                IoDetail.connect(); IoDetail.beginTran();
-                IoExec.connect(); IoExec.beginTran();
-                IoSub.connect(); IoSub.beginTran();
-
-                // •K—v�s’Š�o
-                DataGridViewRow[] TargetRows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×)
-                                                                         .OrderBy(y => y.Cells[m_Company_DispColumn].Value)
-                                                                         .ThenBy(y1 => y1.Cells[(int)DispColumn.GroupSeqNo].Value)
-                                                                         .ThenBy(y2 => y2.Cells[(int)DispColumn.LineCount].Value)
-                                                                         .ToArray();
-                // ƒvƒ�ƒOƒŒƒXƒo�[�‰Šú’lƒZƒbƒg
-                DataProgressBar.Maximum = dgv.RowCount + 4; // ƒ‹�[ƒv�I—¹Œã�X�V�ˆ—�‚ª‚ ‚é‚½‚ß+4
-                DataProgressBar.Value = 0;
-
-                // ‰ïŽÐ–ˆŒ��”ƒŠƒXƒg
-                Dictionary<int, int> CompCntList = new Dictionary<int, int>();
-
-                try
-                {
-                    int nTargetDate = CommonMotions.cnvInt(cmbTargetMonth.SelectedValue);
-                    int nErrCode = (int)EntryErrorCode.Normal;
-                    // –¾�×“o˜^�ˆ—�ƒ‹�[ƒv
-                    foreach (DataGridViewRow CurRow in TargetRows)
-                    {
-                        // �ó‘ÔŽæ“¾
-                        DataRowState CurStatus = cnvRowState(CurRow.Cells[(int)DispColumn.RowState].Value);
-                        // ‰ïŽÐƒR�[ƒhŽæ“¾
-                        int nCompanyCode = CommonMotions.cnvInt(CurRow.Cells[m_Company_Column].Value);
-                        // ˜A”ÔŽæ“¾
-                        int nSeqNo = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.GroupSeqNo].Value);
-                        // �sƒJƒEƒ“ƒgŽæ“¾
-                        int nLineCount = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.LineCount].Value);
-
-                        // �V‹K“o˜^‚Ì‹ÆŽÒ�¿‹�–¾�×ƒf�[ƒ^‚Å�s”Ô�†‚ª0‚È‚Ì‚Å�Å‘å�s”Ô�†‚ð�Ý’è‚·‚é
-                        if (nLineCount == 0)
-                        {
-                            CurRow.Cells[(int)DispColumn.LineCount].Value = (GetCompCntList(nCompanyCode, nSeqNo) + 1);
-                            nLineCount = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.LineCount].Value);
-                        }
-
-                        nErrCode = (int)EntryErrorCode.Normal;
-
-                        // �ó‘Ô‚É‚æ‚è�ˆ—�
-                        if (CurStatus == DataRowState.Unchanged)
-                        {
-                            // ----- •Ï‰»‚È‚µ
-                            continue;
-                        }
-                        else if (CurStatus == DataRowState.Added)
-                        {
-                            // ----- ’Ç‰Á
-                            // ‹ÆŽÒ�¿‹�–¾�×ƒf�[ƒ^’Ç‰Á“o˜^
-                            if (!AddBillingDataDetail(IoBdD, IoDetail, CurRow, nCompanyCode, nTargetDate, nSeqNo, nLineCount, ref nErrCode))
-                                throw new Exception(CreateEntryErrorMsg(nErrCode, "‹Æ–±�¿‹�–¾�×ƒf�[ƒ^"));
-
-                            // Žx•¥–¾�×ƒf�[ƒ^’Ç‰Á“o˜^
-                            if (!AddPaymentDataDetail(IoPdD, CurRow, nCompanyCode, nTargetDate, nSeqNo, nLineCount, ref nErrCode))
-                                throw new Exception(CreateEntryErrorMsg(nErrCode, "Žx•¥–¾�×ƒf�[ƒ^"));
-
-                            // �HŽ–�Ú�×‘ä’ ŽÀ�sƒf�[ƒ^’Ç‰Á“o˜^
-                            if (!AddConstrLedgerExcute(IoDetail, IoExec, IoSub, CurRow, nCompanyCode, nTargetDate, nSeqNo, nLineCount, ref nErrCode))
-                                throw new Exception(CreateEntryErrorMsg(nErrCode, "�HŽ–�Ú�×‘ä’ ŽÀ�sƒf�[ƒ^", "’Ç‰Á“o˜^"));
-
-                            // ‹ÆŽÒ�¿‹�ƒf�[ƒ^�í�œ�ˆ—�
-                            if (!DeleteBillingData(IoBd, nCompanyCode, nTargetDate, nSeqNo, ref nErrCode))
-                                throw new Exception(CreateEntryErrorMsg(nErrCode, "‹ÆŽÒ�¿‹�ƒf�[ƒ^"));
-
-                            // ‹ÆŽÒ�¿‹�Žx•¥ƒTƒ}ƒŠ�[ƒf�[ƒ^�í�œ�ˆ—�
-                            if (!Deletebillingpaymentsummary(IoBps, CurRow, nCompanyCode, nTargetDate, nSeqNo, nLineCount, ref nErrCode))
-                                throw new Exception(CreateEntryErrorMsg(nErrCode, "‹ÆŽÒ�¿‹�Žx•¥ƒTƒ}ƒŠ�[ƒf�[ƒ^"));
-                        }
-                        else if (CurStatus == DataRowState.Modified)
-                        {
-                            // ----- •Ï�X
-                            // ‹ÆŽÒ�¿‹�–¾�×ƒf�[ƒ^�X�V“o˜^
-                            if (!ModifyBillingDataDetail(IoBdD, IoDetail, CurRow, nCompanyCode, nTargetDate, nSeqNo, nLineCount, ref nErrCode))
-                                throw new Exception(CreateEntryErrorMsg(nErrCode, "‹Æ–±�¿‹�–¾�×ƒf�[ƒ^"));
-
-                            // Žx•¥–¾�×ƒf�[ƒ^�X�V“o˜^
-                            if (!ModifyPaymentDataDetail(IoPdD, CurRow, nCompanyCode, nTargetDate, nSeqNo, nLineCount, ref nErrCode))
-                                throw new Exception(CreateEntryErrorMsg(nErrCode, "Žx•¥–¾�×ƒf�[ƒ^"));
-
-                            // �HŽ–�Ú�×‘ä’ ŽÀ�sƒf�[ƒ^�X�V“o˜^
-                            if (!ModConstructionLedgerExcute(IoDetail, IoExec, IoSub, CurRow, nCompanyCode, nTargetDate, nSeqNo, nLineCount, false, ref nErrCode))
-                                throw new Exception(CreateEntryErrorMsg(nErrCode, "�HŽ–�Ú�×‘ä’ ŽÀ�sƒf�[ƒ^", "�X�V“o˜^"));
-
-                            // ‹ÆŽÒ�¿‹�ƒf�[ƒ^�í�œ�ˆ—�
-                            if (!DeleteBillingData(IoBd, nCompanyCode, nTargetDate, nSeqNo, ref nErrCode))
-                                throw new Exception(CreateEntryErrorMsg(nErrCode, "‹ÆŽÒ�¿‹�ƒf�[ƒ^"));
-
-                            // ‹ÆŽÒ�¿‹�Žx•¥ƒTƒ}ƒŠ�[ƒf�[ƒ^�í�œ�ˆ—�
-                            if (!Deletebillingpaymentsummary(IoBps, CurRow, nCompanyCode, nTargetDate, nSeqNo, nLineCount, ref nErrCode))
-                                throw new Exception(CreateEntryErrorMsg(nErrCode, "‹ÆŽÒ�¿‹�Žx•¥ƒTƒ}ƒŠ�[ƒf�[ƒ^"));
-                        }
-                        else if (CurStatus == DataRowState.Deleted)
-                        {
-                            // ----- �í�œ
-                            // ‹ÆŽÒ�¿‹�–¾�×ƒf�[ƒ^�í�œ“o˜^
-                            if (!DeleteBillingDataDetail(IoBdD, CurRow, nCompanyCode, nTargetDate, nSeqNo, nLineCount, ref nErrCode))
-                                throw new Exception(CreateEntryErrorMsg(nErrCode, "‹Æ–±�¿‹�–¾�×ƒf�[ƒ^"));
-
-                            // Žx•¥–¾�×ƒf�[ƒ^�í�œ“o˜^
-                            if (!DeletePaymentDataDetail(IoPdD, CurRow, nCompanyCode, nTargetDate, nSeqNo, nLineCount, ref nErrCode))
-                                throw new Exception(CreateEntryErrorMsg(nErrCode, "Žx•¥–¾�×ƒf�[ƒ^"));
-
-                            // �HŽ–�Ú�×‘ä’ ŽÀ�sƒf�[ƒ^�í�œ“o˜^
-                            if (!ModConstructionLedgerExcute(IoDetail, IoExec, IoSub, CurRow, nCompanyCode, nTargetDate, nSeqNo, nLineCount, true, ref nErrCode))
-                                throw new Exception(CreateEntryErrorMsg(nErrCode, "�HŽ–�Ú�×‘ä’ ŽÀ�sƒf�[ƒ^", "�í�œ“o˜^"));
-
-                            // ‹ÆŽÒ�¿‹�ƒf�[ƒ^�í�œ�ˆ—�
-                            if (!DeleteBillingData(IoBd, nCompanyCode, nTargetDate, nSeqNo, ref nErrCode))
-                                throw new Exception(CreateEntryErrorMsg(nErrCode, "‹ÆŽÒ�¿‹�ƒf�[ƒ^"));
-
-                            // ‹ÆŽÒ�¿‹�Žx•¥ƒTƒ}ƒŠ�[ƒf�[ƒ^�í�œ�ˆ—�
-                            if (!Deletebillingpaymentsummary(IoBps, CurRow, nCompanyCode, nTargetDate, nSeqNo, nLineCount, ref nErrCode))
-                                throw new Exception(CreateEntryErrorMsg(nErrCode, "‹ÆŽÒ�¿‹�Žx•¥ƒTƒ}ƒŠ�[ƒf�[ƒ^"));
-
-                            // Žx•¥�³”F�î•ñƒf�[ƒ^�í�œ�ˆ—�
-                            if (!Deletepaymentapprovalinfo(IoPaI, CurRow, nCompanyCode, nTargetDate, nSeqNo, nLineCount, ref nErrCode))
-                                throw new Exception(CreateEntryErrorMsg(nErrCode, "Žx•¥�³”F�î•ñƒf�[ƒ^"));
-                        }
-
-                        DataProgressBar.Value++;
-                        DataProgressBar.Update();
-                    }
-
-                    DataProgressBar.Value++;
-                    DataProgressBar.Update();
-
-                    // ‘Î�Û–³‚Í�ˆ—�‚µ‚È‚¢
-                    if (TargetRows.Count() < 1) return true;
-
-                    ArrayList arList = new ArrayList();
-                    ArrayList BillPayList = new ArrayList();
-                    // �W–ñ–¾�×ƒf�[ƒ^Žæ“¾
-                    if (!GetDetailData(IoBdD, ref arList, ref BillPayList, nTargetDate, ref nErrCode))
-                        throw new Exception("–¾�×ƒf�[ƒ^Žæ“¾ƒGƒ‰�[");
-
-                    DataProgressBar.Value++;
-                    DataProgressBar.Update();
-
-                    // ‹ÆŽÒ�¿‹�ƒf�[ƒ^�X�V�ˆ—�
-                    if (!EntryBillingData(IoBd, arList, nTargetDate, ref nErrCode))
-                        throw new Exception(CreateEntryErrorMsg(nErrCode, "‹ÆŽÒ�¿‹�ƒf�[ƒ^"));
-
-                    DataProgressBar.Value++;
-                    DataProgressBar.Update();
-
-                    // ‹ÆŽÒ�¿‹�Žx•¥ƒTƒ}ƒŠ�[ƒf�[ƒ^�X�V�ˆ—�
-                    if (!EntryBillingPaymentSummary(IoBps, BillPayList, nTargetDate, ref nErrCode))
-                        throw new Exception(CreateEntryErrorMsg(nErrCode, "‹ÆŽÒ�¿‹�Žx•¥ƒTƒ}ƒŠ�[ƒf�[ƒ^"));
-
-                    DataProgressBar.Value++;
-                    DataProgressBar.Update();
-
-                    // �s�ó‘Ô�X�Vƒ‹�[ƒv
-                    foreach (DataGridViewRow CurRow in TargetRows)
-                    {
-                        // �ó‘ÔŽæ“¾
-                        DataRowState CurStatus = cnvRowState(CurRow.Cells[(int)DispColumn.RowState].Value);
-                        // �ó‘Ô‚É‚æ‚è�ˆ—�
-                        if (CurStatus == DataRowState.Unchanged) continue;
-
-                        // –³•Ï�X‚Ö–ß‚·
-                        CurRow.Cells[(int)DispColumn.RowState].Value = DataRowState.Unchanged;
-                    }
-                    
-                    DataProgressBar.Value++;
-                    DataProgressBar.Update();
-                }
-                catch (Exception ex)
-                {
-                    DataEntryRollBack(IoBd, IoBdD, IoPdD, IoPaI, IoBps, IoDetail, IoExec);
-                    MessageBox.Show(ex.Message, "“o˜^�ˆ—�ƒGƒ‰�[", MessageBoxButtons.OK, MessageBoxIcon.Error);
-                    return false;
-                }
-
-                return true;
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                return false;
-            }
-            finally
-            {
-                IoBd.commit(); IoBd.close(); IoBd = null;
-                IoBdD.commit(); IoBdD.close(); IoBdD = null;
-                IoPdD.commit(); IoPdD.close(); IoPdD = null;
-                IoPaI.commit(); IoPaI.close(); IoPaI = null;
-                IoBps.commit(); IoBps.close(); IoBps = null;
-                IoDetail.commit(); IoDetail.close(); IoDetail = null;
-                IoExec.commit(); IoExec.close(); IoExec = null;
-                IoSub.close(); IoSub = null;
-
-                // ProgressBar‚Ì’l‚ð•Ï�X‚·‚é
-                DataProgressBar.Value = DataProgressBar.Maximum;
-                DataProgressBar.Update();
-
-                // ƒCƒxƒ“ƒgƒnƒ“ƒhƒ‰�Ä“o˜^
-                dgv.CellValueChanged += DataGridView_CellValueChanged;
-
-                // ƒvƒ�ƒOƒŒƒX•\Ž¦�§Œä
-                ProgressBarCtrl(false);
-            }
-        }
-        #endregion
-
-        #region ‰ïŽÐ–ˆƒf�[ƒ^Œ��”ƒŠƒXƒg
-        /// <summary>
-        /// ‰ïŽÐ–ˆƒf�[ƒ^Œ��”ƒŠƒXƒg
-        /// </summary>
-        private int GetCompCntList(int nCompanyCode, int nSeqNo)
-        {
-            try
-            {
-                // ‘Î�ÛƒOƒŠƒbƒhŽæ“¾
-                DataGridViewEX dgv = getShowingView();
-                int DataCnt = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×
-                                                                        && CommonMotions.cnvInt(x.Cells[m_Company_DispColumn].Value) == nCompanyCode
-                                                                        && CommonMotions.cnvInt(x.Cells[(int)DispColumn.GroupSeqNo].Value) == nSeqNo
-                                                                        && CommonMotions.cnvInt(x.Cells[(int)DispColumn.LineCount].Value) > 0)
-                                                                         .Count();
-                return DataCnt;
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                return -1;
-            }
-        }
-        #endregion
-
-        #region ‹ÆŽÒ�¿‹�–¾�×ƒf�[ƒ^’Ç‰Á“o˜^
-        /// <summary>
-        /// ‹ÆŽÒ�¿‹�–¾�×ƒf�[ƒ^’Ç‰Á“o˜^
-        /// </summary>
-        /// <returns></returns>
-        private bool AddBillingDataDetail(IOBillingDataDetail IoBdD
-                                            , IOConstructionLedgerDetail IoDetail
-                                            , DataGridViewRow CurRow
-                                            , int nCompanyCode
-                                            , int nTargetDate
-                                            , int nSeqNo
-                                            , int nLineCount
-                                            , ref int nErrorCode)
-        {
-            try
-            {
-
-                // ‹ÆŽÒ�¿‹�–¾�×ƒf�[ƒ^Žæ“¾
-                StringBuilder strWhere = new StringBuilder();
-                strWhere.Append(IoBdD.CreatePrimarykeyString(nCompanyCode, nTargetDate, nSeqNo, nLineCount));
-                List<BillingDataDetail> Datalist = new List<BillingDataDetail>();
-                if (!IoBdD.SelectAction(strWhere.ToString(), ref Datalist, false))
-                {
-                    nErrorCode = (int)EntryErrorCode.AbNormal;
-                    return false;
-                }
-                if (Datalist.Count > 0)
-                {
-                    nErrorCode = (int)EntryErrorCode.Duplicate;
-                    return false;
-                }
-
-                // ‹ÆŽÒ�¿‹�–¾�×ƒf�[ƒ^�ì�¬
-                BillingDataDetail BdDWork = new BillingDataDetail();
-                // ƒf�[ƒ^ƒZƒbƒg
-                SetRow2BillingDataDetail(CurRow, IoDetail, ref BdDWork, nCompanyCode, nTargetDate);
-
-                // ƒf�[ƒ^�‘�ž‚Ý
-                if (!IoBdD.InsertAction(BdDWork, false))
-                {
-                    IoBdD.SelectAction(strWhere.ToString(), ref Datalist, false);
-                    nErrorCode = (int)EntryErrorCode.AddData;
-                    return false;
-                }
-
-                return true;
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                nErrorCode = (int)EntryErrorCode.AbNormal;
-                return false;
-            }
-        }
-        #endregion
-
-        #region ‹ÆŽÒ�¿‹�–¾�×ƒf�[ƒ^�X�V“o˜^
-        /// <summary>
-        /// ‹ÆŽÒ�¿‹�–¾�×ƒf�[ƒ^�X�V“o˜^
-        /// </summary>
-        /// <returns></returns>
-        private bool ModifyBillingDataDetail(IOBillingDataDetail IoBdD
-                                    , IOConstructionLedgerDetail IoDetail
-                                    , DataGridViewRow CurRow
-                                    , int nCompanyCode
-                                    , int nTargetDate
-                                    , int nSeqNo
-                                    , int nLineCount
-                                    , ref int nErrorCode)
-        {
-            try
-            {
-                // ‹ÆŽÒ�¿‹�–¾�×ƒf�[ƒ^Žæ“¾
-                StringBuilder strWhere = new StringBuilder();
-                strWhere.Append(IoBdD.CreatePrimarykeyString(nCompanyCode, nTargetDate, nSeqNo, nLineCount));
-                List<BillingDataDetail> Datalist = new List<BillingDataDetail>();
-                if (!IoBdD.SelectAction(strWhere.ToString(), ref Datalist, false))
-                {
-                    nErrorCode = (int)EntryErrorCode.AbNormal;
-                    return false;
-                }
-                if (Datalist.Count < 1)
-                {
-                    nErrorCode = (int)EntryErrorCode.NotFound;
-                    return false;
-                }
-
-                // ‹ÆŽÒ�¿‹�–¾�×ƒf�[ƒ^�ì�¬
-                BillingDataDetail BdDWork = new BillingDataDetail();
-                // ƒf�[ƒ^ƒZƒbƒg
-                SetRow2BillingDataDetail(CurRow, IoDetail, ref BdDWork, nCompanyCode, nTargetDate);
-
-                // �X�V�i‹Æ–±�¿‹�–¾�×ƒf�[ƒ^�j
-                // ƒ�ƒbƒN
-                if (!IoBdD.RowLock(nCompanyCode, nTargetDate, nSeqNo, nLineCount, false))
-                {
-                    nErrorCode = (int)EntryErrorCode.Locked;
-                    return false;
-                }
-
-                // ƒf�[ƒ^�X�V
-                if (!IoBdD.UpdateAction(strWhere.ToString(), BdDWork, false))
-                {
-                    nErrorCode = (int)EntryErrorCode.ModifyData;
-                    return false;
-                }
-
-                return true;
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                return false;
-            }
-        }
-        #endregion
-
-        #region ‹ÆŽÒ�¿‹�–¾�×ƒf�[ƒ^�í�œ“o˜^
-        /// <summary>
-        /// ‹ÆŽÒ�¿‹�–¾�×ƒf�[ƒ^�í�œ“o˜^
-        /// </summary>
-        /// <returns></returns>
-        private bool DeleteBillingDataDetail(IOBillingDataDetail IoBdD
-                                    , DataGridViewRow CurRow
-                                    , int nCompanyCode
-                                    , int nTargetDate
-                                    , int nSeqNo
-                                    , int nLineCount
-                                    , ref int nErrorCode)
-        {
-            try
-            {
-                // ‹ÆŽÒ�¿‹�–¾�×ƒf�[ƒ^Žæ“¾
-                StringBuilder strWhere = new StringBuilder();
-                strWhere.Append(IoBdD.CreatePrimarykeyString(nCompanyCode, nTargetDate, nSeqNo, nLineCount));
-                List<BillingDataDetail> Datalist = new List<BillingDataDetail>();
-                if (!IoBdD.SelectAction(strWhere.ToString(), ref Datalist, false))
-                {
-                    nErrorCode = (int)EntryErrorCode.AbNormal;
-                    return false;
-                }
-                if (Datalist.Count < 1)
-                {
-                    nErrorCode = (int)EntryErrorCode.Normal;
-                    return true;
-                }
-
-                // ‹Æ–±–¾�×ƒf�[ƒ^
-                // ƒ�ƒbƒN
-                if (!IoBdD.RowLock(nCompanyCode, nTargetDate, nSeqNo, nLineCount, false))
-                {
-                    nErrorCode = (int)EntryErrorCode.Locked;
-                    return false;
-                }
-
-                // ƒf�[ƒ^�X�V
-                if (!IoBdD.DeleteAction(strWhere.ToString(), false))
-                {
-                    nErrorCode = (int)EntryErrorCode.DeleteData;
-                    return false;
-                }
-
-                return true;
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                return false;
-            }
-        }
-        #endregion
-
-        #region ‘Î�Û�s‚æ‚è‹ÆŽÒ�¿‹�–¾�×ƒf�[ƒ^�s‚ð�ì�¬‚·‚é
-        /// <summary>
-        /// ‘Î�Û�s‚æ‚è‹ÆŽÒ�¿‹�–¾�×ƒf�[ƒ^�s‚ð�ì�¬‚·‚é
-        /// </summary>
-        /// <param name="CurRow"></param>
-        private void SetRow2BillingDataDetail(DataGridViewRow CurRow
-                                                , IOConstructionLedgerDetail IoDetail
-                                                , ref BillingDataDetail BdDWork
-                                                , int nCompanyCode
-                                                , int nTargetDate)
-        {
-            try
-            {
-                // ‹ÆŽÒ�¿‹�–¾�×ƒf�[ƒ^‚ÌŽx•¥’´‰ßƒ�ƒbƒZ�[ƒWƒZƒbƒg
-                SetOverBillingDataDetailMsg(CurRow, nCompanyCode, nTargetDate);
-
-                int nConstrCode = CommonMotions.cnvInt(CurRow.Cells[m_Genba_Column].Value);
-                // –¾�×”Ô�†‚ª–³‚¢Žž‚ÍƒZƒbƒg‚·‚é
-                if (CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.ConstructionLedgerDetailNo].Value) == 0)
-                {
-                    StringBuilder strSQL = new StringBuilder();
-                    strSQL.Append(IoDetail.CreatePrimarykeyString(nConstrCode, (int)FrmConstructionLedger.DataGroup.ConstructionCosts));
-                    // –¾�×‚Ì�Å‘å’l‚ðŽæ“¾‚·‚é
-                    int nDetilNo = IoDetail.SelectMaxDetailCount(strSQL.ToString(), false) + 1;
-                    CurRow.Cells[(int)DispColumn.ConstructionLedgerDetailNo].Value = nDetilNo;
-                }
-
-                // —ñ”Ô�†‚ª–³‚¢Žž‚ÍƒZƒbƒg‚·‚é
-                if (CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.ConstructionLedgerColNo].Value) == 0)
-                {
-                    DataGridViewEX dgv = getShowingView();
-                    DataGridViewRow[] TargetRows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[m_Genba_Column].Value) == nConstrCode
-                                                                                            && CommonMotions.cnvInt(x.Cells[(int)DispColumn.ConstructionLedgerColNo].Value) != 0)
-                                                                                    .ToArray();
-                    if (TargetRows.Count() > 0)
-                    {
-                        CurRow.Cells[(int)DispColumn.ConstructionLedgerColNo].Value = CommonMotions.cnvInt(TargetRows[0].Cells[(int)DispColumn.ConstructionLedgerColNo].Value);
-                    }
-                    else
-                    {
-                        CurRow.Cells[(int)DispColumn.ConstructionLedgerColNo].Value = GetColumncount(IoDetail, nConstrCode);
-                    }
-                }
-
-                // ƒf�[ƒ^ƒZƒbƒg
-                BdDWork.CompanyCode = CommonMotions.cnvInt(CurRow.Cells[m_Company_DispColumn].Value);                                   // ‹¦—Í‰ïŽÐƒR�[ƒh
-                BdDWork.TargetDate = CommonMotions.cnvInt(cmbTargetMonth.SelectedValue);                                                // ‘Î�Û”NŒŽ     
-                BdDWork.SeqNo = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.GroupSeqNo].Value);                                   // ˜A”Ô
-                BdDWork.LineCount = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.LineCount].Value);                                // �s”Ô�†    
-
-                BdDWork.ConstructionCode = nConstrCode;                                                                                 // �HŽ–”Ô�†
-                BdDWork.ConstructionRowCnt = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.ConstructionLedgerDetailNo].Value);      // �s”Ô�†
-                BdDWork.ConstructionColCnt = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.ConstructionLedgerColNo].Value);         // —ñ”Ô�†
-
-                string sName = CommonMotions.cnvString(CurRow.Cells[m_GenbaNM_Column].Value);
-                BdDWork.FieldName = sName != "" ? sName : CommonMotions.cnvString(CurRow.Cells[m_GenbaNM_Column].ToolTipText);          // Œ»�ê–¼
-
-                BdDWork.BillPrice = CommonMotions.cnvLong(CurRow.Cells[(int)DispColumn.SomuSeikyu].Value);                              // �¿‹�‹àŠz
-                BdDWork.HighwPrice = CommonMotions.cnvLong(CurRow.Cells[(int)DispColumn.SomuKosoku].Value);                             // �‚‘¬‘ã
-                BdDWork.HardwPrice = CommonMotions.cnvLong(CurRow.Cells[(int)DispColumn.SomuKanamono].Value);                           // ‹à•¨‘ã
-                BdDWork.IndsWasteTax = CommonMotions.cnvLong(CurRow.Cells[(int)DispColumn.SomuSannhaiZei].Value);                       // ŽY”p�Å
-                BdDWork.Note = CommonMotions.cnvString(CurRow.Cells[(int)DispColumn.Bikou].Value);                                      // ”õ�l
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region ŠY“–�HŽ–‚Ì‘Î�ÛŒŽƒJƒEƒ“ƒg‚ðŽæ“¾‚·‚é
-        /// <summary>
-        /// ŠY“–�HŽ–‚Ì‘Î�ÛŒŽƒJƒEƒ“ƒg‚ðŽæ“¾‚·‚é
-        /// </summary>
-        /// <returns></returns>
-        private int GetColumncount(IOConstructionLedgerDetail IoDetail, int nConstrCode)
-        {
-            try
-            {
-                int nRet = 0;
-                StringBuilder strSQL = new StringBuilder();
-
-                int DefaultCol = ClsChangeLedgerData.GetLedgerColumnCount();
-                strSQL.Append("Select");
-                strSQL.AppendFormat(" (PERIOD_DIFF({0}", m_Select_TargetDate);
-                strSQL.Append(", DATE_FORMAT(Ledger.ConstructionStart, '%Y%m'))");
-                strSQL.AppendFormat(" + {0}) AS ColPoint ", DefaultCol);
-                strSQL.Append(" From ConstructionLedger as Ledger");
-                strSQL.Append(" Where");
-                strSQL.AppendFormat(" Ledger.ConstructionCode = {0}", nConstrCode);
-
-                ArrayList arData = new ArrayList();
-                if (!IoDetail.ExecuteReader(strSQL.ToString(), ref arData, false)) return nRet;
-                if (arData.Count < 1) return nRet;
-
-                object[] objData = (object[])arData[0];
-                nRet = CommonMotions.cnvInt(objData[0]);
-
-                return nRet;
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                return -1;
-            }
-        }
-        #endregion
-
-        #region ‹ÆŽÒ�¿‹�–¾�×ƒf�[ƒ^‚ÌŽx•¥’´‰ßƒ�ƒbƒZ�[ƒWƒZƒbƒg
-        /// <summary>
-        /// ‹ÆŽÒ�¿‹�–¾�×ƒf�[ƒ^‚ÌŽx•¥’´‰ßƒ�ƒbƒZ�[ƒWƒZƒbƒg
-        /// </summary>
-        /// <param name="CurRow"></param>
-        private void SetOverBillingDataDetailMsg(DataGridViewRow CurRow
-                                                , int nCompanyCode
-                                                , int nTargetDate)
-        {
-            try
-            {
-                // Žx•¥‹àŠz’´‰ßƒ`ƒFƒbƒN
-                bool bOver = ClsChangeLedgerData.OverExecAmount(CommonMotions.cnvInt(CurRow.Cells[m_Genba_Column].Value),
-                                                                CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.ConstructionLedgerLineNo].Value),
-                                                                CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.KojiSeikyu].Value),
-                                                                nTargetDate,
-                                                                nCompanyCode);
-                if(!bOver)
-                {
-                    string strOverComment = s_strOverComment;
-                    // Žx•¥’´‰ßŽž
-                    if (CommonMotions.cnvString(CurRow.Cells[(int)DispColumn.Bikou].Value).IndexOf(s_strOverComment) >= 0)
-                    {   // ‚·‚Å‚Éƒ�ƒbƒZ�[ƒW‚ª‚ ‚ê‚ÎƒZƒbƒg‚µ‚È‚¢
-                        strOverComment = string.Empty;
-                    }
-                    CurRow.Cells[(int)DispColumn.Bikou].Value = strOverComment + CommonMotions.cnvString(CurRow.Cells[(int)DispColumn.Bikou].Value);
-                }
-                else
-                {   // ŒÀ“x“à‚Ì�ê�‡
-                    if (CommonMotions.cnvString(CurRow.Cells[(int)DispColumn.Bikou].Value).IndexOf(s_strOverComment) >= 0)
-                    {   // ‚·‚Å‚Éƒ�ƒbƒZ�[ƒW‚ª‚ ‚ê‚ÎƒNƒŠƒA‚·‚é
-                        CurRow.Cells[(int)DispColumn.Bikou].Value = CurRow.Cells[(int)DispColumn.Bikou].Value.ToString().Replace(s_strOverComment, "");
-                    }
-                }
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region Žx•¥–¾�×ƒf�[ƒ^’Ç‰Á“o˜^
-        /// <summary>
-        /// Žx•¥–¾�×ƒf�[ƒ^’Ç‰Á“o˜^
-        /// </summary>
-        /// <returns></returns>
-        private bool AddPaymentDataDetail(IOPaymentDataDetail IoPdD
-                                            , DataGridViewRow CurRow
-                                            , int nCompanyCode
-                                            , int nTargetDate
-                                            , int nSeqNo
-                                            , int nLineCount
-                                            , ref int nErrorCode)
-        {
-            try
-            {
-                // Žx•¥–¾�×ƒf�[ƒ^Šm”F
-                StringBuilder strWhere = new StringBuilder();
-                strWhere.Append(IoPdD.CreatePrimarykeyString(nCompanyCode, nTargetDate, nSeqNo, nLineCount));
-                List<PaymentDataDetail> Datalist = new List<PaymentDataDetail>();
-                if (!IoPdD.SelectAction(strWhere.ToString(), ref Datalist, false))
-                {
-                    nErrorCode = (int)EntryErrorCode.AbNormal;
-                    return false;
-                }
-                if (Datalist.Count > 0)
-                {
-                    nErrorCode = (int)EntryErrorCode.Duplicate;
-                    return false;
-                }
-
-                // ƒf�[ƒ^ƒZƒbƒg
-                PaymentDataDetail PdDWork = new PaymentDataDetail();
-                SetRow2PaymentDataDetail(CurRow, ref  PdDWork);
-
-                if (!IoPdD.InsertAction(PdDWork, false))
-                {
-                    nErrorCode = (int)EntryErrorCode.AddData;
-                    return false;
-                }
-
-                return true;
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                return false;
-            }
-        }
-        #endregion
-
-        #region Žx•¥–¾�×ƒf�[ƒ^�X�V“o˜^
-        /// <summary>
-        /// Žx•¥–¾�×ƒf�[ƒ^�X�V“o˜^
-        /// </summary>
-        /// <returns></returns>
-        private bool ModifyPaymentDataDetail(IOPaymentDataDetail IoPdD
-                                            , DataGridViewRow CurRow
-                                            , int nCompanyCode
-                                            , int nTargetDate
-                                            , int nSeqNo
-                                            , int nLineCount
-                                            , ref int nErrorCode)
-        {
-            try
-            {
-                // Žx•¥–¾�×ƒf�[ƒ^Šm”F
-                StringBuilder strWhere = new StringBuilder();
-                strWhere.Append(IoPdD.CreatePrimarykeyString(nCompanyCode, nTargetDate, nSeqNo, nLineCount));
-                List<PaymentDataDetail> Datalist = new List<PaymentDataDetail>();
-                if (!IoPdD.SelectAction(strWhere.ToString(), ref Datalist, false))
-                {
-                    nErrorCode = (int)EntryErrorCode.AbNormal;
-                    return false;
-                }
-                if (Datalist.Count < 1)
-                {
-                    nErrorCode = (int)EntryErrorCode.NotFound;
-                    return false;
-                }
-
-                // ƒf�[ƒ^ƒZƒbƒg
-                PaymentDataDetail PdDWork = new PaymentDataDetail();
-                SetRow2PaymentDataDetail(CurRow, ref  PdDWork);
-
-                // ƒ�ƒbƒN
-                if (!IoPdD.RowLock(nCompanyCode, nTargetDate, nSeqNo, nLineCount, false))
-                {
-                    nErrorCode = (int)EntryErrorCode.Locked;
-                    return false;
-                }
-
-                // ƒf�[ƒ^�X�V
-                if (!IoPdD.UpdateAction(strWhere.ToString(), PdDWork, false))
-                {
-                    nErrorCode = (int)EntryErrorCode.ModifyData;
-                    return false;
-                }
-
-                return true;
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                return false;
-            }
-        }
-        #endregion
-
-        #region Žx•¥–¾�×ƒf�[ƒ^�í�œ“o˜^
-        /// <summary>
-        /// Žx•¥–¾�×ƒf�[ƒ^�í�œ“o˜^
-        /// </summary>
-        /// <returns></returns>
-        private bool DeletePaymentDataDetail(IOPaymentDataDetail IoPdD
-                                            , DataGridViewRow CurRow
-                                            , int nCompanyCode
-                                            , int nTargetDate
-                                            , int nSeqNo
-                                            , int nLineCount
-                                            , ref int nErrorCode)
-        {
-            try
-            {
-                // Žx•¥–¾�×ƒf�[ƒ^Šm”F
-                StringBuilder strWhere = new StringBuilder();
-                strWhere.Append(IoPdD.CreatePrimarykeyString(nCompanyCode, nTargetDate, nSeqNo, nLineCount));
-                List<PaymentDataDetail> Datalist = new List<PaymentDataDetail>();
-                if (!IoPdD.SelectAction(strWhere.ToString(), ref Datalist, false))
-                {
-                    nErrorCode = (int)EntryErrorCode.AbNormal;
-                    return false;
-                }
-                if (Datalist.Count < 1)
-                {
-                    nErrorCode = (int)EntryErrorCode.Normal;
-                    return true;
-                }
-
-                // ƒf�[ƒ^ƒZƒbƒg
-                PaymentDataDetail PdDWork = new PaymentDataDetail();
-                SetRow2PaymentDataDetail(CurRow, ref  PdDWork);
-
-                // ƒ�ƒbƒN
-                if (!IoPdD.RowLock(nCompanyCode, nTargetDate, nSeqNo, nLineCount, false))
-                {
-                    nErrorCode = (int)EntryErrorCode.Locked;
-                    return false;
-                }
-
-                // ƒf�[ƒ^�X�V
-                if (!IoPdD.DeleteAction(strWhere.ToString(), false))
-                {
-                    nErrorCode = (int)EntryErrorCode.DeleteData;
-                    return false;
-                }
-
-                return true;
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                return false;
-            }
-        }
-        #endregion
-
-        #region ‘Î�Û�s‚æ‚èŽx•¥–¾�×ƒf�[ƒ^�s‚ð�ì�¬‚·‚é
-        /// <summary>
-        /// ‘Î�Û�s‚æ‚èŽx•¥–¾�×ƒf�[ƒ^�s‚ð�ì�¬‚·‚é
-        /// </summary>
-        /// <param name="CurRow"></param>
-        private void SetRow2PaymentDataDetail(DataGridViewRow CurRow
-                                                , ref PaymentDataDetail PdDWork)
-        {
-            try
-            {
-                PdDWork.CompanyCode = CommonMotions.cnvInt(CurRow.Cells[m_Company_DispColumn].Value);                           // ‹¦—Í‰ïŽÐƒR�[ƒh
-                PdDWork.TargetDate = CommonMotions.cnvInt(cmbTargetMonth.SelectedValue);                                        // ‘Î�Û”NŒŽ     
-                PdDWork.SeqNo = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.GroupSeqNo].Value);                           // ˜A”Ô
-                PdDWork.LineCount = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.LineCount].Value);                        // �s”Ô�†    
-                PdDWork.BillPrice = CommonMotions.cnvLong(CurRow.Cells[(int)DispColumn.KojiSeikyu].Value);                      // �¿‹�‹àŠz
-                PdDWork.DiscountPrice = CommonMotions.cnvLong(CurRow.Cells[(int)DispColumn.KojiNebiki].Value);                  // ’lˆø‚«‹àŠz
-                PdDWork.OffsetPrice = CommonMotions.cnvLong(CurRow.Cells[(int)DispColumn.KojiSousai].Value);                    // ‘ŠŽE‹àŠz
-                PdDWork.NextCoPrice = CommonMotions.cnvLong(CurRow.Cells[(int)DispColumn.JikaiKurikosi].Value);                 // ŽŸ‰ñŒJ‰z
-                PdDWork.HighwPrice = CommonMotions.cnvLong(CurRow.Cells[(int)DispColumn.KojiKosoku].Value);                     // �‚‘¬‘ã
-                PdDWork.HardwPrice = CommonMotions.cnvLong(CurRow.Cells[(int)DispColumn.KojiKanamono].Value);                   // ‹à•¨‘ã
-                PdDWork.IndsWasteTax = CommonMotions.cnvLong(CurRow.Cells[(int)DispColumn.KojiSannhaiZei].Value);               // ŽY”p�Å
-                PdDWork.CnstrPrice = CommonMotions.cnvLong(CurRow.Cells[(int)DispColumn.KyoryokuKin].Value);                    // ‹¦—Í‹à
-                PdDWork.CnstrPriceExist = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.KyoryokuUmu].Value);                // ‹¦—Í‹à—L–³
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region �HŽ–�Ú�×‘ä’ ŽÀ�sƒf�[ƒ^’Ç‰Á“o˜^
-        /// <summary>
-        /// �HŽ–�Ú�×‘ä’ ŽÀ�sƒf�[ƒ^’Ç‰Á“o˜^
-        /// </summary>
-        /// <returns></returns>
-        private bool AddConstrLedgerExcute(IOConstructionLedgerDetail IoDetail
-                                            , IOConstructionLedgerExcute IoExec
-                                            , IOMSubContractor IoSub
-                                            , DataGridViewRow CurRow
-                                            , int nCompanyCode
-                                            , int nTargetDate
-                                            , int nSeqNo
-                                            , int nLineCount
-                                            , ref int nErrorCode)
-        {
-            try
-            {
-                // ‘ä’ ƒf�[ƒ^ƒZƒbƒg
-                ConstructionLedgerDetail DetailRec = new ConstructionLedgerDetail();
-                ConstructionLedgerExcute ExcuteRec = new ConstructionLedgerExcute();
-                CreateLedgerData(CurRow, IoDetail, IoSub, ref DetailRec, ref ExcuteRec);
-
-                // �HŽ–”Ô�†–³‚Í�ˆ—�‚µ‚È‚¢
-                if (DetailRec.ConstructionCode < 1) return true;
-
-                if (!ClsChangeLedgerData.EntryExecuteData(IoDetail, IoExec, DetailRec, ExcuteRec))
-                {
-                    nErrorCode = (int)EntryErrorCode.AbNormal;
-                    return false;
-                }
-
-                return true;
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                nErrorCode = (int)EntryErrorCode.AbNormal;
-                return false;
-            }
-        }
-        #endregion
-
-        #region �HŽ–‘ä’ �X�Vƒf�[ƒ^�ì�¬
-        /// <summary>
-        /// �HŽ–‘ä’ �X�Vƒf�[ƒ^�ì�¬
-        /// </summary>
-        private void CreateLedgerData(DataGridViewRow CurRow
-                                        , IOConstructionLedgerDetail IoDetail
-                                        , IOMSubContractor IoSub
-                                        , ref ConstructionLedgerDetail DetailRec
-                                        , ref ConstructionLedgerExcute ExcuteRec)
-        {
-            try
-            {
-                int nConstrCode = CommonMotions.cnvInt(CurRow.Cells[m_Genba_Column].Value);
-                int nCompCode = CommonMotions.cnvInt(CurRow.Cells[m_Company_DispColumn].Value);
-                int nSeqNo = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.GroupSeqNo].Value);
-
-                StringBuilder strSQL = new StringBuilder();
-                strSQL.Append(IoDetail.CreatePrimarykeyString(nConstrCode, (int)FrmConstructionLedger.DataGroup.ConstructionCosts));
-                // �s”Ô�†‚Ì�Å‘å’l‚ðŽæ“¾‚·‚é
-                int nLineCnt = IoDetail.SelectMaxLineCount(strSQL.ToString(), false) + 1;
-
-                // •K—v�s’Š�o
-                DataGridViewEX dgv = getShowingView();
-                DataGridViewRow[] CompanyRows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×
-                                                                                         && CommonMotions.cnvInt(x.Cells[m_Company_DispColumn].Value) == nCompCode
-                                                                                         && CommonMotions.cnvInt(x.Cells[(int)DispColumn.GroupSeqNo].Value) == nSeqNo)
-                                                                                 .ToArray();
-                string strName = string.Empty;
-                if (CompanyRows.Count() > 0)
-                {
-                    // ‹ÆŽÒ–¼Žæ“¾
-                    for (int i = 0; i < CompanyRows.Count(); i++)
-                    {
-                        if (CommonMotions.cnvString(CompanyRows[i].Cells[m_CompanyNM_Column].Value).Length > 0)
-                        {
-                            strName = CommonMotions.cnvString(CompanyRows[i].Cells[m_CompanyNM_Column].Value);
-                            break;
-                        }
-                    }
-                }
-                else
-                {
-                    // ‹ÆŽÒ–¼�ÌŽæ“¾
-                    strName = GetCompanyName(IoSub, nCompCode);
-                }
-
-                // –¾�×ƒf�[ƒ^�ì�¬
-                DetailRec.ConstructionCode = nConstrCode;	                                                                    // �HŽ–ƒR�[ƒh
-                DetailRec.GroupCount = (int)FrmConstructionLedger.DataGroup.ConstructionCosts;                                  // ƒOƒ‹�[ƒv”Ô�†
-                DetailRec.LineCount = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.ConstructionLedgerLineNo].Value);       // �s”Ô�†
-                if (DetailRec.LineCount == 0) DetailRec.LineCount = nLineCnt;
-                DetailRec.SecondString = CommonMotions.cnvString(CurRow.Cells[(int)DispColumn.DetailName].Value);	            // �HŽ–“à—e
-                DetailRec.CompanyType = (int)ConstructionLedgerDetail.CompanyTypeDef.Subconstractor;	                        // ‹¦—Í‰ïŽÐƒR�[ƒhƒ^ƒCƒv
-                DetailRec.CompanyCode = CommonMotions.cnvInt(CurRow.Cells[m_Company_DispColumn].Value);                         // ‹¦—Í‰ïŽÐƒR�[ƒh
-                DetailRec.CompanyName = strName; 	                                                                            // ‹¦—Í‰ïŽÐ–¼�Ì
-                DetailRec.IndependentFlg = (int)ConstructionLedgerDetail.IndependentFlgDef.Independent;                         // “Æ—§ƒf�[ƒ^ƒtƒ‰ƒO
-                DetailRec.SourceCode = nConstrCode;                                                                             // Œ³�HŽ–”Ô�†
-                DetailRec.DetailCount = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.ConstructionLedgerDetailNo].Value);   // –¾�×”Ô�†
-
-                // ŽÀ�sƒf�[ƒ^�ì�¬
-                ExcuteRec.ConstructionCode = nConstrCode;                                                                       // �HŽ–ƒR�[ƒh
-                ExcuteRec.GroupCount = (int)FrmConstructionLedger.DataGroup.ConstructionCosts;                                  // ƒOƒ‹�[ƒv”Ô�†
-                ExcuteRec.LineCount = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.ConstructionLedgerLineNo].Value);       // �s”Ô�†
-                if (ExcuteRec.LineCount == 0) ExcuteRec.LineCount = nLineCnt;
-                ExcuteRec.ColumnCount = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.ConstructionLedgerColNo].Value);
-                ExcuteRec.PaymentAmount = CommonMotions.cnvLong(CurRow.Cells[(int)DispColumn.KojiSeikyu].Value);
-                ExcuteRec.TargetMonth = CommonMotions.cnvDate(string.Format("{0}{1}", cmbTargetMonth.Text, s_DetailExecDay));
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region ‹¦—Í‹ÆŽÒ–¼Žæ“¾
-        /// <summary>
-        /// ‹¦—Í‹ÆŽÒ–¼Žæ“¾
-        /// </summary>
-        private string GetCompanyName(IOMSubContractor IoSub, int CompanyCode)
-        {
-            try
-            {
-                string strName = string.Empty;
-                StringBuilder strSQL = new StringBuilder();
-                strSQL.Append(IoSub.CreatePrimarykeyString(CompanyCode));
-                SubContractorMaster CompRec = new SubContractorMaster();
-                if (!IoSub.SelectAction(strSQL.ToString(), ref CompRec, false)) return strName;
-                strName = CompRec.CompanyName;
-
-                return strName;
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                return string.Empty;
-            }
-        }
-        #endregion
-
-        #region �HŽ–�Ú�×‘ä’ ŽÀ�sƒf�[ƒ^�X�V
-        /// <summary>
-        /// �HŽ–�Ú�×‘ä’ ŽÀ�sƒf�[ƒ^�X�V
-        /// </summary>
-        /// <returns></returns>
-        private bool ModConstructionLedgerExcute(IOConstructionLedgerDetail IoDetail
-                                            , IOConstructionLedgerExcute IoExec
-                                            , IOMSubContractor IoSub
-                                            , DataGridViewRow CurRow
-                                            , int nCompanyCode
-                                            , int nTargetDate
-                                            , int nSeqNo
-                                            , int nLineCount
-                                            , bool bRemove
-                                            , ref int nErrorCode)
-        {
-            try
-            {
-                // ‘ä’ ƒf�[ƒ^ƒZƒbƒg
-                ConstructionLedgerDetail DetailRec = new ConstructionLedgerDetail();
-                ConstructionLedgerExcute ExcuteRec = new ConstructionLedgerExcute();
-                CreateLedgerData(CurRow, IoDetail, IoSub, ref DetailRec, ref ExcuteRec);
-
-                // �HŽ–”Ô�†–³‚Í�ˆ—�‚µ‚È‚¢
-                if (DetailRec.ConstructionCode < 1) return true;
-                
-                if (!ClsChangeLedgerData.ModifyExecuteData(IoDetail, IoExec, DetailRec, ExcuteRec, bRemove))
-                {
-                    nErrorCode = (int)EntryErrorCode.AbNormal;
-                    return false;
-                }
-
-                return true;
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                nErrorCode = (int)EntryErrorCode.AbNormal;
-                return false;
-            }
-        }
-        #endregion
-
-        #region �W–ñƒf�[ƒ^�X�V�ˆ—�’è‹`
-        /// <summary>
-        /// �W–ñƒf�[ƒ^�X�V�ˆ—�’è‹`
-        /// </summary>
-        private enum SummaryProcNoDef
-        {
-            /// <summary>
-            /// ‹ÆŽÒ�¿‹�ƒf�[ƒ^
-            /// </summary>
-            ExecBillingData = 1,
-            /// <summary>
-            /// ‹ÆŽÒ�¿‹�Žx•¥ƒTƒ}ƒŠ�[ƒf�[ƒ^
-            /// </summary>
-            ExecBillingPaymentSummary,
-        }
-        #endregion
-
-        #region �W–ñ–¾�×ƒf�[ƒ^Žæ“¾
-        /// <summary>
-        /// �W–ñ–¾�×ƒf�[ƒ^Žæ“¾
-        /// </summary>
-        private bool GetDetailData(IOBillingDataDetail IoBdD
-                                        , ref ArrayList arList
-                                        , ref ArrayList BillPayList
-                                        , int nTargetDate
-                                        , ref int nErrorCode)
-        {
-            try
-            {
-                StringBuilder strSQL = new StringBuilder();
-                strSQL.Append("Select");
-                strSQL.Append(" Company.COMPANYCODE");
-                strSQL.Append(", Bill.TARGETDATE");
-                strSQL.Append(", Bill.SEQNO");
-                strSQL.Append(", SUM(Bill.BILLPRICE) AS B_Billprice");
-                strSQL.Append(", SUM(Bill.HIGHWPRICE) AS B_Highwprice");
-                strSQL.Append(", SUM(Bill.HARDWPRICE) AS B_Hardwprice");
-                strSQL.Append(", SUM(Bill.INDSWASTETAX) AS B_Indswastetax");
-                strSQL.Append(", SUM(Pay.BILLPRICE) AS P_Billprice");
-                strSQL.Append(", SUM(Pay.DISCOUNTPRICE) AS P_Discountprice");
-                strSQL.Append(", SUM(Pay.OFFSETPRICE) AS P_Offsetprice");
-                strSQL.Append(", SUM(Pay.NEXTCOPRICE) AS P_Nextcoprice");
-                strSQL.Append(", SUM(Pay.HIGHWPRICE) AS P_Highwprice");
-                strSQL.Append(", SUM(Pay.HARDWPRICE) AS P_Hardwprice");
-                strSQL.Append(", SUM(Pay.INDSWASTETAX) AS P_Indswastetax");
-                strSQL.Append(", SUM(Pay.CNSTRPRICE) AS P_Cnstrprice");
-                strSQL.Append(" From");
-                strSQL.Append(" billingdatadetail As Bill");
-                strSQL.Append(" Left Join subcontractormaster As Company");
-                strSQL.Append("   On Bill.COMPANYCODE = Company.CompanyCode");
-                strSQL.AppendFormat(" And Company.labourKind = {0}", m_Labourkind);
-                strSQL.Append(" Left Join paymentdatadetail As Pay");
-                strSQL.Append("   On Pay.COMPANYCODE = Bill.CompanyCode");
-                strSQL.Append("   And Pay.TARGETDATE = Bill.TARGETDATE");
-                strSQL.Append("   And Pay.SEQNO = Bill.SEQNO");
-                strSQL.Append("   And Pay.LINECOUNT = Bill.LINECOUNT");
-                strSQL.Append(" Where");
-                strSQL.AppendFormat(" Bill.TARGETDATE = {0}", nTargetDate);
-                strSQL.Append(" Group by");
-                strSQL.Append("   Company.COMPANYCODE");
-                strSQL.Append("   , Bill.TARGETDATE");
-                strSQL.Append("   , Bill.SEQNO");
-                strSQL.Append(" Order By");
-                strSQL.Append("   Company.COMPANYCODE");
-
-                if (!IoBdD.ExecuteReader(strSQL.ToString(), ref arList, false))
-                {
-                    nErrorCode = (int)EntryErrorCode.NotFound;
-                    return false;
-                }
-
-                // ‰ïŽÐ–ˆ�WŒvƒŠƒXƒg�ì�¬
-                if (!SumDetailData(arList, ref BillPayList, ref nErrorCode))
-                {
-                    nErrorCode = (int)EntryErrorCode.AbNormal;
-                    return false;
-                }
-
-                return true;
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                nErrorCode = (int)EntryErrorCode.AbNormal;
-                return false;
-            }
-        }
-        #endregion
-
-        #region ‰ïŽÐ–ˆ�WŒvƒŠƒXƒg�ì�¬
-        /// <summary>
-        /// ‰ïŽÐ–ˆ�WŒvƒŠƒXƒg�ì�¬
-        /// </summary>
-        private bool SumDetailData(ArrayList arList
-                                    , ref ArrayList SumList
-                                    , ref int nErrorCode)
-        {
-            try
-            {
-                if (arList.Count < 1) return true;
-
-                SumList.Clear();
-
-                object[] FirstRec = (object[])arList[0];
-                int nCompanyCode = CommonMotions.cnvInt(FirstRec[0]);
-                int nTargetDate = CommonMotions.cnvInt(FirstRec[1]);
-
-                long[] lBillingValue = new long[4];
-                long[] lPaymentValue = new long[8];
-                foreach (object[] ObjRec in arList)
-                {
-                    // ˆá‚Á‚½‚Æ‚«‚Éƒf�[ƒ^�WŒv
-                    if (nCompanyCode != CommonMotions.cnvInt(ObjRec[0]))
-                    {
-                        SumList.Add(new object[] { nCompanyCode
-                                            , nTargetDate
-                                            , lBillingValue[0]
-                                            , lBillingValue[1]
-                                            , lBillingValue[2]
-                                            , lBillingValue[3]
-                                            , lPaymentValue[0]
-                                            , lPaymentValue[1]
-                                            , lPaymentValue[2]
-                                            , lPaymentValue[3]
-                                            , lPaymentValue[4]
-                                            , lPaymentValue[5]
-                                            , lPaymentValue[6]
-                                            , lPaymentValue[7]});
-                        Array.Clear(lBillingValue, 0, lBillingValue.Length);
-                        Array.Clear(lPaymentValue, 0, lPaymentValue.Length);
-                        nCompanyCode = CommonMotions.cnvInt(ObjRec[0]);
-                    }
-
-                    // ‰ÁŽZ
-                    lBillingValue[0] += CommonMotions.cnvLong(ObjRec[3]);
-                    lBillingValue[1] += CommonMotions.cnvLong(ObjRec[4]);
-                    lBillingValue[2] += CommonMotions.cnvLong(ObjRec[5]);
-                    lBillingValue[3] += CommonMotions.cnvLong(ObjRec[6]);
-                    lPaymentValue[0] += CommonMotions.cnvLong(ObjRec[7]);
-                    lPaymentValue[1] += CommonMotions.cnvLong(ObjRec[8]);
-                    lPaymentValue[2] += CommonMotions.cnvLong(ObjRec[9]);
-                    lPaymentValue[3] += CommonMotions.cnvLong(ObjRec[10]);
-                    lPaymentValue[4] += CommonMotions.cnvLong(ObjRec[11]);
-                    lPaymentValue[5] += CommonMotions.cnvLong(ObjRec[12]);
-                    lPaymentValue[6] += CommonMotions.cnvLong(ObjRec[13]);
-                    lPaymentValue[7] += CommonMotions.cnvLong(ObjRec[14]);
-                }
-
-                return true;
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                nErrorCode = (int)EntryErrorCode.AbNormal;
-                return false;
-            }
-        }
-        #endregion
-
-        #region ‹ÆŽÒ�¿‹�ƒf�[ƒ^�X�V�ˆ—�
-        /// <summary>
-        /// ‹ÆŽÒ�¿‹�ƒf�[ƒ^�X�V�ˆ—�
-        /// </summary>
-        private bool EntryBillingData(IOBillingData IoBd
-                                        , ArrayList arList
-                                        , int nTargetDate
-                                        , ref int nErrorCode)
-        {
-            try
-            {
-                if (arList.Count < 1) return true;
-
-                StringBuilder strSQL = new StringBuilder();
-                List<BillingData> BdList = new List<BillingData>();
-                BillingData BdRec = new BillingData();
-                foreach (object[] ObjRec in arList)
-                {
-                    strSQL.Clear();
-                    int nCompCode = CommonMotions.cnvInt(ObjRec[0]);
-                    int nRecDate = CommonMotions.cnvInt(ObjRec[1]);
-                    int nSeqNo = CommonMotions.cnvInt(ObjRec[2]);
-                    strSQL.Append(IoBd.CreatePrimarykeyString(nCompCode, nRecDate, nSeqNo));
-
-                    // ƒf�[ƒ^Šm”F
-                    BdList.Clear();
-                    if (!IoBd.SelectAction(strSQL.ToString(), ref BdList, false))
-                    {
-                        nErrorCode = (int)EntryErrorCode.AbNormal;
-                        return false;
-                    }
-
-                    long lBillprice = CommonMotions.cnvInt(ObjRec[3]);
-                    long lHighwprice = CommonMotions.cnvInt(ObjRec[4]);
-                    long lHardwprice = CommonMotions.cnvInt(ObjRec[5]);
-                    long lIndswastetax = CommonMotions.cnvInt(ObjRec[6]);
-
-                    if (BdList.Count < 1)
-                    {
-                        // �V‹K�i‹Æ–±�¿‹�ƒf�[ƒ^�j
-                        BdRec.CompanyCode = nCompCode;
-                        BdRec.TargetDate = nRecDate;
-                        BdRec.SeqNo = nSeqNo;
-                        BdRec.BillPrice = lBillprice;
-
-                        if (!IoBd.InsertAction(BdRec, false))
-                        {
-                            nErrorCode = (int)EntryErrorCode.AddData;
-                            return false;
-                        }
-                    }
-                    else
-                    {
-                        // �sƒ�ƒbƒN
-                        if (!IoBd.RowLock(nCompCode, nRecDate, nSeqNo, false))
-                        {
-                            nErrorCode = (int)EntryErrorCode.Locked;
-                            return false;
-                        }
-
-                        // �X�V
-                        if (!IoBd.UpdateFeild(nCompCode, nRecDate, nSeqNo
-                                                , (int)IOBillingData.NameColumn.BillPrice
-                                                , lBillprice
-                                                , false))
-                        {
-                            nErrorCode = (int)EntryErrorCode.ModifyData;
-                            return false;
-                        }
-                    }
-                }
-
-                return true;
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                nErrorCode = (int)EntryErrorCode.AbNormal;
-                return false;
-            }
-        }
-        #endregion
-
-        #region ‹ÆŽÒ�¿‹�Žx•¥ƒTƒ}ƒŠ�[ƒf�[ƒ^�X�V�ˆ—�
-        /// <summary>
-        /// ‹ÆŽÒ�¿‹�Žx•¥ƒTƒ}ƒŠ�[ƒf�[ƒ^�X�V�ˆ—�
-        /// </summary>
-        private bool EntryBillingPaymentSummary(IOBillingPaymentSummary IoBps
-                                        , ArrayList arList
-                                        , int nTargetDate
-                                        , ref int nErrorCode)
-        {
-            try
-            {
-                if (arList.Count < 1) return true;
-
-                StringBuilder strSQL = new StringBuilder();
-                List<BillingPaymentSummary> BpsList = new List<BillingPaymentSummary>();
-                BillingPaymentSummary BpsRec = new BillingPaymentSummary();
-                foreach (object[] ObjRec in arList)
-                {
-                    BpsRec.CompanyCode = CommonMotions.cnvInt(ObjRec[0]);
-                    BpsRec.TargetDate = CommonMotions.cnvInt(ObjRec[1]);
-                    BpsRec.Payday = CommonMotions.cnvDate(lblPaymentDate.Text);
-
-                    long B_Billprice = CommonMotions.cnvLong(ObjRec[2]);
-                    long B_Highwprice = CommonMotions.cnvLong(ObjRec[3]);
-                    long B_Hardwprice = CommonMotions.cnvLong(ObjRec[4]);
-                    long B_Indswastetax = CommonMotions.cnvLong(ObjRec[5]);
-                    long P_Billprice = CommonMotions.cnvLong(ObjRec[6]);
-                    long P_Discountprice = CommonMotions.cnvLong(ObjRec[7]);
-                    long P_Offsetprice = CommonMotions.cnvLong(ObjRec[8]);
-                    long P_Nextcoprice = CommonMotions.cnvLong(ObjRec[9]);
-                    long P_Highwprice = CommonMotions.cnvLong(ObjRec[10]);
-                    long P_Hardwprice = CommonMotions.cnvLong(ObjRec[11]);
-                    long P_Indswastetax = CommonMotions.cnvLong(ObjRec[12]);
-                    long P_Cnstrprice = CommonMotions.cnvLong(ObjRec[13]);
-
-                    for (int PayKind = (int)BillingPaymentSummary.ChargePaymentKindDef.Billing
-                            ; PayKind <= (int)BillingPaymentSummary.ChargePaymentKindDef.Payment
-                            ; PayKind++)
-                    {
-
-                        // ƒf�[ƒ^ƒZƒbƒg
-                        SetDataBillingPaymentSummary(ref BpsRec, PayKind
-                                                    , B_Billprice, B_Highwprice, B_Hardwprice, B_Indswastetax
-                                                    , P_Billprice, P_Discountprice, P_Offsetprice, P_Nextcoprice
-                                                    , P_Highwprice, P_Hardwprice, P_Indswastetax, P_Cnstrprice);
-
-                        // ƒf�[ƒ^‘¶�ÝŠm”F
-                        BpsList.Clear();
-                        strSQL.Clear();
-                        strSQL.Append(IoBps.CreatePrimarykeyString(BpsRec.CompanyCode, BpsRec.TargetDate, BpsRec.ChargePaymentKind));
-                        if (!IoBps.SelectAction(strSQL.ToString(), ref BpsList, false))
-                        {
-                            nErrorCode = (int)EntryErrorCode.AbNormal;
-                            return false;
-                        }
-
-                        if (BpsList.Count > 0)
-                        {
-                            // ----- ƒf�[ƒ^�X�V
-                            // �sƒ�ƒbƒN
-                            if (!IoBps.RowLock(BpsRec.CompanyCode, BpsRec.TargetDate, BpsRec.ChargePaymentKind, false))
-                            {
-                                nErrorCode = (int)EntryErrorCode.Locked;
-                                return false;
-                            }
-
-                            // �X�V
-                            if (!IoBps.UpdateAction(strSQL.ToString(), BpsRec, false))
-                            {
-                                nErrorCode = (int)EntryErrorCode.ModifyData;
-                                return false;
-                            }
-                        }
-                        else
-                        {
-                            // ----- ƒf�[ƒ^’Ç‰Á
-                            // ’Ç‰Á
-                            if (!IoBps.InsertAction(BpsRec, false))
-                            {
-                                nErrorCode = (int)EntryErrorCode.AddData;
-                                return false;
-                            }
-                        }
-                    }
-                }
-
-                return true;
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                nErrorCode = (int)EntryErrorCode.AbNormal;
-                return false;
-            }
-        }
-        #endregion
-
-        #region ‹ÆŽÒ�¿‹�Žx•¥ƒTƒ}ƒŠ�[ƒf�[ƒ^ƒf�[ƒ^ƒZƒbƒg
-        /// <summary>
-        /// ‹ÆŽÒ�¿‹�Žx•¥ƒTƒ}ƒŠ�[ƒf�[ƒ^ƒf�[ƒ^ƒZƒbƒg
-        /// </summary>
-        private void SetDataBillingPaymentSummary(ref BillingPaymentSummary BpsRec
-                                                    , int PayKind
-                                                    , long B_Billprice, long B_Highwprice, long B_Hardwprice, long B_Indswastetax
-                                                    , long P_Billprice, long P_Discountprice, long P_Offsetprice, long P_Nextcoprice
-                                                    , long P_Highwprice, long P_Hardwprice, long P_Indswastetax, long P_Cnstrprice)
-        {
-            try
-            {
-                BpsRec.ChargePaymentKind = PayKind;
-                switch (PayKind)
-                {
-                    case (int)BillingPaymentSummary.ChargePaymentKindDef.Billing:
-                        // 0�F�¿‹�(‘�–±�j
-                        BpsRec.BillPriceStotal = B_Billprice;
-                        BpsRec.ConsumptionTaxRate = (CommonMotions.SystemMasterData.ConsumptionTax / 100.0);
-                        BpsRec.ConsumptionTaxPrice = CommonMotions.cnvRound(CommonMotions.cnvDouble(BpsRec.BillPriceStotal) * BpsRec.ConsumptionTaxRate);
-                        BpsRec.HighwPriceStotal = B_Highwprice;
-                        BpsRec.HardwPriceStotal = B_Hardwprice;
-                        BpsRec.IndsWasteTaxStotal = B_Indswastetax;
-
-                        BpsRec.CnstrPriceRate = (CommonMotions.SystemMasterData.CooperationRate / 100.0);
-                        BpsRec.CnstrPriceStotal = 0;
-                        BpsRec.BillingPriceTotal = BpsRec.BillPriceStotal
-                                                    + BpsRec.ConsumptionTaxPrice
-                                                    + BpsRec.HighwPriceStotal
-                                                    + BpsRec.HardwPriceStotal
-                                                    + BpsRec.IndsWasteTaxStotal;
-                        break;
-                    case (int)BillingPaymentSummary.ChargePaymentKindDef.Payment:
-                        // 1�FŽx•¥(�HŽ–’S“–)
-                        BpsRec.BillPriceStotal = P_Billprice;
-                        BpsRec.ConsumptionTaxRate = (CommonMotions.SystemMasterData.ConsumptionTax / 100.0);
-                        BpsRec.ConsumptionTaxPrice = CommonMotions.cnvRound(CommonMotions.cnvDouble(BpsRec.BillPriceStotal) * BpsRec.ConsumptionTaxRate);
-                        BpsRec.HighwPriceStotal = P_Highwprice;
-                        BpsRec.HardwPriceStotal = P_Hardwprice;
-                        BpsRec.IndsWasteTaxStotal = P_Indswastetax;
-                        BpsRec.CnstrPriceRate = (CommonMotions.SystemMasterData.CooperationRate / 100.0);
-                        BpsRec.CnstrPriceStotal = CommonMotions.cnvRound(CommonMotions.cnvDouble(P_Cnstrprice) * BpsRec.CnstrPriceRate);
-                        BpsRec.BillingPriceTotal = BpsRec.BillPriceStotal
-                                                    + BpsRec.ConsumptionTaxPrice
-                                                    + BpsRec.HighwPriceStotal
-                                                    + BpsRec.HardwPriceStotal
-                                                    + BpsRec.IndsWasteTaxStotal
-                                                    - BpsRec.CnstrPriceStotal;
-                        break;
-                }
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region ‹ÆŽÒ�¿‹�ƒf�[ƒ^�í�œ�ˆ—�
-        /// <summary>
-        /// ‹ÆŽÒ�¿‹�ƒf�[ƒ^�í�œ�ˆ—�
-        /// </summary>
-        private bool DeleteBillingData(IOBillingData IoBd
-                                            , int nCompanyCode
-                                            , int nTargetDate
-                                            , int nSeqNo
-                                            , ref int nErrorCode)
-        {
-            try
-            {
-                // ƒ�ƒbƒN
-                if (!IoBd.RowLock(nCompanyCode, nTargetDate, nSeqNo, false))
-                {
-                    nErrorCode = (int)EntryErrorCode.Locked;
-                    return false;
-                }
-
-                // �í�œ
-                StringBuilder strSQL = new StringBuilder();
-                strSQL.Append(IoBd.CreatePrimarykeyString(nCompanyCode, nTargetDate, nSeqNo));
-                IoBd.DeleteAction(strSQL.ToString(), false);
-
-                return true;
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                nErrorCode = (int)EntryErrorCode.AbNormal;
-                return false;
-            }
-        }
-        #endregion
-
-        #region Žx•¥�³”F�î•ñƒf�[ƒ^�í�œ�ˆ—�
-        /// <summary>
-        /// Žx•¥�³”F�î•ñƒf�[ƒ^�í�œ�ˆ—�
-        /// </summary>
-        private bool Deletepaymentapprovalinfo(IOPaymentApprovalInfo IoPaI
-                                            , DataGridViewRow CurRow
-                                            , int nCompanyCode
-                                            , int nTargetDate
-                                            , int nSeqNo
-                                            , int nLineCount
-                                            , ref int nErrorCode)
-        {
-            try
-            {
-                StringBuilder strSQL = new StringBuilder();
-                strSQL.Append(IoPaI.CreatePrimarykeyString(nCompanyCode, nTargetDate, nSeqNo, nLineCount));
-                List<PaymentApprovalInfo> DataList = new List<PaymentApprovalInfo>();
-                if (!IoPaI.SelectAction(strSQL.ToString(), ref DataList))
-                {
-                    nErrorCode = (int)EntryErrorCode.AbNormal;
-                    return false;
-                }
-
-                foreach (PaymentApprovalInfo CurRec in DataList)
-                {
-                    // ƒ�ƒbƒN
-                    if (!IoPaI.RowLock(CurRec.CompanyCode
-                                        , CurRec.TargetDate
-                                        , CurRec.SeqNo
-                                        , CurRec.LineCount
-                                        , CurRec.ApprovalNo
-                                        , false))
-                    {
-                        nErrorCode = (int)EntryErrorCode.Locked;
-                        return false;
-                    }
-                }
-
-                // �í�œ
-                strSQL.Clear();
-                strSQL.Append(IoPaI.CreatePrimarykeyString(nCompanyCode, nTargetDate, nSeqNo, nLineCount));
-                IoPaI.DeleteAction(strSQL.ToString(), false);
-                
-                return true;
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                nErrorCode = (int)EntryErrorCode.AbNormal;
-                return false;
-            }
-        }
-        #endregion
-
-        #region ‹ÆŽÒ�¿‹�Žx•¥ƒTƒ}ƒŠ�[ƒf�[ƒ^�í�œ�ˆ—�
-        /// <summary>
-        /// ‹ÆŽÒ�¿‹�Žx•¥ƒTƒ}ƒŠ�[ƒf�[ƒ^�í�œ�ˆ—�
-        /// </summary>
-        private bool Deletebillingpaymentsummary(IOBillingPaymentSummary IoBps
-                                            , DataGridViewRow CurRow
-                                            , int nCompanyCode
-                                            , int nTargetDate
-                                            , int nSeqNo
-                                            , int nLineCount
-                                            , ref int nErrorCode)
-        {
-            try
-            {
-                StringBuilder strSQL = new StringBuilder();
-                strSQL.Append(IoBps.CreatePrimarykeyString(nCompanyCode, nTargetDate));
-                List<BillingPaymentSummary> DataList = new List<BillingPaymentSummary>();
-                if (!IoBps.SelectAction(strSQL.ToString(), ref DataList, false))
-                {
-                    nErrorCode = (int)EntryErrorCode.AbNormal;
-                    return false;
-                }
-
-                foreach (BillingPaymentSummary CurRec in DataList)
-                {
-                    // ƒ�ƒbƒN
-                    if (!IoBps.RowLock(CurRec.CompanyCode
-                                        , CurRec.TargetDate
-                                        , CurRec.ChargePaymentKind
-                                        , false))
-                    {
-                        nErrorCode = (int)EntryErrorCode.Locked;
-                        return false;
-                    }
-                }
-
-                // �í�œ
-                strSQL.Clear();
-                strSQL.Append(IoBps.CreatePrimarykeyString(nCompanyCode, nTargetDate));
-                IoBps.DeleteAction(strSQL.ToString(), false);
-
-                return true;
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                nErrorCode = (int)EntryErrorCode.AbNormal;
-                return false;
-            }
-        }
-        #endregion
-    }
-}
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/FrmRequestSummaryList.resx
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/FrmRequestSummaryList.resx	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/FrmRequestSummaryList.resx	(nonexistent)
@@ -1,129 +0,0 @@
-<?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="lblCellTotal.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dgvCompany091.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="dgvProject091.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-</root>
\ No newline at end of file
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/FrmRequestSummaryList.designer.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/FrmRequestSummaryList.designer.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/FrmRequestSummaryList.designer.cs	(nonexistent)
@@ -1,3038 +0,0 @@
-ï»¿namespace ProcessManagement.Forms.DataEntry
-{
-    partial class FrmRequestSummaryList
-    {
-        /// <summary>
-        /// å¿…è¦�ã�ªãƒ‡ã‚¶ã‚¤ãƒŠå¤‰æ•°ã�§ã�™ã€‚
-        /// </summary>
-        private System.ComponentModel.IContainer components = null;
-
-        /// <summary>
-        /// ä½¿ç”¨ä¸­ã�®ãƒªã‚½ãƒ¼ã‚¹ã‚’ã�™ã�¹ã�¦ã‚¯ãƒªãƒ¼ãƒ³ã‚¢ãƒƒãƒ—ã�—ã�¾ã�™ã€‚
-        /// </summary>
-        /// <param name="disposing">ãƒžãƒ�ãƒ¼ã‚¸ ãƒªã‚½ãƒ¼ã‚¹ã�Œç ´æ£„ã�•ã‚Œã‚‹å ´å�ˆ trueã€�ç ´æ£„ã�•ã‚Œã�ªã�„å ´å�ˆã�¯ false ã�§ã�™ã€‚</param>
-        protected override void Dispose(bool disposing)
-        {
-            if (disposing && (components != null))
-            {
-                components.Dispose();
-            }
-            base.Dispose(disposing);
-        }
-
-        #region Windows ãƒ•ã‚©ãƒ¼ãƒ  ãƒ‡ã‚¶ã‚¤ãƒŠã�§ç”Ÿæˆ�ã�•ã‚Œã�Ÿã‚³ãƒ¼ãƒ‰
-
-        /// <summary>
-        /// ãƒ‡ã‚¶ã‚¤ãƒŠ ã‚µãƒ�ãƒ¼ãƒˆã�«å¿…è¦�ã�ªãƒ¡ã‚½ãƒƒãƒ‰ã�§ã�™ã€‚ã�“ã�®ãƒ¡ã‚½ãƒƒãƒ‰ã�®å†…å®¹ã‚’
-        /// ã‚³ãƒ¼ãƒ‰ ã‚¨ãƒ‡ã‚£ã‚¿ã�§å¤‰æ›´ã�—ã�ªã�„ã�§ã��ã� ã�•ã�„ã€‚
-        /// </summary>
-        private void InitializeComponent()
-        {
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle27 = 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();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle21 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle22 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle23 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle24 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle25 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle26 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle28 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle58 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle29 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle30 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle31 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle32 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle33 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle34 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle35 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle36 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle37 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle38 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle39 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle40 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle41 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle42 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle43 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle44 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle45 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle46 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle47 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle48 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle49 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle50 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle51 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle52 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle53 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle54 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle55 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle56 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle57 = new System.Windows.Forms.DataGridViewCellStyle();
-            this.btnEnd = new System.Windows.Forms.Button();
-            this.label1 = new System.Windows.Forms.Label();
-            this.btnDataEntry = new System.Windows.Forms.Button();
-            this.btnDeleteProject = new System.Windows.Forms.Button();
-            this.btnDeleteCompany = new System.Windows.Forms.Button();
-            this.btnAddCompany = new System.Windows.Forms.Button();
-            this.btnAddProject = new System.Windows.Forms.Button();
-            this.panel1 = new System.Windows.Forms.Panel();
-            this.label10 = new System.Windows.Forms.Label();
-            this.label9 = new System.Windows.Forms.Label();
-            this.label8 = new System.Windows.Forms.Label();
-            this.label7 = new System.Windows.Forms.Label();
-            this.label6 = new System.Windows.Forms.Label();
-            this.CombinedOrderLabel1 = new System.Windows.Forms.Label();
-            this.CombinedOrderLabel2 = new System.Windows.Forms.Label();
-            this.btnOtherProc = new System.Windows.Forms.Button();
-            this.DataProgressBar = new System.Windows.Forms.ProgressBar();
-            this.lblCellTotal = new System.Windows.Forms.Label();
-            this.groupBoxEx1 = new ProcessManagement.Forms.CustomControls.GroupBoxEx();
-            this.btnTotalDsp = new System.Windows.Forms.Button();
-            this.btnDataUpDate = new System.Windows.Forms.Button();
-            this.pnlApproval = new System.Windows.Forms.Panel();
-            this.lblApprovalCount = new System.Windows.Forms.Label();
-            this.btnPetition = new System.Windows.Forms.Button();
-            this.btnApproval = new System.Windows.Forms.Button();
-            this.pnlApprovalButton = new System.Windows.Forms.Panel();
-            this.btnOnApproval = new System.Windows.Forms.Button();
-            this.btnNotApproval = new System.Windows.Forms.Button();
-            this.btnOnHold = new System.Windows.Forms.Button();
-            this.label11 = new System.Windows.Forms.Label();
-            this.cmbPerson = new System.Windows.Forms.ComboBox();
-            this.cmbDepartment = new System.Windows.Forms.ComboBox();
-            this.label4 = new System.Windows.Forms.Label();
-            this.panel2 = new System.Windows.Forms.Panel();
-            this.rdbProject = new System.Windows.Forms.RadioButton();
-            this.rdbCompany = new System.Windows.Forms.RadioButton();
-            this.lblPaymentDate = new System.Windows.Forms.Label();
-            this.label5 = new System.Windows.Forms.Label();
-            this.label2 = new System.Windows.Forms.Label();
-            this.cmbTargetMonth = new System.Windows.Forms.ComboBox();
-            this.label3 = new System.Windows.Forms.Label();
-            this.dgvCompany = new ProcessManagement.Forms.CustomControls.DataGridViewEX();
-            this.dgvCompany001 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany002 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany003 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany004 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany005 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany006 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany007 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany008 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany009 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany010 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany011 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany012 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany013 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany014 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany015 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany016 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany017 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany018 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany019 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany020 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany021 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany022 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany023 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany024 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany025 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany026 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany027 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany028 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany029 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany030 = new System.Windows.Forms.DataGridViewComboBoxColumn();
-            this.dgvCompany031 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany032 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany033 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany034 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany035 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany036 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany037 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany038 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany039 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany040 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany041 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany042 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany043 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany044 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany045 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany046 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany047 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany048 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany049 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany050 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany051 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany052 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany053 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany054 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany055 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany056 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany057 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany058 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany059 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany060 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany061 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany062 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany063 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany064 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany065 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany066 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany067 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany068 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany069 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany070 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany071 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany072 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany073 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany074 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany075 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany076 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany077 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany078 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany079 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany080 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany081 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany082 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany083 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany084 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany085 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany086 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany087 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany088 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany089 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany090 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany091 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany092 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany093 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany094 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany095 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany096 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany097 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany098 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany099 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvCompany100 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject = new ProcessManagement.Forms.CustomControls.DataGridViewEX();
-            this.dgvProject001 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject002 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject003 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject004 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject005 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject006 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject007 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject008 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject009 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject010 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject011 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject012 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject013 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject014 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject015 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject016 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject017 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject018 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject019 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject020 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject021 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject022 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject023 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject024 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject025 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject026 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject027 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject028 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject029 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject030 = new System.Windows.Forms.DataGridViewComboBoxColumn();
-            this.dgvProject031 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject032 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject033 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject034 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject035 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject036 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject037 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject038 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject039 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject040 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject041 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject042 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject043 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject044 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject045 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject046 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject047 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject048 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject049 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject050 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject051 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject052 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject053 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject054 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject055 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject056 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject057 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject058 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject059 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject060 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject061 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject062 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject063 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject064 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject065 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject066 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject067 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject068 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject069 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject070 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject071 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject072 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject073 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject074 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject075 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject076 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject077 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject078 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject079 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject080 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject081 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject082 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject083 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject084 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject085 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject086 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject087 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject088 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject089 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject090 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject091 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject092 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject093 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject094 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject095 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject096 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject097 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject098 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject099 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvProject100 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.panel1.SuspendLayout();
-            this.groupBoxEx1.SuspendLayout();
-            this.pnlApproval.SuspendLayout();
-            this.pnlApprovalButton.SuspendLayout();
-            this.panel2.SuspendLayout();
-            ((System.ComponentModel.ISupportInitialize)(this.dgvCompany)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.dgvProject)).BeginInit();
-            this.SuspendLayout();
-            // 
-            // btnEnd
-            // 
-            this.btnEnd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
-            this.btnEnd.BackColor = System.Drawing.Color.Blue;
-            this.btnEnd.ForeColor = System.Drawing.Color.White;
-            this.btnEnd.Location = new System.Drawing.Point(1210, 657);
-            this.btnEnd.Margin = new System.Windows.Forms.Padding(4);
-            this.btnEnd.Name = "btnEnd";
-            this.btnEnd.Size = new System.Drawing.Size(120, 30);
-            this.btnEnd.TabIndex = 10;
-            this.btnEnd.Text = "çµ‚ã€€äº†";
-            this.btnEnd.UseVisualStyleBackColor = false;
-            this.btnEnd.Click += new System.EventHandler(this.btnEnd_Click);
-            // 
-            // label1
-            // 
-            this.label1.Anchor = System.Windows.Forms.AnchorStyles.Top;
-            this.label1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
-            this.label1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label1.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.label1.ForeColor = System.Drawing.Color.Black;
-            this.label1.Location = new System.Drawing.Point(420, 10);
-            this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
-            this.label1.Name = "label1";
-            this.label1.Size = new System.Drawing.Size(500, 20);
-            this.label1.TabIndex = 0;
-            this.label1.Text = "è«‹ã€€æ±‚ã€€ã�¾ã€€ã�¨ã€€ã‚�";
-            this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // btnDataEntry
-            // 
-            this.btnDataEntry.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
-            this.btnDataEntry.BackColor = System.Drawing.Color.Green;
-            this.btnDataEntry.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.btnDataEntry.ForeColor = System.Drawing.Color.White;
-            this.btnDataEntry.Location = new System.Drawing.Point(1082, 657);
-            this.btnDataEntry.Margin = new System.Windows.Forms.Padding(4);
-            this.btnDataEntry.Name = "btnDataEntry";
-            this.btnDataEntry.Size = new System.Drawing.Size(120, 30);
-            this.btnDataEntry.TabIndex = 9;
-            this.btnDataEntry.Text = "ç™»ã€€éŒ²";
-            this.btnDataEntry.UseVisualStyleBackColor = false;
-            this.btnDataEntry.Click += new System.EventHandler(this.btnDataEntry_Click);
-            // 
-            // btnDeleteProject
-            // 
-            this.btnDeleteProject.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.btnDeleteProject.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(192)))));
-            this.btnDeleteProject.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.btnDeleteProject.ForeColor = System.Drawing.Color.Black;
-            this.btnDeleteProject.Location = new System.Drawing.Point(778, 657);
-            this.btnDeleteProject.Margin = new System.Windows.Forms.Padding(4);
-            this.btnDeleteProject.Name = "btnDeleteProject";
-            this.btnDeleteProject.Size = new System.Drawing.Size(120, 30);
-            this.btnDeleteProject.TabIndex = 8;
-            this.btnDeleteProject.Text = "ç�¾å ´å‰Šé™¤";
-            this.btnDeleteProject.UseVisualStyleBackColor = false;
-            this.btnDeleteProject.Click += new System.EventHandler(this.btnDeleteProject_Click);
-            // 
-            // btnDeleteCompany
-            // 
-            this.btnDeleteCompany.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.btnDeleteCompany.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(255)))));
-            this.btnDeleteCompany.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.btnDeleteCompany.ForeColor = System.Drawing.Color.Black;
-            this.btnDeleteCompany.Location = new System.Drawing.Point(522, 657);
-            this.btnDeleteCompany.Margin = new System.Windows.Forms.Padding(4);
-            this.btnDeleteCompany.Name = "btnDeleteCompany";
-            this.btnDeleteCompany.Size = new System.Drawing.Size(120, 30);
-            this.btnDeleteCompany.TabIndex = 6;
-            this.btnDeleteCompany.Text = "æ¥­è€…å‰Šé™¤";
-            this.btnDeleteCompany.UseVisualStyleBackColor = false;
-            this.btnDeleteCompany.Click += new System.EventHandler(this.btnDeleteCompany_Click);
-            // 
-            // btnAddCompany
-            // 
-            this.btnAddCompany.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.btnAddCompany.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
-            this.btnAddCompany.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.btnAddCompany.ForeColor = System.Drawing.Color.Black;
-            this.btnAddCompany.Location = new System.Drawing.Point(394, 657);
-            this.btnAddCompany.Margin = new System.Windows.Forms.Padding(4);
-            this.btnAddCompany.Name = "btnAddCompany";
-            this.btnAddCompany.Size = new System.Drawing.Size(120, 30);
-            this.btnAddCompany.TabIndex = 5;
-            this.btnAddCompany.Text = "æ¥­è€…è¿½åŠ ";
-            this.btnAddCompany.UseVisualStyleBackColor = false;
-            this.btnAddCompany.Click += new System.EventHandler(this.btnAddCompany_Click);
-            // 
-            // btnAddProject
-            // 
-            this.btnAddProject.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.btnAddProject.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(136)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
-            this.btnAddProject.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.btnAddProject.ForeColor = System.Drawing.Color.Black;
-            this.btnAddProject.Location = new System.Drawing.Point(650, 657);
-            this.btnAddProject.Margin = new System.Windows.Forms.Padding(4);
-            this.btnAddProject.Name = "btnAddProject";
-            this.btnAddProject.Size = new System.Drawing.Size(120, 30);
-            this.btnAddProject.TabIndex = 7;
-            this.btnAddProject.Text = "ç�¾å ´è¿½åŠ ";
-            this.btnAddProject.UseVisualStyleBackColor = false;
-            this.btnAddProject.Click += new System.EventHandler(this.btnAddProject_Click);
-            // 
-            // panel1
-            // 
-            this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
-            this.panel1.Controls.Add(this.label10);
-            this.panel1.Controls.Add(this.label9);
-            this.panel1.Controls.Add(this.label8);
-            this.panel1.Controls.Add(this.label7);
-            this.panel1.Controls.Add(this.label6);
-            this.panel1.Location = new System.Drawing.Point(980, 2);
-            this.panel1.Margin = new System.Windows.Forms.Padding(0);
-            this.panel1.Name = "panel1";
-            this.panel1.Size = new System.Drawing.Size(350, 34);
-            this.panel1.TabIndex = 1;
-            // 
-            // label10
-            // 
-            this.label10.AutoSize = true;
-            this.label10.ForeColor = System.Drawing.Color.Yellow;
-            this.label10.Location = new System.Drawing.Point(185, 17);
-            this.label10.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
-            this.label10.Name = "label10";
-            this.label10.Size = new System.Drawing.Size(160, 15);
-            this.label10.TabIndex = 4;
-            this.label10.Text = "ï¼šå·¥äº‹æ‹…å½“è€…ã�Œå…¥åŠ›";
-            // 
-            // label9
-            // 
-            this.label9.AutoSize = true;
-            this.label9.ForeColor = System.Drawing.Color.Yellow;
-            this.label9.Location = new System.Drawing.Point(185, 1);
-            this.label9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
-            this.label9.Name = "label9";
-            this.label9.Size = new System.Drawing.Size(143, 15);
-            this.label9.TabIndex = 2;
-            this.label9.Text = "ï¼šç·�å‹™éƒ¨é–€ã�Œå…¥åŠ›";
-            // 
-            // label8
-            // 
-            this.label8.AutoSize = true;
-            this.label8.BackColor = System.Drawing.Color.SkyBlue;
-            this.label8.Location = new System.Drawing.Point(135, 17);
-            this.label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
-            this.label8.MinimumSize = new System.Drawing.Size(50, 0);
-            this.label8.Name = "label8";
-            this.label8.Size = new System.Drawing.Size(50, 15);
-            this.label8.TabIndex = 3;
-            // 
-            // label7
-            // 
-            this.label7.AutoSize = true;
-            this.label7.BackColor = System.Drawing.Color.Coral;
-            this.label7.Location = new System.Drawing.Point(135, 1);
-            this.label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
-            this.label7.MinimumSize = new System.Drawing.Size(50, 0);
-            this.label7.Name = "label7";
-            this.label7.Size = new System.Drawing.Size(50, 15);
-            this.label7.TabIndex = 1;
-            // 
-            // label6
-            // 
-            this.label6.AutoSize = true;
-            this.label6.ForeColor = System.Drawing.Color.Yellow;
-            this.label6.Location = new System.Drawing.Point(1, 1);
-            this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
-            this.label6.Name = "label6";
-            this.label6.Size = new System.Drawing.Size(126, 15);
-            this.label6.TabIndex = 0;
-            this.label6.Text = "ä¸€è¦§ã�®ã‚¿ã‚¤ãƒˆãƒ«";
-            // 
-            // CombinedOrderLabel1
-            // 
-            this.CombinedOrderLabel1.BackColor = System.Drawing.Color.DimGray;
-            this.CombinedOrderLabel1.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.CombinedOrderLabel1.ForeColor = System.Drawing.Color.White;
-            this.CombinedOrderLabel1.Location = new System.Drawing.Point(10, 5);
-            this.CombinedOrderLabel1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
-            this.CombinedOrderLabel1.Name = "CombinedOrderLabel1";
-            this.CombinedOrderLabel1.Size = new System.Drawing.Size(180, 30);
-            this.CombinedOrderLabel1.TabIndex = 18;
-            this.CombinedOrderLabel1.Text = "æ‰‹é–“æ”¯æ‰•";
-            this.CombinedOrderLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // CombinedOrderLabel2
-            // 
-            this.CombinedOrderLabel2.BackColor = System.Drawing.Color.DimGray;
-            this.CombinedOrderLabel2.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.CombinedOrderLabel2.ForeColor = System.Drawing.Color.White;
-            this.CombinedOrderLabel2.Location = new System.Drawing.Point(10, 5);
-            this.CombinedOrderLabel2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
-            this.CombinedOrderLabel2.Name = "CombinedOrderLabel2";
-            this.CombinedOrderLabel2.Size = new System.Drawing.Size(180, 30);
-            this.CombinedOrderLabel2.TabIndex = 18;
-            this.CombinedOrderLabel2.Text = "æ¥­è€…æ”¯æ‰•";
-            this.CombinedOrderLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // btnOtherProc
-            // 
-            this.btnOtherProc.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.btnOtherProc.BackColor = System.Drawing.Color.SpringGreen;
-            this.btnOtherProc.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.btnOtherProc.Location = new System.Drawing.Point(10, 657);
-            this.btnOtherProc.Name = "btnOtherProc";
-            this.btnOtherProc.Size = new System.Drawing.Size(160, 30);
-            this.btnOtherProc.TabIndex = 95;
-            this.btnOtherProc.TabStop = false;
-            this.btnOtherProc.Text = "ä»–ã�®ç”»é�¢ã�¸";
-            this.btnOtherProc.UseVisualStyleBackColor = false;
-            this.btnOtherProc.Click += new System.EventHandler(this.btnOtherProc_Click);
-            // 
-            // DataProgressBar
-            // 
-            this.DataProgressBar.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.DataProgressBar.Location = new System.Drawing.Point(10, 654);
-            this.DataProgressBar.Name = "DataProgressBar";
-            this.DataProgressBar.Size = new System.Drawing.Size(1065, 36);
-            this.DataProgressBar.TabIndex = 96;
-            this.DataProgressBar.Visible = false;
-            // 
-            // lblCellTotal
-            // 
-            this.lblCellTotal.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.lblCellTotal.AutoSize = true;
-            this.lblCellTotal.BackColor = System.Drawing.Color.WhiteSmoke;
-            this.lblCellTotal.Font = new System.Drawing.Font("ï¼­ï¼³ ï¼°æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.lblCellTotal.ForeColor = System.Drawing.Color.Black;
-            this.lblCellTotal.Location = new System.Drawing.Point(100, 636);
-            this.lblCellTotal.Name = "lblCellTotal";
-            this.lblCellTotal.Size = new System.Drawing.Size(0, 16);
-            this.lblCellTotal.TabIndex = 97;
-            // 
-            // groupBoxEx1
-            // 
-            this.groupBoxEx1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
-            | System.Windows.Forms.AnchorStyles.Right)));
-            this.groupBoxEx1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
-            this.groupBoxEx1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
-            this.groupBoxEx1.BorderColor = System.Drawing.Color.Gray;
-            this.groupBoxEx1.Controls.Add(this.btnTotalDsp);
-            this.groupBoxEx1.Controls.Add(this.btnDataUpDate);
-            this.groupBoxEx1.Controls.Add(this.pnlApproval);
-            this.groupBoxEx1.Controls.Add(this.pnlApprovalButton);
-            this.groupBoxEx1.Controls.Add(this.label11);
-            this.groupBoxEx1.Controls.Add(this.cmbPerson);
-            this.groupBoxEx1.Controls.Add(this.cmbDepartment);
-            this.groupBoxEx1.Controls.Add(this.label4);
-            this.groupBoxEx1.Controls.Add(this.panel2);
-            this.groupBoxEx1.Controls.Add(this.lblPaymentDate);
-            this.groupBoxEx1.Controls.Add(this.label5);
-            this.groupBoxEx1.Controls.Add(this.label2);
-            this.groupBoxEx1.Controls.Add(this.cmbTargetMonth);
-            this.groupBoxEx1.Controls.Add(this.label3);
-            this.groupBoxEx1.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
-            this.groupBoxEx1.Location = new System.Drawing.Point(10, 40);
-            this.groupBoxEx1.Margin = new System.Windows.Forms.Padding(4);
-            this.groupBoxEx1.Name = "groupBoxEx1";
-            this.groupBoxEx1.Padding = new System.Windows.Forms.Padding(4);
-            this.groupBoxEx1.Size = new System.Drawing.Size(1320, 70);
-            this.groupBoxEx1.TabIndex = 2;
-            this.groupBoxEx1.TabStop = false;
-            // 
-            // btnTotalDsp
-            // 
-            this.btnTotalDsp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
-            this.btnTotalDsp.BackColor = System.Drawing.Color.OldLace;
-            this.btnTotalDsp.ForeColor = System.Drawing.Color.Black;
-            this.btnTotalDsp.Location = new System.Drawing.Point(1053, 36);
-            this.btnTotalDsp.Name = "btnTotalDsp";
-            this.btnTotalDsp.Size = new System.Drawing.Size(120, 30);
-            this.btnTotalDsp.TabIndex = 102;
-            this.btnTotalDsp.Text = "æ”¯æ‰•ç¢ºèª�ä¸€è¦§";
-            this.btnTotalDsp.UseVisualStyleBackColor = false;
-            this.btnTotalDsp.Visible = false;
-            this.btnTotalDsp.Click += new System.EventHandler(this.btnTotalDsp_Click);
-            // 
-            // btnDataUpDate
-            // 
-            this.btnDataUpDate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
-            this.btnDataUpDate.BackColor = System.Drawing.Color.Aquamarine;
-            this.btnDataUpDate.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.btnDataUpDate.ForeColor = System.Drawing.Color.Black;
-            this.btnDataUpDate.Location = new System.Drawing.Point(1193, 37);
-            this.btnDataUpDate.Name = "btnDataUpDate";
-            this.btnDataUpDate.Size = new System.Drawing.Size(120, 30);
-            this.btnDataUpDate.TabIndex = 97;
-            this.btnDataUpDate.Text = "æœ€æ–°çŠ¶æ…‹ã�«æ›´æ–°";
-            this.btnDataUpDate.UseVisualStyleBackColor = false;
-            this.btnDataUpDate.Click += new System.EventHandler(this.btnDataUpDate_Click);
-            // 
-            // pnlApproval
-            // 
-            this.pnlApproval.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
-            this.pnlApproval.BackColor = System.Drawing.Color.White;
-            this.pnlApproval.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.pnlApproval.Controls.Add(this.lblApprovalCount);
-            this.pnlApproval.Controls.Add(this.btnPetition);
-            this.pnlApproval.Controls.Add(this.btnApproval);
-            this.pnlApproval.Location = new System.Drawing.Point(1053, 0);
-            this.pnlApproval.Name = "pnlApproval";
-            this.pnlApproval.Size = new System.Drawing.Size(262, 34);
-            this.pnlApproval.TabIndex = 33;
-            // 
-            // lblApprovalCount
-            // 
-            this.lblApprovalCount.BackColor = System.Drawing.Color.Black;
-            this.lblApprovalCount.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.lblApprovalCount.ForeColor = System.Drawing.Color.White;
-            this.lblApprovalCount.Location = new System.Drawing.Point(205, 3);
-            this.lblApprovalCount.Name = "lblApprovalCount";
-            this.lblApprovalCount.Size = new System.Drawing.Size(50, 24);
-            this.lblApprovalCount.TabIndex = 1;
-            this.lblApprovalCount.Text = "4/5";
-            this.lblApprovalCount.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // btnPetition
-            // 
-            this.btnPetition.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
-            | System.Windows.Forms.AnchorStyles.Right)));
-            this.btnPetition.BackColor = System.Drawing.Color.White;
-            this.btnPetition.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.btnPetition.ForeColor = System.Drawing.Color.Red;
-            this.btnPetition.Location = new System.Drawing.Point(3, 3);
-            this.btnPetition.Name = "btnPetition";
-            this.btnPetition.Size = new System.Drawing.Size(100, 24);
-            this.btnPetition.TabIndex = 12;
-            this.btnPetition.Text = "æœªç”³è«‹";
-            this.btnPetition.UseVisualStyleBackColor = false;
-            this.btnPetition.Click += new System.EventHandler(this.btnPetition_Click);
-            // 
-            // btnApproval
-            // 
-            this.btnApproval.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
-            this.btnApproval.BackColor = System.Drawing.Color.White;
-            this.btnApproval.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.btnApproval.ForeColor = System.Drawing.Color.Red;
-            this.btnApproval.Location = new System.Drawing.Point(104, 3);
-            this.btnApproval.Name = "btnApproval";
-            this.btnApproval.Size = new System.Drawing.Size(100, 24);
-            this.btnApproval.TabIndex = 12;
-            this.btnApproval.Text = "æœªæ‰¿èª�";
-            this.btnApproval.UseVisualStyleBackColor = false;
-            this.btnApproval.Click += new System.EventHandler(this.btnApproval_Click);
-            // 
-            // pnlApprovalButton
-            // 
-            this.pnlApprovalButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
-            this.pnlApprovalButton.AutoSize = true;
-            this.pnlApprovalButton.BackColor = System.Drawing.Color.White;
-            this.pnlApprovalButton.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.pnlApprovalButton.Controls.Add(this.btnOnApproval);
-            this.pnlApprovalButton.Controls.Add(this.btnNotApproval);
-            this.pnlApprovalButton.Controls.Add(this.btnOnHold);
-            this.pnlApprovalButton.Location = new System.Drawing.Point(1053, 0);
-            this.pnlApprovalButton.Name = "pnlApprovalButton";
-            this.pnlApprovalButton.Size = new System.Drawing.Size(262, 34);
-            this.pnlApprovalButton.TabIndex = 34;
-            this.pnlApprovalButton.Visible = false;
-            // 
-            // btnOnApproval
-            // 
-            this.btnOnApproval.BackColor = System.Drawing.Color.MediumSpringGreen;
-            this.btnOnApproval.ForeColor = System.Drawing.SystemColors.ControlText;
-            this.btnOnApproval.Location = new System.Drawing.Point(5, 3);
-            this.btnOnApproval.Name = "btnOnApproval";
-            this.btnOnApproval.Size = new System.Drawing.Size(83, 24);
-            this.btnOnApproval.TabIndex = 34;
-            this.btnOnApproval.TabStop = false;
-            this.btnOnApproval.Text = "æ‰¿èª�";
-            this.btnOnApproval.UseVisualStyleBackColor = false;
-            this.btnOnApproval.Click += new System.EventHandler(this.btnOnApproval_Click);
-            // 
-            // btnNotApproval
-            // 
-            this.btnNotApproval.BackColor = System.Drawing.Color.Red;
-            this.btnNotApproval.ForeColor = System.Drawing.SystemColors.ControlText;
-            this.btnNotApproval.Location = new System.Drawing.Point(171, 3);
-            this.btnNotApproval.Name = "btnNotApproval";
-            this.btnNotApproval.Size = new System.Drawing.Size(83, 24);
-            this.btnNotApproval.TabIndex = 35;
-            this.btnNotApproval.TabStop = false;
-            this.btnNotApproval.Text = "ä¸�æ‰¿èª�";
-            this.btnNotApproval.UseVisualStyleBackColor = false;
-            this.btnNotApproval.Click += new System.EventHandler(this.btnNotApproval_Click);
-            // 
-            // btnOnHold
-            // 
-            this.btnOnHold.BackColor = System.Drawing.Color.Yellow;
-            this.btnOnHold.ForeColor = System.Drawing.SystemColors.ControlText;
-            this.btnOnHold.Location = new System.Drawing.Point(88, 3);
-            this.btnOnHold.Name = "btnOnHold";
-            this.btnOnHold.Size = new System.Drawing.Size(83, 24);
-            this.btnOnHold.TabIndex = 36;
-            this.btnOnHold.TabStop = false;
-            this.btnOnHold.Text = "ä¿�ç•™";
-            this.btnOnHold.UseVisualStyleBackColor = false;
-            this.btnOnHold.Click += new System.EventHandler(this.btnOnHold_Click);
-            // 
-            // label11
-            // 
-            this.label11.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
-            this.label11.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label11.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.label11.ForeColor = System.Drawing.Color.Black;
-            this.label11.Location = new System.Drawing.Point(692, 6);
-            this.label11.Name = "label11";
-            this.label11.Size = new System.Drawing.Size(120, 25);
-            this.label11.TabIndex = 101;
-            this.label11.Text = "æ‹… å½“ è€…";
-            this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // cmbPerson
-            // 
-            this.cmbPerson.BackColor = System.Drawing.Color.White;
-            this.cmbPerson.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
-            this.cmbPerson.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
-            this.cmbPerson.FormattingEnabled = true;
-            this.cmbPerson.Location = new System.Drawing.Point(820, 7);
-            this.cmbPerson.Name = "cmbPerson";
-            this.cmbPerson.Size = new System.Drawing.Size(200, 23);
-            this.cmbPerson.TabIndex = 100;
-            this.cmbPerson.SelectedIndexChanged += new System.EventHandler(this.cmbPerson_SelectedIndexChanged);
-            // 
-            // cmbDepartment
-            // 
-            this.cmbDepartment.BackColor = System.Drawing.Color.White;
-            this.cmbDepartment.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
-            this.cmbDepartment.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
-            this.cmbDepartment.FormattingEnabled = true;
-            this.cmbDepartment.Location = new System.Drawing.Point(476, 7);
-            this.cmbDepartment.Name = "cmbDepartment";
-            this.cmbDepartment.Size = new System.Drawing.Size(200, 23);
-            this.cmbDepartment.TabIndex = 98;
-            this.cmbDepartment.SelectedIndexChanged += new System.EventHandler(this.cmbDepartment_SelectedIndexChanged);
-            // 
-            // label4
-            // 
-            this.label4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
-            this.label4.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label4.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.label4.ForeColor = System.Drawing.Color.Black;
-            this.label4.Location = new System.Drawing.Point(348, 6);
-            this.label4.Name = "label4";
-            this.label4.Size = new System.Drawing.Size(120, 25);
-            this.label4.TabIndex = 99;
-            this.label4.Text = "éƒ¨ã€€ã€€ç½²";
-            this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // panel2
-            // 
-            this.panel2.BackColor = System.Drawing.Color.White;
-            this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.panel2.Controls.Add(this.rdbProject);
-            this.panel2.Controls.Add(this.rdbCompany);
-            this.panel2.Location = new System.Drawing.Point(132, 38);
-            this.panel2.Name = "panel2";
-            this.panel2.Size = new System.Drawing.Size(200, 27);
-            this.panel2.TabIndex = 97;
-            // 
-            // rdbProject
-            // 
-            this.rdbProject.AutoSize = true;
-            this.rdbProject.BackColor = System.Drawing.Color.White;
-            this.rdbProject.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.rdbProject.ForeColor = System.Drawing.Color.Black;
-            this.rdbProject.Location = new System.Drawing.Point(103, 2);
-            this.rdbProject.Margin = new System.Windows.Forms.Padding(4);
-            this.rdbProject.Name = "rdbProject";
-            this.rdbProject.Size = new System.Drawing.Size(77, 20);
-            this.rdbProject.TabIndex = 9;
-            this.rdbProject.Text = "ç�¾ã€€å ´";
-            this.rdbProject.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
-            this.rdbProject.UseVisualStyleBackColor = false;
-            // 
-            // rdbCompany
-            // 
-            this.rdbCompany.AutoSize = true;
-            this.rdbCompany.BackColor = System.Drawing.Color.White;
-            this.rdbCompany.Checked = true;
-            this.rdbCompany.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.rdbCompany.ForeColor = System.Drawing.Color.Black;
-            this.rdbCompany.Location = new System.Drawing.Point(10, 2);
-            this.rdbCompany.Margin = new System.Windows.Forms.Padding(4);
-            this.rdbCompany.Name = "rdbCompany";
-            this.rdbCompany.Size = new System.Drawing.Size(77, 20);
-            this.rdbCompany.TabIndex = 8;
-            this.rdbCompany.TabStop = true;
-            this.rdbCompany.Text = "æ¥­ã€€è€…";
-            this.rdbCompany.TextAlign = System.Drawing.ContentAlignment.TopCenter;
-            this.rdbCompany.UseVisualStyleBackColor = false;
-            this.rdbCompany.CheckedChanged += new System.EventHandler(this.rdbCompany_CheckedChanged);
-            // 
-            // lblPaymentDate
-            // 
-            this.lblPaymentDate.BackColor = System.Drawing.Color.White;
-            this.lblPaymentDate.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.lblPaymentDate.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.lblPaymentDate.ForeColor = System.Drawing.Color.Black;
-            this.lblPaymentDate.Location = new System.Drawing.Point(476, 39);
-            this.lblPaymentDate.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
-            this.lblPaymentDate.Name = "lblPaymentDate";
-            this.lblPaymentDate.Size = new System.Drawing.Size(120, 25);
-            this.lblPaymentDate.TabIndex = 3;
-            this.lblPaymentDate.Text = "2016/12/09";
-            this.lblPaymentDate.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // label5
-            // 
-            this.label5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
-            this.label5.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label5.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            this.label5.ForeColor = System.Drawing.Color.Black;
-            this.label5.Location = new System.Drawing.Point(348, 39);
-            this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
-            this.label5.Name = "label5";
-            this.label5.Size = new System.Drawing.Size(120, 25);
-            this.label5.TabIndex = 2;
-            this.label5.Text = "æ”¯ æ‰• æ—¥";
-            this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // label2
-            // 
-            this.label2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
-            this.label2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label2.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.label2.ForeColor = System.Drawing.Color.Black;
-            this.label2.Location = new System.Drawing.Point(5, 39);
-            this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
-            this.label2.Name = "label2";
-            this.label2.Size = new System.Drawing.Size(120, 25);
-            this.label2.TabIndex = 4;
-            this.label2.Text = "è¡¨ç¤ºå½¢å¼�";
-            this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // cmbTargetMonth
-            // 
-            this.cmbTargetMonth.BackColor = System.Drawing.Color.White;
-            this.cmbTargetMonth.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
-            this.cmbTargetMonth.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
-            this.cmbTargetMonth.Font = new System.Drawing.Font("Century", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            this.cmbTargetMonth.FormattingEnabled = true;
-            this.cmbTargetMonth.Location = new System.Drawing.Point(133, 4);
-            this.cmbTargetMonth.Margin = new System.Windows.Forms.Padding(4);
-            this.cmbTargetMonth.Name = "cmbTargetMonth";
-            this.cmbTargetMonth.Size = new System.Drawing.Size(140, 28);
-            this.cmbTargetMonth.TabIndex = 1;
-            this.cmbTargetMonth.SelectedIndexChanged += new System.EventHandler(this.cmbTargetMonth_SelectedIndexChanged);
-            // 
-            // label3
-            // 
-            this.label3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
-            this.label3.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label3.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.label3.ForeColor = System.Drawing.Color.Black;
-            this.label3.Location = new System.Drawing.Point(6, 6);
-            this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
-            this.label3.Name = "label3";
-            this.label3.Size = new System.Drawing.Size(120, 25);
-            this.label3.TabIndex = 0;
-            this.label3.Text = "å¯¾ è±¡ æœˆ";
-            this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // dgvCompany
-            // 
-            this.dgvCompany.AllowUserToAddRows = false;
-            this.dgvCompany.AllowUserToDeleteRows = false;
-            this.dgvCompany.AllowUserToResizeRows = false;
-            this.dgvCompany.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
-            | System.Windows.Forms.AnchorStyles.Left) 
-            | System.Windows.Forms.AnchorStyles.Right)));
-            this.dgvCompany.BackgroundColor = System.Drawing.Color.White;
-            this.dgvCompany.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
-            dataGridViewCellStyle1.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
-            this.dgvCompany.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
-            this.dgvCompany.ColumnHeadersHeight = 45;
-            this.dgvCompany.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
-            this.dgvCompany.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
-            this.dgvCompany001,
-            this.dgvCompany002,
-            this.dgvCompany003,
-            this.dgvCompany004,
-            this.dgvCompany005,
-            this.dgvCompany006,
-            this.dgvCompany007,
-            this.dgvCompany008,
-            this.dgvCompany009,
-            this.dgvCompany010,
-            this.dgvCompany011,
-            this.dgvCompany012,
-            this.dgvCompany013,
-            this.dgvCompany014,
-            this.dgvCompany015,
-            this.dgvCompany016,
-            this.dgvCompany017,
-            this.dgvCompany018,
-            this.dgvCompany019,
-            this.dgvCompany020,
-            this.dgvCompany021,
-            this.dgvCompany022,
-            this.dgvCompany023,
-            this.dgvCompany024,
-            this.dgvCompany025,
-            this.dgvCompany026,
-            this.dgvCompany027,
-            this.dgvCompany028,
-            this.dgvCompany029,
-            this.dgvCompany030,
-            this.dgvCompany031,
-            this.dgvCompany032,
-            this.dgvCompany033,
-            this.dgvCompany034,
-            this.dgvCompany035,
-            this.dgvCompany036,
-            this.dgvCompany037,
-            this.dgvCompany038,
-            this.dgvCompany039,
-            this.dgvCompany040,
-            this.dgvCompany041,
-            this.dgvCompany042,
-            this.dgvCompany043,
-            this.dgvCompany044,
-            this.dgvCompany045,
-            this.dgvCompany046,
-            this.dgvCompany047,
-            this.dgvCompany048,
-            this.dgvCompany049,
-            this.dgvCompany050,
-            this.dgvCompany051,
-            this.dgvCompany052,
-            this.dgvCompany053,
-            this.dgvCompany054,
-            this.dgvCompany055,
-            this.dgvCompany056,
-            this.dgvCompany057,
-            this.dgvCompany058,
-            this.dgvCompany059,
-            this.dgvCompany060,
-            this.dgvCompany061,
-            this.dgvCompany062,
-            this.dgvCompany063,
-            this.dgvCompany064,
-            this.dgvCompany065,
-            this.dgvCompany066,
-            this.dgvCompany067,
-            this.dgvCompany068,
-            this.dgvCompany069,
-            this.dgvCompany070,
-            this.dgvCompany071,
-            this.dgvCompany072,
-            this.dgvCompany073,
-            this.dgvCompany074,
-            this.dgvCompany075,
-            this.dgvCompany076,
-            this.dgvCompany077,
-            this.dgvCompany078,
-            this.dgvCompany079,
-            this.dgvCompany080,
-            this.dgvCompany081,
-            this.dgvCompany082,
-            this.dgvCompany083,
-            this.dgvCompany084,
-            this.dgvCompany085,
-            this.dgvCompany086,
-            this.dgvCompany087,
-            this.dgvCompany088,
-            this.dgvCompany089,
-            this.dgvCompany090,
-            this.dgvCompany091,
-            this.dgvCompany092,
-            this.dgvCompany093,
-            this.dgvCompany094,
-            this.dgvCompany095,
-            this.dgvCompany096,
-            this.dgvCompany097,
-            this.dgvCompany098,
-            this.dgvCompany099,
-            this.dgvCompany100});
-            dataGridViewCellStyle27.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            dataGridViewCellStyle27.BackColor = System.Drawing.SystemColors.Window;
-            dataGridViewCellStyle27.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            dataGridViewCellStyle27.ForeColor = System.Drawing.SystemColors.ControlText;
-            dataGridViewCellStyle27.SelectionBackColor = System.Drawing.Color.LightSeaGreen;
-            dataGridViewCellStyle27.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
-            dataGridViewCellStyle27.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany.DefaultCellStyle = dataGridViewCellStyle27;
-            this.dgvCompany.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter;
-            this.dgvCompany.EnableHeadersVisualStyles = false;
-            this.dgvCompany.Location = new System.Drawing.Point(10, 114);
-            this.dgvCompany.Margin = new System.Windows.Forms.Padding(0);
-            this.dgvCompany.Name = "dgvCompany";
-            this.dgvCompany.RowHeadersVisible = false;
-            this.dgvCompany.RowHeadersWidth = 20;
-            this.dgvCompany.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
-            this.dgvCompany.RowTemplate.Height = 20;
-            this.dgvCompany.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
-            this.dgvCompany.Size = new System.Drawing.Size(1320, 520);
-            this.dgvCompany.TabIndex = 4;
-            this.dgvCompany.CellBeginEdit += new System.Windows.Forms.DataGridViewCellCancelEventHandler(this.DataGridView_CellBeginEdit);
-            this.dgvCompany.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.DataGridView_CellDoubleClick);
-            this.dgvCompany.CellEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.DataGridView_CellEnter);
-            this.dgvCompany.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.DataGridView_CellFormatting);
-            this.dgvCompany.CellValidated += new System.Windows.Forms.DataGridViewCellEventHandler(this.DataGridView_CellValidated);
-            this.dgvCompany.CellValueChanged += new System.Windows.Forms.DataGridViewCellEventHandler(this.DataGridView_CellValueChanged);
-            this.dgvCompany.CurrentCellDirtyStateChanged += new System.EventHandler(this.DataGridView_CurrentCellDirtyStateChanged);
-            this.dgvCompany.MouseUp += new System.Windows.Forms.MouseEventHandler(this.dgvCompany_MouseUp);
-            // 
-            // dgvCompany001
-            // 
-            this.dgvCompany001.HeaderText = "CompanyDispOrder";
-            this.dgvCompany001.Name = "dgvCompany001";
-            this.dgvCompany001.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany001.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany002
-            // 
-            this.dgvCompany002.HeaderText = "ApprovalEndFlg";
-            this.dgvCompany002.Name = "dgvCompany002";
-            this.dgvCompany002.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany002.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany003
-            // 
-            this.dgvCompany003.HeaderText = "æ¥­è€…è«‹æ±‚æ˜Žç´°æ›´æ–°æ—¥æ™‚";
-            this.dgvCompany003.Name = "dgvCompany003";
-            this.dgvCompany003.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany003.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany004
-            // 
-            this.dgvCompany004.HeaderText = "RowState";
-            this.dgvCompany004.Name = "dgvCompany004";
-            this.dgvCompany004.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany004.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany005
-            // 
-            this.dgvCompany005.HeaderText = "å�¯è¦–";
-            this.dgvCompany005.Name = "dgvCompany005";
-            this.dgvCompany005.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany005.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany006
-            // 
-            this.dgvCompany006.HeaderText = "è¡Œã‚¿ã‚¤ãƒ—";
-            this.dgvCompany006.Name = "dgvCompany006";
-            this.dgvCompany006.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany006.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany007
-            // 
-            this.dgvCompany007.HeaderText = "GoukeiSeqNo";
-            this.dgvCompany007.Name = "dgvCompany007";
-            this.dgvCompany007.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany007.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany008
-            // 
-            this.dgvCompany008.HeaderText = "SeqNo";
-            this.dgvCompany008.Name = "dgvCompany008";
-            this.dgvCompany008.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany008.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany009
-            // 
-            this.dgvCompany009.HeaderText = "LineCount";
-            this.dgvCompany009.Name = "dgvCompany009";
-            this.dgvCompany009.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany009.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany010
-            // 
-            dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dgvCompany010.DefaultCellStyle = dataGridViewCellStyle2;
-            this.dgvCompany010.FillWeight = 110F;
-            this.dgvCompany010.HeaderText = "â„–";
-            this.dgvCompany010.Name = "dgvCompany010";
-            this.dgvCompany010.ReadOnly = true;
-            this.dgvCompany010.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany010.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.dgvCompany010.Width = 35;
-            // 
-            // dgvCompany011
-            // 
-            this.dgvCompany011.HeaderText = "æ¥­è€…ã‚³ãƒ¼ãƒ‰";
-            this.dgvCompany011.Name = "dgvCompany011";
-            this.dgvCompany011.ReadOnly = true;
-            this.dgvCompany011.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany011.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany012
-            // 
-            this.dgvCompany012.HeaderText = "å�”åŠ›ä¼šç¤¾\r\nã‚³ãƒ¼ãƒ‰";
-            this.dgvCompany012.Name = "dgvCompany012";
-            this.dgvCompany012.ReadOnly = true;
-            this.dgvCompany012.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany012.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany013
-            // 
-            this.dgvCompany013.HeaderText = "æ¥­è€…å��";
-            this.dgvCompany013.Name = "dgvCompany013";
-            this.dgvCompany013.ReadOnly = true;
-            this.dgvCompany013.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.dgvCompany013.Width = 140;
-            // 
-            // dgvCompany014
-            // 
-            this.dgvCompany014.HeaderText = "ç�¾å ´ã‚³ãƒ¼ãƒ‰";
-            this.dgvCompany014.Name = "dgvCompany014";
-            this.dgvCompany014.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany014.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany015
-            // 
-            this.dgvCompany015.HeaderText = "ç�¾å ´å��";
-            this.dgvCompany015.Name = "dgvCompany015";
-            this.dgvCompany015.ReadOnly = true;
-            this.dgvCompany015.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.dgvCompany015.Width = 180;
-            // 
-            // dgvCompany016
-            // 
-            this.dgvCompany016.HeaderText = "è«‹æ±‚æ˜Žç´°";
-            this.dgvCompany016.Name = "dgvCompany016";
-            this.dgvCompany016.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.dgvCompany016.Width = 180;
-            // 
-            // dgvCompany017
-            // 
-            dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.dgvCompany017.DefaultCellStyle = dataGridViewCellStyle3;
-            this.dgvCompany017.HeaderText = "è«‹æ±‚æ›¸\r\né‡‘é¡�";
-            this.dgvCompany017.Name = "dgvCompany017";
-            this.dgvCompany017.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany017.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.dgvCompany017.Width = 125;
-            // 
-            // dgvCompany018
-            // 
-            dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.dgvCompany018.DefaultCellStyle = dataGridViewCellStyle4;
-            this.dgvCompany018.HeaderText = "é«˜é€Ÿä»£é§�è»Šä»£";
-            this.dgvCompany018.Name = "dgvCompany018";
-            this.dgvCompany018.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany018.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.dgvCompany018.Width = 80;
-            // 
-            // dgvCompany019
-            // 
-            dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.dgvCompany019.DefaultCellStyle = dataGridViewCellStyle5;
-            this.dgvCompany019.HeaderText = "é‡‘ç‰©ä»£";
-            this.dgvCompany019.Name = "dgvCompany019";
-            this.dgvCompany019.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany019.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.dgvCompany019.Width = 80;
-            // 
-            // dgvCompany020
-            // 
-            dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.dgvCompany020.DefaultCellStyle = dataGridViewCellStyle6;
-            this.dgvCompany020.HeaderText = "ç”£å»ƒç¨Ž";
-            this.dgvCompany020.Name = "dgvCompany020";
-            this.dgvCompany020.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany020.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.dgvCompany020.Width = 80;
-            // 
-            // dgvCompany021
-            // 
-            dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.dgvCompany021.DefaultCellStyle = dataGridViewCellStyle7;
-            this.dgvCompany021.HeaderText = "è«‹æ±‚\r\né‡‘é¡�";
-            this.dgvCompany021.Name = "dgvCompany021";
-            this.dgvCompany021.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany021.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.dgvCompany021.Width = 110;
-            // 
-            // dgvCompany022
-            // 
-            dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.dgvCompany022.DefaultCellStyle = dataGridViewCellStyle8;
-            this.dgvCompany022.HeaderText = "å€¤å¼•\r\né‡‘é¡�";
-            this.dgvCompany022.Name = "dgvCompany022";
-            this.dgvCompany022.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany022.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.dgvCompany022.Width = 110;
-            // 
-            // dgvCompany023
-            // 
-            dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.dgvCompany023.DefaultCellStyle = dataGridViewCellStyle9;
-            this.dgvCompany023.HeaderText = "ç›¸æ®º\r\né‡‘é¡�";
-            this.dgvCompany023.Name = "dgvCompany023";
-            this.dgvCompany023.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany023.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.dgvCompany023.Width = 110;
-            // 
-            // dgvCompany024
-            // 
-            dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.dgvCompany024.DefaultCellStyle = dataGridViewCellStyle10;
-            this.dgvCompany024.HeaderText = "æ¬¡å›ž\r\nç¹°è¶Š";
-            this.dgvCompany024.Name = "dgvCompany024";
-            this.dgvCompany024.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany024.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.dgvCompany024.Width = 110;
-            // 
-            // dgvCompany025
-            // 
-            dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.dgvCompany025.DefaultCellStyle = dataGridViewCellStyle11;
-            this.dgvCompany025.HeaderText = "é«˜é€Ÿä»£é§�è»Šä»£";
-            this.dgvCompany025.Name = "dgvCompany025";
-            this.dgvCompany025.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany025.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.dgvCompany025.Width = 80;
-            // 
-            // dgvCompany026
-            // 
-            dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.dgvCompany026.DefaultCellStyle = dataGridViewCellStyle12;
-            this.dgvCompany026.HeaderText = "é‡‘ç‰©ä»£";
-            this.dgvCompany026.Name = "dgvCompany026";
-            this.dgvCompany026.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany026.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.dgvCompany026.Width = 80;
-            // 
-            // dgvCompany027
-            // 
-            dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.dgvCompany027.DefaultCellStyle = dataGridViewCellStyle13;
-            this.dgvCompany027.HeaderText = "ç”£å»ƒç¨Ž";
-            this.dgvCompany027.Name = "dgvCompany027";
-            this.dgvCompany027.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany027.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.dgvCompany027.Width = 80;
-            // 
-            // dgvCompany028
-            // 
-            dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.dgvCompany028.DefaultCellStyle = dataGridViewCellStyle14;
-            this.dgvCompany028.HeaderText = "å�”åŠ›é‡‘";
-            this.dgvCompany028.Name = "dgvCompany028";
-            this.dgvCompany028.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany028.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.dgvCompany028.Width = 80;
-            // 
-            // dgvCompany029
-            // 
-            this.dgvCompany029.HeaderText = "å�”åŠ›é‡‘çŽ‡";
-            this.dgvCompany029.Name = "dgvCompany029";
-            this.dgvCompany029.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany029.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany030
-            // 
-            dataGridViewCellStyle15.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle15.BackColor = System.Drawing.Color.White;
-            dataGridViewCellStyle15.ForeColor = System.Drawing.Color.Black;
-            this.dgvCompany030.DefaultCellStyle = dataGridViewCellStyle15;
-            this.dgvCompany030.HeaderText = "å�”åŠ›é‡‘\r\næœ‰ç„¡";
-            this.dgvCompany030.MaxDropDownItems = 3;
-            this.dgvCompany030.Name = "dgvCompany030";
-            this.dgvCompany030.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            // 
-            // dgvCompany031
-            // 
-            dataGridViewCellStyle16.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dgvCompany031.DefaultCellStyle = dataGridViewCellStyle16;
-            this.dgvCompany031.HeaderText = "æ³¨æ–‡æ›¸\r\né€�ä»˜";
-            this.dgvCompany031.Name = "dgvCompany031";
-            this.dgvCompany031.ReadOnly = true;
-            this.dgvCompany031.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany031.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany032
-            // 
-            dataGridViewCellStyle17.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dgvCompany032.DefaultCellStyle = dataGridViewCellStyle17;
-            this.dgvCompany032.HeaderText = "æ³¨æ–‡æ›¸\r\nåˆ°ç�€";
-            this.dgvCompany032.Name = "dgvCompany032";
-            this.dgvCompany032.ReadOnly = true;
-            this.dgvCompany032.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany032.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany033
-            // 
-            dataGridViewCellStyle18.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dgvCompany033.DefaultCellStyle = dataGridViewCellStyle18;
-            this.dgvCompany033.HeaderText = "äºˆç®—æ›¸";
-            this.dgvCompany033.Name = "dgvCompany033";
-            this.dgvCompany033.ReadOnly = true;
-            this.dgvCompany033.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany033.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany034
-            // 
-            this.dgvCompany034.HeaderText = "æ‹…å½“è€…ã‚³ãƒ¼ãƒ‰";
-            this.dgvCompany034.Name = "dgvCompany034";
-            this.dgvCompany034.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany034.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany035
-            // 
-            dataGridViewCellStyle19.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dgvCompany035.DefaultCellStyle = dataGridViewCellStyle19;
-            this.dgvCompany035.HeaderText = "ç”³è«‹\r\næ‹…å½“è€…";
-            this.dgvCompany035.Name = "dgvCompany035";
-            this.dgvCompany035.ReadOnly = true;
-            this.dgvCompany035.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany035.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany036
-            // 
-            this.dgvCompany036.HeaderText = "æ‹…å½“æ—¥ä»˜";
-            this.dgvCompany036.Name = "dgvCompany036";
-            this.dgvCompany036.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany036.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany037
-            // 
-            this.dgvCompany037.HeaderText = "æ‹…å½“è€…éƒ¨ç½²ã‚³ãƒ¼ãƒ‰";
-            this.dgvCompany037.Name = "dgvCompany037";
-            // 
-            // dgvCompany038
-            // 
-            this.dgvCompany038.HeaderText = "æ‰¿èª�è€…ï¼‘ã‚³ãƒ¼ãƒ‰";
-            this.dgvCompany038.Name = "dgvCompany038";
-            this.dgvCompany038.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany038.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany039
-            // 
-            dataGridViewCellStyle20.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dgvCompany039.DefaultCellStyle = dataGridViewCellStyle20;
-            this.dgvCompany039.HeaderText = "æ‰¿èª�è€…ï¼‘\r\næ‰¿èª�";
-            this.dgvCompany039.Name = "dgvCompany039";
-            this.dgvCompany039.ReadOnly = true;
-            this.dgvCompany039.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany039.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany040
-            // 
-            this.dgvCompany040.HeaderText = "æ‰¿èª�è€…ï¼‘ã€€æ—¥ä»˜";
-            this.dgvCompany040.Name = "dgvCompany040";
-            this.dgvCompany040.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany040.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany041
-            // 
-            this.dgvCompany041.HeaderText = "æ‰¿èª�è€…ï¼‘ã€€æ‰¿èª�æ¨©é™�";
-            this.dgvCompany041.Name = "dgvCompany041";
-            this.dgvCompany041.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany041.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany042
-            // 
-            this.dgvCompany042.HeaderText = "æ‰¿èª�è€…ï¼‘ã€€æ‰¿èª�é †ç•ª";
-            this.dgvCompany042.Name = "dgvCompany042";
-            this.dgvCompany042.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany042.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany043
-            // 
-            this.dgvCompany043.HeaderText = "æ‰¿èª�è€…ï¼’ã‚³ãƒ¼ãƒ‰";
-            this.dgvCompany043.Name = "dgvCompany043";
-            this.dgvCompany043.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany043.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany044
-            // 
-            dataGridViewCellStyle21.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dgvCompany044.DefaultCellStyle = dataGridViewCellStyle21;
-            this.dgvCompany044.HeaderText = "æ‰¿èª�è€…ï¼’\r\næ‰¿èª�";
-            this.dgvCompany044.Name = "dgvCompany044";
-            this.dgvCompany044.ReadOnly = true;
-            this.dgvCompany044.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany044.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany045
-            // 
-            this.dgvCompany045.HeaderText = "æ‰¿èª�è€…ï¼’ã€€æ—¥ä»˜";
-            this.dgvCompany045.Name = "dgvCompany045";
-            this.dgvCompany045.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany045.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany046
-            // 
-            this.dgvCompany046.HeaderText = "æ‰¿èª�è€…ï¼’ã€€æ‰¿èª�æ¨©é™�";
-            this.dgvCompany046.Name = "dgvCompany046";
-            this.dgvCompany046.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany046.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany047
-            // 
-            this.dgvCompany047.HeaderText = "æ‰¿èª�è€…ï¼’ã€€æ‰¿èª�é †ç•ª";
-            this.dgvCompany047.Name = "dgvCompany047";
-            this.dgvCompany047.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany047.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany048
-            // 
-            this.dgvCompany048.HeaderText = "æ‰¿èª�è€…ï¼“ã‚³ãƒ¼ãƒ‰";
-            this.dgvCompany048.Name = "dgvCompany048";
-            this.dgvCompany048.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany048.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany049
-            // 
-            dataGridViewCellStyle22.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dgvCompany049.DefaultCellStyle = dataGridViewCellStyle22;
-            this.dgvCompany049.HeaderText = "æ‰¿èª�è€…ï¼“\r\næ‰¿èª�";
-            this.dgvCompany049.Name = "dgvCompany049";
-            this.dgvCompany049.ReadOnly = true;
-            this.dgvCompany049.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany049.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany050
-            // 
-            this.dgvCompany050.HeaderText = "æ‰¿èª�è€…ï¼“ã€€æ—¥ä»˜";
-            this.dgvCompany050.Name = "dgvCompany050";
-            this.dgvCompany050.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany050.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany051
-            // 
-            this.dgvCompany051.HeaderText = "æ‰¿èª�è€…ï¼“ã€€æ‰¿èª�æ¨©é™�";
-            this.dgvCompany051.Name = "dgvCompany051";
-            this.dgvCompany051.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany051.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany052
-            // 
-            this.dgvCompany052.HeaderText = "æ‰¿èª�è€…ï¼“ã€€æ‰¿èª�é †ç•ª";
-            this.dgvCompany052.Name = "dgvCompany052";
-            this.dgvCompany052.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany052.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany053
-            // 
-            this.dgvCompany053.HeaderText = "æ‰¿èª�è€…ï¼”ã‚³ãƒ¼ãƒ‰";
-            this.dgvCompany053.Name = "dgvCompany053";
-            this.dgvCompany053.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany053.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany054
-            // 
-            dataGridViewCellStyle23.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dgvCompany054.DefaultCellStyle = dataGridViewCellStyle23;
-            this.dgvCompany054.HeaderText = "æ‰¿èª�è€…ï¼”\r\næ‰¿èª�";
-            this.dgvCompany054.Name = "dgvCompany054";
-            this.dgvCompany054.ReadOnly = true;
-            this.dgvCompany054.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany054.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany055
-            // 
-            this.dgvCompany055.HeaderText = "æ‰¿èª�è€…ï¼”ã€€æ—¥ä»˜";
-            this.dgvCompany055.Name = "dgvCompany055";
-            this.dgvCompany055.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany055.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany056
-            // 
-            this.dgvCompany056.HeaderText = "æ‰¿èª�è€…ï¼”ã€€æ‰¿èª�æ¨©é™�";
-            this.dgvCompany056.Name = "dgvCompany056";
-            this.dgvCompany056.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany056.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany057
-            // 
-            this.dgvCompany057.HeaderText = "æ‰¿èª�è€…ï¼”ã€€æ‰¿èª�é †ç•ª";
-            this.dgvCompany057.Name = "dgvCompany057";
-            this.dgvCompany057.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany057.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany058
-            // 
-            this.dgvCompany058.HeaderText = "æ‰¿èª�è€…ï¼•ã‚³ãƒ¼ãƒ‰";
-            this.dgvCompany058.Name = "dgvCompany058";
-            this.dgvCompany058.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany058.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic;
-            // 
-            // dgvCompany059
-            // 
-            dataGridViewCellStyle24.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dgvCompany059.DefaultCellStyle = dataGridViewCellStyle24;
-            this.dgvCompany059.HeaderText = "æ‰¿èª�è€…ï¼•\r\næ‰¿èª�";
-            this.dgvCompany059.Name = "dgvCompany059";
-            this.dgvCompany059.ReadOnly = true;
-            this.dgvCompany059.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany059.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany060
-            // 
-            this.dgvCompany060.HeaderText = "æ‰¿èª�è€…ï¼•ã€€æ—¥ä»˜";
-            this.dgvCompany060.Name = "dgvCompany060";
-            this.dgvCompany060.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany060.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany061
-            // 
-            this.dgvCompany061.HeaderText = "æ‰¿èª�è€…ï¼•ã€€æ‰¿èª�æ¨©é™�";
-            this.dgvCompany061.Name = "dgvCompany061";
-            this.dgvCompany061.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany061.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany062
-            // 
-            this.dgvCompany062.HeaderText = "æ‰¿èª�è€…ï¼•ã€€æ‰¿èª�é †ç•ª";
-            this.dgvCompany062.Name = "dgvCompany062";
-            this.dgvCompany062.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany062.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany063
-            // 
-            this.dgvCompany063.HeaderText = "æ‰¿èª�è€…ï¼–ã‚³ãƒ¼ãƒ‰";
-            this.dgvCompany063.Name = "dgvCompany063";
-            this.dgvCompany063.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany063.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany064
-            // 
-            dataGridViewCellStyle25.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dgvCompany064.DefaultCellStyle = dataGridViewCellStyle25;
-            this.dgvCompany064.HeaderText = "æ‰¿èª�è€…ï¼–\r\næ‰¿èª�";
-            this.dgvCompany064.Name = "dgvCompany064";
-            this.dgvCompany064.ReadOnly = true;
-            this.dgvCompany064.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany064.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany065
-            // 
-            this.dgvCompany065.HeaderText = "æ‰¿èª�è€…ï¼–ã€€æ—¥ä»˜";
-            this.dgvCompany065.Name = "dgvCompany065";
-            this.dgvCompany065.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany065.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany066
-            // 
-            this.dgvCompany066.HeaderText = "æ‰¿èª�è€…ï¼–ã€€æ‰¿èª�æ¨©é™�";
-            this.dgvCompany066.Name = "dgvCompany066";
-            this.dgvCompany066.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany066.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany067
-            // 
-            this.dgvCompany067.HeaderText = "æ‰¿èª�è€…ï¼–ã€€æ‰¿èª�é †ç•ª";
-            this.dgvCompany067.Name = "dgvCompany067";
-            this.dgvCompany067.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany067.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany068
-            // 
-            this.dgvCompany068.HeaderText = "æ‰¿èª�è€…ï¼—ã‚³ãƒ¼ãƒ‰";
-            this.dgvCompany068.Name = "dgvCompany068";
-            this.dgvCompany068.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany068.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany069
-            // 
-            this.dgvCompany069.HeaderText = "æ‰¿èª�è€…ï¼—\r\næ‰¿èª�";
-            this.dgvCompany069.Name = "dgvCompany069";
-            this.dgvCompany069.ReadOnly = true;
-            this.dgvCompany069.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany069.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany070
-            // 
-            this.dgvCompany070.HeaderText = "æ‰¿èª�è€…ï¼—ã€€æ—¥ä»˜";
-            this.dgvCompany070.Name = "dgvCompany070";
-            this.dgvCompany070.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany070.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany071
-            // 
-            this.dgvCompany071.HeaderText = "æ‰¿èª�è€…ï¼—ã€€æ‰¿èª�æ¨©é™�";
-            this.dgvCompany071.Name = "dgvCompany071";
-            this.dgvCompany071.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany071.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany072
-            // 
-            this.dgvCompany072.HeaderText = "æ‰¿èª�è€…ï¼—ã€€æ‰¿èª�é †ç•ª";
-            this.dgvCompany072.Name = "dgvCompany072";
-            this.dgvCompany072.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany072.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany073
-            // 
-            this.dgvCompany073.HeaderText = "æ‰¿èª�è€…ï¼˜ã‚³ãƒ¼ãƒ‰";
-            this.dgvCompany073.Name = "dgvCompany073";
-            this.dgvCompany073.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany073.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany074
-            // 
-            this.dgvCompany074.HeaderText = "æ‰¿èª�è€…ï¼˜\r\næ‰¿èª�";
-            this.dgvCompany074.Name = "dgvCompany074";
-            this.dgvCompany074.ReadOnly = true;
-            this.dgvCompany074.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany074.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany075
-            // 
-            this.dgvCompany075.HeaderText = "æ‰¿èª�è€…ï¼˜ã€€æ—¥ä»˜";
-            this.dgvCompany075.Name = "dgvCompany075";
-            this.dgvCompany075.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            // 
-            // dgvCompany076
-            // 
-            this.dgvCompany076.HeaderText = "æ‰¿èª�è€…ï¼˜ã€€æ‰¿èª�æ¨©é™�";
-            this.dgvCompany076.Name = "dgvCompany076";
-            this.dgvCompany076.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany076.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany077
-            // 
-            this.dgvCompany077.HeaderText = "æ‰¿èª�è€…ï¼˜ã€€æ‰¿èª�é †ç•ª";
-            this.dgvCompany077.Name = "dgvCompany077";
-            this.dgvCompany077.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany077.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany078
-            // 
-            this.dgvCompany078.HeaderText = "æ‰¿èª�è€…ï¼™ã‚³ãƒ¼ãƒ‰";
-            this.dgvCompany078.Name = "dgvCompany078";
-            this.dgvCompany078.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany078.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany079
-            // 
-            this.dgvCompany079.HeaderText = "æ‰¿èª�è€…ï¼™\r\næ‰¿èª�";
-            this.dgvCompany079.Name = "dgvCompany079";
-            this.dgvCompany079.ReadOnly = true;
-            this.dgvCompany079.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany079.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany080
-            // 
-            this.dgvCompany080.HeaderText = "æ‰¿èª�è€…ï¼™ã€€æ—¥ä»˜";
-            this.dgvCompany080.Name = "dgvCompany080";
-            this.dgvCompany080.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany080.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany081
-            // 
-            this.dgvCompany081.HeaderText = "æ‰¿èª�è€…ï¼™ã€€æ‰¿èª�æ¨©é™�";
-            this.dgvCompany081.Name = "dgvCompany081";
-            this.dgvCompany081.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany081.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany082
-            // 
-            this.dgvCompany082.HeaderText = "æ‰¿èª�è€…ï¼™ã€€æ‰¿èª�é †ç•ª";
-            this.dgvCompany082.Name = "dgvCompany082";
-            this.dgvCompany082.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany082.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany083
-            // 
-            this.dgvCompany083.HeaderText = "æ‰¿èª�è€…10ã‚³ãƒ¼ãƒ‰";
-            this.dgvCompany083.Name = "dgvCompany083";
-            this.dgvCompany083.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany083.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany084
-            // 
-            this.dgvCompany084.HeaderText = "æ‰¿èª�è€…10\r\næ‰¿èª�";
-            this.dgvCompany084.Name = "dgvCompany084";
-            this.dgvCompany084.ReadOnly = true;
-            this.dgvCompany084.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany084.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany085
-            // 
-            this.dgvCompany085.HeaderText = "æ‰¿èª�è€…10ã€€æ—¥ä»˜";
-            this.dgvCompany085.Name = "dgvCompany085";
-            this.dgvCompany085.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany085.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany086
-            // 
-            this.dgvCompany086.HeaderText = "æ‰¿èª�è€…10ã€€æ‰¿èª�æ¨©é™�";
-            this.dgvCompany086.Name = "dgvCompany086";
-            this.dgvCompany086.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany086.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany087
-            // 
-            this.dgvCompany087.HeaderText = "æ‰¿èª�è€…10ã€€æ‰¿èª�é †ç•ª";
-            this.dgvCompany087.Name = "dgvCompany087";
-            this.dgvCompany087.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany087.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany088
-            // 
-            dataGridViewCellStyle26.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            this.dgvCompany088.DefaultCellStyle = dataGridViewCellStyle26;
-            this.dgvCompany088.HeaderText = "å‚™è€ƒ";
-            this.dgvCompany088.Name = "dgvCompany088";
-            this.dgvCompany088.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany088.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.dgvCompany088.Width = 140;
-            // 
-            // dgvCompany089
-            // 
-            this.dgvCompany089.HeaderText = "æ¶ˆè²»ç¨ŽçŽ‡";
-            this.dgvCompany089.Name = "dgvCompany089";
-            this.dgvCompany089.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany089.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany090
-            // 
-            this.dgvCompany090.HeaderText = "å�°å¸³è¡Œç•ªå�·";
-            this.dgvCompany090.Name = "dgvCompany090";
-            this.dgvCompany090.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany090.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany091
-            // 
-            this.dgvCompany091.HeaderText = "å�°å¸³æ˜Žç´°ç•ªå�·";
-            this.dgvCompany091.Name = "dgvCompany091";
-            this.dgvCompany091.ReadOnly = true;
-            this.dgvCompany091.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany091.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.dgvCompany091.Visible = false;
-            // 
-            // dgvCompany092
-            // 
-            this.dgvCompany092.HeaderText = "å�°å¸³åˆ—ç•ªå�·";
-            this.dgvCompany092.Name = "dgvCompany092";
-            this.dgvCompany092.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvCompany092.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvCompany093
-            // 
-            this.dgvCompany093.HeaderText = "å·¥äº‹æ‹…å½“è€…éƒ¨ç½²ã‚³ãƒ¼ãƒ‰";
-            this.dgvCompany093.Name = "dgvCompany093";
-            this.dgvCompany093.ReadOnly = true;
-            // 
-            // dgvCompany094
-            // 
-            this.dgvCompany094.HeaderText = "å·¥äº‹æ‹…å½“è€…";
-            this.dgvCompany094.Name = "dgvCompany094";
-            // 
-            // dgvCompany095
-            // 
-            this.dgvCompany095.HeaderText = "å–¶æ¥­æ‹…å½“è€…";
-            this.dgvCompany095.Name = "dgvCompany095";
-            // 
-            // dgvCompany096
-            // 
-            this.dgvCompany096.HeaderText = "å‰¯æ‹…å½“è€…";
-            this.dgvCompany096.Name = "dgvCompany096";
-            // 
-            // dgvCompany097
-            // 
-            this.dgvCompany097.HeaderText = "æŒ‡å°Žå“¡";
-            this.dgvCompany097.Name = "dgvCompany097";
-            // 
-            // dgvCompany098
-            // 
-            this.dgvCompany098.HeaderText = "å–¶æ¥­éƒ¨ç½²ã‚³ãƒ¼ãƒ‰";
-            this.dgvCompany098.Name = "dgvCompany098";
-            // 
-            // dgvCompany099
-            // 
-            this.dgvCompany099.HeaderText = "å‰¯æ‹…å½“éƒ¨ç½²ã‚³ãƒ¼ãƒ‰";
-            this.dgvCompany099.Name = "dgvCompany099";
-            // 
-            // dgvCompany100
-            // 
-            this.dgvCompany100.HeaderText = "æŒ‡å°Žå“¡éƒ¨ç½²ã‚³ãƒ¼ãƒ‰";
-            this.dgvCompany100.Name = "dgvCompany100";
-            // 
-            // dgvProject
-            // 
-            this.dgvProject.AllowUserToAddRows = false;
-            this.dgvProject.AllowUserToDeleteRows = false;
-            this.dgvProject.AllowUserToResizeRows = false;
-            this.dgvProject.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
-            | System.Windows.Forms.AnchorStyles.Left) 
-            | System.Windows.Forms.AnchorStyles.Right)));
-            this.dgvProject.BackgroundColor = System.Drawing.Color.White;
-            this.dgvProject.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            dataGridViewCellStyle28.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle28.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
-            dataGridViewCellStyle28.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            dataGridViewCellStyle28.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
-            this.dgvProject.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle28;
-            this.dgvProject.ColumnHeadersHeight = 45;
-            this.dgvProject.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
-            this.dgvProject.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
-            this.dgvProject001,
-            this.dgvProject002,
-            this.dgvProject003,
-            this.dgvProject004,
-            this.dgvProject005,
-            this.dgvProject006,
-            this.dgvProject007,
-            this.dgvProject008,
-            this.dgvProject009,
-            this.dgvProject010,
-            this.dgvProject011,
-            this.dgvProject012,
-            this.dgvProject013,
-            this.dgvProject014,
-            this.dgvProject015,
-            this.dgvProject016,
-            this.dgvProject017,
-            this.dgvProject018,
-            this.dgvProject019,
-            this.dgvProject020,
-            this.dgvProject021,
-            this.dgvProject022,
-            this.dgvProject023,
-            this.dgvProject024,
-            this.dgvProject025,
-            this.dgvProject026,
-            this.dgvProject027,
-            this.dgvProject028,
-            this.dgvProject029,
-            this.dgvProject030,
-            this.dgvProject031,
-            this.dgvProject032,
-            this.dgvProject033,
-            this.dgvProject034,
-            this.dgvProject035,
-            this.dgvProject036,
-            this.dgvProject037,
-            this.dgvProject038,
-            this.dgvProject039,
-            this.dgvProject040,
-            this.dgvProject041,
-            this.dgvProject042,
-            this.dgvProject043,
-            this.dgvProject044,
-            this.dgvProject045,
-            this.dgvProject046,
-            this.dgvProject047,
-            this.dgvProject048,
-            this.dgvProject049,
-            this.dgvProject050,
-            this.dgvProject051,
-            this.dgvProject052,
-            this.dgvProject053,
-            this.dgvProject054,
-            this.dgvProject055,
-            this.dgvProject056,
-            this.dgvProject057,
-            this.dgvProject058,
-            this.dgvProject059,
-            this.dgvProject060,
-            this.dgvProject061,
-            this.dgvProject062,
-            this.dgvProject063,
-            this.dgvProject064,
-            this.dgvProject065,
-            this.dgvProject066,
-            this.dgvProject067,
-            this.dgvProject068,
-            this.dgvProject069,
-            this.dgvProject070,
-            this.dgvProject071,
-            this.dgvProject072,
-            this.dgvProject073,
-            this.dgvProject074,
-            this.dgvProject075,
-            this.dgvProject076,
-            this.dgvProject077,
-            this.dgvProject078,
-            this.dgvProject079,
-            this.dgvProject080,
-            this.dgvProject081,
-            this.dgvProject082,
-            this.dgvProject083,
-            this.dgvProject084,
-            this.dgvProject085,
-            this.dgvProject086,
-            this.dgvProject087,
-            this.dgvProject088,
-            this.dgvProject089,
-            this.dgvProject090,
-            this.dgvProject091,
-            this.dgvProject092,
-            this.dgvProject093,
-            this.dgvProject094,
-            this.dgvProject095,
-            this.dgvProject096,
-            this.dgvProject097,
-            this.dgvProject098,
-            this.dgvProject099,
-            this.dgvProject100});
-            dataGridViewCellStyle58.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            dataGridViewCellStyle58.BackColor = System.Drawing.SystemColors.Window;
-            dataGridViewCellStyle58.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            dataGridViewCellStyle58.ForeColor = System.Drawing.SystemColors.ControlText;
-            dataGridViewCellStyle58.SelectionBackColor = System.Drawing.Color.LightSeaGreen;
-            dataGridViewCellStyle58.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
-            dataGridViewCellStyle58.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject.DefaultCellStyle = dataGridViewCellStyle58;
-            this.dgvProject.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter;
-            this.dgvProject.EnableHeadersVisualStyles = false;
-            this.dgvProject.Location = new System.Drawing.Point(10, 114);
-            this.dgvProject.Margin = new System.Windows.Forms.Padding(4);
-            this.dgvProject.Name = "dgvProject";
-            this.dgvProject.RowHeadersVisible = false;
-            this.dgvProject.RowHeadersWidth = 20;
-            this.dgvProject.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
-            this.dgvProject.RowTemplate.Height = 21;
-            this.dgvProject.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
-            this.dgvProject.Size = new System.Drawing.Size(1320, 520);
-            this.dgvProject.TabIndex = 3;
-            this.dgvProject.Visible = false;
-            this.dgvProject.CellBeginEdit += new System.Windows.Forms.DataGridViewCellCancelEventHandler(this.DataGridView_CellBeginEdit);
-            this.dgvProject.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.DataGridView_CellDoubleClick);
-            this.dgvProject.CellEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.DataGridView_CellEnter);
-            this.dgvProject.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.DataGridView_CellFormatting);
-            this.dgvProject.CellValidated += new System.Windows.Forms.DataGridViewCellEventHandler(this.DataGridView_CellValidated);
-            this.dgvProject.CellValueChanged += new System.Windows.Forms.DataGridViewCellEventHandler(this.DataGridView_CellValueChanged);
-            this.dgvProject.CurrentCellDirtyStateChanged += new System.EventHandler(this.DataGridView_CurrentCellDirtyStateChanged);
-            this.dgvProject.MouseUp += new System.Windows.Forms.MouseEventHandler(this.dgvProject_MouseUp);
-            // 
-            // dgvProject001
-            // 
-            this.dgvProject001.HeaderText = "CompanyDispOrder";
-            this.dgvProject001.Name = "dgvProject001";
-            this.dgvProject001.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject001.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject002
-            // 
-            this.dgvProject002.HeaderText = "ApprovalEndFlg";
-            this.dgvProject002.Name = "dgvProject002";
-            this.dgvProject002.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject002.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject003
-            // 
-            this.dgvProject003.HeaderText = "æ¥­è€…è«‹æ±‚æ˜Žç´°æ›´æ–°æ—¥æ™‚";
-            this.dgvProject003.Name = "dgvProject003";
-            this.dgvProject003.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject003.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject004
-            // 
-            this.dgvProject004.HeaderText = "RowState";
-            this.dgvProject004.Name = "dgvProject004";
-            this.dgvProject004.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject004.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject005
-            // 
-            this.dgvProject005.HeaderText = "å�¯è¦–";
-            this.dgvProject005.Name = "dgvProject005";
-            this.dgvProject005.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject005.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject006
-            // 
-            this.dgvProject006.HeaderText = "è¡Œã‚¿ã‚¤ãƒ—";
-            this.dgvProject006.Name = "dgvProject006";
-            this.dgvProject006.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject006.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject007
-            // 
-            this.dgvProject007.HeaderText = "GoukeiSeqNo";
-            this.dgvProject007.Name = "dgvProject007";
-            this.dgvProject007.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject007.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject008
-            // 
-            this.dgvProject008.HeaderText = "SeqNo";
-            this.dgvProject008.Name = "dgvProject008";
-            this.dgvProject008.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject008.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject009
-            // 
-            this.dgvProject009.HeaderText = "LineCount";
-            this.dgvProject009.Name = "dgvProject009";
-            this.dgvProject009.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject009.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject010
-            // 
-            dataGridViewCellStyle29.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dgvProject010.DefaultCellStyle = dataGridViewCellStyle29;
-            this.dgvProject010.HeaderText = "â„–";
-            this.dgvProject010.Name = "dgvProject010";
-            this.dgvProject010.ReadOnly = true;
-            this.dgvProject010.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject010.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.dgvProject010.Width = 35;
-            // 
-            // dgvProject011
-            // 
-            this.dgvProject011.HeaderText = "ç�¾å ´ã‚³ãƒ¼ãƒ‰";
-            this.dgvProject011.Name = "dgvProject011";
-            this.dgvProject011.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject011.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject012
-            // 
-            dataGridViewCellStyle30.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            this.dgvProject012.DefaultCellStyle = dataGridViewCellStyle30;
-            this.dgvProject012.HeaderText = "ç�¾å ´å��";
-            this.dgvProject012.Name = "dgvProject012";
-            this.dgvProject012.ReadOnly = true;
-            this.dgvProject012.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.dgvProject012.Width = 180;
-            // 
-            // dgvProject013
-            // 
-            this.dgvProject013.HeaderText = "æ¥­è€…ã‚³ãƒ¼ãƒ‰";
-            this.dgvProject013.Name = "dgvProject013";
-            this.dgvProject013.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject013.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject014
-            // 
-            this.dgvProject014.HeaderText = "å�”åŠ›ä¼šç¤¾\r\nã‚³ãƒ¼ãƒ‰";
-            this.dgvProject014.Name = "dgvProject014";
-            this.dgvProject014.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            // 
-            // dgvProject015
-            // 
-            this.dgvProject015.HeaderText = "æ¥­è€…å��";
-            this.dgvProject015.Name = "dgvProject015";
-            this.dgvProject015.ReadOnly = true;
-            this.dgvProject015.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.dgvProject015.Width = 140;
-            // 
-            // dgvProject016
-            // 
-            this.dgvProject016.HeaderText = "è«‹æ±‚æ˜Žç´°";
-            this.dgvProject016.Name = "dgvProject016";
-            this.dgvProject016.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.dgvProject016.Width = 180;
-            // 
-            // dgvProject017
-            // 
-            dataGridViewCellStyle31.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.dgvProject017.DefaultCellStyle = dataGridViewCellStyle31;
-            this.dgvProject017.HeaderText = "è«‹æ±‚æ›¸\r\n é‡‘é¡�";
-            this.dgvProject017.Name = "dgvProject017";
-            this.dgvProject017.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject017.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.dgvProject017.Width = 125;
-            // 
-            // dgvProject018
-            // 
-            dataGridViewCellStyle32.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.dgvProject018.DefaultCellStyle = dataGridViewCellStyle32;
-            this.dgvProject018.HeaderText = "é«˜é€Ÿä»£\r\né§�è»Šä»£";
-            this.dgvProject018.Name = "dgvProject018";
-            this.dgvProject018.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject018.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.dgvProject018.Width = 80;
-            // 
-            // dgvProject019
-            // 
-            dataGridViewCellStyle33.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.dgvProject019.DefaultCellStyle = dataGridViewCellStyle33;
-            this.dgvProject019.HeaderText = "é‡‘ç‰©ä»£";
-            this.dgvProject019.Name = "dgvProject019";
-            this.dgvProject019.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject019.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.dgvProject019.Width = 80;
-            // 
-            // dgvProject020
-            // 
-            dataGridViewCellStyle34.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.dgvProject020.DefaultCellStyle = dataGridViewCellStyle34;
-            this.dgvProject020.HeaderText = "ç”£å»ƒç¨Ž";
-            this.dgvProject020.Name = "dgvProject020";
-            this.dgvProject020.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject020.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.dgvProject020.Width = 80;
-            // 
-            // dgvProject021
-            // 
-            dataGridViewCellStyle35.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.dgvProject021.DefaultCellStyle = dataGridViewCellStyle35;
-            this.dgvProject021.HeaderText = "è«‹æ±‚\r\né‡‘é¡�";
-            this.dgvProject021.Name = "dgvProject021";
-            this.dgvProject021.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject021.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.dgvProject021.Width = 110;
-            // 
-            // dgvProject022
-            // 
-            dataGridViewCellStyle36.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.dgvProject022.DefaultCellStyle = dataGridViewCellStyle36;
-            this.dgvProject022.HeaderText = "å€¤å¼•\r\né‡‘é¡�";
-            this.dgvProject022.Name = "dgvProject022";
-            this.dgvProject022.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject022.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.dgvProject022.Width = 110;
-            // 
-            // dgvProject023
-            // 
-            dataGridViewCellStyle37.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.dgvProject023.DefaultCellStyle = dataGridViewCellStyle37;
-            this.dgvProject023.HeaderText = "ç›¸æ®º\r\né‡‘é¡�";
-            this.dgvProject023.Name = "dgvProject023";
-            this.dgvProject023.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject023.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.dgvProject023.Width = 110;
-            // 
-            // dgvProject024
-            // 
-            dataGridViewCellStyle38.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle38.Format = "#,##0";
-            this.dgvProject024.DefaultCellStyle = dataGridViewCellStyle38;
-            this.dgvProject024.HeaderText = "æ¬¡å›ž\r\nç¹°è¶Š";
-            this.dgvProject024.Name = "dgvProject024";
-            this.dgvProject024.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject024.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.dgvProject024.Width = 110;
-            // 
-            // dgvProject025
-            // 
-            dataGridViewCellStyle39.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.dgvProject025.DefaultCellStyle = dataGridViewCellStyle39;
-            this.dgvProject025.HeaderText = "é«˜é€Ÿä»£\r\né§�è»Šä»£";
-            this.dgvProject025.Name = "dgvProject025";
-            this.dgvProject025.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject025.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.dgvProject025.Width = 80;
-            // 
-            // dgvProject026
-            // 
-            dataGridViewCellStyle40.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.dgvProject026.DefaultCellStyle = dataGridViewCellStyle40;
-            this.dgvProject026.HeaderText = "é‡‘ç‰©ä»£";
-            this.dgvProject026.Name = "dgvProject026";
-            this.dgvProject026.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject026.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.dgvProject026.Width = 80;
-            // 
-            // dgvProject027
-            // 
-            dataGridViewCellStyle41.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.dgvProject027.DefaultCellStyle = dataGridViewCellStyle41;
-            this.dgvProject027.HeaderText = "ç”£å»ƒç¨Ž";
-            this.dgvProject027.Name = "dgvProject027";
-            this.dgvProject027.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject027.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.dgvProject027.Width = 80;
-            // 
-            // dgvProject028
-            // 
-            dataGridViewCellStyle42.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.dgvProject028.DefaultCellStyle = dataGridViewCellStyle42;
-            this.dgvProject028.HeaderText = "å�”åŠ›é‡‘";
-            this.dgvProject028.Name = "dgvProject028";
-            this.dgvProject028.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject028.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.dgvProject028.Width = 80;
-            // 
-            // dgvProject029
-            // 
-            this.dgvProject029.HeaderText = "å�”åŠ›é‡‘çŽ‡";
-            this.dgvProject029.Name = "dgvProject029";
-            this.dgvProject029.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject029.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject030
-            // 
-            dataGridViewCellStyle43.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle43.BackColor = System.Drawing.Color.White;
-            dataGridViewCellStyle43.ForeColor = System.Drawing.Color.Black;
-            this.dgvProject030.DefaultCellStyle = dataGridViewCellStyle43;
-            this.dgvProject030.HeaderText = "å�”åŠ›é‡‘\r\næœ‰ç„¡";
-            this.dgvProject030.Name = "dgvProject030";
-            this.dgvProject030.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            // 
-            // dgvProject031
-            // 
-            dataGridViewCellStyle44.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dgvProject031.DefaultCellStyle = dataGridViewCellStyle44;
-            this.dgvProject031.HeaderText = "æ³¨æ–‡æ›¸\r\né€�ä»˜";
-            this.dgvProject031.Name = "dgvProject031";
-            this.dgvProject031.ReadOnly = true;
-            this.dgvProject031.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject031.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject032
-            // 
-            dataGridViewCellStyle45.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dgvProject032.DefaultCellStyle = dataGridViewCellStyle45;
-            this.dgvProject032.HeaderText = "æ³¨æ–‡æ›¸\r\nåˆ°ç�€";
-            this.dgvProject032.Name = "dgvProject032";
-            this.dgvProject032.ReadOnly = true;
-            this.dgvProject032.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject032.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject033
-            // 
-            dataGridViewCellStyle46.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dgvProject033.DefaultCellStyle = dataGridViewCellStyle46;
-            this.dgvProject033.HeaderText = "äºˆç®—æ›¸";
-            this.dgvProject033.Name = "dgvProject033";
-            this.dgvProject033.ReadOnly = true;
-            this.dgvProject033.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject033.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject034
-            // 
-            this.dgvProject034.HeaderText = "æ‹…å½“è€…ã‚³ãƒ¼ãƒ‰";
-            this.dgvProject034.Name = "dgvProject034";
-            this.dgvProject034.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject034.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject035
-            // 
-            dataGridViewCellStyle47.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dgvProject035.DefaultCellStyle = dataGridViewCellStyle47;
-            this.dgvProject035.HeaderText = "ç”³è«‹\r\næ‹…å½“è€…";
-            this.dgvProject035.Name = "dgvProject035";
-            this.dgvProject035.ReadOnly = true;
-            this.dgvProject035.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject035.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject036
-            // 
-            this.dgvProject036.HeaderText = "æ‹…å½“è€…æ—¥ä»˜";
-            this.dgvProject036.Name = "dgvProject036";
-            this.dgvProject036.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject036.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject037
-            // 
-            this.dgvProject037.HeaderText = "æ‹…å½“è€…éƒ¨ç½²ã‚³ãƒ¼ãƒ‰";
-            this.dgvProject037.Name = "dgvProject037";
-            // 
-            // dgvProject038
-            // 
-            this.dgvProject038.HeaderText = "æ‰¿èª�è€…1ã‚³ãƒ¼ãƒ‰";
-            this.dgvProject038.Name = "dgvProject038";
-            this.dgvProject038.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject038.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject039
-            // 
-            dataGridViewCellStyle48.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dgvProject039.DefaultCellStyle = dataGridViewCellStyle48;
-            this.dgvProject039.HeaderText = "æ‰¿èª�è€…ï¼‘\r\næ‰¿èª�";
-            this.dgvProject039.Name = "dgvProject039";
-            this.dgvProject039.ReadOnly = true;
-            this.dgvProject039.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject039.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject040
-            // 
-            this.dgvProject040.HeaderText = "æ‰¿èª�è€…ï¼‘ã€€æ—¥ä»˜";
-            this.dgvProject040.Name = "dgvProject040";
-            this.dgvProject040.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject040.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject041
-            // 
-            this.dgvProject041.HeaderText = "æ‰¿èª�è€…ï¼‘ã€€æ‰¿èª�æ¨©é™�";
-            this.dgvProject041.Name = "dgvProject041";
-            this.dgvProject041.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject041.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject042
-            // 
-            this.dgvProject042.HeaderText = "æ‰¿èª�è€…ï¼‘ã€€æ‰¿èª�é †ç•ª";
-            this.dgvProject042.Name = "dgvProject042";
-            this.dgvProject042.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject042.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject043
-            // 
-            this.dgvProject043.HeaderText = "æ‰¿èª�è€…2ã‚³ãƒ¼ãƒ‰";
-            this.dgvProject043.Name = "dgvProject043";
-            this.dgvProject043.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject043.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject044
-            // 
-            dataGridViewCellStyle49.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dgvProject044.DefaultCellStyle = dataGridViewCellStyle49;
-            this.dgvProject044.HeaderText = "æ‰¿èª�è€…ï¼’\r\næ‰¿èª�";
-            this.dgvProject044.Name = "dgvProject044";
-            this.dgvProject044.ReadOnly = true;
-            this.dgvProject044.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject044.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject045
-            // 
-            this.dgvProject045.HeaderText = "æ‰¿èª�è€…ï¼’ã€€æ—¥ä»˜";
-            this.dgvProject045.Name = "dgvProject045";
-            this.dgvProject045.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject045.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject046
-            // 
-            this.dgvProject046.HeaderText = "æ‰¿èª�è€…ï¼’ã€€æ‰¿èª�æ¨©é™�";
-            this.dgvProject046.Name = "dgvProject046";
-            this.dgvProject046.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject046.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject047
-            // 
-            this.dgvProject047.HeaderText = "æ‰¿èª�è€…ï¼’ã€€æ‰¿èª�é †ç•ª";
-            this.dgvProject047.Name = "dgvProject047";
-            this.dgvProject047.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject047.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject048
-            // 
-            this.dgvProject048.HeaderText = "æ‰¿èª�è€…3ã‚³ãƒ¼ãƒ‰";
-            this.dgvProject048.Name = "dgvProject048";
-            this.dgvProject048.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject048.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject049
-            // 
-            dataGridViewCellStyle50.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dgvProject049.DefaultCellStyle = dataGridViewCellStyle50;
-            this.dgvProject049.HeaderText = "æ‰¿èª�è€…ï¼“\r\næ‰¿èª�";
-            this.dgvProject049.Name = "dgvProject049";
-            this.dgvProject049.ReadOnly = true;
-            this.dgvProject049.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject049.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject050
-            // 
-            this.dgvProject050.HeaderText = "æ‰¿èª�è€…ï¼“ã€€æ—¥ä»˜";
-            this.dgvProject050.Name = "dgvProject050";
-            this.dgvProject050.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject050.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject051
-            // 
-            this.dgvProject051.HeaderText = "æ‰¿èª�è€…ï¼“ã€€æ‰¿èª�æ¨©é™�";
-            this.dgvProject051.Name = "dgvProject051";
-            this.dgvProject051.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject051.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject052
-            // 
-            this.dgvProject052.HeaderText = "æ‰¿èª�è€…ï¼“ã€€æ‰¿èª�é †ç•ª";
-            this.dgvProject052.Name = "dgvProject052";
-            this.dgvProject052.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject052.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject053
-            // 
-            this.dgvProject053.HeaderText = "æ‰¿èª�è€…4ã‚³ãƒ¼ãƒ‰";
-            this.dgvProject053.Name = "dgvProject053";
-            this.dgvProject053.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject053.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject054
-            // 
-            dataGridViewCellStyle51.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dgvProject054.DefaultCellStyle = dataGridViewCellStyle51;
-            this.dgvProject054.HeaderText = "æ‰¿èª�è€…ï¼”\r\næ‰¿èª�";
-            this.dgvProject054.Name = "dgvProject054";
-            this.dgvProject054.ReadOnly = true;
-            this.dgvProject054.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject054.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject055
-            // 
-            this.dgvProject055.HeaderText = "æ‰¿èª�è€…ï¼”ã€€æ—¥ä»˜";
-            this.dgvProject055.Name = "dgvProject055";
-            this.dgvProject055.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject055.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject056
-            // 
-            this.dgvProject056.HeaderText = "æ‰¿èª�è€…ï¼”ã€€æ‰¿èª�æ¨©é™�";
-            this.dgvProject056.Name = "dgvProject056";
-            this.dgvProject056.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject056.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject057
-            // 
-            this.dgvProject057.HeaderText = "æ‰¿èª�è€…ï¼”ã€€æ‰¿èª�é †ç•ª";
-            this.dgvProject057.Name = "dgvProject057";
-            this.dgvProject057.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject057.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject058
-            // 
-            this.dgvProject058.HeaderText = "æ‰¿èª�è€…5ã‚³ãƒ¼ãƒ‰";
-            this.dgvProject058.Name = "dgvProject058";
-            this.dgvProject058.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject058.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject059
-            // 
-            dataGridViewCellStyle52.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dgvProject059.DefaultCellStyle = dataGridViewCellStyle52;
-            this.dgvProject059.HeaderText = "æ‰¿èª�è€…ï¼•\r\næ‰¿èª�";
-            this.dgvProject059.Name = "dgvProject059";
-            this.dgvProject059.ReadOnly = true;
-            this.dgvProject059.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject059.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject060
-            // 
-            this.dgvProject060.HeaderText = "æ‰¿èª�è€…ï¼•ã€€æ—¥ä»˜";
-            this.dgvProject060.Name = "dgvProject060";
-            this.dgvProject060.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject060.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject061
-            // 
-            this.dgvProject061.HeaderText = "æ‰¿èª�è€…ï¼•ã€€æ‰¿èª�æ¨©é™�";
-            this.dgvProject061.Name = "dgvProject061";
-            this.dgvProject061.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject061.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject062
-            // 
-            this.dgvProject062.HeaderText = "æ‰¿èª�è€…ï¼•ã€€æ‰¿èª�é †ç•ª";
-            this.dgvProject062.Name = "dgvProject062";
-            this.dgvProject062.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject062.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject063
-            // 
-            this.dgvProject063.HeaderText = "æ‰¿èª�è€…6ã‚³ãƒ¼ãƒ‰";
-            this.dgvProject063.Name = "dgvProject063";
-            this.dgvProject063.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject063.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject064
-            // 
-            dataGridViewCellStyle53.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dgvProject064.DefaultCellStyle = dataGridViewCellStyle53;
-            this.dgvProject064.HeaderText = "æ‰¿èª�è€…ï¼–\r\næ‰¿èª�";
-            this.dgvProject064.Name = "dgvProject064";
-            this.dgvProject064.ReadOnly = true;
-            this.dgvProject064.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject064.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject065
-            // 
-            this.dgvProject065.HeaderText = "æ‰¿èª�è€…ï¼–ã€€æ—¥ä»˜";
-            this.dgvProject065.Name = "dgvProject065";
-            this.dgvProject065.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject065.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject066
-            // 
-            this.dgvProject066.HeaderText = "æ‰¿èª�è€…ï¼–ã€€æ‰¿èª�æ¨©é™�";
-            this.dgvProject066.Name = "dgvProject066";
-            this.dgvProject066.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject066.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject067
-            // 
-            this.dgvProject067.HeaderText = "æ‰¿èª�è€…ï¼–ã€€æ‰¿èª�é †ç•ª";
-            this.dgvProject067.Name = "dgvProject067";
-            this.dgvProject067.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject067.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject068
-            // 
-            this.dgvProject068.HeaderText = "æ‰¿èª�è€…7ã‚³ãƒ¼ãƒ‰";
-            this.dgvProject068.Name = "dgvProject068";
-            this.dgvProject068.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject068.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject069
-            // 
-            dataGridViewCellStyle54.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dgvProject069.DefaultCellStyle = dataGridViewCellStyle54;
-            this.dgvProject069.HeaderText = "æ‰¿èª�è€…ï¼—\r\næ‰¿èª�";
-            this.dgvProject069.Name = "dgvProject069";
-            this.dgvProject069.ReadOnly = true;
-            this.dgvProject069.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject069.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject070
-            // 
-            this.dgvProject070.HeaderText = "æ‰¿èª�è€…7ã€€æ—¥ä»˜";
-            this.dgvProject070.Name = "dgvProject070";
-            this.dgvProject070.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject070.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject071
-            // 
-            this.dgvProject071.HeaderText = "æ‰¿èª�è€…ï¼—ã€€æ‰¿èª�æ¨©é™�";
-            this.dgvProject071.Name = "dgvProject071";
-            this.dgvProject071.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject071.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject072
-            // 
-            this.dgvProject072.HeaderText = "æ‰¿èª�è€…ï¼—ã€€æ‰¿èª�é †ç•ª";
-            this.dgvProject072.Name = "dgvProject072";
-            this.dgvProject072.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject072.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject073
-            // 
-            this.dgvProject073.HeaderText = "æ‰¿èª�è€…8ã‚³ãƒ¼ãƒ‰";
-            this.dgvProject073.Name = "dgvProject073";
-            this.dgvProject073.Resizable = System.Windows.Forms.DataGridViewTriState.True;
-            this.dgvProject073.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject074
-            // 
-            dataGridViewCellStyle55.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dgvProject074.DefaultCellStyle = dataGridViewCellStyle55;
-            this.dgvProject074.HeaderText = "æ‰¿èª�è€…ï¼˜\r\næ‰¿èª�";
-            this.dgvProject074.Name = "dgvProject074";
-            this.dgvProject074.ReadOnly = true;
-            this.dgvProject074.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject074.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject075
-            // 
-            this.dgvProject075.HeaderText = "æ‰¿èª�è€…ï¼˜ã€€æ—¥ä»˜";
-            this.dgvProject075.Name = "dgvProject075";
-            this.dgvProject075.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject075.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject076
-            // 
-            this.dgvProject076.HeaderText = "æ‰¿èª�è€…ï¼˜ã€€æ‰¿èª�æ¨©é™�";
-            this.dgvProject076.Name = "dgvProject076";
-            this.dgvProject076.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject076.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject077
-            // 
-            this.dgvProject077.HeaderText = "æ‰¿èª�è€…ï¼˜ã€€æ‰¿èª�é †ç•ª";
-            this.dgvProject077.Name = "dgvProject077";
-            this.dgvProject077.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject077.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject078
-            // 
-            this.dgvProject078.HeaderText = "æ‰¿èª�è€…9ã‚³ãƒ¼ãƒ‰";
-            this.dgvProject078.Name = "dgvProject078";
-            this.dgvProject078.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject078.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject079
-            // 
-            dataGridViewCellStyle56.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dgvProject079.DefaultCellStyle = dataGridViewCellStyle56;
-            this.dgvProject079.HeaderText = "æ‰¿èª�è€…ï¼™\r\næ‰¿èª�";
-            this.dgvProject079.Name = "dgvProject079";
-            this.dgvProject079.ReadOnly = true;
-            this.dgvProject079.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject079.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject080
-            // 
-            this.dgvProject080.HeaderText = "æ‰¿èª�è€…ï¼™ã€€æ—¥ä»˜";
-            this.dgvProject080.Name = "dgvProject080";
-            this.dgvProject080.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject080.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject081
-            // 
-            this.dgvProject081.HeaderText = "æ‰¿èª�è€…ï¼™ã€€æ‰¿èª�æ¨©é™�";
-            this.dgvProject081.Name = "dgvProject081";
-            this.dgvProject081.Resizable = System.Windows.Forms.DataGridViewTriState.True;
-            this.dgvProject081.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject082
-            // 
-            this.dgvProject082.HeaderText = "æ‰¿èª�è€…ï¼™ã€€æ‰¿èª�é †ç•ª";
-            this.dgvProject082.Name = "dgvProject082";
-            this.dgvProject082.Resizable = System.Windows.Forms.DataGridViewTriState.True;
-            this.dgvProject082.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject083
-            // 
-            this.dgvProject083.HeaderText = "æ‰¿èª�è€…10ã‚³ãƒ¼ãƒ‰";
-            this.dgvProject083.Name = "dgvProject083";
-            this.dgvProject083.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject083.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject084
-            // 
-            dataGridViewCellStyle57.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dgvProject084.DefaultCellStyle = dataGridViewCellStyle57;
-            this.dgvProject084.HeaderText = "æ‰¿èª�è€…10\r\næ‰¿èª�";
-            this.dgvProject084.Name = "dgvProject084";
-            this.dgvProject084.ReadOnly = true;
-            this.dgvProject084.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject084.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject085
-            // 
-            this.dgvProject085.HeaderText = "æ‰¿èª�è€…10ã€€æ—¥ä»˜";
-            this.dgvProject085.Name = "dgvProject085";
-            this.dgvProject085.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject085.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject086
-            // 
-            this.dgvProject086.HeaderText = "æ‰¿èª�è€…10ã€€æ‰¿èª�æ¨©é™�";
-            this.dgvProject086.Name = "dgvProject086";
-            this.dgvProject086.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject086.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject087
-            // 
-            this.dgvProject087.HeaderText = "æ‰¿èª�è€…10ã€€æ‰¿èª�é †ç•ª";
-            this.dgvProject087.Name = "dgvProject087";
-            this.dgvProject087.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject087.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject088
-            // 
-            this.dgvProject088.HeaderText = "å‚™è€ƒ";
-            this.dgvProject088.Name = "dgvProject088";
-            this.dgvProject088.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject088.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.dgvProject088.Width = 140;
-            // 
-            // dgvProject089
-            // 
-            this.dgvProject089.HeaderText = "æ¶ˆè²»ç¨ŽçŽ‡";
-            this.dgvProject089.Name = "dgvProject089";
-            this.dgvProject089.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject089.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject090
-            // 
-            this.dgvProject090.HeaderText = "å�°å¸³è¡Œç•ªå�·";
-            this.dgvProject090.Name = "dgvProject090";
-            this.dgvProject090.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject090.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject091
-            // 
-            this.dgvProject091.HeaderText = "å�°å¸³æ˜Žç´°ç•ªå�·";
-            this.dgvProject091.Name = "dgvProject091";
-            this.dgvProject091.ReadOnly = true;
-            this.dgvProject091.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject091.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.dgvProject091.Visible = false;
-            // 
-            // dgvProject092
-            // 
-            this.dgvProject092.HeaderText = "å�°å¸³åˆ—ç•ªå�·";
-            this.dgvProject092.Name = "dgvProject092";
-            this.dgvProject092.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvProject092.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // dgvProject093
-            // 
-            this.dgvProject093.HeaderText = "æ‹…å½“è€…éƒ¨ç½²ã‚³ãƒ¼ãƒ‰";
-            this.dgvProject093.Name = "dgvProject093";
-            this.dgvProject093.ReadOnly = true;
-            // 
-            // dgvProject094
-            // 
-            this.dgvProject094.HeaderText = "å·¥äº‹æ‹…å½“è€…";
-            this.dgvProject094.Name = "dgvProject094";
-            // 
-            // dgvProject095
-            // 
-            this.dgvProject095.HeaderText = "å–¶æ¥­æ‹…å½“è€…";
-            this.dgvProject095.Name = "dgvProject095";
-            // 
-            // dgvProject096
-            // 
-            this.dgvProject096.HeaderText = "å‰¯æ‹…å½“è€…";
-            this.dgvProject096.Name = "dgvProject096";
-            // 
-            // dgvProject097
-            // 
-            this.dgvProject097.HeaderText = "æŒ‡å°Žå“¡";
-            this.dgvProject097.Name = "dgvProject097";
-            // 
-            // dgvProject098
-            // 
-            this.dgvProject098.HeaderText = "å–¶æ¥­éƒ¨ç½²ã‚³ãƒ¼ãƒ‰";
-            this.dgvProject098.Name = "dgvProject098";
-            // 
-            // dgvProject099
-            // 
-            this.dgvProject099.HeaderText = "å‰¯æ‹…å½“éƒ¨ç½²ã‚³ãƒ¼ãƒ‰";
-            this.dgvProject099.Name = "dgvProject099";
-            // 
-            // dgvProject100
-            // 
-            this.dgvProject100.HeaderText = "æŒ‡å°Žå“¡éƒ¨ç½²ã‚³ãƒ¼ãƒ‰";
-            this.dgvProject100.Name = "dgvProject100";
-            // 
-            // FrmRequestSummaryList
-            // 
-            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
-            this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
-            this.BackColor = System.Drawing.Color.Black;
-            this.ClientSize = new System.Drawing.Size(1340, 697);
-            this.Controls.Add(this.lblCellTotal);
-            this.Controls.Add(this.btnOtherProc);
-            this.Controls.Add(this.CombinedOrderLabel1);
-            this.Controls.Add(this.CombinedOrderLabel2);
-            this.Controls.Add(this.panel1);
-            this.Controls.Add(this.btnAddProject);
-            this.Controls.Add(this.groupBoxEx1);
-            this.Controls.Add(this.btnAddCompany);
-            this.Controls.Add(this.btnDeleteCompany);
-            this.Controls.Add(this.btnDeleteProject);
-            this.Controls.Add(this.btnDataEntry);
-            this.Controls.Add(this.label1);
-            this.Controls.Add(this.btnEnd);
-            this.Controls.Add(this.DataProgressBar);
-            this.Controls.Add(this.dgvCompany);
-            this.Controls.Add(this.dgvProject);
-            this.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
-            this.KeyPreview = true;
-            this.Margin = new System.Windows.Forms.Padding(4);
-            this.Name = "FrmRequestSummaryList";
-            this.ShowIcon = false;
-            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
-            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmRequestSummaryList_FormClosing);
-            this.Load += new System.EventHandler(this.FrmRequestSummaryList_Load);
-            this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.FrmRequestSummaryList_KeyDown);
-            this.panel1.ResumeLayout(false);
-            this.panel1.PerformLayout();
-            this.groupBoxEx1.ResumeLayout(false);
-            this.groupBoxEx1.PerformLayout();
-            this.pnlApproval.ResumeLayout(false);
-            this.pnlApprovalButton.ResumeLayout(false);
-            this.panel2.ResumeLayout(false);
-            this.panel2.PerformLayout();
-            ((System.ComponentModel.ISupportInitialize)(this.dgvCompany)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.dgvProject)).EndInit();
-            this.ResumeLayout(false);
-            this.PerformLayout();
-
-        }
-
-        #endregion
-
-        private System.Windows.Forms.Button btnEnd;
-        private System.Windows.Forms.Label label1;
-        private ProcessManagement.Forms.CustomControls.DataGridViewEX dgvCompany;
-        private System.Windows.Forms.Button btnDataEntry;
-        private System.Windows.Forms.ComboBox cmbTargetMonth;
-        private System.Windows.Forms.Label label3;
-        private System.Windows.Forms.Label label2;
-        private System.Windows.Forms.Label label5;
-        private System.Windows.Forms.Label lblPaymentDate;
-        private System.Windows.Forms.Button btnDeleteProject;
-        private System.Windows.Forms.Button btnDeleteCompany;
-        private System.Windows.Forms.Button btnAddCompany;
-        private ProcessManagement.Forms.CustomControls.GroupBoxEx groupBoxEx1;
-        private ProcessManagement.Forms.CustomControls.DataGridViewEX dgvProject;
-        private System.Windows.Forms.Button btnAddProject;
-        private System.Windows.Forms.Panel panel1;
-        private System.Windows.Forms.Label label6;
-        private System.Windows.Forms.Label label10;
-        private System.Windows.Forms.Label label9;
-        private System.Windows.Forms.Label label8;
-        private System.Windows.Forms.Label label7;
-        private System.Windows.Forms.Label CombinedOrderLabel1;
-        private System.Windows.Forms.Label CombinedOrderLabel2;
-        private System.Windows.Forms.Panel pnlApproval;
-        private System.Windows.Forms.Label lblApprovalCount;
-        private System.Windows.Forms.Button btnPetition;
-        private System.Windows.Forms.Button btnApproval;
-        private System.Windows.Forms.Panel pnlApprovalButton;
-        private System.Windows.Forms.Button btnOnApproval;
-        private System.Windows.Forms.Button btnNotApproval;
-        private System.Windows.Forms.Button btnOnHold;
-        private System.Windows.Forms.Button btnOtherProc;
-        private System.Windows.Forms.Panel panel2;
-        private System.Windows.Forms.RadioButton rdbProject;
-        private System.Windows.Forms.RadioButton rdbCompany;
-        private System.Windows.Forms.ProgressBar DataProgressBar;
-        private System.Windows.Forms.ComboBox cmbDepartment;
-        private System.Windows.Forms.Label label4;
-        private System.Windows.Forms.Label label11;
-        private System.Windows.Forms.ComboBox cmbPerson;
-        private System.Windows.Forms.Button btnDataUpDate;
-        private System.Windows.Forms.Label lblCellTotal;
-        private System.Windows.Forms.Button btnTotalDsp;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany001;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany002;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany003;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany004;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany005;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany006;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany007;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany008;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany009;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany010;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany011;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany012;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany013;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany014;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany015;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany016;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany017;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany018;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany019;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany020;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany021;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany022;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany023;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany024;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany025;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany026;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany027;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany028;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany029;
-        private System.Windows.Forms.DataGridViewComboBoxColumn dgvCompany030;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany031;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany032;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany033;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany034;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany035;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany036;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany037;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany038;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany039;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany040;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany041;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany042;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany043;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany044;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany045;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany046;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany047;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany048;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany049;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany050;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany051;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany052;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany053;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany054;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany055;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany056;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany057;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany058;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany059;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany060;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany061;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany062;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany063;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany064;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany065;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany066;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany067;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany068;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany069;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany070;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany071;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany072;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany073;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany074;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany075;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany076;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany077;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany078;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany079;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany080;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany081;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany082;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany083;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany084;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany085;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany086;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany087;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany088;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany089;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany090;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany091;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany092;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany093;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany094;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany095;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany096;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany097;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany098;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany099;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvCompany100;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject001;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject002;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject003;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject004;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject005;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject006;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject007;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject008;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject009;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject010;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject011;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject012;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject013;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject014;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject015;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject016;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject017;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject018;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject019;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject020;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject021;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject022;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject023;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject024;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject025;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject026;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject027;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject028;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject029;
-        private System.Windows.Forms.DataGridViewComboBoxColumn dgvProject030;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject031;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject032;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject033;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject034;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject035;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject036;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject037;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject038;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject039;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject040;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject041;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject042;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject043;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject044;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject045;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject046;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject047;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject048;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject049;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject050;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject051;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject052;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject053;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject054;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject055;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject056;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject057;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject058;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject059;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject060;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject061;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject062;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject063;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject064;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject065;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject066;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject067;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject068;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject069;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject070;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject071;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject072;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject073;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject074;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject075;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject076;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject077;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject078;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject079;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject080;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject081;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject082;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject083;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject084;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject085;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject086;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject087;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject088;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject089;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject090;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject091;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject092;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject093;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject094;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject095;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject096;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject097;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject098;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject099;
-        private System.Windows.Forms.DataGridViewTextBoxColumn dgvProject100;
-    }
-}
\ No newline at end of file
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/FrmRequestSummaryList.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/FrmRequestSummaryList.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/FrmRequestSummaryList.cs	(nonexistent)
@@ -1,1411 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Diagnostics;
-using System.Data;
-using System.Drawing;
-using System.Text;
-using System.Windows.Forms;
-using System.Collections;
-using System.Linq;
-
-using log4net;
-using log4net.Appender;
-using log4net.Repository.Hierarchy;
-
-using ProcessManagement.Common;
-using ProcessManagement.DB.IOAccess;
-using ProcessManagement.DataModel;
-using ProcessManagement.DB.Core;
-using ProcessManagement.Forms.Master;
-using ProcessManagement.Forms.SubForms;
-using ProcessManagement.Forms.ControlsAction;
-using ProcessManagement.Forms.CustomControls;
-
-//*---------------------------- �¿‹�‚Ü‚Æ‚ß‰æ–Ê --------------------------------*
-//  2016/12/20  Ver1.0.0.0      Create Source           
-//
-//
-//
-//*----------------------------------------------------------------------------*
-namespace ProcessManagement.Forms.DataEntry
-{
-    public partial class FrmRequestSummaryList : Form
-    {
-        #region Žg—p’è‹`
-        //log4netƒ�ƒO‚ðŽg—p‚·‚é
-        private static readonly log4net.ILog logger = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
-        #endregion
-
-        #region ’è�”
-        #region Ž©ƒvƒ�ƒZƒX–¼�Ì
-        /// <summary>
-        /// Ž©ƒvƒ�ƒZƒX–¼�Ì
-        /// </summary>
-        private string[] s_MyProcessName = new string[] { ClsExcute.AppovalList[(int)ClsExcute.ApprovalListNo.SubConstrPayment],
-                                                            ClsExcute.AppovalList[(int)ClsExcute.ApprovalListNo.FeePayment] };
-        #endregion
-
-        #region �s’è‹`
-        /// <summary>
-        /// �s’è‹`
-        /// </summary>
-        private enum RowsTypeDef
-        {
-            –¾�× = 0,
-            �¬Œv,
-            �Á”ï�Å,
-            �‚‘¬‘ã,
-            ‹à•¨‘ã,
-            ŽY”p�Å,
-            ‹¦—Í‹à,
-            �‡Œv,
-        }
-        #endregion
-
-        #region �s•\Ž¦’è‹`
-        /// <summary>
-        /// �s•\Ž¦’è‹`
-        /// </summary>
-        private enum RowVisibleDef
-        {
-            /// <summary>
-            /// 0:”ñ•\Ž¦
-            /// </summary>
-            UnVisible = 0,
-            /// <summary>
-            /// 1:•\Ž¦
-            /// </summary>
-            Visible
-        }
-        #endregion
-
-        #region •\Ž¦ƒJƒ‰ƒ€
-        /// <summary>
-        /// •\Ž¦ƒJƒ‰ƒ€�idgvCompany�j
-        /// </summary>
-        private enum DispColumn_Company
-        {
-            SubConstractorCode = (int)DispColumn.No + 1,
-            CompanyCode,
-            SubConstractorName,
-            GengaCode,
-            GengaName,
-        }
-
-        /// <summary>
-        /// •\Ž¦ƒJƒ‰ƒ€�idgvProject�j
-        /// </summary>
-        private enum DispColumn_Project
-        {
-            GengaCode = (int)DispColumn.No + 1,
-            GengaName,
-            SubConstractorCode,
-            CompanyCode,
-            SubConstractorName,
-        }
-
-        /// <summary>
-        /// •\Ž¦ƒJƒ‰ƒ€�i‹¤’Ê�j
-        /// </summary>
-        private enum DispColumn
-        {
-            CompanyDispOrder = 0,
-            ApprovalEndFlg,
-            UpdateDate,
-            RowState,
-            RowVisible,
-            RowType,
-            GoukeiSeqNo,
-            GroupSeqNo,
-            LineCount,
-            No,
-            DetailName = (int)DispColumn_Project.SubConstractorName + 1,
-            SomuSeikyu,
-            SomuKosoku,
-            SomuKanamono,
-            SomuSannhaiZei,
-            KojiSeikyu,
-            KojiNebiki,
-            KojiSousai,
-            JikaiKurikosi,
-            KojiKosoku,
-            KojiKanamono,
-            KojiSannhaiZei,
-            KyoryokuKin,
-            KyoryokuKinRitu,
-            KyoryokuUmu,
-            CyuumonshoTeisyutu,
-            CyuumonshoTouchaku,
-            YosanSho,
-            TantoShoninCode,
-            TantoShonin,
-            TantoDate,
-            TantoDepCode,
-            Shonin1Code,
-            Shonin1,
-            Shonin1Date,
-            Shonin1Authority,
-            Shonin1Order,
-            Shonin2Code,
-            Shonin2,
-            Shonin2Date,
-            Shonin2Authority,
-            Shonin2Order,
-            Shonin3Code,
-            Shonin3,
-            Shonin3Date,
-            Shonin3Authority,
-            Shonin3Order,
-            Shonin4Code,
-            Shonin4,
-            Shonin4Date,
-            Shonin4Authority,
-            Shonin4Order,
-            Shonin5Code,
-            Shonin5,
-            Shonin5Date,
-            Shonin5Authority,
-            Shonin5Order,
-            Shonin6Code,
-            Shonin6,
-            Shonin6Date,
-            Shonin6Authority,
-            Shonin6Order,
-            Shonin7Code,
-            Shonin7,
-            Shonin7Date,
-            Shonin7Authority,
-            Shonin7Order,
-            Shonin8Code,
-            Shonin8,
-            Shonin8Date,
-            Shonin8Authority,
-            Shonin8Order,
-            Shonin9Code,
-            Shonin9,
-            Shonin9Date,
-            Shonin9Authority,
-            Shonin9Order,
-            Shonin10Code,
-            Shonin10,
-            Shonin10Date,
-            Shonin10Authority,
-            Shonin10Order,
-            Bikou,
-            ShohiZeiRitu,
-            ConstructionLedgerLineNo,
-            ConstructionLedgerColNo,
-            ConstructionLedgerDetailNo,
-            ConstrDepCode,
-            ConstrPerson,
-            SalesPerson,
-            AssistPerson,
-            InstrPerson,
-            SalesDepCode,
-            AssistDepCode,
-            InstrDepCode,
-        }
-        #endregion
-
-        #region •\Ž¦ƒ{ƒ^ƒ“‰Ÿ‰º‚ÅŽæ“¾‚·‚éƒf�[ƒ^�€–Ú
-        /// <summary>
-        /// •\Ž¦ƒ{ƒ^ƒ“‰Ÿ‰º‚ÅŽæ“¾‚·‚éƒf�[ƒ^�€–Ú
-        /// </summary>
-        private enum ClickGetData
-        {
-            SEQNO = 0,
-            LINECOUNT,
-            COMPANYCODE,
-            COMPANYNAME,
-            DisplayOrder,
-            CONSTRUCTIONCODE,
-            FIELDNAME,
-            BILLPRICE,
-            HIGHWPRICE,
-            HARDWPRICE,
-            INDSWASTETAX,
-            UpdateDate,
-            Bikou,
-            KojiSeikyu,
-            KojiNebiki,
-            KojiSousai,
-            JikaiKurikosi,
-            KojiKosoku,
-            KojiKanamono,
-            KojiSannhaiZei,
-            CnstrPrice,
-            CNSTRPRICEEXIST,
-            ApprovalPersonCode,         // �\�¿’S“–ŽÒ
-            TantoNM,                    // �\�¿’S“–ŽÒ–¼
-            ApprovalDate,               // �\�¿“ú•t
-            ApprovalEndFlg,             // �Å�I�³”Fƒtƒ‰ƒO
-            AppDepCode,                 // �\�¿ŽÒ•”��
-            SalesPersonCode,            // ‰c‹Æ’S“–ŽÒ
-            ConstructionPersonCode,     // �HŽ–’S“–ŽÒ
-            ConstrSubPersonCode,        // •›’S“–ŽÒ
-            ConstructionInstructor,     // Žw“±ˆõ
-            ConstrDepCode,              // �HŽ–’S“–ŽÒ•”��ƒR�[ƒh
-            SalesDepCode,               // ‰c‹Æ’S“–ŽÒ•”��ƒR�[ƒh
-            AssistDepCode,              // •›’S“–ŽÒ•”��ƒR�[ƒh
-            InstrDepCode,               // Žw“±ˆõ•”��ƒR�[ƒh
-            PurchaseOrderMailingDate,   // ’�•¶�‘—X‘—“ú
-            PurchaseOrderReturnDate,    // ’�•¶�‘•Ô‘—“ú
-            PaData,                     // —\ŽZ�‘
-            ConstructionLedgerRowNo,    // �HŽ–�Ú�×‘ä’ �s”Ô�†
-            ConstructionLedgerDetailNo, // �HŽ–�Ú�×‘ä’ –¾�×”Ô�†
-            ConstructionLedgerColNo,    // �HŽ–�Ú�×‘ä’ —ñ”Ô�†
-            DetailName,                 // –¾�×�s–¼�Ì
-            PApp_PersonCode,            // ’S“–ŽÒ�³”Fƒf�[ƒ^�F�\�¿’S“–ŽÒƒR�[ƒh
-            PApp_ApprovalCode,          // ’S“–ŽÒ�³”Fƒf�[ƒ^�F�³”F‹@”\ƒR�[ƒh
-            PApp_OrderNo,               // ’S“–ŽÒ�³”Fƒf�[ƒ^�FŽó•t”Ô�†
-            PApp_PersonCodeApproval,    // ’S“–ŽÒ�³”Fƒf�[ƒ^�F�³”FŽÒƒR�[ƒh
-            PApp_ApprovalStatus,        // ’S“–ŽÒ�³”Fƒf�[ƒ^�F�³”F�ó‘ÔƒR�[ƒh
-            PApp_ApprovalDate,          // ’S“–ŽÒ�³”Fƒf�[ƒ^�F�³”F“ú•t
-            AppM_ApprovalCode,          // �³”FŒo˜Hƒ}ƒXƒ^�F�³”F‹@”\ƒR�[ƒh
-            AppM_DepartmentCode,        // �³”FŒo˜Hƒ}ƒXƒ^�F•”��ƒR�[ƒh
-            AppM_SeqNo,                 // �³”FŒo˜Hƒ}ƒXƒ^�F�³”F�‡�˜
-            AppM_DisplayOrder,          // �³”FŒo˜Hƒ}ƒXƒ^�F•\Ž¦�‡
-            AppM_ApprovalPerson,        // �³”FŒo˜Hƒ}ƒXƒ^�F�³”FŽÒƒR�[ƒh
-            AppPName_PersonName,        // ’S“–ŽÒƒ}ƒXƒ^�F�³”FŽÒ–¼
-            AppM_ApprovalAuthority,     // �³”FŒo˜Hƒ}ƒXƒ^�F�Å�I�³”FŽÒ‹æ•ª
-        }
-        #endregion
-
-        #region ƒRƒ“ƒgƒ��[ƒ‹ƒCƒxƒ“ƒg’è‹`
-        /// <summary>
-        /// ƒRƒ“ƒgƒ��[ƒ‹ƒCƒxƒ“ƒg’è‹`
-        /// </summary>
-        private enum EventDef
-        {
-            Department = 1,
-            Person = 1 << 1,
-        }
-        #endregion
-
-        #region ƒwƒbƒ_�[•”•\Ž¦�§Œä
-        /// <summary>
-        /// ƒwƒbƒ_�[•”•\Ž¦�§Œä’è‹`
-        /// </summary>
-        private enum HeaderCtrlDef
-        {
-            /// <summary>
-            /// 0:•”��–³�E’S“–ŽÒ–³
-            /// </summary>
-            Type1 = 0,
-            /// <summary>
-            /// 1:•”��–³�E’S“–ŽÒ•\Ž¦
-            /// </summary>
-            Type2,
-            /// <summary>
-            /// 2:‘S•”•\Ž¦
-            /// </summary>
-            Type3,
-        }
-        #endregion
-
-        #region �³”FŒn’è�”
-        /// <summary>
-        /// �³”Fƒuƒ�ƒbƒN‚ÌƒJƒ‰ƒ€�”
-        /// </summary>
-        private int s_ShoninBlockCnt = 5;
-        #endregion
-
-        #region ‘ä’ ƒnƒ“ƒhƒ‹
-        /// <summary>
-        /// ‘ä’ ƒnƒ“ƒhƒ‹
-        /// </summary>
-        FrmConstructionLedger m_FrmLedger = null;
-        #endregion
-
-        #region •s–¾•¶Žš—ñ
-        /// <summary>
-        /// •s–¾•¶Žš—ñ
-        /// </summary>
-        private const string s_UnknownString = "•s–¾";
-        #endregion
-
-        #region Žx•¥’´‰ßƒ�ƒbƒZ�[ƒW
-        /// <summary>
-        /// Žx•¥’´‰ßƒ�ƒbƒZ�[ƒW
-        /// </summary>
-        string s_strOverComment = "�yŽx•¥‹àŠz’´‰ß�z";
-        #endregion
-
-        #region –¾�×‘Î�Û“ú
-        /// <summary>
-        /// –¾�×‘Î�Û“ú
-        /// </summary>
-        private static string s_DetailExecDay = "/01";
-        #endregion
-
-        #endregion
-
-        #region •Ï�”
-
-        #region �³”Fƒf�[ƒ^ƒNƒ‰ƒX
-        /// <summary>
-        /// �³”Fƒf�[ƒ^ƒNƒ‰ƒX
-        /// </summary>
-        private class ShoninData
-        {
-            public int Key { get; set; }
-            public string Value { get; set; }
-            public int Order { get; set; }
-            public int ApprovalAuthority { get; set; }
-        }
-        #endregion
-
-        /// <summary>
-        /// ƒtƒB�[ƒ‹ƒh’l•Ï‰»ƒtƒ‰ƒO
-        /// </summary>
-        private bool m_bChengeAns = false;
-
-        ///// <summary>
-        ///// �‰ŠúŽžƒtƒ‰ƒO
-        ///// </summary>
-        private bool m_initDataLoad = true;
-
-        /// <summary>
-        /// ‹N“®ƒtƒ‰ƒO
-        /// </summary>
-        private int m_ExecuteFlg = 0;
-
-        /// <summary>
-        /// ƒf�[ƒ^’Ç‰Áƒ{ƒ^ƒ“•\Ž¦ƒtƒ‰ƒO
-        /// </summary>
-        private bool m_DataAddtionButton = false;
-
-        /// <summary>
-        /// �I—¹ƒ{ƒ^ƒ“‰Ÿ‰ºƒtƒ‰ƒO
-        /// </summary>
-        private bool m_CloseingProcessOff = true;
-
-        /// <summary>
-        /// ŽèŠÔ‹ÆŽÒ‹æ•ª
-        /// </summary>
-        private int m_Labourkind = 0;
-
-        /// <summary>
-        /// Žx•¥“ú
-        /// </summary>
-        private int m_Payday = 0;
-
-        /// <summary>
-        /// ‹¦—Í‹à—L–³
-        /// </summary>
-        private List<KeyValuePair<int, string>> m_KyouryokuKinDb = new List<KeyValuePair<int, string>>();
-
-        /// <summary>
-        ///  —ñ”Ô�†
-        /// </summary>
-        private int m_Company_Column = 0;
-        private int m_Company_DispColumn = 0;
-        private int m_CompanyNM_Column = 0;
-        private int m_Genba_Column = 0;
-        private int m_GenbaNM_Column = 0;
-        private int m_GoukeiCode_Column = 0;
-
-        /// <summary>
-        /// ƒf�[ƒ^•\Ž¦‚Ì‘Î�ÛŒŽ
-        /// </summary>
-        private int m_Select_TargetDate = 0;
-
-        /// <summary>
-        /// ƒ�ƒjƒ…�[‹N“®ƒtƒ‰ƒO
-        /// </summary>
-        private bool m_FirstFlg = true;
-
-        /// <summary>
-        /// �³”Fˆê——‰æ–Ê‚æ‚è‚Ìƒpƒ‰ƒ�ƒ^‘Î�ÛŒŽ
-        /// </summary>
-        private int m_ParaTargetMonth = 0;
-
-        /// <summary>
-        /// ˜A”Ô
-        /// </summary>
-        private int m_ParaTargetSeqNo = 0;
-
-        /// <summary>
-        /// Žx•¥’S“–ŽÒƒR�[ƒh
-        /// </summary>
-        private int m_PaymentPersonCode = 0;
-
-        /// <summary>
-        /// Žó•t“ú
-        /// </summary>
-        private DateTime m_OrderDate = DateTime.MinValue;
-
-        /// <summary>
-        /// •\Ž¦Žž‚Ìƒf�[ƒ^Œ��”
-        /// </summary>
-        private int m_Select_DataCount = 0;
-
-        /// <summary>
-        /// �I—¹ƒ{ƒ^ƒ“‰Ÿ‰ºƒtƒ‰ƒO
-        /// </summary>
-        private bool m_CloseingProcessOn = true;
-
-        #region ŽQ�Æƒtƒ‰ƒO
-        /// <summary>
-        /// ŽQ�Æƒtƒ‰ƒO
-        /// </summary>
-        private bool m_EditLock = false;
-        #endregion
-
-        // *-----* ‹¤’Ê�ˆ—��Ý’è *-----*
-        /// <summary>
-        /// ŒÄ�oŒ³�I—¹ƒtƒ‰ƒO
-        /// </summary>
-        private bool m_ParentEnd = false;
-        // *-----* ‹¤’Ê�ˆ—��Ý’è *-----*
-        #endregion
-
-        #region ƒvƒ�ƒpƒeƒB
-        #region ŽèŠÔ‹ÆŽÒ‹æ•ª
-        /// <summary>
-        /// ŽèŠÔ‹ÆŽÒ‹æ•ª
-        /// </summary>
-        public int Labourkind
-        {
-            get { return m_Labourkind; }
-            set { m_Labourkind = value; }
-        }
-        #endregion
-
-        #region ƒ�ƒjƒ…�[‹N“®ƒtƒ‰ƒO
-        /// <summary>
-        /// ƒ�ƒjƒ…�[‹N“®ƒtƒ‰ƒO
-        /// </summary>
-        public bool FirstFlg
-        {
-            get { return m_FirstFlg; }
-            set { m_FirstFlg = value; }
-        }
-        #endregion
-
-        #region �³”Fˆê——‰æ–Ê‚æ‚è‚Ìƒpƒ‰ƒ�ƒ^‘Î�ÛŒŽ
-        /// <summary>
-        /// �³”Fˆê——‰æ–Ê‚æ‚è‚Ìƒpƒ‰ƒ�ƒ^‘Î�ÛŒŽ
-        /// </summary>
-        public int ParaTargetMonth
-        {
-            get { return m_ParaTargetMonth; }
-            set { m_ParaTargetMonth = value; }
-        }
-        #endregion
-
-        #region Žx•¥’S“–ŽÒƒR�[ƒh
-        /// <summary>
-        /// Žx•¥’S“–ŽÒƒR�[ƒh
-        /// </summary>
-        public int PaymentPersonCode
-        {
-            get { return m_PaymentPersonCode; }
-            set { m_PaymentPersonCode = value; }
-        }
-        #endregion
-
-        #region ˜A”Ô
-        /// <summary>
-        /// ˜A”Ô
-        /// </summary>
-        public int ParaTargetSeqNo
-        {
-            get { return m_ParaTargetSeqNo; }
-            set { m_ParaTargetSeqNo = value; }
-        }
-        #endregion
-
-        #region Žó•t“ú
-        /// <summary>
-        /// Žó•t“ú
-        /// </summary>
-        public DateTime OrderDate
-        {
-            get { return m_OrderDate; }
-            set { m_OrderDate = value; }
-        }
-        #endregion
-
-        #region ‹N“®ƒtƒ‰ƒO
-        /// <summary>
-        /// ‹N“®ƒtƒ‰ƒO
-        /// </summary>
-        public int ExecuteFlg
-        {
-            get { return m_ExecuteFlg; }
-            set { m_ExecuteFlg = value; }
-        }
-        #endregion
-
-        #region ƒf�[ƒ^’Ç‰Áƒ{ƒ^ƒ“•\Ž¦
-        /// <summary>
-        /// ƒf�[ƒ^’Ç‰Áƒ{ƒ^ƒ“•\Ž¦
-        /// </summary>
-        public bool DataAddtionButton
-        {
-            get { return m_DataAddtionButton; }
-            set { m_DataAddtionButton = value; }
-        }
-        #endregion
-
-        #region ŽQ�Æƒtƒ‰ƒO
-        /// <summary>
-        /// ŽQ�Æƒtƒ‰ƒO
-        /// </summary>
-        public bool EditLock
-        {
-            get { return m_EditLock; }
-            set { m_EditLock = value; }
-        }
-        #endregion
-
-        #region ƒ†�[ƒU�[�î•ñ
-        /// <summary>
-        /// ƒ†�[ƒU�[�î•ñ
-        /// </summary>
-        private ClsSecurityPermission.UserInfo m_UserInfo = new ClsSecurityPermission.UserInfo()
-        {
-            m_Type = CommonDefine.SecurityRankPos.NormalAuthority,
-            m_GeneralAffairsFlg = (int)SecurityMaster.GeneAffDef.OtherDep,
-            m_SecRange = ClsSecurityPermission.SecRangeType.InCharge
-        };
-        #endregion
-
-        #region ‹¤’Ê�ˆ—��Ý’è
-        // *-----* ‹¤’Ê�ˆ—��Ý’è *-----*
-        /// <summary>
-        /// ŒÄ�oŒ³�I—¹ƒtƒ‰ƒO
-        /// </summary>
-        public bool ParentEnd
-        {
-            get { return m_ParentEnd; }
-            set { m_ParentEnd = value; }
-        }
-        // *-----* ‹¤’Ê�ˆ—��Ý’è *-----*
-        #endregion
-
-        #region �I—¹ƒ{ƒ^ƒ“‰Ÿ‰ºƒtƒ‰ƒO
-        /// <summary>
-        /// �I—¹ƒ{ƒ^ƒ“‰Ÿ‰ºƒtƒ‰ƒO
-        /// </summary>
-        public bool CloseingProcessOn
-        {
-            get { return m_CloseingProcessOn; }
-            set { m_CloseingProcessOn = value; }
-        }
-        #endregion
-
-        #endregion
-
-        #region ƒRƒ“ƒXƒgƒ‰ƒNƒ^
-        public FrmRequestSummaryList()
-        {
-            InitializeComponent();
-        }
-        #endregion
-
-        #region ƒfƒXƒgƒ‰ƒNƒ^
-        ~FrmRequestSummaryList()
-        {
-            try
-            {
-                GC.Collect();
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region ƒtƒH�[ƒ€ƒ��[ƒh
-        /// <summary>
-        /// �‰ŠúƒtƒH�[ƒ€ƒ��[ƒh
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void FrmRequestSummaryList_Load(object sender, EventArgs e)
-        {
-            try
-            {
-                // ‘Î�ÛŒŽƒRƒ“ƒ{ƒ{ƒbƒNƒXƒZƒbƒg
-                LoadTargetMonth(ref m_Payday);
-
-                int DepCode = 0;
-                int PersonCode = 0;
-                // ƒpƒ‰ƒ��[ƒ^�‰ŠúƒZƒbƒg
-                SetApprovalInitParametar(ref DepCode, ref PersonCode);
-
-                // ƒRƒ“ƒ{ƒ{ƒbƒNƒX�‰Šú•\Ž¦
-                InitCombBox(DepCode, PersonCode);
-
-                // ƒ†�[ƒUŒ ŒÀ�Ý’è
-                ClsSecurityPermission.SetUserType(m_UserInfo);
-
-                // �‰Šú•\Ž¦
-                InitDataLoad();
-
-                // •\Ž¦ƒXƒ^ƒCƒ‹‚Ì•Ï�X�i‹ÆŽÒ�j
-                InitDisplayStyle(dgvCompany);
-
-                // •\Ž¦ƒXƒ^ƒCƒ‹‚Ì•Ï�X�iŒ»�ê�j
-                InitDisplayStyle(dgvProject);
-
-                // Œ»�ê’S“–ŽÒ‚Ì�ê�‡‚Í�A�‰Šú•\Ž¦‚ÍŒ»�ê’PˆÊ
-                if (m_UserInfo.m_Type == CommonDefine.SecurityRankPos.NormalAuthority)
-                {
-                    rdbProject.Checked = true;
-                    rdbCompany.Checked = false;
-                }
-                // ‘�–±’S“–‚Í�A�‰Šú•\Ž¦‚Í‹ÆŽÒ’PˆÊ
-                if (m_UserInfo.m_GeneralAffairsFlg == (int)SecurityMaster.GeneAffDef.GeneralDep)
-                {
-                    rdbProject.Checked = false;
-                    rdbCompany.Checked = true;
-                }
-
-                showView();
-                SetColumnID();
-                controlButton();
-
-                // •\Ž¦
-                DispGridData();
-
-                // *-----* �ˆ—�ˆÚ“®ƒ{ƒ^ƒ“�Ý’è *-----*
-                CreateProcessContextMenu();
-                // *-----* �ˆ—�ˆÚ“®ƒ{ƒ^ƒ“�Ý’è *-----*
-
-                // �³”Fƒ{ƒ^ƒ“‚Ì•\Ž¦�§Œä
-                ApprovalDispControl();
-
-                m_initDataLoad = false;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region ƒZƒ‹‚Ì“ü—Í‘O�ˆ—�
-        /// <summary>
-        /// ƒZƒ‹‚Ì“ü—Í‘O�ˆ—�
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void DataGridView_CellEnter(object sender, DataGridViewCellEventArgs e)
-        {
-            try
-            {
-                // ƒf�[ƒ^ƒOƒŠƒbƒh‚ªActive‚Å‚È‚¯‚ê‚Î�ˆ—�‚µ‚È‚¢
-                if (ActiveControl == null) return;
-                if (!ActiveControl.GetType().Equals(typeof(DataGridViewEX))) return;
-
-                DataGridViewEX dgv = (DataGridViewEX)sender;
-
-                // “Ç�ž�ê—pƒZƒ‹‚Í�ˆ—�‚µ‚È‚¢
-                if (dgv.CurrentCell.ReadOnly) return;
-
-                //IME‚Ìƒ‚�[ƒh‚ð•Ï�X‚·‚é
-                switch (e.ColumnIndex)
-                {
-                    case (int)DispColumn.DetailName:    // �¿‹�–¾�×
-                    case (int)DispColumn.Bikou:         // ƒRƒ�ƒ“ƒg
-                        dgv.ImeMode = ImeMode.On;
-                        break;
-                    default:
-                        dgv.ImeMode = ImeMode.Disable;
-                        break;
-                }
-                // ƒZƒ‹“à—e‘I‘ð
-                dgv.BeginEdit(true);
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region ƒOƒŠƒbƒhƒZƒ‹’l•Ï‰»
-        /// <summary>
-        /// ƒOƒŠƒbƒhƒZƒ‹’l•Ï‰»
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void DataGridView_CellValueChanged(object sender, DataGridViewCellEventArgs e)
-        {
-            DataGridViewEX dgv = (DataGridViewEX)sender;
-            try
-            {
-                // ˆê’UƒZƒ‹‚Ì’l•Ï�XƒCƒxƒ“ƒg‚ð–³Œø‚É‚·‚é
-                dgv.CellValueChanged -= DataGridView_CellValueChanged;
-
-                if (e.ColumnIndex < 0 || e.RowIndex < 0) return;
-                DataGridViewRow CurRow = dgv.Rows[e.RowIndex];
-
-                if (CurRow == null) return;
-
-                // ƒZƒ‹’l‚Ìƒ`ƒFƒbƒN
-                switch (e.ColumnIndex)
-                {
-                    case (int)DispColumn.DetailName:    // �¿‹�–¾�×
-                    case (int)DispColumn.Bikou:         // ƒRƒ�ƒ“ƒg
-                        // ’l‚Ìƒ`ƒFƒbƒN�i“¯‚¶�ê�‡‚Í•Ï�Xƒtƒ‰ƒO‚ðON‚É‚µ‚È‚¢�j
-                        string sCurVal = CommonMotions.cnvString(CurRow.Cells[e.ColumnIndex].Value);
-                        if (CommonMotions.cnvString(m_BeforeValue) == sCurVal) return;
-                        break;
-                    case (int)DispColumn.KyoryokuUmu:   // ‹¦—Í‹à—L–³
-                        break;
-                    default:
-                        if (m_CheckCol != e.ColumnIndex || m_CheckRow != e.RowIndex) return;
-                        int nCurVal = CommonMotions.cnvInt(CurRow.Cells[e.ColumnIndex].Value);
-                        // ’l‚Ìƒ`ƒFƒbƒN�i“¯‚¶�ê�‡‚Í•Ï�Xƒtƒ‰ƒO‚ðON‚É‚µ‚È‚¢�j
-                        if (CommonMotions.cnvInt(m_BeforeValue) == nCurVal) return;
-                        break;
-                }
-
-                // •Ï�Xƒtƒ‰ƒO
-                if (DataRowState.Unchanged == (DataRowState)CurRow.Cells[(int)DispColumn.RowState].Value)
-                    CurRow.Cells[(int)DispColumn.RowState].Value = DataRowState.Modified;
-
-                // Žx•¥�î•ñ‚ð“ü—Í‚µ‚½�ê�‡‚Í‚»‚Ì�l‚ª�\�¿’S“–ŽÒ
-                switch (e.ColumnIndex)
-                {
-                    case (int)DispColumn.KojiSeikyu:
-                    case (int)DispColumn.KojiNebiki:
-                    case (int)DispColumn.KojiSousai:
-                    case (int)DispColumn.KojiKosoku:
-                    case (int)DispColumn.KojiKanamono:
-                    case (int)DispColumn.KyoryokuUmu:
-                        // �\�¿‘O‚Í“ü—ÍŽÒ‚ð’S“–ŽÒ‚Æ‚µ‚ÄƒZƒbƒg‚·‚é
-                        if (CommonMotions.cnvDate(CurRow.Cells[(int)DispColumn.RowType].Value) == DateTime.MinValue.Date)
-                        {
-                            CurRow.Cells[(int)DispColumn.TantoShoninCode].Value = CommonMotions.LoginUserData.PersonCode;   // �\�¿’S“–ŽÒ
-                            CurRow.Cells[(int)DispColumn.TantoShonin].Value = CommonMotions.LoginUserData.PersonName;       // �\�¿’S“–ŽÒ–¼
-                        }
-                        break;
-                    default:
-                        break;
-                }
-
-                // �¬Œv‚ª–³‚¯‚ê‚ÎˆÈ‰º‚Ì�ˆ—�‚ð�s‚í‚È‚¢
-                if (dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.�¬Œv)
-                                                        .ToArray()
-                                                        .Count() == 0) return;
-
-                // ‹¦—Í‹à—L–³ƒJƒ‰ƒ€ˆÈŠO‚Í�ˆ—�‚µ‚È‚¢
-                if (e.ColumnIndex != (int)DispColumn.KyoryokuUmu) return;
-
-                //—ñ‚ÌƒCƒ“ƒfƒbƒNƒX‚ðŠm”F‚·‚é
-                int Code_Column = 0;
-                if (dgvCompany.Visible == true)
-                {
-                    Code_Column = (int)DispColumn_Company.SubConstractorCode;
-                }
-                else
-                {
-                    Code_Column = (int)DispColumn_Project.GengaCode;
-                }
-
-                // ‹¦—Í‹à�Ý’è
-                SetKyoryokukin(dgv, e.RowIndex, Code_Column);
-
-                // �‡Œv�s
-                setGoukei(Code_Column, CommonMotions.cnvInt(dgv[Code_Column, e.RowIndex].Value));
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-            finally
-            {
-                // ƒZƒ‹‚Ì’l•Ï�XƒCƒxƒ“ƒg‚ð—LŒø‚É‚·‚é
-                dgv.CellValueChanged += DataGridView_CellValueChanged;
-            }
-        }
-        #endregion
-
-        #region ƒtƒH�[ƒ€KeyDown
-        /// <summary>
-        /// EntryƒL�[‚Å‚ÌˆÚ“®�ˆ—�
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void FrmRequestSummaryList_KeyDown(object sender, KeyEventArgs e)
-        {
-            try
-            {
-                //EnterƒL�[‚ª‰Ÿ‚³‚ê‚Ä‚¢‚é‚©Šm”F
-                //Alt‚©CtrlƒL�[‚ª‰Ÿ‚³‚ê‚Ä‚¢‚éŽž‚Í–³Ž‹‚·‚é
-                if ((e.KeyCode == Keys.Enter) && !e.Alt && !e.Control)
-                {
-                    //‚ ‚½‚©‚àTabƒL�[‚ª‰Ÿ‚³‚ê‚½‚©‚Ì‚æ‚¤‚É‚·‚é
-                    //Shift‚ª‰Ÿ‚³‚ê‚Ä‚¢‚éŽž‚Í‘O‚ÌƒRƒ“ƒgƒ��[ƒ‹‚ÌƒtƒH�[ƒJƒX‚ðˆÚ“®
-                    this.ProcessTabKey(!e.Shift);
-
-                    e.Handled = true;
-                    //.NET Framework 2.0ˆÈ�~
-                    e.SuppressKeyPress = true;
-                }
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region ƒZƒ‹ƒ_ƒuƒ‹ƒNƒŠƒbƒN
-        /// <summary>
-        /// ƒZƒ‹ƒ_ƒuƒ‹ƒNƒŠƒbƒN
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void DataGridView_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
-        {
-            // ƒ_ƒuƒ‹ƒNƒŠƒbƒN�ˆ—�
-            GridDoubleClick(sender, e);
-        }
-        #endregion
-
-        #region ƒZƒ‹•Ï�XŒãƒRƒ~ƒbƒg‚³‚ê‚Ä‚¢‚È‚¢�ê�‡ƒRƒ~ƒbƒg‚·‚é
-        /// <summary>
-        /// ƒZƒ‹•Ï�XŒãƒRƒ~ƒbƒg‚³‚ê‚Ä‚¢‚È‚¢�ê�‡ƒRƒ~ƒbƒg‚·‚é
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void DataGridView_CurrentCellDirtyStateChanged(object sender, EventArgs e)
-        {
-            try
-            {
-                DataGridViewEX dgv = (DataGridViewEX)sender;
-
-                if (dgv.CurrentCellAddress.X == (int)DispColumn.KyoryokuUmu && dgv.IsCurrentCellDirty)
-                {
-                    //ƒRƒ~ƒbƒg‚·‚é
-                    dgv.CommitEdit(DataGridViewDataErrorContexts.Commit);
-                    m_bChengeAns = true;
-                }
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region ƒZƒ‹“ü—ÍŠJŽnŽž�ˆ—�
-        /// <summary>
-        /// “ü—Í‘O’l
-        /// </summary>
-        object m_BeforeValue = null;
-        int m_CheckCol = -1;
-        int m_CheckRow = -1;
-        /// <summary>
-        /// ƒZƒ‹“ü—ÍŠJŽnŽž�ˆ—�
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void DataGridView_CellBeginEdit(object sender, DataGridViewCellCancelEventArgs e)
-        {
-
-            DataGridViewEX dgv = (DataGridViewEX)sender;
-            try
-            {
-                // “ü—ÍƒJƒ‰ƒ€ˆÈŠO‚Í�ˆ—�‚µ‚È‚¢
-                if (e.ColumnIndex != (int)DispColumn.DetailName && e.ColumnIndex < (int)DispColumn.SomuSeikyu) return;
-                if ((int)DispColumn.KyoryokuUmu <= e.ColumnIndex) return;
-
-                ////Œ»�ê–¢“ü—Í‚ÍŒ»�ê‚É�¿‹�‹àŠz“ü—Í‚³‚¹‚È‚¢
-                //if (CommonMotions.cnvInt(dgv.Rows[e.RowIndex].Cells[m_Genba_Column].Value) == 0)
-                //{
-                //    e.Cancel = true;
-                //    return;
-                //}
-
-                switch (e.ColumnIndex)
-                {
-                    case (int)DispColumn.DetailName:        // �¿‹�–¾�×
-                    case (int)DispColumn.KyoryokuUmu:       // ‹¦—Í‹à—L–³
-                    case (int)DispColumn.Bikou:             // ƒRƒ�ƒ“ƒg
-                        break;
-                    default:
-                        // �”’lƒf�[ƒ^—ñ‚Í“ü—Í‘O‚ÉƒJƒ“ƒ}‚ð�œ‹Ž
-                        dgv[e.ColumnIndex, e.RowIndex].Value = CommonMotions.cnvInt(dgv[e.ColumnIndex, e.RowIndex].Value);
-                        break;
-                }
-                dgv[e.ColumnIndex, e.RowIndex].Style.ForeColor = SystemColors.ControlText;
-
-                // ƒZƒ‹’lŽæ“¾
-                m_BeforeValue = dgv[e.ColumnIndex, e.RowIndex].Value;
-                m_CheckCol = e.ColumnIndex;
-                m_CheckRow = e.RowIndex;
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region ƒ‰ƒWƒIƒ{ƒ^ƒ“‘I‘ð
-        /// <summary>
-        /// ƒ‰ƒWƒIƒ{ƒ^ƒ“‘I‘ð
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void rdbCompany_CheckedChanged(object sender, EventArgs e)
-        {
-            try
-            {
-                if (m_initDataLoad) return;
-
-                if (!DispShowView())
-                {
-                    // •Ï�X‹‘”Û‚Í�ó‘Ô‚ðŠî‚É–ß‚·
-                    rdbCompany.CheckedChanged -= new System.EventHandler(this.rdbCompany_CheckedChanged);
-                    if (rdbCompany.Checked) rdbCompany.Checked = false;
-                    else rdbCompany.Checked = true;
-                    rdbCompany.CheckedChanged += new System.EventHandler(this.rdbCompany_CheckedChanged);
-                }
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region ‘Î�ÛŒŽƒRƒ“ƒ{ƒ{ƒbƒNƒX‘I‘ð
-        /// <summary>
-        /// ‘Î�ÛŒŽƒRƒ“ƒ{ƒ{ƒbƒNƒX‘I‘ð
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void cmbTargetMonth_SelectedIndexChanged(object sender, EventArgs e)
-        {
-            if (m_initDataLoad) return;
-
-            // •”��ƒRƒ“ƒ{ƒ{ƒbƒNƒX•Ï�X
-            SetcmbDepartment();
-            // ’S“–ŽÒƒRƒ“ƒ{ƒ{ƒbƒNƒX•Ï�X
-            SetcmbPersons();
-
-            DispShowView();
-        }
-        #endregion
-
-        #region ‹ÆŽÒ’Ç‰Áƒ{ƒ^ƒ“‰Ÿ‰ºŽž
-        /// <summary>
-        /// ‹ÆŽÒ’Ç‰Áƒ{ƒ^ƒ“‰Ÿ‰ºŽž
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void btnAddCompany_Click(object sender, EventArgs e)
-        {
-            // ‹¦—Í‰ïŽÐ‘I‘ð
-            ShowSubConstructorDiag();
-            controlButton_DataCount();
-        }
-        #endregion
-
-        #region ‹ÆŽÒ�í�œƒ{ƒ^ƒ“
-        /// <summary>
-        /// ‹ÆŽÒ�í�œƒ{ƒ^ƒ“
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void btnDeleteCompany_Click(object sender, EventArgs e)
-        {
-            // �í�œ�ˆ—�
-            RemoveCompany();
-        }
-        #endregion
-
-        #region Œ»�ê’Ç‰Áƒ{ƒ^ƒ“‰Ÿ‰ºŽž
-        /// <summary>
-        /// Œ»�ê’Ç‰Áƒ{ƒ^ƒ“‰Ÿ‰ºŽž
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void btnAddProject_Click(object sender, EventArgs e)
-        {
-            // Œ»�ê‘I‘ð
-            ShowProjectDiag();
-            controlButton_DataCount();
-        }
-        #endregion
-
-        #region Œ»�ê�í�œƒ{ƒ^ƒ“
-        /// <summary>
-        /// Œ»�ê�í�œƒ{ƒ^ƒ“
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void btnDeleteProject_Click(object sender, EventArgs e)
-        {
-            // �í�œ�ˆ—�
-            RemoveProject();
-        }
-        #endregion
-
-        #region ƒZƒ‹“ü—ÍŠ®—¹Œã�ˆ—�
-        /// <summary>
-        /// ƒZƒ‹“ü—ÍŠ®—¹Œã�ˆ—�
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void DataGridView_CellValidated(object sender, DataGridViewCellEventArgs e)
-        {
-            // ƒZƒ‹“ü—ÍŒã�ˆ—�
-            CellInputAfter(sender, e);
-        }
-        #endregion
-
-        #region ƒZƒ‹‚ÌƒtƒH�[ƒ}ƒbƒg
-        /// <summary>
-        /// ƒZƒ‹‚ÌƒtƒH�[ƒ}ƒbƒg
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void DataGridView_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e)
-        {
-            DataGridViewEX dgv = (DataGridViewEX)sender;
-
-            try
-            {
-                if (dgv.RowCount == 0) return;
-                if (e.ColumnIndex < (int)DispColumn.SomuSeikyu) return;
-                if ((int)DispColumn.KyoryokuUmu <= e.ColumnIndex) return;
-
-                RowsTypeDef TargetRowtype = (RowsTypeDef)dgv[(int)DispColumn.RowType, e.RowIndex].Value;
-
-                //if (TargetRowtype != RowsTypeDef.�¬Œv) return;
-                switch (e.ColumnIndex)
-                {
-                    case (int)DispColumn.DetailName:        // �¿‹�–¾�×
-                    case (int)DispColumn.KyoryokuUmu:       // ‹¦—Í‹à—L–³
-                    case (int)DispColumn.Bikou:             // ƒRƒ�ƒ“ƒg
-                        break;
-                    default:
-                        dgv[e.ColumnIndex, e.RowIndex].Value = CommonMotions.cnvInt(dgv[e.ColumnIndex, e.RowIndex].Value).ToString("#,0");
-
-                        // ƒ}ƒCƒiƒX’l‚Í�Ô
-                        if (CommonMotions.cnvInt(dgv[e.ColumnIndex, e.RowIndex].Value) < 0)
-                        {
-                            dgv[e.ColumnIndex, e.RowIndex].Style.ForeColor = Color.Red;
-                        }
-                        else
-                        {
-                            dgv[e.ColumnIndex, e.RowIndex].Style.ForeColor = SystemColors.ControlText;
-                        }
-                        break;
-                }
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region �~ƒ{ƒ^ƒ“
-        /// <summary>
-        /// �~ƒ{ƒ^ƒ“‰Ÿ‰º�ˆ—�
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void FrmRequestSummaryList_FormClosing(object sender, FormClosingEventArgs e)
-        {
-            if (m_bChengeAns)
-            {
-                if (MessageBox.Show("ƒf�[ƒ^‚É•Ï�X‚ª‚ ‚è‚Ü‚·�A“o˜^‚¹‚¸‚É�I—¹‚µ‚Ä‚æ‚ë‚µ‚¢‚Å‚·‚©�H", "�I—¹Šm”F"
-                                , MessageBoxButtons.YesNo, MessageBoxIcon.Warning) == DialogResult.No)
-                {
-                    e.Cancel = true;
-                    return;
-                }
-            }
-
-            // �I—¹ŽžƒTƒuƒtƒH�[ƒ€ƒNƒ��[ƒY
-            TerminatingProcess();
-
-            // ‘Oƒvƒ�ƒZƒX‚É–ß‚é
-            if (m_CloseingProcessOff) ClsExcute.BackProcess();
-        }
-        #endregion
-
-        #region �I—¹ƒ{ƒ^ƒ“
-        /// <summary>
-        /// �I—¹ƒ{ƒ^ƒ“ƒNƒŠƒbƒN
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void btnEnd_Click(object sender, EventArgs e)
-        {
-            this.Close();
-        }
-        #endregion
-
-        #region “o˜^ƒ{ƒ^ƒ“
-        /// <summary>
-        /// “o˜^ƒ{ƒ^ƒ“‰Ÿ‰º
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void btnDataEntry_Click(object sender, EventArgs e)
-        {
-            try
-            {
-                DataGridViewEX dgv = getShowingView();
-
-                // �ˆ—�‚µ‚È‚¢
-                if ((m_Select_DataCount == 0 && dgv.Rows.Count == 0)
-                    || (m_EditLock))
-                {
-                    return;
-                }
-
-                //ƒf�[ƒ^ƒ`ƒFƒbƒN
-                if (!DispFeildCheck()) return;
-
-                if (MessageBox.Show("•\Ž¦’†‚Ìƒf�[ƒ^‚ð“o˜^‚µ‚Ü‚·�B", "“o˜^Šm”F", MessageBoxButtons.YesNo, MessageBoxIcon.Question) != DialogResult.Yes) return;
-
-                // ƒf�[ƒ^“o˜^
-                if (!DataEntryProcess()) return;
-
-                // ƒf�[ƒ^•\Ž¦
-                DispGridData();
-
-                // �I—¹ƒ�ƒbƒZ�[ƒW•\Ž¦
-                string strProcName = string.Empty;
-                if (m_Labourkind == (int)CommonDefine.LabourKinds.Labor)
-                {
-                    strProcName = "ŽèŠÔŽx•¥ƒf�[ƒ^";
-                }
-                else
-                {
-                    strProcName = "‹ÆŽÒŽx•¥ƒf�[ƒ^";
-                }
-                CommonMotions.EntryEndMessage(strProcName);
-
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-
-        }
-        #endregion
-
-        #region •Êƒvƒ�ƒZƒX‹N“®ƒ{ƒ^ƒ“
-        /// <summary>
-        /// •Êƒvƒ�ƒZƒX‹N“®ƒ{ƒ^ƒ“‰Ÿ‰º
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void btnOtherProc_Click(object sender, EventArgs e)
-        {
-            try
-            {
-                // ƒJƒŒƒ“ƒg�s‚æ‚è�HŽ–”Ô�†‚ðŽæ“¾‚·‚é
-                GetConstructionCode();
-                if (m_ConstructionCode == 0) return;
-                // �HŽ–�î•ñ‚ðŽæ“¾‚·‚é
-                GetBaseInfoData();
-                // •Êƒvƒ�ƒZƒXˆÚ“®ƒ�ƒjƒ…�[�X�V
-                UpDateProcessContextMenu();
-
-                if (m_bChengeAns)
-                {   // ----- ƒf�[ƒ^•Ï�X—LŽž‚Íƒf�[ƒ^“o˜^
-                    DataEntryProcess();
-                }
-
-                // ƒ{ƒ^ƒ“‚Ì�^�ã‚Éƒ�ƒjƒ…�[‚ð•\Ž¦‚·‚é
-                int h = m_ProcessContextMenuStrip.Height * -1;
-                m_ProcessContextMenuStrip.Show(btnOtherProc, new Point(0, h));
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region �\�¿ƒ{ƒ^ƒ“‰Ÿ‰º
-        /// <summary>
-        /// �\�¿ƒ{ƒ^ƒ“‰Ÿ‰º
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void btnPetition_Click(object sender, EventArgs e)
-        {
-            if (GetDispRowCount() < 1) return;
-
-            // ‘I‘ðƒf�[ƒ^ƒ`ƒFƒbƒN
-            if (!CmbDataSelectCheck()) return;
-
-            if (MessageBox.Show("•\Ž¦‚³‚ê‚Ä‚¢‚éƒf�[ƒ^‚Ì�³”F�\�¿‚ð�s‚¢‚Ü‚·�B"
-                                , "�³”F�\�¿Šm”F"
-                                , MessageBoxButtons.YesNo
-                                , MessageBoxIcon.Question) != DialogResult.Yes) return;
-
-            // �³”F�\�¿�ˆ—�
-            PetitionProcess();
-        }
-        #endregion
-
-        #region �³”Fƒ{ƒ^ƒ“‰Ÿ‰º
-        /// <summary>
-        /// �³”Fƒ{ƒ^ƒ“‰Ÿ‰º
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void btnApproval_Click(object sender, EventArgs e)
-        {
-            // ‘I‘ðƒf�[ƒ^ƒ`ƒFƒbƒN
-            if (!CmbDataSelectCheck()) return;
-
-            if (MessageBox.Show("•\Ž¦‚³‚ê‚Ä‚¢‚é�s‚Ì�³”F‚ð�s‚¢‚Ü‚·�B"
-                                , "�³”FŠm”F"
-                                , MessageBoxButtons.YesNo
-                                , MessageBoxIcon.Question) != DialogResult.Yes) return;
-
-            // �³”Fƒ{ƒ^ƒ“‰Ÿ‰º�ˆ—�
-            ApprovalProcess();
-        }
-        #endregion
-
-        #region �³”Fƒpƒlƒ‹�ipnlApproval�j�³”Fƒ{ƒ^ƒ“
-        /// <summary>
-        /// �³”Fƒpƒlƒ‹�ipnlApproval�j�³”Fƒ{ƒ^ƒ“
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void btnOnApproval_Click(object sender, EventArgs e)
-        {
-            // ‘I‘ðƒf�[ƒ^ƒ`ƒFƒbƒN
-            if (!CmbDataSelectCheck()) return;
-
-            // �³”Fƒpƒlƒ‹�ipnlApproval�j�³”Fƒ{ƒ^ƒ“ 
-            OnApprovalProcess();
-        }
-        #endregion
-
-        #region �³”Fƒpƒlƒ‹�ipnlApproval�j•Û—¯ƒ{ƒ^ƒ“
-        /// <summary>
-        /// �³”Fƒpƒlƒ‹�ipnlApproval�j•Û—¯ƒ{ƒ^ƒ“
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void btnOnHold_Click(object sender, EventArgs e)
-        {
-            // ‘I‘ðƒf�[ƒ^ƒ`ƒFƒbƒN
-            if (!CmbDataSelectCheck()) return;
-
-            // �³”Fƒpƒlƒ‹�ipnlApproval�j•Û—¯ƒ{ƒ^ƒ“‰Ÿ‰º�ˆ—�
-            OnHoldProcess();
-        }
-        #endregion
-
-        #region �³”Fƒpƒlƒ‹�ipnlApproval�j•s�³”Fƒ{ƒ^ƒ“
-        /// <summary>
-        /// �³”Fƒpƒlƒ‹�ipnlApproval�j•s�³”Fƒ{ƒ^ƒ“
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void btnNotApproval_Click(object sender, EventArgs e)
-        {
-            // ‘I‘ðƒf�[ƒ^ƒ`ƒFƒbƒN
-            if (!CmbDataSelectCheck()) return;
-
-            // �³”Fƒpƒlƒ‹�ipnlApproval�j•s�³”Fƒ{ƒ^ƒ“‰Ÿ‰º�ˆ—�
-            NotApprovalProcess();
-        }
-        #endregion
-
-        #region •”��ƒRƒ“ƒ{ƒ{ƒbƒNƒX•Ï�X
-        private void cmbDepartment_SelectedIndexChanged(object sender, EventArgs e)
-        {
-            if (m_initDataLoad) return;
-
-            // ’S“–ŽÒƒRƒ“ƒ{ƒ{ƒbƒNƒX•Ï�X
-            SetcmbPersons();
-
-            // ƒf�[ƒ^•\Ž¦
-            DispGridData();
-        }
-
-        #endregion
-
-        #region ’S“–ŽÒƒRƒ“ƒ{ƒ{ƒbƒNƒX•Ï�X
-        private void cmbPerson_SelectedIndexChanged(object sender, EventArgs e)
-        {
-            if (m_initDataLoad) return;
-
-            // ’S“–ŽÒ‘I‘ðŽž•”��‘I‘ð‚ð�Ý’è‚·‚é
-            if (!SetPerosonToDepartment()) return;
-
-            // ƒf�[ƒ^•\Ž¦
-            DispGridData();
-
-            // �³”Fƒ{ƒ^ƒ“‚Ì•\Ž¦�§Œä
-            ApprovalDispControl();
-        }
-        #endregion
-
-        #region �Å�V�ó‘Ô‚Ö�Ä•`‰æ
-        /// <summary>
-        /// �Å�V�ó‘Ô‚Ö�Ä•`‰æ
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void btnDataUpDate_Click(object sender, EventArgs e)
-        {
-            // ƒf�[ƒ^•\Ž¦
-            DispGridData();
-        }
-        #endregion
-
-        #region ‹ÆŽÒƒOƒŠƒbƒhƒ}ƒEƒXƒAƒbƒv
-        /// <summary>
-        /// ‹ÆŽÒƒOƒŠƒbƒhƒ}ƒEƒXƒAƒbƒv
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void dgvCompany_MouseUp(object sender, MouseEventArgs e)
-        {
-            // ‘I‘ðƒZƒ‹ŒvŽZ�ˆ—�
-            GridCalcProc();
-        }
-        #endregion
-
-        #region Œ»�êƒOƒŠƒbƒhƒ}ƒEƒXƒAƒbƒv
-        /// <summary>
-        /// Œ»�êƒOƒŠƒbƒhƒ}ƒEƒXƒAƒbƒv
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void dgvProject_MouseUp(object sender, MouseEventArgs e)
-        {
-            // ‘I‘ðƒZƒ‹ŒvŽZ�ˆ—�
-            GridCalcProc();
-        }
-        #endregion
-
-        #region ŽèŠÔ�E’Ê�í‹ÆŽÒˆê——‰æ–Ê‚ð•\Ž¦‚·‚é
-        /// <summary>
-        /// ŽèŠÔ�E’Ê�í‹ÆŽÒˆê——‰æ–Ê‚ð•\Ž¦‚·‚é
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void btnTotalDsp_Click(object sender, EventArgs e)
-        {
-            DispReqSumTotalList();
-        }
-        #endregion
-    }
-}
\ No newline at end of file
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/ReqMessage/FrmReqMessageWriter.designer.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/ReqMessage/FrmReqMessageWriter.designer.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/ReqMessage/FrmReqMessageWriter.designer.cs	(revision 468)
@@ -133,10 +133,9 @@
             // 
             // cmbWriter
             // 
-            this.cmbWriter.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
             this.cmbWriter.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.cmbWriter.FormattingEnabled = true;
-            this.cmbWriter.Location = new System.Drawing.Point(14, 28);
+            this.cmbWriter.Location = new System.Drawing.Point(14, 37);
             this.cmbWriter.Name = "cmbWriter";
             this.cmbWriter.Size = new System.Drawing.Size(394, 27);
             this.cmbWriter.TabIndex = 10;
@@ -143,10 +142,9 @@
             // 
             // label8
             // 
-            this.label8.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
             this.label8.BackColor = System.Drawing.Color.DeepSkyBlue;
             this.label8.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label8.Location = new System.Drawing.Point(14, 0);
+            this.label8.Location = new System.Drawing.Point(14, 10);
             this.label8.Name = "label8";
             this.label8.Size = new System.Drawing.Size(200, 25);
             this.label8.TabIndex = 15;
@@ -155,9 +153,6 @@
             // 
             // txtTitle
             // 
-            this.txtTitle.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
-            | System.Windows.Forms.AnchorStyles.Left) 
-            | System.Windows.Forms.AnchorStyles.Right)));
             this.txtTitle.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.txtTitle.ImeMode = System.Windows.Forms.ImeMode.On;
             this.txtTitle.Location = new System.Drawing.Point(14, 104);
@@ -168,10 +163,9 @@
             // 
             // label6
             // 
-            this.label6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
             this.label6.BackColor = System.Drawing.Color.DeepSkyBlue;
             this.label6.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label6.Location = new System.Drawing.Point(14, 64);
+            this.label6.Location = new System.Drawing.Point(14, 77);
             this.label6.Name = "label6";
             this.label6.Size = new System.Drawing.Size(200, 25);
             this.label6.TabIndex = 13;
@@ -180,10 +174,9 @@
             // 
             // label4
             // 
-            this.label4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
             this.label4.BackColor = System.Drawing.Color.DeepSkyBlue;
             this.label4.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label4.Location = new System.Drawing.Point(14, 128);
+            this.label4.Location = new System.Drawing.Point(14, 141);
             this.label4.Name = "label4";
             this.label4.Size = new System.Drawing.Size(200, 25);
             this.label4.TabIndex = 14;
@@ -199,6 +192,7 @@
             this.txtMessage.Location = new System.Drawing.Point(14, 168);
             this.txtMessage.Multiline = true;
             this.txtMessage.Name = "txtMessage";
+            this.txtMessage.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
             this.txtMessage.Size = new System.Drawing.Size(1194, 284);
             this.txtMessage.TabIndex = 12;
             // 
@@ -243,9 +237,10 @@
             // 
             // label7
             // 
+            this.label7.Anchor = System.Windows.Forms.AnchorStyles.Left;
             this.label7.BackColor = System.Drawing.Color.DeepSkyBlue;
             this.label7.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label7.Location = new System.Drawing.Point(3, 0);
+            this.label7.Location = new System.Drawing.Point(3, 2);
             this.label7.Name = "label7";
             this.label7.Size = new System.Drawing.Size(200, 25);
             this.label7.TabIndex = 8;
@@ -284,9 +279,10 @@
             // 
             // label2
             // 
+            this.label2.Anchor = System.Windows.Forms.AnchorStyles.Left;
             this.label2.BackColor = System.Drawing.Color.DeepSkyBlue;
             this.label2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label2.Location = new System.Drawing.Point(769, 0);
+            this.label2.Location = new System.Drawing.Point(769, 2);
             this.label2.Name = "label2";
             this.label2.Size = new System.Drawing.Size(200, 25);
             this.label2.TabIndex = 8;
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/ReqMessage/FrmReqMsgWrtAux.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/ReqMessage/FrmReqMsgWrtAux.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/ReqMessage/FrmReqMsgWrtAux.cs	(revision 468)
@@ -189,6 +189,7 @@
             {
                 StringBuilder strSQL = new StringBuilder();
                 strSQL.AppendFormat(" Where DeleteFlg = {0}", (int)CommonDefine.DataDeleteDef.Exists);
+                strSQL.Append(" And RequestImputId != Password");
                 if (SelData.Key == KindList[0].Key)
                 {
                     // é€šå¸¸æ”¯æ‰•æ¥­è€…
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestInput/FrmRequestInputAuxiliary.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestInput/FrmRequestInputAuxiliary.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestInput/FrmRequestInputAuxiliary.cs	(revision 468)
@@ -238,10 +238,6 @@
         private double m_TaxRate = (CommonMotions.AdaptationConsumptionTax(DateTime.Now) / 100);
 
         /// <summary>
-        /// ä»¥ä¸‹ã€�è¿½åŠ åˆ†
-        /// </summary>
-
-        /// <summary>
         /// è«‹æ±‚å·¥äº‹ã�®å·¥äº‹åŸºæœ¬æƒ…å ±æ˜Žç´°ãƒªã‚¹ãƒˆ
         /// </summary>
         //private List<ConstructionBaseInfoDetail> m_BaseConstructionBaseInfoDetail = new List<ConstructionBaseInfoDetail>();
@@ -454,13 +450,13 @@
                 }
 
                 // ãƒ˜ãƒƒãƒ€éƒ¨æ§‹ç¯‰
-                int cnt = Createheader(dgv1);
+                Createheader(dgv1);
 
                 // ãƒœãƒ‡ã‚£éƒ¨æ§‹ç¯‰
-                cnt = CreateBody(dgv1, cnt);
+                CreateBody(dgv1);
 
                 // ãƒ•ãƒƒã‚¿éƒ¨æ§‹ç¯‰
-                cnt = CreateFooter(dgv1, cnt);
+                CreateFooter(dgv1);
             }
             catch (Exception ex)
             {
@@ -480,7 +476,7 @@
         /// <summary>
         /// ãƒ˜ãƒƒãƒ€éƒ¨ã�®æ§‹ç¯‰
         /// </summary>
-        private int Createheader(DataGridViewEX dgv)
+        private void Createheader(DataGridViewEX dgv)
         {
             int rowsNum = s_GridHeadertitle.Count();
             try
@@ -491,25 +487,26 @@
                 dgv.Columns[(int)ColumnName.Heading].DefaultCellStyle.WrapMode = DataGridViewTriState.True;
                 for (int i = 0; i < rowsNum; i++)
                 {
+                    DataGridViewRow CurRow = dgv.Rows[i];
                     // è¡Œå›ºå®šåŒ–
-                    dgv.Rows[i].Frozen = true;
+                    CurRow.Frozen = true;
 
                     // è¡Œè‰²ã‚»ãƒƒãƒˆ
                     if (s_GridHeadertitle[i].Equals(s_GridHeadertitle[6]))
                     {
                         // è«‹æ±‚æ—¥ã�¯è‰²ãƒ»é«˜ã�•ã‚’å¤‰ã�ˆã‚‹
-                        dgv.Rows[i].DefaultCellStyle.BackColor = Color.LavenderBlush;
-                        dgv.Rows[i].Height = 36;    // è«‹æ±‚æ—¥è¡Œã�¯é«˜ã�•å¤‰æ›´
+                        CurRow.DefaultCellStyle.BackColor = Color.LavenderBlush;
+                        CurRow.Height = 36;    // è«‹æ±‚æ—¥è¡Œã�¯é«˜ã�•å¤‰æ›´
                     }
                     else
                     {
-                        dgv.Rows[i].DefaultCellStyle.BackColor = Color.LightGray;
+                        CurRow.DefaultCellStyle.BackColor = Color.LightGray;
                     }
 
                     // å›ºå®šæ–‡å­—ã‚»ãƒƒãƒˆ
-                    dgv[(int)ColumnName.No, i].Value = i.ToString();
-                    dgv[(int)ColumnName.DgvKind, i].Value = ((int)dgvKind.Header).ToString();
-                    dgv[(int)ColumnName.Heading, i].Value = s_GridHeadertitle[i];
+                    CurRow.Cells[(int)ColumnName.No].Value = i;
+                    CurRow.Cells[(int)ColumnName.DgvKind].Value = (int)dgvKind.Header;
+                    CurRow.Cells[(int)ColumnName.Heading].Value = s_GridHeadertitle[i];
                 }
 
                 dgv[(int)ColumnName.ConstructionType, (int)HeaderRowIndex.RequestMonth].Value = "è«‹æ±‚å·¥äº‹";
@@ -520,7 +517,6 @@
             {
                 logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
             }
-            return rowsNum;
         }
         #endregion
 
@@ -528,36 +524,43 @@
         /// <summary>
         /// ãƒœãƒ‡ã‚£éƒ¨ã�®æ§‹ç¯‰
         /// </summary>
-        private int CreateBody(DataGridViewEX dgv, int cnt)
+        private void CreateBody(DataGridViewEX dgv)
         {
             try
             {
                 // ãƒœãƒ‡ã‚£éƒ¨ã�¯2è¡ŒÃ—å¢—æ¸›å·¥äº‹æ•°12å›ž
+                int cnt = dgv.RowCount;
                 dgv.Rows.Add(24);
 
                 int wrkcnt = 0;
+                dgv.Rows[cnt].Cells[(int)ColumnName.No].Value = cnt;
                 for (int i = cnt; i < dgv.RowCount; i += 2)
                 {
+                    DataGridViewRow CurRow = dgv.Rows[i];
+                    DataGridViewRow NextRow = dgv.Rows[i + 1];
+
                     if ((wrkcnt % 2) == 0)
                     {
-                        dgv.Rows[i].DefaultCellStyle.BackColor = Color.White;
-                        dgv.Rows[(i + 1)].DefaultCellStyle.BackColor = Color.White;
+                        CurRow.DefaultCellStyle.BackColor = Color.White;
+                        NextRow.DefaultCellStyle.BackColor = Color.White;
                     }
                     else
                     {
-                        dgv.Rows[i].DefaultCellStyle.BackColor = Color.LightBlue;
-                        dgv.Rows[(i + 1)].DefaultCellStyle.BackColor = Color.LightBlue;
+                        CurRow.DefaultCellStyle.BackColor = Color.LightBlue;
+                        NextRow.DefaultCellStyle.BackColor = Color.LightBlue;
                     }
-                    dgv[(int)ColumnName.No, cnt].Value = cnt.ToString();
 
-                    dgv[(int)ColumnName.Heading, (i)].Value = "è«‹æ±‚é‡‘é¡�";
-                    dgv[(int)ColumnName.Heading, (i + 1)].Value = "æ¶ˆè²»ç¨Ž";
+                    CurRow.Cells[(int)ColumnName.Heading].Value = "è«‹æ±‚é‡‘é¡�";
+                    NextRow.Cells[(int)ColumnName.Heading].Value = "æ¶ˆè²»ç¨Ž";
 
+                    CurRow.Cells[(int)ColumnName.DgvKind].Value = (int)dgvKind.Body;
+                    NextRow.Cells[(int)ColumnName.DgvKind].Value = (int)dgvKind.Body;
+
                     // å·¥äº‹å¢—æ¸›6å›žç›®ä»¥é™�ã�¯åˆ�æœŸè¡¨ç¤ºã�—ã�ªã�„
                     if (wrkcnt > 5)
                     {
-                        dgv.Rows[i].Visible = false;
-                        dgv.Rows[(i + 1)].Visible = false;
+                        CurRow.Visible = false;
+                        NextRow.Visible = false;
                     }
                     wrkcnt++;
                 }
@@ -567,30 +570,32 @@
             {
                 logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
             }
-            return cnt;
         }
         #endregion
 
         #region ãƒ•ãƒƒã‚¿éƒ¨ã�®æ§‹ç¯‰
+        private string[] s_Fottitle = { "å…¥é‡‘æ—¥", "å…¥é‡‘é‡‘é¡�", "èª¿æ•´é¡�", "å·®é¡�", "å…¥é‡‘ç¢ºèª�" };
         /// <summary>
         /// ãƒ•ãƒƒã‚¿éƒ¨ã�®æ§‹ç¯‰
         /// </summary>
-        private int CreateFooter(DataGridViewEX dgv, int cnt)
+        private void CreateFooter(DataGridViewEX dgv)
         {
             try
             {
-                string[] title = { "å…¥é‡‘æ—¥", "å…¥é‡‘é‡‘é¡�", "èª¿æ•´é¡�", "å·®é¡�", "å…¥é‡‘ç¢ºèª�" };
-                int rowsNum = title.Count();
+                int rowsNum = s_Fottitle.Count();
+                int nRow = dgv.RowCount;
                 dgv.Rows.Add(rowsNum);
-
+                int cnt = 0;
                 for (int i = 0; i < rowsNum; i++)
                 {
+                    DataGridViewRow CurRow = dgv.Rows[(nRow + i)];
+
                     //dgv.Rows[cnt].DefaultCellStyle.BackColor = Color.Yellow;
-                    dgv.Rows[cnt].DefaultCellStyle.BackColor = Color.LightGray;
+                    CurRow.DefaultCellStyle.BackColor = Color.LightGray;
 
-                    dgv[(int)ColumnName.No, cnt].Value = cnt.ToString();
-                    dgv[(int)ColumnName.DgvKind, cnt].Value = ((int)dgvKind.Footer).ToString();
-                    dgv[(int)ColumnName.Heading, cnt].Value = title[i];
+                    CurRow.Cells[(int)ColumnName.No].Value = cnt;
+                    CurRow.Cells[(int)ColumnName.DgvKind].Value = (int)dgvKind.Footer;
+                    CurRow.Cells[(int)ColumnName.Heading].Value = s_Fottitle[i];
 
                     cnt++;
                 }
@@ -599,7 +604,6 @@
             {
                 logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
             }
-            return cnt;
         }
         #endregion
 
@@ -1259,37 +1263,64 @@
                 // æœ€çµ‚å›žï¼ˆä»Šå›žï¼‰ã�®ã‚«ãƒ©ãƒ ã‚«ã‚¦ãƒ³ãƒˆ
                 int nCol = (int)ColumnName.Sum + m_nMaxOrderNo;
 
+                DataGridViewCell oCell = dgv.Rows[(int)HeaderRowIndex.BillingDate].Cells[nCol];
+                // è‰²ã‚’æ­£å¸¸è‰²ã�¸æˆ»ã�™
+                oCell.Style.BackColor = Color.LavenderBlush;
                 // è«‹æ±‚æ—¥å…¥åŠ›å¿…é ˆãƒ�ã‚§ãƒƒã‚¯
-                DataGridViewCell oCell = dgv.Rows[(int)HeaderRowIndex.BillingDate].Cells[nCol];
                 if (CommonMotions.cnvString(oCell.Value).Length < 1)
                 {
+                    CommonMotions.chgBackColor(oCell, false);
                     ShowMessageBox("è«‹æ±‚æ—¥ã‚’å…¥åŠ›ã�—ã�¦ã��ã� ã�•ã�„ã€‚", "å…¥åŠ›ã‚¨ãƒ©ãƒ¼", MessageBoxButtons.OK, MessageBoxIcon.Error);
                     return false;
                 }
 
-                // æ˜Žç´°ã�®å…¥åŠ›å¿…é ˆãƒ�ã‚§ãƒƒã‚¯
-                long lTotal = 0;
-                for (int iy = 0; iy < dgv.RowCount; iy++)
+                // å¯¾è±¡åˆ—ã�®è‰²ã‚’æ­£å¸¸è‰²ã�¸
+                int wrkcnt = 0;
+                for (int i = ((int)HeaderRowIndex.BillingDate + 1); i < dgv.RowCount; i += 2)
                 {
-                    DataGridViewRow CurRow = dgv.Rows[iy];
-                    int nKind = CommonMotions.cnvInt(CurRow.Cells[(int)ColumnName.DgvKind].Value);
-                    switch (nKind)
+                    DataGridViewRow CurRow = dgv.Rows[i];
+
+                    int nDgvKind = CommonMotions.cnvInt(CurRow.Cells[(int)ColumnName.DgvKind].Value);
+                    if (nDgvKind == (int)dgvKind.Header || nDgvKind == (int)dgvKind.Footer) continue;
+
+                    DataGridViewRow NextRow = dgv.Rows[i + 1];
+
+                    if ((wrkcnt % 2) == 0)
                     {
-                        case (int)dgvKind.BodyMainConstruction:
-                        case (int)dgvKind.BodySubConstruction:
-                            lTotal += CommonMotions.cnvLong(CurRow.Cells[nCol].Value);
-                            break;
-                        default:
-                            break;
+                        CurRow.Cells[nCol].Style.BackColor = Color.White;
+                        NextRow.Cells[nCol].Style.BackColor = Color.White;
                     }
+                    else
+                    {
+                        CurRow.Cells[nCol].Style.BackColor = Color.LightBlue;
+                        NextRow.Cells[nCol].Style.BackColor = Color.LightBlue;
+                    }
+                    wrkcnt++;
                 }
-                if (lTotal < 1)
+
+                // æ˜Žç´°ã�®å…¥åŠ›å¿…é ˆãƒ�ã‚§ãƒƒã‚¯
+                long lTotal = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[(int)ColumnName.DgvKind].Value) == (int)dgvKind.BodyMainConstruction
+                                                                    || CommonMotions.cnvInt(x.Cells[(int)ColumnName.DgvKind].Value) == (int)dgvKind.BodySubConstruction
+                                                                    || CommonMotions.cnvInt(x.Cells[(int)ColumnName.DgvKind].Value) == (int)dgvKind.Body)
+                                                                    .Sum(y => CommonMotions.cnvLong(y.Cells[nCol].Value));
+
+                // è«‹æ±‚é‡‘é¡�æœ‰ã�¯æ­£å¸¸çµ‚äº†
+                if (lTotal > 0) return true;
+
+                // è«‹æ±‚é‡‘é¡�ï¼�ä»¥ä¸‹ã�¯ã‚¨ãƒ©ãƒ¼
+                for (int i = ((int)HeaderRowIndex.BillingDate + 1); i < dgv.RowCount; i++)
                 {
-                    ShowMessageBox("è«‹æ±‚é‡‘é¡�ã‚’å…¥åŠ›ã�—ã�¦ã��ã� ã�•ã�„ã€‚", "å…¥åŠ›ã‚¨ãƒ©ãƒ¼", MessageBoxButtons.OK, MessageBoxIcon.Error);
-                    return false;
+                    DataGridViewRow CurRow = dgv.Rows[i];
+
+                    int nDgvKind = CommonMotions.cnvInt(CurRow.Cells[(int)ColumnName.DgvKind].Value);
+                    if (nDgvKind == (int)dgvKind.Header || nDgvKind == (int)dgvKind.Footer) continue;
+
+                    CurRow.Cells[nCol].Style.BackColor = Color.Red;
                 }
 
-                return true;
+                ShowMessageBox("è«‹æ±‚é‡‘é¡�ã‚’å…¥åŠ›ã�—ã�¦ã��ã� ã�•ã�„ã€‚", "å…¥åŠ›ã‚¨ãƒ©ãƒ¼", MessageBoxButtons.OK, MessageBoxIcon.Error);
+                return false;
+
             }
             catch (Exception ex)
             {
@@ -1896,21 +1927,37 @@
                     int nDepositState = (int)DepositState.None;
                     DateTime dtDeposit = DateTime.MinValue;
 
-                    if (lstDepDetail.Count > 0)
+                    if (lstDepDetail.Count > 1)
                     {
+                        // ----- å…¥é‡‘æ¶ˆè¾¼ãƒ‡ãƒ¼ã‚¿ã�Œè¤‡æ•°ã�‚ã‚‹
+                        // å…¥é‡‘ç¢ºèª�æ¸ˆã�¿ã�®ä»¶æ•°ã‚’å�–å¾—ã�™ã‚‹
+                        int nCnt = lstDepDetail.Where(x => x.ConfirmationEndFlg == 1).Count();
+                        // å�–å¾—ä»¶æ•°ã�Œå�Œã�˜ã�‹ã‚’åˆ¤å®šã�™ã‚‹
+                        if (nCnt == lstDepDetail.Count) nDepositState = (int)DepositState.Done;
+                        DepDetail = new DepositDataDetail();
+                        DepDetail.TargetDate = lstDepDetail[0].TargetDate;
+                        DepDetail.DepositAmount = lstDepDetail.Sum(x => x.DepositAmount);           // å…¥é‡‘é‡‘é¡�ï¼ˆç¨ŽæŠœã��ï¼‰
+                        DepDetail.TaxAmount = lstDepDetail.Sum(x => x.TaxAmount);                   // æ¶ˆè²»ç¨Ž
+                        DepDetail.DiscountAmount = lstDepDetail.Sum(x => x.DiscountAmount);         // å€¤å¼•ã��é‡‘é¡�
+                        DepDetail.CnstrPrice = lstDepDetail.Sum(x => x.CnstrPrice);                 // å�”åŠ›é‡‘
+                        DepDetail.Fees = lstDepDetail.Sum(x => x.Fees);                             // æ‰‹æ•°æ–™
+                        DepDetail.OtherAdjustments = lstDepDetail.Sum(x => x.OtherAdjustments);     // ã��ã�®ä»–èª¿æ•´
+                        DepDetail.DifferenceAmount = lstDepDetail.Sum(x => x.DifferenceAmount);     // å·®åˆ†
+                    }
+                    else if (lstDepDetail.Count == 1)
+                    {
+                        // ----- å…¥é‡‘æ¶ˆè¾¼ãƒ‡ãƒ¼ã‚¿ã�Œ1ä»¶ã�®ã�¿
                         DepDetail = lstDepDetail[0];
-                        if (DepDetail.ConfirmationEndFlg == 1)
-                        {
-                            nDepositState = (int)DepositState.Done;
-                        }
+                        if (DepDetail.ConfirmationEndFlg == 1) nDepositState = (int)DepositState.Done;
 
+                        // å…¥é‡‘ãƒ‡ãƒ¼ã‚¿ã‚ˆã‚Šå…¥é‡‘æ—¥ã‚’å�–å¾—ã�™ã‚‹
                         DepositData DepData = new DepositData();
                         GetDepositData(DepDetail, ref DepData);
                         dtDeposit = DepData.DepositDate;
-
                     }
                     else
                     {
+                        // ----- å…¥é‡‘æ¶ˆè¾¼ãƒ‡ãƒ¼ã‚¿ç„¡ã�—
                         DepDetail = new DepositDataDetail();
                     }
 
@@ -2260,12 +2307,16 @@
                     RequestHead ReqHead = m_lstRequestHead[i];
 
                     // è«‹æ±‚æ—¥ã‚»ãƒƒãƒˆ
-                    dgv1[tcol, (int)HeaderRowIndex.BillingDate].Style.Alignment = DataGridViewContentAlignment.MiddleCenter;
-                    if (ReqHead.BillingDate.Date != DateTime.MinValue.Date)
-                        dgv1[tcol, (int)HeaderRowIndex.BillingDate].Value = ReqHead.BillingDate.ToShortDateString();
+                    dgv1.Rows[(int)HeaderRowIndex.BillingDate].Cells[tcol].Style.Alignment = DataGridViewContentAlignment.MiddleCenter;
+                    DataGridViewRow BillDateRow = dgv1.Rows[(int)HeaderRowIndex.BillingDate];
+                    if (ReqHead.BillingDate.Date == DateTime.MinValue.Date)
+                        BillDateRow.Cells[tcol].Value = DateTime.Now.ToShortDateString();
+                    else 
+                        BillDateRow.Cells[tcol].Value = ReqHead.BillingDate.ToShortDateString();
+
                     // æœ€çµ‚æ‰¿èª�æ¸ˆã�§ã�¯ã�ªã�„å ´å�ˆã�¯æœªå…¥é‡‘è¡Œã�¯ç·¨é›†å�¯
                     if (m_lstOrderState[i] != (int)ApprovalState.End)
-                        dgv1[tcol, (int)HeaderRowIndex.BillingDate].ReadOnly = (m_bEdit == true ? (false) : (true));
+                        BillDateRow.Cells[tcol].ReadOnly = (m_bEdit == true ? (false) : (true));
 
                     // æœªå…¥é‡‘åˆ†
                     setAmount(tcol, trow, ReqHead.UnpaidAmount);
@@ -2272,30 +2323,30 @@
 
                     // æœ€çµ‚æ‰¿èª�æ¸ˆã�§ã�¯ã�ªã�„å ´å�ˆã�¯æœªå…¥é‡‘è¡Œã�¯ç·¨é›†å�¯
                     if (m_lstOrderState[i] != (int)ApprovalState.End)
-                    {
-                        dgv1[tcol, trow].ReadOnly = (m_bEdit == true ? (false) : (true));
-                    }
+                        dgv1.Rows[trow].Cells[tcol].ReadOnly = (m_bEdit == true ? (false) : (true));
 
                     //trow = (int)HeaderRowIndex.UnpaidAmount + 1;
                     trow = (int)HeaderRowIndex.BillingDate + 1;
                     while (true)
                     {
-                        if (CommonMotions.cnvString(dgv1[(int)ColumnName.ConstructionCode, trow].Value).Length < 1)
-                        {
-                            break;
-                        }
+                        DataGridViewRow CurRow = dgv1.Rows[trow];
+                        DataGridViewRow NextRow = dgv1.Rows[trow + 1];
 
-                        lAmount = CommonMotions.cnvLong(dgv1[tcol, trow].Value);
+                        // å·¥äº‹ç•ªå�·ã�Œç„¡ã�„ã�¨ã�“ã‚�ã�¾ã�§å‡¦ç�†ã�™ã‚‹
+                        int nWork = CommonMotions.cnvInt(CurRow.Cells[(int)ColumnName.ConstructionCode].Value);
+                        if (nWork < 1) break;
+
+                        lAmount = CommonMotions.cnvLong(CurRow.Cells[tcol].Value);
                         lPriceTotal += lAmount;
 
-                        lAmount = CommonMotions.cnvLong(dgv1[tcol, trow + 1].Value);
+                        lAmount = CommonMotions.cnvLong(NextRow.Cells[tcol].Value);
                         lTaxTotal += lAmount;
 
                         // æ‰¿èª�ã�Œæœ€çµ‚æ‰¿èª�æ¸ˆã�§ã�¯ã�ªã�„å ´å�ˆ
                         if (nState != (int)ApprovalState.End)
                         {
-                            dgv1[tcol, trow].ReadOnly = (m_bEdit == true ? (false) : (true));
-                            dgv1[tcol, trow + 1].ReadOnly = (m_bEdit == true ? (false) : (true));
+                            CurRow.Cells[tcol].ReadOnly = (m_bEdit == true ? (false) : (true));
+                            NextRow.Cells[tcol].ReadOnly = (m_bEdit == true ? (false) : (true));
                         }
 
                         trow += 2;
@@ -2352,16 +2403,19 @@
                             return;
                         }
 
+                        DataGridViewRow CurRow = dgv1.Rows[trow];
+                        DataGridViewRow NextRow = dgv1.Rows[trow + 1];
+
                         // æœ¬å·¥äº‹ã�®å ´å�ˆ
                         if (ReqDetail.ConstructionKind == (int)RequestDataDetail.ConstructionKindDef.Original)
                         {
                             // å·¥äº‹ä»¶å��ã�¯ã€�è«‹æ±‚ãƒ‡ãƒ¼ã‚¿ã�‹ã‚‰ï¼ˆç·¨é›†å�¯ï¼‰
-                            dgv1[(int)ColumnName.ConstructionName, trow].Value = ReqData.ConstructionName;
-                            dgv1[(int)ColumnName.ConstructionName, trow].ReadOnly = false;
-                            dgv1[(int)ColumnName.ConstructionType, trow].Value = "æœ¬å·¥äº‹";
-                            dgv1[(int)ColumnName.DgvKind, trow].Value = ((int)dgvKind.BodyMainConstruction).ToString();
-                            dgv1[(int)ColumnName.Comment, trow].Value = ReqData.Note;
-                            dgv1[(int)ColumnName.Comment, trow].ReadOnly = (m_bEdit == true ? (false) : (true));
+                            CurRow.Cells[(int)ColumnName.ConstructionName].Value = ReqData.ConstructionName;
+                            CurRow.Cells[(int)ColumnName.ConstructionName].ReadOnly = false;
+                            CurRow.Cells[(int)ColumnName.ConstructionType].Value = "æœ¬å·¥äº‹";
+                            CurRow.Cells[(int)ColumnName.DgvKind].Value = (int)dgvKind.BodyMainConstruction;
+                            CurRow.Cells[(int)ColumnName.Comment].Value = ReqData.Note;
+                            CurRow.Cells[(int)ColumnName.Comment].ReadOnly = (m_bEdit == true ? (false) : (true));
 
                         }
                         else
@@ -2370,23 +2424,23 @@
 
                             // å·¥äº‹ä»¶å��ã�¯ã€�é€€é�¿ã�—ã�Ÿå·¥äº‹ä»¶å��ã�‹ã‚‰ï¼ˆç·¨é›†ä¸�å�¯ï¼‰
                             m_dicConstructionName.TryGetValue(ReqDetail.ConstructionCode, out str);
-                            dgv1[(int)ColumnName.ConstructionName, trow].Value = str;
-                            dgv1[(int)ColumnName.ConstructionType, trow].Value = "å¢—æ¸›å·¥äº‹";
-                            dgv1[(int)ColumnName.DgvKind, trow].Value = ((int)dgvKind.BodySubConstruction).ToString();
+                            CurRow.Cells[(int)ColumnName.ConstructionName].Value = str;
+                            CurRow.Cells[(int)ColumnName.ConstructionType].Value = "å¢—æ¸›å·¥äº‹";
+                            CurRow.Cells[(int)ColumnName.DgvKind].Value = (int)dgvKind.BodySubConstruction;
                         }
 
-                        dgv1[(int)ColumnName.ConstructionCode, trow].Value = ReqDetail.ConstructionCode;
-                        dgv1[(int)ColumnName.Heading, trow].Value = "è«‹æ±‚é‡‘é¡�";
-                        dgv1[(int)ColumnName.Heading, trow + 1].Value = "æ¶ˆè²»ç¨Ž";
-                        dgv1[(int)ColumnName.DgvKind, trow + 1].Value = ((int)dgvKind.Body).ToString();
+                        CurRow.Cells[(int)ColumnName.ConstructionCode].Value = ReqDetail.ConstructionCode;
+                        CurRow.Cells[(int)ColumnName.Heading].Value = "è«‹æ±‚é‡‘é¡�";
+                        NextRow.Cells[(int)ColumnName.Heading].Value = "æ¶ˆè²»ç¨Ž";
+                        NextRow.Cells[(int)ColumnName.DgvKind].Value = (int)dgvKind.Body;
 
-                        dgv1[(int)ColumnName.Heading, trow].Style.ForeColor = Color.Black;
-                        dgv1[(int)ColumnName.Heading, trow + 1].Style.ForeColor = Color.Black;
+                        CurRow.Cells[(int)ColumnName.Heading].Style.ForeColor = Color.Black;
+                        NextRow.Cells[(int)ColumnName.Heading].Style.ForeColor = Color.Black;
 
                         if (trow > 13)
                         {
-                            dgv1.Rows[trow].Visible = true;
-                            dgv1.Rows[trow + 1].Visible = true;
+                            CurRow.Visible = true;
+                            NextRow.Visible = true;
                         }
 
                         // ç¨ŽæŠœå�—æ³¨æ±ºå®šé‡‘é¡�
@@ -2419,7 +2473,9 @@
         {
             try
             {
-                DataGridViewRow CurRow = dgv1.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvString(x.Cells[(int)ColumnName.Heading].Value).Equals("å…¥é‡‘æ—¥")).First();
+                DataGridViewRow CurRow = dgv1.Rows.Cast<DataGridViewRow>()
+                                                    .Where(x => CommonMotions.cnvString(x.Cells[(int)ColumnName.Heading].Value).Equals(s_Fottitle[0]))
+                                                    .First();
 
                 int nRowIndex = 0;
                 if (CurRow == null) nRowIndex = 0;
@@ -3583,14 +3639,10 @@
             IORequestHead ioReqHead = new IORequestHead();
             IORequestData ioReqData = new IORequestData();
             IORequestDataDetail ioReqDetail = new IORequestDataDetail();
-            IOConstructionLedgerExcute ioLdgExcute = new IOConstructionLedgerExcute();
-            IOConstructionLedgerDetail ioLdgDetail = new IOConstructionLedgerDetail();
 
             ioReqHead.connect(); ioReqHead.beginTran();
             ioReqData.connect(); ioReqData.beginTran();
             ioReqDetail.connect(); ioReqDetail.beginTran();
-            ioLdgExcute.connect(); ioLdgExcute.beginTran();
-            ioLdgDetail.connect(); ioLdgDetail.beginTran();
 
             RequestHead ReqHead = m_lstRequestHead[m_nMaxOrderNo - 1];
 
@@ -3743,23 +3795,10 @@
                     return bRet;
                 }
 
-                // è©³ç´°å�°å¸³ã�¸è«‹æ±‚é‡‘é¡�ã�®å��æ˜ 
-                if (UpdateRequestAmount(ioLdgExcute, ioLdgDetail, ReqHead) == false)
-                {
-                    MessageBox.Show("å·¥äº‹è©³ç´°å�°å¸³æ›´æ–°ã‚¨ãƒ©ãƒ¼"
-                                    , "ç™»éŒ²ã‚¨ãƒ©ãƒ¼"
-                                    , MessageBoxButtons.OK
-                                    , MessageBoxIcon.Error);
-                    bRet = false;
-                    return bRet;
-                }
-
                 // ã‚³ãƒŸãƒƒãƒˆ
                 ioReqHead.commit();
                 ioReqData.commit();
                 ioReqDetail.commit();
-                ioLdgExcute.commit();
-                ioLdgDetail.commit();
 
                 return true;
             }
@@ -3775,15 +3814,11 @@
                     ioReqHead.rollback();
                     ioReqData.rollback();
                     ioReqDetail.rollback();
-                    ioLdgExcute.rollback();
-                    ioLdgDetail.rollback();
                 }
 
                 ioReqHead.close(); ioReqHead = null;
                 ioReqData.close(); ioReqData = null;
                 ioReqDetail.close(); ioReqDetail = null;
-                ioLdgExcute.close(); ioLdgExcute = null;
-                ioLdgDetail.close(); ioLdgDetail = null;
             }
         }
         #endregion
@@ -3851,155 +3886,6 @@
         }
         #endregion
 
-        #region è©³ç´°å�°å¸³ã�®è«‹æ±‚é‡‘é¡�ã�®æ›´æ–°
-        /// <summary>
-        /// è©³ç´°å�°å¸³ã�®è«‹æ±‚é‡‘é¡�ã�®æ›´æ–°
-        /// </summary>
-        private bool UpdateRequestAmount(IOConstructionLedgerExcute ioLdgExcute
-                                        , IOConstructionLedgerDetail ioLdgDetail
-                                        , RequestHead ReqHead)
-        {
-            try
-            {
-                List<ConstructionLedgerDetail> lstDetail = new List<ConstructionLedgerDetail>();
-                StringBuilder sql = new StringBuilder();
-                // è«‹æ±‚é‡‘é¡�ã�®è¡Œç•ªå�·ã‚’å�–å¾—
-                sql.Append(ioLdgDetail.CreatePrimarykeyString(m_nLeaderConstructionCode
-                                                            , (int)FrmConstructionLedger.DataGroup.BillingAmount));
-                if (!ioLdgDetail.SelectAction(sql.ToString(), ref lstDetail, false)) return false;
-
-                // è©³ç´°å�°å¸³ã�Œã�ªã�„å ´å�ˆã�¯çµ‚äº†
-                if (lstDetail.Count == 0) return true;
-
-                int yyyy = 0;
-                int mm = 0;
-                DateTime dt = DateTime.MinValue;
-
-                ConstructionLedgerExcute LdgExcute = null;
-
-                List<ConstructionLedgerExcute> lstExcute = new List<ConstructionLedgerExcute>();
-
-                // æ—§è«‹æ±‚å¹´æœˆã�ŒæŒ‡å®šã�•ã‚Œã�¦ã�„ã‚‹å ´å�ˆã�¯ã€�ä¸€æ—¦æ—§è«‹æ±‚é‡‘é¡�ã‚’å·®ã�—å¼•ã��
-                if (m_nOldRequestMonth != 0)
-                {
-                    yyyy = CommonMotions.cnvTruncate((double)m_nOldRequestMonth / 100);
-                    mm = m_nOldRequestMonth % 100;
-
-                    dt = new DateTime(yyyy, mm, 1);
-
-                    sql.Clear();
-                    sql.Append(ioLdgExcute.CreatePrimarykeyString(m_nLeaderConstructionCode
-                                                                , lstDetail[0].GroupCount
-                                                                , lstDetail[0].LineCount));
-                    sql.AppendFormat(" AND DATE(TargetMonth) = DATE('{0}') ", dt.ToShortDateString());
-
-                    if (!ioLdgExcute.SelectAction(sql.ToString(), ref lstExcute, false)) return false;
-
-                    // æ—§è«‹æ±‚å¹´æœˆã�Œã�‚ã�£ã�¦ãƒ¬ã‚³ãƒ¼ãƒ‰ã�ªã�—ã�¯ã�‚ã‚Šã�ˆã�ªã�„
-                    if (lstExcute.Count == 0) return false;
-
-                    LdgExcute = lstExcute[0];
-
-                    // è«‹æ±‚é‡‘é¡�ã�‹ã‚‰æ—§è«‹æ±‚é‡‘é¡�ã‚’å·®ã�—å¼•ã�„ã�Ÿé‡‘é¡�ã�§æ›´æ–°
-                    LdgExcute.PaymentAmount -= (double)m_lOldRequestAmount;
-                    sql.Clear();
-                    sql.Append(ioLdgExcute.CreatePrimarykeyString(LdgExcute.ConstructionCode
-                                                                , LdgExcute.GroupCount
-                                                                , LdgExcute.LineCount
-                                                                , LdgExcute.ColumnCount));
-                    if (!ioLdgExcute.UpdateAction(sql.ToString(), LdgExcute, false)) return false;
-
-                    // ãƒªã‚¹ãƒˆã‚’ã‚¯ãƒªã‚¢
-                    lstExcute.Clear();
-                }
-
-                // è«‹æ±‚ãƒ˜ãƒƒãƒ€ã‚ˆã‚Šè«‹æ±‚æœˆã‚’æ±‚ã‚�ã‚‹
-                yyyy = CommonMotions.cnvTruncate((double)ReqHead.RequestMonth / 100);
-                mm = ReqHead.RequestMonth % 100;
-                dt = new DateTime(yyyy, mm, 1);
-
-                // å½“è©²æœˆã�®è«‹æ±‚é‡‘é¡�ã�®ãƒ¬ã‚³ãƒ¼ãƒ‰ã�Œã�‚ã‚‹ã�‹å�–å¾—ã�—ã�¦ã�¿ã‚‹
-                sql.Clear();
-                sql.Append(ioLdgExcute.CreatePrimarykeyString(m_nLeaderConstructionCode
-                                                                , lstDetail[0].GroupCount
-                                                                , lstDetail[0].LineCount));
-                sql.AppendFormat(" AND DATE(TargetMonth) = DATE('{0}') ", dt.ToShortDateString());
-                if (!ioLdgExcute.SelectAction(sql.ToString(), ref lstExcute, false)) return false;
-
-                // ãƒ¬ã‚³ãƒ¼ãƒ‰ã�Œå­˜åœ¨ã�™ã‚‹å ´å�ˆ
-                if (lstExcute.Count > 0)
-                {
-                    LdgExcute = lstExcute[0];
-
-                    // è«‹æ±‚é‡‘é¡�ã‚’åŠ ç®—ã�—ã�¦æ›´æ–°
-                    LdgExcute.PaymentAmount += ReqHead.RequestAmount;
-                    sql.Clear();
-                    sql.Append(ioLdgExcute.CreatePrimarykeyString(LdgExcute.ConstructionCode
-                                                                    , LdgExcute.GroupCount
-                                                                    , LdgExcute.LineCount
-                                                                    , LdgExcute.ColumnCount));
-                    if (!ioLdgExcute.UpdateAction(sql.ToString(), LdgExcute, false)) return false;
-                }
-                else
-                {
-                    // å·¥äº‹è©³ç´°å�°å¸³å®Ÿè¡Œãƒ‡ãƒ¼ã‚¿ã‚’è¨­å®š
-                    LdgExcute = new ConstructionLedgerExcute();
-
-                    LdgExcute.ConstructionCode = m_nLeaderConstructionCode;
-                    LdgExcute.GroupCount = lstDetail[0].GroupCount;
-                    LdgExcute.LineCount = lstDetail[0].LineCount;
-                    LdgExcute.ColumnCount = CalcTargetMonthToColumn(ioLdgExcute, dt);
-                    LdgExcute.PaymentAmount = ReqHead.RequestAmount;
-                    LdgExcute.TargetMonth = dt;
-
-                    // ãƒ¬ã‚³ãƒ¼ãƒ‰ã‚’æŒ¿å…¥
-                    if (!ioLdgExcute.InsertAction(LdgExcute, false)) return false;
-                }
-
-                // æ›´æ–°ã�—ã�Ÿå ´å�ˆã�¯ã€�é€€é�¿ã�—ã�Ÿè©³ç´°ç®¡ç�†å�°å¸³ç”¨ã�®æƒ…å ±ã�¯ä»Šå›žã�®å†…å®¹ã�«å¤‰æ›´ï¼ˆå¯¾è±¡æœˆã€�è«‹æ±‚é‡‘é¡�ï¼‰
-                m_nOldRequestMonth = ReqHead.RequestMonth;
-                m_lOldRequestAmount = ReqHead.RequestAmount;
-
-                return true;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-                return false;
-            }
-        }
-        #endregion
-
-        #region è«‹æ±‚æœˆã�®ã‚«ãƒ©ãƒ ä½�ç½®ã‚’ç®—å‡º
-        /// <summary>
-        /// è«‹æ±‚æœˆã�®ã‚«ãƒ©ãƒ ä½�ç½®ã‚’ç®—å‡º
-        /// </summary>
-        private int CalcTargetMonthToColumn(IOConstructionLedgerExcute ioExcute, DateTime dtTarget)
-        {
-            int tcol = -1;
-
-            try
-            {
-                //StringBuilder sql = new StringBuilder();
-                //sql.Append(ioExcute.CreatePrimarykeyString(m_nLeaderConstructionCode));
-                //sql.AppendFormat(" AND ColumnCount = {0}", ClsChangeLedgerData.GetLedgerColumnCount());
-
-                //ConstructionLedgerExcute lstExcute = new ConstructionLedgerExcute();
-                //if (!ioExcute.SelectAction(sql.ToString(), ref lstExcute, false)) return tcol;
-
-                //tcol = ClsChangeLedgerData.CalcTargetMonthToColumn(lstExcute.TargetMonth, dtTarget);
-                tcol = ClsChangeLedgerData.CalcTargetMonthToColumn(ioExcute, false, m_nLeaderConstructionCode, dtTarget);
-
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-
-            return tcol;
-        }
-        #endregion
-
         #region ãƒ‡ãƒ¼ã‚¿ãƒ™ãƒ¼ã‚¹ã‚¢ã‚¯ã‚»ã‚¹ãƒ¡ã‚½ãƒƒãƒ‰
 
         #region å·¥äº‹åŸºæœ¬æƒ…å ±
@@ -4559,11 +4445,6 @@
         /// <summary>
         /// å…¥é‡‘ãƒ‡ãƒ¼ã‚¿ã‚’å…¥é‡‘ãƒ‡ãƒ¼ã‚¿ãƒ†ãƒ¼ãƒ–ãƒ«ã�‹ã‚‰ä¸»ã‚­ãƒ¼ã�§æ¤œç´¢ã�—ã�¦å�–å¾—ã�™ã‚‹é–¢æ•°
         /// </summary>
-        /// <param name="OrderesDivision"></param>
-        /// <param name="OrderesCode"></param>
-        /// <param name="TargetDate"></param>
-        /// <param name="SeqNo"></param>
-        /// <param name="data"></param>
         /// <returns></returns>
         private bool GetDepositData(DepositDataDetail DepDetail, ref DepositData data)
         {
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestInput/ProcessControl.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestInput/ProcessControl.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestInput/ProcessControl.cs	(revision 468)
@@ -96,6 +96,9 @@
                     // è‡ªãƒ—ãƒ­ã‚»ã‚¹ã�¯å‡¦ç�†ã�—ã�ªã�„
                     if (CurRec.Key == s_CurrentProcessNo) continue;
 
+                    // è£½å“�ã�«ã‚ˆã�£ã�¦ã�®å®Ÿè£…ãƒ�ã‚§ãƒƒã‚¯
+                    if (!ClsExcute.GetImplementationProcess(CurRec.Key)) continue;
+
                     //ã‚¤ãƒ™ãƒ³ãƒˆã�®ç™»éŒ²
                     switch (CurRec.Key)
                     {
@@ -232,6 +235,7 @@
         {
             try
             {
+                if (ClsExcute.ProcControlPara.Count < 1) return false;
                 // ãƒ—ãƒ­ã‚»ã‚¹èµ·å‹•ãƒ†ãƒ¼ãƒ–ãƒ«ã�«ç”³è«‹ç”»é�¢ã�Œè¨­å®šã�•ã‚Œã�¦ã�„ã‚‹å ´å�ˆã�¯true
                 int NextProcess = ClsExcute.ProcControlPara[ClsExcute.GetNowProcessPoint()].ProcNo;
                 if (NextProcess == (int)ClsExcute.SubFormExecuteNo.ApprovalScreen) return true;
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestInputList/FrmReqInputList.designer.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestInputList/FrmReqInputList.designer.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestInputList/FrmReqInputList.designer.cs	(revision 468)
@@ -142,7 +142,7 @@
             this.radioButton2.Checked = true;
             this.radioButton2.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.radioButton2.ForeColor = System.Drawing.Color.Black;
-            this.radioButton2.Location = new System.Drawing.Point(662, 32);
+            this.radioButton2.Location = new System.Drawing.Point(662, 30);
             this.radioButton2.Name = "radioButton2";
             this.radioButton2.Size = new System.Drawing.Size(77, 20);
             this.radioButton2.TabIndex = 44;
@@ -157,7 +157,7 @@
             this.radioButton1.BackColor = System.Drawing.Color.Transparent;
             this.radioButton1.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.radioButton1.ForeColor = System.Drawing.Color.Black;
-            this.radioButton1.Location = new System.Drawing.Point(662, 12);
+            this.radioButton1.Location = new System.Drawing.Point(662, 10);
             this.radioButton1.Name = "radioButton1";
             this.radioButton1.Size = new System.Drawing.Size(77, 20);
             this.radioButton1.TabIndex = 43;
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSumList/FrmReqSumList.designer.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSumList/FrmReqSumList.designer.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSumList/FrmReqSumList.designer.cs	(revision 468)
@@ -28,42 +28,42 @@
         /// </summary>
         private void InitializeComponent()
         {
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle37 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle72 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle38 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle39 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle40 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle41 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle42 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle43 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle44 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle45 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle46 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle47 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle48 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle49 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle50 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle51 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle52 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle53 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle54 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle55 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle56 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle57 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle58 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle59 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle60 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle61 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle62 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle63 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle64 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle65 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle66 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle67 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle68 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle69 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle70 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle71 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle36 = 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();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle21 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle22 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle23 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle24 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle25 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle26 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle27 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle28 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle29 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle30 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle31 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle32 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle33 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle34 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle35 = new System.Windows.Forms.DataGridViewCellStyle();
             this.btnEnd = new System.Windows.Forms.Button();
             this.label1 = new System.Windows.Forms.Label();
             this.btnDataEntry = new System.Windows.Forms.Button();
@@ -106,8 +106,12 @@
             this.btnEntryClose = new System.Windows.Forms.Button();
             this.btnCsvOutput = new System.Windows.Forms.Button();
             this.lblEntryDateTo = new System.Windows.Forms.Label();
+            this.cmbTargetMonth = new ProcessManagement.Forms.CustomControls.ComboBoxEX();
+            this.cmbDepartment = new ProcessManagement.Forms.CustomControls.ComboBoxEX();
+            this.cmbPerson = new ProcessManagement.Forms.CustomControls.ComboBoxEX();
             this.panel4 = new System.Windows.Forms.Panel();
             this.lblCellTotal = new System.Windows.Forms.Label();
+            this.dgvData = new ProcessManagement.Forms.CustomControls.DataGridViewEX();
             this.panel5 = new System.Windows.Forms.Panel();
             this.btnLinkLedger = new System.Windows.Forms.Button();
             this.panel6 = new System.Windows.Forms.Panel();
@@ -120,7 +124,6 @@
             this.btnOtherAcc = new System.Windows.Forms.Button();
             this.panel10 = new System.Windows.Forms.Panel();
             this.btnDepExpence = new System.Windows.Forms.Button();
-            this.dgvData = new ProcessManagement.Forms.CustomControls.DataGridViewEX();
             this.dgvCompany001 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.dgvCompany002 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.dgvCompany003 = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -239,9 +242,6 @@
             this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.cmbTargetMonth = new ProcessManagement.Forms.CustomControls.ComboBoxEX();
-            this.cmbDepartment = new ProcessManagement.Forms.CustomControls.ComboBoxEX();
-            this.cmbPerson = new ProcessManagement.Forms.CustomControls.ComboBoxEX();
             this.panel1.SuspendLayout();
             this.pnlApproval.SuspendLayout();
             this.pnlApprovalButton.SuspendLayout();
@@ -248,6 +248,7 @@
             this.panel2.SuspendLayout();
             this.panel3.SuspendLayout();
             this.panel4.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.dgvData)).BeginInit();
             this.panel5.SuspendLayout();
             this.panel6.SuspendLayout();
             this.panel7.SuspendLayout();
@@ -254,7 +255,6 @@
             this.panel8.SuspendLayout();
             this.panel9.SuspendLayout();
             this.panel10.SuspendLayout();
-            ((System.ComponentModel.ISupportInitialize)(this.dgvData)).BeginInit();
             this.SuspendLayout();
             // 
             // btnEnd
@@ -839,6 +839,45 @@
             this.lblEntryDateTo.TabIndex = 3;
             this.lblEntryDateTo.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
             // 
+            // cmbTargetMonth
+            // 
+            this.cmbTargetMonth.BackColor = System.Drawing.Color.White;
+            this.cmbTargetMonth.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+            this.cmbTargetMonth.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
+            this.cmbTargetMonth.Font = new System.Drawing.Font("Century", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.cmbTargetMonth.FormattingEnabled = true;
+            this.cmbTargetMonth.Location = new System.Drawing.Point(124, 2);
+            this.cmbTargetMonth.Margin = new System.Windows.Forms.Padding(4);
+            this.cmbTargetMonth.MaxDropDownItems = 12;
+            this.cmbTargetMonth.Name = "cmbTargetMonth";
+            this.cmbTargetMonth.Size = new System.Drawing.Size(140, 28);
+            this.cmbTargetMonth.TabIndex = 1;
+            this.cmbTargetMonth.TextChanged += new System.EventHandler(this.cmbTargetMonth_TextChanged);
+            // 
+            // cmbDepartment
+            // 
+            this.cmbDepartment.BackColor = System.Drawing.Color.White;
+            this.cmbDepartment.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+            this.cmbDepartment.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
+            this.cmbDepartment.FormattingEnabled = true;
+            this.cmbDepartment.Location = new System.Drawing.Point(428, 5);
+            this.cmbDepartment.Name = "cmbDepartment";
+            this.cmbDepartment.Size = new System.Drawing.Size(170, 23);
+            this.cmbDepartment.TabIndex = 98;
+            this.cmbDepartment.TextChanged += new System.EventHandler(this.cmbPerson_TextChanged);
+            // 
+            // cmbPerson
+            // 
+            this.cmbPerson.BackColor = System.Drawing.Color.White;
+            this.cmbPerson.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+            this.cmbPerson.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
+            this.cmbPerson.FormattingEnabled = true;
+            this.cmbPerson.Location = new System.Drawing.Point(732, 5);
+            this.cmbPerson.Name = "cmbPerson";
+            this.cmbPerson.Size = new System.Drawing.Size(170, 23);
+            this.cmbPerson.TabIndex = 100;
+            this.cmbPerson.TextChanged += new System.EventHandler(this.cmbPerson_TextChanged);
+            // 
             // panel4
             // 
             this.panel4.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
@@ -864,6 +903,163 @@
             this.lblCellTotal.Size = new System.Drawing.Size(0, 16);
             this.lblCellTotal.TabIndex = 99;
             // 
+            // dgvData
+            // 
+            this.dgvData.AllowUserToAddRows = false;
+            this.dgvData.AllowUserToDeleteRows = false;
+            this.dgvData.AllowUserToResizeRows = false;
+            this.dgvData.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
+            | System.Windows.Forms.AnchorStyles.Left) 
+            | System.Windows.Forms.AnchorStyles.Right)));
+            this.dgvData.BackgroundColor = System.Drawing.Color.White;
+            this.dgvData.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
+            dataGridViewCellStyle1.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvData.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
+            this.dgvData.ColumnHeadersHeight = 40;
+            this.dgvData.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
+            this.dgvData.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
+            this.dgvCompany001,
+            this.dgvCompany002,
+            this.dgvCompany003,
+            this.dgvCompany004,
+            this.dgvCompany005,
+            this.dgvCompany006,
+            this.dgvCompany007,
+            this.dgvCompany008,
+            this.dgvCompany009,
+            this.dgvCompany010,
+            this.dgvCompany011,
+            this.dgvCompany012,
+            this.dgvCompany013,
+            this.dgvCompany014,
+            this.Column15,
+            this.dgvCompany015,
+            this.Column2,
+            this.Column14,
+            this.dgvCompany016,
+            this.Column16,
+            this.dgvCompany017,
+            this.dgvCompany018,
+            this.dgvCompany019,
+            this.dgvCompany020,
+            this.dgvCompany021,
+            this.dgvCompany022,
+            this.dgvCompany023,
+            this.dgvCompany024,
+            this.dgvCompany025,
+            this.dgvCompany026,
+            this.dgvCompany027,
+            this.dgvCompany028,
+            this.dgvCompany029,
+            this.dgvCompany030,
+            this.dgvCompany031,
+            this.dgvCompany032,
+            this.dgvCompany033,
+            this.Column17,
+            this.dgvCompany034,
+            this.dgvCompany035,
+            this.dgvCompany036,
+            this.dgvCompany037,
+            this.dgvCompany038,
+            this.dgvCompany039,
+            this.dgvCompany040,
+            this.dgvCompany041,
+            this.dgvCompany042,
+            this.Column3,
+            this.dgvCompany043,
+            this.dgvCompany044,
+            this.dgvCompany045,
+            this.dgvCompany046,
+            this.dgvCompany047,
+            this.Column4,
+            this.dgvCompany048,
+            this.dgvCompany049,
+            this.dgvCompany050,
+            this.dgvCompany051,
+            this.dgvCompany052,
+            this.Column5,
+            this.dgvCompany053,
+            this.dgvCompany054,
+            this.dgvCompany055,
+            this.dgvCompany056,
+            this.dgvCompany057,
+            this.Column6,
+            this.dgvCompany058,
+            this.dgvCompany059,
+            this.dgvCompany060,
+            this.dgvCompany061,
+            this.dgvCompany062,
+            this.Column7,
+            this.dgvCompany063,
+            this.dgvCompany064,
+            this.dgvCompany065,
+            this.dgvCompany066,
+            this.dgvCompany067,
+            this.Column8,
+            this.dgvCompany068,
+            this.dgvCompany069,
+            this.dgvCompany070,
+            this.dgvCompany071,
+            this.dgvCompany072,
+            this.Column9,
+            this.dgvCompany073,
+            this.dgvCompany074,
+            this.dgvCompany075,
+            this.dgvCompany076,
+            this.dgvCompany077,
+            this.Column10,
+            this.dgvCompany078,
+            this.dgvCompany079,
+            this.dgvCompany080,
+            this.dgvCompany081,
+            this.dgvCompany082,
+            this.Column11,
+            this.dgvCompany083,
+            this.dgvCompany084,
+            this.dgvCompany085,
+            this.dgvCompany086,
+            this.dgvCompany087,
+            this.Column12,
+            this.dgvCompany088,
+            this.dgvCompany089,
+            this.dgvCompany090,
+            this.dgvCompany091,
+            this.dgvCompany092,
+            this.dgvCompany093,
+            this.dgvCompany094,
+            this.dgvCompany095,
+            this.dgvCompany096,
+            this.dgvCompany097,
+            this.dgvCompany098,
+            this.dgvCompany099,
+            this.dgvCompany100,
+            this.Column1,
+            this.Column13,
+            this.Column18});
+            dataGridViewCellStyle36.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle36.BackColor = System.Drawing.SystemColors.Window;
+            dataGridViewCellStyle36.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            dataGridViewCellStyle36.ForeColor = System.Drawing.SystemColors.ControlText;
+            dataGridViewCellStyle36.SelectionBackColor = System.Drawing.Color.LightSeaGreen;
+            dataGridViewCellStyle36.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle36.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvData.DefaultCellStyle = dataGridViewCellStyle36;
+            this.dgvData.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter;
+            this.dgvData.EnableHeadersVisualStyles = false;
+            this.dgvData.Location = new System.Drawing.Point(2, 1);
+            this.dgvData.Margin = new System.Windows.Forms.Padding(0);
+            this.dgvData.Name = "dgvData";
+            this.dgvData.RowHeadersVisible = false;
+            this.dgvData.RowHeadersWidth = 20;
+            this.dgvData.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
+            this.dgvData.RowTemplate.Height = 20;
+            this.dgvData.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
+            this.dgvData.Size = new System.Drawing.Size(1326, 512);
+            this.dgvData.TabIndex = 4;
+            // 
             // panel5
             // 
             this.panel5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
@@ -1014,163 +1210,6 @@
             this.btnDepExpence.UseVisualStyleBackColor = false;
             this.btnDepExpence.Click += new System.EventHandler(this.btnDepExpence_Click);
             // 
-            // dgvData
-            // 
-            this.dgvData.AllowUserToAddRows = false;
-            this.dgvData.AllowUserToDeleteRows = false;
-            this.dgvData.AllowUserToResizeRows = false;
-            this.dgvData.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
-            | System.Windows.Forms.AnchorStyles.Left) 
-            | System.Windows.Forms.AnchorStyles.Right)));
-            this.dgvData.BackgroundColor = System.Drawing.Color.White;
-            this.dgvData.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            dataGridViewCellStyle37.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle37.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
-            dataGridViewCellStyle37.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            dataGridViewCellStyle37.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
-            this.dgvData.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle37;
-            this.dgvData.ColumnHeadersHeight = 40;
-            this.dgvData.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
-            this.dgvData.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
-            this.dgvCompany001,
-            this.dgvCompany002,
-            this.dgvCompany003,
-            this.dgvCompany004,
-            this.dgvCompany005,
-            this.dgvCompany006,
-            this.dgvCompany007,
-            this.dgvCompany008,
-            this.dgvCompany009,
-            this.dgvCompany010,
-            this.dgvCompany011,
-            this.dgvCompany012,
-            this.dgvCompany013,
-            this.dgvCompany014,
-            this.Column15,
-            this.dgvCompany015,
-            this.Column2,
-            this.Column14,
-            this.dgvCompany016,
-            this.Column16,
-            this.dgvCompany017,
-            this.dgvCompany018,
-            this.dgvCompany019,
-            this.dgvCompany020,
-            this.dgvCompany021,
-            this.dgvCompany022,
-            this.dgvCompany023,
-            this.dgvCompany024,
-            this.dgvCompany025,
-            this.dgvCompany026,
-            this.dgvCompany027,
-            this.dgvCompany028,
-            this.dgvCompany029,
-            this.dgvCompany030,
-            this.dgvCompany031,
-            this.dgvCompany032,
-            this.dgvCompany033,
-            this.Column17,
-            this.dgvCompany034,
-            this.dgvCompany035,
-            this.dgvCompany036,
-            this.dgvCompany037,
-            this.dgvCompany038,
-            this.dgvCompany039,
-            this.dgvCompany040,
-            this.dgvCompany041,
-            this.dgvCompany042,
-            this.Column3,
-            this.dgvCompany043,
-            this.dgvCompany044,
-            this.dgvCompany045,
-            this.dgvCompany046,
-            this.dgvCompany047,
-            this.Column4,
-            this.dgvCompany048,
-            this.dgvCompany049,
-            this.dgvCompany050,
-            this.dgvCompany051,
-            this.dgvCompany052,
-            this.Column5,
-            this.dgvCompany053,
-            this.dgvCompany054,
-            this.dgvCompany055,
-            this.dgvCompany056,
-            this.dgvCompany057,
-            this.Column6,
-            this.dgvCompany058,
-            this.dgvCompany059,
-            this.dgvCompany060,
-            this.dgvCompany061,
-            this.dgvCompany062,
-            this.Column7,
-            this.dgvCompany063,
-            this.dgvCompany064,
-            this.dgvCompany065,
-            this.dgvCompany066,
-            this.dgvCompany067,
-            this.Column8,
-            this.dgvCompany068,
-            this.dgvCompany069,
-            this.dgvCompany070,
-            this.dgvCompany071,
-            this.dgvCompany072,
-            this.Column9,
-            this.dgvCompany073,
-            this.dgvCompany074,
-            this.dgvCompany075,
-            this.dgvCompany076,
-            this.dgvCompany077,
-            this.Column10,
-            this.dgvCompany078,
-            this.dgvCompany079,
-            this.dgvCompany080,
-            this.dgvCompany081,
-            this.dgvCompany082,
-            this.Column11,
-            this.dgvCompany083,
-            this.dgvCompany084,
-            this.dgvCompany085,
-            this.dgvCompany086,
-            this.dgvCompany087,
-            this.Column12,
-            this.dgvCompany088,
-            this.dgvCompany089,
-            this.dgvCompany090,
-            this.dgvCompany091,
-            this.dgvCompany092,
-            this.dgvCompany093,
-            this.dgvCompany094,
-            this.dgvCompany095,
-            this.dgvCompany096,
-            this.dgvCompany097,
-            this.dgvCompany098,
-            this.dgvCompany099,
-            this.dgvCompany100,
-            this.Column1,
-            this.Column13,
-            this.Column18});
-            dataGridViewCellStyle72.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            dataGridViewCellStyle72.BackColor = System.Drawing.SystemColors.Window;
-            dataGridViewCellStyle72.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            dataGridViewCellStyle72.ForeColor = System.Drawing.SystemColors.ControlText;
-            dataGridViewCellStyle72.SelectionBackColor = System.Drawing.Color.LightSeaGreen;
-            dataGridViewCellStyle72.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
-            dataGridViewCellStyle72.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvData.DefaultCellStyle = dataGridViewCellStyle72;
-            this.dgvData.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter;
-            this.dgvData.EnableHeadersVisualStyles = false;
-            this.dgvData.Location = new System.Drawing.Point(2, 1);
-            this.dgvData.Margin = new System.Windows.Forms.Padding(0);
-            this.dgvData.Name = "dgvData";
-            this.dgvData.RowHeadersVisible = false;
-            this.dgvData.RowHeadersWidth = 20;
-            this.dgvData.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
-            this.dgvData.RowTemplate.Height = 20;
-            this.dgvData.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
-            this.dgvData.Size = new System.Drawing.Size(1326, 512);
-            this.dgvData.TabIndex = 4;
-            // 
             // dgvCompany001
             // 
             this.dgvCompany001.HeaderText = "CompanyDispOrder";
@@ -1245,8 +1284,8 @@
             // 
             // dgvCompany010
             // 
-            dataGridViewCellStyle38.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dgvCompany010.DefaultCellStyle = dataGridViewCellStyle38;
+            dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.dgvCompany010.DefaultCellStyle = dataGridViewCellStyle2;
             this.dgvCompany010.FillWeight = 110F;
             this.dgvCompany010.HeaderText = "â„–";
             this.dgvCompany010.Name = "dgvCompany010";
@@ -1291,10 +1330,10 @@
             // 
             // Column15
             // 
-            dataGridViewCellStyle39.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle39.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            dataGridViewCellStyle39.ForeColor = System.Drawing.Color.Black;
-            this.Column15.DefaultCellStyle = dataGridViewCellStyle39;
+            dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle3.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            dataGridViewCellStyle3.ForeColor = System.Drawing.Color.Black;
+            this.Column15.DefaultCellStyle = dataGridViewCellStyle3;
             this.Column15.HeaderText = "æœŸ";
             this.Column15.Name = "Column15";
             this.Column15.ReadOnly = true;
@@ -1319,9 +1358,9 @@
             // 
             // Column14
             // 
-            dataGridViewCellStyle40.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle40.ForeColor = System.Drawing.Color.Black;
-            this.Column14.DefaultCellStyle = dataGridViewCellStyle40;
+            dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle4.ForeColor = System.Drawing.Color.Black;
+            this.Column14.DefaultCellStyle = dataGridViewCellStyle4;
             this.Column14.HeaderText = "å�°å¸³è¡Œ";
             this.Column14.Name = "Column14";
             this.Column14.ReadOnly = true;
@@ -1338,8 +1377,8 @@
             // 
             // Column16
             // 
-            dataGridViewCellStyle41.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.Column16.DefaultCellStyle = dataGridViewCellStyle41;
+            dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.Column16.DefaultCellStyle = dataGridViewCellStyle5;
             this.Column16.HeaderText = "æ”¯æ‰•\nåŒºåˆ†";
             this.Column16.Name = "Column16";
             this.Column16.Width = 70;
@@ -1346,8 +1385,8 @@
             // 
             // dgvCompany017
             // 
-            dataGridViewCellStyle42.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.dgvCompany017.DefaultCellStyle = dataGridViewCellStyle42;
+            dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            this.dgvCompany017.DefaultCellStyle = dataGridViewCellStyle6;
             this.dgvCompany017.HeaderText = "è«‹æ±‚æ›¸\r\né‡‘é¡�";
             this.dgvCompany017.Name = "dgvCompany017";
             this.dgvCompany017.Resizable = System.Windows.Forms.DataGridViewTriState.False;
@@ -1356,8 +1395,8 @@
             // 
             // dgvCompany018
             // 
-            dataGridViewCellStyle43.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.dgvCompany018.DefaultCellStyle = dataGridViewCellStyle43;
+            dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            this.dgvCompany018.DefaultCellStyle = dataGridViewCellStyle7;
             this.dgvCompany018.HeaderText = "é«˜é€Ÿä»£\né§�è»Šä»£";
             this.dgvCompany018.Name = "dgvCompany018";
             this.dgvCompany018.Resizable = System.Windows.Forms.DataGridViewTriState.False;
@@ -1366,8 +1405,8 @@
             // 
             // dgvCompany019
             // 
-            dataGridViewCellStyle44.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.dgvCompany019.DefaultCellStyle = dataGridViewCellStyle44;
+            dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            this.dgvCompany019.DefaultCellStyle = dataGridViewCellStyle8;
             this.dgvCompany019.HeaderText = "é‡‘ç‰©ä»£";
             this.dgvCompany019.Name = "dgvCompany019";
             this.dgvCompany019.Resizable = System.Windows.Forms.DataGridViewTriState.False;
@@ -1376,8 +1415,8 @@
             // 
             // dgvCompany020
             // 
-            dataGridViewCellStyle45.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.dgvCompany020.DefaultCellStyle = dataGridViewCellStyle45;
+            dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            this.dgvCompany020.DefaultCellStyle = dataGridViewCellStyle9;
             this.dgvCompany020.HeaderText = "ç”£å»ƒç¨Ž";
             this.dgvCompany020.Name = "dgvCompany020";
             this.dgvCompany020.Resizable = System.Windows.Forms.DataGridViewTriState.False;
@@ -1386,8 +1425,8 @@
             // 
             // dgvCompany021
             // 
-            dataGridViewCellStyle46.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.dgvCompany021.DefaultCellStyle = dataGridViewCellStyle46;
+            dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            this.dgvCompany021.DefaultCellStyle = dataGridViewCellStyle10;
             this.dgvCompany021.HeaderText = "è«‹æ±‚é‡‘é¡�";
             this.dgvCompany021.Name = "dgvCompany021";
             this.dgvCompany021.Resizable = System.Windows.Forms.DataGridViewTriState.False;
@@ -1396,8 +1435,8 @@
             // 
             // dgvCompany022
             // 
-            dataGridViewCellStyle47.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.dgvCompany022.DefaultCellStyle = dataGridViewCellStyle47;
+            dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            this.dgvCompany022.DefaultCellStyle = dataGridViewCellStyle11;
             this.dgvCompany022.HeaderText = "å€¤å¼•é‡‘é¡�";
             this.dgvCompany022.Name = "dgvCompany022";
             this.dgvCompany022.Resizable = System.Windows.Forms.DataGridViewTriState.False;
@@ -1406,8 +1445,8 @@
             // 
             // dgvCompany023
             // 
-            dataGridViewCellStyle48.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.dgvCompany023.DefaultCellStyle = dataGridViewCellStyle48;
+            dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            this.dgvCompany023.DefaultCellStyle = dataGridViewCellStyle12;
             this.dgvCompany023.HeaderText = "ç›¸æ®ºé‡‘é¡�";
             this.dgvCompany023.Name = "dgvCompany023";
             this.dgvCompany023.Resizable = System.Windows.Forms.DataGridViewTriState.False;
@@ -1416,8 +1455,8 @@
             // 
             // dgvCompany024
             // 
-            dataGridViewCellStyle49.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.dgvCompany024.DefaultCellStyle = dataGridViewCellStyle49;
+            dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            this.dgvCompany024.DefaultCellStyle = dataGridViewCellStyle13;
             this.dgvCompany024.HeaderText = "æ¬¡å›žç¹°è¶Š";
             this.dgvCompany024.Name = "dgvCompany024";
             this.dgvCompany024.Resizable = System.Windows.Forms.DataGridViewTriState.False;
@@ -1426,8 +1465,8 @@
             // 
             // dgvCompany025
             // 
-            dataGridViewCellStyle50.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.dgvCompany025.DefaultCellStyle = dataGridViewCellStyle50;
+            dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            this.dgvCompany025.DefaultCellStyle = dataGridViewCellStyle14;
             this.dgvCompany025.HeaderText = "é«˜é€Ÿä»£\né§�è»Šä»£";
             this.dgvCompany025.Name = "dgvCompany025";
             this.dgvCompany025.Resizable = System.Windows.Forms.DataGridViewTriState.False;
@@ -1436,8 +1475,8 @@
             // 
             // dgvCompany026
             // 
-            dataGridViewCellStyle51.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.dgvCompany026.DefaultCellStyle = dataGridViewCellStyle51;
+            dataGridViewCellStyle15.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            this.dgvCompany026.DefaultCellStyle = dataGridViewCellStyle15;
             this.dgvCompany026.HeaderText = "é‡‘ç‰©ä»£";
             this.dgvCompany026.Name = "dgvCompany026";
             this.dgvCompany026.Resizable = System.Windows.Forms.DataGridViewTriState.False;
@@ -1446,8 +1485,8 @@
             // 
             // dgvCompany027
             // 
-            dataGridViewCellStyle52.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.dgvCompany027.DefaultCellStyle = dataGridViewCellStyle52;
+            dataGridViewCellStyle16.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            this.dgvCompany027.DefaultCellStyle = dataGridViewCellStyle16;
             this.dgvCompany027.HeaderText = "ç”£å»ƒç¨Ž";
             this.dgvCompany027.Name = "dgvCompany027";
             this.dgvCompany027.Resizable = System.Windows.Forms.DataGridViewTriState.False;
@@ -1456,8 +1495,8 @@
             // 
             // dgvCompany028
             // 
-            dataGridViewCellStyle53.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.dgvCompany028.DefaultCellStyle = dataGridViewCellStyle53;
+            dataGridViewCellStyle17.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            this.dgvCompany028.DefaultCellStyle = dataGridViewCellStyle17;
             this.dgvCompany028.HeaderText = "å�”åŠ›é‡‘";
             this.dgvCompany028.Name = "dgvCompany028";
             this.dgvCompany028.Resizable = System.Windows.Forms.DataGridViewTriState.False;
@@ -1474,10 +1513,10 @@
             // 
             // dgvCompany030
             // 
-            dataGridViewCellStyle54.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle54.BackColor = System.Drawing.Color.White;
-            dataGridViewCellStyle54.ForeColor = System.Drawing.Color.Black;
-            this.dgvCompany030.DefaultCellStyle = dataGridViewCellStyle54;
+            dataGridViewCellStyle18.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle18.BackColor = System.Drawing.Color.White;
+            dataGridViewCellStyle18.ForeColor = System.Drawing.Color.Black;
+            this.dgvCompany030.DefaultCellStyle = dataGridViewCellStyle18;
             this.dgvCompany030.HeaderText = "å�”åŠ›é‡‘\r\næœ‰ç„¡";
             this.dgvCompany030.MaxDropDownItems = 3;
             this.dgvCompany030.Name = "dgvCompany030";
@@ -1486,8 +1525,8 @@
             // 
             // dgvCompany031
             // 
-            dataGridViewCellStyle55.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dgvCompany031.DefaultCellStyle = dataGridViewCellStyle55;
+            dataGridViewCellStyle19.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.dgvCompany031.DefaultCellStyle = dataGridViewCellStyle19;
             this.dgvCompany031.HeaderText = "æ³¨æ–‡æ›¸\r\né€�ä»˜";
             this.dgvCompany031.Name = "dgvCompany031";
             this.dgvCompany031.ReadOnly = true;
@@ -1497,8 +1536,8 @@
             // 
             // dgvCompany032
             // 
-            dataGridViewCellStyle56.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dgvCompany032.DefaultCellStyle = dataGridViewCellStyle56;
+            dataGridViewCellStyle20.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.dgvCompany032.DefaultCellStyle = dataGridViewCellStyle20;
             this.dgvCompany032.HeaderText = "æ³¨æ–‡æ›¸\r\nåˆ°ç�€";
             this.dgvCompany032.Name = "dgvCompany032";
             this.dgvCompany032.ReadOnly = true;
@@ -1508,8 +1547,8 @@
             // 
             // dgvCompany033
             // 
-            dataGridViewCellStyle57.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dgvCompany033.DefaultCellStyle = dataGridViewCellStyle57;
+            dataGridViewCellStyle21.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.dgvCompany033.DefaultCellStyle = dataGridViewCellStyle21;
             this.dgvCompany033.HeaderText = "äºˆç®—æ›¸";
             this.dgvCompany033.Name = "dgvCompany033";
             this.dgvCompany033.ReadOnly = true;
@@ -1519,9 +1558,9 @@
             // 
             // Column17
             // 
-            dataGridViewCellStyle58.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle58.ForeColor = System.Drawing.Color.Black;
-            this.Column17.DefaultCellStyle = dataGridViewCellStyle58;
+            dataGridViewCellStyle22.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle22.ForeColor = System.Drawing.Color.Black;
+            this.Column17.DefaultCellStyle = dataGridViewCellStyle22;
             this.Column17.HeaderText = "æ”¯æ‰•è¶…é�Ž";
             this.Column17.Name = "Column17";
             this.Column17.ReadOnly = true;
@@ -1538,8 +1577,8 @@
             // 
             // dgvCompany035
             // 
-            dataGridViewCellStyle59.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dgvCompany035.DefaultCellStyle = dataGridViewCellStyle59;
+            dataGridViewCellStyle23.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.dgvCompany035.DefaultCellStyle = dataGridViewCellStyle23;
             this.dgvCompany035.HeaderText = "æ‹…å½“è€…";
             this.dgvCompany035.Name = "dgvCompany035";
             this.dgvCompany035.ReadOnly = true;
@@ -1559,6 +1598,7 @@
             // 
             this.dgvCompany037.HeaderText = "æ‹…å½“è€…éƒ¨ç½²ã‚³ãƒ¼ãƒ‰";
             this.dgvCompany037.Name = "dgvCompany037";
+            this.dgvCompany037.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.dgvCompany037.Visible = false;
             // 
             // dgvCompany038
@@ -1565,12 +1605,13 @@
             // 
             this.dgvCompany038.HeaderText = "æ‰¿èª�è€…ï¼‘ã‚³ãƒ¼ãƒ‰";
             this.dgvCompany038.Name = "dgvCompany038";
+            this.dgvCompany038.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.dgvCompany038.Visible = false;
             // 
             // dgvCompany039
             // 
-            dataGridViewCellStyle60.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dgvCompany039.DefaultCellStyle = dataGridViewCellStyle60;
+            dataGridViewCellStyle24.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.dgvCompany039.DefaultCellStyle = dataGridViewCellStyle24;
             this.dgvCompany039.HeaderText = "æ‰¿èª�è€…ï¼‘";
             this.dgvCompany039.Name = "dgvCompany039";
             this.dgvCompany039.ReadOnly = true;
@@ -1584,6 +1625,7 @@
             this.dgvCompany040.HeaderText = "æ‰¿èª�è€…ï¼‘ã€€æ—¥ä»˜";
             this.dgvCompany040.Name = "dgvCompany040";
             this.dgvCompany040.ReadOnly = true;
+            this.dgvCompany040.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.dgvCompany040.Visible = false;
             // 
             // dgvCompany041
@@ -1591,6 +1633,7 @@
             this.dgvCompany041.HeaderText = "æ‰¿èª�è€…ï¼‘ã€€æ‰¿èª�æ¨©é™�";
             this.dgvCompany041.Name = "dgvCompany041";
             this.dgvCompany041.ReadOnly = true;
+            this.dgvCompany041.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.dgvCompany041.Visible = false;
             // 
             // dgvCompany042
@@ -1598,6 +1641,7 @@
             this.dgvCompany042.HeaderText = "æ‰¿èª�è€…ï¼‘ã€€æ‰¿èª�é †ç•ª";
             this.dgvCompany042.Name = "dgvCompany042";
             this.dgvCompany042.ReadOnly = true;
+            this.dgvCompany042.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.dgvCompany042.Visible = false;
             // 
             // Column3
@@ -1605,6 +1649,7 @@
             this.Column3.HeaderText = "æ‰¿èª�è€…ï¼‘ã€€æ‰¿èª�çŠ¶æ…‹";
             this.Column3.Name = "Column3";
             this.Column3.ReadOnly = true;
+            this.Column3.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.Column3.Visible = false;
             // 
             // dgvCompany043
@@ -1612,12 +1657,13 @@
             this.dgvCompany043.HeaderText = "æ‰¿èª�è€…ï¼’ã‚³ãƒ¼ãƒ‰";
             this.dgvCompany043.Name = "dgvCompany043";
             this.dgvCompany043.ReadOnly = true;
+            this.dgvCompany043.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.dgvCompany043.Visible = false;
             // 
             // dgvCompany044
             // 
-            dataGridViewCellStyle61.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dgvCompany044.DefaultCellStyle = dataGridViewCellStyle61;
+            dataGridViewCellStyle25.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.dgvCompany044.DefaultCellStyle = dataGridViewCellStyle25;
             this.dgvCompany044.HeaderText = "æ‰¿èª�è€…ï¼’";
             this.dgvCompany044.Name = "dgvCompany044";
             this.dgvCompany044.ReadOnly = true;
@@ -1631,6 +1677,7 @@
             this.dgvCompany045.HeaderText = "æ‰¿èª�è€…ï¼’ã€€æ—¥ä»˜";
             this.dgvCompany045.Name = "dgvCompany045";
             this.dgvCompany045.ReadOnly = true;
+            this.dgvCompany045.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.dgvCompany045.Visible = false;
             // 
             // dgvCompany046
@@ -1638,6 +1685,7 @@
             this.dgvCompany046.HeaderText = "æ‰¿èª�è€…ï¼’ã€€æ‰¿èª�æ¨©é™�";
             this.dgvCompany046.Name = "dgvCompany046";
             this.dgvCompany046.ReadOnly = true;
+            this.dgvCompany046.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.dgvCompany046.Visible = false;
             // 
             // dgvCompany047
@@ -1645,6 +1693,7 @@
             this.dgvCompany047.HeaderText = "æ‰¿èª�è€…ï¼’ã€€æ‰¿èª�é †ç•ª";
             this.dgvCompany047.Name = "dgvCompany047";
             this.dgvCompany047.ReadOnly = true;
+            this.dgvCompany047.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.dgvCompany047.Visible = false;
             // 
             // Column4
@@ -1652,6 +1701,7 @@
             this.Column4.HeaderText = "æ‰¿èª�è€…ï¼’ã€€æ‰¿èª�çŠ¶æ…‹";
             this.Column4.Name = "Column4";
             this.Column4.ReadOnly = true;
+            this.Column4.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.Column4.Visible = false;
             // 
             // dgvCompany048
@@ -1659,12 +1709,13 @@
             this.dgvCompany048.HeaderText = "æ‰¿èª�è€…ï¼“ã‚³ãƒ¼ãƒ‰";
             this.dgvCompany048.Name = "dgvCompany048";
             this.dgvCompany048.ReadOnly = true;
+            this.dgvCompany048.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.dgvCompany048.Visible = false;
             // 
             // dgvCompany049
             // 
-            dataGridViewCellStyle62.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dgvCompany049.DefaultCellStyle = dataGridViewCellStyle62;
+            dataGridViewCellStyle26.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.dgvCompany049.DefaultCellStyle = dataGridViewCellStyle26;
             this.dgvCompany049.HeaderText = "æ‰¿èª�è€…ï¼“";
             this.dgvCompany049.Name = "dgvCompany049";
             this.dgvCompany049.ReadOnly = true;
@@ -1678,6 +1729,7 @@
             this.dgvCompany050.HeaderText = "æ‰¿èª�è€…ï¼“ã€€æ—¥ä»˜";
             this.dgvCompany050.Name = "dgvCompany050";
             this.dgvCompany050.ReadOnly = true;
+            this.dgvCompany050.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.dgvCompany050.Visible = false;
             // 
             // dgvCompany051
@@ -1685,6 +1737,7 @@
             this.dgvCompany051.HeaderText = "æ‰¿èª�è€…ï¼“ã€€æ‰¿èª�æ¨©é™�";
             this.dgvCompany051.Name = "dgvCompany051";
             this.dgvCompany051.ReadOnly = true;
+            this.dgvCompany051.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.dgvCompany051.Visible = false;
             // 
             // dgvCompany052
@@ -1692,6 +1745,7 @@
             this.dgvCompany052.HeaderText = "æ‰¿èª�è€…ï¼“ã€€æ‰¿èª�é †ç•ª";
             this.dgvCompany052.Name = "dgvCompany052";
             this.dgvCompany052.ReadOnly = true;
+            this.dgvCompany052.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.dgvCompany052.Visible = false;
             // 
             // Column5
@@ -1699,6 +1753,7 @@
             this.Column5.HeaderText = "æ‰¿èª�è€…ï¼“ã€€æ‰¿èª�çŠ¶æ…‹";
             this.Column5.Name = "Column5";
             this.Column5.ReadOnly = true;
+            this.Column5.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.Column5.Visible = false;
             // 
             // dgvCompany053
@@ -1706,12 +1761,13 @@
             this.dgvCompany053.HeaderText = "æ‰¿èª�è€…ï¼”ã‚³ãƒ¼ãƒ‰";
             this.dgvCompany053.Name = "dgvCompany053";
             this.dgvCompany053.ReadOnly = true;
+            this.dgvCompany053.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.dgvCompany053.Visible = false;
             // 
             // dgvCompany054
             // 
-            dataGridViewCellStyle63.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dgvCompany054.DefaultCellStyle = dataGridViewCellStyle63;
+            dataGridViewCellStyle27.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.dgvCompany054.DefaultCellStyle = dataGridViewCellStyle27;
             this.dgvCompany054.HeaderText = "æ‰¿èª�è€…ï¼”";
             this.dgvCompany054.Name = "dgvCompany054";
             this.dgvCompany054.ReadOnly = true;
@@ -1725,6 +1781,7 @@
             this.dgvCompany055.HeaderText = "æ‰¿èª�è€…ï¼”ã€€æ—¥ä»˜";
             this.dgvCompany055.Name = "dgvCompany055";
             this.dgvCompany055.ReadOnly = true;
+            this.dgvCompany055.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.dgvCompany055.Visible = false;
             // 
             // dgvCompany056
@@ -1732,6 +1789,7 @@
             this.dgvCompany056.HeaderText = "æ‰¿èª�è€…ï¼”ã€€æ‰¿èª�æ¨©é™�";
             this.dgvCompany056.Name = "dgvCompany056";
             this.dgvCompany056.ReadOnly = true;
+            this.dgvCompany056.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.dgvCompany056.Visible = false;
             // 
             // dgvCompany057
@@ -1739,6 +1797,7 @@
             this.dgvCompany057.HeaderText = "æ‰¿èª�è€…ï¼”ã€€æ‰¿èª�é †ç•ª";
             this.dgvCompany057.Name = "dgvCompany057";
             this.dgvCompany057.ReadOnly = true;
+            this.dgvCompany057.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.dgvCompany057.Visible = false;
             // 
             // Column6
@@ -1746,6 +1805,7 @@
             this.Column6.HeaderText = "æ‰¿èª�è€…ï¼”ã€€æ‰¿èª�çŠ¶æ…‹";
             this.Column6.Name = "Column6";
             this.Column6.ReadOnly = true;
+            this.Column6.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.Column6.Visible = false;
             // 
             // dgvCompany058
@@ -1757,8 +1817,8 @@
             // 
             // dgvCompany059
             // 
-            dataGridViewCellStyle64.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dgvCompany059.DefaultCellStyle = dataGridViewCellStyle64;
+            dataGridViewCellStyle28.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.dgvCompany059.DefaultCellStyle = dataGridViewCellStyle28;
             this.dgvCompany059.HeaderText = "æ‰¿èª�è€…ï¼•";
             this.dgvCompany059.Name = "dgvCompany059";
             this.dgvCompany059.ReadOnly = true;
@@ -1772,6 +1832,7 @@
             this.dgvCompany060.HeaderText = "æ‰¿èª�è€…ï¼•ã€€æ—¥ä»˜";
             this.dgvCompany060.Name = "dgvCompany060";
             this.dgvCompany060.ReadOnly = true;
+            this.dgvCompany060.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.dgvCompany060.Visible = false;
             // 
             // dgvCompany061
@@ -1779,6 +1840,7 @@
             this.dgvCompany061.HeaderText = "æ‰¿èª�è€…ï¼•ã€€æ‰¿èª�æ¨©é™�";
             this.dgvCompany061.Name = "dgvCompany061";
             this.dgvCompany061.ReadOnly = true;
+            this.dgvCompany061.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.dgvCompany061.Visible = false;
             // 
             // dgvCompany062
@@ -1786,6 +1848,7 @@
             this.dgvCompany062.HeaderText = "æ‰¿èª�è€…ï¼•ã€€æ‰¿èª�é †ç•ª";
             this.dgvCompany062.Name = "dgvCompany062";
             this.dgvCompany062.ReadOnly = true;
+            this.dgvCompany062.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.dgvCompany062.Visible = false;
             // 
             // Column7
@@ -1793,6 +1856,7 @@
             this.Column7.HeaderText = "æ‰¿èª�è€…ï¼•ã€€æ‰¿èª�çŠ¶æ…‹";
             this.Column7.Name = "Column7";
             this.Column7.ReadOnly = true;
+            this.Column7.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.Column7.Visible = false;
             // 
             // dgvCompany063
@@ -1800,12 +1864,13 @@
             this.dgvCompany063.HeaderText = "æ‰¿èª�è€…ï¼–ã‚³ãƒ¼ãƒ‰";
             this.dgvCompany063.Name = "dgvCompany063";
             this.dgvCompany063.ReadOnly = true;
+            this.dgvCompany063.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.dgvCompany063.Visible = false;
             // 
             // dgvCompany064
             // 
-            dataGridViewCellStyle65.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dgvCompany064.DefaultCellStyle = dataGridViewCellStyle65;
+            dataGridViewCellStyle29.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.dgvCompany064.DefaultCellStyle = dataGridViewCellStyle29;
             this.dgvCompany064.HeaderText = "æ‰¿èª�è€…ï¼–";
             this.dgvCompany064.Name = "dgvCompany064";
             this.dgvCompany064.ReadOnly = true;
@@ -1819,6 +1884,7 @@
             this.dgvCompany065.HeaderText = "æ‰¿èª�è€…ï¼–ã€€æ—¥ä»˜";
             this.dgvCompany065.Name = "dgvCompany065";
             this.dgvCompany065.ReadOnly = true;
+            this.dgvCompany065.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.dgvCompany065.Visible = false;
             // 
             // dgvCompany066
@@ -1826,6 +1892,7 @@
             this.dgvCompany066.HeaderText = "æ‰¿èª�è€…ï¼–ã€€æ‰¿èª�æ¨©é™�";
             this.dgvCompany066.Name = "dgvCompany066";
             this.dgvCompany066.ReadOnly = true;
+            this.dgvCompany066.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.dgvCompany066.Visible = false;
             // 
             // dgvCompany067
@@ -1833,6 +1900,7 @@
             this.dgvCompany067.HeaderText = "æ‰¿èª�è€…ï¼–ã€€æ‰¿èª�é †ç•ª";
             this.dgvCompany067.Name = "dgvCompany067";
             this.dgvCompany067.ReadOnly = true;
+            this.dgvCompany067.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.dgvCompany067.Visible = false;
             // 
             // Column8
@@ -1840,6 +1908,7 @@
             this.Column8.HeaderText = "æ‰¿èª�è€…ï¼–ã€€æ‰¿èª�çŠ¶æ…‹";
             this.Column8.Name = "Column8";
             this.Column8.ReadOnly = true;
+            this.Column8.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.Column8.Visible = false;
             // 
             // dgvCompany068
@@ -1847,12 +1916,13 @@
             this.dgvCompany068.HeaderText = "æ‰¿èª�è€…ï¼—ã‚³ãƒ¼ãƒ‰";
             this.dgvCompany068.Name = "dgvCompany068";
             this.dgvCompany068.ReadOnly = true;
+            this.dgvCompany068.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.dgvCompany068.Visible = false;
             // 
             // dgvCompany069
             // 
-            dataGridViewCellStyle66.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dgvCompany069.DefaultCellStyle = dataGridViewCellStyle66;
+            dataGridViewCellStyle30.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.dgvCompany069.DefaultCellStyle = dataGridViewCellStyle30;
             this.dgvCompany069.HeaderText = "æ‰¿èª�è€…ï¼—";
             this.dgvCompany069.Name = "dgvCompany069";
             this.dgvCompany069.ReadOnly = true;
@@ -1866,6 +1936,7 @@
             this.dgvCompany070.HeaderText = "æ‰¿èª�è€…ï¼—ã€€æ—¥ä»˜";
             this.dgvCompany070.Name = "dgvCompany070";
             this.dgvCompany070.ReadOnly = true;
+            this.dgvCompany070.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.dgvCompany070.Visible = false;
             // 
             // dgvCompany071
@@ -1873,6 +1944,7 @@
             this.dgvCompany071.HeaderText = "æ‰¿èª�è€…ï¼—ã€€æ‰¿èª�æ¨©é™�";
             this.dgvCompany071.Name = "dgvCompany071";
             this.dgvCompany071.ReadOnly = true;
+            this.dgvCompany071.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.dgvCompany071.Visible = false;
             // 
             // dgvCompany072
@@ -1880,6 +1952,7 @@
             this.dgvCompany072.HeaderText = "æ‰¿èª�è€…ï¼—ã€€æ‰¿èª�é †ç•ª";
             this.dgvCompany072.Name = "dgvCompany072";
             this.dgvCompany072.ReadOnly = true;
+            this.dgvCompany072.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.dgvCompany072.Visible = false;
             // 
             // Column9
@@ -1887,6 +1960,7 @@
             this.Column9.HeaderText = "æ‰¿èª�è€…ï¼—ã€€æ‰¿èª�çŠ¶æ…‹";
             this.Column9.Name = "Column9";
             this.Column9.ReadOnly = true;
+            this.Column9.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.Column9.Visible = false;
             // 
             // dgvCompany073
@@ -1894,12 +1968,13 @@
             this.dgvCompany073.HeaderText = "æ‰¿èª�è€…ï¼˜ã‚³ãƒ¼ãƒ‰";
             this.dgvCompany073.Name = "dgvCompany073";
             this.dgvCompany073.ReadOnly = true;
+            this.dgvCompany073.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.dgvCompany073.Visible = false;
             // 
             // dgvCompany074
             // 
-            dataGridViewCellStyle67.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dgvCompany074.DefaultCellStyle = dataGridViewCellStyle67;
+            dataGridViewCellStyle31.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.dgvCompany074.DefaultCellStyle = dataGridViewCellStyle31;
             this.dgvCompany074.HeaderText = "æ‰¿èª�è€…ï¼˜";
             this.dgvCompany074.Name = "dgvCompany074";
             this.dgvCompany074.ReadOnly = true;
@@ -1913,6 +1988,7 @@
             this.dgvCompany075.HeaderText = "æ‰¿èª�è€…ï¼˜ã€€æ—¥ä»˜";
             this.dgvCompany075.Name = "dgvCompany075";
             this.dgvCompany075.ReadOnly = true;
+            this.dgvCompany075.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.dgvCompany075.Visible = false;
             // 
             // dgvCompany076
@@ -1920,6 +1996,7 @@
             this.dgvCompany076.HeaderText = "æ‰¿èª�è€…ï¼˜ã€€æ‰¿èª�æ¨©é™�";
             this.dgvCompany076.Name = "dgvCompany076";
             this.dgvCompany076.ReadOnly = true;
+            this.dgvCompany076.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.dgvCompany076.Visible = false;
             // 
             // dgvCompany077
@@ -1927,6 +2004,7 @@
             this.dgvCompany077.HeaderText = "æ‰¿èª�è€…ï¼˜ã€€æ‰¿èª�é †ç•ª";
             this.dgvCompany077.Name = "dgvCompany077";
             this.dgvCompany077.ReadOnly = true;
+            this.dgvCompany077.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.dgvCompany077.Visible = false;
             // 
             // Column10
@@ -1934,6 +2012,7 @@
             this.Column10.HeaderText = "æ‰¿èª�è€…ï¼˜ã€€æ‰¿èª�çŠ¶æ…‹";
             this.Column10.Name = "Column10";
             this.Column10.ReadOnly = true;
+            this.Column10.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.Column10.Visible = false;
             // 
             // dgvCompany078
@@ -1941,12 +2020,13 @@
             this.dgvCompany078.HeaderText = "æ‰¿èª�è€…ï¼™ã‚³ãƒ¼ãƒ‰";
             this.dgvCompany078.Name = "dgvCompany078";
             this.dgvCompany078.ReadOnly = true;
+            this.dgvCompany078.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.dgvCompany078.Visible = false;
             // 
             // dgvCompany079
             // 
-            dataGridViewCellStyle68.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dgvCompany079.DefaultCellStyle = dataGridViewCellStyle68;
+            dataGridViewCellStyle32.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.dgvCompany079.DefaultCellStyle = dataGridViewCellStyle32;
             this.dgvCompany079.HeaderText = "æ‰¿èª�è€…ï¼™";
             this.dgvCompany079.Name = "dgvCompany079";
             this.dgvCompany079.ReadOnly = true;
@@ -1960,6 +2040,7 @@
             this.dgvCompany080.HeaderText = "æ‰¿èª�è€…ï¼™ã€€æ—¥ä»˜";
             this.dgvCompany080.Name = "dgvCompany080";
             this.dgvCompany080.ReadOnly = true;
+            this.dgvCompany080.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.dgvCompany080.Visible = false;
             // 
             // dgvCompany081
@@ -1967,6 +2048,7 @@
             this.dgvCompany081.HeaderText = "æ‰¿èª�è€…ï¼™ã€€æ‰¿èª�æ¨©é™�";
             this.dgvCompany081.Name = "dgvCompany081";
             this.dgvCompany081.ReadOnly = true;
+            this.dgvCompany081.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.dgvCompany081.Visible = false;
             // 
             // dgvCompany082
@@ -1974,6 +2056,7 @@
             this.dgvCompany082.HeaderText = "æ‰¿èª�è€…ï¼™ã€€æ‰¿èª�é †ç•ª";
             this.dgvCompany082.Name = "dgvCompany082";
             this.dgvCompany082.ReadOnly = true;
+            this.dgvCompany082.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.dgvCompany082.Visible = false;
             // 
             // Column11
@@ -1981,6 +2064,7 @@
             this.Column11.HeaderText = "æ‰¿èª�è€…ï¼™ã€€æ‰¿èª�çŠ¶æ…‹";
             this.Column11.Name = "Column11";
             this.Column11.ReadOnly = true;
+            this.Column11.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.Column11.Visible = false;
             // 
             // dgvCompany083
@@ -1988,12 +2072,13 @@
             this.dgvCompany083.HeaderText = "æ‰¿èª�è€…10ã‚³ãƒ¼ãƒ‰";
             this.dgvCompany083.Name = "dgvCompany083";
             this.dgvCompany083.ReadOnly = true;
+            this.dgvCompany083.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.dgvCompany083.Visible = false;
             // 
             // dgvCompany084
             // 
-            dataGridViewCellStyle69.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dgvCompany084.DefaultCellStyle = dataGridViewCellStyle69;
+            dataGridViewCellStyle33.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.dgvCompany084.DefaultCellStyle = dataGridViewCellStyle33;
             this.dgvCompany084.HeaderText = "æ‰¿èª�è€…10";
             this.dgvCompany084.Name = "dgvCompany084";
             this.dgvCompany084.ReadOnly = true;
@@ -2007,6 +2092,7 @@
             this.dgvCompany085.HeaderText = "æ‰¿èª�è€…10ã€€æ—¥ä»˜";
             this.dgvCompany085.Name = "dgvCompany085";
             this.dgvCompany085.ReadOnly = true;
+            this.dgvCompany085.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.dgvCompany085.Visible = false;
             // 
             // dgvCompany086
@@ -2014,6 +2100,7 @@
             this.dgvCompany086.HeaderText = "æ‰¿èª�è€…10ã€€æ‰¿èª�æ¨©é™�";
             this.dgvCompany086.Name = "dgvCompany086";
             this.dgvCompany086.ReadOnly = true;
+            this.dgvCompany086.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.dgvCompany086.Visible = false;
             // 
             // dgvCompany087
@@ -2021,6 +2108,7 @@
             this.dgvCompany087.HeaderText = "æ‰¿èª�è€…10ã€€æ‰¿èª�é †ç•ª";
             this.dgvCompany087.Name = "dgvCompany087";
             this.dgvCompany087.ReadOnly = true;
+            this.dgvCompany087.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.dgvCompany087.Visible = false;
             // 
             // Column12
@@ -2028,12 +2116,13 @@
             this.Column12.HeaderText = "æ‰¿èª�è€…10ã€€æ‰¿èª�çŠ¶æ…‹";
             this.Column12.Name = "Column12";
             this.Column12.ReadOnly = true;
+            this.Column12.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.Column12.Visible = false;
             // 
             // dgvCompany088
             // 
-            dataGridViewCellStyle70.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            this.dgvCompany088.DefaultCellStyle = dataGridViewCellStyle70;
+            dataGridViewCellStyle34.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            this.dgvCompany088.DefaultCellStyle = dataGridViewCellStyle34;
             this.dgvCompany088.HeaderText = "å‚™è€ƒ";
             this.dgvCompany088.Name = "dgvCompany088";
             this.dgvCompany088.Resizable = System.Windows.Forms.DataGridViewTriState.False;
@@ -2078,6 +2167,7 @@
             this.dgvCompany093.HeaderText = "å·¥äº‹æ‹…å½“è€…éƒ¨ç½²ã‚³ãƒ¼ãƒ‰";
             this.dgvCompany093.Name = "dgvCompany093";
             this.dgvCompany093.ReadOnly = true;
+            this.dgvCompany093.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.dgvCompany093.Visible = false;
             // 
             // dgvCompany094
@@ -2084,6 +2174,7 @@
             // 
             this.dgvCompany094.HeaderText = "å·¥äº‹æ‹…å½“è€…";
             this.dgvCompany094.Name = "dgvCompany094";
+            this.dgvCompany094.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.dgvCompany094.Visible = false;
             // 
             // dgvCompany095
@@ -2090,6 +2181,7 @@
             // 
             this.dgvCompany095.HeaderText = "å–¶æ¥­æ‹…å½“è€…";
             this.dgvCompany095.Name = "dgvCompany095";
+            this.dgvCompany095.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.dgvCompany095.Visible = false;
             // 
             // dgvCompany096
@@ -2096,6 +2188,7 @@
             // 
             this.dgvCompany096.HeaderText = "å‰¯æ‹…å½“è€…";
             this.dgvCompany096.Name = "dgvCompany096";
+            this.dgvCompany096.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.dgvCompany096.Visible = false;
             // 
             // dgvCompany097
@@ -2102,6 +2195,7 @@
             // 
             this.dgvCompany097.HeaderText = "æŒ‡å°Žå“¡";
             this.dgvCompany097.Name = "dgvCompany097";
+            this.dgvCompany097.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.dgvCompany097.Visible = false;
             // 
             // dgvCompany098
@@ -2108,6 +2202,7 @@
             // 
             this.dgvCompany098.HeaderText = "å–¶æ¥­éƒ¨ç½²ã‚³ãƒ¼ãƒ‰";
             this.dgvCompany098.Name = "dgvCompany098";
+            this.dgvCompany098.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.dgvCompany098.Visible = false;
             // 
             // dgvCompany099
@@ -2114,6 +2209,7 @@
             // 
             this.dgvCompany099.HeaderText = "å‰¯æ‹…å½“éƒ¨ç½²ã‚³ãƒ¼ãƒ‰";
             this.dgvCompany099.Name = "dgvCompany099";
+            this.dgvCompany099.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.dgvCompany099.Visible = false;
             // 
             // dgvCompany100
@@ -2120,6 +2216,7 @@
             // 
             this.dgvCompany100.HeaderText = "æŒ‡å°Žå“¡éƒ¨ç½²ã‚³ãƒ¼ãƒ‰";
             this.dgvCompany100.Name = "dgvCompany100";
+            this.dgvCompany100.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.dgvCompany100.Visible = false;
             // 
             // Column1
@@ -2127,6 +2224,7 @@
             this.Column1.HeaderText = "æ˜Žç´°ç©ºç™½ãƒ•ãƒ©ã‚°";
             this.Column1.Name = "Column1";
             this.Column1.ReadOnly = true;
+            this.Column1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.Column1.Visible = false;
             // 
             // Column13
@@ -2134,12 +2232,13 @@
             this.Column13.HeaderText = "äº”å��éŸ³";
             this.Column13.Name = "Column13";
             this.Column13.ReadOnly = true;
+            this.Column13.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.Column13.Visible = false;
             // 
             // Column18
             // 
-            dataGridViewCellStyle71.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.Column18.DefaultCellStyle = dataGridViewCellStyle71;
+            dataGridViewCellStyle35.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.Column18.DefaultCellStyle = dataGridViewCellStyle35;
             this.Column18.HeaderText = "é–¢é€£ä»˜ã�‘ãƒ‡ãƒ¼ã‚¿ã‚¿ã‚¤ãƒ—";
             this.Column18.Name = "Column18";
             this.Column18.ReadOnly = true;
@@ -2146,45 +2245,6 @@
             this.Column18.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.Column18.Visible = false;
             // 
-            // cmbTargetMonth
-            // 
-            this.cmbTargetMonth.BackColor = System.Drawing.Color.White;
-            this.cmbTargetMonth.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
-            this.cmbTargetMonth.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
-            this.cmbTargetMonth.Font = new System.Drawing.Font("Century", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            this.cmbTargetMonth.FormattingEnabled = true;
-            this.cmbTargetMonth.Location = new System.Drawing.Point(124, 2);
-            this.cmbTargetMonth.Margin = new System.Windows.Forms.Padding(4);
-            this.cmbTargetMonth.MaxDropDownItems = 12;
-            this.cmbTargetMonth.Name = "cmbTargetMonth";
-            this.cmbTargetMonth.Size = new System.Drawing.Size(140, 28);
-            this.cmbTargetMonth.TabIndex = 1;
-            this.cmbTargetMonth.TextChanged += new System.EventHandler(this.cmbTargetMonth_TextChanged);
-            // 
-            // cmbDepartment
-            // 
-            this.cmbDepartment.BackColor = System.Drawing.Color.White;
-            this.cmbDepartment.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
-            this.cmbDepartment.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
-            this.cmbDepartment.FormattingEnabled = true;
-            this.cmbDepartment.Location = new System.Drawing.Point(428, 5);
-            this.cmbDepartment.Name = "cmbDepartment";
-            this.cmbDepartment.Size = new System.Drawing.Size(170, 23);
-            this.cmbDepartment.TabIndex = 98;
-            this.cmbDepartment.TextChanged += new System.EventHandler(this.cmbPerson_TextChanged);
-            // 
-            // cmbPerson
-            // 
-            this.cmbPerson.BackColor = System.Drawing.Color.White;
-            this.cmbPerson.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
-            this.cmbPerson.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
-            this.cmbPerson.FormattingEnabled = true;
-            this.cmbPerson.Location = new System.Drawing.Point(732, 5);
-            this.cmbPerson.Name = "cmbPerson";
-            this.cmbPerson.Size = new System.Drawing.Size(170, 23);
-            this.cmbPerson.TabIndex = 100;
-            this.cmbPerson.TextChanged += new System.EventHandler(this.cmbPerson_TextChanged);
-            // 
             // FrmReqSumList
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
@@ -2230,6 +2290,7 @@
             this.panel3.PerformLayout();
             this.panel4.ResumeLayout(false);
             this.panel4.PerformLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.dgvData)).EndInit();
             this.panel5.ResumeLayout(false);
             this.panel6.ResumeLayout(false);
             this.panel7.ResumeLayout(false);
@@ -2236,7 +2297,6 @@
             this.panel8.ResumeLayout(false);
             this.panel9.ResumeLayout(false);
             this.panel10.ResumeLayout(false);
-            ((System.ComponentModel.ISupportInitialize)(this.dgvData)).EndInit();
             this.ResumeLayout(false);
 
         }
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSumList/FrmReqSumList.resx
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSumList/FrmReqSumList.resx	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSumList/FrmReqSumList.resx	(revision 468)
@@ -120,9 +120,6 @@
   <metadata name="lblCellTotal.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     <value>True</value>
   </metadata>
-  <metadata name="lblCellTotal.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
   <metadata name="Column15.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     <value>True</value>
   </metadata>
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSumList/FrmReqSumListAux.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSumList/FrmReqSumListAux.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSumList/FrmReqSumListAux.cs	(revision 468)
@@ -458,10 +458,11 @@
         {
             try
             {
+                StringBuilder strSQL = new StringBuilder();
                 string strWork = CommonMotions.HanToZenNum((InputRec.TargetDate % 100).ToString());
+                List<SubConMailQueue> QueList = new List<SubConMailQueue>();
 
-                StringBuilder strSQL = new StringBuilder();
-                List<SubConMailQueue> QueList = new List<SubConMailQueue>();
+                strSQL.Clear();
                 strSQL.AppendFormat(" Where CompanyCode = {0}", InputRec.CompanyCode);
                 strSQL.AppendFormat(" And MailDelivery = {0}", (int)SubContrMailDelivery.MailDeliveryDef.BilledMonthly);
                 strSQL.AppendFormat(" And Argument0 = '{0}'", strWork);
@@ -2834,9 +2835,18 @@
                     if (cnvRowState(CurRow.Cells[(int)DispColumn.RowState].Value) == DataRowState.Unchanged)
                         CurRow.Cells[(int)DispColumn.RowState].Value = DataRowState.Modified;
 
+                    // �HŽ–’Ç‰Áƒ{ƒ^ƒ“‰Ÿ‰ºŒãƒ�ƒbƒZ�[ƒW•\Ž¦
+                    DispMessageBox("�HŽ–‚ª�Ý’è");
+
                     return;
                 }
 
+                // �HŽ–’Ç‰Áƒ{ƒ^ƒ“‰Ÿ‰ºŒãƒ�ƒbƒZ�[ƒW•\Ž¦
+                if (nSelConstrCode > 0)
+                    DispMessageBox("�HŽ–‚ª’Ç‰Á");
+                else
+                    DispMessageBox("•s–¾‚ª’Ç‰Á", false);
+
                 int nNewMakeRowIndex = -1;
                 if (rdbCompany.Checked)
                 {
@@ -2876,6 +2886,45 @@
         }
         #endregion
 
+        #region �HŽ–’Ç‰Áƒ{ƒ^ƒ“‰Ÿ‰ºŒãƒ�ƒbƒZ�[ƒW•\Ž¦
+        /// <summary>
+        /// �HŽ–’Ç‰Áƒ{ƒ^ƒ“‰Ÿ‰ºŒãƒ�ƒbƒZ�[ƒW•\Ž¦
+        /// </summary>
+        private void DispMessageBox(string DispString, bool b2Msg = true)
+        {
+            FrmCustomMsgBox frm = new FrmCustomMsgBox();
+            try
+            {
+                // ‚n‚jƒ�ƒbƒZ�[ƒWƒ{ƒbƒNƒX•\Ž¦ƒXƒ^ƒCƒ‹ƒZƒbƒg
+                frm.SetOKMessageBoxStyle();
+
+                // Type2_1•\Ž¦•¶Žš
+                frm.DisplayTextType2_1 = string.Format("{0}‚³‚ê‚Ü‚µ‚½", DispString);
+
+                // Type2_1•\Ž¦•¶Žš�F
+                frm.DisplayTextForeColorType2_1 = Color.Red;
+
+                // 2’i–Úƒ‰ƒxƒ‹•\Ž¦�§Œä
+                frm.VisibleType2_2 = b2Msg;
+
+                // Type2_2•\Ž¦•¶Žš
+                frm.DisplayTextType2_2 = "‘±‚¯‚Ä‘ä’ ‘I‘ð‚ð�s‚Á‚Ä‚­‚¾‚³‚¢�B";
+                // Type2_2•\Ž¦•¶Žš�F
+                frm.DisplayTextForeColorType2_2 = Color.Red;
+
+                frm.ShowDialog();
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+            finally
+            {
+                frm.Dispose(); frm = null;
+            }
+        }
+        #endregion
+
         #region ‹ÆŽÒƒOƒŠƒbƒhŒ»�ê’Ç‰Á�ˆ—�
         /// <summary>
         /// ‹ÆŽÒƒOƒŠƒbƒhŒ»�ê’Ç‰Á�ˆ—�
@@ -2916,7 +2965,7 @@
                 DataGridViewRow NewRow = dgv.Rows[MakeIndex];
                 NewRow.Cells[(int)DispColumn.RowState].Value = DataRowState.Added;
 
-                // �HŽ–”Ô�†‚ª‚ ‚ê‚ÎŠÖ˜A•t‚¯ƒtƒ‰ƒO‚ð‘ä’ 
+                // �HŽ–”Ô�†‚ª‚ ‚ê‚ÎŠÖ˜A•t‚¯ƒtƒ‰ƒO‚É‘ä’ ‚ðƒZƒbƒg
                 if (SelConstrCode > 0)
                     NewRow.Cells[(int)DispColumn.LinkDataType].Value = (int)BillingDataDetail.DataTypeDef.Ledger;
                 
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSumList/ProcessControl.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSumList/ProcessControl.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSumList/ProcessControl.cs	(revision 468)
@@ -110,6 +110,9 @@
                     // è‡ªãƒ—ãƒ­ã‚»ã‚¹ã�¯å‡¦ç�†ã�—ã�ªã�„
                     if (CurRec.Key == s_CurrentProcessNo) continue;
 
+                    // è£½å“�ã�«ã‚ˆã�£ã�¦ã�®å®Ÿè£…ãƒ�ã‚§ãƒƒã‚¯
+                    if (!ClsExcute.GetImplementationProcess(CurRec.Key)) continue;
+
                     //ã‚¤ãƒ™ãƒ³ãƒˆã�®ç™»éŒ²
                     switch (CurRec.Key)
                     {
@@ -246,6 +249,7 @@
         {
             try
             {
+                if (ClsExcute.ProcControlPara.Count < 1) return false;
                 // ãƒ—ãƒ­ã‚»ã‚¹èµ·å‹•ãƒ†ãƒ¼ãƒ–ãƒ«ã�«ç”³è«‹ç”»é�¢ã�Œè¨­å®šã�•ã‚Œã�¦ã�„ã‚‹å ´å�ˆã�¯true
                 int NextProcess = ClsExcute.ProcControlPara[ClsExcute.GetNowProcessPoint()].ProcNo;
                 if (NextProcess == (int)ClsExcute.SubFormExecuteNo.ApprovalScreen) return true;
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/SelectPayment/FrmSelectPaymentAux.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/SelectPayment/FrmSelectPaymentAux.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/SelectPayment/FrmSelectPaymentAux.cs	(revision 468)
@@ -230,12 +230,8 @@
 
                         long amount = CommonMotions.cnvLong(cellValue);
                         int SelDate = CommonMotions.cnvInt(cbTargetMonth.SelectedValue);
-                        int nYear = CommonMotions.cnvTruncate(SelDate / 100);
-                        int nMonth = SelDate - (nYear * 100);
-                        int nParaDate = 0;
-                        if (nYear > 0 && (1 <= nMonth && nMonth <= 12))
-                            nParaDate = (SelDate * 100) + DateTime.DaysInMonth(nYear, nMonth);
-                        double dParcent = (CommonMotions.AdaptationConsumptionTax(nParaDate) / 100.0);
+                        double dParcent = (double)GetConSumptionTax();
+
                         var depositDetail = depositOrderer.DepositDetails[0];
                         switch (e.ColumnIndex)
                         {
@@ -347,6 +343,32 @@
         }
         #endregion
 
+        #region è¡¨ç¤ºä»˜ã��ã�®è«¸è²»ç¨Žã‚’å�–å¾—ã�™ã‚‹
+        /// <summary>
+        /// è¡¨ç¤ºä»˜ã��ã�®è«¸è²»ç¨Žã‚’å�–å¾—ã�™ã‚‹
+        /// </summary>
+        /// <returns></returns>
+        private decimal GetConSumptionTax()
+        {
+            try
+            {
+                int SelDate = CommonMotions.cnvInt(cbTargetMonth.SelectedValue);
+                int nYear = CommonMotions.cnvTruncate(SelDate / 100);
+                int nMonth = SelDate - (nYear * 100);
+                int nParaDate = 0;
+                if (nYear > 0 && (1 <= nMonth && nMonth <= 12))
+                    nParaDate = (SelDate * 100) + DateTime.DaysInMonth(nYear, nMonth);
+
+                return (decimal)(CommonMotions.AdaptationConsumptionTax(nParaDate) / 100.0);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+                return (decimal)CommonMotions.AdaptationConsumptionTax();
+            }
+        }
+        #endregion
+
         #region å…¥é‡‘é‡‘é¡�å�ˆè¨ˆè¡¨ç¤ºå‡¦ç�†
         /// <summary>
         /// å…¥é‡‘é‡‘é¡�å�ˆè¨ˆè¡¨ç¤ºå‡¦ç�†
@@ -2743,6 +2765,7 @@
                     // æ˜Žç´°è¡Œä»¥å¤–ã�¯å‡¦ç�†ã�—ã�ªã�„
                     if (depositOrderer.KB != (int)PaymentLineClass.detailLine) continue;
 
+                    bool bDataChg = false;
                     // å…¥é‡‘æ˜Žç´°ãƒ‡ãƒ¼ã‚¿ã�®ç™»éŒ²
                     foreach (DepositDetail depositDetail in depositOrderer.DepositDetails)
                     {
@@ -2797,15 +2820,19 @@
                                 throw new Exception();
                             }
                         }
+                        bDataChg = true;
                     }
 
                     // å…ˆé ­è¡Œã�®ã�¿å…¥é‡‘é‡‘é¡�æ›´æ–°
-                    if (depositOrderer.Requests[0].ConstructionCode > 0
-                        && nConstrCode != depositOrderer.Requests[0].ConstructionCode)
+                    if (bDataChg)
                     {
-                        nConstrCode = depositOrderer.Requests[0].ConstructionCode;
-                        // å·¥äº‹ç•ªå�·æ¯Žã�®å½“æœˆæ¶ˆè¾¼é‡‘é¡�ã‚’å·¥äº‹å�°å¸³ã�¸æ›´æ–°
-                        CalcOrderToLedger(LedgerDB, ExecDB, nConstrCode);
+                        if (depositOrderer.Requests[0].ConstructionCode > 0
+                            && nConstrCode != depositOrderer.Requests[0].ConstructionCode)
+                        {
+                            nConstrCode = depositOrderer.Requests[0].ConstructionCode;
+                            // å·¥äº‹ç•ªå�·æ¯Žã�®å½“æœˆæ¶ˆè¾¼é‡‘é¡�ã‚’å·¥äº‹å�°å¸³ã�¸æ›´æ–°
+                            CalcOrderToLedger(LedgerDB, ExecDB, nConstrCode);
+                        }
                     }
 
                     // ----- å�”åŠ›é‡‘ãƒ»æ‰‹æ•°æ–™ãƒ»é€�æ–™æ›´æ–°
@@ -3041,13 +3068,36 @@
         {
             try
             {
+
                 long lValue = m_depositOrderers.Where(x => x.KB == (int)PaymentLineClass.detailLine
                                                                            && x.Requests[0].ConstructionCode == nConstrCode
                                                                            && x.DepositDetails[0].RequestNo > 0)
-                                                                .Sum(y => y.DepositDetails[0].DepositAmount);
-                //å·¥äº‹è©³ç´°å�°å¸³ã�«æ›¸ã��è¾¼ã‚€
-                string TargetMonth = cbTargetMonth.Text;                //å¯¾è±¡å¹´æœˆ
-                bool DspMsg = true;                                     //ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸è¡¨ç¤ºç”¨ãƒ•ãƒ©ã‚°
+                                                                .Sum(y => y.DepositDetails[0].DepositAmount             // å…¥é‡‘æ¶ˆè¾¼é‡‘é¡�ï¼ˆç¨ŽæŠœï¼‰
+                                                                            + y.DepositDetails[0].DiscountAmount);      // å€¤å¼•ã��é‡‘é¡�ï¼ˆç¨ŽæŠœï¼‰
+
+                decimal dParcent = (1.00M + GetConSumptionTax());
+                decimal dwork = 0M;
+                dwork = m_depositOrderers.Where(x => x.KB == (int)PaymentLineClass.detailLine
+                                                                           && x.Requests[0].ConstructionCode == nConstrCode
+                                                                           && x.DepositDetails[0].RequestNo > 0)
+                                                                .Sum(y => y.DepositDetails[0].CnstrPrice);          // å�”åŠ›é‡‘
+                lValue += CommonMotions.cnvRound((double)(dwork / dParcent));
+
+                dwork = m_depositOrderers.Where(x => x.KB == (int)PaymentLineClass.detailLine
+                                                                           && x.Requests[0].ConstructionCode == nConstrCode
+                                                                           && x.DepositDetails[0].RequestNo > 0)
+                                                                .Sum(y => y.DepositDetails[0].Fees);                // æŒ¯è¾¼æ‰‹æ•°æ–™
+                lValue += CommonMotions.cnvRound((double)(dwork / dParcent));
+
+                dwork = m_depositOrderers.Where(x => x.KB == (int)PaymentLineClass.detailLine
+                                                                           && x.Requests[0].ConstructionCode == nConstrCode
+                                                                           && x.DepositDetails[0].RequestNo > 0)
+                                                                .Sum(y => y.DepositDetails[0].OtherAdjustments);    // æ‰‹å½¢é€�æ–™
+                lValue += CommonMotions.cnvRound((double)(dwork / dParcent));
+
+                // å·¥äº‹è©³ç´°å�°å¸³ã�«æ›¸ã��è¾¼ã‚€
+                string TargetMonth = cbTargetMonth.Text;                // å¯¾è±¡å¹´æœˆ
+                bool DspMsg = true;                                     // ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸è¡¨ç¤ºç”¨ãƒ•ãƒ©ã‚°
                 ClsChangeLedgerData.ModifyExecuteValue(LedgerDB, ExecDB
                                                             , nConstrCode, TargetMonth, lValue
                                                             , (int)FrmConstructionLedger.DataGroup.DepositAmount
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/SelectPayment/ProcessControl.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/SelectPayment/ProcessControl.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/SelectPayment/ProcessControl.cs	(revision 468)
@@ -110,6 +110,9 @@
                     // è‡ªãƒ—ãƒ­ã‚»ã‚¹ã�¯å‡¦ç�†ã�—ã�ªã�„
                     if (CurRec.Key == s_CurrentProcessNo) continue;
 
+                    // è£½å“�ã�«ã‚ˆã�£ã�¦ã�®å®Ÿè£…ãƒ�ã‚§ãƒƒã‚¯
+                    if (!ClsExcute.GetImplementationProcess(CurRec.Key)) continue;
+
                     //ã‚¤ãƒ™ãƒ³ãƒˆã�®ç™»éŒ²
                     switch (CurRec.Key)
                     {
@@ -246,6 +249,7 @@
         {
             try
             {
+                if (ClsExcute.ProcControlPara.Count < 1) return false;
                 // ãƒ—ãƒ­ã‚»ã‚¹èµ·å‹•ãƒ†ãƒ¼ãƒ–ãƒ«ã�«ç”³è«‹ç”»é�¢ã�Œè¨­å®šã�•ã‚Œã�¦ã�„ã‚‹å ´å�ˆã�¯true
                 int NextProcess = ClsExcute.ProcControlPara[ClsExcute.GetNowProcessPoint()].ProcNo;
                 if (NextProcess == (int)ClsExcute.SubFormExecuteNo.ApprovalScreen) return true;
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/Master/ApprovalRoute/FrmAppRouteCopy.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/Master/ApprovalRoute/FrmAppRouteCopy.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/Master/ApprovalRoute/FrmAppRouteCopy.cs	(revision 468)
@@ -390,7 +390,7 @@
                     foreach (KeyValuePair<int, string> AppList in ClsExcute.AppovalList)
                     {
                         // è£½å“�ç‰ˆã�¯é€”ä¸­ã�¾ã�§ã�—ã�‹è¡¨ç¤ºã�—ã�ªã�„
-                        if (ProductDefine.ProductType == (int)ProductDefine.ProductTypeDef.MassProductionType1
+                        if (ProductDefine.ProductType == (int)ProductDefine.ProductTypeDef.ProductsModelType1
                             && nBreakPoint1 < AppList.Key) { break; }
 
                         // è‡ªåˆ†ã�®æ‰¿èª�ã�¯è¡¨ç¤ºã�—ã�ªã�„
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/Master/ApprovalRoute/FrmApprovalDispAux.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/Master/ApprovalRoute/FrmApprovalDispAux.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/Master/ApprovalRoute/FrmApprovalDispAux.cs	(revision 468)
@@ -180,7 +180,7 @@
                     foreach (KeyValuePair<int, string> AppList in ClsExcute.AppovalList)
                     {
                         // è£½å“�ç‰ˆã�¯é€”ä¸­ã�¾ã�§ã�—ã�‹è¡¨ç¤ºã�—ã�ªã�„
-                        if (ProductDefine.ProductType == (int)ProductDefine.ProductTypeDef.MassProductionType1
+                        if (ProductDefine.ProductType == (int)ProductDefine.ProductTypeDef.ProductsModelType1
                             && nBreakPoint1 < AppList.Key) { break; }
 
                         // å¯¾è±¡ãƒ‡ãƒ¼ã‚¿ã�®ã�¿å�–å¾—
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/Master/ConstructionType/FrmConstructionType.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/Master/ConstructionType/FrmConstructionType.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/Master/ConstructionType/FrmConstructionType.cs	(revision 468)
@@ -624,6 +624,8 @@
                 cmbPublicFlg.SelectedIndex = -1;
                 cmbRepairFlg.SelectedIndex = -1;
                 cmbDataSecRank.SelectedIndex = -1;
+                radioButton1.Checked = true;
+                radioButton3.Checked = true;
                 m_bChengeAns = false;
                 TypeExpensesVisible(false);
             }
@@ -793,6 +795,11 @@
                     ci.ExpensesLink = (int)ConstructionTypeMaster.ExpensesLinkDef.ByDepartment;
                 else
                     ci.ExpensesLink = (int)ConstructionTypeMaster.ExpensesLinkDef.PerType;
+                if (radioButton3.Checked)
+                    ci.CompanyProp = (int)ConstructionTypeMaster.CompanyPropDef.Normal;
+                else
+                    ci.CompanyProp = (int)ConstructionTypeMaster.CompanyPropDef.OwnProp;
+
                 ci.DeleteFlg = (int)CommonDefine.DataDeleteDef.Exists;
                 // è¡¨ç¤ºé †ã�¯ã‚»ãƒƒãƒˆã�—ã�ªã�„
                 ci.DisplayOrder = 0;
@@ -1022,35 +1029,43 @@
                 string strSQL = typeDB.CreatePrimarykeyString(m_TypeCode);
                 if (!typeDB.SelectAction(strSQL, ref wrklist)) return;
 
-                if (wrklist.Count != 0)
+                // æ–°è¦�æ™‚ã�¯ãƒ‡ãƒ¼ã‚¿è¡¨ç¤ºã‚’ã�—ã�ªã�„
+                if (wrklist.Count == 0) goto AfterDisplay;
+
+                // ãƒ‡ãƒ¼ã‚¿è¡¨ç¤º
+                m_dispControl[(int)DispCtrl.TypeCode].Text = wrklist[0].TypeCode.ToString();        // ç¨®åˆ¥ã‚³ãƒ¼ãƒ‰
+                m_dispControl[(int)DispCtrl.TypeName].Text = wrklist[0].NameString.ToString();      // ç¨®åˆ¥å��ç§°
+                cmbPublicFlg.SelectedValue = wrklist[0].PublicFlg;                                  // å·¥äº‹ç¨®åˆ¥
+                cmbRepairFlg.SelectedValue = wrklist[0].RepairFlg;                                  // æ–°ç¯‰ãƒ»æ”¹ä¿®åŒºåˆ†
+                cmbDataSecRank.SelectedValue = wrklist[0].SecRank;                                  // é�¸æŠžæ©Ÿå¯†åŒºåˆ†
+                if (wrklist[0].ExpensesLink == (int)ConstructionTypeMaster.ExpensesLinkDef.ByDepartment)
                 {
+                    radioButton1.Checked = true;
+                    // ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«è¡¨ç¤º
+                    TypeExpensesVisible(false);
+                }
+                else if (wrklist[0].ExpensesLink == (int)ConstructionTypeMaster.ExpensesLinkDef.PerType)
+                {
+                    radioButton2.Checked = true;
+                    // ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«è¡¨ç¤º
+                    TypeExpensesVisible(true);
                     // ãƒ‡ãƒ¼ã‚¿è¡¨ç¤º
-                    m_dispControl[(int)DispCtrl.TypeCode].Text = wrklist[0].TypeCode.ToString();        // ç¨®åˆ¥ã‚³ãƒ¼ãƒ‰
-                    m_dispControl[(int)DispCtrl.TypeName].Text = wrklist[0].NameString.ToString();      // ç¨®åˆ¥å��ç§°
-                    cmbPublicFlg.SelectedValue = wrklist[0].PublicFlg;                                  // å·¥äº‹ç¨®åˆ¥
-                    cmbRepairFlg.SelectedValue = wrklist[0].RepairFlg;                                  // æ–°ç¯‰ãƒ»æ”¹ä¿®åŒºåˆ†
-                    cmbDataSecRank.SelectedValue = wrklist[0].SecRank;                                  // é�¸æŠžæ©Ÿå¯†åŒºåˆ†
-                    if (wrklist[0].ExpensesLink == (int)ConstructionTypeMaster.ExpensesLinkDef.ByDepartment)
-                    {
-                        radioButton1.Checked = true;
-                        // ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«è¡¨ç¤º
-                        TypeExpensesVisible(false);
-                    }
-                    else if (wrklist[0].ExpensesLink == (int)ConstructionTypeMaster.ExpensesLinkDef.PerType)
-                    {
-                        radioButton2.Checked = true;
-                        // ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«è¡¨ç¤º
-                        TypeExpensesVisible(true);
-                        // ãƒ‡ãƒ¼ã‚¿è¡¨ç¤º
-                        DspTypeExpenses();
-                    }
-
-                    if (m_EditLock)
-                        m_dispControl[(int)DispCtrl.EditMode].Text = CommonDefine.EditModeStringRef;                // å�‚ç…§
-                    else
-                        m_dispControl[(int)DispCtrl.EditMode].Text = CommonDefine.EditModeStringEdit;               // ä¿®æ­£
+                    DspTypeExpenses();
                 }
+                // è‡ªç¤¾å·¥äº‹åŒºåˆ†
+                if (wrklist[0].CompanyProp == (int)ConstructionTypeMaster.CompanyPropDef.Normal)
+                    radioButton3.Checked = true;
+                else
+                    radioButton4.Checked = true;
 
+                if (m_EditLock)
+                    m_dispControl[(int)DispCtrl.EditMode].Text = CommonDefine.EditModeStringRef;                // å�‚ç…§
+                else
+                    m_dispControl[(int)DispCtrl.EditMode].Text = CommonDefine.EditModeStringEdit;               // ä¿®æ­£
+
+                // è¡¨ç¤ºå¾Œå‡¦ç�†é£›ã�³å…ˆãƒ©ãƒ™ãƒ«
+                AfterDisplay:
+
                 // å…¬å…±å·¥äº‹ä»¥å¤–ã�¯å…¥åŠ›ã�•ã�›ã�ªã�„
                 if (CommonMotions.cnvInt(cmbPublicFlg.SelectedValue) == (int)ConstructionTypeMaster.PublicFlgDef.Community)
                 {
@@ -1096,7 +1111,7 @@
                 dgvExpenses.Rows.Clear();
 
                 // å·¥äº‹ç¨®åˆ¥çµŒè²»çŽ‡ãƒžã‚¹ã‚¿å�–å¾—
-                int DivCode = DivisionMaster.DivisionMasterCode.First(x => x.Value.Equals("æ–½å·¥çµŒè²»å��ç§°ç™»éŒ²")).Key;
+                int DivCode = DivisionMaster.DivisionMasterCode.First(x => x.Value.Equals("æ–½å·¥çµŒè²»åŒºåˆ†ç™»éŒ²")).Key;
                 ArrayList wrklist = new ArrayList();
                 StringBuilder strSQL = new StringBuilder();
                 strSQL.Append("SELECT A.NAMECODE, A.NAMESTRING, B.TYPECODE, B.EXPENSESPERIOD, B.EXPENSESRAITO");
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/Master/ConstructionType/FrmConstructionType.designer.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/Master/ConstructionType/FrmConstructionType.designer.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/Master/ConstructionType/FrmConstructionType.designer.cs	(revision 468)
@@ -28,15 +28,15 @@
         /// </summary>
         private void InitializeComponent()
         {
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle();
+            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();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
             this.btnDataEntry = new System.Windows.Forms.Button();
             this.btnEnd = new System.Windows.Forms.Button();
             this.label1 = new System.Windows.Forms.Label();
@@ -46,6 +46,9 @@
             this.btnDispDown = new System.Windows.Forms.Button();
             this.btnDispUp = new System.Windows.Forms.Button();
             this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
+            this.panel2 = new System.Windows.Forms.Panel();
+            this.radioButton4 = new System.Windows.Forms.RadioButton();
+            this.radioButton3 = new System.Windows.Forms.RadioButton();
             this.dgvExpenses = new ProcessManagement.Forms.CustomControls.DataGridViewEX();
             this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column4 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
@@ -67,6 +70,7 @@
             this.cmbDataSecRank = new System.Windows.Forms.ComboBox();
             this.label7 = new System.Windows.Forms.Label();
             this.cmbRepairFlg = new System.Windows.Forms.ComboBox();
+            this.label8 = new System.Windows.Forms.Label();
             this.lblEditMode = new System.Windows.Forms.Label();
             this.dgvWorkList = new ProcessManagement.Forms.CustomControls.DataGridViewEX();
             this.Column0 = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -76,6 +80,7 @@
             this.Column5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.btnHelp = new System.Windows.Forms.Button();
             this.tableLayoutPanel1.SuspendLayout();
+            this.panel2.SuspendLayout();
             ((System.ComponentModel.ISupportInitialize)(this.dgvExpenses)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.numUDPeriod)).BeginInit();
             this.panel1.SuspendLayout();
@@ -195,10 +200,10 @@
             this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 150F));
             this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 210F));
             this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 250F));
-            this.tableLayoutPanel1.Controls.Add(this.dgvExpenses, 0, 7);
-            this.tableLayoutPanel1.Controls.Add(this.numUDPeriod, 1, 6);
+            this.tableLayoutPanel1.Controls.Add(this.dgvExpenses, 0, 8);
+            this.tableLayoutPanel1.Controls.Add(this.numUDPeriod, 1, 7);
             this.tableLayoutPanel1.Controls.Add(this.lblStaticItemCode, 0, 0);
-            this.tableLayoutPanel1.Controls.Add(this.label3, 0, 6);
+            this.tableLayoutPanel1.Controls.Add(this.label3, 0, 7);
             this.tableLayoutPanel1.Controls.Add(this.label4, 0, 1);
             this.tableLayoutPanel1.Controls.Add(this.txtInput1, 1, 1);
             this.tableLayoutPanel1.Controls.Add(this.lblTypeCode, 1, 0);
@@ -210,9 +215,11 @@
             this.tableLayoutPanel1.Controls.Add(this.cmbDataSecRank, 1, 4);
             this.tableLayoutPanel1.Controls.Add(this.label7, 0, 3);
             this.tableLayoutPanel1.Controls.Add(this.cmbRepairFlg, 1, 3);
+            this.tableLayoutPanel1.Controls.Add(this.label8, 0, 6);
+            this.tableLayoutPanel1.Controls.Add(this.panel2, 1, 6);
             this.tableLayoutPanel1.Location = new System.Drawing.Point(600, 100);
             this.tableLayoutPanel1.Name = "tableLayoutPanel1";
-            this.tableLayoutPanel1.RowCount = 8;
+            this.tableLayoutPanel1.RowCount = 9;
             this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 35F));
             this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 35F));
             this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 35F));
@@ -220,10 +227,49 @@
             this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 35F));
             this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 35F));
             this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 35F));
+            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 35F));
             this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 100F));
-            this.tableLayoutPanel1.Size = new System.Drawing.Size(610, 345);
+            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
+            this.tableLayoutPanel1.Size = new System.Drawing.Size(610, 380);
             this.tableLayoutPanel1.TabIndex = 23;
             // 
+            // panel2
+            // 
+            this.panel2.BackColor = System.Drawing.Color.FloralWhite;
+            this.tableLayoutPanel1.SetColumnSpan(this.panel2, 2);
+            this.panel2.Controls.Add(this.radioButton4);
+            this.panel2.Controls.Add(this.radioButton3);
+            this.panel2.Location = new System.Drawing.Point(153, 213);
+            this.panel2.Name = "panel2";
+            this.panel2.Size = new System.Drawing.Size(360, 29);
+            this.panel2.TabIndex = 118;
+            // 
+            // radioButton4
+            // 
+            this.radioButton4.AutoSize = true;
+            this.radioButton4.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.radioButton4.ForeColor = System.Drawing.Color.Black;
+            this.radioButton4.Location = new System.Drawing.Point(174, 2);
+            this.radioButton4.Name = "radioButton4";
+            this.radioButton4.Size = new System.Drawing.Size(120, 25);
+            this.radioButton4.TabIndex = 0;
+            this.radioButton4.Text = "è‡ªç¤¾å·¥äº‹";
+            this.radioButton4.UseVisualStyleBackColor = true;
+            // 
+            // radioButton3
+            // 
+            this.radioButton3.AutoSize = true;
+            this.radioButton3.Checked = true;
+            this.radioButton3.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.radioButton3.ForeColor = System.Drawing.Color.Black;
+            this.radioButton3.Location = new System.Drawing.Point(20, 2);
+            this.radioButton3.Name = "radioButton3";
+            this.radioButton3.Size = new System.Drawing.Size(120, 25);
+            this.radioButton3.TabIndex = 0;
+            this.radioButton3.TabStop = true;
+            this.radioButton3.Text = "é€šå¸¸å·¥äº‹";
+            this.radioButton3.UseVisualStyleBackColor = true;
+            // 
             // dgvExpenses
             // 
             this.dgvExpenses.AllowUserToAddRows = false;
@@ -232,14 +278,14 @@
             this.dgvExpenses.AllowUserToResizeRows = false;
             this.dgvExpenses.BackgroundColor = System.Drawing.Color.White;
             this.dgvExpenses.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle10.BackColor = System.Drawing.SystemColors.Control;
-            dataGridViewCellStyle10.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            dataGridViewCellStyle10.ForeColor = System.Drawing.SystemColors.WindowText;
-            dataGridViewCellStyle10.SelectionBackColor = System.Drawing.SystemColors.Highlight;
-            dataGridViewCellStyle10.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
-            dataGridViewCellStyle10.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
-            this.dgvExpenses.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle10;
+            dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
+            dataGridViewCellStyle1.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
+            dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+            dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvExpenses.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
             this.dgvExpenses.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
             this.dgvExpenses.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
             this.dataGridViewTextBoxColumn2,
@@ -249,7 +295,7 @@
             this.tableLayoutPanel1.SetColumnSpan(this.dgvExpenses, 3);
             this.dgvExpenses.EnableHeadersVisualStyles = false;
             this.dgvExpenses.ImeMode = System.Windows.Forms.ImeMode.Disable;
-            this.dgvExpenses.Location = new System.Drawing.Point(3, 248);
+            this.dgvExpenses.Location = new System.Drawing.Point(3, 283);
             this.dgvExpenses.Name = "dgvExpenses";
             this.dgvExpenses.RowHeadersVisible = false;
             this.dgvExpenses.RowHeadersWidth = 20;
@@ -279,9 +325,9 @@
             // 
             // dataGridViewTextBoxColumn3
             // 
-            dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            dataGridViewCellStyle11.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn3.DefaultCellStyle = dataGridViewCellStyle11;
+            dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle2.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn3.DefaultCellStyle = dataGridViewCellStyle2;
             this.dataGridViewTextBoxColumn3.Frozen = true;
             this.dataGridViewTextBoxColumn3.HeaderText = "çµŒã€€è²»ã€€å��ã€€ç§°";
             this.dataGridViewTextBoxColumn3.MaxInputLength = 50;
@@ -292,10 +338,10 @@
             // 
             // dataGridViewTextBoxColumn1
             // 
-            dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle12.ForeColor = System.Drawing.Color.Black;
-            dataGridViewCellStyle12.NullValue = null;
-            this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle12;
+            dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle3.ForeColor = System.Drawing.Color.Black;
+            dataGridViewCellStyle3.NullValue = null;
+            this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle3;
             this.dataGridViewTextBoxColumn1.Frozen = true;
             this.dataGridViewTextBoxColumn1.HeaderText = "çµŒè²»çŽ‡(%)";
             this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
@@ -304,7 +350,7 @@
             // numUDPeriod
             // 
             this.numUDPeriod.Anchor = System.Windows.Forms.AnchorStyles.Left;
-            this.numUDPeriod.Location = new System.Drawing.Point(153, 216);
+            this.numUDPeriod.Location = new System.Drawing.Point(153, 251);
             this.numUDPeriod.Name = "numUDPeriod";
             this.numUDPeriod.ReadOnly = true;
             this.numUDPeriod.Size = new System.Drawing.Size(84, 23);
@@ -332,7 +378,7 @@
             this.label3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(128)))));
             this.label3.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
             this.label3.ForeColor = System.Drawing.Color.Black;
-            this.label3.Location = new System.Drawing.Point(3, 216);
+            this.label3.Location = new System.Drawing.Point(3, 251);
             this.label3.Name = "label3";
             this.label3.Size = new System.Drawing.Size(144, 23);
             this.label3.TabIndex = 38;
@@ -397,7 +443,7 @@
             this.cmbPublicFlg.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
             this.cmbPublicFlg.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.cmbPublicFlg.FormattingEnabled = true;
-            this.cmbPublicFlg.Location = new System.Drawing.Point(153, 77);
+            this.cmbPublicFlg.Location = new System.Drawing.Point(153, 75);
             this.cmbPublicFlg.Name = "cmbPublicFlg";
             this.cmbPublicFlg.Size = new System.Drawing.Size(340, 24);
             this.cmbPublicFlg.TabIndex = 2;
@@ -424,7 +470,7 @@
             this.panel1.Controls.Add(this.radioButton1);
             this.panel1.Location = new System.Drawing.Point(153, 178);
             this.panel1.Name = "panel1";
-            this.panel1.Size = new System.Drawing.Size(340, 29);
+            this.panel1.Size = new System.Drawing.Size(360, 29);
             this.panel1.TabIndex = 5;
             // 
             // radioButton2
@@ -432,7 +478,7 @@
             this.radioButton2.AutoSize = true;
             this.radioButton2.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.radioButton2.ForeColor = System.Drawing.Color.Black;
-            this.radioButton2.Location = new System.Drawing.Point(165, 2);
+            this.radioButton2.Location = new System.Drawing.Point(174, 2);
             this.radioButton2.Name = "radioButton2";
             this.radioButton2.Size = new System.Drawing.Size(143, 25);
             this.radioButton2.TabIndex = 0;
@@ -446,7 +492,7 @@
             this.radioButton1.Checked = true;
             this.radioButton1.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.radioButton1.ForeColor = System.Drawing.Color.Black;
-            this.radioButton1.Location = new System.Drawing.Point(6, 2);
+            this.radioButton1.Location = new System.Drawing.Point(20, 2);
             this.radioButton1.Name = "radioButton1";
             this.radioButton1.Size = new System.Drawing.Size(143, 25);
             this.radioButton1.TabIndex = 0;
@@ -475,7 +521,7 @@
             this.cmbDataSecRank.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
             this.cmbDataSecRank.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.cmbDataSecRank.FormattingEnabled = true;
-            this.cmbDataSecRank.Location = new System.Drawing.Point(153, 145);
+            this.cmbDataSecRank.Location = new System.Drawing.Point(153, 147);
             this.cmbDataSecRank.Name = "cmbDataSecRank";
             this.cmbDataSecRank.Size = new System.Drawing.Size(340, 24);
             this.cmbDataSecRank.TabIndex = 4;
@@ -500,12 +546,25 @@
             this.cmbRepairFlg.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
             this.cmbRepairFlg.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.cmbRepairFlg.FormattingEnabled = true;
-            this.cmbRepairFlg.Location = new System.Drawing.Point(153, 110);
+            this.cmbRepairFlg.Location = new System.Drawing.Point(153, 112);
             this.cmbRepairFlg.Name = "cmbRepairFlg";
             this.cmbRepairFlg.Size = new System.Drawing.Size(340, 24);
             this.cmbRepairFlg.TabIndex = 3;
             this.cmbRepairFlg.TextChanged += new System.EventHandler(this.valueChange);
             // 
+            // label8
+            // 
+            this.label8.Anchor = System.Windows.Forms.AnchorStyles.Left;
+            this.label8.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(128)))));
+            this.label8.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label8.ForeColor = System.Drawing.Color.Black;
+            this.label8.Location = new System.Drawing.Point(3, 216);
+            this.label8.Name = "label8";
+            this.label8.Size = new System.Drawing.Size(144, 23);
+            this.label8.TabIndex = 38;
+            this.label8.Text = "è‡ªç¤¾å·¥äº‹åŒºåˆ†";
+            this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
             // lblEditMode
             // 
             this.lblEditMode.BackColor = System.Drawing.Color.White;
@@ -526,14 +585,14 @@
             this.dgvWorkList.AllowUserToResizeRows = false;
             this.dgvWorkList.BackgroundColor = System.Drawing.Color.White;
             this.dgvWorkList.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle13.BackColor = System.Drawing.SystemColors.Control;
-            dataGridViewCellStyle13.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            dataGridViewCellStyle13.ForeColor = System.Drawing.SystemColors.WindowText;
-            dataGridViewCellStyle13.SelectionBackColor = System.Drawing.SystemColors.Highlight;
-            dataGridViewCellStyle13.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
-            dataGridViewCellStyle13.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
-            this.dgvWorkList.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle13;
+            dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Control;
+            dataGridViewCellStyle4.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText;
+            dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+            dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvWorkList.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4;
             this.dgvWorkList.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
             this.dgvWorkList.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
             this.Column0,
@@ -557,9 +616,9 @@
             // Column0
             // 
             this.Column0.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
-            dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle14.ForeColor = System.Drawing.Color.Black;
-            this.Column0.DefaultCellStyle = dataGridViewCellStyle14;
+            dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle5.ForeColor = System.Drawing.Color.Black;
+            this.Column0.DefaultCellStyle = dataGridViewCellStyle5;
             this.Column0.Frozen = true;
             this.Column0.HeaderText = "â„–";
             this.Column0.Name = "Column0";
@@ -569,8 +628,8 @@
             // 
             // Column1
             // 
-            dataGridViewCellStyle15.ForeColor = System.Drawing.Color.Black;
-            this.Column1.DefaultCellStyle = dataGridViewCellStyle15;
+            dataGridViewCellStyle6.ForeColor = System.Drawing.Color.Black;
+            this.Column1.DefaultCellStyle = dataGridViewCellStyle6;
             this.Column1.Frozen = true;
             this.Column1.HeaderText = "æ§‹æˆ�ã‚­ãƒ¼";
             this.Column1.Name = "Column1";
@@ -580,9 +639,9 @@
             // 
             // Column2
             // 
-            dataGridViewCellStyle16.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            dataGridViewCellStyle16.ForeColor = System.Drawing.Color.Black;
-            this.Column2.DefaultCellStyle = dataGridViewCellStyle16;
+            dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle7.ForeColor = System.Drawing.Color.Black;
+            this.Column2.DefaultCellStyle = dataGridViewCellStyle7;
             this.Column2.Frozen = true;
             this.Column2.HeaderText = "å·¥äº‹ç¨®åˆ¥å��ç§°";
             this.Column2.MaxInputLength = 50;
@@ -593,9 +652,9 @@
             // 
             // Column3
             // 
-            dataGridViewCellStyle17.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle17.ForeColor = System.Drawing.Color.Black;
-            this.Column3.DefaultCellStyle = dataGridViewCellStyle17;
+            dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle8.ForeColor = System.Drawing.Color.Black;
+            this.Column3.DefaultCellStyle = dataGridViewCellStyle8;
             this.Column3.Frozen = true;
             this.Column3.HeaderText = "ç¨®åˆ¥";
             this.Column3.Name = "Column3";
@@ -604,9 +663,9 @@
             // 
             // Column5
             // 
-            dataGridViewCellStyle18.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle18.ForeColor = System.Drawing.Color.Black;
-            this.Column5.DefaultCellStyle = dataGridViewCellStyle18;
+            dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle9.ForeColor = System.Drawing.Color.Black;
+            this.Column5.DefaultCellStyle = dataGridViewCellStyle9;
             this.Column5.Frozen = true;
             this.Column5.HeaderText = "çµŒè²»";
             this.Column5.Name = "Column5";
@@ -661,6 +720,8 @@
             this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.FrmConstructionType_KeyDown);
             this.tableLayoutPanel1.ResumeLayout(false);
             this.tableLayoutPanel1.PerformLayout();
+            this.panel2.ResumeLayout(false);
+            this.panel2.PerformLayout();
             ((System.ComponentModel.ISupportInitialize)(this.dgvExpenses)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.numUDPeriod)).EndInit();
             this.panel1.ResumeLayout(false);
@@ -711,5 +772,9 @@
         private System.Windows.Forms.Label label7;
         private System.Windows.Forms.ComboBox cmbRepairFlg;
         private System.Windows.Forms.Button btnHelp;
+        private System.Windows.Forms.Panel panel2;
+        private System.Windows.Forms.RadioButton radioButton4;
+        private System.Windows.Forms.RadioButton radioButton3;
+        private System.Windows.Forms.Label label8;
     }
 }
\ No newline at end of file
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/Master/Department/FrmDepartmentAux.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/Master/Department/FrmDepartmentAux.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/Master/Department/FrmDepartmentAux.cs	(revision 468)
@@ -195,7 +195,7 @@
                 {
                     case (int)ProductDefine.ProductTypeDef.Originals:
                         // ----- ã‚ªãƒªã‚¸ãƒŠãƒ«ç‰ˆ
-                    case (int)ProductDefine.ProductTypeDef.MassProductionType2:
+                    case (int)ProductDefine.ProductTypeDef.ProductsModelType2:
                         // ----- è£½å“�ç‰ˆ(æ‰¿èª�ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³)
                         // è¡Œå‹•äºˆå®šè¡¨ç¤º
                         InitActionScheduleDspCombBox();
@@ -202,7 +202,7 @@
                         // äººå“¡é…�ç½®è¡¨ç¤º
                         InitStaffAssignDspCombBox();
                         break;
-                    case (int)ProductDefine.ProductTypeDef.MassProductionType1:
+                    case (int)ProductDefine.ProductTypeDef.ProductsModelType1:
                         // ----- è£½å“�ç‰ˆ(ä¸€äººè¦ªæ–¹ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³)
                         // è¡Œå‹•äºˆå®šè¡¨ç¤º
                         label3.Visible = false;
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/Master/PersonInCharge/FrmPersonInChargeAuxiliary.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/Master/PersonInCharge/FrmPersonInChargeAuxiliary.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/Master/PersonInCharge/FrmPersonInChargeAuxiliary.cs	(revision 468)
@@ -38,11 +38,11 @@
                     case (int)ProductDefine.ProductTypeDef.Originals:
                         // ----- ã‚ªãƒªã‚¸ãƒŠãƒ«ç‰ˆ
                         break;
-                    case (int)ProductDefine.ProductTypeDef.MassProductionType1:
+                    case (int)ProductDefine.ProductTypeDef.ProductsModelType1:
                         // ----- è£½å“�ç‰ˆï¼ˆä¸€äººè¦ªæ–¹ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³ï¼‰
                         SetInitStyleMassProductionType1();
                         break;
-                    case (int)ProductDefine.ProductTypeDef.MassProductionType2:
+                    case (int)ProductDefine.ProductTypeDef.ProductsModelType2:
                         // ----- è£½å“�ç‰ˆï¼ˆæ‰¿èª�ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³ï¼‰
                         SetInitStyleMassProductionType2();
                         break;
@@ -80,12 +80,21 @@
                 // ----- ãƒ†ãƒ¼ãƒ–ãƒ«ãƒ¬ã‚¤ã‚¢ã‚¦ãƒˆå¯¾è±¡è¡Œã�®è¡¨ç¤ºåˆ¶å¾¡
                 float fLayoutRowHeight = 0F;
                 // ----- ãƒ†ãƒ¼ãƒ–ãƒ«ãƒ¬ã‚¤ã‚¢ã‚¦ãƒˆã�®å¯¾è±¡è¡Œã�«ã�‚ã‚‹ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã�®è¡¨ç¤ºåˆ¶å¾¡
+                SetTableLayoutRowControlVisible(tableLayoutPanel1, (int)DspDataRowDef.Blank1, false, fLayoutRowHeight);                 // 20:ç©ºç™½ï¼‘
                 SetTableLayoutRowControlVisible(tableLayoutPanel1, (int)DspDataRowDef.InputDepartment1, false, fLayoutRowHeight);       // 22:æ‰€å±žéƒ¨ç½²å…¥åŠ›1è¡Œç›®
                 SetTableLayoutRowControlVisible(tableLayoutPanel1, (int)DspDataRowDef.InputDepartment2, false, fLayoutRowHeight);       // 23:æ‰€å±žéƒ¨ç½²å…¥åŠ›2è¡Œç›®
                 SetTableLayoutRowControlVisible(tableLayoutPanel1, (int)DspDataRowDef.DepartmentGrid1, false, fLayoutRowHeight);        // 24:æ‰€å±žéƒ¨ç½²ã‚°ãƒªãƒƒãƒ‰1è¡Œç›®
                 SetTableLayoutRowControlVisible(tableLayoutPanel1, (int)DspDataRowDef.DepartmentGrid2, false, fLayoutRowHeight);        // 25:æ‰€å±žéƒ¨ç½²ã‚°ãƒªãƒƒãƒ‰2è¡Œç›®
                 SetTableLayoutRowControlVisible(tableLayoutPanel1, (int)DspDataRowDef.DepartmentGrid3, false, fLayoutRowHeight);        // 26:æ‰€å±žéƒ¨ç½²ã‚°ãƒªãƒƒãƒ‰3è¡Œç›®
+                SetTableLayoutRowControlVisible(tableLayoutPanel1, (int)DspDataRowDef.Blank2, false, fLayoutRowHeight);                 // 27:ç©ºç™½ï¼’
+                SetTableLayoutRowControlVisible(tableLayoutPanel1, (int)DspDataRowDef.QualificationTitle, false, fLayoutRowHeight);     // 28:è³‡æ ¼ã‚¿ã‚¤ãƒˆãƒ«
+                SetTableLayoutRowControlVisible(tableLayoutPanel1, (int)DspDataRowDef.QualificationGrid1, false, fLayoutRowHeight);     // 29:è³‡æ ¼ã‚°ãƒªãƒƒãƒ‰1è¡Œç›®
+                SetTableLayoutRowControlVisible(tableLayoutPanel1, (int)DspDataRowDef.QualificationGrid2, false, fLayoutRowHeight);     // 30:è³‡æ ¼ã‚°ãƒªãƒƒãƒ‰2è¡Œç›®
+                SetTableLayoutRowControlVisible(tableLayoutPanel1, (int)DspDataRowDef.QualificationGrid3, false, fLayoutRowHeight);     // 31:è³‡æ ¼ã‚°ãƒªãƒƒãƒ‰3è¡Œç›®
+                SetTableLayoutRowControlVisible(tableLayoutPanel1, (int)DspDataRowDef.QualificationAction, false, fLayoutRowHeight);    // 32:è³‡æ ¼å…¥åŠ›2è¡Œç›®
                 SetTableLayoutRowControlVisible(tableLayoutPanel1, (int)DspDataRowDef.LedgerFlg, false, fLayoutRowHeight);              // 34:å�°å¸³è¨ˆç®—å¯¾è±¡ãƒ•ãƒ©ã‚°
+                SetTableLayoutRowControlVisible(tableLayoutPanel1, (int)DspDataRowDef.CommutingDistance, false, fLayoutRowHeight);      // 35:é€šå‹¤è·�é›¢
+                SetTableLayoutRowControlVisible(tableLayoutPanel1, (int)DspDataRowDef.CommuteCosts, false, fLayoutRowHeight);           // 36:é€šå‹¤äº¤é€šè²»
                 SetTableLayoutRowControlVisible(tableLayoutPanel1, (int)DspDataRowDef.SecurityManagement, false, fLayoutRowHeight);     // 37:æ©Ÿå¯†åŒºåˆ†
                 SetTableLayoutRowControlVisible(tableLayoutPanel1, (int)DspDataRowDef.SecurityDivision, false, fLayoutRowHeight);       // 38:ã‚»ã‚­ãƒ¥ãƒªãƒ†ã‚£åŒºåˆ†
                 SetTableLayoutRowControlVisible(tableLayoutPanel1, (int)DspDataRowDef.SecurityArea, false, fLayoutRowHeight);           // 39:ã‚»ã‚­ãƒ¥ãƒªãƒ†ã‚£ç¯„å›²
@@ -98,6 +107,7 @@
                 SetTableLayoutRowControlVisible(tableLayoutPanel1, (int)DspDataRowDef.PaidVacationDays, false, fLayoutRowHeight);       // 46:æœ‰çµ¦ä¼‘æš‡æ—¥æ•°
                 SetTableLayoutRowControlVisible(tableLayoutPanel1, (int)DspDataRowDef.WorkingType, false, fLayoutRowHeight);            // 47:å°±æ¥­æ™‚é–“ã‚¿ã‚¤ãƒ—
                 SetTableLayoutRowControlVisible(tableLayoutPanel1, (int)DspDataRowDef.WorkingTime, false, fLayoutRowHeight);            // 48:å°±æ¥­æ™‚é–“å†…å®¹
+                SetTableLayoutRowControlVisible(tableLayoutPanel1, (int)DspDataRowDef.NoPaidDayOffFlg, false, fLayoutRowHeight);        // 49:æœ‰çµ¦ä¼‘æš‡å�–å¾—å�¯å�¦
 
                 // ãƒ†ãƒ¼ãƒ–ãƒ«ãƒ¬ã‚¤ã‚¢ã‚¦ãƒˆãƒ‘ãƒ�ãƒ«ã�®é«˜ã�•è¨­å®š
                 int nFixLayoutRowHeight = (int)s_LayoutPanelRow;
@@ -127,9 +137,18 @@
                 // ----- ãƒ†ãƒ¼ãƒ–ãƒ«ãƒ¬ã‚¤ã‚¢ã‚¦ãƒˆå¯¾è±¡è¡Œã�®è¡¨ç¤ºåˆ¶å¾¡
                 float fLayoutRowHeight = 0F;
                 // ----- ãƒ†ãƒ¼ãƒ–ãƒ«ãƒ¬ã‚¤ã‚¢ã‚¦ãƒˆã�®å¯¾è±¡è¡Œã�«ã�‚ã‚‹ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã�®è¡¨ç¤ºåˆ¶å¾¡
+                SetTableLayoutRowControlVisible(tableLayoutPanel1, (int)DspDataRowDef.Blank2, false, fLayoutRowHeight);                 // 27:ç©ºç™½ï¼’
+                SetTableLayoutRowControlVisible(tableLayoutPanel1, (int)DspDataRowDef.QualificationTitle, false, fLayoutRowHeight);     // 28:è³‡æ ¼ã‚¿ã‚¤ãƒˆãƒ«
+                SetTableLayoutRowControlVisible(tableLayoutPanel1, (int)DspDataRowDef.QualificationGrid1, false, fLayoutRowHeight);     // 29:è³‡æ ¼ã‚°ãƒªãƒƒãƒ‰1è¡Œç›®
+                SetTableLayoutRowControlVisible(tableLayoutPanel1, (int)DspDataRowDef.QualificationGrid2, false, fLayoutRowHeight);     // 30:è³‡æ ¼ã‚°ãƒªãƒƒãƒ‰2è¡Œç›®
+                SetTableLayoutRowControlVisible(tableLayoutPanel1, (int)DspDataRowDef.QualificationGrid3, false, fLayoutRowHeight);     // 31:è³‡æ ¼ã‚°ãƒªãƒƒãƒ‰3è¡Œç›®
+                SetTableLayoutRowControlVisible(tableLayoutPanel1, (int)DspDataRowDef.QualificationAction, false, fLayoutRowHeight);    // 32:è³‡æ ¼å…¥åŠ›2è¡Œç›®
+                SetTableLayoutRowControlVisible(tableLayoutPanel1, (int)DspDataRowDef.CommutingDistance, false, fLayoutRowHeight);      // 35:é€šå‹¤è·�é›¢
+                SetTableLayoutRowControlVisible(tableLayoutPanel1, (int)DspDataRowDef.CommuteCosts, false, fLayoutRowHeight);           // 36:é€šå‹¤äº¤é€šè²»
                 SetTableLayoutRowControlVisible(tableLayoutPanel1, (int)DspDataRowDef.PaidVacationDays, false, fLayoutRowHeight);       // 46:æœ‰çµ¦ä¼‘æš‡æ—¥æ•°
                 SetTableLayoutRowControlVisible(tableLayoutPanel1, (int)DspDataRowDef.WorkingType, false, fLayoutRowHeight);            // 47:å°±æ¥­æ™‚é–“ã‚¿ã‚¤ãƒ—
                 SetTableLayoutRowControlVisible(tableLayoutPanel1, (int)DspDataRowDef.WorkingTime, false, fLayoutRowHeight);            // 48:å°±æ¥­æ™‚é–“å†…å®¹
+                SetTableLayoutRowControlVisible(tableLayoutPanel1, (int)DspDataRowDef.NoPaidDayOffFlg, false, fLayoutRowHeight);        // 49:æœ‰çµ¦ä¼‘æš‡å�–å¾—å�¯å�¦
 
                 // ãƒ†ãƒ¼ãƒ–ãƒ«ãƒ¬ã‚¤ã‚¢ã‚¦ãƒˆãƒ‘ãƒ�ãƒ«ã�®é«˜ã�•è¨­å®š
                 int nFixLayoutRowHeight = (int)s_LayoutPanelRow;
@@ -204,7 +223,7 @@
             try
             {
                 // ----- è£½å“�ç‰ˆï¼ˆä¸€äººè¦ªæ–¹ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³ï¼‰ã�¯å�‚ç…§éƒ¨ç½²ã‚’å‡¦ç�†ã�—ã�ªã�„
-                if (ProductDefine.ProductType == (int)ProductDefine.ProductTypeDef.MassProductionType1) return;
+                if (ProductDefine.ProductType == (int)ProductDefine.ProductTypeDef.ProductsModelType1) return;
 
                 KeyValuePair<int, string> SecRangeValue;
                 if (SecRange == 0)
@@ -334,7 +353,16 @@
 
                 // ----- è¡Œã�®è¡¨ç¤ºåˆ¶å¾¡
                 // ----- ãƒ†ãƒ¼ãƒ–ãƒ«ãƒ¬ã‚¤ã‚¢ã‚¦ãƒˆã�®å¯¾è±¡è¡Œã�«ã�‚ã‚‹ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã�®è¡¨ç¤ºåˆ¶å¾¡
-                SetTableLayoutRowControlVisible(tableLayoutPanel1, (int)DspDataRowDef.PassWord, bVisible, fLayoutRowHeight);                // 15:ãƒ‘ã‚¹ãƒ¯ãƒ¼ãƒ‰
+                // ä¸€äººè¦ªæ–¹ç‰ˆã�¯ä»¥å¤–ã�¯ãƒ‘ã‚¹ãƒ¯ãƒ¼ãƒ‰ã‚’è¡¨ç¤ºã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«
+                if (ProductDefine.ProductType == (int)ProductDefine.ProductTypeDef.ProductsModelType1)
+                {
+                    bVisible = false;
+                    fLayoutRowHeight = 0F;
+                }
+                else
+                {
+                    SetTableLayoutRowControlVisible(tableLayoutPanel1, (int)DspDataRowDef.PassWord, bVisible, fLayoutRowHeight);            // 15:ãƒ‘ã‚¹ãƒ¯ãƒ¼ãƒ‰
+                }
                 SetTableLayoutRowControlVisible(tableLayoutPanel1, (int)DspDataRowDef.InputSalary1, bVisible, fLayoutRowHeight);            // 16:çµ¦ä¸Žé‡‘é¡�å…¥åŠ›1è¡Œç›®
                 SetTableLayoutRowControlVisible(tableLayoutPanel1, (int)DspDataRowDef.InputSalary2, bVisible, fLayoutRowHeight);            // 17:çµ¦ä¸Žé‡‘é¡�å…¥åŠ›2è¡Œç›®
                 SetTableLayoutRowControlVisible(tableLayoutPanel1, (int)DspDataRowDef.SalaryGrid1, bVisible, fLayoutRowHeight);             // 18:çµ¦ä¸Žé‡‘é¡�ã‚°ãƒªãƒƒãƒ‰1è¡Œç›®
@@ -1141,9 +1169,6 @@
             {
                 dgv.Rows.Clear();
 
-                // ----- è£½å“�ç‰ˆï¼ˆä¸€äººè¦ªæ–¹ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³ï¼‰ã�¯å�‚ç…§éƒ¨ç½²ã‚’å‡¦ç�†ã�—ã�ªã�„
-                if (ProductDefine.ProductType == (int)ProductDefine.ProductTypeDef.MassProductionType1) return;
-
                 string strSQL = AssignDB.CreatePrimarykeyString(m_PersonCode, DateTime.MinValue);
                 strSQL += " ORDER BY StartDate DESC";
                 List<ChgChargeDep> AssignList = new List<ChgChargeDep>();
@@ -1874,6 +1899,9 @@
                     }
                 }
 
+                // ä¸€äººè¦ªæ–¹ç‰ˆã�¯ä»¥ä¸‹ã�®ãƒ†ãƒ¼ãƒ–ãƒ«ã‚’æ›´æ–°ã�—ã�ªã�„
+                if (ProductDefine.ProductType == (int)ProductDefine.ProductTypeDef.ProductsModelType1) { goto DBCommit; }
+
                 // éƒ¨ç½²ã�Œå¤‰ã‚�ã�£ã�Ÿæ™‚ã�«å·¥äº‹æƒ…å ±ã�«å¯¾è±¡ã�Œã�‚ã‚‹ã�‹ã‚’åˆ¤å®šã�™ã‚‹
                 DataGridViewEX dgv = dgvAssignment;
                 int nLastDepCode = CommonMotions.cnvInt(dgv.Rows[0].Cells[2].Value);
@@ -1934,6 +1962,8 @@
                     return false;
                 }
 
+                DBCommit:   // ã‚³ãƒŸãƒƒãƒˆãƒ©ãƒ™ãƒ«
+
                 // æˆ�åŠŸã�—ã�Ÿã‚‰commit
                 picDB.commit();
                 salaryDB.commit();
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/Master/Security/FrmSecurity.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/Master/Security/FrmSecurity.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/Master/Security/FrmSecurity.cs	(revision 468)
@@ -87,244 +87,8 @@
         private static int s_TitleRowCnt = 5;
         #endregion
 
-        #region ãƒžã‚¹ã‚¿ãƒ‡ãƒ¼ã‚¿è¡¨ç¤ºå®šç¾©
-
-        #region ã‚ªãƒªã‚¸ãƒŠãƒ«ãƒ‡ãƒ¼ã‚¿è¡¨ç¤ºå®šç¾©
-        /// <summary>
-        /// ã‚ªãƒªã‚¸ãƒŠãƒ«ãƒ‡ãƒ¼ã‚¿è¡¨ç¤ºå®šç¾©
-        /// </summary>
-        private KeyValuePair<int, string>[] s_OriginalArray = {
-                                                    new KeyValuePair<int, string>(-1, "å…±ã€€é€šã€€å‡¦ã€€ç�†"),                                                    // ----- ã‚¿ã‚¤ãƒˆãƒ«
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ConstructionList, string.Empty),          //  1:å·¥äº‹æƒ…å ±ä¸€è¦§
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ApprovalDocumentList, string.Empty),      //  7:æ‰¿èª�ç”³è«‹ä¸€è¦§
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ConstructionCopyList, string.Empty),      //  8:å·¥äº‹æ¡ˆä»¶ã‚³ãƒ”ãƒ¼æ©Ÿèƒ½
-
-                                                    new KeyValuePair<int, string>(-1, "å�—ã€€æ³¨ã€€ç®¡ã€€ç�†"),                                                    // ----- ã‚¿ã‚¤ãƒˆãƒ«
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ConstructionBaseInfo, string.Empty),      //  2:å·¥äº‹æƒ…å ±å…¥åŠ›
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.EstimateInput, string.Empty),             //  3:ç©�ç®—è¦‹ç©�å…¥åŠ›
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.EstimatePrint, string.Empty),             //  4:ç©�ç®—è¦‹ç©�æ›¸å�°åˆ·
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.EstimateBudget, string.Empty),            //  5:ç©�ç®—äºˆç®—æ›¸å…¥åŠ›
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.OrderJoin, string.Empty),                 // 20:å·¥äº‹çµ�å�ˆ
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ConstructionSplit, string.Empty),         // 21:å·¥äº‹åˆ†å‰²
-
-                                                    new KeyValuePair<int, string>(-1, "æ—¥æ¬¡ï¼ˆæ–½å·¥ï¼‰ç®¡ç�†"),                                                  // ----- ã‚¿ã‚¤ãƒˆãƒ«
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.DepartmentExpenssList, string.Empty),     // 11:éƒ¨ç½²åˆ¥å�°å¸³ä¸€è¦§
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ConstructionLedgerList, string.Empty),    // 13:å·¥äº‹è©³ç´°å�°å¸³ä¸€è¦§
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.PriceOfBudget, string.Empty),             // 37:å�°å¸³çŠ¶æ³�ç¢ºèª�ç”»é�¢
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ConstructionLedger, string.Empty),        // 13:å·¥äº‹è©³ç´°å�°å¸³
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.DRList, string.Empty),                    // 15:å·¥äº‹æ—¥å ±ï¼�ä¸€è¦§
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.DRConstruction, string.Empty),            // 16:å·¥äº‹æ—¥å ±å…¥åŠ›
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.Proceedings, string.Empty),               // 17:æ‰“å�ˆã�›è­°äº‹éŒ²å…¥åŠ›
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.TAndPCosts, string.Empty),                // 14:äº¤é€šè²»å�Šã�³è³¼å…¥å“�å…¥åŠ›
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.DRWork, string.Empty),                    // 18:å‡ºå‹¤æ—¥å ±
-                                                	new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.MaterialList, string.Empty),              // 23:è³‡æ��ä¸€è¦§
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.MaterialHistory, string.Empty),           // 24:è³‡æ��å±¥æ­´ç”»é�¢
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.MaterialCountEntry, string.Empty),        // 25:è³‡æ��æ•°å¤‰æ›´ç”»é�¢
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.MaterialReserveEntry, string.Empty),      // 26:è³‡æ��è²¸å‡º
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.MaterialReturnEntry, string.Empty),       // 27:è³‡æ��è¿”å�´
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.SafetyPatrol, string.Empty),              // 43:å®‰å…¨ãƒ‘ãƒˆãƒ­ãƒ¼ãƒ«ç”³è«‹
-
-                                                    new KeyValuePair<int, string>(-1, "æœˆæ¬¡ï¼ˆæ–½å·¥ï¼‰ç®¡ç�†"),                                                  // ----- ã‚¿ã‚¤ãƒˆãƒ«
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.RequestSummaryList, string.Empty),        // 29:è«‹æ±‚ã�¾ã�¨ã‚�
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.PaymentConfirmation, string.Empty),       // 30:å…¥é‡‘ç¢ºèª�
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ReqSumTotalList, string.Empty),           // 44:æ¥­è€…è«‹æ±‚ä¸€è¦§
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.WebEDICloseMonth, string.Empty),          // 48:Webè«‹æ±‚ç· ã‚�æ—¥å…¥åŠ›
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.CsvOutput, string.Empty),                 // 51:CSVãƒ‡ãƒ¼ã‚¿å‡ºåŠ›
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.RequestMessageWriter, string.Empty),      // 50:Webè«‹æ±‚ã�ŠçŸ¥ã‚‰ã�›å…¥åŠ›
-
-                                                    new KeyValuePair<int, string>(-1, "æ›¸ã€€é¡žã€€ç®¡ã€€ç�†"),                                                    // ----- ã‚¿ã‚¤ãƒˆãƒ«
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ConstructionBudget, string.Empty),        //  6:å·¥äº‹äºˆç®—æ›¸å…¥åŠ›
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.PurchaseOrderEntry, string.Empty),        //  9:æ³¨æ–‡æ›¸å…¥åŠ›
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.PurchaseOrderPrint, string.Empty),        // 10:æ³¨æ–‡æ›¸å�°åˆ·
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.PurchaseOrderStatus, string.Empty),       // 19:æ³¨æ–‡æ›¸ç™ºçµ¦ä¸€è¦§
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.RequestInput, string.Empty),              // 31:è«‹æ±‚å…¥åŠ›
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.RequestPrint, string.Empty),              // 32:è«‹æ±‚æ›¸å�°åˆ·
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.DepartmentCost, string.Empty),            // 46:éƒ¨ç½²å‡ºç´�å¸³
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ReqApprovalStatus, string.Empty),         // 47:è«‹æ±‚æ‰¿èª�çŠ¶æ³�é–²è¦§ 
-                                                    
-                                                    new KeyValuePair<int, string>(-1, "ç·�ã€€å‹™ã€€ç®¡ã€€ç�†"),                                                    // ----- ã‚¿ã‚¤ãƒˆãƒ«
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.PurchaseStatusInput, string.Empty),       // 40:æ³¨æ–‡æ›¸çŠ¶æ³�å…¥åŠ›
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ReqBillingStatInput, string.Empty),       // 42:è«‹æ±‚æ›¸çŠ¶æ³�å…¥åŠ›
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.WorkingPrint, string.Empty),              // 54:å‡ºå‹¤ç®¡ç�†æ—¥å ±å�°åˆ·
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.OnHandVolume, string.Empty),              // 55:æ‰‹æŒ�å·¥äº‹é«˜ä¸€è¦§å�°åˆ·
-
-                                                    new KeyValuePair<int, string>(-1, "å�„ç¨®æ��å‡ºæ›¸é¡ž"),                                                      // ----- ã‚¿ã‚¤ãƒˆãƒ«
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.CostomerRegist, string.Empty),            // 34:ç™ºæ³¨è€…ç™»éŒ²ç”³è«‹
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.SubConstrRegist, string.Empty),           // 36:å�”åŠ›ä¼šç¤¾ç™»éŒ²ç”³è«‹
-                                                    
-                                                    new KeyValuePair<int, string>(-1, "ãƒžã‚¹ã‚¿ãƒ¡ãƒ³ãƒ†ãƒŠãƒ³ã‚¹"),                                                // ----- ã‚¿ã‚¤ãƒˆãƒ«
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.System, string.Empty),                // ã‚·ã‚¹ãƒ†ãƒ ç®¡ç�†ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.Security, string.Empty),              // ã‚»ã‚­ãƒ¥ãƒªãƒ†ã‚£åŒºåˆ†ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.ApprovalRouteList, string.Empty),     // æ‰¿èª�çµŒè·¯ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.TermMaster, string.Empty),            // æœŸé™�ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.Department, string.Empty),            // éƒ¨ç½²ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.PersonInCharge, string.Empty),        // æ‹…å½“è€…ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.AlwaysEmployment, string.Empty),      // å¸¸é›‡è€…ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.Orderers, string.Empty),              // ç™ºæ³¨è€…ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.ConstructionType, string.Empty),      // å·¥äº‹ç¨®åˆ¥ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.Suppliers, string.Empty),             // ä»•å…¥å…ˆç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.SubContractor, string.Empty),         // å�”åŠ›ä¼šç¤¾ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.SubContrItem, string.Empty),          // å�”åŠ›ä¼šç¤¾å·¥ç¨®ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.SubContrJobCat, string.Empty),        // å�”åŠ›ä¼šç¤¾è�·ç¨®ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.Component, string.Empty),             // å¤§é …ç›®ç™»éŒ²ï¼ˆæ§‹æˆ�ç™»éŒ²ï¼‰
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.ConstructionItem, string.Empty),      // ä¸­é …ç›®ç™»éŒ²ï¼ˆå·¥ç¨®ç™»éŒ²ï¼‰
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.ConstructionWork, string.Empty),      // å°�é …ç›®ç™»éŒ²ï¼ˆä½œæ¥­ç™»éŒ²ï¼‰
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.TypeToComp,string.Empty),             // å·¥äº‹ç¨®åˆ¥ãƒ»å¤§é …ç›®ãƒªãƒ³ã‚¯ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.ComponentLink, string.Empty),         // å¤§ãƒ»ä¸­é …ç›®é–¢é€£ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.BusinessType, string.Empty),          // æ³•äººæ ¼ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.OrderDivision, string.Empty),         // ç™ºæ³¨è€…åŒºåˆ†ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.ConstrExpenses, string.Empty),        // æ–½å·¥çµŒè²»åŒºåˆ†ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.QualificationD, string.Empty),        // è³‡æ ¼ãƒžã‚¹ã‚¿åˆ†é¡ž
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.QualificationQ, string.Empty),        // è³‡æ ¼ãƒžã‚¹ã‚¿åŒºåˆ†
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.Unit, string.Empty),                  // å�˜ä½�ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.Calender, string.Empty),              // ã‚«ãƒ¬ãƒ³ãƒ€ãƒ¼ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.WorkingTime, string.Empty),           // å°±æ¥­æ™‚é–“ãƒžã‚¹ã‚¿
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.VehicleMaster, string.Empty),         // è»Šä¸¡ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.MaterialKind, string.Empty),          // è³‡æ��ç¨®é¡žç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.MaterialItem, string.Empty),          // è³‡æ��å“�ç›®ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.SalesConfirm, string.Empty),          // å£²ä¸Šç¢ºèª�
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.BankBusinessDay, string.Empty),       // éŠ€è¡Œå–¶æ¥­æ—¥ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.BudgetCodeSum, string.Empty),         // äºˆç®—æ›¸é›†è¨ˆã‚³ãƒ¼ãƒ‰ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.AddressConvert, string.Empty),        // éƒµä¾¿ç•ªå�·å¼•è¾¼
-                                                };
         #endregion
 
-        #region è£½å“�ç‰ˆï¼ˆä¸€äººè¦ªæ–¹ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³ï¼‰ãƒ‡ãƒ¼ã‚¿å®šç¾©
-        /// <summary>
-        /// è£½å“�ç‰ˆï¼ˆä¸€äººè¦ªæ–¹ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³ï¼‰ãƒ‡ãƒ¼ã‚¿å®šç¾©
-        /// </summary>
-        private KeyValuePair<int, string>[] s_ProductType1 = {
-                                                    new KeyValuePair<int, string>(-1, "å…±ã€€é€šã€€å‡¦ã€€ç�†"),                                                   // ----- ã‚¿ã‚¤ãƒˆãƒ«
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ConstructionList, string.Empty),          //  1:å·¥äº‹æƒ…å ±ä¸€è¦§
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ApprovalDocumentList, string.Empty),      //  7:æ‰¿èª�ç”³è«‹ä¸€è¦§
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ConstructionCopyList, string.Empty),      //  8:å·¥äº‹æ¡ˆä»¶ã‚³ãƒ”ãƒ¼æ©Ÿèƒ½
-
-                                                    new KeyValuePair<int, string>(-1, "å�—ã€€æ³¨ã€€ç®¡ã€€ç�†"),                                                   // ----- ã‚¿ã‚¤ãƒˆãƒ«
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ConstructionBaseInfo, string.Empty),      //  2:å·¥äº‹æƒ…å ±å…¥åŠ›
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.EstimateInput, string.Empty),             //  3:ç©�ç®—è¦‹ç©�å…¥åŠ›
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.EstimatePrint, string.Empty),             //  4:ç©�ç®—è¦‹ç©�æ›¸å�°åˆ·
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.EstimateBudget, string.Empty),            //  5:ç©�ç®—äºˆç®—æ›¸å…¥åŠ›
-
-                                                    new KeyValuePair<int, string>(-1, "æ–½ã€€å·¥ã€€ç®¡ã€€ç�†"),                                                   // ----- ã‚¿ã‚¤ãƒˆãƒ«
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.DepartmentExpenssList, string.Empty),     // 11:éƒ¨ç½²åˆ¥å�°å¸³ä¸€è¦§
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ConstructionLedgerList, string.Empty),    // 13:å·¥äº‹è©³ç´°å�°å¸³ä¸€è¦§
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.PriceOfBudget, string.Empty),             // 37:å�°å¸³çŠ¶æ³�ç¢ºèª�ç”»é�¢
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ConstructionLedger, string.Empty),        // 13:å·¥äº‹è©³ç´°å�°å¸³
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.DRList, string.Empty),                    // 15:å·¥äº‹æ—¥å ±ï¼�ä¸€è¦§
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.DRConstruction, string.Empty),            // 16:å·¥äº‹æ—¥å ±å…¥åŠ›
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.Proceedings, string.Empty),               // 17:æ‰“å�ˆã�›è­°äº‹éŒ²å…¥åŠ›
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ConstructionBudget, string.Empty),        //  6:å·¥äº‹äºˆç®—æ›¸å…¥åŠ›
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.PurchaseOrderEntry, string.Empty),        //  9:æ³¨æ–‡æ›¸å…¥åŠ›
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.PurchaseOrderPrint, string.Empty),        // 10:æ³¨æ–‡æ›¸å�°åˆ·
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.PurchaseOrderStatus, string.Empty),       // 19:æ³¨æ–‡æ›¸ç™ºçµ¦ä¸€è¦§
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.PurchaseStatusInput, string.Empty),       // 40:æ³¨æ–‡æ›¸çŠ¶æ³�å…¥åŠ›
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.RequestInput, string.Empty),              // 31:è«‹æ±‚å…¥åŠ›
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.RequestPrint, string.Empty),              // 32:è«‹æ±‚æ›¸å�°åˆ·
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ReqBillingStatInput, string.Empty),       // 42:è«‹æ±‚æ›¸çŠ¶æ³�å…¥åŠ›
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ReqApprovalStatus, string.Empty),         // 47:è«‹æ±‚æ‰¿èª�çŠ¶æ³�é–²è¦§ 
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.PaymentConfirmation, string.Empty),       // 30:å…¥é‡‘ç¢ºèª�
-
-                                                    new KeyValuePair<int, string>(-1, "ãƒžã‚¹ã‚¿ãƒ¡ãƒ³ãƒ†ãƒŠãƒ³ã‚¹"),                                                // ----- ã‚¿ã‚¤ãƒˆãƒ«
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.System, string.Empty),                // ã‚·ã‚¹ãƒ†ãƒ ç®¡ç�†ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.Security, string.Empty),              // ã‚»ã‚­ãƒ¥ãƒªãƒ†ã‚£åŒºåˆ†ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.ApprovalRouteList, string.Empty),     // æ‰¿èª�çµŒè·¯ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.TermMaster, string.Empty),            // æœŸé™�ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.Department, string.Empty),            // éƒ¨ç½²ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.PersonInCharge, string.Empty),        // æ‹…å½“è€…ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.Orderers, string.Empty),              // ç™ºæ³¨è€…ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.ConstructionType, string.Empty),      // å·¥äº‹ç¨®åˆ¥ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.SubContractor, string.Empty),         // å�”åŠ›ä¼šç¤¾ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.SubContrItem, string.Empty),          // å�”åŠ›ä¼šç¤¾å·¥ç¨®ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.SubContrJobCat, string.Empty),        // å�”åŠ›ä¼šç¤¾è�·ç¨®ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.Component, string.Empty),             // å¤§é …ç›®ç™»éŒ²ï¼ˆæ§‹æˆ�ç™»éŒ²ï¼‰
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.ConstructionItem, string.Empty),      // ä¸­é …ç›®ç™»éŒ²ï¼ˆå·¥ç¨®ç™»éŒ²ï¼‰
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.ConstructionWork, string.Empty),      // å°�é …ç›®ç™»éŒ²ï¼ˆä½œæ¥­ç™»éŒ²ï¼‰
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.TypeToComp,string.Empty),             // å·¥äº‹ç¨®åˆ¥ãƒ»å¤§é …ç›®ãƒªãƒ³ã‚¯ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.ComponentLink, string.Empty),         // å¤§ãƒ»ä¸­é …ç›®é–¢é€£ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.BudgetCodeSum, string.Empty),         // äºˆç®—æ›¸é›†è¨ˆã‚³ãƒ¼ãƒ‰ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.AddressConvert, string.Empty),        // éƒµä¾¿ç•ªå�·å¼•è¾¼
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.BusinessType, string.Empty),          // æ³•äººæ ¼ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.OrderDivision, string.Empty),         // ç™ºæ³¨è€…åŒºåˆ†ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.QualificationD, string.Empty),        // è³‡æ ¼ãƒžã‚¹ã‚¿åˆ†é¡ž
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.QualificationQ, string.Empty),        // è³‡æ ¼ãƒžã‚¹ã‚¿åŒºåˆ†
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.ConstrExpenses, string.Empty),        // æ–½å·¥çµŒè²»åŒºåˆ†ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.Unit, string.Empty),                  // å�˜ä½�ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.SalesConfirm, string.Empty),          // å£²ä¸Šç¢ºèª�
-                                                };
-        #endregion
-
-        #region è£½å“�ç‰ˆï¼ˆæ‰¿èª�ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³ï¼‰ãƒ‡ãƒ¼ã‚¿å®šç¾©
-        /// <summary>
-        /// è£½å“�ç‰ˆï¼ˆæ‰¿èª�ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³ï¼‰ãƒ‡ãƒ¼ã‚¿å®šç¾©
-        /// </summary>
-        private KeyValuePair<int, string>[] s_ProductType2 = {
-                                                    new KeyValuePair<int, string>(-1, "å…±ã€€é€šã€€å‡¦ã€€ç�†"),                                                    // ----- ã‚¿ã‚¤ãƒˆãƒ«
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ConstructionList, string.Empty),          //  1:å·¥äº‹æƒ…å ±ä¸€è¦§
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ApprovalDocumentList, string.Empty),      //  7:æ‰¿èª�ç”³è«‹ä¸€è¦§
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ConstructionCopyList, string.Empty),      //  8:å·¥äº‹æ¡ˆä»¶ã‚³ãƒ”ãƒ¼æ©Ÿèƒ½
-
-                                                    new KeyValuePair<int, string>(-1, "å�—ã€€æ³¨ã€€ç®¡ã€€ç�†"),                                                    // ----- ã‚¿ã‚¤ãƒˆãƒ«
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ConstructionBaseInfo, string.Empty),      //  2:å·¥äº‹æƒ…å ±å…¥åŠ›
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.EstimateInput, string.Empty),             //  3:ç©�ç®—è¦‹ç©�å…¥åŠ›
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.EstimatePrint, string.Empty),             //  4:ç©�ç®—è¦‹ç©�æ›¸å�°åˆ·
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.EstimateBudget, string.Empty),            //  5:ç©�ç®—äºˆç®—æ›¸å…¥åŠ›
-
-                                                    new KeyValuePair<int, string>(-1, "æ–½ã€€å·¥ã€€ç®¡ã€€ç�†"),                                                    // ----- ã‚¿ã‚¤ãƒˆãƒ«
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ConstructionBudget, string.Empty),        //  6:å·¥äº‹äºˆç®—æ›¸å…¥åŠ›
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.DepartmentExpenssList, string.Empty),     // 11:éƒ¨ç½²åˆ¥å�°å¸³ä¸€è¦§
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ConstructionLedgerList, string.Empty),    // 12:å·¥äº‹è©³ç´°å�°å¸³ä¸€è¦§
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ConstructionLedger, string.Empty),        // 13:å·¥äº‹è©³ç´°å�°å¸³
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.PriceOfBudget, string.Empty),             // 37:å�°å¸³çŠ¶æ³�ç¢ºèª�ç”»é�¢
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.DRList, string.Empty),                    // 15:å·¥äº‹æ—¥å ±ï¼�ä¸€è¦§
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.PurchaseOrderEntry, string.Empty),        //  9:æ³¨æ–‡æ›¸å…¥åŠ›
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.PurchaseOrderPrint, string.Empty),        // 10:æ³¨æ–‡æ›¸å�°åˆ·
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.PurchaseOrderStatus, string.Empty),       // 19:æ³¨æ–‡æ›¸ç™ºçµ¦ä¸€è¦§
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.PurchaseStatusInput, string.Empty),       // 40:æ³¨æ–‡æ›¸çŠ¶æ³�å…¥åŠ›
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.RequestInput, string.Empty),              // 31:è«‹æ±‚å…¥åŠ›
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.RequestPrint, string.Empty),              // 32:è«‹æ±‚æ›¸å�°åˆ·
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.RequestPrintList, string.Empty),          // 45:è«‹æ±‚æ›¸å�°åˆ·ä¸€è¦§
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ReqApprovalStatus, string.Empty),         // 47:è«‹æ±‚æ‰¿èª�çŠ¶æ³�é–²è¦§ 
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ReqBillingStatInput, string.Empty),       // 42:è«‹æ±‚æ›¸çŠ¶æ³�å…¥åŠ›
-                                                    
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.DRConstruction, string.Empty),            // 16:å·¥äº‹æ—¥å ±å…¥åŠ›
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.Proceedings, string.Empty),               // 17:æ‰“å�ˆã�›è­°äº‹éŒ²å…¥åŠ›
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.TAndPCosts, string.Empty),                // 14:äº¤é€šè²»å�Šã�³è³¼å…¥å“�å…¥åŠ›
-
-                                                    
-                                                    new KeyValuePair<int, string>(-1, "ãƒžã‚¹ã‚¿ãƒ¡ãƒ³ãƒ†ãƒŠãƒ³ã‚¹"),                                                // ----- ã‚¿ã‚¤ãƒˆãƒ«
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.System, string.Empty),                // ã‚·ã‚¹ãƒ†ãƒ ç®¡ç�†ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.Security, string.Empty),              // ã‚»ã‚­ãƒ¥ãƒªãƒ†ã‚£åŒºåˆ†ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.ApprovalRouteList, string.Empty),     // æ‰¿èª�çµŒè·¯ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.TermMaster, string.Empty),            // æœŸé™�ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.Department, string.Empty),            // éƒ¨ç½²ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.PersonInCharge, string.Empty),        // æ‹…å½“è€…ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.Orderers, string.Empty),              // ç™ºæ³¨è€…ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.ConstructionType, string.Empty),      // å·¥äº‹ç¨®åˆ¥ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.Suppliers, string.Empty),             // ä»•å…¥å…ˆç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.SubContractor, string.Empty),         // å�”åŠ›ä¼šç¤¾ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.SubContrItem, string.Empty),          // å�”åŠ›ä¼šç¤¾å·¥ç¨®ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.SubContrJobCat, string.Empty),        // å�”åŠ›ä¼šç¤¾è�·ç¨®ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.Component, string.Empty),             // å¤§é …ç›®ç™»éŒ²ï¼ˆæ§‹æˆ�ç™»éŒ²ï¼‰
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.ConstructionItem, string.Empty),      // ä¸­é …ç›®ç™»éŒ²ï¼ˆå·¥ç¨®ç™»éŒ²ï¼‰
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.ConstructionWork, string.Empty),      // å°�é …ç›®ç™»éŒ²ï¼ˆä½œæ¥­ç™»éŒ²ï¼‰
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.TypeToComp,string.Empty),             // å·¥äº‹ç¨®åˆ¥ãƒ»å¤§é …ç›®ãƒªãƒ³ã‚¯ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.ComponentLink, string.Empty),         // å¤§ãƒ»ä¸­é …ç›®é–¢é€£ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.BusinessType, string.Empty),          // æ³•äººæ ¼ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.OrderDivision, string.Empty),         // ç™ºæ³¨è€…åŒºåˆ†ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.ConstrExpenses, string.Empty),        // æ–½å·¥çµŒè²»åŒºåˆ†ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.QualificationD, string.Empty),        // è³‡æ ¼ãƒžã‚¹ã‚¿åˆ†é¡ž
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.QualificationQ, string.Empty),        // è³‡æ ¼ãƒžã‚¹ã‚¿åŒºåˆ†
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.Unit, string.Empty),                  // å�˜ä½�ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.Calender, string.Empty),              // ã‚«ãƒ¬ãƒ³ãƒ€ãƒ¼ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.VehicleMaster, string.Empty),         // è»Šä¸¡ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.BudgetCodeSum, string.Empty),         // äºˆç®—æ›¸é›†è¨ˆã‚³ãƒ¼ãƒ‰ç™»éŒ²
-                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.AddressConvert, string.Empty),        // éƒµä¾¿ç•ªå�·å¼•è¾¼
-                                                };
-        #endregion
-        #endregion
-
-        #endregion
-
         #region å¤‰æ•°
         /// <summary>
         /// ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰å€¤å¤‰åŒ–ãƒ•ãƒ©ã‚°
@@ -352,6 +116,7 @@
 
         #region ãƒ—ãƒ­ãƒ‘ãƒ†ã‚£
 
+        #region å�‚ç…§ãƒ•ãƒ©ã‚°
         /// <summary>
         /// å�‚ç…§ãƒ•ãƒ©ã‚°
         /// </summary>
@@ -362,6 +127,38 @@
         }
         #endregion
 
+        #region ã‚·ã‚¹ãƒ†ãƒ ã‚ªãƒªã‚¸ãƒŠãƒ«èµ·å‹•é…�åˆ—å�–å¾—
+        /// <summary>
+        /// ã‚·ã‚¹ãƒ†ãƒ ã‚ªãƒªã‚¸ãƒŠãƒ«èµ·å‹•é…�åˆ—å�–å¾—
+        /// </summary>
+        public static KeyValuePair<int, string>[] GetExecKeyValuesOrignal
+        {
+            get { return s_OriginalArray; }
+        }
+        #endregion
+
+        #region è£½å“�ç‰ˆï¼ˆä¸€äººè¦ªæ–¹ç‰ˆï¼‰èµ·å‹•é…�åˆ—å�–å¾—
+        /// <summary>
+        /// è£½å“�ç‰ˆï¼ˆä¸€äººè¦ªæ–¹ç‰ˆï¼‰èµ·å‹•é…�åˆ—å�–å¾—
+        /// </summary>
+        public static KeyValuePair<int, string>[] GetExecKeyValuesProType1
+        {
+            get { return s_ProductType1; }
+        }
+        #endregion
+
+        #region è£½å“�ç‰ˆï¼ˆæ‰¿èª�ç‰ˆï¼‰èµ·å‹•é…�åˆ—å�–å¾—
+        /// <summary>
+        /// è£½å“�ç‰ˆï¼ˆæ‰¿èª�ç‰ˆï¼‰èµ·å‹•é…�åˆ—å�–å¾—
+        /// </summary>
+        public static KeyValuePair<int, string>[] GetExecKeyValuesProType2
+        {
+            get { return s_ProductType2; }
+        }
+        #endregion
+
+        #endregion
+
         #region ã‚³ãƒ³ã‚¹ãƒˆãƒ©ã‚¯ã‚¿
         public FrmSecurity()
         {
@@ -632,7 +429,7 @@
 
                 // å¤‰æ›´ãƒ•ãƒ©ã‚°ã‚¯ãƒªã‚¢
                 m_bChengeAns = false;
-                this.Close();
+                //this.Close();
             }
             catch (System.Exception ex)
             {
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/Master/Security/FrmSecurityAuxiliary.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/Master/Security/FrmSecurityAuxiliary.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/Master/Security/FrmSecurityAuxiliary.cs	(revision 468)
@@ -497,10 +497,10 @@
                     case (int)ProductDefine.ProductTypeDef.Originals:
                         LoopList = s_OriginalArray;
                         break;
-                    case (int)ProductDefine.ProductTypeDef.MassProductionType1:
+                    case (int)ProductDefine.ProductTypeDef.ProductsModelType1:
                         LoopList = s_ProductType1;
                         break;
-                    case (int)ProductDefine.ProductTypeDef.MassProductionType2:
+                    case (int)ProductDefine.ProductTypeDef.ProductsModelType2:
                         LoopList = s_ProductType2;
                         break;
                 }
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/Master/Security/FrmSecurityDefine.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/Master/Security/FrmSecurityDefine.cs	(nonexistent)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/Master/Security/FrmSecurityDefine.cs	(revision 468)
@@ -0,0 +1,247 @@
+ï»¿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;
+using System.Collections;
+using System.Diagnostics;
+using System.Threading;
+
+using log4net;
+using log4net.Appender;
+using log4net.Repository.Hierarchy;
+
+using ProcessManagement.Common;
+using ProcessManagement.DB.IOAccess;
+using ProcessManagement.DataModel;
+using ProcessManagement.DB.Core;
+using ProcessManagement.Forms.SubForms;
+using ProcessManagement.Forms.CustomControls;
+using ProcessManagement.Forms.ControlsAction;
+
+namespace ProcessManagement.Forms.Master
+{
+    partial class FrmSecurity
+    {
+        #region ãƒžã‚¹ã‚¿ãƒ‡ãƒ¼ã‚¿è¡¨ç¤ºå®šç¾©
+
+        #region ã‚ªãƒªã‚¸ãƒŠãƒ«ãƒ‡ãƒ¼ã‚¿è¡¨ç¤ºå®šç¾©
+        /// <summary>
+        /// ã‚ªãƒªã‚¸ãƒŠãƒ«ãƒ‡ãƒ¼ã‚¿è¡¨ç¤ºå®šç¾©
+        /// </summary>
+        private static KeyValuePair<int, string>[] s_OriginalArray = {
+                                                    new KeyValuePair<int, string>(-1, "å…±ã€€é€šã€€å‡¦ã€€ç�†"),                                                    // ----- ã‚¿ã‚¤ãƒˆãƒ«
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ConstructionList, string.Empty),          //  1:å·¥äº‹æƒ…å ±ä¸€è¦§
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ApprovalDocumentList, string.Empty),      //  7:æ‰¿èª�ç”³è«‹ä¸€è¦§
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ConstructionCopyList, string.Empty),      //  8:å·¥äº‹æ¡ˆä»¶ã‚³ãƒ”ãƒ¼æ©Ÿèƒ½
+
+                                                    new KeyValuePair<int, string>(-1, "å�—ã€€æ³¨ã€€ç®¡ã€€ç�†"),                                                    // ----- ã‚¿ã‚¤ãƒˆãƒ«
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ConstructionBaseInfo, string.Empty),      //  2:å·¥äº‹æƒ…å ±å…¥åŠ›
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.EstimateInput, string.Empty),             //  3:ç©�ç®—è¦‹ç©�å…¥åŠ›
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.EstimatePrint, string.Empty),             //  4:ç©�ç®—è¦‹ç©�æ›¸å�°åˆ·
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.EstimateBudget, string.Empty),            //  5:ç©�ç®—äºˆç®—æ›¸å…¥åŠ›
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.OrderJoin, string.Empty),                 // 20:å·¥äº‹çµ�å�ˆ
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ConstructionSplit, string.Empty),         // 21:å·¥äº‹åˆ†å‰²
+
+                                                    new KeyValuePair<int, string>(-1, "æ—¥æ¬¡ï¼ˆæ–½å·¥ï¼‰ç®¡ç�†"),                                                  // ----- ã‚¿ã‚¤ãƒˆãƒ«
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.DepartmentExpenssList, string.Empty),     // 11:éƒ¨ç½²åˆ¥å�°å¸³ä¸€è¦§
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ConstructionLedgerList, string.Empty),    // 13:å·¥äº‹è©³ç´°å�°å¸³ä¸€è¦§
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.PriceOfBudget, string.Empty),             // 37:å�°å¸³çŠ¶æ³�ç¢ºèª�ç”»é�¢
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ConstructionLedger, string.Empty),        // 13:å·¥äº‹è©³ç´°å�°å¸³
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.DRList, string.Empty),                    // 15:å·¥äº‹æ—¥å ±ï¼�ä¸€è¦§
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.DRConstruction, string.Empty),            // 16:å·¥äº‹æ—¥å ±å…¥åŠ›
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.Proceedings, string.Empty),               // 17:æ‰“å�ˆã�›è­°äº‹éŒ²å…¥åŠ›
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.TAndPCosts, string.Empty),                // 14:äº¤é€šè²»å�Šã�³è³¼å…¥å“�å…¥åŠ›
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.DRWork, string.Empty),                    // 18:å‡ºå‹¤æ—¥å ±
+                                                	new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.MaterialList, string.Empty),              // 23:è³‡æ��ä¸€è¦§
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.MaterialHistory, string.Empty),           // 24:è³‡æ��å±¥æ­´ç”»é�¢
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.MaterialCountEntry, string.Empty),        // 25:è³‡æ��æ•°å¤‰æ›´ç”»é�¢
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.MaterialReserveEntry, string.Empty),      // 26:è³‡æ��è²¸å‡º
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.MaterialReturnEntry, string.Empty),       // 27:è³‡æ��è¿”å�´
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.SafetyPatrol, string.Empty),              // 43:å®‰å…¨ãƒ‘ãƒˆãƒ­ãƒ¼ãƒ«ç”³è«‹
+
+                                                    new KeyValuePair<int, string>(-1, "æœˆæ¬¡ï¼ˆæ–½å·¥ï¼‰ç®¡ç�†"),                                                  // ----- ã‚¿ã‚¤ãƒˆãƒ«
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.RequestSummaryList, string.Empty),        // 29:è«‹æ±‚ã�¾ã�¨ã‚�
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.PaymentConfirmation, string.Empty),       // 30:å…¥é‡‘ç¢ºèª�
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ReqSumTotalList, string.Empty),           // 44:æ¥­è€…è«‹æ±‚ä¸€è¦§
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.WebEDICloseMonth, string.Empty),          // 48:Webè«‹æ±‚ç· ã‚�æ—¥å…¥åŠ›
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.CsvOutput, string.Empty),                 // 51:CSVãƒ‡ãƒ¼ã‚¿å‡ºåŠ›
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.RequestMessageWriter, string.Empty),      // 50:Webè«‹æ±‚ã�ŠçŸ¥ã‚‰ã�›å…¥åŠ›
+
+                                                    new KeyValuePair<int, string>(-1, "æ›¸ã€€é¡žã€€ç®¡ã€€ç�†"),                                                    // ----- ã‚¿ã‚¤ãƒˆãƒ«
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ConstructionBudget, string.Empty),        //  6:å·¥äº‹äºˆç®—æ›¸å…¥åŠ›
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.PurchaseOrderEntry, string.Empty),        //  9:æ³¨æ–‡æ›¸å…¥åŠ›
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.PurchaseOrderPrint, string.Empty),        // 10:æ³¨æ–‡æ›¸å�°åˆ·
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.PurchaseOrderStatus, string.Empty),       // 19:æ³¨æ–‡æ›¸ç™ºçµ¦ä¸€è¦§
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.RequestInput, string.Empty),              // 31:è«‹æ±‚å…¥åŠ›
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.RequestPrint, string.Empty),              // 32:è«‹æ±‚æ›¸å�°åˆ·
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.DepartmentCost, string.Empty),            // 46:éƒ¨ç½²å‡ºç´�å¸³
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ReqApprovalStatus, string.Empty),         // 47:è«‹æ±‚æ‰¿èª�çŠ¶æ³�é–²è¦§ 
+                                                    
+                                                    new KeyValuePair<int, string>(-1, "ç·�ã€€å‹™ã€€ç®¡ã€€ç�†"),                                                    // ----- ã‚¿ã‚¤ãƒˆãƒ«
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.PurchaseStatusInput, string.Empty),       // 40:æ³¨æ–‡æ›¸çŠ¶æ³�å…¥åŠ›
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ReqBillingStatInput, string.Empty),       // 42:è«‹æ±‚æ›¸çŠ¶æ³�å…¥åŠ›
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.WorkingPrint, string.Empty),              // 54:å‡ºå‹¤ç®¡ç�†æ—¥å ±å�°åˆ·
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.OnHandVolume, string.Empty),              // 55:æ‰‹æŒ�å·¥äº‹é«˜ä¸€è¦§å�°åˆ·
+
+                                                    new KeyValuePair<int, string>(-1, "å�„ç¨®æ��å‡ºæ›¸é¡ž"),                                                      // ----- ã‚¿ã‚¤ãƒˆãƒ«
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.CostomerRegist, string.Empty),            // 34:ç™ºæ³¨è€…ç™»éŒ²ç”³è«‹
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.SubConstrRegist, string.Empty),           // 36:å�”åŠ›ä¼šç¤¾ç™»éŒ²ç”³è«‹
+                                                    
+                                                    new KeyValuePair<int, string>(-1, "ãƒžã‚¹ã‚¿ãƒ¡ãƒ³ãƒ†ãƒŠãƒ³ã‚¹"),                                                // ----- ã‚¿ã‚¤ãƒˆãƒ«
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.System, string.Empty),                // ã‚·ã‚¹ãƒ†ãƒ ç®¡ç�†ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.Security, string.Empty),              // ã‚»ã‚­ãƒ¥ãƒªãƒ†ã‚£åŒºåˆ†ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.ApprovalRouteList, string.Empty),     // æ‰¿èª�çµŒè·¯ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.TermMaster, string.Empty),            // æœŸé™�ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.Department, string.Empty),            // éƒ¨ç½²ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.PersonInCharge, string.Empty),        // æ‹…å½“è€…ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.AlwaysEmployment, string.Empty),      // å¸¸é›‡è€…ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.Orderers, string.Empty),              // ç™ºæ³¨è€…ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.ConstructionType, string.Empty),      // å·¥äº‹ç¨®åˆ¥ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.Suppliers, string.Empty),             // ä»•å…¥å…ˆç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.SubContractor, string.Empty),         // å�”åŠ›ä¼šç¤¾ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.SubContrItem, string.Empty),          // å�”åŠ›ä¼šç¤¾å·¥ç¨®ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.SubContrJobCat, string.Empty),        // å�”åŠ›ä¼šç¤¾è�·ç¨®ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.Component, string.Empty),             // å¤§é …ç›®ç™»éŒ²ï¼ˆæ§‹æˆ�ç™»éŒ²ï¼‰
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.ConstructionItem, string.Empty),      // ä¸­é …ç›®ç™»éŒ²ï¼ˆå·¥ç¨®ç™»éŒ²ï¼‰
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.ConstructionWork, string.Empty),      // å°�é …ç›®ç™»éŒ²ï¼ˆä½œæ¥­ç™»éŒ²ï¼‰
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.TypeToComp,string.Empty),             // å·¥äº‹ç¨®åˆ¥ãƒ»å¤§é …ç›®ãƒªãƒ³ã‚¯ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.ComponentLink, string.Empty),         // å¤§ãƒ»ä¸­é …ç›®é–¢é€£ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.BusinessType, string.Empty),          // æ³•äººæ ¼ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.OrderDivision, string.Empty),         // ç™ºæ³¨è€…åŒºåˆ†ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.ConstrExpenses, string.Empty),        // æ–½å·¥çµŒè²»åŒºåˆ†ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.QualificationD, string.Empty),        // è³‡æ ¼ãƒžã‚¹ã‚¿åˆ†é¡ž
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.QualificationQ, string.Empty),        // è³‡æ ¼ãƒžã‚¹ã‚¿åŒºåˆ†
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.Unit, string.Empty),                  // å�˜ä½�ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.Calender, string.Empty),              // ã‚«ãƒ¬ãƒ³ãƒ€ãƒ¼ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.WorkingTime, string.Empty),           // å°±æ¥­æ™‚é–“ãƒžã‚¹ã‚¿
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.VehicleMaster, string.Empty),         // è»Šä¸¡ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.MaterialKind, string.Empty),          // è³‡æ��ç¨®é¡žç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.MaterialItem, string.Empty),          // è³‡æ��å“�ç›®ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.SalesConfirm, string.Empty),          // å£²ä¸Šç¢ºèª�
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.BankBusinessDay, string.Empty),       // éŠ€è¡Œå–¶æ¥­æ—¥ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.BudgetCodeSum, string.Empty),         // äºˆç®—æ›¸é›†è¨ˆã‚³ãƒ¼ãƒ‰ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.AddressConvert, string.Empty),        // éƒµä¾¿ç•ªå�·å¼•è¾¼
+                                                };
+        #endregion
+
+        #region è£½å“�ç‰ˆï¼ˆä¸€äººè¦ªæ–¹ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³ï¼‰ãƒ‡ãƒ¼ã‚¿å®šç¾©
+        /// <summary>
+        /// è£½å“�ç‰ˆï¼ˆä¸€äººè¦ªæ–¹ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³ï¼‰ãƒ‡ãƒ¼ã‚¿å®šç¾©
+        /// </summary>
+        private static KeyValuePair<int, string>[] s_ProductType1 = {
+                                                    new KeyValuePair<int, string>(-1, "å…±ã€€é€šã€€å‡¦ã€€ç�†"),                                                   // ----- ã‚¿ã‚¤ãƒˆãƒ«
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ConstructionList, string.Empty),          //  1:å·¥äº‹æƒ…å ±ä¸€è¦§
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ConstructionCopyList, string.Empty),      //  8:å·¥äº‹æ¡ˆä»¶ã‚³ãƒ”ãƒ¼æ©Ÿèƒ½
+
+                                                    new KeyValuePair<int, string>(-1, "å�—ã€€æ³¨ã€€ç®¡ã€€ç�†"),                                                   // ----- ã‚¿ã‚¤ãƒˆãƒ«
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ConstructionBaseInfo, string.Empty),      //  2:å·¥äº‹æƒ…å ±å…¥åŠ›
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.EstimateInput, string.Empty),             //  3:ç©�ç®—è¦‹ç©�å…¥åŠ›
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.EstimatePrint, string.Empty),             //  4:ç©�ç®—è¦‹ç©�æ›¸å�°åˆ·
+
+                                                    new KeyValuePair<int, string>(-1, "æ–½ã€€å·¥ã€€ç®¡ã€€ç�†"),                                                   // ----- ã‚¿ã‚¤ãƒˆãƒ«
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ConstructionBudget, string.Empty),        //  6:å·¥äº‹äºˆç®—æ›¸å…¥åŠ›
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ConstructionLedgerList, string.Empty),    // 12:å·¥äº‹è©³ç´°å�°å¸³ä¸€è¦§
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ConstructionLedger, string.Empty),        // 13:å·¥äº‹è©³ç´°å�°å¸³
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.PriceOfBudget, string.Empty),             // 37:å�°å¸³çŠ¶æ³�ç¢ºèª�ç”»é�¢
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.PurchaseOrderEntry, string.Empty),        //  9:æ³¨æ–‡æ›¸å…¥åŠ›
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.PurchaseOrderPrint, string.Empty),        // 10:æ³¨æ–‡æ›¸å�°åˆ·
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.PurchaseOrderStatus, string.Empty),       // 19:æ³¨æ–‡æ›¸ç™ºçµ¦ä¸€è¦§
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.PurchaseStatusInput, string.Empty),       // 40:æ³¨æ–‡æ›¸çŠ¶æ³�å…¥åŠ›
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.RequestInput, string.Empty),              // 31:è«‹æ±‚å…¥åŠ›
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.RequestPrint, string.Empty),              // 32:è«‹æ±‚æ›¸å�°åˆ·
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ReqBillingStatInput, string.Empty),       // 42:è«‹æ±‚æ›¸çŠ¶æ³�å…¥åŠ›
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ReqApprovalStatus, string.Empty),         // 47:è«‹æ±‚æ‰¿èª�çŠ¶æ³�é–²è¦§ 
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.PaymentConfirmation, string.Empty),       // 30:å…¥é‡‘ç¢ºèª�
+
+                                                    new KeyValuePair<int, string>(-1, "ãƒžã‚¹ã‚¿ãƒ¡ãƒ³ãƒ†ãƒŠãƒ³ã‚¹"),                                                // ----- ã‚¿ã‚¤ãƒˆãƒ«
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.System, string.Empty),                // ã‚·ã‚¹ãƒ†ãƒ ç®¡ç�†ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.TermMaster, string.Empty),            // æœŸé™�ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.Department, string.Empty),            // éƒ¨ç½²ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.PersonInCharge, string.Empty),        // æ‹…å½“è€…ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.Orderers, string.Empty),              // ç™ºæ³¨è€…ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.ConstructionType, string.Empty),      // å·¥äº‹ç¨®åˆ¥ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.SubContractor, string.Empty),         // å�”åŠ›ä¼šç¤¾ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.SubContrItem, string.Empty),          // å�”åŠ›ä¼šç¤¾å·¥ç¨®ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.SubContrJobCat, string.Empty),        // å�”åŠ›ä¼šç¤¾è�·ç¨®ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.Component, string.Empty),             // å¤§é …ç›®ç™»éŒ²ï¼ˆæ§‹æˆ�ç™»éŒ²ï¼‰
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.ConstructionItem, string.Empty),      // ä¸­é …ç›®ç™»éŒ²ï¼ˆå·¥ç¨®ç™»éŒ²ï¼‰
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.ConstructionWork, string.Empty),      // å°�é …ç›®ç™»éŒ²ï¼ˆä½œæ¥­ç™»éŒ²ï¼‰
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.TypeToComp,string.Empty),             // å·¥äº‹ç¨®åˆ¥ãƒ»å¤§é …ç›®ãƒªãƒ³ã‚¯ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.ComponentLink, string.Empty),         // å¤§ãƒ»ä¸­é …ç›®é–¢é€£ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.BudgetCodeSum, string.Empty),         // äºˆç®—æ›¸é›†è¨ˆã‚³ãƒ¼ãƒ‰ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.AddressConvert, string.Empty),        // éƒµä¾¿ç•ªå�·å¼•è¾¼
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.BusinessType, string.Empty),          // æ³•äººæ ¼ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.OrderDivision, string.Empty),         // ç™ºæ³¨è€…åŒºåˆ†ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.ConstrExpenses, string.Empty),        // æ–½å·¥çµŒè²»åŒºåˆ†ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.Unit, string.Empty),                  // å�˜ä½�ç™»éŒ²
+                                                };
+        #endregion
+
+        #region è£½å“�ç‰ˆï¼ˆæ‰¿èª�ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³ï¼‰ãƒ‡ãƒ¼ã‚¿å®šç¾©
+        /// <summary>
+        /// è£½å“�ç‰ˆï¼ˆæ‰¿èª�ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³ï¼‰ãƒ‡ãƒ¼ã‚¿å®šç¾©
+        /// </summary>
+        private static KeyValuePair<int, string>[] s_ProductType2 = {
+                                                    new KeyValuePair<int, string>(-1, "å…±ã€€é€šã€€å‡¦ã€€ç�†"),                                                    // ----- ã‚¿ã‚¤ãƒˆãƒ«
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ConstructionList, string.Empty),          //  1:å·¥äº‹æƒ…å ±ä¸€è¦§
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ApprovalDocumentList, string.Empty),      //  7:æ‰¿èª�ç”³è«‹ä¸€è¦§
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ConstructionCopyList, string.Empty),      //  8:å·¥äº‹æ¡ˆä»¶ã‚³ãƒ”ãƒ¼æ©Ÿèƒ½
+
+                                                    new KeyValuePair<int, string>(-1, "å�—ã€€æ³¨ã€€ç®¡ã€€ç�†"),                                                    // ----- ã‚¿ã‚¤ãƒˆãƒ«
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ConstructionBaseInfo, string.Empty),      //  2:å·¥äº‹æƒ…å ±å…¥åŠ›
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.EstimateInput, string.Empty),             //  3:ç©�ç®—è¦‹ç©�å…¥åŠ›
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.EstimatePrint, string.Empty),             //  4:ç©�ç®—è¦‹ç©�æ›¸å�°åˆ·
+
+                                                    new KeyValuePair<int, string>(-1, "æ–½ã€€å·¥ã€€ç®¡ã€€ç�†"),                                                    // ----- ã‚¿ã‚¤ãƒˆãƒ«
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ConstructionBudget, string.Empty),        //  6:å·¥äº‹äºˆç®—æ›¸å…¥åŠ›
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.DepartmentExpenssList, string.Empty),     // 11:éƒ¨ç½²åˆ¥å�°å¸³ä¸€è¦§
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ConstructionLedgerList, string.Empty),    // 12:å·¥äº‹è©³ç´°å�°å¸³ä¸€è¦§
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ConstructionLedger, string.Empty),        // 13:å·¥äº‹è©³ç´°å�°å¸³
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.PriceOfBudget, string.Empty),             // 37:å�°å¸³çŠ¶æ³�ç¢ºèª�ç”»é�¢
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.PurchaseOrderEntry, string.Empty),        //  9:æ³¨æ–‡æ›¸å…¥åŠ›
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.PurchaseOrderPrint, string.Empty),        // 10:æ³¨æ–‡æ›¸å�°åˆ·
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.PurchaseOrderStatus, string.Empty),       // 19:æ³¨æ–‡æ›¸ç™ºçµ¦ä¸€è¦§
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.PurchaseStatusInput, string.Empty),       // 40:æ³¨æ–‡æ›¸çŠ¶æ³�å…¥åŠ›
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.RequestInput, string.Empty),              // 31:è«‹æ±‚å…¥åŠ›
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.RequestPrint, string.Empty),              // 32:è«‹æ±‚æ›¸å�°åˆ·
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.RequestPrintList, string.Empty),          // 45:è«‹æ±‚æ›¸å�°åˆ·ä¸€è¦§
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ReqApprovalStatus, string.Empty),         // 47:è«‹æ±‚æ‰¿èª�çŠ¶æ³�é–²è¦§ 
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ReqBillingStatInput, string.Empty),       // 42:è«‹æ±‚æ›¸çŠ¶æ³�å…¥åŠ›
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.PaymentConfirmation, string.Empty),       // 30:å…¥é‡‘ç¢ºèª�
+                                                    
+                                                    new KeyValuePair<int, string>(-1, "ãƒžã‚¹ã‚¿ãƒ¡ãƒ³ãƒ†ãƒŠãƒ³ã‚¹"),                                                // ----- ã‚¿ã‚¤ãƒˆãƒ«
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.System, string.Empty),                // ã‚·ã‚¹ãƒ†ãƒ ç®¡ç�†ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.Security, string.Empty),              // ã‚»ã‚­ãƒ¥ãƒªãƒ†ã‚£åŒºåˆ†ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.ApprovalRouteList, string.Empty),     // æ‰¿èª�çµŒè·¯ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.TermMaster, string.Empty),            // æœŸé™�ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.Department, string.Empty),            // éƒ¨ç½²ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.PersonInCharge, string.Empty),        // æ‹…å½“è€…ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.Orderers, string.Empty),              // ç™ºæ³¨è€…ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.ConstructionType, string.Empty),      // å·¥äº‹ç¨®åˆ¥ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.Suppliers, string.Empty),             // ä»•å…¥å…ˆç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.SubContractor, string.Empty),         // å�”åŠ›ä¼šç¤¾ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.SubContrItem, string.Empty),          // å�”åŠ›ä¼šç¤¾å·¥ç¨®ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.SubContrJobCat, string.Empty),        // å�”åŠ›ä¼šç¤¾è�·ç¨®ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.Component, string.Empty),             // å¤§é …ç›®ç™»éŒ²ï¼ˆæ§‹æˆ�ç™»éŒ²ï¼‰
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.ConstructionItem, string.Empty),      // ä¸­é …ç›®ç™»éŒ²ï¼ˆå·¥ç¨®ç™»éŒ²ï¼‰
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.ConstructionWork, string.Empty),      // å°�é …ç›®ç™»éŒ²ï¼ˆä½œæ¥­ç™»éŒ²ï¼‰
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.TypeToComp,string.Empty),             // å·¥äº‹ç¨®åˆ¥ãƒ»å¤§é …ç›®ãƒªãƒ³ã‚¯ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.ComponentLink, string.Empty),         // å¤§ãƒ»ä¸­é …ç›®é–¢é€£ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.BusinessType, string.Empty),          // æ³•äººæ ¼ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.OrderDivision, string.Empty),         // ç™ºæ³¨è€…åŒºåˆ†ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.ConstrExpenses, string.Empty),        // æ–½å·¥çµŒè²»åŒºåˆ†ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.Unit, string.Empty),                  // å�˜ä½�ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.Calender, string.Empty),              // ã‚«ãƒ¬ãƒ³ãƒ€ãƒ¼ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.VehicleMaster, string.Empty),         // è»Šä¸¡ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.BudgetCodeSum, string.Empty),         // äºˆç®—æ›¸é›†è¨ˆã‚³ãƒ¼ãƒ‰ç™»éŒ²
+                                                    new KeyValuePair<int, string>((int)ClsExcute.MaintenanceExecuteNo.AddressConvert, string.Empty),        // éƒµä¾¿ç•ªå�·å¼•è¾¼
+                                                };
+        #endregion
+
+        #endregion
+    }
+}
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/Master/SubContractor/FrmSubContractorAuxiliary.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/Master/SubContractor/FrmSubContractorAuxiliary.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/Master/SubContractor/FrmSubContractorAuxiliary.cs	(revision 468)
@@ -292,8 +292,8 @@
                         // ãƒ¡ãƒ¼ãƒ«ã‚°ãƒªãƒƒãƒ‰è‰²è¨­å®š
                         SetMailGridStyle();
                         break;
-                    case (int)ProductDefine.ProductTypeDef.MassProductionType1:
-                    case (int)ProductDefine.ProductTypeDef.MassProductionType2:
+                    case (int)ProductDefine.ProductTypeDef.ProductsModelType1:
+                    case (int)ProductDefine.ProductTypeDef.ProductsModelType2:
                         // ----- è£½å“�ç‰ˆ
                         SetInitStyleMassProduction();
                         break;
@@ -1063,7 +1063,7 @@
                 }
 
                 if (wrklist.BankAccountNo > 0)
-                    m_dispControl[(int)DispCtrl.AccountNo].Text = wrklist.BankAccountNo.ToString("0000000");                        // å�£åº§ç•ªå�· 
+                    m_dispControl[(int)DispCtrl.AccountNo].Text = wrklist.BankAccountNo.ToString("0000000");                        // å�£åº§ç•ªå�· ï¼ˆã�‚ã‚Œã�°è¡¨ç¤ºï¼‰
                 m_dispControl[(int)DispCtrl.AccountName].Text = wrklist.BankAccountName;                                            // å�£åº§å��ç¾©(å�—å�–äººå��)  
                 m_dispControl[(int)DispCtrl.TransferFees].Text = wrklist.TransferFees.ToString("#,0");                              // æŒ¯è¾¼æ‰‹æ•°æ–™
 
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/Master/System/FrmSystem.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/Master/System/FrmSystem.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/Master/System/FrmSystem.cs	(revision 468)
@@ -1012,6 +1012,15 @@
                 CommonMotions.chgBackColor(m_dispControl[(int)Dispcount.ConstrCompDate], bDate);
                 bRet &= bDate;
 
+                // å·¥äº‹ç•ªå�·åŸºæº–
+                panel1.BackColor = Color.FromArgb(192, 255, 192);
+                if (!radioButton1.Checked && !radioButton2.Checked)
+                {
+                    // èƒŒæ™¯è‰²å¤‰æ›´
+                    panel1.BackColor = Color.Red;
+                    bRet &= false;
+                }
+
                 // æ¶ˆè²»ç¨Ž
                 if (m_dispControl[(int)Dispcount.ConsumptionTax].Text.Length != 0) iLength++;
                 bRet &= CommonMotions.DispFieldDoubleCheck(m_dispControl[(int)Dispcount.ConsumptionTax], true);
@@ -1459,12 +1468,12 @@
 
                 // ã‚·ã‚¹ãƒ†ãƒ ç®¡ç�†è€…ä»¥å¤–ã�¯é�‹ç”¨å½¢æ…‹ãƒ•ãƒ©ã‚°ã‚’è¡¨ç¤ºã�—ã�ªã�„
                 groupBoxEx6.Visible = false;
-                groupBoxEx2.Height += 58;
+                groupBoxEx2.Height += 54;
 
                 // è£½å“�ç‰ˆType1ã�¯æ¶ˆè²»ç¨Žä»¥å¤–ã�®è¨­å®šã‚’æ¶ˆã�™
                 switch (ProductDefine.ProductType)
                 {
-                    case (int)ProductDefine.ProductTypeDef.MassProductionType1:
+                    case (int)ProductDefine.ProductTypeDef.ProductsModelType1:
                         // è£½å“�ç‰ˆï¼ˆä¸€äººè¦ªæ–¹ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³ï¼‰
                         foreach (Control CurCtrl in groupBoxEx2.Controls)
                         {
@@ -1474,6 +1483,7 @@
                                 || CurCtrl.Name.Equals("label16")
                                 || CurCtrl.Name.Equals("label14")
                                 || CurCtrl.Name.Equals("txtInput23")
+                                || CurCtrl.Name.Equals("btnTax")
                                 ) continue;
 
                             // ä¸Šè¨˜ä»¥å¤–ã�¯è¡¨ç¤ºã�—ã�ªã�„
@@ -1482,7 +1492,7 @@
                         // é�‹ç”¨å½¢æ…‹ã�¯è¡¨ç¤ºã�—ã�ªã�„
                         panel2.Enabled = false;
                         break;
-                    case (int)ProductDefine.ProductTypeDef.MassProductionType2:
+                    case (int)ProductDefine.ProductTypeDef.ProductsModelType2:
                         // è£½å“�ç‰ˆï¼ˆæ‰¿èª�ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³ï¼‰
                         // é�‹ç”¨å½¢æ…‹ã�¯è¡¨ç¤ºã�—ã�ªã�„
                         panel2.Enabled = false;
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/Master/WorkingTime/FrmWorkingTimeAux.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/Master/WorkingTime/FrmWorkingTimeAux.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/Master/WorkingTime/FrmWorkingTimeAux.cs	(revision 468)
@@ -38,8 +38,8 @@
                     case (int)ProductDefine.ProductTypeDef.Originals:
                         // ----- ã‚ªãƒªã‚¸ãƒŠãƒ«ç‰ˆ
                         break;
-                    case (int)ProductDefine.ProductTypeDef.MassProductionType1:
-                    case (int)ProductDefine.ProductTypeDef.MassProductionType2:
+                    case (int)ProductDefine.ProductTypeDef.ProductsModelType1:
+                    case (int)ProductDefine.ProductTypeDef.ProductsModelType2:
                         // ----- è£½å“�ç‰ˆï¼ˆæ‰¿èª�ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³ï¼‰
                         SetInitStyleMassProduction();
                         break;
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmAmountAllocation.resx
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmAmountAllocation.resx	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmAmountAllocation.resx	(nonexistent)
@@ -1,132 +0,0 @@
-ï»¿<?xml version="1.0" encoding="utf-8"?>
-<root>
-  <!-- 
-    Microsoft ResX Schema 
-    
-    Version 2.0
-    
-    The primary goals of this format is to allow a simple XML format 
-    that is mostly human readable. The generation and parsing of the 
-    various data types are done through the TypeConverter classes 
-    associated with the data types.
-    
-    Example:
-    
-    ... ado.net/XML headers & schema ...
-    <resheader name="resmimetype">text/microsoft-resx</resheader>
-    <resheader name="version">2.0</resheader>
-    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
-    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
-    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
-    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
-    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
-        <value>[base64 mime encoded serialized .NET Framework object]</value>
-    </data>
-    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
-        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
-        <comment>This is a comment</comment>
-    </data>
-                
-    There are any number of "resheader" rows that contain simple 
-    name/value pairs.
-    
-    Each data row contains a name, and value. The row also contains a 
-    type or mimetype. Type corresponds to a .NET class that support 
-    text/value conversion through the TypeConverter architecture. 
-    Classes that don't support this are serialized and stored with the 
-    mimetype set.
-    
-    The mimetype is used for serialized objects, and tells the 
-    ResXResourceReader how to depersist the object. This is currently not 
-    extensible. For a given mimetype the value must be set accordingly:
-    
-    Note - application/x-microsoft.net.object.binary.base64 is the format 
-    that the ResXResourceWriter will generate, however the reader can 
-    read any of the formats listed below.
-    
-    mimetype: application/x-microsoft.net.object.binary.base64
-    value   : The object must be serialized with 
-            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
-            : and then encoded with base64 encoding.
-    
-    mimetype: application/x-microsoft.net.object.soap.base64
-    value   : The object must be serialized with 
-            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
-            : and then encoded with base64 encoding.
-
-    mimetype: application/x-microsoft.net.object.bytearray.base64
-    value   : The object must be serialized into a byte array 
-            : using a System.ComponentModel.TypeConverter
-            : and then encoded with base64 encoding.
-    -->
-  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
-    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
-    <xsd:element name="root" msdata:IsDataSet="true">
-      <xsd:complexType>
-        <xsd:choice maxOccurs="unbounded">
-          <xsd:element name="metadata">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" />
-              </xsd:sequence>
-              <xsd:attribute name="name" use="required" type="xsd:string" />
-              <xsd:attribute name="type" type="xsd:string" />
-              <xsd:attribute name="mimetype" type="xsd:string" />
-              <xsd:attribute ref="xml:space" />
-            </xsd:complexType>
-          </xsd:element>
-          <xsd:element name="assembly">
-            <xsd:complexType>
-              <xsd:attribute name="alias" type="xsd:string" />
-              <xsd:attribute name="name" type="xsd:string" />
-            </xsd:complexType>
-          </xsd:element>
-          <xsd:element name="data">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
-                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
-              </xsd:sequence>
-              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
-              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
-              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
-              <xsd:attribute ref="xml:space" />
-            </xsd:complexType>
-          </xsd:element>
-          <xsd:element name="resheader">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
-              </xsd:sequence>
-              <xsd:attribute name="name" type="xsd:string" use="required" />
-            </xsd:complexType>
-          </xsd:element>
-        </xsd:choice>
-      </xsd:complexType>
-    </xsd:element>
-  </xsd:schema>
-  <resheader name="resmimetype">
-    <value>text/microsoft-resx</value>
-  </resheader>
-  <resheader name="version">
-    <value>2.0</value>
-  </resheader>
-  <resheader name="reader">
-    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </resheader>
-  <resheader name="writer">
-    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </resheader>
-  <metadata name="Column1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="Column4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="Column2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="Column3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-</root>
\ No newline at end of file
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmAmountAllocation.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmAmountAllocation.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmAmountAllocation.cs	(nonexistent)
@@ -1,323 +0,0 @@
-ï»¿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;
-
-using ProcessManagement.Common;
-using ProcessManagement.DB.IOAccess;
-using ProcessManagement.DataModel;
-using ProcessManagement.Forms.CustomControls;
-using ProcessManagement.Forms.ControlsAction;
-
-namespace ProcessManagement.Forms.SubForms
-{
-    /// <summary>
-    /// é‡‘é¡�å‰²ã‚ŠæŒ¯ã‚Šè¡¨ç¤º
-    /// </summary>
-    public partial class FrmAmountAllocation : Form
-    {
-        #region ãƒ­ã‚°ä½¿ç”¨å®šç¾©
-        //log4netãƒ­ã‚°ã‚’ä½¿ç”¨ã�™ã‚‹
-        private static readonly log4net.ILog logger = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
-        #endregion
-
-        #region å®šæ•°
-        /// <summary>
-        /// è¡¨ç¤ºã‚«ãƒ©ãƒ 
-        /// </summary>
-        private enum DispGridColumn
-        {
-            No = 0,
-            Code,
-            Name,
-            Amount,
-        }
-        /// <summary>
-        /// ã‚°ãƒªãƒƒãƒ‰è¡¨ç¤ºè¡Œæ•°
-        /// </summary>
-        private const int s_GridDispLine = 5;
-        /// <summary>
-        /// è‡ªç”»é�¢å¹…
-        /// </summary>
-        private const int s_MyWidth = 430;
-        /// <summary>
-        /// è‡ªç”»é�¢é«˜ã�•
-        /// </summary>
-        private const int s_MyHeight = 220;
-        /// <summary>
-        /// ç·�è¨ˆã‚¿ã‚¤ãƒˆãƒ«ãƒ©ãƒ™ãƒ«è¡¨ç¤ºä½�ç½®ï¼¸
-        /// </summary>
-        private const int s_poTitleX = 162;
-        /// <summary>
-        /// ç·�è¨ˆè¡¨ç¤ºãƒ©ãƒ™ãƒ«è¡¨ç¤ºä½�ç½®ï¼¸
-        /// </summary>
-        private const int s_poTotalX = 252;
-        /// <summary>
-        /// å��ç§°ã‚»ãƒ«ã‚µã‚¤ã‚º
-        /// </summary>
-        private const int s_CellWidth = 200;
-        /// <summary>
-        /// ãƒ©ãƒ™ãƒ«ã‚¿ã‚¤ãƒˆãƒ«ã‚µã‚¤ã‚º
-        /// </summary>
-        private const int s_LabelTitleWidth = 250;
-        #endregion
-
-        #region å¤‰æ•°
-        /// <summary>
-        /// è¡¨ç¤ºä½�ç½®
-        /// </summary>
-        private Point m_LocationPoint = new Point(((System.Windows.Forms.Screen.PrimaryScreen.Bounds.Width / 2) - (s_MyWidth / 2)),
-                                                    ((System.Windows.Forms.Screen.PrimaryScreen.Bounds.Height / 2) - (s_MyHeight / 2)));
-
-        /// <summary>
-        /// çµ‚äº†çŠ¶æ…‹ãƒ•ãƒ©ã‚°
-        /// </summary>
-        private DialogResult m_EndButton = DialogResult.None;
-        /// <summary>
-        /// è¡¨ç¤ºãƒ‡ãƒ¼ã‚¿ãƒªã‚¹ãƒˆ
-        /// </summary>
-        private List<AmountAllocation> m_AmountList = new List<AmountAllocation>();
-        #endregion
-
-        #region ãƒ—ãƒ­ãƒ‘ãƒ†ã‚£
-        /// <summary>
-        /// çµ‚äº†ãƒœã‚¿ãƒ³çŠ¶æ…‹
-        /// </summary>
-        public DialogResult EndButton
-        {
-            get { return m_EndButton; }
-        }
-        /// <summary>
-        /// è¡¨ç¤ºä½�ç½®
-        /// </summary>
-        public Point LocationPoint
-        {
-            get { return m_LocationPoint; }
-            set { m_LocationPoint = value; }
-        }
-        /// <summary>
-        /// è¡¨ç¤ºãƒ‡ãƒ¼ã‚¿ãƒªã‚¹ãƒˆ
-        /// </summary>
-        public List<AmountAllocation> AmountList
-        {
-            get { return m_AmountList; }
-            set
-            {
-                m_AmountList = value;
-                DispData();
-            }
-        }
-        #endregion
-
-        #region ã‚³ãƒ³ã‚¹ãƒˆãƒ©ã‚¯ã‚¿
-        /// <summary>
-        /// ãƒ•ã‚©ãƒ¼ãƒ åˆ�æœŸåŒ–
-        /// </summary>
-        public FrmAmountAllocation()
-        {
-            InitializeComponent();
-        }
-        #endregion
-
-        #region ãƒ•ã‚©ãƒ¼ãƒ ãƒ­ãƒ¼ãƒ‰
-        /// <summary>
-        /// ãƒ•ã‚©ãƒ¼ãƒ ãƒ­ãƒ¼ãƒ‰
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void FrmCostStructureDiag_Load(object sender, EventArgs e)
-        {
-            // ãƒ•ã‚©ãƒ¼ãƒ ã‚µã‚¤ã‚ºå›ºå®š
-            this.MaximizedBounds = new Rectangle(this.Left, this.Top, this.Width, this.Height);
-
-            // ãƒ•ã‚©ãƒ¼ãƒ è¡¨ç¤ºä½�ç½®ã‚»ãƒƒãƒˆ
-            Point po = new Point(m_LocationPoint.X - this.Width, m_LocationPoint.Y - (this.Height + 50));
-            this.Location = po;
-
-            // åˆ�æœŸè¡¨ç¤º
-            if (m_AmountList.Count > 1) DispData();
-
-            // ãƒžã‚¦ã‚¹ã‚¤ãƒ™ãƒ³ãƒˆã‚»ãƒƒãƒˆ
-            dgvMain.MouseDown += new MouseEventHandler(FrmAmountAllocation_MouseDown);
-            dgvMain.MouseMove += new MouseEventHandler(FrmAmountAllocation_MouseMove);
-            lblTotalTitle1.MouseDown += new MouseEventHandler(FrmAmountAllocation_MouseDown);
-            lblTotalTitle1.MouseMove += new MouseEventHandler(FrmAmountAllocation_MouseMove);
-            lblTotalTitle2.MouseDown += new MouseEventHandler(FrmAmountAllocation_MouseDown);
-            lblTotalTitle2.MouseMove += new MouseEventHandler(FrmAmountAllocation_MouseMove);
-            lblCompTitle.MouseDown += new MouseEventHandler(FrmAmountAllocation_MouseDown);
-            lblCompTitle.MouseMove += new MouseEventHandler(FrmAmountAllocation_MouseMove);
-            lblCompTotal.MouseDown += new MouseEventHandler(FrmAmountAllocation_MouseDown);
-            lblCompTotal.MouseMove += new MouseEventHandler(FrmAmountAllocation_MouseMove);
-            lblCompTotal1.MouseDown += new MouseEventHandler(FrmAmountAllocation_MouseDown);
-            lblCompTotal1.MouseMove += new MouseEventHandler(FrmAmountAllocation_MouseMove);
-            lblCompTotal2.MouseDown += new MouseEventHandler(FrmAmountAllocation_MouseDown);
-            lblCompTotal2.MouseMove += new MouseEventHandler(FrmAmountAllocation_MouseMove);
-        }
-        #endregion
-
-        #region çµ‚äº†ãƒœã‚¿ãƒ³
-        /// <summary>
-        /// çµ‚äº†ãƒœã‚¿ãƒ³æŠ¼ä¸‹
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void btnEnd_Click(object sender, EventArgs e)
-        {
-            m_EndButton = DialogResult.None;
-            this.Close();
-        }
-        #endregion
-
-        #region è¡¨ç¤ºçŠ¶æ…‹ã‚’å¤‰æ›´ã�™ã‚‹
-        private void SetDisplayStyle()
-        {
-            try
-            {
-                // ã‚»ãƒ«ã‚µã‚¤ã‚ºåˆ�æœŸè¨­å®š
-                dgvMain.Columns[(int)DispGridColumn.Name].Width = s_CellWidth;
-                lblTotalTitle1.Width = s_LabelTitleWidth;
-                lblTotalTitle2.Width = s_LabelTitleWidth;
-
-                // å�ˆè¨ˆãƒ©ãƒ™ãƒ«ã�®åˆ�æœŸä½�ç½®
-                Point po1 = lblCompTitle.Location;
-                po1.X = s_poTitleX;
-                lblCompTitle.Location = po1;
-
-                Point po2 = lblCompTotal.Location;
-                po2.X = s_poTotalX;
-                lblCompTotal.Location = po2;
-
-                po2 = lblCompTotal1.Location;
-                po2.X = s_poTotalX;
-                lblCompTotal1.Location = po2;
-
-                po2 = lblCompTotal2.Location;
-                po2.X = s_poTotalX;
-                lblCompTotal2.Location = po2;
-
-                if (dgvMain.Rows.Count > s_GridDispLine) return;
-                // è¡¨ç¤ºè¡Œä»¥ä¸‹ã�®å ´å�ˆ
-                int AddCellWidth = 0;
-
-                int addRow = s_GridDispLine - dgvMain.Rows.Count;
-                if (addRow != 0) dgvMain.Rows.Add(addRow);
-
-                dgvMain.ScrollBars = ScrollBars.None;
-                // ã‚»ãƒ«ã‚µã‚¤ã‚ºå¤‰æ›´
-                AddCellWidth = dgvMain.RowHeadersWidth;
-
-                dgvMain.Columns[(int)DispGridColumn.Name].Width += AddCellWidth;
-                lblTotalTitle1.Width += AddCellWidth;
-                lblTotalTitle2.Width += AddCellWidth;
-
-                // ãƒ©ãƒ™ãƒ«ä½�ç½®å¤‰æ›´
-                po1 = lblCompTitle.Location;
-                po1.X += AddCellWidth;
-                lblCompTitle.Location = po1;
-
-                po2 = lblCompTotal.Location;
-                po2.X += AddCellWidth;
-                lblCompTotal.Location = po2;
-
-                po2 = lblCompTotal1.Location;
-                po2.X += AddCellWidth;
-                lblCompTotal1.Location = po2;
-
-                po2 = lblCompTotal2.Location;
-                po2.X += AddCellWidth;
-                lblCompTotal2.Location = po2;
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-
-        }
-        #endregion
-
-        #region ãƒ‡ãƒ¼ã‚¿è¡¨ç¤º
-        /// <summary>
-        /// ãƒ‡ãƒ¼ã‚¿è¡¨ç¤ºå‡¦ç�†
-        /// </summary>
-        private void DispData()
-        {
-            long lTotal = 0;
-            int icnt = 1;
-            try
-            {
-                // ãƒ‡ãƒ¼ã‚¿ã‚’è¡¨ç¤ºã�™ã‚‹
-                dgvMain.Rows.Clear();
-
-                // ãƒªã‚¹ãƒˆã�®å¾Œã‚�ã�‹ã‚‰ã‚°ãƒªãƒƒãƒ‰ã�«è¿½åŠ ã�™ã‚‹
-                for (int i = m_AmountList.Count - 1; i >= 0; i--)
-                {
-                    AmountAllocation wrk = m_AmountList[i];
-                    lTotal += (long)wrk.Amount;
-                    if (i > 1)
-                        dgvMain.Rows.Add(icnt++, wrk.Code, wrk.Name, string.Format("\\{0}-", wrk.Amount.ToString("#,0")));
-                }
-
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-            finally
-            {
-                // æœªå‰²å½“è¡¨ç¤º
-                lblTotalTitle1.Text = m_AmountList[0].Name;
-                lblCompTotal1.Text = string.Format("\\{0}-", m_AmountList[0].Amount.ToString("#,0"));
-
-                // è‡ªç¤¾çµŒè²»è¡¨ç¤º
-                lblTotalTitle2.Text = m_AmountList[1].Name;
-                lblCompTotal2.Text = string.Format("\\{0}-", m_AmountList[1].Amount.ToString("#,0"));
-
-                // å�ˆè¨ˆé‡‘é¡�è¡¨ç¤º
-                lblCompTotal.Text = string.Format("\\{0}-", lTotal.ToString("#,0"));
-
-                // è¡¨ç¤ºã‚¹ã‚¿ã‚¤ãƒ«å¤‰æ›´
-                SetDisplayStyle();
-            }
-        }
-        #endregion
-
-        //ãƒžã‚¦ã‚¹ã�®ã‚¯ãƒªãƒƒã‚¯ä½�ç½®ã‚’è¨˜æ†¶
-        private Point mousePoint;
-
-        #region ãƒžã‚¦ã‚¹ãƒ€ã‚¦ãƒ³
-        /// <summary>
-        /// ãƒžã‚¦ã‚¹ã�®ãƒœã‚¿ãƒ³ã�ŒæŠ¼ã�•ã‚Œã�Ÿã�¨ã��
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void FrmAmountAllocation_MouseDown(object sender, MouseEventArgs e)
-        {
-            if ((e.Button & MouseButtons.Left) == MouseButtons.Left)
-            {
-                //ä½�ç½®ã‚’è¨˜æ†¶ã�™ã‚‹
-                mousePoint = new Point(e.X, e.Y);
-            }
-        }
-        #endregion
-
-        #region ãƒžã‚¦ã‚¹ãƒ ãƒ¼ãƒ–
-        /// <summary>
-        /// ãƒžã‚¦ã‚¹ã�Œå‹•ã�„ã�Ÿã�¨ã��
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void FrmAmountAllocation_MouseMove(object sender, MouseEventArgs e)
-        {
-            if ((e.Button & MouseButtons.Left) == MouseButtons.Left)
-            {
-                this.Left += e.X - mousePoint.X;
-                this.Top += e.Y - mousePoint.Y;
-            }
-        }
-        #endregion
-    }
-}
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmAmountAllocation.Designer.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmAmountAllocation.Designer.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmAmountAllocation.Designer.cs	(nonexistent)
@@ -1,256 +0,0 @@
-ï»¿namespace ProcessManagement.Forms.SubForms
-{
-    partial class FrmAmountAllocation
-    {
-        /// <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.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();
-            this.btnEnd = new System.Windows.Forms.Button();
-            this.dgvMain = new CustomControls.DataGridViewEX();
-            this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.lblCompTotal = new System.Windows.Forms.Label();
-            this.lblCompTitle = new System.Windows.Forms.Label();
-            this.lblCompTotal2 = new System.Windows.Forms.Label();
-            this.lblTotalTitle2 = new System.Windows.Forms.Label();
-            this.lblCompTotal1 = new System.Windows.Forms.Label();
-            this.lblTotalTitle1 = new System.Windows.Forms.Label();
-            ((System.ComponentModel.ISupportInitialize)(this.dgvMain)).BeginInit();
-            this.SuspendLayout();
-            // 
-            // btnEnd
-            // 
-            this.btnEnd.BackColor = System.Drawing.Color.Blue;
-            this.btnEnd.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.btnEnd.ForeColor = System.Drawing.Color.White;
-            this.btnEnd.Location = new System.Drawing.Point(2, 190);
-            this.btnEnd.Name = "btnEnd";
-            this.btnEnd.Size = new System.Drawing.Size(120, 30);
-            this.btnEnd.TabIndex = 3;
-            this.btnEnd.Text = "çµ‚ã€€äº†";
-            this.btnEnd.UseVisualStyleBackColor = false;
-            this.btnEnd.Click += new System.EventHandler(this.btnEnd_Click);
-            // 
-            // dgvMain
-            // 
-            this.dgvMain.AllowUserToAddRows = false;
-            this.dgvMain.AllowUserToDeleteRows = false;
-            this.dgvMain.AllowUserToResizeColumns = false;
-            this.dgvMain.AllowUserToResizeRows = false;
-            this.dgvMain.BackgroundColor = System.Drawing.Color.White;
-            this.dgvMain.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
-            dataGridViewCellStyle1.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold);
-            dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
-            dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
-            dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
-            dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
-            this.dgvMain.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
-            this.dgvMain.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
-            this.dgvMain.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
-            this.Column1,
-            this.Column4,
-            this.Column2,
-            this.Column3});
-            this.dgvMain.EnableHeadersVisualStyles = false;
-            this.dgvMain.Location = new System.Drawing.Point(2, 5);
-            this.dgvMain.Name = "dgvMain";
-            this.dgvMain.RowHeadersVisible = false;
-            this.dgvMain.RowHeadersWidth = 20;
-            this.dgvMain.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
-            this.dgvMain.RowTemplate.Height = 21;
-            this.dgvMain.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
-            this.dgvMain.Size = new System.Drawing.Size(420, 130);
-            this.dgvMain.TabIndex = 0;
-            // 
-            // Column1
-            // 
-            dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle2.Format = "N0";
-            this.Column1.DefaultCellStyle = dataGridViewCellStyle2;
-            this.Column1.Frozen = true;
-            this.Column1.HeaderText = "â„–";
-            this.Column1.Name = "Column1";
-            this.Column1.ReadOnly = true;
-            this.Column1.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.Column1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.Column1.Width = 50;
-            // 
-            // Column4
-            // 
-            this.Column4.Frozen = true;
-            this.Column4.HeaderText = "ã‚³ãƒ¼ãƒ‰";
-            this.Column4.Name = "Column4";
-            this.Column4.ReadOnly = true;
-            this.Column4.Visible = false;
-            // 
-            // Column2
-            // 
-            dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            this.Column2.DefaultCellStyle = dataGridViewCellStyle3;
-            this.Column2.Frozen = true;
-            this.Column2.HeaderText = "ä¼šã€€ç¤¾ã€€å��ã€€ç§°";
-            this.Column2.Name = "Column2";
-            this.Column2.ReadOnly = true;
-            this.Column2.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.Column2.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.Column2.Width = 200;
-            // 
-            // Column3
-            // 
-            dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle4.Format = "C0";
-            dataGridViewCellStyle4.NullValue = null;
-            this.Column3.DefaultCellStyle = dataGridViewCellStyle4;
-            this.Column3.Frozen = true;
-            this.Column3.HeaderText = "å‰²ã€€æŒ¯ã€€é‡‘ã€€é¡�";
-            this.Column3.Name = "Column3";
-            this.Column3.ReadOnly = true;
-            this.Column3.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.Column3.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.Column3.Width = 150;
-            // 
-            // lblCompTotal
-            // 
-            this.lblCompTotal.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
-            this.lblCompTotal.BackColor = System.Drawing.Color.White;
-            this.lblCompTotal.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.lblCompTotal.Location = new System.Drawing.Point(252, 185);
-            this.lblCompTotal.Name = "lblCompTotal";
-            this.lblCompTotal.Size = new System.Drawing.Size(150, 25);
-            this.lblCompTotal.TabIndex = 49;
-            this.lblCompTotal.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
-            // 
-            // lblCompTitle
-            // 
-            this.lblCompTitle.BackColor = System.Drawing.Color.Goldenrod;
-            this.lblCompTitle.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.lblCompTitle.ForeColor = System.Drawing.Color.White;
-            this.lblCompTitle.Location = new System.Drawing.Point(162, 185);
-            this.lblCompTitle.Name = "lblCompTitle";
-            this.lblCompTitle.Size = new System.Drawing.Size(90, 25);
-            this.lblCompTitle.TabIndex = 50;
-            this.lblCompTitle.Text = "å�ˆè¨ˆé‡‘é¡�";
-            this.lblCompTitle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lblCompTotal2
-            // 
-            this.lblCompTotal2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
-            this.lblCompTotal2.BackColor = System.Drawing.Color.White;
-            this.lblCompTotal2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.lblCompTotal2.Location = new System.Drawing.Point(252, 160);
-            this.lblCompTotal2.Name = "lblCompTotal2";
-            this.lblCompTotal2.Size = new System.Drawing.Size(150, 25);
-            this.lblCompTotal2.TabIndex = 51;
-            this.lblCompTotal2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
-            // 
-            // lblTotalTitle2
-            // 
-            this.lblTotalTitle2.BackColor = System.Drawing.Color.White;
-            this.lblTotalTitle2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.lblTotalTitle2.ForeColor = System.Drawing.Color.Black;
-            this.lblTotalTitle2.Location = new System.Drawing.Point(2, 160);
-            this.lblTotalTitle2.Name = "lblTotalTitle2";
-            this.lblTotalTitle2.Size = new System.Drawing.Size(250, 25);
-            this.lblTotalTitle2.TabIndex = 52;
-            this.lblTotalTitle2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lblCompTotal1
-            // 
-            this.lblCompTotal1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
-            this.lblCompTotal1.BackColor = System.Drawing.Color.White;
-            this.lblCompTotal1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.lblCompTotal1.Location = new System.Drawing.Point(252, 135);
-            this.lblCompTotal1.Name = "lblCompTotal1";
-            this.lblCompTotal1.Size = new System.Drawing.Size(150, 25);
-            this.lblCompTotal1.TabIndex = 53;
-            this.lblCompTotal1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
-            // 
-            // lblTotalTitle1
-            // 
-            this.lblTotalTitle1.BackColor = System.Drawing.Color.White;
-            this.lblTotalTitle1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.lblTotalTitle1.ForeColor = System.Drawing.Color.Black;
-            this.lblTotalTitle1.Location = new System.Drawing.Point(2, 135);
-            this.lblTotalTitle1.Name = "lblTotalTitle1";
-            this.lblTotalTitle1.Size = new System.Drawing.Size(250, 25);
-            this.lblTotalTitle1.TabIndex = 54;
-            this.lblTotalTitle1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // FrmAmountAllocation
-            // 
-            this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
-            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
-            this.BackColor = System.Drawing.Color.Black;
-            this.ClientSize = new System.Drawing.Size(424, 224);
-            this.ControlBox = false;
-            this.Controls.Add(this.lblCompTotal1);
-            this.Controls.Add(this.lblTotalTitle1);
-            this.Controls.Add(this.lblCompTotal2);
-            this.Controls.Add(this.lblTotalTitle2);
-            this.Controls.Add(this.lblCompTotal);
-            this.Controls.Add(this.lblCompTitle);
-            this.Controls.Add(this.dgvMain);
-            this.Controls.Add(this.btnEnd);
-            this.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold);
-            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
-            this.KeyPreview = true;
-            this.MaximizeBox = false;
-            this.MinimizeBox = false;
-            this.Name = "FrmAmountAllocation";
-            this.ShowIcon = false;
-            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
-            this.Load += new System.EventHandler(this.FrmCostStructureDiag_Load);
-            this.MouseDown += new System.Windows.Forms.MouseEventHandler(this.FrmAmountAllocation_MouseDown);
-            this.MouseMove += new System.Windows.Forms.MouseEventHandler(this.FrmAmountAllocation_MouseMove);
-            ((System.ComponentModel.ISupportInitialize)(this.dgvMain)).EndInit();
-            this.ResumeLayout(false);
-
-        }
-
-        #endregion
-
-        private System.Windows.Forms.Button btnEnd;
-        private ProcessManagement.Forms.CustomControls.DataGridViewEX dgvMain;
-        private System.Windows.Forms.Label lblCompTotal;
-        private System.Windows.Forms.Label lblCompTitle;
-        private System.Windows.Forms.Label lblCompTotal2;
-        private System.Windows.Forms.Label lblTotalTitle2;
-        private System.Windows.Forms.Label lblCompTotal1;
-        private System.Windows.Forms.Label lblTotalTitle1;
-        private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
-        private System.Windows.Forms.DataGridViewTextBoxColumn Column4;
-        private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
-        private System.Windows.Forms.DataGridViewTextBoxColumn Column3;
-    }
-}
\ No newline at end of file
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmApprovalCommentList.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmApprovalCommentList.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmApprovalCommentList.cs	(revision 468)
@@ -312,10 +312,10 @@
                 {
                     case (int)ProductDefine.ProductTypeDef.Originals:
                         // ã‚ªãƒªã‚¸ãƒŠãƒ«
-                    case (int)ProductDefine.ProductTypeDef.MassProductionType2:
+                    case (int)ProductDefine.ProductTypeDef.ProductsModelType2:
                         // è£½å“�ç‰ˆï¼ˆæ‰¿èª�ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³ï¼‰
                         break;
-                    case (int)ProductDefine.ProductTypeDef.MassProductionType1:
+                    case (int)ProductDefine.ProductTypeDef.ProductsModelType1:
                         // è£½å“�ç‰ˆï¼ˆä¸€äººè¦ªæ–¹ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³ï¼‰
                         break;
                 }
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmApprovalStatusList.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmApprovalStatusList.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmApprovalStatusList.cs	(revision 468)
@@ -223,7 +223,7 @@
         {
             try
             {
-                if (ProductDefine.ProductType == (int)ProductDefine.ProductTypeDef.MassProductionType1) return;
+                if (ProductDefine.ProductType == (int)ProductDefine.ProductTypeDef.ProductsModelType1) return;
                 // å�‚ç…§æ™‚ã�¯å‡¦ç�†ã�—ã�ªã�„
                 //if (m_EditLock) return;
 
@@ -335,19 +335,22 @@
                                                         .Where(x => CommonMotions.cnvInt(x[(int)GetDataOrder.ApprovalCode]) == AppList.Key)
                                                         .ToArray();
 
+                    // æ‰¿èª�çŠ¶æ…‹åˆ�æœŸè¨­å®š
+                    string AppStatusString = string.Empty;
                     // æ‰¿èª�å��ç§°å�–å¾—
                     string ProcNameString = AppList.Value;
                     switch (ProductDefine.ProductType)
                     {
                         case (int)ProductDefine.ProductTypeDef.Originals:                       // ã‚ªãƒªã‚¸ãƒŠãƒ«
-                        case (int)ProductDefine.ProductTypeDef.MassProductionType2:             // è£½å“�ç‰ˆï¼ˆæ‰¿èª�ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³ï¼‰
+                        case (int)ProductDefine.ProductTypeDef.ProductsModelType2:             // è£½å“�ç‰ˆï¼ˆæ‰¿èª�ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³ï¼‰
+                            AppStatusString = CommonDefine.ApprovalStatusString[(int)CommonDefine.ApprovalStatus.Unclaimed];
                             break;
-                        case (int)ProductDefine.ProductTypeDef.MassProductionType1:             // è£½å“�ç‰ˆï¼ˆä¸€äººè¦ªæ–¹ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³ï¼‰
-                            ProcNameString = ProcNameString.Replace("ç”³è«‹/æ‰¿èª�", "ç¢ºèª�");
+                        case (int)ProductDefine.ProductTypeDef.ProductsModelType1:             // è£½å“�ç‰ˆï¼ˆä¸€äººè¦ªæ–¹ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³ï¼‰
+                            ProcNameString = ProcNameString.Replace("æ‰¿èª�", "ç¢ºèª�");
+                            AppStatusString = CommonDefine.ApprovalStatusString2[(int)CommonDefine.ApprovalStatus.Unclaimed];
                             break;
                     }
 
-                    string AppStatusString = CommonDefine.ApprovalStatusString[(int)CommonDefine.ApprovalStatus.Unclaimed];
                     // è¡Œä½œæˆ�
                     int RowIndex = dgvDispApproval.Rows.Add(1);
                     DataGridViewRow CurRow = dgv.Rows[RowIndex];
@@ -367,7 +370,16 @@
 
                     // æ‰¿èª�çŠ¶æ…‹å�–å¾—
                     int Stat = CommonMotions.cnvInt(CurRec[(int)GetDataOrder.ApprovalStatus]);
-                    AppStatusString = CommonDefine.ApprovalStatusString[Stat];
+                    switch (ProductDefine.ProductType)
+                    {
+                        case (int)ProductDefine.ProductTypeDef.Originals:                       // ã‚ªãƒªã‚¸ãƒŠãƒ«
+                        case (int)ProductDefine.ProductTypeDef.ProductsModelType2:             // è£½å“�ç‰ˆï¼ˆæ‰¿èª�ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³ï¼‰
+                            AppStatusString = CommonDefine.ApprovalStatusString[Stat];
+                            break;
+                        case (int)ProductDefine.ProductTypeDef.ProductsModelType1:             // è£½å“�ç‰ˆï¼ˆä¸€äººè¦ªæ–¹ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³ï¼‰
+                            AppStatusString = CommonDefine.ApprovalStatusString2[Stat];
+                            break;
+                    }
                     CurRow.Cells[(int)GridColumn.ApprovalStatus].Value = AppStatusString;
 
                     // æ‰¿èª�æ—¥ä»˜å�–å¾—
@@ -408,10 +420,10 @@
                 {
                     case (int)ProductDefine.ProductTypeDef.Originals:
                         // ã‚ªãƒªã‚¸ãƒŠãƒ«
-                    case (int)ProductDefine.ProductTypeDef.MassProductionType2:
+                    case (int)ProductDefine.ProductTypeDef.ProductsModelType2:
                         // è£½å“�ç‰ˆï¼ˆæ‰¿èª�ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³ï¼‰
                         break;
-                    case (int)ProductDefine.ProductTypeDef.MassProductionType1:
+                    case (int)ProductDefine.ProductTypeDef.ProductsModelType1:
                         // è£½å“�ç‰ˆï¼ˆä¸€äººè¦ªæ–¹ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³ï¼‰
                         dgvDispApproval.Columns[3].HeaderText = s_Product1StringArrary[1];
                         dgvDispApproval.Columns[4].HeaderText = s_Product1StringArrary[2];
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmCustomMsgBox.Designer.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmCustomMsgBox.Designer.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmCustomMsgBox.Designer.cs	(revision 468)
@@ -109,10 +109,10 @@
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
             this.BackColor = System.Drawing.Color.White;
             this.ClientSize = new System.Drawing.Size(564, 211);
+            this.Controls.Add(this.lblType1);
             this.Controls.Add(this.pnlType2);
             this.Controls.Add(this.btnCANCEL);
             this.Controls.Add(this.btnOK);
-            this.Controls.Add(this.lblType1);
             this.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
             this.MaximizeBox = false;
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmCustomMsgBox.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmCustomMsgBox.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmCustomMsgBox.cs	(revision 468)
@@ -214,7 +214,18 @@
             set { lblType2_2.Font = value; }
         }
         #endregion
+
+        #region Type2_2è¡¨ç¤º
+        /// <summary>
+        /// Type2_2è¡¨ç¤º
+        /// </summary>
+        public bool VisibleType2_2
+        {
+            get { return lblType2_2.Visible; }
+            set { lblType2_2.Visible = value; }
+        }
         #endregion
+        #endregion
 
         #region ã‚³ãƒ³ã‚¹ãƒˆãƒ©ã‚¯ã‚¿
         /// <summary>
@@ -233,8 +244,9 @@
         }
         #endregion
 
+        #region è‡ªãƒ•ã‚©ãƒ¼ãƒ è¡¨ç¤ºå‡¦ç�†
         /// <summary>
-        /// 
+        /// è‡ªãƒ•ã‚©ãƒ¼ãƒ è¡¨ç¤ºå‡¦ç�†
         /// </summary>
         /// <param name="s"></param>
         /// <returns></returns>
@@ -248,6 +260,7 @@
 
             return receiveValue;
         }
+        #endregion
 
         #region ï¼¯ï¼«ãƒœã‚¿ãƒ³ã‚¯ãƒªãƒƒã‚¯
         /// <summary>
@@ -274,5 +287,37 @@
             this.Close();
         }
         #endregion
+
+        #region ï¼¯ï¼«ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ãƒœãƒƒã‚¯ã‚¹è¡¨ç¤ºã‚¹ã‚¿ã‚¤ãƒ«ã‚»ãƒƒãƒˆ
+        /// <summary>
+        /// ï¼¯ï¼«ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ãƒœãƒƒã‚¯ã‚¹è¡¨ç¤ºã‚¹ã‚¿ã‚¤ãƒ«ã‚»ãƒƒãƒˆ
+        /// </summary>
+        public void SetOKMessageBoxStyle()
+        {
+            try
+            {
+                // Type2è¡¨ç¤ºæ–‡å­—è¡¨ç¤ºï¼�é�žè¡¨ç¤º
+                DisplayVisbleType2 = true;
+
+                // Type2_1è¡¨ç¤ºæ–‡å­—ãƒ•ã‚©ãƒ³ãƒˆ
+                DisplayTextFontType2_1 = new Font(DisplayTextFontType2_1.Name, 20, FontStyle.Bold);
+
+                // Type2_1è¡¨ç¤ºæ–‡å­—ãƒ•ã‚©ãƒ³ãƒˆ
+                DisplayTextFontType2_2 = new Font(DisplayTextFontType2_2.Name, 20f, FontStyle.Bold);
+
+                // OKãƒœã‚¿ãƒ³ã‚¹ã‚¿ã‚¤ãƒ«
+                btnOK.Width = 200;
+                btnOK.Height = 36;
+                Point po = new Point(182, 169);
+                btnOK.Location = po;
+                // CANCELãƒœã‚¿ãƒ³ã‚¹ã‚¿ã‚¤ãƒ«
+                btnCANCEL.Visible = false;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
     }
 }
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmSubconstractorDiag.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmSubconstractorDiag.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmSubconstractorDiag.cs	(revision 468)
@@ -1265,11 +1265,15 @@
         /// <returns></returns>
         private string CreateSQL()
         {
-            StringBuilder strSQL = new StringBuilder();
-            strSQL.AppendFormat(" Where DeleteFlg = {0}", (int)CommonDefine.DataDeleteDef.Exists);
-            //strSQL.Append(" And RequestImputId != Password");
             try
             {
+                StringBuilder strSQL = new StringBuilder();
+                strSQL.AppendFormat(" Where DeleteFlg = {0}", (int)CommonDefine.DataDeleteDef.Exists);
+
+                // ã‚ªãƒªã‚¸ãƒŠãƒ«ã�¯Webã‚µãƒ¼ãƒ“ã‚¹ç™»éŒ²æ¸ˆã�¿æ¥­è€…ã�®ã�¿å¯¾è±¡ã�¨ã�™ã‚‹
+                //if (ProductDefine.ProductType == (int)ProductDefine.ProductTypeDef.Originals)
+                //    strSQL.Append(" And RequestImputId != Password");
+
                 string[] strArray = new string[3];
 
                 // å·¥ç¨®æ¤œç´¢æ�¡ä»¶å�–å¾—
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/ZMenu/FrmLogin.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/ZMenu/FrmLogin.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/ZMenu/FrmLogin.cs	(revision 468)
@@ -290,8 +290,8 @@
 
                 switch (ProductDefine.ProductType)
                 {
-                    case (int)ProductDefine.ProductTypeDef.MassProductionType1:
-                    case (int)ProductDefine.ProductTypeDef.MassProductionType2:
+                    case (int)ProductDefine.ProductTypeDef.ProductsModelType1:
+                    case (int)ProductDefine.ProductTypeDef.ProductsModelType2:
                         groupBoxEx2.Visible = true;
                         if (CommonMotions.SystemMasterData.SloganString1.Length < 1
                             && CommonMotions.SystemMasterData.SloganString2.Length < 1
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/ZMenu/FrmMenu.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/ZMenu/FrmMenu.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/ZMenu/FrmMenu.cs	(revision 468)
@@ -930,7 +930,7 @@
 
                 // ---- åˆ�å›žèµ·å‹•ãƒ�ã‚§ãƒƒã‚¯(æ¯Žæ—¥æœ€åˆ�ã�«èµ·å‹•ã�™ã‚‹äººã�Œãƒ‡ãƒ¼ã‚¿ãƒ�ã‚§ãƒƒã‚¯ã�™ã‚‹)
                 // 2017/5/28ã€€ã‚ªãƒªã‚¸ãƒŠãƒ«ã�¯ã‚µãƒ¼ãƒ�ãƒ¼ã�§ã�®ãƒ�ã‚§ãƒƒã‚¯ãƒ—ãƒ­ã‚°ãƒ©ãƒ å®Ÿè£…ã�®ã�Ÿã‚�ãƒ�ã‚§ãƒƒã‚¯ãƒ—ãƒ­ã‚»ã‚¹åˆ†é›¢
-                if (ProductDefine.ProductType == (int)ProductDefine.ProductTypeDef.MassProductionType1)
+                if (ProductDefine.ProductType == (int)ProductDefine.ProductTypeDef.ProductsModelType1)
                 {
                     m_CheckProc.FirstExecute();
                 }
@@ -989,7 +989,7 @@
                     // å�”åŠ›æ¥­è€…è«‹æ±‚ç· æ—¥å…¥åŠ›ç¢ºèª�
                     CheckSubContractorClosingDate();
                     break;
-                case (int)ProductDefine.ProductTypeDef.MassProductionType2:
+                case (int)ProductDefine.ProductTypeDef.ProductsModelType2:
                     // æœªæ‰¿èª�ãƒ‡ãƒ¼ã‚¿ç¢ºèª�
                     CheckApprovalData();
                     break;
Index: trunk/src/ProcessManagement/ProcessManagement/Forms/ZMenu/FrmMenuAuxiliary.cs
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/Forms/ZMenu/FrmMenuAuxiliary.cs	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/Forms/ZMenu/FrmMenuAuxiliary.cs	(revision 468)
@@ -578,8 +578,8 @@
                             strTab = "äººå“¡é…�ç½®";
                             strTitle = "äººã€€ã€€å“¡ã€€ã€€é…�ã€€ã€€ç½®ã€€ã€€ä¸€ã€€ã€€è¦§";
                             break;
-                        case (int)ProductDefine.ProductTypeDef.MassProductionType1:
-                        case (int)ProductDefine.ProductTypeDef.MassProductionType2:
+                        case (int)ProductDefine.ProductTypeDef.ProductsModelType1:
+                        case (int)ProductDefine.ProductTypeDef.ProductsModelType2:
                             strTab = "å·¥äº‹ä¸€è¦§";
                             strTitle = "å·¥ã€€ã€€äº‹ã€€ã€€äºˆã€€ã€€å®šã€€ã€€ä¸€ã€€ã€€è¦§";
                             break;
@@ -638,10 +638,10 @@
                         // ã‚ªãƒªã‚¸ãƒŠãƒ«
                         LoopBtnDef = MentMenuButtonOrg;
                         break;
-                    case (int)ProductDefine.ProductTypeDef.MassProductionType1:
+                    case (int)ProductDefine.ProductTypeDef.ProductsModelType1:
                         LoopBtnDef = MentMenuButtonPro1;
                         break;
-                    case (int)ProductDefine.ProductTypeDef.MassProductionType2:
+                    case (int)ProductDefine.ProductTypeDef.ProductsModelType2:
                         LoopBtnDef = MentMenuButtonPro2;
                         break;
                 }
@@ -720,10 +720,10 @@
                             btnOrder0301.Visible = true;
                         }
                         break;
-                    case (int)ProductDefine.ProductTypeDef.MassProductionType1:
+                    case (int)ProductDefine.ProductTypeDef.ProductsModelType1:
                         // ----- è£½å“�ç‰ˆï¼ˆä¸€äººè¦ªæ–¹ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³ï¼‰
                         break;
-                    case (int)ProductDefine.ProductTypeDef.MassProductionType2:
+                    case (int)ProductDefine.ProductTypeDef.ProductsModelType2:
                         // ----- è£½å“�ç‰ˆï¼ˆæ‰¿èª�ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³ï¼‰
                         break;
                 }
@@ -1921,7 +1921,7 @@
                         m_tabManager.PageArray[(int)MenuTabAssign.MassProductionMenu2].Visible = false;
                         break;
 
-                    case (int)ProductDefine.ProductTypeDef.MassProductionType1:
+                    case (int)ProductDefine.ProductTypeDef.ProductsModelType1:
                         // ----- è£½å“�ç‰ˆï¼šä¸€äººè¦ªæ–¹ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³
                         // tabPage3:å·¥äº‹æ‰¿èª�ä¸€è¦§
                         m_tabManager.PageArray[(int)MenuTabAssign.ConstructApproval].Visible = false;
@@ -1947,7 +1947,7 @@
                         m_tabManager.PageArray[(int)MenuTabAssign.DocumentsToBeBubmitted].Visible = false;
                         break;
 
-                    case (int)ProductDefine.ProductTypeDef.MassProductionType2:
+                    case (int)ProductDefine.ProductTypeDef.ProductsModelType2:
                         // ----- è£½å“�ç‰ˆï¼šæ‰¿èª�ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³
                         // tabPage4:æ‹…å½“è€…æ‰¿èª�ä¸€è¦§
                         m_tabManager.PageArray[(int)MenuTabAssign.PersonApproval].Visible = false;
@@ -2089,7 +2089,7 @@
             try
             {
                 // è£½å“�ç‰ˆï¼ˆä¸€äººè¦ªæ–¹ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³ï¼‰ã�¯è¡¨ç¤ºã�—ã�ªã�„
-                if (ProductDefine.ProductType == (int)ProductDefine.ProductTypeDef.MassProductionType1)
+                if (ProductDefine.ProductType == (int)ProductDefine.ProductTypeDef.ProductsModelType1)
                 {
                     cmbMessaeSelect.Visible = false;
                     chkBoxDspLogin.Visible = false;
@@ -6513,10 +6513,10 @@
                                 else
                                     lArrayRet[0] = work2;
                                 break;
-                            case (int)ProductDefine.ProductTypeDef.MassProductionType2:
+                            case (int)ProductDefine.ProductTypeDef.ProductsModelType2:
                                 lArrayRet[0] = work2;
                                 break;
-                            case (int)ProductDefine.ProductTypeDef.MassProductionType1:
+                            case (int)ProductDefine.ProductTypeDef.ProductsModelType1:
                                 lArrayRet[0] = work3;
                                 break;
                         }
@@ -6531,10 +6531,10 @@
                                 else
                                     lArrayRet[1] = work3;
                                 break;
-                            case (int)ProductDefine.ProductTypeDef.MassProductionType2:
+                            case (int)ProductDefine.ProductTypeDef.ProductsModelType2:
                                 lArrayRet[1] = work3;
                                 break;
-                            case (int)ProductDefine.ProductTypeDef.MassProductionType1:
+                            case (int)ProductDefine.ProductTypeDef.ProductsModelType1:
                                 lArrayRet[1] = work3;
                                 break;
                         }
Index: trunk/src/ProcessManagement/ProcessManagement/ProcessManagement.csproj
===================================================================
--- trunk/src/ProcessManagement/ProcessManagement/ProcessManagement.csproj	(revision 467)
+++ trunk/src/ProcessManagement/ProcessManagement/ProcessManagement.csproj	(revision 468)
@@ -1039,6 +1039,9 @@
     <Compile Include="Forms\Master\QualificationDivi\FrmQualificationDivi.designer.cs">
       <DependentUpon>FrmQualificationDivi.cs</DependentUpon>
     </Compile>
+    <Compile Include="Forms\Master\Security\FrmSecurityDefine.cs">
+      <SubType>Form</SubType>
+    </Compile>
     <Compile Include="Forms\Master\Security\FrmSecurityAuxiliary.cs">
       <SubType>Form</SubType>
     </Compile>
