Index: branches/src/ProcessManagement/ProcessManagement/Common/CommonVersion.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Common/CommonVersion.cs	(revision 316)
+++ branches/src/ProcessManagement/ProcessManagement/Common/CommonVersion.cs	(revision 317)
@@ -14,7 +14,7 @@
         /// <summary>
         /// æœ¬ä½“ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³
         /// </summary>
-        public static int s_SystemVersion = 137;
+        public static int s_SystemVersion = 139;
 
         /// <summary>
         /// ã‚³ãƒ”ãƒ¼ãƒ»ç’°å¢ƒãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³
Index: branches/src/ProcessManagement/ProcessManagement/Common/Process/ClsChangeLedgerData.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Common/Process/ClsChangeLedgerData.cs	(revision 316)
+++ branches/src/ProcessManagement/ProcessManagement/Common/Process/ClsChangeLedgerData.cs	(revision 317)
@@ -46,10 +46,6 @@
         #endregion
 
         #region å¤‰æ•°
-        /// <summary>
-        /// å·¥äº‹æ–½å·¥å�°å¸³æ”¯æ‰•ã�„å®Ÿç¸¾å…ˆé ­ã‚«ãƒ©ãƒ æ•°
-        /// </summary>
-        private static int m_LedgerColumnCount = 0;
         #endregion
 
         #region å¯¾è±¡æœˆã�®å·¥äº‹è©³ç´°å�°å¸³å®Ÿè¡Œãƒ‡ãƒ¼ã‚¿ã‚’ä½œæˆ�ã�™ã‚‹ï¼ˆäº¤é€šè²»ãƒ»è³¼å…¥å“�ç­‰ã�®ã�¿ï¼‰
@@ -516,15 +512,16 @@
         /// <summary>
         /// å·¥äº‹è©³ç´°å�°å¸³ã‚ˆã‚Šæ”¯æ‰•é‡‘é¡�ã‚°ãƒªãƒƒãƒ‰ã�®å…ˆé ­ã‚«ãƒ©ãƒ æ•°ã‚’å�–å¾—ã�™ã‚‹
         /// </summary>
-        private static void GetLedgerColumnCount()
+        public static int GetLedgerColumnCount()
         {
             try
             {
-                m_LedgerColumnCount = Enum.GetNames(typeof(FrmConstructionLedger.GridColumn)).Length - 1;
+                return (Enum.GetNames(typeof(FrmConstructionLedger.GridColumn)).Length - 1);
             }
             catch (System.Exception ex)
             {
                 logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+                return 0;
             }
         }
         #endregion
@@ -914,7 +911,7 @@
         /// <returns></returns>
         public static int CalcTargetMonthToColumn(DateTime StartDate, DateTime TargetMonth)
         {
-            int Columncnt = Enum.GetNames(typeof(FrmConstructionLedger.GridColumn)).Length;
+            int Columncnt = GetLedgerColumnCount();
             try
             {
                 // å‡¦ç�†å¯¾è±¡å¹´æœˆæ—¥ã‚’å¯¾è±¡æœˆæœˆåˆ�æ—¥ã�«å¤‰æ�›ã�™ã‚‹
@@ -1274,9 +1271,9 @@
             try
             {
                 // å·¥äº‹ç•ªå�·ã�Œ0ã�®å ´å�ˆã�¯å‡¦ç�†ã�—ã�ªã�„
-                if (ExcuteRec.ConstructionCode == 0) return false;
+                if (ExcuteRec.ConstructionCode == 0) return true;
                 // ã‚°ãƒ«ãƒ¼ãƒ—ç•ªå�·ã�Œ0ã�®å ´å�ˆã�¯å‡¦ç�†ã�—ã�ªã�„
-                if (ExcuteRec.GroupCount == 0) return false;
+                if (ExcuteRec.GroupCount == 0) return true;
 
                 // SQLä½œæˆ�
                 StringBuilder strSQL = new StringBuilder();
@@ -1425,6 +1422,18 @@
 
                 ExcuteRec.LineCount = CommonMotions.cnvInt(objRec[2]);
                 DetailRec.LineCount = ExcuteRec.LineCount;
+
+                // ----- æ˜Žç´°æ–‡å­—ã‚’ã‚»ãƒƒãƒˆã�™ã‚‹
+                if (!DetailDB.UpdateFeild(DetailRec.ConstructionCode,
+                                            (int)IOConstructionLedgerDetail.TableColumn.SecondString,
+                                            DetailRec.SecondString,
+                                            DetailRec.GroupCount,
+                                            DetailRec.LineCount,
+                                            false))
+                {
+                    return false;
+                }
+
                 if (CommonMotions.cnvInt(objRec[3]) == 0)
                 {
                     // å®Ÿè¡Œãƒ‡ãƒ¼ã‚¿ã�Œå­˜åœ¨ã�—ã�ªã�„å ´å�ˆ
@@ -1447,17 +1456,6 @@
                     return false;
                 }
 
-                // ----- æ˜Žç´°æ–‡å­—ã‚’ã‚»ãƒƒãƒˆã�™ã‚‹
-                if(!DetailDB.UpdateFeild(DetailRec.ConstructionCode,
-                                            (int)IOConstructionLedgerDetail.TableColumn.SecondString,
-                                            DetailRec.SecondString,
-                                            DetailRec.GroupCount,
-                                            DetailRec.LineCount,
-                                            false))
-                {
-                    return false;
-                }
-
                 List<int> ConstrCodeList = new List<int>();
                 // æ›´æ–°å¯¾è±¡ãƒªã‚¹ãƒˆã�¸è¿½åŠ 
                 ConstrCodeList.Add(ExcuteRec.ConstructionCode);
Index: branches/src/ProcessManagement/ProcessManagement/Common/Process/ClsExcute.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Common/Process/ClsExcute.cs	(revision 316)
+++ branches/src/ProcessManagement/ProcessManagement/Common/Process/ClsExcute.cs	(revision 317)
@@ -1433,6 +1433,7 @@
 
                 // ãƒ‘ãƒ©ãƒ¡ãƒ¼ã‚¿ã‚»ãƒƒãƒˆ
                 frm.ConstructionCode = CurrentPara.IntExecParameter[0];
+                if (CurrentPara.BoolExecParameter.Count > 0) frm.ReqSumDspFlag = CurrentPara.BoolExecParameter[0];
 
                 // ãƒ•ã‚©ãƒ¼ãƒ è¡¨ç¤º
                 frm.ShowDialog();
Index: branches/src/ProcessManagement/ProcessManagement/DataModel/PaymentDataDetail.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/DataModel/PaymentDataDetail.cs	(revision 316)
+++ branches/src/ProcessManagement/ProcessManagement/DataModel/PaymentDataDetail.cs	(revision 317)
@@ -23,24 +23,24 @@
         #endregion
 
         #region ãƒ¡ãƒ³ãƒ�å¤‰æ•°
-        private int         m_CompanyCode = 0;              // å�”åŠ›ä¼šç¤¾ã‚³ãƒ¼ãƒ‰
-        private int         m_TargetDate = 0;               // å¯¾è±¡å¹´æœˆ     
-        private int         m_SeqNo = 0;                    // é€£ç•ª
-        private int         m_LineCount = 0;                // è¡Œç•ªå�·    
-        private long        m_BillPrice = 0;                // è«‹æ±‚é‡‘é¡�    
-        private long        m_DiscountPrice = 0;            // å€¤å¼•ã��é‡‘é¡�    
-        private long        m_OffsetPrice = 0;              // ç›¸æ®ºé‡‘é¡�    
-        private long        m_NextCoPrice = 0;              // æ¬¡å›žç¹°è¶Š    
-        private long        m_HighwPrice = 0;               // é«˜é€Ÿä»£     
-        private long        m_HardwPrice = 0;               // é‡‘ç‰©ä»£     
-        private long        m_IndsWasteTax = 0;             // ç”£å»ƒç¨Ž       
-        private long        m_CnstrPrice = 0;               // å�”åŠ›é‡‘
-        private int         m_CnstrPriceExist = -1;         // å�”åŠ›é‡‘æœ‰ç„¡
-        private int         m_ApprovalPersonCode = 0;       // æ‰¿èª�æ‹…å½“è€…ã‚³ãƒ¼ãƒ‰
-        private DateTime    m_ApprovalDate = DateTime.Now;  // æ‹…å½“è€…æ‰¿èª�æ—¥ä»˜
-        private int         m_ApprovalEndFlg = 0;           // æ‰¿èª�å®Œäº†ãƒ•ãƒ©ã‚°
-        private DateTime    m_EntryDate = DateTime.Now;     // ç™»éŒ²æ—¥ä»˜
-        private DateTime    m_UpdateDate = DateTime.Now;    // æ›´æ–°æ—¥ä»˜
+        private int         m_CompanyCode = 0;                      // å�”åŠ›ä¼šç¤¾ã‚³ãƒ¼ãƒ‰
+        private int         m_TargetDate = 0;                       // å¯¾è±¡å¹´æœˆ     
+        private int         m_SeqNo = 0;                            // é€£ç•ª
+        private int         m_LineCount = 0;                        // è¡Œç•ªå�·    
+        private long        m_BillPrice = 0;                        // è«‹æ±‚é‡‘é¡�    
+        private long        m_DiscountPrice = 0;                    // å€¤å¼•ã��é‡‘é¡�    
+        private long        m_OffsetPrice = 0;                      // ç›¸æ®ºé‡‘é¡�    
+        private long        m_NextCoPrice = 0;                      // æ¬¡å›žç¹°è¶Š    
+        private long        m_HighwPrice = 0;                       // é«˜é€Ÿä»£     
+        private long        m_HardwPrice = 0;                       // é‡‘ç‰©ä»£     
+        private long        m_IndsWasteTax = 0;                     // ç”£å»ƒç¨Ž       
+        private long        m_CnstrPrice = 0;                       // å�”åŠ›é‡‘
+        private int         m_CnstrPriceExist = -1;                 // å�”åŠ›é‡‘æœ‰ç„¡
+        private int         m_ApprovalPersonCode = 0;               // æ‰¿èª�æ‹…å½“è€…ã‚³ãƒ¼ãƒ‰
+        private DateTime    m_ApprovalDate = DateTime.MinValue;     // æ‹…å½“è€…æ‰¿èª�æ—¥ä»˜
+        private int         m_ApprovalEndFlg = 0;                   // æ‰¿èª�å®Œäº†ãƒ•ãƒ©ã‚°
+        private DateTime    m_EntryDate = DateTime.Now;             // ç™»éŒ²æ—¥ä»˜
+        private DateTime    m_UpdateDate = DateTime.Now;            // æ›´æ–°æ—¥ä»˜
 
         #endregion
 
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalPerson/FrmAppManAux.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalPerson/FrmAppManAux.cs	(revision 316)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalPerson/FrmAppManAux.cs	(revision 317)
@@ -669,12 +669,6 @@
                                 bSuccess = false;
                                 break;
                             }
-                            // æ”¯æ‰•æ˜Žç´°ãƒ‡ãƒ¼ã‚¿æ›´æ–°
-                            if (!PaymentDataDetailUpdate(PayDetailDB, PaIWork, nAppStat))
-                            {
-                                bSuccess = false;
-                                break;
-                            }
                             break;
                         case (int)AppStatusDef.NoApproval:
                             // 3:ä¸�æ‰¿èª�ãƒ»ä¿�ç•™ãƒ»å�–æ¶ˆ
@@ -794,8 +788,7 @@
                 {
                     case (int)AppStatusDef.Pettion:
                         // ç”³è«‹æ™‚
-                        strActionSQL.AppendFormat(" APPROVALPERSONCODE = {0}", CommonMotions.LoginUserData.PersonCode);
-                        strActionSQL.AppendFormat(", APPROVALDATE = STR_TO_DATE('{0}','%Y/%m/%d')", DateTime.Now.ToShortDateString());
+                        strActionSQL.AppendFormat(" APPROVALDATE = STR_TO_DATE('{0}','%Y/%m/%d')", DateTime.Now.ToShortDateString());
                         break;
                     case (int)AppStatusDef.Approval:
                         // æ‰¿èª�æ™‚
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalPerson/FrmApprovalPerson.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalPerson/FrmApprovalPerson.cs	(revision 316)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalPerson/FrmApprovalPerson.cs	(revision 317)
@@ -427,6 +427,17 @@
         /// <param name="e"></param>
         private void btnEnd_Click(object sender, EventArgs e)
         {
+            // �I—¹Žž�\�¿ƒ`ƒFƒbƒN
+            if (txtHoppesDate.Enabled)
+            {
+
+                DialogResult dtRet = MessageBox.Show("�\�¿‚³‚ê‚Ä‚¢‚Ü‚¹‚ñ‚ª�A�I—¹‚µ‚Ü‚·‚©�H"
+                                                        , "�I—¹Šm”F"
+                                                        , MessageBoxButtons.OKCancel
+                                                        , MessageBoxIcon.Question);
+                if (dtRet == DialogResult.Cancel) return;
+            }
+
             m_bEndFlg = true;
             this.Close();
         }
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalPerson/FrmApprovalPersonAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalPerson/FrmApprovalPersonAuxiliary.cs	(revision 316)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalPerson/FrmApprovalPersonAuxiliary.cs	(revision 317)
@@ -1405,9 +1405,6 @@
                 // ãƒ‡ãƒ¼ã‚¿ç™»éŒ²
                 if (!EntryComment()) return;
 
-                // ãƒ‡ãƒ¼ã‚¿å¤‰æ›´ãƒ•ãƒ©ã‚°ON
-                m_bChengeAns = true;
-
                 // å®Œäº†ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸
                 CommonMotions.EntryEndMessage("ã‚³ãƒ¡ãƒ³ãƒˆãƒ‡ãƒ¼ã‚¿");
             }
@@ -1485,9 +1482,6 @@
                 // ãƒ‡ãƒ¼ã‚¿ç™»éŒ²
                 if (!EntryComment()) return;
 
-                // ãƒ‡ãƒ¼ã‚¿å¤‰æ›´ãƒ•ãƒ©ã‚°ON
-                m_bChengeAns = true;
-
                 // å®Œäº†ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸
                 CommonMotions.EntryEndMessage("ã‚³ãƒ¡ãƒ³ãƒˆãƒ‡ãƒ¼ã‚¿");
             }
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalScreen/FrmApprovalScreen.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalScreen/FrmApprovalScreen.cs	(revision 316)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalScreen/FrmApprovalScreen.cs	(revision 317)
@@ -411,6 +411,17 @@
         /// <param name="e"></param>
         private void btnEnd_Click(object sender, EventArgs e)
         {
+            // �I—¹Žž�\�¿ƒ`ƒFƒbƒN
+            if (txtHoppesDate.Enabled)
+            {
+
+                DialogResult dtRet = MessageBox.Show("�\�¿‚³‚ê‚Ä‚¢‚Ü‚¹‚ñ‚ª�A�I—¹‚µ‚Ü‚·‚©�H"
+                                                        , "�I—¹Šm”F"
+                                                        , MessageBoxButtons.OKCancel
+                                                        , MessageBoxIcon.Question);
+                if (dtRet == DialogResult.Cancel) return;
+            }
+
             m_bEndFlg = true;
             this.Close();
         }
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalScreen/FrmApprovalScreenAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalScreen/FrmApprovalScreenAuxiliary.cs	(revision 316)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalScreen/FrmApprovalScreenAuxiliary.cs	(revision 317)
@@ -1471,9 +1471,6 @@
                 }
                 // ãƒ‡ãƒ¼ã‚¿ç™»éŒ²
                 if (!EntryComment(m_ApprovalCode)) return;
-
-                // å¤‰æ›´ãƒ•ãƒ©ã‚°ON
-                m_bChengeAns = true;
                     
                 // å®Œäº†ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸
                 CommonMotions.EntryEndMessage("ã‚³ãƒ¡ãƒ³ãƒˆãƒ‡ãƒ¼ã‚¿");
@@ -1552,9 +1549,6 @@
                 // ãƒ‡ãƒ¼ã‚¿ç™»éŒ²
                 if (!EntryComment(m_ApprovalCode)) return;
 
-                // å¤‰æ›´ãƒ•ãƒ©ã‚°ON
-                m_bChengeAns = true;
-
                 // å®Œäº†ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸
                 CommonMotions.EntryEndMessage("ã‚³ãƒ¡ãƒ³ãƒˆãƒ‡ãƒ¼ã‚¿");
             }
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedger.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedger.cs	(revision 316)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedger.cs	(revision 317)
@@ -647,29 +647,42 @@
         private bool m_RollBackJoinLedger = false;
 
         // *-----* �¿‹�‚Ü‚Æ‚ß�ˆ—�˜AŒg *-----*
+        
         /// <summary>
-        /// �¿‹��ˆ—�˜AŒg—p�eƒnƒ“ƒhƒ‹
+        /// �¿‹�‚Ü‚Æ‚ß‘I‘ðŽg—pŽžƒtƒ‰ƒO
         /// </summary>
-        private FrmRequestSummaryList m_FrmRequestSummaryList = null;
-
+        private bool m_ReqSumSelFlag = false;
         /// <summary>
-        /// �¿‹��ˆ—�˜AŒg‹àŠz
+        /// �¿‹�‚Ü‚Æ‚ß•\Ž¦Žžƒtƒ‰ƒO
         /// </summary>
-        private int m_AddingRequestPrice = 0;
+        private bool m_ReqSumDspFlag = false;
         /// <summary>
-        /// �¿‹�‚Ü‚Æ‚ß‘I‘ðŽg—pŽžƒtƒ‰ƒO
+        /// �¿‹�‚Ü‚Æ‚ß‘Î�ÛŒŽ
         /// </summary>
-        private bool m_ReqSumFlag = false;
+        private int m_ReqSumTargetMonth = 0;
+        /// <summary>
+        /// �¿‹�‚Ü‚Æ‚ß‘Î�Û‹ÆŽÒƒR�[ƒh
+        /// </summary>
+        private int m_ReqSumCompany = 0;
 
         /// <summary>
-        /// �¿‹�‚Ü‚Æ‚ß‘Î�ÛŒŽ
+        /// –¾�×”Ô�†
         /// </summary>
-        private int m_ReqSumTargetMonth = 0;
+        private int m_TargetDetailNo = -1;
+        /// <summary>
+        /// �‘�ž‚ÝƒJƒ‰ƒ€ˆÊ’u
+        /// </summary>
+        private int m_TargetColumn = 0;
+        /// <summary>
+        /// �¿‹��ˆ—�˜AŒg‹àŠz
+        /// </summary>
+        private int m_AddingRequestPrice = 0;
 
         /// <summary>
-        /// �¿‹�‚Ü‚Æ‚ß‘Î�Û‹ÆŽÒƒR�[ƒh
+        /// ‘Î�Û‹ÆŽÒƒŠƒXƒg
         /// </summary>
-        private int m_ReqSumCompany = 0;
+        private List<BillingDataDetail> m_BillDetailList = new List<BillingDataDetail>();
+
         // *-----* �¿‹�‚Ü‚Æ‚ß�ˆ—�˜AŒg *-----*
         
         #endregion
@@ -818,30 +831,22 @@
         }
 
         // *-----* �¿‹�‚Ü‚Æ‚ß�ˆ—�˜AŒg *-----*
-        /// <summary>
-        /// �¿‹��ˆ—�˜AŒg—p�eƒnƒ“ƒhƒ‹
-        /// </summary>
-        public FrmRequestSummaryList FrmRequestSummaryList
-        {
-            set { m_FrmRequestSummaryList = value; }
-        }
 
         /// <summary>
-        /// �¿‹��ˆ—�˜AŒg‹àŠz
+        /// �¿‹�‚Ü‚Æ‚ß‘I‘ðŽg—pŽžƒtƒ‰ƒO
         /// </summary>
-        public int AddingRequestPrice
+        public bool ReqSumSelFlag
         {
-            get { return m_AddingRequestPrice; }
-            set { m_AddingRequestPrice = value; }
+            get { return m_ReqSumSelFlag; }
+            set { m_ReqSumSelFlag = value; }
         }
-
         /// <summary>
-        /// �¿‹�‚Ü‚Æ‚ß‘I‘ðŽg—pŽžƒtƒ‰ƒO
+        /// �¿‹�‚Ü‚Æ‚ß•\Ž¦Žžƒtƒ‰ƒO
         /// </summary>
-        public bool ReqestSummaryFlag
+        public bool ReqSumDspFlag
         {
-            get { return m_ReqSumFlag; }
-            set { m_ReqSumFlag = value; }
+            get { return m_ReqSumDspFlag; }
+            set { m_ReqSumDspFlag = value; }
         }
         /// <summary>
         /// �¿‹�‚Ü‚Æ‚ß‘Î�ÛŒŽ
@@ -860,6 +865,38 @@
             set { m_ReqSumCompany = value; }
         }
 
+        /// <summary>
+        /// –¾�×”Ô�†
+        /// </summary>
+        public int TargetDetailNo
+        {
+            get { return m_TargetDetailNo; }
+            set { m_TargetDetailNo = value; }
+        }
+        /// <summary>
+        /// �‘�ž‚ÝƒJƒ‰ƒ€ˆÊ’u
+        /// </summary>
+        public int TargetColumn
+        {
+            get { return m_TargetColumn; }
+            set { m_TargetColumn = value; }
+        }
+        /// <summary>
+        /// �¿‹��ˆ—�˜AŒg‹àŠz
+        /// </summary>
+        public int AddingRequestPrice
+        {
+            get { return m_AddingRequestPrice; }
+            set { m_AddingRequestPrice = value; }
+        }
+        /// <summary>
+        /// ‘Î�Û‹ÆŽÒƒŠƒXƒg
+        /// </summary>
+        public List<BillingDataDetail> BillDetailList
+        {
+            get { return m_BillDetailList; }
+            set { m_BillDetailList = value; }
+        }
         // *-----* �¿‹�‚Ü‚Æ‚ß�Ý’è *-----*
 
         #endregion
@@ -932,12 +969,6 @@
         {
             if (!m_SubForm) m_CloseingProcessOn = true;
 
-            // �¿‹�˜AŒg�ˆ—��I—¹
-            if (m_FrmRequestSummaryList != null)
-            {
-                m_FrmRequestSummaryList.EndLinkProc();
-            }
-
             m_EndButton = DialogResult.Cancel;
 
             this.Close();
@@ -1018,7 +1049,7 @@
                 m_bChengeAns = false;
 
                 // �¿‹�‚Ü‚Æ‚ß‚©‚ç‚ÌŒÄ‚Ñ�o‚µ
-                if (m_ReqSumFlag)
+                if (m_ReqSumSelFlag)
                 {
                     InitReqSum();
                 }
@@ -1245,9 +1276,10 @@
             if (CommonMotions.cnvInt(dgv.CurrentRow.Cells[(int)GridColumn.TitleFlg].Value) == 1) return;
 
             // �¿‹��ˆ—�˜AŒg
-            if (m_ReqSumFlag)
+            if (m_ReqSumSelFlag)
             {
-                BillingLinkOutPut();
+                EventArgs wkE = new EventArgs();
+                btnSelect_Click(sender, wkE);
                 return;
             }
 
@@ -1404,12 +1436,6 @@
 
             CommonMotions.EntryEndMessage("�HŽ–�Ú�×‘ä’ ƒf�[ƒ^");
 
-            // �¿‹�˜AŒg�ˆ—��I—¹
-            if (m_FrmRequestSummaryList != null)
-            {
-                m_FrmRequestSummaryList.EndLinkProc();
-            }
-
             m_EndButton = DialogResult.OK;
 
             // �I—¹
@@ -1436,12 +1462,6 @@
 
             CommonMotions.RemoveEndMessage("�HŽ–�Ú�×‘ä’ ƒf�[ƒ^");
 
-            // �¿‹�˜AŒg�ˆ—��I—¹
-            if (m_FrmRequestSummaryList != null)
-            {
-                m_FrmRequestSummaryList.EndLinkProc();
-            }
-
             // �I—¹
             this.Close();
         }
@@ -1475,6 +1495,34 @@
         }
         #endregion
 
+        #region Žx•¥‹ÆŽÒ�V‹K’Ç‰Áƒ{ƒ^ƒ“‰Ÿ‰º
+        /// <summary>
+        /// Žx•¥‹ÆŽÒ�V‹K’Ç‰Áƒ{ƒ^ƒ“‰Ÿ‰º
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void btnCreate_Click(object sender, EventArgs e)
+        {
+            // �V‹K�ì�¬�ˆ—�
+            if (!ReqSumNewMakeOutPut()) return;
+            this.Close();
+        }
+        #endregion
+
+        #region Žx•¥‹ÆŽÒ‘I‘ðƒ{ƒ^ƒ“‰Ÿ‰º
+        /// <summary>
+        /// Žx•¥‹ÆŽÒ‘I‘ðƒ{ƒ^ƒ“‰Ÿ‰º
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void btnSelect_Click(object sender, EventArgs e)
+        {
+            // ‘I‘ð�sƒZƒbƒg
+            if (!ReqSumSelectOutPut()) return;
+            this.Close();
+        }
+        #endregion
+
         // ----------- ƒf�[ƒ^ƒRƒ“ƒo�[ƒg
         #region ƒf�[ƒ^ƒRƒ“ƒo�[ƒg
         /// <summary>
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedger.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedger.designer.cs	(revision 316)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedger.designer.cs	(revision 317)
@@ -30,13 +30,13 @@
         /// </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 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();
             this.label1 = new System.Windows.Forms.Label();
             this.btnDataDelete = new System.Windows.Forms.Button();
             this.btnDataEntry = new System.Windows.Forms.Button();
@@ -790,14 +790,14 @@
             | System.Windows.Forms.AnchorStyles.Right)));
             this.dgvAllDisplay.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
             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;
+            dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Control;
+            dataGridViewCellStyle8.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            dataGridViewCellStyle8.ForeColor = System.Drawing.SystemColors.WindowText;
+            dataGridViewCellStyle8.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+            dataGridViewCellStyle8.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvAllDisplay.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle8;
             this.dgvAllDisplay.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
             this.dgvAllDisplay.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
             this.Column1,
@@ -847,8 +847,8 @@
             // 
             // Column1
             // 
-            dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.Column1.DefaultCellStyle = dataGridViewCellStyle2;
+            dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.Column1.DefaultCellStyle = dataGridViewCellStyle9;
             this.Column1.Frozen = true;
             this.Column1.HeaderText = "â„–";
             this.Column1.Name = "Column1";
@@ -907,8 +907,8 @@
             // 
             // Column5
             // 
-            dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            this.Column5.DefaultCellStyle = dataGridViewCellStyle3;
+            dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            this.Column5.DefaultCellStyle = dataGridViewCellStyle10;
             this.Column5.Frozen = true;
             this.Column5.HeaderText = "é …ã€€ã€€ã€€ç›®";
             this.Column5.Name = "Column5";
@@ -919,8 +919,8 @@
             // 
             // Column6
             // 
-            dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            this.Column6.DefaultCellStyle = dataGridViewCellStyle4;
+            dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            this.Column6.DefaultCellStyle = dataGridViewCellStyle11;
             this.Column6.Frozen = true;
             this.Column6.HeaderText = "æ¥­ã€€ã€€ã€€ç¨®";
             this.Column6.Name = "Column6";
@@ -958,11 +958,11 @@
             // 
             // Column7
             // 
-            dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
-            dataGridViewCellStyle5.Format = "N0";
-            dataGridViewCellStyle5.NullValue = null;
-            this.Column7.DefaultCellStyle = dataGridViewCellStyle5;
+            dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle12.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle12.Format = "N0";
+            dataGridViewCellStyle12.NullValue = null;
+            this.Column7.DefaultCellStyle = dataGridViewCellStyle12;
             this.Column7.Frozen = true;
             this.Column7.HeaderText = "äºˆå®šï¼ˆè¦‹ç©�ï¼‰é‡‘é¡�";
             this.Column7.Name = "Column7";
@@ -973,9 +973,9 @@
             // 
             // Column12
             // 
-            dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
-            this.Column12.DefaultCellStyle = dataGridViewCellStyle6;
+            dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle13.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
+            this.Column12.DefaultCellStyle = dataGridViewCellStyle13;
             this.Column12.Frozen = true;
             this.Column12.HeaderText = "å®Ÿã€€è¡Œã€€é‡‘ã€€é¡�";
             this.Column12.Name = "Column12";
@@ -986,8 +986,8 @@
             // 
             // Column9
             // 
-            dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.Column9.DefaultCellStyle = dataGridViewCellStyle7;
+            dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            this.Column9.DefaultCellStyle = dataGridViewCellStyle14;
             this.Column9.Frozen = true;
             this.Column9.HeaderText = "æ¯”çŽ‡(ï¼…)";
             this.Column9.Name = "Column9";
@@ -1219,6 +1219,7 @@
             this.btnSelect.Text = "é�¸ã€€æŠž";
             this.btnSelect.UseVisualStyleBackColor = false;
             this.btnSelect.Visible = false;
+            this.btnSelect.Click += new System.EventHandler(this.btnSelect_Click);
             // 
             // btnCreate
             // 
@@ -1233,6 +1234,7 @@
             this.btnCreate.Text = "æ–°ã€€è¦�";
             this.btnCreate.UseVisualStyleBackColor = false;
             this.btnCreate.Visible = false;
+            this.btnCreate.Click += new System.EventHandler(this.btnCreate_Click);
             // 
             // grpExample1
             // 
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedger.resx
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedger.resx	(revision 316)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedger.resx	(revision 317)
@@ -117,6 +117,9 @@
   <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="Column3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     <value>True</value>
   </metadata>
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedgerAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedgerAuxiliary.cs	(revision 316)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedgerAuxiliary.cs	(revision 317)
@@ -1229,7 +1229,7 @@
                 }
                 else
                 {   // æ˜Žç´°è¡Œã‚’è«‹æ±‚ã�¾ã�¨ã‚�ã‚ˆã‚Šã�®èµ·å‹•æ™‚ã�¯åˆ†ã�‘ã‚‹
-                    if (m_ReqSumFlag)
+                    if (m_ReqSumSelFlag)
                     {
                         int nGroupCnt = CommonMotions.cnvInt(CurRow.Cells[(int)GridColumn.GroupCount].Value);
                         if (nGroupCnt == (int)DataGroup.Empty
@@ -3480,11 +3480,11 @@
         }
         #endregion
 
-        #region è¡Œã‚’è¿½åŠ ã�™ã‚‹
+        #region è¡Œè¿½åŠ ã�Œå�¯èƒ½ã�ªä½�ç½®ã�‹ã‚’åˆ¤å®šã�—ã€�è¡Œç•ªå�·ã‚’ã‚»ãƒƒãƒˆã�™ã‚‹
         /// <summary>
-        /// è¡Œã‚’è¿½åŠ ã�™ã‚‹
+        /// è¡Œè¿½åŠ ã�Œå�¯èƒ½ã�ªä½�ç½®ã�‹ã‚’åˆ¤å®šã�—ã€�è¡Œç•ªå�·ã‚’ã‚»ãƒƒãƒˆã�™ã‚‹
         /// </summary>
-        private void AddLineData()
+        private bool CheckNewMakeRow(ref int InsertCnt)
         {
             try
             {
@@ -3491,7 +3491,8 @@
                 DataGridView dgv = dgvAllDisplay;
                 DataGridViewRow CurRow = dgv.CurrentRow;
 
-                int InsertCnt = 0;
+                bool bRet = false;
+                InsertCnt = 0;
                 // ã‚°ãƒ«ãƒ¼ãƒ—ã‚«ã‚¦ãƒ³ãƒˆã‚’å�–å¾—ã�™ã‚‹
                 int GroupCount = 0;
                 GroupCount = CommonMotions.cnvInt(CurRow.Cells[(int)GridColumn.GroupCount].Value);
@@ -3500,21 +3501,50 @@
                 {
                     // æ–½å·¥è²»ã‚°ãƒ«ãƒ¼ãƒ—ã�®å ´å�ˆã�¯ä¸‹ã�«è¿½åŠ 
                     InsertCnt = CurRow.Index + 1;
+                    bRet = true;
                 }
                 else if (GroupCount == 0)
-                {   // ç©ºç™½è¡Œã�§æ–½å·¥è²»ã�®ã�™ã��å¾Œã�¯å¯¾è±¡ã�¨ã�™ã‚‹
+                {
+                    // ç©ºç™½è¡Œã�§æ–½å·¥è²»ã�®ã�™ã��å¾Œã�¯å¯¾è±¡ã�¨ã�™ã‚‹
                     DataGridViewRow wrkRow = dgv.Rows[dgv.CurrentRow.Index - 1];
-                    GroupCount = CommonMotions.cnvInt(wrkRow.Cells[(int)GridColumn.GroupCount].Value);
-                    if (GroupCount == (int)DataGroup.ConstructionCosts)
+                    if (CommonMotions.cnvInt(wrkRow.Cells[(int)GridColumn.GroupCount].Value) == (int)DataGroup.ConstructionCosts)
                     {
                         // ç©ºç™½è¡Œã�¯ä¸Šã�«è¿½åŠ 
                         InsertCnt = CurRow.Index;
+                        bRet = true;
                     }
                 }
 
+                return bRet;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+        }
+        #endregion
+
+        #region è¡Œã‚’è¿½åŠ ã�™ã‚‹
+        /// <summary>
+        /// è¡Œã‚’è¿½åŠ ã�™ã‚‹
+        /// </summary>
+        private void AddLineData()
+        {
+            try
+            {
+                DataGridView dgv = dgvAllDisplay;
+                DataGridViewRow CurRow = dgv.CurrentRow;
+
+                // è¿½åŠ ã�§ã��ã‚‹ã�‹ã�®åˆ¤å®š
+                int InsertCnt = 0;
+                if(!CheckNewMakeRow(ref InsertCnt)) return;
+
                 // é�¸æŠžè¡Œã�Œä¸�æ­£ã�ªã‚‰ã�°å‡¦ç�†ã�—ã�ªã�„
                 if (InsertCnt == 0) return;
 
+                int GroupCount = CommonMotions.cnvInt(CurRow.Cells[(int)GridColumn.GroupCount].Value);
+
                 // ç�¾åœ¨è¡Œã�®è‰²ã‚’ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆè‰²ã�¸å¤‰æ›´
                 DefaultRowChangeColor(m_BeforeGridRow);
                 m_BeforeGridRow = InsertCnt;
@@ -3549,6 +3579,13 @@
                                                                 .Max(y => CommonMotions.cnvInt(y.Cells[(int)GridColumn.DetailNo].Value)) + 1;
                 SetData.Cells[(int)GridColumn.DetailNo].Value = MaxCount;
 
+                // è«‹æ±‚ã�¾ã�¨ã‚�é�¸æŠžæ™‚
+                if (m_ReqSumSelFlag)
+                {
+                    // å�”åŠ›æ¥­è€…ã‚»ãƒƒãƒˆ
+                    SetCompanyData(SetData);
+                }
+
                 // è¡Œç•ªå�·ã‚’æŒ¯ã‚Šã�ªã�Šã�™
                 int StLineCnt = 0;
                 //if (GroupCount == (int)GroupName_ConstructionLedger.ConstructionCosts)
@@ -7589,27 +7626,126 @@
 
         #region ï¼”ï¼Žè«‹æ±‚ã�¾ã�¨ã‚�é�¸æŠžå‡¦ç�†â†“â†“
         // ---------- ï¼”ï¼Žè«‹æ±‚ã�¾ã�¨ã‚�é�¸æŠžå‡¦ç�†â†“â†“
-        #region è«‹æ±‚å‡¦ç�†é€£æ�ºæ™‚ã‚¢ã‚¦ãƒˆãƒ—ãƒƒãƒˆå‡¦ç�†
+        #region è«‹æ±‚ã�¾ã�¨ã‚�è¡Œé�¸æŠžå‡¦ç�†
         /// <summary>
-        /// è«‹æ±‚å‡¦ç�†é€£æ�ºæ™‚ã‚¢ã‚¦ãƒˆãƒ—ãƒƒãƒˆå‡¦ç�†
+        /// è«‹æ±‚ã�¾ã�¨ã‚�è¡Œé�¸æŠžå‡¦ç�†
         /// </summary>
-        private void BillingLinkOutPut()
+        private bool ReqSumSelectOutPut()
         {
             try
             {
+                m_TargetDetailNo = -1;
+                m_TargetColumn = 0;
+
                 DataGridView dgv = dgvAllDisplay;
-                if (m_FrmRequestSummaryList != null)
+                DataGridViewRow CurRow = dgv.CurrentRow;
+                // æ–½å·¥è²»ä»¥å¤–ã�®é�¸æŠžã�¯å‡¦ç�†ã�—ã�ªã�„
+                if (CommonMotions.cnvInt(CurRow.Cells[(int)GridColumn.GroupCount].Value) != (int)DataGroup.ConstructionCosts)
                 {
-                    m_FrmRequestSummaryList.GetchildData(dgv.CurrentCell);
+                    return false;
                 }
+
+                // é�¸æŠžæ¥­è€…ã�¨å�Œã�˜ã�‹ã�®ãƒ�ã‚§ãƒƒã‚¯
+                if (m_ReqSumCompany != CommonMotions.cnvInt(CurRow.Cells[(int)GridColumn.CompanyCode].Value))
+                {
+                    MessageBox.Show("é�¸æŠžã�•ã‚Œã�Ÿæ¥­è€…ã�Œé�•ã�„ã�¾ã�™ã€‚", "æ¥­è€…é�¸æŠžã‚¨ãƒ©ãƒ¼", MessageBoxButtons.OK, MessageBoxIcon.Error);
+                    return false;
+                }
+
+                // è¡Œã‚»ãƒƒãƒˆ
+                m_TargetDetailNo = CommonMotions.cnvInt(CurRow.Cells[(int)GridColumn.DetailNo].Value);
+                
+                // åˆ—ã‚»ãƒƒãƒˆ
+                DateTime dtStWork = CommonMotions.cnvDate(m_DspLabelCtrl[(int)DspLblCtrlName.StartingDate].Text);
+                DateTime dtTarGetWork = new DateTime((m_ReqSumTargetMonth / 100), (m_ReqSumTargetMonth % 100), 1);
+                m_TargetColumn = ClsChangeLedgerData.CalcTargetMonthToColumn(dtStWork, dtTarGetWork);
+
+                return true;
             }
             catch (Exception ex)
             {
                 logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
             }
         }
         #endregion
 
+        #region è«‹æ±‚ã�¾ã�¨ã‚�è¡Œæ–°è¦�ä½œæˆ�å‡¦ç�†
+        /// <summary>
+        /// è«‹æ±‚ã�¾ã�¨ã‚�è¡Œæ–°è¦�ä½œæˆ�å‡¦ç�†
+        /// </summary>
+        private bool ReqSumNewMakeOutPut()
+        {
+            try
+            {
+                // è¿½åŠ åˆ¤å®š
+                int nWkCnt = 0;
+                if (!CheckNewMakeRow(ref nWkCnt)) return false;
+
+                DialogResult dtRet = MessageBox.Show("å·¥äº‹å�°å¸³ã�«æ–°è¦�ã�§å�”åŠ›ä¼šç¤¾ã‚’è¿½åŠ ã�—ã�¾ã�™ã€‚",
+                                                        "è¿½åŠ ç¢ºèª�",
+                                                        MessageBoxButtons.OKCancel,
+                                                        MessageBoxIcon.Exclamation);
+                
+                if (dtRet == DialogResult.Cancel) return true;
+                // è¡Œã‚’è¿½åŠ ã�™ã‚‹ï¼ˆè¿”ä¿¡ãƒ‘ãƒ©ãƒ¡ã‚¿è¡Œãƒ»åˆ—ã‚‚ã‚»ãƒƒãƒˆã�™ã‚‹ï¼‰
+                AddLineData();
+                // è¡Œè‰²å¤‰æ›´
+                SelectRowChangeColor(m_BeforeGridRow);
+                // å�°å¸³ä¿�å­˜
+                if (!DataEntryProcess()) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+        }
+        #endregion
+
+        #region å�”åŠ›ä¼šç¤¾å��ã‚»ãƒƒãƒˆ
+        /// <summary>
+        /// å�”åŠ›ä¼šç¤¾å��ã‚»ãƒƒãƒˆ
+        /// </summary>
+        /// <param name="SetRow"></param>
+        private void SetCompanyData(DataGridViewRow SetRow)
+        {
+            IOMSubContractor CompDB = new IOMSubContractor();
+            try
+            {
+                StringBuilder strSQL = new StringBuilder();
+                strSQL.Append(CompDB.CreatePrimarykeyString(m_ReqSumCompany));
+                SubContractorMaster CompRec = new SubContractorMaster();
+                if (!CompDB.SelectAction(strSQL.ToString(), ref CompRec)) return;
+
+                SetRow.Cells[(int)GridColumn.CompanyType].Value = (int)CommonDefine.CodeDataType.Subconstractor;
+                SetRow.Cells[(int)GridColumn.CompanyCode].Value = CompRec.CompanyCode;
+                SetRow.Cells[(int)GridColumn.CompanyName].Value = CompRec.CompanyName;
+
+                // ----- è¡Œãƒ»åˆ—ç•ªå�·ã‚»ãƒƒãƒˆ
+                // è¡Œã‚»ãƒƒãƒˆ
+                m_TargetDetailNo = CommonMotions.cnvInt(SetRow.Cells[(int)GridColumn.DetailNo].Value);
+
+                // åˆ—ã‚»ãƒƒãƒˆ
+                DateTime dtStWork = CommonMotions.cnvDate(m_DspLabelCtrl[(int)DspLblCtrlName.StartingDate].Text);
+                DateTime dtTarGetWork = new DateTime((m_ReqSumTargetMonth / 100), (m_ReqSumTargetMonth % 100), 1);
+                m_TargetColumn = ClsChangeLedgerData.CalcTargetMonthToColumn(dtStWork, dtTarGetWork);
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+            finally
+            {
+                CompDB.close(); CompDB = null;
+            }
+        }
+
+        #endregion
+
         #region è«‹æ±‚å‡¦ç�†é€£æ�ºæ™‚ã‚¤ãƒ³ãƒ—ãƒƒãƒˆå‡¦ç�†
         /// <summary>
         /// è«‹æ±‚å‡¦ç�†é€£æ�ºæ™‚ã‚¤ãƒ³ãƒ—ãƒƒãƒˆå‡¦ç�†
@@ -7619,7 +7755,7 @@
             try
             {
                 // è«‹æ±‚å‡¦ç�†é€£æ�ºä»¥å¤–ã�¯å‡¦ç�†ã�—ã�ªã�„
-                if (!m_ReqSumFlag) return;
+                if (!m_ReqSumSelFlag) return;
                 
                 // æ”¯æ‰•ã‚«ãƒ©ãƒ ä»¥å¤–ã�¯å‡¦ç�†ã�—ã�ªã�„
                 int FixColCnt = Enum.GetNames(typeof(GridColumn)).Length;
@@ -7661,10 +7797,10 @@
             {
                 // å…¨ã�¦ã�®ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ãƒ­ãƒƒã‚¯
                 SeeModeLock();
+
                 // è«‹æ±‚ã�¾ã�¨ã‚�æ™‚ä½¿ç”¨ãƒœã‚¿ãƒ³è¡¨ç¤º
                 ReqSumButton(true);
-                // è«‹æ±‚ã�¾ã�¨ã‚�å¯¾è±¡ãƒ‡ãƒ¼ã‚¿å�–å¾—
-                GetReqSumData();
+
                 // è«‹æ±‚ã�¾ã�¨ã‚�è¡¨ç¤ºã‚¹ã‚¿ã‚¤ãƒ«ã‚»ãƒƒãƒˆ
                 InitReqSumStyle();
 
@@ -7730,6 +7866,8 @@
                 int nWDiff = panel2.Width - dgv.Width;
                 panel2.Width = panel1.Width;
                 dgv.Width = (panel2.Width - nWDiff);
+                label4.Visible = false;
+                m_DspLabelCtrl[(int)DspLblCtrlName.CreateDate].Visible = false;
             }
             catch (System.Exception ex)
             {
@@ -7738,37 +7876,6 @@
         }
         #endregion
 
-        private List<BillingDataDetail> m_BillDetailList = new List<BillingDataDetail>();
-        #region è«‹æ±‚ã�¾ã�¨ã‚�å¯¾è±¡ãƒ‡ãƒ¼ã‚¿å�–å¾—
-        /// <summary>
-        /// è«‹æ±‚ã�¾ã�¨ã‚�å¯¾è±¡ãƒ‡ãƒ¼ã‚¿å�–å¾—
-        /// </summary>
-        private void GetReqSumData()
-        {
-            IOBillingDataDetail BillDB = new IOBillingDataDetail();
-            try
-            {
-                StringBuilder strSQL = new StringBuilder();
-                strSQL.Append(" AS A Where");
-                strSQL.AppendFormat(" A.COMPANYCODE = {0}", m_ReqSumCompany);
-                strSQL.AppendFormat(" And A.TARGETDATE = {0}", m_ReqSumTargetMonth);
-                strSQL.AppendFormat(" And A.CONSTRUCTIONCODE = {0}", m_ConstructionCode);
-
-                m_BillDetailList.Clear();
-                if (!BillDB.SelectAction(strSQL.ToString(), ref m_BillDetailList)) return;
-
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-            finally
-            {
-                BillDB.close(); BillDB = null;
-            }
-        }
-        #endregion
-
         #region è«‹æ±‚ã�¾ã�¨ã‚�è¡Œè‰²å¤‰æ›´å‡¦ç�†
         /// <summary>
         /// è«‹æ±‚ã�¾ã�¨ã‚�è¡Œè‰²å¤‰æ›´å‡¦ç�†
@@ -7784,27 +7891,27 @@
 
                 int nCompanyCode = CommonMotions.cnvInt(CurRow.Cells[(int)GridColumn.CompanyCode].Value);
                 int nDetailNo = CommonMotions.cnvInt(CurRow.Cells[(int)GridColumn.DetailNo].Value);
-                foreach (BillingDataDetail DataCurRec in m_BillDetailList)
+                if (nCompanyCode == m_ReqSumCompany)
                 {
-                    if (nCompanyCode == DataCurRec.CompanyCode)
-                    {   // å¯¾è±¡æ¥­è€…ä¸€è‡´
-                        if (nDetailNo == DataCurRec.ConstructionRowCnt)
-                        {   // å¯¾è±¡è¡Œã�®ä¸€è‡´
-                            clrBack = lblReqSumType01.BackColor;
-                            clrFore = lblReqSumType01.ForeColor;
-                            break;
+                    clrBack = lblReqSumType01.BackColor;
+                    clrFore = lblReqSumType01.ForeColor;
+                    foreach (BillingDataDetail DataCurRec in m_BillDetailList)
+                    {
+                        if (nCompanyCode == DataCurRec.CompanyCode)
+                        {   // å¯¾è±¡æ¥­è€…ä¸€è‡´
+                            if (nDetailNo == DataCurRec.ConstructionRowCnt)
+                            {   // å¯¾è±¡è¡Œã�®ä¸€è‡´
+                                clrBack = lblReqSumType02.BackColor;
+                                clrFore = lblReqSumType02.ForeColor;
+                                break;
+                            }
+                            else
+                            {      // è¡Œã�Œä¸€è‡´ã�—ã�ªã�„
+                                clrBack = lblReqSumType01.BackColor;
+                                clrFore = lblReqSumType01.ForeColor;
+                            }
                         }
-                        else
-                        {      // è¡Œã�Œä¸€è‡´ã�—ã�ªã�„
-                            clrBack = lblReqSumType02.BackColor;
-                            clrFore = lblReqSumType02.ForeColor;
-                        }
                     }
-                    else
-                    {
-                        clrBack = lblReqSumType03.BackColor;
-                        clrFore = lblReqSumType03.ForeColor;
-                    }
                 }
 
                 for (int i = 0; i < dgv.ColumnCount; i++)
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRConstruction/FrmDRConstructionAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRConstruction/FrmDRConstructionAuxiliary.cs	(revision 316)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRConstruction/FrmDRConstructionAuxiliary.cs	(revision 317)
@@ -1809,8 +1809,8 @@
                 int Seqno = 1;
                 foreach (DataGridViewRow wrkRow in dgv.Rows)
                 {
-                    string Attendee = CommonMotions.cnvString(wrkRow.Cells[(int)DispGridColumn4.Attendee].Value);
-                    string ContentsText = CommonMotions.cnvString(wrkRow.Cells[(int)DispGridColumn4.ContentsText].Value);
+                    string Attendee = CommonMotions.cnvString(wrkRow.Cells[(int)DispGridColumn4.Attendee].Value).Replace("'", "â€™");
+                    string ContentsText = CommonMotions.cnvString(wrkRow.Cells[(int)DispGridColumn4.ContentsText].Value).Replace("'", "â€™");
                     // å‡ºå¸­è€…ãƒ»å†…å®¹ã�Œç„¡ã�„å ´å�ˆã�¯ç™»éŒ²ã�—ã�ªã�„
                     if (Attendee.Length == 0 && ContentsText.Length == 0) continue;
 
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateInput/FrmEstimateInput.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateInput/FrmEstimateInput.cs	(revision 316)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateInput/FrmEstimateInput.cs	(revision 317)
@@ -1946,89 +1946,6 @@
         }
         #endregion
 
-        #region ƒRƒ�ƒ“ƒg’Ç‰Áƒ{ƒ^ƒ“
-        /// <summary>
-        /// ƒRƒ�ƒ“ƒg’Ç‰Áƒ{ƒ^ƒ“‰Ÿ‰º
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void btnAddComment_Click(object sender, EventArgs e)
-        {
-            //try
-            //{
-            //    // •`‰æˆÊ’uŽæ“¾
-            //    int TabCnt = TabCollections.SelectedIndex;
-            //    DataGridView dgv = m_EntryPage[TabCnt].EntryDGV;
-            //    DataGridViewCell CurCell = dgv.CurrentCell;
-            //    Rectangle rect = dgv.GetCellDisplayRectangle(CurCell.ColumnIndex, CurCell.RowIndex, false);
-
-            //    // ƒRƒ�ƒ“ƒgƒ{ƒbƒNƒX’Ç‰Á
-            //    MoveTextBox NewComment = new MoveTextBox();
-            //    NewComment.ParentPoint = rect.Location;
-            //    NewComment.ParentSize = rect.Size;
-            //    NewComment.DrowColor = CommonMotions.getBackForeColor(CommonMotions.LoginUserData.MsgBackColor
-            //                                                            , CommonDefine.PalceOfColor.BackColor);
-
-            //    NewComment.ToolTipString = string.Format("Žw“EŽÒ�F{0}", CommonMotions.LoginUserData.PersonName);
-            //    NewComment.ContinerCode = CommonMotions.LoginUserData.PersonCode;
-
-            //    m_EntryPage[TabCnt].CommentShapeContainer.Controls.Add(NewComment);
-                
-            //    // •Ï�Xƒtƒ‰ƒOON
-            //    m_bChengeAns = true;
-            //}
-            //catch (System.Exception ex)
-            //{
-            //    logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            //}
-        }
-        #endregion
-
-        #region ƒRƒ�ƒ“ƒg�í�œƒ{ƒ^ƒ“
-        /// <summary>
-        /// ƒRƒ�ƒ“ƒg�í�œƒ{ƒ^ƒ“‰Ÿ‰º
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void btnDelComment_Click(object sender, EventArgs e)
-        {
-            //try
-            //{
-            //    int TabCnt = TabCollections.SelectedIndex;
-            //    DataGridView dgv = m_EntryPage[TabCnt].EntryDGV;
-            //    ShapeContainer sContaner = m_EntryPage[TabCnt].CommentShapeContainer;
-
-            //    for (int i = sContaner.Controls.Count - 1; 0 <= i; i--)
-            //    {
-            //        // ƒRƒ�ƒ“ƒgƒeƒLƒXƒg‚ð’T‚·
-            //        if (sContaner.Controls[i].GetType().Equals(typeof(MoveTextBox)))
-            //        {
-            //            MoveTextBox wrkMove = (MoveTextBox)sContaner.Controls[i];
-            //            if (wrkMove.MyFocusFlg)
-            //            {
-            //                // �Å�‚�Ó”CŽÒˆÈŠO‚ÍŽ©•ª‚ÌƒRƒ�ƒ“ƒg‚µ‚©�í�œ‚Å‚«‚È‚¢
-            //                if (!GetCommentEditPermission(wrkMove.ContinerCode))
-            //                {
-            //                    MessageBox.Show("Ž©ŒÈ‚ÌƒRƒ�ƒ“ƒgˆÈŠO‚Í�í�œ‚Å‚«‚Ü‚¹‚ñ�B", "�í�œŒx��Šm”F", MessageBoxButtons.OK, MessageBoxIcon.Error);
-            //                    return;
-            //                }
-                            
-            //                // ƒRƒ“ƒgƒ��[ƒ‹‚Ì�í�œ
-            //                sContaner.Controls[i].Dispose();
-            //                break;
-            //            }
-            //        }
-            //    }
-            //    // •Ï�Xƒtƒ‰ƒOON
-            //    m_bChengeAns = true;
-            //}
-            //catch (System.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: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateInput/FrmEstimateInput.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateInput/FrmEstimateInput.designer.cs	(revision 316)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateInput/FrmEstimateInput.designer.cs	(revision 317)
@@ -71,9 +71,6 @@
             this.lblLabel05 = new System.Windows.Forms.Label();
             this.lblLabel04 = new System.Windows.Forms.Label();
             this.lblLabel01 = new System.Windows.Forms.Label();
-            this.pnlComent = new System.Windows.Forms.Panel();
-            this.btnDelComment = new System.Windows.Forms.Button();
-            this.btnAddComment = new System.Windows.Forms.Button();
             this.btnTop = new System.Windows.Forms.Button();
             this.btnStructure = new System.Windows.Forms.Button();
             this.btnLineDel = new System.Windows.Forms.Button();
@@ -112,7 +109,6 @@
             this.pnlApproval.SuspendLayout();
             this.pnlApprovalButton.SuspendLayout();
             this.panel2.SuspendLayout();
-            this.pnlComent.SuspendLayout();
             this.TabCollections.SuspendLayout();
             this.tabPage1.SuspendLayout();
             ((System.ComponentModel.ISupportInitialize)(this.dgvEntryData)).BeginInit();
@@ -547,40 +543,6 @@
             this.lblLabel01.TabIndex = 1;
             this.lblLabel01.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
             // 
-            // pnlComent
-            // 
-            this.pnlComent.BackColor = System.Drawing.Color.LemonChiffon;
-            this.pnlComent.Controls.Add(this.btnDelComment);
-            this.pnlComent.Controls.Add(this.btnAddComment);
-            this.pnlComent.Location = new System.Drawing.Point(73, 5);
-            this.pnlComent.Name = "pnlComent";
-            this.pnlComent.Size = new System.Drawing.Size(272, 34);
-            this.pnlComent.TabIndex = 30;
-            // 
-            // btnDelComment
-            // 
-            this.btnDelComment.BackColor = System.Drawing.Color.Red;
-            this.btnDelComment.ForeColor = System.Drawing.Color.White;
-            this.btnDelComment.Location = new System.Drawing.Point(138, 4);
-            this.btnDelComment.Name = "btnDelComment";
-            this.btnDelComment.Size = new System.Drawing.Size(130, 26);
-            this.btnDelComment.TabIndex = 12;
-            this.btnDelComment.Text = "ã‚³ãƒ¡ãƒ³ãƒˆå‰Šé™¤";
-            this.btnDelComment.UseVisualStyleBackColor = false;
-            this.btnDelComment.Click += new System.EventHandler(this.btnDelComment_Click);
-            // 
-            // btnAddComment
-            // 
-            this.btnAddComment.BackColor = System.Drawing.Color.DarkGreen;
-            this.btnAddComment.ForeColor = System.Drawing.Color.White;
-            this.btnAddComment.Location = new System.Drawing.Point(4, 4);
-            this.btnAddComment.Name = "btnAddComment";
-            this.btnAddComment.Size = new System.Drawing.Size(130, 26);
-            this.btnAddComment.TabIndex = 12;
-            this.btnAddComment.Text = "ã‚³ãƒ¡ãƒ³ãƒˆè¿½åŠ ";
-            this.btnAddComment.UseVisualStyleBackColor = false;
-            this.btnAddComment.Click += new System.EventHandler(this.btnAddComment_Click);
-            // 
             // btnTop
             // 
             this.btnTop.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
@@ -716,7 +678,7 @@
             // 
             this.btnRequestPrint.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
             this.btnRequestPrint.BackColor = System.Drawing.Color.DarkSeaGreen;
-            this.btnRequestPrint.ForeColor = System.Drawing.Color.White;
+            this.btnRequestPrint.ForeColor = System.Drawing.Color.Black;
             this.btnRequestPrint.Location = new System.Drawing.Point(174, 656);
             this.btnRequestPrint.Name = "btnRequestPrint";
             this.btnRequestPrint.Size = new System.Drawing.Size(120, 30);
@@ -1019,7 +981,6 @@
             this.Controls.Add(this.lblWrok);
             this.Controls.Add(this.btnDispDown);
             this.Controls.Add(this.btnDispUp);
-            this.Controls.Add(this.pnlComent);
             this.Controls.Add(this.btnLineDel);
             this.Controls.Add(this.btnLineAdd);
             this.Controls.Add(this.btnStructure);
@@ -1050,7 +1011,6 @@
             this.pnlApproval.ResumeLayout(false);
             this.pnlApprovalButton.ResumeLayout(false);
             this.panel2.ResumeLayout(false);
-            this.pnlComent.ResumeLayout(false);
             this.TabCollections.ResumeLayout(false);
             this.tabPage1.ResumeLayout(false);
             this.tabPage1.PerformLayout();
@@ -1096,9 +1056,6 @@
         private System.Windows.Forms.Label lblCellTotal;
         private System.Windows.Forms.Button btnAmountList;
         private System.Windows.Forms.Label lblWrok;
-        private System.Windows.Forms.Panel pnlComent;
-        private System.Windows.Forms.Button btnDelComment;
-        private System.Windows.Forms.Button btnAddComment;
         private System.Windows.Forms.Panel panel2;
         private System.Windows.Forms.Button btnOtherProc;
         private System.Windows.Forms.Panel pnlApprovalButton;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateInput/FrmEstimateInputAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateInput/FrmEstimateInputAuxiliary.cs	(revision 316)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateInput/FrmEstimateInputAuxiliary.cs	(revision 317)
@@ -1789,16 +1789,6 @@
                     pnlApproval.Visible = false;
                 }
 
-                // ã‚³ãƒ¡ãƒ³ãƒˆãƒœã‚¿ãƒ³ã‚’é�žè¡¨ç¤ºã�«ã�™ã‚‹
-                pnlComent.Visible = false;
-                // ----- ãƒ­ã‚°ã‚¤ãƒ³ãƒ¦ãƒ¼ã‚¶ãƒ¼ã�Œä¸€èˆ¬ä½¿ç”¨è€…ä»¥å¤–ã�¯ãƒœã‚¿ãƒ³è¡¨ç¤º
-                // ***** ãƒ†ã‚¹ãƒˆä¸­ã�ªã�®ã�§ç®¡ç�†è€…æ°�ä»¥å¤–ã�¯ä½¿ç”¨ç¦�æ­¢
-                //if (CommonMotions.LoginUserData.SecurityManagement != CommonDefine.SecurityManagementDivision[3].Key)
-                //if (CommonMotions.LoginUserData.PersonCode == CommonDefine.AdminCode)
-                //{
-                //    pnlComent.Visible = true;
-                //}
-
                 // æ‰¿èª�ãƒœã‚¿ãƒ³ãƒ»ä»¶æ•°ã�®é�žè¡¨ç¤º
                 btnApproval.Visible = false;
                 lblApprovalCount.Visible = false;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimatePrint/FrmEstimatePrint.Designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimatePrint/FrmEstimatePrint.Designer.cs	(revision 316)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimatePrint/FrmEstimatePrint.Designer.cs	(revision 317)
@@ -55,9 +55,6 @@
             this.label1 = new System.Windows.Forms.Label();
             this.panel2 = new System.Windows.Forms.Panel();
             this.PrintProgress = new System.Windows.Forms.ProgressBar();
-            this.btnPrint = new System.Windows.Forms.Button();
-            this.btnCancel = new System.Windows.Forms.Button();
-            this.btnOtherProc = new System.Windows.Forms.Button();
             this.dgvEntryData = new ProcessManagement.Forms.CustomControls.DataGridViewEX();
             this.Column03 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column01 = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -72,6 +69,9 @@
             this.Column11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column12 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.btnPrint = new System.Windows.Forms.Button();
+            this.btnCancel = new System.Windows.Forms.Button();
+            this.btnOtherProc = new System.Windows.Forms.Button();
             this.panel1.SuspendLayout();
             this.panel2.SuspendLayout();
             ((System.ComponentModel.ISupportInitialize)(this.dgvEntryData)).BeginInit();
@@ -338,48 +338,6 @@
             this.PrintProgress.TabIndex = 21;
             this.PrintProgress.Visible = false;
             // 
-            // btnPrint
-            // 
-            this.btnPrint.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
-            this.btnPrint.BackColor = System.Drawing.Color.DarkSeaGreen;
-            this.btnPrint.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.btnPrint.ForeColor = System.Drawing.Color.White;
-            this.btnPrint.Location = new System.Drawing.Point(920, 655);
-            this.btnPrint.Name = "btnPrint";
-            this.btnPrint.Size = new System.Drawing.Size(120, 30);
-            this.btnPrint.TabIndex = 19;
-            this.btnPrint.Text = "å�°ã€€åˆ·";
-            this.btnPrint.UseVisualStyleBackColor = false;
-            this.btnPrint.Click += new System.EventHandler(this.btnPrint_Click);
-            // 
-            // btnCancel
-            // 
-            this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
-            this.btnCancel.BackColor = System.Drawing.Color.Red;
-            this.btnCancel.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.btnCancel.ForeColor = System.Drawing.Color.White;
-            this.btnCancel.Location = new System.Drawing.Point(1048, 655);
-            this.btnCancel.Name = "btnCancel";
-            this.btnCancel.Size = new System.Drawing.Size(120, 30);
-            this.btnCancel.TabIndex = 20;
-            this.btnCancel.Text = "å�°åˆ·ä¸­æ­¢";
-            this.btnCancel.UseVisualStyleBackColor = false;
-            this.btnCancel.Visible = false;
-            this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
-            // 
-            // 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(8, 655);
-            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);
-            // 
             // dgvEntryData
             // 
             this.dgvEntryData.AllowUserToAddRows = false;
@@ -562,6 +520,48 @@
             this.Column13.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.Column13.Width = 166;
             // 
+            // btnPrint
+            // 
+            this.btnPrint.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.btnPrint.BackColor = System.Drawing.Color.DarkSeaGreen;
+            this.btnPrint.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.btnPrint.ForeColor = System.Drawing.Color.Black;
+            this.btnPrint.Location = new System.Drawing.Point(920, 655);
+            this.btnPrint.Name = "btnPrint";
+            this.btnPrint.Size = new System.Drawing.Size(120, 30);
+            this.btnPrint.TabIndex = 19;
+            this.btnPrint.Text = "å�°ã€€åˆ·";
+            this.btnPrint.UseVisualStyleBackColor = false;
+            this.btnPrint.Click += new System.EventHandler(this.btnPrint_Click);
+            // 
+            // btnCancel
+            // 
+            this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.btnCancel.BackColor = System.Drawing.Color.Red;
+            this.btnCancel.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.btnCancel.ForeColor = System.Drawing.Color.White;
+            this.btnCancel.Location = new System.Drawing.Point(1048, 655);
+            this.btnCancel.Name = "btnCancel";
+            this.btnCancel.Size = new System.Drawing.Size(120, 30);
+            this.btnCancel.TabIndex = 20;
+            this.btnCancel.Text = "å�°åˆ·ä¸­æ­¢";
+            this.btnCancel.UseVisualStyleBackColor = false;
+            this.btnCancel.Visible = false;
+            this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
+            // 
+            // 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(8, 655);
+            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);
+            // 
             // FrmEstimatePrint
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderPrint/FrmPurchaseOrderPrint.Designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderPrint/FrmPurchaseOrderPrint.Designer.cs	(revision 316)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderPrint/FrmPurchaseOrderPrint.Designer.cs	(revision 317)
@@ -351,7 +351,7 @@
             // 
             this.btnPrint.BackColor = System.Drawing.Color.DarkSeaGreen;
             this.btnPrint.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.btnPrint.ForeColor = System.Drawing.Color.White;
+            this.btnPrint.ForeColor = System.Drawing.Color.Black;
             this.btnPrint.Location = new System.Drawing.Point(961, 656);
             this.btnPrint.Name = "btnPrint";
             this.btnPrint.Size = new System.Drawing.Size(120, 30);
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestInput/FrmRequestInputAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestInput/FrmRequestInputAuxiliary.cs	(revision 316)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestInput/FrmRequestInputAuxiliary.cs	(revision 317)
@@ -3170,18 +3170,15 @@
 
             try
             {
-                string sql = ioExcute.CreatePrimarykeyString(m_nLeaderConstructionCode);
-                sql += " AND ColumnCount = 27";
+                StringBuilder sql = new StringBuilder();
+                sql.Append(ioExcute.CreatePrimarykeyString(m_nLeaderConstructionCode));
+                sql.AppendFormat(" AND ColumnCount = {0}", ClsChangeLedgerData.GetLedgerColumnCount());
 
-                List<ConstructionLedgerExcute> lstExcute = new List<ConstructionLedgerExcute>();
+                ConstructionLedgerExcute lstExcute = new ConstructionLedgerExcute();
+                if (!ioExcute.SelectAction(sql.ToString(), ref lstExcute)) return tcol;
 
-                if (ioExcute.SelectAction(sql, ref lstExcute) == false)
-                {
-                    return tcol;
-                }
+                tcol = ClsChangeLedgerData.CalcTargetMonthToColumn(lstExcute.TargetMonth, dtTarget);
 
-                tcol = ClsChangeLedgerData.CalcTargetMonthToColumn(lstExcute[0].TargetMonth, dtTarget);
-
             }
             catch (Exception ex)
             {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/FrmRequestSummaryList.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/FrmRequestSummaryList.cs	(revision 316)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/FrmRequestSummaryList.cs	(revision 317)
@@ -633,7 +633,7 @@
                 int DepCode = 0;
                 int PersonCode = 0;
                 // ƒpƒ‰ƒ��[ƒ^�‰ŠúƒZƒbƒg
-                SetInitParametar(ref DepCode, ref PersonCode);
+                SetApprovalInitParametar(ref DepCode, ref PersonCode);
 
                 // ƒRƒ“ƒ{ƒ{ƒbƒNƒX�‰Šú•\Ž¦
                 InitCombBox(DepCode, PersonCode);
@@ -708,7 +708,8 @@
                 //IME‚Ìƒ‚�[ƒh‚ð•Ï�X‚·‚é
                 switch (e.ColumnIndex)
                 {
-                    case (int)DispColumn.Bikou:   // ƒRƒ�ƒ“ƒg
+                    case (int)DispColumn.DetailName:    // �¿‹�–¾�×
+                    case (int)DispColumn.Bikou:         // ƒRƒ�ƒ“ƒg
                         dgv.ImeMode = ImeMode.On;
                         break;
                     default:
@@ -743,24 +744,49 @@
             {
                 if (CurRow == null) return;
 
-                int CurVal = 0;
                 // ƒ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.KyoryokuKinRitu:
                         break;
                     default:
                         if (m_CheckCol != e.ColumnIndex || m_CheckRow != e.RowIndex) return;
-                        CurVal = CommonMotions.cnvInt(CurRow.Cells[e.ColumnIndex].Value);
+                        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;
                 }
-                // ’l‚Ìƒ`ƒFƒbƒN�i“¯‚¶�ê�‡‚Í•Ï�Xƒtƒ‰ƒO‚ðON‚É‚µ‚È‚¢�j
-                if (CommonMotions.cnvInt(m_BeforeValue) == CurVal) return;
 
                 // •Ï�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()
@@ -870,25 +896,41 @@
         {
 
             DataGridView dgv = (DataGridView)sender;
+            try
+            {
+                // “ü—ÍƒJƒ‰ƒ€ˆÈŠO‚Í�ˆ—�‚µ‚È‚¢
+                if (e.ColumnIndex != (int)DispColumn.DetailName && e.ColumnIndex < (int)DispColumn.SomuSeikyu) return;
+                if ((int)DispColumn.KyoryokuUmu <= e.ColumnIndex) return;
 
-            // “ü—ÍƒJƒ‰ƒ€ˆÈŠO‚Í�ˆ—�‚µ‚È‚¢
-            if (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;
+                //}
 
-            ////Œ»�ê–¢“ü—Í‚ÍŒ»�ê‚É�¿‹�‹àŠ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;
 
-            dgv[e.ColumnIndex, e.RowIndex].Value = CommonMotions.cnvInt(dgv[e.ColumnIndex, e.RowIndex].Value);
-            dgv[e.ColumnIndex, e.RowIndex].Style.ForeColor = SystemColors.ControlText;
-
-            // ƒZƒ‹’lŽæ“¾
-            m_BeforeValue = dgv.CurrentCell.Value;
-            m_CheckCol = e.ColumnIndex;
-            m_CheckRow = e.RowIndex;
+                // ƒ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
 
@@ -1097,22 +1139,28 @@
                 if (e.ColumnIndex < (int)DispColumn.SomuSeikyu) return;
                 if ((int)DispColumn.KyoryokuUmu <= e.ColumnIndex) return;
 
+                RowsTypeDef TargetRowtype = (RowsTypeDef)dgv[(int)DispColumn.RowType, e.RowIndex].Value;
 
-                // ƒ}ƒCƒiƒX’l‚Í�Ô
-                if (CommonMotions.cnvInt(dgv[e.ColumnIndex, e.RowIndex].Value) < 0)
+                if (TargetRowtype != RowsTypeDef.�¬Œv) return;
+                switch (e.ColumnIndex)
                 {
-                    dgv[e.ColumnIndex, e.RowIndex].Style.ForeColor = Color.Red;
-                }
-                else
-                {
-                    dgv[e.ColumnIndex, e.RowIndex].Style.ForeColor = SystemColors.ControlText;
-                }
+                    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");
 
-                RowsTypeDef TargetRowtype = (RowsTypeDef)dgv[(int)DispColumn.RowType, e.RowIndex].Value;
-
-                if (!(TargetRowtype > RowsTypeDef.�¬Œv && e.ColumnIndex != (int)DispColumn.SomuSeikyu && e.ColumnIndex != (int)DispColumn.KojiSeikyu))
-                {
-                    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)
@@ -1218,18 +1266,16 @@
         }
         #endregion
 
-        #region ƒf�[ƒ^Žæ“¾�ˆ—�
+        #region ‘I‘ð�s—ñˆÊ’uŽæ“¾�ˆ—�ƒf�[ƒ^Žæ“¾�ˆ—�
         /// <summary>
-        /// ƒf�[ƒ^Žæ“¾�ˆ—�
+        /// ‘I‘ð�s—ñˆÊ’uŽæ“¾�ˆ—�ƒf�[ƒ^Žæ“¾�ˆ—�
         /// </summary>
         /// <param name="CurRow"></param>
-        public void GetchildData(DataGridViewCell CurCell)
+        public void GetRowPoint(DataGridViewCell CurCell)
         {
             try
             {
-                m_FrmLedger.BillingLinkInPut(CurCell.RowIndex,
-                                                CurCell.ColumnIndex);
-
+                m_FrmLedger.BillingLinkInPut(CurCell.RowIndex, CurCell.ColumnIndex);
             }
             catch (Exception ex)
             {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/FrmRequestSummaryList.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/FrmRequestSummaryList.designer.cs	(revision 316)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/FrmRequestSummaryList.designer.cs	(revision 317)
@@ -37,6 +37,8 @@
         {
             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = 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 dataGridViewCellStyle58 = 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();
@@ -62,8 +64,6 @@
             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();
@@ -134,6 +134,7 @@
             this.cmbTargetMonth = new System.Windows.Forms.ComboBox();
             this.label3 = new System.Windows.Forms.Label();
             this.dgvCompany = new ProcessManagement.Forms.CustomControls.DataGridViewEX();
+            this.dgvProject = 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();
@@ -234,7 +235,6 @@
             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();
@@ -1037,6 +1037,154 @@
             this.dgvCompany.CellValueChanged += new System.Windows.Forms.DataGridViewCellEventHandler(this.DataGridView_CellValueChanged);
             this.dgvCompany.CurrentCellDirtyStateChanged += new System.EventHandler(this.DataGridView_CurrentCellDirtyStateChanged);
             // 
+            // 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.MultiSelect = false;
+            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, 530);
+            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);
+            // 
             // dgvCompany001
             // 
             this.dgvCompany001.HeaderText = "CompanyDispOrder";
@@ -1157,7 +1305,6 @@
             // 
             this.dgvCompany016.HeaderText = "è«‹æ±‚æ˜Žç´°";
             this.dgvCompany016.Name = "dgvCompany016";
-            this.dgvCompany016.ReadOnly = true;
             this.dgvCompany016.Resizable = System.Windows.Forms.DataGridViewTriState.False;
             this.dgvCompany016.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.dgvCompany016.Width = 180;
@@ -1811,154 +1958,6 @@
             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.MultiSelect = false;
-            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, 530);
-            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);
-            // 
             // dgvProject001
             // 
             this.dgvProject001.HeaderText = "CompanyDispOrder";
@@ -2076,7 +2075,6 @@
             // 
             this.dgvProject016.HeaderText = "è«‹æ±‚æ˜Žç´°";
             this.dgvProject016.Name = "dgvProject016";
-            this.dgvProject016.ReadOnly = true;
             this.dgvProject016.Resizable = System.Windows.Forms.DataGridViewTriState.False;
             this.dgvProject016.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.dgvProject016.Width = 180;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/FrmRequestSummaryListAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/FrmRequestSummaryListAuxiliary.cs	(revision 316)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/FrmRequestSummaryListAuxiliary.cs	(revision 317)
@@ -85,11 +85,11 @@
         }
         #endregion
 
-        #region ƒpƒ‰ƒ��[ƒ^�‰ŠúƒZƒbƒg
+        #region �³”FŽžƒpƒ‰ƒ��[ƒ^�‰ŠúƒZƒbƒg
         /// <summary>
-        /// ƒpƒ‰ƒ��[ƒ^�‰ŠúƒZƒbƒg
+        /// �³”FŽžƒpƒ‰ƒ��[ƒ^�‰ŠúƒZƒbƒg
         /// </summary>
-        private void SetInitParametar(ref int DepCode, ref int PersonCode)
+        private void SetApprovalInitParametar(ref int DepCode, ref int PersonCode)
         {
             IOMPersonInCharge PersonDB = new IOMPersonInCharge();
             try
@@ -1077,25 +1077,17 @@
         /// <param name="dgv"></param>
         private void DataGridView_ReadOnlyChange(DataGridView dgv)
         {
-            // “Á•ÊŒ ŒÀ‚Ì�ê�‡
-            if (m_UserInfo.m_Type == CommonDefine.SecurityRankPos.SpecialAuthority)
-            {
-                return;
-            }
+            // ƒVƒXƒeƒ€ŠÇ—�“Á•ÊŒ ŒÀ‚Íƒ�ƒbƒN–³
+            if (m_UserInfo.m_Type == CommonDefine.SecurityRankPos.SpecialAuthority) return;
+
             // ‘�–±’S“–
             if (m_UserInfo.m_GeneralAffairsFlg == (int)SecurityMaster.GeneAffDef.GeneralDep)
             {
-                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;
+                // ‘�–±‚Í�¿‹�‚àŽx•¥‚à“ü—Í‰Â”\
             }
-            // ’S“–ŽÒ‚Ì�ê�‡
             else
             {
+                // ˆê”Ê’S“–ŽÒ‚Ì�ê�‡
                 if (m_UserInfo.m_Type == CommonDefine.SecurityRankPos.NormalAuthority)
                 {
                     dgv.Columns[(int)DispColumn.SomuSeikyu].ReadOnly = true;
@@ -1186,28 +1178,35 @@
             try
             {
                 // �³”F�Ï‚Ý‚Í�ˆ—�‚µ‚È‚¢
-                bool bReadOnly = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.ApprovalEndFlg].Value) == 1 ? true : false;
-                if (bReadOnly) return;
+                int nApprovalEndFlg = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.ApprovalEndFlg].Value);
+                if (nApprovalEndFlg == (int)PaymentDataDetail.ApprovalEndFlgDef.Approval) return;
 
-                frm.ConstructionCode = 0;
+                // �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
+                frm.ConstructionCode = CommonMotions.cnvInt(CurRow.Cells[m_Genba_Column].Value);
                 frm.StartupSource = (int)ClsExcute.ProcessExecuteNo.RequestSummaryList;
-
-                int nCompanyCode = CommonMotions.cnvInt(CurRow.Cells[m_Company_Column].Value);
-                int nConstrCode = CommonMotions.cnvInt(CurRow.Cells[m_ConstructionCode].Value);
-                //********************************************************
-                // ŽèŠÔ‹ÆŽÒ‹æ•ª‚ð“n‚·˜AŒg•”‚Í‚±‚±‚É‚È‚è‚Ü‚·
-                //*********************************************************
                 frm.SelectLabourKind = m_Labourkind;
 
-                // •s–¾ƒ{ƒ^ƒ“•\Ž¦
+                // Œ»�ê’PˆÊ“ü—Í‚Í•s–¾ƒ{ƒ^ƒ“•\Ž¦
                 if (rdbProject.Checked)
-                {   // ----- Œ»�ê
-                    if (nConstrCode < 0) return;
+                {   // Œ»�ê•s–¾‚Ì�ê�‡‚Íƒ_ƒCƒAƒ�ƒO‚ð•\Ž¦‚µ‚È‚¢
+                    if (nConstrCode < 0)
+                    {
+                        MessageBox.Show("Œ»�ê‚ª“ü—Í‚³‚ê‚Ä‚¢‚È‚¢‚Ì‚Å�A‹ÆŽÒ‚ð‘I‘ð‚Å‚«‚Ü‚¹‚ñ�B",
+                                        "‘I‘ð•s”\ƒ�ƒbƒZ�[ƒW",
+                                        MessageBoxButtons.OK,
+                                        MessageBoxIcon.Error);
+                        return;
+                    }
                     frm.DispAddUnknown = true;
                 }
 
                 // •s–¾‚Ì‘Î�ˆ‚ÅƒR�[ƒh‚ðƒZƒbƒg‚·‚é
                 frm.SelectData.CompanyCode = nCompanyCode;
+
                 // ‹¦—Í‰ïŽÐ‘I‘ð•\Ž¦
                 frm.ShowDialog();
 
@@ -1215,19 +1214,39 @@
                 if (DialogResult.Cancel.Equals(frm.EndButton)) return;
 
                 // ‘I‘ðƒf�[ƒ^‚ðŽæ“¾‚·‚é
-                SubContractorMaster selRec = frm.SelectData;
+                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[] nRowCol = new int[2];
+                Array.Clear(nRowCol, 0, nRowCol.Length);
+                // •s–¾‘I‘ðŽžˆÈŠO‚Í‘ä’ •\Ž¦‚·‚é
+                if (!DialogResult.Yes.Equals(frm.EndButton))
+                {
+                    if (!DispSelectLedger(selRec.CompanyCode, nConstrCode, frm2, ref nRowCol))
+                    {
+                        // ‘I‘ð–³‚µ‚ÍƒNƒŠƒA
+                        selRec = new SubContractorMaster();
+                    }
+                }
+                
                 if (rdbCompany.Checked)
-                {   // ----- ‹ÆŽÒ
-                    InsdgvCompany2Company(selRec);
+                {
+                    // ----- ‹ÆŽÒ
+                    InsdgvCompany2Company(selRec, nRowCol);
                 }
                 else
-                {   // ----- Œ»�ê
-                    // •s–¾Žž‚ÍƒNƒŠƒA
-                    if (DialogResult.Yes.Equals(frm.EndButton))
-                        selRec = new SubContractorMaster();
-
-                    InsdgvProject2Project(selRec);
+                {
+                    // ----- Œ»�ê
+                    InsdgvProject2Project(selRec, nRowCol);
                 }
             }
             catch (System.Exception ex)
@@ -1247,7 +1266,7 @@
         /// ‹ÆŽÒƒOƒŠƒbƒh‹ÆŽÒ’Ç‰Á�ˆ—�
         /// </summary>
         /// <param name="selRec"></param>
-        private void InsdgvCompany2Company(SubContractorMaster selRec)
+        private void InsdgvCompany2Company(SubContractorMaster selRec, int[] nRowCol)
         {
             DataGridView dgv = getShowingView();
             int No = 0;
@@ -1283,7 +1302,7 @@
                 }
 
                 // ƒf�[ƒ^“ü—Í�s
-                MakeNewRow(selRec.CompanyCode, selRec.CompanyName, 0, No, ref MakeIndex, -1, MakeIndex, string.Empty);
+                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;
 
@@ -1310,7 +1329,7 @@
         /// Œ»�êƒOƒŠƒbƒh‹ÆŽÒ’Ç‰Á�ˆ—�
         /// </summary>
         /// <param name="selRec"></param>
-        private void InsdgvProject2Project(SubContractorMaster selRec)
+        private void InsdgvProject2Project(SubContractorMaster selRec, int[] nRowCol)
         {
             DataGridView dgv = getShowingView();
             DataGridViewRow CurRow = dgv.CurrentRow;
@@ -1331,10 +1350,15 @@
                     if (CommonMotions.cnvInt(dgv.Rows[i].Cells[m_Genba_Column].Value) != nConstrCode) break;
                     // Œ»�ê–¼�Ì‚ª‚ ‚ê‚ÎŽæ“¾‚·‚é
                     if (CommonMotions.cnvString(dgv.Rows[i].Cells[m_GenbaNM_Column].Value).Length > 0)
+                    {
                         strConstrName = CommonMotions.cnvString(dgv.Rows[i].Cells[m_GenbaNM_Column].Value);
-                    // ‡‚‚ª‚ ‚ê‚ÎŽæ“¾‚·‚é
-                    if (CommonMotions.cnvInt(dgv.Rows[i].Cells[(int)DispColumn.No].Value) > 0)
-                        iNo = CommonMotions.cnvInt(dgv.Rows[i].Cells[(int)DispColumn.No].Value);
+                        // ‡‚‚ª‚ ‚ê‚ÎŽæ“¾‚·‚é
+                        if (CommonMotions.cnvInt(dgv.Rows[i].Cells[(int)DispColumn.No].Value) > 0)
+                        {
+                            iNo = CommonMotions.cnvInt(dgv.Rows[i].Cells[(int)DispColumn.No].Value);
+                        }
+                        break;
+                    }
                 }
 
                 // ‘I‘ð‹ÆŽÒ‚ª“¯ˆê�HŽ–“à‚É‚ ‚é‚©‚ð”»’è‚·‚é
@@ -1355,7 +1379,7 @@
                     {
                         // •s–¾�s‚Å‹ÆŽÒ‚ð‘I‘ð‚µ‚½�ê�‡‚ÍƒZƒbƒg‚·‚é
                         MakeIndex = CurRow.Index;
-                        CurRow.Cells[m_Company_Column].Value = selRec.CompanyCode;
+                        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;
@@ -1373,10 +1397,10 @@
                     {
                         // ----- ‘¶�Ý‹ÆŽÒ‚Ì�ÅŒã‚É’Ç‰Á‚·‚é
                         int DataCnt = SelRows.Count();
-                        MakeIndex = SelRows[DataCnt].Index;
+                        MakeIndex = SelRows[DataCnt].Index - 1;
                     }
                     // ƒf�[ƒ^�s�ì�¬
-                    MakeNewRow(selRec.CompanyCode, selRec.CompanyName, nConstrCode, iNo, ref MakeIndex, -1, MakeIndex, strConstrName);
+                    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;
                 }
@@ -1480,7 +1504,15 @@
         /// <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, ref int MakeIndex, int iGroupSeqNo = -1, int iIndex = -1, string GenbaName = "")
+        private void MakeNewRow(int CompanyCode
+                                , string CompanyName
+                                , int GenbaCode
+                                , int No
+                                , int[] nRowCol
+                                , ref int MakeIndex
+                                , int iGroupSeqNo = -1
+                                , int iIndex = -1
+                                , string GenbaName = "")
         {
             DataGridView dgv = getShowingView();
             int iLineCnt = 0;
@@ -1533,10 +1565,21 @@
                 }
 
                 // �s”Ô�†
-                int lineCnt = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[m_Company_Column].Value) == CompanyCode
+                int lineCnt = 0;
+                // ‘Î�Û‹ÆŽÒ‚ª‘¶�Ý‚·‚é‚©‚ðƒ`ƒFƒbƒN‚·‚é
+                DataGridViewRow[] CompList = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[m_Company_Column].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));
+                                                                          .ToArray();
+
+                if (CompList.Count() > 0)
+                {
+                    lineCnt = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[m_Company_Column].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;
@@ -1610,8 +1653,8 @@
                 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.ConstructionLedgerLineNo].Value = "";
-                dgv.Rows[iIndex].Cells[(int)DispColumn.ConstructionLedgerColNo].Value = "";
+                dgv.Rows[iIndex].Cells[(int)DispColumn.ConstructionLedgerDetailNo].Value = nRowCol[0];
+                dgv.Rows[iIndex].Cells[(int)DispColumn.ConstructionLedgerColNo].Value = nRowCol[1];
 
                 MakeIndex = iIndex;
 
@@ -1637,10 +1680,9 @@
             FrmConstructionDiag frm = new FrmConstructionDiag();
             FrmConstructionLedger frm2 = new FrmConstructionLedger();
             IOConstructionBaseInfo IoCbi = new IOConstructionBaseInfo();
-            IOMPersonInCharge IoMpic = new IOMPersonInCharge();
+            DataGridView dgv = getShowingView();
             try
             {
-                DataGridView dgv = getShowingView();
                 DataGridViewRow CurRow = dgv.CurrentRow;
 
                 int nCompnyCode = CommonMotions.cnvInt(CurRow.Cells[m_Company_Column].Value);
@@ -1658,7 +1700,9 @@
 
                 int nPersonCode = CommonMotions.LoginUserData.PersonCode;
 
-                // �HŽ–’S“–ŽÒŒŸ�õ
+                int nSelConstrCode = 0;
+
+                // �HŽ–ŒŸ�õ
                 frm.PersonCharge = (int)FrmConstructionDiag.PersonChargePoint.Construction;
                 frm.PersonCode = nPersonCode;
                 frm.ProcessNo = (int)ClsExcute.ProcessExecuteNo.RequestSummaryList;
@@ -1668,66 +1712,35 @@
                 frm.ShowDialog();
                 // �I—¹ƒR�[ƒhŠm”F
                 if (DialogResult.Cancel.Equals(frm.EndButton)) return;
-                // ‘I‘ðŒã‘ä’ •\Ž¦
-                if (frm.ConstructionCode != 0)
-                {
-                    frm2.SubForm = true;
-                    // �HŽ–”Ô�†
-                    frm2.ConstructionCode = frm.ConstructionCode;
-                    // �¿‹�‚Ü‚Æ‚ß‘I‘ðŽg—pŽžƒtƒ‰ƒO
-                    frm2.ReqestSummaryFlag = true;
-                    // �¿‹�‚Ü‚Æ‚ß‘Î�ÛŒŽ
-                    frm2.ReqSumTargetMonth = CommonMotions.cnvInt(cmbTargetMonth.SelectedValue);
-                    // �¿‹�‚Ü‚Æ‚ß‘Î�Û‹ÆŽÒƒR�[ƒh
-                    frm2.ReqSumCompany = nCompnyCode;
-                    //frm2.Location = CommonMotions.SetFormPosion(this.Location);
-                    frm2.ShowDialog();
-                    // �I—¹ƒR�[ƒhŠm”F
-                    if (DialogResult.Cancel.Equals(frm2.EndButton)) return;
-                }
+                // ‘I‘ð–³‚µ‚Í�ˆ—�‚µ‚È‚¢
+                if (frm.ConstructionCode == 0) return;
+                nSelConstrCode = frm.ConstructionCode;
 
+                int[] nRowCol = new int[2];
+                Array.Clear(nRowCol, 0, nRowCol.Length);
                 int nNewMakeRowIndex = -1;
+                
                 if (rdbCompany.Checked)
-                {   // ----- ‹ÆŽÒ
-                    InsdgvCompany2Project(nCompnyCode, frm.ConstructionCode, frm.ConstructionName, ref nNewMakeRowIndex);
+                {
+                    // ‘ä’ •\Ž¦‚Í‹ÆŽÒ’PˆÊ‚Ì“ü—Í‚Ì‚Ý•\Ž¦‚·‚é
+                    if (!DispSelectLedger(nCompnyCode, nSelConstrCode, frm2, ref nRowCol)) return;
+                    // ----- ‹ÆŽÒ
+                    InsdgvCompany2Project(nCompnyCode, frm.ConstructionCode, frm.ConstructionName, nRowCol, ref nNewMakeRowIndex);
                 }
                 else if (rdbProject.Checked)
                 {   // ----- Œ»�ê
-                    InsdgvProject2Company(nCompnyCode, frm.ConstructionCode, frm.ConstructionName, ref nNewMakeRowIndex);
+                    InsdgvProject2Company(nCompnyCode, frm.ConstructionCode, frm.ConstructionName, nRowCol, ref nNewMakeRowIndex);
                 }
 
                 if (frm.ConstructionCode < 1) return;
 
-                // ‘I‘ð‚µ‚½�HŽ–‚Ì�HŽ–’S“–ŽÒ‚Ì•”��‹æ•ª‚ðŽæ“¾‚·‚é
-                ConstructionBaseInfo Cbi = new ConstructionBaseInfo();
-                PersonInChargeMaster Picm = new PersonInChargeMaster();
+                // ’�•¶�‘—X‘—�E’�•¶�‘•Ô‘—�E—\ŽZ�‘‚Ì’lŽæ“¾
                 StringBuilder sWhere = new StringBuilder();
-                sWhere.Append(IoCbi.CreatePrimarykeyString(frm.ConstructionCode));
-                if (!IoCbi.SelectAction(sWhere.ToString(), ref Cbi)) throw new Exception("�HŽ–Šî–{�î•ñŽæ“¾ƒGƒ‰�[");
-
-                sWhere.Clear();
-                sWhere.Append(IoMpic.CreatePrimarykeyString(Cbi.ConstructionPersonCode));
-                if (!IoMpic.SelectAction(sWhere.ToString(), ref Picm)) throw new Exception("’S“–ŽÒƒ}ƒXƒ^Žæ“¾ƒGƒ‰�[");
-
-                // ’�•¶�‘—X‘—�E’�•¶�‘•Ô‘—�E—\ŽZ�‘‚Ì’lŽæ“¾
                 ArrayList arData = new ArrayList();
                 if (!GetMarubatu(IoCbi, frm.ConstructionCode, ref arData)) throw new Exception("�HŽ–Šî–{�î•ñ�E�³”Fƒf�[ƒ^ƒGƒ‰�[");
 
-                // �³”FŽÒ�Ý’è
-                int iDefaultCount = 0;
-                if (!SetDefaultShonin(dgv, nNewMakeRowIndex, Picm.DepartmentCode, ref iDefaultCount)) throw new Exception("�‰Šú�³”FŽÒ’l�Ý’èƒGƒ‰�[");
-
-                // �³”F—ñ•\Ž¦
-                if (iDefaultCount > 0)
+                if (arData.Count != 0)
                 {
-                    for (int i = 0; i < iDefaultCount; i++)
-                    {
-                        dgv.Columns[(int)DispColumn.Shonin1 + (i * s_ShoninBlockCnt)].Visible = true;
-                    }
-                }
-
-                if (arData != null && arData.Count != 0)
-                {
                     // ’�•¶�‘’ñ�o�E’�•¶�‘“ž’…�E—\ŽZ�‘
                     object[] row = (object[])arData[0];
                     dgv.Rows[nNewMakeRowIndex].Cells[(int)DispColumn.CyuumonshoTeisyutu].Value = row[0];
@@ -1735,11 +1748,6 @@
                     dgv.Rows[nNewMakeRowIndex].Cells[(int)DispColumn.YosanSho].Value = row[2];
                 }
 
-                //’S“–ŽÒ�³”F�Ý’è
-                dgv.Rows[nNewMakeRowIndex].Cells[(int)DispColumn.TantoShoninCode].Value = Picm.PersonCode;
-                dgv.Rows[nNewMakeRowIndex].Cells[(int)DispColumn.TantoShonin].Value = Picm.PersonName;
-                dgv.Rows[nNewMakeRowIndex].Cells[(int)DispColumn.TantoShonin].Style.ForeColor = Color.Gray;
-
                 m_bChengeAns = true;
 
             }
@@ -1752,7 +1760,6 @@
                 frm.Dispose(); frm = null;
                 frm2.Dispose(); frm2 = null;
                 IoCbi.close(); IoCbi = null;
-                IoMpic.close(); IoMpic = null;
 
                 ResetNo();
             }
@@ -1759,6 +1766,80 @@
         }
         #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.ReqSumSelFlag = 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)
+        {
+            try
+            {
+                DataGridView dgv = getShowingView();
+
+                // ‘Î�Û‹ÆŽÒ‚ðŽæ“¾‚·‚é
+                DataGridViewRow[] SelRows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[m_Company_Column].Value) == nCompnyCode
+                                                                                && CommonMotions.cnvInt(x.Cells[m_Genba_Column].Value) == nSelConstrCode
+                                                                                && 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_Column].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_Column].Value);
+                    DataCurRec.ConstructionRowCnt = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.ConstructionLedgerDetailNo].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 ‹ÆŽÒƒOƒŠƒbƒhŒ»�ê’Ç‰Á�ˆ—�
         /// <summary>
         /// ‹ÆŽÒƒOƒŠƒbƒhŒ»�ê’Ç‰Á�ˆ—�
@@ -1766,8 +1847,10 @@
         private void InsdgvCompany2Project(int nCompanyCode
                                             , int nConstructionCode
                                             , string strConstructionName
+                                            , int[] nRowCol
                                             , ref int nNewMakeRowIndex)
         {
+            int MakeIndex = 0;
             try
             {
                 DataGridView dgv = getShowingView();
@@ -1775,14 +1858,25 @@
 
                 // ‹ÆŽÒ–¼‚ðŽæ“¾‚·‚é
                 string strCompnyName = string.Empty;
-                for (int i = CurRow.Index; i >= 0; i--)
+                DataGridViewRow[] CompNameRows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[m_Company_Column].Value) == nCompanyCode
+                                                                                && CommonMotions.cnvString(x.Cells[m_CompanyNM_Column].Value).Length > 0
+                                                                                && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×)
+                                                                            .ToArray();
+                strCompnyName = CommonMotions.cnvString(CompNameRows[0].Cells[m_CompanyNM_Column].Value);
+
+                // •s–¾�s‚ð‘I‘ð‚µ‚½�ê�‡‚Í�HŽ–‚ðƒZƒbƒg‚·‚é
+                if (nConstructionCode > 0
+                    && s_UnknownString.Equals(CommonMotions.cnvString(CurRow.Cells[m_GenbaNM_Column].Value)))
                 {
-                    if (CommonMotions.cnvInt(dgv.Rows[i].Cells[m_Company_Column].Value) != nCompanyCode) break;
-                    if (CommonMotions.cnvString(dgv.Rows[i].Cells[m_CompanyNM_Column].Value).Length > 0)
-                        strCompnyName = CommonMotions.cnvString(dgv.Rows[i].Cells[m_CompanyNM_Column].Value);
+                    MakeIndex = CurRow.Index;
+                    CurRow.Cells[m_Genba_Column].Value = nConstructionCode;
+                    CurRow.Cells[m_GenbaNM_Column].Value = strConstructionName;
+                    if (cnvRowState(CurRow.Cells[(int)DispColumn.RowState].Value) == DataRowState.Unchanged)
+                        CurRow.Cells[(int)DispColumn.RowState].Value = DataRowState.Modified;
+                    return;
                 }
 
-                // ‘I‘ð‹ÆŽÒ‚ªŠù‚É‚ ‚é‚©‚ð”»’è‚·‚é
+                // ‘I‘ð�HŽ–‚ªŠù‚É‚ ‚é‚©‚ð”»’è‚·‚é
                 DataGridViewRow[] SelRows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[m_Company_Column].Value) == nCompanyCode
                                                                                 && CommonMotions.cnvInt(x.Cells[m_Genba_Column].Value) == nConstructionCode
                                                                                 && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowVisible].Value) == (int)RowVisibleDef.Visible
@@ -1794,42 +1888,31 @@
                 if (SelRows.Count() > 0) bLastAdd = false;
                 if (nCompanyCode == 0) bLastAdd = false;
 
-                // •s–¾�s‚ð‘I‘ð‚µ‚½�ê�‡‚Í�HŽ–‚ðƒZƒbƒg‚·‚é
-                int MakeIndex = 0;
-                if (s_UnknownString.Equals(CommonMotions.cnvString(CurRow.Cells[m_GenbaNM_Column].Value))
-                    && nConstructionCode > 0)
+                if (bLastAdd)
                 {
-                    MakeIndex = CurRow.Index;
-                    CurRow.Cells[m_Genba_Column].Value = nConstructionCode;
-                    CurRow.Cells[m_GenbaNM_Column].Value = strConstructionName;
-                    if (cnvRowState(CurRow.Cells[(int)DispColumn.RowState].Value) == DataRowState.Unchanged)
-                        CurRow.Cells[(int)DispColumn.RowState].Value = DataRowState.Modified;
+                    // ----- �¬Œv�s‚Ì�ã‚É’Ç‰Á‚·‚é
+                    MakeIndex = SearchRowIndexCompany(nCompanyCode, false) + 1;
                 }
                 else
                 {
-                    if (bLastAdd)
-                    {
-                        // ----- �¬Œv�s‚Ì�ã‚É’Ç‰Á‚·‚é
-                        MakeIndex = SearchRowIndexCompany(nCompanyCode, false) + 1;
-                    }
-                    else
-                    {
-                        // ----- ‘¶�Ý‹ÆŽÒ‚Ì�ÅŒã‚É’Ç‰Á‚·‚é
-                        int DataCnt = SelRows.Count();
-                        MakeIndex = SelRows[DataCnt].Index;
-                    }
+                    // ----- ‘¶�Ý‹ÆŽÒ‚Ì�ÅŒã‚É’Ç‰Á‚·‚é
+                    int DataCnt = SelRows.Count();
+                    MakeIndex = SelRows[DataCnt].Index;
+                }
 
-                    // �s�ì�¬
-                    MakeNewRow(nCompanyCode, strCompnyName, nConstructionCode, 0, ref MakeIndex, -1, MakeIndex, strConstructionName);
-                    dgv.Rows[MakeIndex].Cells[(int)DispColumn.RowState].Value = DataRowState.Added;
-                }
-                
-                nNewMakeRowIndex = MakeIndex;
+                // �s�ì�¬
+                MakeNewRow(nCompanyCode, strCompnyName, nConstructionCode, 0, nRowCol, ref MakeIndex, -1, MakeIndex, strConstructionName);
+                dgv.Rows[MakeIndex].Cells[(int)DispColumn.RowState].Value = DataRowState.Added;
+
             }
             catch (System.Exception ex)
             {
                 logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
             }
+            finally
+            {
+                nNewMakeRowIndex = MakeIndex;
+            }
         }
         #endregion
 
@@ -1837,7 +1920,11 @@
         /// <summary>
         /// Œ»�êƒOƒŠƒbƒhŒ»�ê’Ç‰Á�ˆ—�
         /// </summary>
-        private void InsdgvProject2Company(int nCompanyCode, int nConstructionCode, string strConstructionName, ref int nNewMakeRowIndex)
+        private void InsdgvProject2Company(int nCompanyCode
+                                            , int nConstructionCode
+                                            , string strConstructionName
+                                            , int[] nRowCol
+                                            , ref int nNewMakeRowIndex)
         {
             try
             {
@@ -1844,18 +1931,31 @@
                 DataGridView dgv = getShowingView();
                 DataGridViewRow CurRow = dgv.CurrentRow;
 
+
+                // •s–¾�s‚ð‘I‘ð‚µ‚½�ê�‡‚Í�HŽ–‚ðƒZƒbƒg‚·‚é
+                if (nConstructionCode > 0
+                    && s_UnknownString.Equals(CommonMotions.cnvString(CurRow.Cells[m_GenbaNM_Column].Value)))
+                {
+                    nNewMakeRowIndex = CurRow.Index;
+                    CurRow.Cells[m_Genba_Column].Value = nConstructionCode;
+                    CurRow.Cells[m_GenbaNM_Column].Value = strConstructionName;
+                    if (cnvRowState(CurRow.Cells[(int)DispColumn.RowState].Value) == DataRowState.Unchanged)
+                        CurRow.Cells[(int)DispColumn.RowState].Value = DataRowState.Modified;
+                    return;
+                }
+
                 // Šù‚É�HŽ–‚ª‚ ‚é‚©‚Ìƒ`ƒFƒbƒN
-                DataGridViewRow[] Rows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[m_Genba_Column].Value) == nConstructionCode)
+                DataGridViewRow[] Rows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[m_Genba_Column].Value) == nConstructionCode
+                                                                                && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×)
                                                                         .ToArray();
 
                 bool bLastAdd = true;
                 if (Rows.Count() > 0) bLastAdd = false;
 
-                int MakeIndex = 0;
 
-                    // ----- Šù‚É‚ ‚é�ê�‡
                 if (!bLastAdd)
                 {
+                    // ----- Šù‚É‚ ‚é�ê�‡
                     if (cnvRowState(Rows[0].Cells[(int)DispColumn.RowState].Value) == DataRowState.Deleted)
                     {
                         // ----- �í�œ‚³‚ê‚Ä‚¢‚½�ê�‡
@@ -1863,7 +1963,7 @@
                         Rows[0].Visible = true;
 
                         Rows[0].Cells[m_Company_Column].Value = 0;
-                        Rows[0].Cells[m_Company_DispColumn].Value = string.Empty;
+                        Rows[0].Cells[m_Company_DispColumn].Value = 0;
                         Rows[0].Cells[m_CompanyNM_Column].Value = s_UnknownString;
                         Rows[0].Cells[m_CompanyNM_Column].ToolTipText = s_UnknownString;
                         Rows[0].Cells[m_Genba_Column].Value = nConstructionCode;
@@ -1871,26 +1971,25 @@
                         Rows[0].Cells[m_GenbaNM_Column].ToolTipText = strConstructionName;
 
                         nNewMakeRowIndex = Rows[0].Index;
-                        return;
                     }
-
+                    return;
                 }
-                else
-                {
-                    // ----- �V‹K�s
-                    MakeIndex = SearchRowIndexProject(nConstructionCode, false);
-                    
-                    // �s�ì�¬
-                    MakeNewRow(0, string.Empty, nConstructionCode, 0, ref MakeIndex, -1, -1, strConstructionName);
-                    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);
-                }
+                int MakeIndex = 0;
+                // ----- �V‹K�s
+                MakeIndex = SearchRowIndexProject(nConstructionCode, false);
 
+                // �s�ì�¬
+                MakeNewRow(0, string.Empty, nConstructionCode, 0, nRowCol, ref MakeIndex, -1, -1, strConstructionName);
+                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)
@@ -2837,7 +2936,7 @@
                 bool Pettition = false;
                 if (!m_FirstFlg)
                 {
-                    Pettition = ClsApprovalPermission.CheckPersonPetition(m_PaymentPersonCode, ApprovalCode, m_OrderDate, (int)CommonDefine.s_Default_OrderNo);
+                    Pettition = ClsApprovalPermission.CheckPersonPetition(m_PaymentPersonCode, ApprovalCode, m_OrderDate, m_ParaTargetSeqNo);
                 }
                 // ƒ�ƒOƒCƒ“ŽÒ‚ª�³”FŽÒ‚©‚ðŠm”F‚·‚é
                 bool Approvaler = ClsApprovalPermission.CheckUserForApprover(ApprovalCode, DepartmentCode);
@@ -2977,7 +3076,7 @@
 
                 //int ApprovalNo = 0;
                 //int ApprovalPerson = 0;
-                //int PettionPerson = 0;
+                int PettionPerson = GetConstrPersonCode();
                 string ApprovalPersonName = string.Empty;
                 //int ApprovalAuthority = 0;
                 DateTime dtApproval = DateTime.MinValue;
@@ -2993,41 +3092,16 @@
                     SeqNo = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.GroupSeqNo].Value);
                     if (CompanyCode == 0) continue;
 
-                    //// �\�¿Žž‚Í�\�¿‘Î�Û‚Ì‚ÝƒZƒbƒg‚·‚é
-                    //if (bPettion)
-                    //{
-                    //    PettionPerson = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.TantoShoninCode].Value);
-                    //    if (PettionPerson != CommonMotions.LoginUserData.PersonCode) continue;
-                    //}
+                    // �\�¿‘Î�Û‚Ì‚ÝƒZƒbƒg‚·‚é
+                    if (PettionPerson != CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.TantoShoninCode].Value)) continue;
 
-                    //for (int i = (int)DispColumn.Shonin1Code; i < (int)DispColumn.Bikou; i += s_ShoninBlockCnt)
-                    //{
+                    PaymentApprovalInfo DataRec = new PaymentApprovalInfo();
+                    DataRec.CompanyCode = CompanyCode;                  // ‹¦—Í‰ïŽÐƒR�[ƒh
+                    DataRec.TargetDate = m_Select_TargetDate;           // ‘Î�Û”NŒŽ
+                    DataRec.SeqNo = SeqNo;                              // ˜A”Ô
+                    DataRec.LineCount = LineCount;                      // �s”Ô�†
 
-                    //    ApprovalNo = CommonMotions.cnvInt(CurRow.Cells[i + s_ShoninNoCnt].Value);
-                    //    ApprovalPerson = CommonMotions.cnvInt(CurRow.Cells[i].Value);
-                    //    ApprovalPersonName = CommonMotions.cnvString(CurRow.Cells[i + s_ShoninPersonNameCnt].Value);
-                    //    ApprovalAuthority = CommonMotions.cnvInt(CurRow.Cells[i + s_ShoninAuthorityCnt].Value);
-                    //    dtApproval = CommonMotions.cnvDate(CurRow.Cells[i + s_ShoninDateCnt].Value);
-                    //    if (ApprovalPerson == 0) continue;
-
-                    //    // �\�¿ŽžˆÈŠO‚Í‘Î�Û‚Ì‚ÝƒZƒbƒg‚·‚é
-                    //    if (!bPettion && (ApprovalPerson != CommonMotions.LoginUserData.PersonCode)) continue;
-                        //if (ApprovalPerson != CommonMotions.LoginUserData.PersonCode) continue;
-
-                        PaymentApprovalInfo DataRec = new PaymentApprovalInfo();
-                        DataRec.CompanyCode = CompanyCode;                  // ‹¦—Í‰ïŽÐƒR�[ƒh
-                        DataRec.TargetDate = m_Select_TargetDate;           // ‘Î�Û”NŒŽ
-                        DataRec.SeqNo = SeqNo;                              // ˜A”Ô
-                        DataRec.LineCount = LineCount;                      // �s”Ô�†
-
-                        //DataRec.ApprovalNo = ApprovalNo;                    // �³”F�‡�˜
-                        //DataRec.ApprovalPerson = ApprovalPerson;            // �³”FŽÒ”Ô�†
-                        //DataRec.ApprovalPersonName = ApprovalPersonName;    // �³”FŽÒ–¼
-                        //DataRec.ApprovalAuthority = ApprovalAuthority;      // �³”FŒ ŒÀ
-                        //DataRec.ApprovalDate = dtApproval;                  // �³”F“ú•t
-
-                        DataList.Add(DataRec);
-                    //}
+                    DataList.Add(DataRec);
                 }
             }
             catch (Exception ex)
@@ -3037,6 +3111,26 @@
         }
         #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
@@ -3051,22 +3145,52 @@
                 // •”���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)
                 {
-                    MessageBox.Show("•”���E’S“–ŽÒ‚ª‘I‘ð‚³‚ê‚Ä‚¢‚Ü‚¹‚ñ", "‘I‘ðƒGƒ‰�["
-                                        , MessageBoxButtons.OK, MessageBoxIcon.Error);
-                    return false;
+                    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)
                 {
-                    MessageBox.Show("•”��‚ª‘I‘ð‚³‚ê‚Ä‚¢‚Ü‚¹‚ñ", "‘I‘ðƒGƒ‰�["
-                                        , MessageBoxButtons.OK, MessageBoxIcon.Error);
-                    return false;
+                    cBackColor[0] = Color.Red;
+                    cForeColor[0] = Color.White;
+                    strMessage = "•”��‚ª‘I‘ð‚³‚ê‚Ä‚¢‚Ü‚¹‚ñ�B";
+                    bAns = false;
                 }
                 else if (SelDepCode != 0 && SelPersonCode == 0)
                 {
-                    MessageBox.Show("’S“–ŽÒ‚ª‘I‘ð‚³‚ê‚Ä‚¢‚Ü‚¹‚ñ", "‘I‘ðƒGƒ‰�["
-                                        , MessageBoxButtons.OK, MessageBoxIcon.Error);
+                    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;
+                }
+
+                DataGridView 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;
                 }
 
@@ -3630,9 +3754,9 @@
                         }
                     }
 
+                    // �³”F�Ï‚Í�A�s‘S�€–Ú•Ò�W•s‰Â
                     if (CommonMotions.cnvInt(work[(int)ClickGetData.ApprovalEndFlg]) == 1)
                     {
-                        // �Å�I�³”FŽÒ‚É‚æ‚Á‚Ä�³”F‚³‚ê‚Ä‚¢‚é�ê�‡‚Í�A�s‘S�€–Ú•Ò�W•s‰Â
                         dgv.Rows[icnt].ReadOnly = true;
                         // �F‚à•Ï‚¦‚é
                         for (int iCol = (int)DispColumn.CompanyDispOrder; iCol < (int)DispColumn.Shonin1Code; iCol++)
@@ -3767,6 +3891,7 @@
                 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();
@@ -3794,19 +3919,26 @@
                     BreakKey1 = CommonMotions.cnvInt(objRec[(int)ClickGetData.COMPANYCODE]);
                     BreakKey2 = CommonMotions.cnvInt(objRec[(int)ClickGetData.CONSTRUCTIONCODE]);
                     BreakKey3 = CommonMotions.cnvInt(objRec[(int)ClickGetData.ConstructionLedgerDetailNo]);
+                    // •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) break;
                     ReadCnt = ix;
 
-                    dgv.Rows[LineCnt].Cells[ColCnt++].Value = CommonMotions.cnvInt(objRec[(int)ClickGetData.AppM_ApprovalPerson]);
+                    // �\�¿–³‚Í•\Ž¦‚µ‚È‚¢
+                    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]);
+                        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]);
+                        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++;
 
@@ -4200,131 +4332,17 @@
         }
         #endregion
 
-        #region ’S“–ŽÒ�³”F‰æ–Ê‚©‚ç‚Ì‘JˆÚŽžSQL�ì�¬
+        #region �¿‹�‚Ü‚Æ‚ßƒf�[ƒ^“Ç�žSQL�ì�¬(�V‹K)
         /// <summary>
-        /// ’S“–ŽÒ�³”F‰æ–Ê‚©‚ç‚Ì‘JˆÚŽžSQL�ì�¬
+        /// �¿‹�‚Ü‚Æ‚ßƒf�[ƒ^“Ç�žSQL�ì�¬(�V‹K)
         /// </summary>
         /// <param name="PaInfo"></param>
         /// <param name="sql"></param>
-        private void CreateSQLType1(PaymentApprovalInfo PaInfo, ref StringBuilder sql)
-        {
-            try
-            {
-                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("  , Scm.DisplayOrder as DisplayOrder ");
-                sql.Append("  , Bdd.ConstructionCode as ConstructionCode ");
-                sql.Append("  , case Bdd.FieldName ");
-                sql.AppendFormat("    when '{0}' then Cbd.DetailString", s_UnknownString);
-                sql.Append("    else  Bdd.FieldName");
-                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') as ApprovalDate ");
-                sql.Append("  , ifnull(Pdd.ApprovalEndFlg, 0) as ApprovalEndFlg ");
-                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 ");
-                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 case Cld.ConstructionCode ");
-                sql.Append("      when 0 then '' ");
-                sql.Append("      else '�~' ");
-                sql.Append("      end ");
-                sql.Append("    else '�›' ");
-                sql.Append("    end as PaData ");
-                sql.Append("  , Bdd.CONSTRUCTIONROWCNT as LinePoint ");
-                sql.Append("  , Bdd.CONSTRUCTIONCOLCNT as ColPoint  ");
-                sql.Append(" From BillingData as Bd");
-                sql.Append("    join ( BillingDataDetail as Bdd");
-                sql.Append("       left join SubContractorMaster as Scm ");
-                sql.Append("           on Bdd.CompanyCode = Scm.CompanyCode ");
-                sql.AppendFormat("     and Scm.LabourKind = {0} ", m_Labourkind);
-                sql.Append("       join (PaymentDataDetail as Pdd ");
-                sql.Append("             left join PersonInChargeMaster as Picm ");
-                sql.Append("               on ifnull(Pdd.ApprovalPersonCode, -1) = Picm.PersonCode) ");
-                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.AppendFormat(" and Pdd.ApprovalPersonCode = {0} ", PaInfo.ApprovalPerson);
-                sql.AppendFormat(" and DATE_FORMAT(Pdd.ApprovalDate, '%Y%m') = {0} ", PaInfo.ApprovalDate.ToString("yyyyMM"));
-                sql.Append("       left join (ConstructionBaseInfo as Cbi ");
-                sql.Append("           left join (PersonInChargeMaster as Picm2 ");
-                sql.Append("               left join ApprovalMaster as Am ");
-                sql.Append("                  on Picm2.DepartmentCode = Am.DepartmentCode ");
-                sql.AppendFormat("            and Am.ApprovalCode = {0}) ", (int)ClsExcute.ApprovalListNo.ConstructionBudgetApproval);
-                sql.Append("           on Cbi.ConstructionPersonCode = Picm2.PersonCode ");
-                sql.Append("           left join ConstructionBaseinfoDetail as Cbd");
-                sql.Append("                   on Cbd.ConstructionCode = Cbi.ConstructionCode ");
-                sql.AppendFormat("             and Cbd.DetailNo = {0} ", (int)ConstructionBaseInfoDetail.DataNoDef.ConstructionName);
-                sql.Append("           left join ProcessApproval as Pa ");
-                sql.Append("               on Cbi.ConstructionCode = Pa.ConstructionCode ");
-                sql.AppendFormat("         and Pa.ApprovalCode = {0}", (int)ClsExcute.ApprovalListNo.ConstructionBudgetApproval);
-                sql.Append("               and Pa.PersonCode = Picm2.PersonCode");
-                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("    and Bd.TargetDate = Pdd.TargetDate ");
-                sql.Append("    left join (PurchaseOrderDate as Pod)");
-                sql.Append("         on Bd.CompanyCode = Pod.CompanyCode ");
-                sql.Append("         and Bdd.ConstructionCode = Pod.ConstructionCode ");
-
-                // Group Set
-                SetSQLGroup(ref sql);
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region ƒ�ƒjƒ…�[‰æ–Ê‚©‚ç‚Ì‘JˆÚŽžSQL�ì�¬(�V‹K)
-        /// <summary>
-        /// ƒ�ƒjƒ…�[‰æ–Ê‚©‚ç‚Ì‘JˆÚŽžSQL�ì�¬(�V‹K)
-        /// </summary>
-        /// <param name="PaInfo"></param>
-        /// <param name="sql"></param>
         private void CreateSQLType2Newly(ref StringBuilder sql)
         {
             try
             {
-                int DefaultCol = Enum.GetNames(typeof(FrmConstructionLedger.GridColumn)).Length - 1;
+                int DefaultCol = ClsChangeLedgerData.GetLedgerColumnCount();
                 int Appcode = 0;
                 if (m_Labourkind == (int)CommonDefine.LabourKinds.Labor)
                     Appcode = (int)ClsExcute.ApprovalListNo.FeePayment;
@@ -4354,8 +4372,8 @@
                 sql.Append("  , 0 as KojiSannhaiZei ");
                 sql.Append("  , 0 as CnstrPrice ");
                 sql.Append("  , -1 as CnstrPriceExist ");
-                sql.Append("  , Cbi.ConstructionPersonCode as ApprovalPersonCode ");
-                sql.Append("  , ifnull(Picm.SealPrintName, '') as TantoNM ");
+                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");
@@ -4550,7 +4568,7 @@
                 sql.Append("  , AppM.ApprovalAuthority As M13  ");
 
                 sql.Append(" From BillingData as Bd");
-                sql.Append("       join (BillingDataDetail as Bdd");
+                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)");
@@ -4560,7 +4578,7 @@
                 sql.Append("           and Bdd.SeqNo = Pdd.SeqNo ");
                 sql.Append("           and Bdd.LineCount = Pdd.LineCount ");
 
-                sql.Append("       inner join (ConstructionBaseInfo as Cbi ");
+                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 ");
@@ -4613,11 +4631,12 @@
                 sql.Append("        And PayApp.SEQNO = Pdd.SEQNO");
                 sql.Append("        And PayApp.LINECOUNT = Pdd.LINECOUNT");
                 sql.Append("        And PayApp.APPROVALPERSON = AppM.ApprovalPerson");
-                sql.Append("         , SubContractorMaster as Scm ");
 
+                sql.Append("     Left 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);
-                sql.Append(" And Bdd.CompanyCode = Scm.CompanyCode ");
-                sql.AppendFormat(" And Scm.LabourKind = {0} ", m_Labourkind);
 
             }
             catch (Exception ex)
@@ -4870,817 +4889,6 @@
         }
         #endregion
 
-        #region �sƒf�[ƒ^�í�œ�ˆ—�
-        /// <summary>
-        /// �sƒf�[ƒ^�í�œ�ˆ—�
-        /// </summary>
-        /// <returns></returns>
-        private bool DataDeleteProcess(IOBillingData IoBd,
-                                        IOBillingDataDetail IoBdD,
-                                        IOPaymentDataDetail IoPdD,
-                                        IOPaymentApprovalInfo IoPaI,
-                                        int TargetDate)
-        {
-            try
-            {
-                DataGridView 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_Column].Value),
-                                                               SeqNo = CommonMotions.cnvInt(c.Cells[(int)DispColumn.GroupSeqNo].Value)
-                                                           })
-                                                           .ToArray();
-
-                int iCompanyCode = 0;
-                int iSeqNo = 0;
-                int iLineCount = 0;
-                StringBuilder strWhere = new StringBuilder();
-                List<BillingData> BdList = new List<BillingData>();
-                List<BillingDataDetail> BdDList = new List<BillingDataDetail>();
-                List<PaymentDataDetail> PdDList = new List<PaymentDataDetail>();
-                List<PaymentApprovalInfo> PaIList = new List<PaymentApprovalInfo>();
-                foreach (var r in rows)
-                {
-                    // �í�œ�@•K—v�s’Š�o�i�í�œ‚ª•K—v‚È‹ÆŽÒ�A˜A”Ô‚ð‘S‚Ä�í�œ�A•K—v‚È�s‚Ì�s”Ô�†‚ð�U‚è‚È‚¨‚·�j
-                    DataGridViewRow[] DeleteRows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×
-                                                                                            && CommonMotions.cnvInt(x.Cells[m_Company_Column].Value) == r.Key.CompanyCode
-                                                                                            && CommonMotions.cnvInt(x.Cells[(int)DispColumn.GroupSeqNo].Value) == r.Key.SeqNo)
-                                                                                   .OrderBy(y => CommonMotions.cnvInt(y.Cells[m_Company_Column].Value))
-                                                                                   .ThenBy(y1 => CommonMotions.cnvInt(y1.Cells[(int)DispColumn.GroupSeqNo].Value))
-                                                                                   .ThenBy(y2 => CommonMotions.cnvInt(y2.Cells[(int)DispColumn.LineCount].Value))
-                                                                                   .ToArray();
-                    iCompanyCode = 0;
-                    iSeqNo = 0;
-                    iLineCount = 0;
-                    int iNewLineCount = 1;
-                    foreach (DataGridViewRow delr in DeleteRows)
-                    {
-                        if (iCompanyCode == 0 || iSeqNo == 0)
-                        {
-                            iCompanyCode = CommonMotions.cnvInt(delr.Cells[m_Company_Column].Value);
-                            iSeqNo = CommonMotions.cnvInt(delr.Cells[(int)DispColumn.GroupSeqNo].Value);
-
-                            // ‹Æ–±�¿‹�ƒf�[ƒ^
-                            // ƒ�ƒbƒN
-                            if (!IoBd.RowLock(iCompanyCode, TargetDate, iSeqNo, false))
-                            {
-                                throw new Exception("‹Æ–±�¿‹�ƒf�[ƒ^�F‘¼‚Ìƒ†�[ƒU‚Å•Ò�W’†‚Ì‚½‚ß�A�ˆ—�‚Å‚«‚Ü‚¹‚ñ�B");
-                            }
-
-                            // �í�œ�i‹Æ–±�¿‹�ƒf�[ƒ^�j
-                            strWhere.Clear();
-                            strWhere.Append(IoBd.CreatePrimarykeyString(iCompanyCode, TargetDate, iSeqNo));
-                            BdList.Clear();
-                            if (IoBd.SelectAction(strWhere.ToString(), ref BdList, false) && BdList.Count > 0)
-                            {
-                                if (!IoBd.DeleteAction(strWhere.ToString(), false))
-                                {
-                                    throw new Exception("‹Æ–±�¿‹�ƒf�[ƒ^�F�í�œ‚ÉŽ¸”s‚µ‚Ü‚µ‚½�B");
-                                }
-                            }
-                        }
-
-                        // �sƒJƒEƒ“ƒgŽæ“¾
-                        iLineCount = CommonMotions.cnvInt(delr.Cells[(int)DispColumn.LineCount].Value);
-
-                        // ’Ç‰Á�sˆÈŠO‚ð�í�œ‚·‚é
-                        if (cnvRowState(delr.Cells[(int)DispColumn.RowState].Value) != DataRowState.Added)
-                        {
-                            // ‹Æ–±–¾�×ƒf�[ƒ^
-                            // ƒ�ƒbƒN
-                            if (!IoBdD.RowLock(iCompanyCode, TargetDate, iSeqNo, iLineCount, false))
-                            {
-                                throw new Exception("‹Æ–±�¿‹�–¾�×ƒf�[ƒ^�F‘¼‚Ìƒ†�[ƒU‚Å•Ò�W’†‚Ì‚½‚ß�A�ˆ—�‚Å‚«‚Ü‚¹‚ñ�B");
-                            }
-
-                            // ƒf�[ƒ^�X�V
-                            strWhere.Clear();
-                            strWhere.Append(IoBdD.CreatePrimarykeyString(iCompanyCode, TargetDate, iSeqNo, iLineCount));
-                            BdDList.Clear();
-                            if (IoBdD.SelectAction(strWhere.ToString(), ref BdDList, false) && BdDList.Count > 0)
-                            {
-                                if (!IoBdD.DeleteAction(strWhere.ToString(), false))
-                                {
-                                    throw new Exception("‹Æ–±�¿‹�–¾�×ƒf�[ƒ^�F�í�œ‚ÉŽ¸”s‚µ‚Ü‚µ‚½�B");
-                                }
-                            }
-
-                            // Žx•¥–¾�×ƒf�[ƒ^
-                            strWhere.Clear();
-                            strWhere.Append(IoPdD.CreatePrimarykeyString(iCompanyCode, TargetDate, iSeqNo, iLineCount));
-                            // ƒf�[ƒ^Šm”F
-                            PdDList.Clear();
-                            if (!IoPdD.SelectAction(strWhere.ToString(), ref PdDList, false) && PdDList.Count > 0)
-                            {
-                                // ƒ�ƒbƒN
-                                if (!IoPdD.RowLock(iCompanyCode, TargetDate, iSeqNo, iLineCount, false))
-                                {
-                                    throw new Exception("Žx•¥–¾�×ƒf�[ƒ^�F‘¼‚Ìƒ†�[ƒU‚Å•Ò�W’†‚Ì‚½‚ß�A�ˆ—�‚Å‚«‚Ü‚¹‚ñ�B");
-                                }
-
-                                // ƒf�[ƒ^�X�V
-                                if (!IoPdD.DeleteAction(strWhere.ToString(), false))
-                                {
-                                    throw new Exception("Žx•¥–¾�×ƒf�[ƒ^�F�í�œ‚ÉŽ¸”s‚µ‚Ü‚µ‚½�B");
-                                }
-                            }
-
-                            // Žx•¥�³”F�î•ñƒf�[ƒ^
-                            strWhere.Clear();
-                            strWhere.Append(IoPaI.CreatePrimarykeyString(iCompanyCode, TargetDate, iSeqNo, iLineCount, -1));
-                            // ƒf�[ƒ^Šm”F
-                            PaIList.Clear();
-                            if (!IoPaI.SelectAction(strWhere.ToString(), ref PaIList, false) && PaIList.Count > 0)
-                            {
-                                // ƒ�ƒbƒN
-                                if (!IoPdD.RowLock(iCompanyCode, TargetDate, iSeqNo, iLineCount, false))
-                                {
-                                    throw new Exception("Žx•¥�³”F�î•ñƒf�[ƒ^�F‘¼‚Ìƒ†�[ƒU‚Å•Ò�W’†‚Ì‚½‚ß�A�ˆ—�‚Å‚«‚Ü‚¹‚ñ�B");
-                                }
-
-                                // ƒf�[ƒ^�X�V
-                                if (!IoPdD.DeleteAction(strWhere.ToString(), false))
-                                {
-                                    throw new Exception("Žx•¥�³”F�î•ñƒf�[ƒ^�F�í�œ‚ÉŽ¸”s‚µ‚Ü‚µ‚½�B");
-                                }
-                            }
-                        }
-
-                        // �s”Ô�†‚ð�U‚è‚È‚¨‚·
-                        if (cnvRowState(delr.Cells[(int)DispColumn.RowState].Value) != DataRowState.Deleted)
-                        {
-                            delr.Cells[(int)DispColumn.LineCount].Value = iNewLineCount;
-                            iNewLineCount++;
-                        }
-                    }
-                }
-
-                return true;
-            }
-            catch (Exception ex)
-            {
-                MessageBox.Show(ex.Message, "“o˜^ƒGƒ‰�[", MessageBoxButtons.OK, MessageBoxIcon.Error);
-                return false;
-            }
-        }
-        #endregion
-
-        #region ƒf�[ƒ^“o˜^�i‹Œ�j
-        /// <summary>
-        /// ƒf�[ƒ^“o˜^�i‹Œ�j
-        /// </summary>
-        private bool DataEntryProcess_OLD()
-        {
-
-            IOBillingData IoBd = new IOBillingData();
-            IOBillingDataDetail IoBdD = new IOBillingDataDetail();
-            IOPaymentDataDetail IoPdD = new IOPaymentDataDetail();
-            IOPaymentApprovalInfo IoPaI = new IOPaymentApprovalInfo();
-            IOBillingPaymentSummary IoBps = new IOBillingPaymentSummary();
-            IOConstructionLedgerDetail IoDetail = new IOConstructionLedgerDetail();
-            IOConstructionLedgerExcute IoExec = new IOConstructionLedgerExcute();
-
-            DataGridView dgv = getShowingView();
-
-            List<BillingData> BdList = new List<BillingData>();
-            List<BillingDataDetail> BdDList = new List<BillingDataDetail>();
-            List<PaymentDataDetail> PdDList = new List<PaymentDataDetail>();
-            List<BillingPaymentSummary> BpsList = new List<BillingPaymentSummary>();
-            ArrayList CleEntryList = new ArrayList();
-
-            BillingData BdWork = new BillingData();
-            BillingDataDetail BdDWork;
-            PaymentDataDetail PdDWork;
-            BillingPaymentSummary BpsWork = new BillingPaymentSummary();
-
-            int iCompanyCode = 0, iSeqNo = 0, iLineCount = 0, iLineMax = 0;
-            int iTantoShoninCount = 0;
-            bool bBdData = false;
-            bool bDeleteData = false;
-            bool bMakeBpsData = false;
-            bool bDeleteBpsData = false;
-
-            string strBdWhere = "";
-            string strBdDWhere = "";
-            string strPdDWhere = "";
-            string strBpsWhere = "";
-
-            StringBuilder strWhere = new StringBuilder();
-            StringBuilder MaxLineNoSql = new StringBuilder();
-            try
-            {
-                // ƒvƒ�ƒOƒŒƒX•\Ž¦�§Œä
-                ProgressBarCtrl(true);
-
-                // ˆê’UƒZƒ‹‚Ì’l•Ï�XƒCƒxƒ“ƒg‚ð–³Œø‚É‚·‚é
-                dgv.CellValueChanged -= DataGridView_CellValueChanged;
-
-                DataProgressBar.Maximum = dgv.RowCount + 6;
-                DataProgressBar.Value = 0;
-
-                int TargetDate = CommonMotions.cnvInt(cmbTargetMonth.SelectedValue);
-
-                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();
-
-                // �í�œ�ˆ—�ŽÀ�sƒtƒ‰ƒO
-                bool bError = false;
-                bDeleteData = CheckDataDelete(IoBdD, ref  BdDList, bError);
-                if (bError) return false;
-
-                DataProgressBar.Value++;
-                DataProgressBar.Update();
-
-                try
-                {
-
-                    // �í�œ
-                    if (bDeleteData == true)
-                    {
-                        if (!DataDeleteProcess(IoBd, IoBdD, IoPdD, IoPaI, TargetDate))
-                        {
-                            // RollBack
-                            DataEntryRollBack(IoBd, IoBdD, IoPdD, IoPaI, IoBps, IoDetail, IoExec);
-                            return false;
-                        }
-                    }
-                    DataProgressBar.Value++;
-                    DataProgressBar.Update();
-
-                    // •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.Added
-                                                                                        || cnvRowState(x.Cells[(int)DispColumn.RowState].Value) == DataRowState.Modified))
-                                                                             .OrderBy(y => y.Cells[m_Company_Column].Value)
-                                                                             .ThenBy(y1 => y1.Cells[(int)DispColumn.GroupSeqNo].Value)
-                                                                             .ThenBy(y2 => y2.Cells[(int)DispColumn.LineCount].Value)
-                                                                             .ToArray();
-
-                    iCompanyCode = 0;
-                    iSeqNo = 0;
-                    iLineCount = 0;
-                    iLineMax = 0;
-
-                    int NowCompanyCode = 0;
-                    int NowSeqNo = 0;
-                    foreach (DataGridViewRow r in Rows)
-                    {
-                        // ‰ïŽÐƒR�[ƒh�E˜A”ÔŽæ“¾
-                        NowCompanyCode = CommonMotions.cnvInt(r.Cells[m_Company_Column].Value);
-                        NowSeqNo = CommonMotions.cnvInt(r.Cells[(int)DispColumn.GroupSeqNo].Value);
-
-                        // ‹ÆŽÒƒR�[ƒh�A‚Ü‚½‚Í˜A”Ô‚ªˆÙ‚È‚é�ê�‡
-                        if (iCompanyCode != NowCompanyCode || iSeqNo != NowSeqNo)
-                        {
-
-                            if (bBdData == true)
-                            {
-                                int lSoumuBillGoukei = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[m_Company_Column].Value) == iCompanyCode
-                                                                                                && CommonMotions.cnvInt(x.Cells[(int)DispColumn.GroupSeqNo].Value) == iSeqNo)
-                                                                                       .Sum(y => CommonMotions.cnvInt(y.Cells[(int)DispColumn.SomuSeikyu].Value));
-                                // ƒf�[ƒ^‚Ì’l‚ÆƒOƒŠƒbƒhƒrƒ…�[‚Ì’l‚ðƒ`ƒFƒbƒN
-                                if (BdWork.BillPrice != lSoumuBillGoukei)
-                                {
-                                    // ƒ�ƒbƒN
-                                    if (!IoBd.RowLock(iCompanyCode, TargetDate, iSeqNo, false))
-                                    {
-                                        throw new Exception("‹Æ–±�¿‹�ƒf�[ƒ^�F‘¼‚Ìƒ†�[ƒU‚Å•Ò�W’†‚Ì‚½‚ß�A�ˆ—�‚Å‚«‚Ü‚¹‚ñ�B");
-                                    }
-                                    BdWork.BillPrice = lSoumuBillGoukei;
-                                    // �X�V�i‹Æ–±�¿‹�ƒf�[ƒ^�j
-                                    if (!IoBd.UpdateAction(strBdWhere, BdWork, false))
-                                    {
-                                        throw new Exception("‹Æ–±�¿‹�ƒf�[ƒ^�F�X�V‚ÉŽ¸”s‚µ‚Ü‚µ‚½�B");
-                                    }
-                                }
-                            }
-
-                            // ‹ÆŽÒ�¿‹�ƒf�[ƒ^
-                            bBdData = false;
-                            strBdWhere = IoBd.CreatePrimarykeyString(NowCompanyCode, TargetDate, NowSeqNo);
-                            BdList.Clear();
-
-                            // ƒf�[ƒ^Šm”F
-                            if (!IoBd.SelectAction(strBdWhere, ref BdList, false))
-                            {
-                                throw new Exception("‹ÆŽÒ�¿‹�ƒf�[ƒ^�F“o˜^Šm”F‚ÉŽ¸”s‚µ‚Ü‚µ‚½�B");
-                            }
-
-                            BdWork = new BillingData();
-
-                            // �V‹K�i‹Æ–±�¿‹�ƒf�[ƒ^�j
-                            if (BdList.Count == 0)
-                            {
-                                iLineMax = 0; // �V‹K‚È‚Ì‚Å0‚ð�Ý’è
-                                BdWork.CompanyCode = NowCompanyCode;
-                                BdWork.TargetDate = TargetDate;
-                                BdWork.SeqNo = iSeqNo != 0 ? iSeqNo : NowSeqNo;
-                                BdWork.BillPrice = GetSeqGoukei(dgv, BdWork.CompanyCode, BdWork.SeqNo, DispColumn.SomuSeikyu);
-
-                                BdList.Clear();
-                                BdList.Add(BdWork);
-
-                                if (!IoBd.InsertAction(BdList, false))
-                                {
-                                    throw new Exception("‹ÆŽÒ�¿‹�ƒf�[ƒ^�F’Ç‰Á�X�V‚ÉŽ¸”s‚µ‚Ü‚µ‚½�B");
-                                }
-                            }
-                            else
-                            {
-                                // �s”Ô�†‚Ì�Å‘å‚ð�Ý’è
-                                MaxLineNoSql.Clear();
-                                MaxLineNoSql.AppendFormat(" where COMPANYCODE = {0}", iCompanyCode != 0 ? iCompanyCode : NowCompanyCode);
-                                MaxLineNoSql.AppendFormat(" and TARGETDATE = {0}", TargetDate);
-                                iLineMax = IoBdD.SelectMaxLineNo(IoBdD, MaxLineNoSql.ToString(), false);
-                                bBdData = true;
-                                BdWork.BillPrice = BdList[0].BillPrice;
-                            }
-
-
-                            // ‹ÆŽÒƒR�[ƒh‚ª•Ï‚í‚éŽž‚Ì‚Ý
-                            if (iCompanyCode != NowCompanyCode)
-                            {
-                                // ‹ÆŽÒ�¿‹�Žx•¥ƒTƒ}ƒŠ�[ƒf�[ƒ^-----------------------------------------------
-                                if (bMakeBpsData == true)
-                                {
-                                    BillingPaymentSummary_DataEntry(dgv,
-                                                                    iCompanyCode != 0 ? iCompanyCode : NowCompanyCode,
-                                                                    bDeleteBpsData,
-                                                                    iTantoShoninCount,
-                                                                    IoBps,
-                                                                    BpsList,
-                                                                    BpsWork,
-                                                                    strBpsWhere);
-                                }
-                                bMakeBpsData = false;
-                                bDeleteBpsData = false;
-                                iTantoShoninCount = 0;
-
-                            }
-
-                            iCompanyCode = NowCompanyCode;
-                            iSeqNo = NowSeqNo;
-                        }
-
-                        // �sƒJƒEƒ“ƒgŽæ“¾
-                        iLineCount = CommonMotions.cnvInt(r.Cells[(int)DispColumn.LineCount].Value);
-
-                        // �V‹K“o˜^‚Ì‹ÆŽÒ�¿‹�–¾�×ƒf�[ƒ^‚Å�s”Ô�†‚ª0‚È‚Ì‚Å�Å‘å�s”Ô�†‚ð�Ý’è‚·‚é
-                        if (iLineCount == 0)
-                        {
-                            r.Cells[(int)DispColumn.LineCount].Value = ++iLineMax;
-                            iLineCount = iLineMax;
-                        }
-
-                        // ‹ÆŽÒ�¿‹�–¾�×ƒf�[ƒ^--------------------------------------------------------------
-                        strBdDWhere = IoBdD.CreatePrimarykeyString(NowCompanyCode, TargetDate, NowSeqNo, iLineCount);
-
-                        // ƒf�[ƒ^Šm”F
-                        BdDList.Clear();
-                        if (!IoBdD.SelectAction(strBdDWhere, ref BdDList, false))
-                        {
-                            throw new Exception("‹Æ–±�¿‹�–¾�×ƒf�[ƒ^�F“o˜^Šm”F‚ÉŽ¸”s‚µ‚Ü‚µ‚½�B");
-                        }
-
-                        // Žx•¥‹àŠz’´‰ßƒ`ƒFƒbƒN
-                        if (!ClsChangeLedgerData.OverExecAmount(CommonMotions.cnvInt(r.Cells[m_Genba_Column].Value),
-                                                                CommonMotions.cnvInt(r.Cells[(int)DispColumn.ConstructionLedgerLineNo].Value),
-                                                                CommonMotions.cnvInt(r.Cells[(int)DispColumn.KojiSeikyu].Value),
-                                                                m_Select_TargetDate,
-                                                                NowCompanyCode))
-                        {
-                            string strOverComment = s_strOverComment;
-
-                            if (CommonMotions.cnvString(r.Cells[(int)DispColumn.Bikou].Value).IndexOf(s_strOverComment) >= 0)
-                            {
-                                strOverComment = string.Empty;
-                            }
-                            r.Cells[(int)DispColumn.Bikou].Value = strOverComment + CommonMotions.cnvString(r.Cells[(int)DispColumn.Bikou].Value);
-                        }
-                        else
-                        {
-                            if (CommonMotions.cnvString(r.Cells[(int)DispColumn.Bikou].Value).IndexOf(s_strOverComment) >= 0)
-                            {
-                                r.Cells[(int)DispColumn.Bikou].Value = r.Cells[(int)DispColumn.Bikou].Value.ToString().Replace(s_strOverComment, "");
-                            }
-                        }
-
-                        // ƒf�[ƒ^ƒZƒbƒg
-                        BdDWork = new BillingDataDetail();
-                        BdDWork.ConstructionCode = CommonMotions.cnvInt(r.Cells[m_Genba_Column].Value);
-                        BdDWork.ConstructionRowCnt = CommonMotions.cnvInt(r.Cells[(int)DispColumn.ConstructionLedgerLineNo].Value);
-                        BdDWork.ConstructionColCnt = CommonMotions.cnvInt(r.Cells[(int)DispColumn.ConstructionLedgerColNo].Value);
-
-                        string sName = CommonMotions.cnvString(r.Cells[m_GenbaNM_Column].Value);
-                        BdDWork.FieldName = sName != "" ? sName : CommonMotions.cnvString(r.Cells[m_GenbaNM_Column].ToolTipText);
-
-                        BdDWork.BillPrice = CommonMotions.cnvLong(r.Cells[(int)DispColumn.SomuSeikyu].Value);
-                        BdDWork.HighwPrice = CommonMotions.cnvLong(r.Cells[(int)DispColumn.SomuKosoku].Value);
-                        BdDWork.HardwPrice = CommonMotions.cnvLong(r.Cells[(int)DispColumn.SomuKanamono].Value);
-                        BdDWork.IndsWasteTax = CommonMotions.cnvLong(r.Cells[(int)DispColumn.SomuSannhaiZei].Value);
-                        BdDWork.Note = CommonMotions.cnvString(r.Cells[(int)DispColumn.Bikou].Value);
-                        if (BdDList.Count == 0)
-                        {
-                            // �V‹K�i‹Æ–±�¿‹�–¾�×ƒf�[ƒ^�j
-                            BdDWork.CompanyCode = NowCompanyCode;
-                            BdDWork.TargetDate = TargetDate;
-                            BdDWork.SeqNo = NowSeqNo;
-                            BdDWork.LineCount = iLineCount;
-
-                            BdDList.Clear();
-                            BdDList.Add(BdDWork);
-
-                            if (!IoBdD.InsertAction(BdDList, false))
-                            {
-                                throw new Exception("‹Æ–±�¿‹�–¾�×ƒf�[ƒ^�F’Ç‰Á�X�V‚ÉŽ¸”s‚µ‚Ü‚µ‚½�B");
-                            }
-                        }
-                        else
-                        {
-                            // �X�V�i‹Æ–±�¿‹�–¾�×ƒf�[ƒ^�j
-                            // ƒ�ƒbƒN
-                            if (!IoBdD.RowLock(iCompanyCode, TargetDate, iSeqNo, iLineCount, false))
-                            {
-                                throw new Exception("‹Æ–±�¿‹�–¾�×ƒf�[ƒ^�F:‘¼‚Ìƒ†�[ƒU‚Å•Ò�W’†‚Ì‚½‚ß�A�ˆ—�‚Å‚«‚Ü‚¹‚ñ�B");
-                            }
-
-                            // ƒf�[ƒ^�X�V
-                            if (!IoBdD.UpdateAction(strBdDWhere, BdDWork, false))
-                            {
-                                throw new Exception("‹Æ–±�¿‹�–¾�×ƒf�[ƒ^�F�X�V‚ÉŽ¸”s‚µ‚Ü‚µ‚½�B");
-                            }
-                        }
-
-
-                        // Žx•¥–¾�×ƒf�[ƒ^-----------------------------------------------------------------
-
-                        strPdDWhere = IoPdD.CreatePrimarykeyString(NowCompanyCode, TargetDate, NowSeqNo, iLineCount);
-                        // ƒf�[ƒ^Šm”F
-                        PdDList.Clear();
-                        if (!IoPdD.SelectAction(strPdDWhere, ref PdDList, false))
-                        {
-                            throw new Exception("Žx•¥–¾�×ƒf�[ƒ^�F“o˜^Šm”F‚ÉŽ¸”s‚µ‚Ü‚µ‚½�B");
-                        }
-
-                        // ƒf�[ƒ^ƒZƒbƒg
-                        PdDWork = new PaymentDataDetail();
-                        PdDWork.BillPrice = CommonMotions.cnvLong(r.Cells[(int)DispColumn.KojiSeikyu].Value);
-                        PdDWork.DiscountPrice = CommonMotions.cnvLong(r.Cells[(int)DispColumn.KojiNebiki].Value);
-                        PdDWork.OffsetPrice = CommonMotions.cnvLong(r.Cells[(int)DispColumn.KojiSousai].Value);
-                        PdDWork.NextCoPrice = CommonMotions.cnvLong(r.Cells[(int)DispColumn.JikaiKurikosi].Value);
-                        PdDWork.HighwPrice = CommonMotions.cnvLong(r.Cells[(int)DispColumn.KojiKosoku].Value);
-                        PdDWork.HardwPrice = CommonMotions.cnvLong(r.Cells[(int)DispColumn.KojiKanamono].Value);
-                        PdDWork.IndsWasteTax = CommonMotions.cnvLong(r.Cells[(int)DispColumn.KojiSannhaiZei].Value);
-                        PdDWork.CnstrPrice = CommonMotions.cnvLong(r.Cells[(int)DispColumn.KyoryokuKin].Value);
-                        PdDWork.CnstrPriceExist = CommonMotions.cnvInt(r.Cells[(int)DispColumn.KyoryokuUmu].Value);
-                        //PdDWork.ApprovalPersonCode = CommonMotions.cnvInt(r.Cells[(int)DispColumn.TantoShoninCode].Value);
-
-                        if (PdDList.Count == 0)
-                        {
-                            // �V‹K�iŽx•¥–¾�×ƒf�[ƒ^�j
-                            PdDWork.CompanyCode = NowCompanyCode;
-                            PdDWork.TargetDate = TargetDate;
-                            PdDWork.SeqNo = NowSeqNo;
-                            PdDWork.LineCount = iLineCount;
-
-                            // ’S“–�³”F
-                            if (r.Cells[(int)DispColumn.TantoShonin].Style.ForeColor != Color.Gray)
-                            {
-                                PdDWork.ApprovalPersonCode = CommonMotions.cnvInt(r.Cells[(int)DispColumn.TantoShoninCode].Value);
-                                if (r.Cells[(int)DispColumn.TantoDate].Value == null)
-                                {
-                                    PdDWork.ApprovalDate = DateTime.Now;
-                                }
-                                else
-                                {
-                                    PdDWork.ApprovalDate = CommonMotions.cnvDate(r.Cells[(int)DispColumn.TantoDate].Value);
-                                }
-                            }
-                            else
-                            {
-                                PdDWork.ApprovalDate = DateTime.MinValue;
-                            }
-                            PdDWork.ApprovalEndFlg = CommonMotions.cnvInt(r.Cells[(int)DispColumn.ApprovalEndFlg].Value); // �Å�I�³”F”»’è•K—v
-
-                            PdDList.Clear();
-                            PdDList.Add(PdDWork);
-
-                            if (!IoPdD.InsertAction(PdDList, false))
-                            {
-                                throw new Exception("Žx•¥–¾�×ƒf�[ƒ^�F�X�V‚ÉŽ¸”s‚µ‚Ü‚µ‚½�B");
-                            }
-
-                        }
-                        else
-                        {
-                            // �X�V�iŽx•¥–¾�×ƒf�[ƒ^�j
-                            // ’S“–�³”F
-                            if (r.Cells[(int)DispColumn.TantoShonin].Style.ForeColor != Color.Gray)
-                            {
-                                if (PdDList[0].ApprovalPersonCode != 0)
-                                {
-                                    PdDWork.ApprovalPersonCode = PdDList[0].ApprovalPersonCode;
-                                    PdDWork.ApprovalDate = PdDList[0].ApprovalDate;
-                                }
-                                else
-                                {
-                                    PdDWork.ApprovalPersonCode = CommonMotions.cnvInt(r.Cells[(int)DispColumn.TantoShoninCode].Value);
-                                    PdDWork.ApprovalDate = DateTime.Now;
-                                }
-                            }
-                            else
-                            {
-                                PdDWork.ApprovalDate = DateTime.MinValue;
-                            }
-                            PdDWork.ApprovalEndFlg = CommonMotions.cnvInt(r.Cells[(int)DispColumn.ApprovalEndFlg].Value); //�Å�I�³”F
-
-
-                            // ƒ�ƒbƒN
-                            if (!IoPdD.RowLock(iCompanyCode, TargetDate, iSeqNo, iLineCount, false))
-                            {
-                                throw new Exception("Žx•¥–¾�×ƒf�[ƒ^�F‘¼‚Ìƒ†�[ƒU‚Å•Ò�W’†‚Ì‚½‚ß�A�ˆ—�‚Å‚«‚Ü‚¹‚ñ�B");
-                            }
-
-                            // ƒf�[ƒ^�X�V
-                            if (!IoPdD.UpdateAction(strPdDWhere, PdDWork, false))
-                            {
-                                throw new Exception("Žx•¥–¾�×ƒf�[ƒ^�F�X�V‚ÉŽ¸”s‚µ‚Ü‚µ‚½�B");
-                            }
-
-                        }
-
-                        // ----- �HŽ–�Ú�×‘ä’ ‚ÌŽx•¥‹àŠz‚ÌˆêŠ‡“o˜^ƒŠƒXƒg‚Ö’Ç‰Á�i�s’PˆÊ‚Å’Ç‰Á�j
-                        CreateLedgerData(r, ref CleEntryList);
-
-                        DataProgressBar.Value++;
-                        DataProgressBar.Update();
-                    }
-
-                    // �X�V�i‹Æ–±�¿‹�ƒf�[ƒ^�j�ã‹Lƒ‹�[ƒv‚Ì�ÅŒã1Œ�
-                    if (bBdData == true)
-                    {
-                        int lSoumuBillGoukei = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[m_Company_Column].Value) == iCompanyCode
-                                                                                        && CommonMotions.cnvInt(x.Cells[(int)DispColumn.GroupSeqNo].Value) == iSeqNo)
-                                                                               .Sum(y => CommonMotions.cnvInt(y.Cells[(int)DispColumn.SomuSeikyu].Value));
-                        // ƒf�[ƒ^‚Ì’l‚ÆƒOƒŠƒbƒhƒrƒ…�[‚Ì’l‚ðƒ`ƒFƒbƒN
-                        if (BdWork.BillPrice != lSoumuBillGoukei)
-                        {
-                            // ƒ�ƒbƒN
-                            if (!IoBd.RowLock(iCompanyCode, TargetDate, iSeqNo, false))
-                            {
-                                throw new Exception("‹Æ–±�¿‹�ƒf�[ƒ^�F‘¼‚Ìƒ†�[ƒU‚Å•Ò�W’†‚Ì‚½‚ß�A�ˆ—�‚Å‚«‚Ü‚¹‚ñ�B");
-                            }
-
-                            // ƒf�[ƒ^“o˜^
-                            BdWork.BillPrice = lSoumuBillGoukei;
-                            if (!IoBd.UpdateAction(strBdWhere, BdWork, false))
-                            {
-                                throw new Exception("‹Æ–±�¿‹�ƒf�[ƒ^�F�X�V‚ÉŽ¸”s‚µ‚Ü‚µ‚½�B");
-                            }
-                        }
-                    }
-
-                    DataProgressBar.Value++;
-                    DataProgressBar.Update();
-
-                    // ‹ÆŽÒ�¿‹�Žx•¥ƒTƒ}ƒŠ�[ƒf�[ƒ^
-                    if (bMakeBpsData == true)
-                    {
-                        BillingPaymentSummary_DataEntry(dgv
-                                                        , iCompanyCode
-                                                        , bDeleteBpsData
-                                                        , iTantoShoninCount
-                                                        , IoBps
-                                                        , BpsList
-                                                        , BpsWork
-                                                        , strBpsWhere);
-                    }
-                    DataProgressBar.Value++;
-                    DataProgressBar.Update();
-
-                    // �HŽ–�Ú�×‘ä’ Žx•¥‚¢ƒf�[ƒ^ˆêŠ‡“o˜^
-                    if (CleEntryList.Count > 0)
-                    {
-                        if (!ClsChangeLedgerData.EntryExecuteData(IoDetail, IoExec, CleEntryList))
-                        {
-                            DataEntryRollBack(IoBd, IoBdD, IoPdD, IoPaI, IoBps, IoDetail, IoExec);
-                            MessageBox.Show("�HŽ–�Ú�×‘ä’ Žx•¥‚¢ƒf�[ƒ^ˆêŠ‡“o˜^", "“o˜^ƒGƒ‰�[", MessageBoxButtons.OK, MessageBoxIcon.Error);
-                            return false;
-                        }
-                    }
-                }
-                catch (Exception ex)
-                {
-                    DataEntryRollBack(IoBd, IoBdD, IoPdD, IoPaI, IoBps, IoDetail, IoExec);
-                    MessageBox.Show(ex.Message, "“o˜^ƒGƒ‰�[", MessageBoxButtons.OK, MessageBoxIcon.Error);
-                    return false;
-                }
-
-                m_bChengeAns = false;
-
-                return true;
-            }
-            catch (System.Exception ex)
-            {
-                DataEntryRollBack(IoBd, IoBdD, IoPdD, IoPaI, IoBps, IoDetail, IoExec);
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                return false;
-            }
-            finally
-            {
-                IoBd.commit();
-                IoBdD.commit();
-                IoPdD.commit();
-                IoPaI.commit();
-                IoBps.commit();
-                IoDetail.commit();
-                IoExec.commit();
-
-                IoBd.close(); IoBd = null;
-                IoBdD.close(); IoBdD = null;
-                IoPdD.close(); IoPdD = null;
-                IoPaI.close(); IoPaI = null;
-                IoBps.close(); IoBps = null;
-                IoDetail.close(); IoDetail = null;
-                IoExec.close(); IoExec = 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 �HŽ–‘ä’ �X�Vƒf�[ƒ^�ì�¬
-        /// <summary>
-        /// �HŽ–‘ä’ �X�Vƒf�[ƒ^�ì�¬
-        /// </summary>
-        private void CreateLedgerData(DataGridViewRow CurRow, ref ArrayList CleEntryList)
-        {
-            try
-            {
-                ConstructionLedgerDetail DetailRec = new ConstructionLedgerDetail();
-                DetailRec.ConstructionCode = CommonMotions.cnvInt(CurRow.Cells[m_Genba_Column].Value);	                        // �HŽ–ƒR�[ƒh
-                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_Column].Value);                             // ‹¦—Í‰ïŽÐƒR�[ƒh
-                DetailRec.CompanyName = CommonMotions.cnvString(CurRow.Cells[m_CompanyNM_Column].Value); 	                    // ‹¦—Í‰ïŽÐ–¼�Ì
-                DetailRec.DetailCount = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.ConstructionLedgerLineNo].Value);     // –¾�×”Ô�†
-
-                ConstructionLedgerExcute CleEntry = new ConstructionLedgerExcute();
-                CleEntry.ConstructionCode = CommonMotions.cnvInt(CurRow.Cells[m_Genba_Column].Value);
-                CleEntry.GroupCount = (int)FrmConstructionLedger.DataGroup.ConstructionCosts;
-                CleEntry.LineCount = 0;                                                                                         // �s”Ô�†‚ÍƒZƒbƒg‚µ‚È‚¢
-                CleEntry.ColumnCount = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.ConstructionLedgerColNo].Value);
-                CleEntry.PaymentAmount = CommonMotions.cnvLong(CurRow.Cells[(int)DispColumn.KojiSeikyu].Value);
-                CleEntry.TargetMonth = CommonMotions.cnvDate(string.Format("{0}/01", cmbTargetMonth.Text));
-
-                CleEntry.EntryDate = DateTime.Now;
-                CleEntry.UpdateDate = DateTime.Now;
-                CleEntryList.Add(new object[] { DetailRec, CleEntry });
-
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region ‹ÆŽÒ�¿‹�Žx•¥ƒTƒ}ƒŠ�[ƒf�[ƒ^�ì�¬�E�X�V
-        /// <summary>
-        /// ‹ÆŽÒ�¿‹�Žx•¥ƒTƒ}ƒŠ�[ƒf�[ƒ^�ì�¬�E�X�V
-        /// </summary>
-        /// <param name="dgv"></param>
-        /// <param name="iCompanyCode"></param>
-        /// <param name="bDeleteBpsData"></param>
-        /// <param name="iTantoShoninCount"></param>
-        /// <param name="IoBps"></param>
-        /// <param name="BpsList"></param>
-        /// <param name="BpsWork"></param>
-        /// <param name="strBpsWhere"></param>
-        private void BillingPaymentSummary_DataEntry(DataGridView dgv, int iCompanyCode, bool bDeleteBpsData, int iTantoShoninCount,
-                                IOBillingPaymentSummary IoBps, List<BillingPaymentSummary> BpsList, BillingPaymentSummary BpsWork, string strBpsWhere)
-        {
-            // ‹ÆŽÒ�¿‹�Žx•¥ƒTƒ}ƒŠ�[ƒf�[ƒ^-----------------------------------------------
-            int nStartIndex = (int)BillingPaymentSummary.ChargePaymentKindDef.Billing;
-            int nEndIndex = (int)BillingPaymentSummary.ChargePaymentKindDef.Payment;
-            for (int ChargePKind = nStartIndex; ChargePKind <= nEndIndex; ChargePKind++)
-            {
-                strBpsWhere = IoBps.CreatePrimarykeyString(iCompanyCode, m_Select_TargetDate, ChargePKind);
-                BpsList = new List<BillingPaymentSummary>();
-
-                // ƒf�[ƒ^Šm”F
-                if (!IoBps.SelectAction(strBpsWhere, ref BpsList, false))
-                {
-                    throw new Exception("‹ÆŽÒ�¿‹�Žx•¥ƒTƒ}ƒŠ�[ƒf�[ƒ^�F“o˜^Šm”F‚ÉŽ¸”s‚µ‚Ü‚µ‚½�B");
-                }
-
-                BpsWork = new BillingPaymentSummary();
-
-                if (BpsList.Count == 0)
-                {
-                    // �V‹K�i‹ÆŽÒ�¿‹�Žx•¥ƒTƒ}ƒŠ�[ƒf�[ƒ^�j
-                    BpsWork.CompanyCode = iCompanyCode;
-                    BpsWork.TargetDate = m_Select_TargetDate;
-                    BpsWork.ChargePaymentKind = ChargePKind;
-                    GetBpsGoukei(dgv, iCompanyCode, BpsWork.ChargePaymentKind, ref BpsWork);
-
-                    BpsList.Clear();
-                    BpsList.Add(BpsWork);
-
-                    if (!IoBps.InsertAction(BpsList, false))
-                    {
-                        throw new Exception("‹ÆŽÒ�¿‹�Žx•¥ƒTƒ}ƒŠ�[ƒf�[ƒ^�F’Ç‰Á�X�V‚ÉŽ¸”s‚µ‚Ü‚µ‚½�B");
-                    }
-
-                }
-                else
-                {
-                    // �X�V
-                    // �í�œ‘Î�Û
-                    if (iTantoShoninCount == 0 && bDeleteBpsData == true)
-                    {
-                        // ƒ�ƒbƒN
-                        if (!IoBps.RowLock(iCompanyCode, m_Select_TargetDate, ChargePKind, false))
-                        {
-                            throw new Exception("‹ÆŽÒ�¿‹�Žx•¥ƒTƒ}ƒŠ�[ƒf�[ƒ^�F‘¼‚Ìƒ†�[ƒU‚Å•Ò�W’†‚Ì‚½‚ß�A�ˆ—�‚Å‚«‚Ü‚¹‚ñ�B");
-                        }
-
-                        // �X�V�i‹ÆŽÒ�¿‹�Žx•¥ƒTƒ}ƒŠ�[ƒf�[ƒ^�j
-                        if (!IoBps.DeleteAction(strBpsWhere, false))
-                        {
-                            throw new Exception("‹ÆŽÒ�¿‹�Žx•¥ƒTƒ}ƒŠ�[ƒf�[ƒ^�F�í�œ�X�V‚ÉŽ¸”s‚µ‚Ü‚µ‚½�B");
-                        }
-                    }
-                    else
-                    {
-                        // ’l�Ý’è
-                        GetBpsGoukei(dgv, iCompanyCode, BpsList[0].ChargePaymentKind, ref BpsWork);
-
-                        // ƒ�ƒbƒN
-                        if (!IoBps.RowLock(iCompanyCode, m_Select_TargetDate, ChargePKind, false))
-                        {
-                            throw new Exception("‹ÆŽÒ�¿‹�Žx•¥ƒTƒ}ƒŠ�[ƒf�[ƒ^�F‘¼‚Ìƒ†�[ƒU‚Å•Ò�W’†‚Ì‚½‚ß�A�ˆ—�‚Å‚«‚Ü‚¹‚ñ�B");
-                        }
-
-                        // �X�V�i‹ÆŽÒ�¿‹�Žx•¥ƒTƒ}ƒŠ�[ƒf�[ƒ^�j
-                        if (!IoBps.UpdateAction(strBpsWhere, BpsWork, false))
-                        {
-                            throw new Exception("‹ÆŽÒ�¿‹�Žx•¥ƒTƒ}ƒŠ�[ƒf�[ƒ^�F�X�V‚ÉŽ¸”s‚µ‚Ü‚µ‚½�B");
-                        }
-                    }
-                }
-            }
-        }
-        #endregion
-
-        #region “¯‹ÆŽÒ�A“¯˜A”Ô‚Ì�‡Œv’l
-        /// <summary>
-        /// “¯‹ÆŽÒ�A“¯˜A”Ô‚Ì�‡Œv’l
-        /// </summary>
-        /// <param name="dgv"></param>
-        /// <param name="CompanyCode">‹ÆŽÒƒR�[ƒh</param>
-        /// <param name="SeqNo">˜A”Ô</param>
-        /// <param name="TargetColumn">‘Î�Û—ñ</param>
-        /// <returns></returns>
-        private long GetSeqGoukei(DataGridView dgv, int CompanyCode, int SeqNo, 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_Column].Value) == CompanyCode
-                                                                && CommonMotions.cnvInt(x.Cells[(int)DispColumn.GroupSeqNo].Value) == SeqNo)
-                                                            .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 ƒZƒ‹ƒ_ƒuƒ‹ƒNƒŠƒbƒN
         /// <summary>
         /// ƒZƒ‹ƒ_ƒuƒ‹ƒNƒŠƒbƒN
@@ -5691,12 +4899,6 @@
         {
             try
             {
-                switch (e.ColumnIndex)
-                {
-                    case(int)DispColumn.DetailName:
-                        EditRowDetail();
-                        break;
-                }
             }
             catch (System.Exception ex)
             {
@@ -5705,47 +4907,6 @@
         }
         #endregion
 
-        #region �s–¾�×•Ò�W�ˆ—�
-        /// <summary>
-        /// �s–¾�×•Ò�W�ˆ—�
-        /// </summary>
-        private void EditRowDetail()
-        {
-            FrmRowDetail frm = new FrmRowDetail();
-            try
-            {
-                DataGridView dgv = getShowingView();
-                DataGridViewRow CurRow = dgv.CurrentRow;
-
-                // ----- ƒpƒ‰ƒ��[ƒ^ƒZƒbƒg
-                // �HŽ––¼�Ì
-                frm.title01 = CurRow.Cells[m_GenbaNM_Column].ToolTipText;
-                // ‹ÆŽÒ–¼�Ì
-                frm.title02 = CurRow.Cells[m_CompanyNM_Column].ToolTipText;
-                // •Ò�W•¶Žš—ñ
-                frm.EditString = CommonMotions.cnvString(CurRow.Cells[(int)DispColumn.DetailName].Value);
-                // ‰æ–Ê•\Ž¦
-                frm.ShowDialog();
-                // ƒLƒƒƒ“ƒZƒ‹Žž‚Í�ˆ—�‚µ‚È‚¢
-                if (DialogResult.Cancel.Equals(frm.ResultVal)) return;
-
-                // •Ò�W•¶ŽšƒZƒbƒg
-                CurRow.Cells[(int)DispColumn.DetailName].Value = frm.EditString;
-
-                // •Ï�Xƒtƒ‰ƒOON
-                CurRow.Cells[(int)DispColumn.RowState].Value = DataRowState.Modified;
-            }
-            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�[ƒ^’è‹`
         /// <summary>
         /// �í�œ‘Î�Ûƒf�[ƒ^’è‹`
@@ -6311,7 +5472,7 @@
                         // �V‹K“o˜^‚Ì‹ÆŽÒ�¿‹�–¾�×ƒf�[ƒ^‚Å�s”Ô�†‚ª0‚È‚Ì‚Å�Å‘å�s”Ô�†‚ð�Ý’è‚·‚é
                         if (nLineCount == 0)
                         {
-                            CurRow.Cells[(int)DispColumn.LineCount].Value = GetCompCntList(nCompanyCode, nSeqNo) + 1;
+                            CurRow.Cells[(int)DispColumn.LineCount].Value = (GetCompCntList(nCompanyCode, nSeqNo) + 1);
                             nLineCount = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.LineCount].Value);
                         }
 
@@ -6539,6 +5700,7 @@
                 // ƒf�[ƒ^�‘�ž‚Ý
                 if (!IoBdD.InsertAction(BdDWork, false))
                 {
+                    IoBdD.SelectAction(strWhere.ToString(), ref Datalist, false);
                     nErrorCode = (int)EntryErrorCode.AddData;
                     return false;
                 }
@@ -6715,18 +5877,23 @@
                 }
 
                 // ƒf�[ƒ^ƒZƒbƒg
-                BdDWork.ConstructionCode = nConstrCode;
-                BdDWork.ConstructionRowCnt = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.ConstructionLedgerDetailNo].Value);
-                BdDWork.ConstructionColCnt = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.ConstructionLedgerColNo].Value);
+                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.FieldName = sName != "" ? sName : CommonMotions.cnvString(CurRow.Cells[m_GenbaNM_Column].ToolTipText);          // Œ»�ê–¼
 
-                BdDWork.BillPrice = CommonMotions.cnvLong(CurRow.Cells[(int)DispColumn.SomuSeikyu].Value);
-                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);
-                BdDWork.Note = CommonMotions.cnvString(CurRow.Cells[(int)DispColumn.Bikou].Value);
+                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)
             {
@@ -6745,17 +5912,19 @@
             try
             {
                 int nRet = 0;
-                StringBuilder strSQL=new StringBuilder();
+                StringBuilder strSQL = new StringBuilder();
 
-                int DefaultCol = Enum.GetNames(typeof(FrmConstructionLedger.GridColumn)).Length - 1;
+                int DefaultCol = ClsChangeLedgerData.GetLedgerColumnCount();
                 strSQL.Append("Select");
-                strSQL.AppendFormat(" DATE_FORMAT(Ledger.ConstructionStart, '%Y%m')) + {0} AS ColPoint ", DefaultCol);
+                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)) return nRet;
+                if (!IoDetail.ExecuteReader(strSQL.ToString(), ref arData, false)) return nRet;
                 if (arData.Count < 1) return nRet;
 
                 object[] objData = (object[])arData[0];
@@ -6784,10 +5953,10 @@
             {
                 // Ž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);
+                                                                CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.ConstructionLedgerLineNo].Value),
+                                                                CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.KojiSeikyu].Value),
+                                                                nTargetDate,
+                                                                nCompanyCode);
                 if(!bOver)
                 {
                     string strOverComment = s_strOverComment;
@@ -6995,15 +6164,19 @@
         {
             try
             {
-                PdDWork.BillPrice = CommonMotions.cnvLong(CurRow.Cells[(int)DispColumn.KojiSeikyu].Value);
-                PdDWork.DiscountPrice = CommonMotions.cnvLong(CurRow.Cells[(int)DispColumn.KojiNebiki].Value);
-                PdDWork.OffsetPrice = CommonMotions.cnvLong(CurRow.Cells[(int)DispColumn.KojiSousai].Value);
-                PdDWork.NextCoPrice = CommonMotions.cnvLong(CurRow.Cells[(int)DispColumn.JikaiKurikosi].Value);
-                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);
-                PdDWork.CnstrPrice = CommonMotions.cnvLong(CurRow.Cells[(int)DispColumn.KyoryokuKin].Value);
-                PdDWork.CnstrPriceExist = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.KyoryokuUmu].Value);
+                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)
             {
@@ -7108,7 +6281,7 @@
                 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);    // –¾�×”Ô�†
+                DetailRec.DetailCount = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.ConstructionLedgerDetailNo].Value);   // –¾�×”Ô�†
 
                 // ŽÀ�sƒf�[ƒ^�ì�¬
                 ExcuteRec.ConstructionCode = nConstrCode;                                                                       // �HŽ–ƒR�[ƒh
@@ -7138,7 +6311,7 @@
                 StringBuilder strSQL = new StringBuilder();
                 strSQL.Append(IoSub.CreatePrimarykeyString(CompanyCode));
                 SubContractorMaster CompRec = new SubContractorMaster();
-                if (!IoSub.SelectAction(strSQL.ToString(), ref CompRec)) return strName;
+                if (!IoSub.SelectAction(strSQL.ToString(), ref CompRec, false)) return strName;
                 strName = CompRec.CompanyName;
 
                 return strName;
@@ -7238,9 +6411,10 @@
                 strSQL.Append(", SUM(Pay.INDSWASTETAX) AS P_Indswastetax");
                 strSQL.Append(", SUM(Pay.CNSTRPRICE) AS P_Cnstrprice");
                 strSQL.Append(" From");
-                strSQL.Append(" subcontractormaster As Company");
-                strSQL.Append(" Left Join billingdatadetail As Bill");
+                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");
@@ -7247,8 +6421,7 @@
                 strSQL.Append("   And Pay.SEQNO = Bill.SEQNO");
                 strSQL.Append("   And Pay.LINECOUNT = Bill.LINECOUNT");
                 strSQL.Append(" Where");
-                strSQL.AppendFormat(" Company.labourKind = {0}", m_Labourkind);
-                strSQL.AppendFormat(" And Bill.TARGETDATE = {0}", nTargetDate);
+                strSQL.AppendFormat(" Bill.TARGETDATE = {0}", nTargetDate);
                 strSQL.Append(" Group by");
                 strSQL.Append("   Company.COMPANYCODE");
                 strSQL.Append("   , Bill.TARGETDATE");
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/ProcessControl.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/ProcessControl.cs	(revision 316)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/ProcessControl.cs	(revision 317)
@@ -822,13 +822,26 @@
         {
             try
             {
+                // å·¥äº‹ç•ªå�·ã�Œç„¡ã�„å ´å�ˆã�¯å‡¦ç�†ã�—ã�ªã�„
+                int nConstrCode = ClsProcessExist.GetParentConstrCode(m_ConstructionCode);
+                if (0 == nConstrCode) return;
+
                 int ProcessNo = (int)ClsExcute.ProcessExecuteNo.ConstructionLedger;
                 // ãƒ•ã‚©ãƒ¼ãƒ ã�Œã�‚ã‚Œã�°æœ€å‰�é�¢ã�¸
                 FrmConstructionLedger frm = (FrmConstructionLedger)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
+                bool bFormDown = false;
                 if (frm != null)
                 {
-                    frm.Activate();
-                    return;
+                    // ç�¾åœ¨ã�®å·¥äº‹å�°å¸³ã�Œå�Œã�˜ã�ªã‚‰ã�°å†�è¡¨ç¤º
+                    if (frm.ConstructionCode == nConstrCode)
+                    {
+                        frm.Activate();
+                        return;
+                    }
+                    else
+                    {
+                        bFormDown = true;
+                    }
                 }
 
                 // ãƒ‡ãƒ¼ã‚¿å¤‰æ›´æœ‰æ™‚ã�¯ãƒ‡ãƒ¼ã‚¿ç™»éŒ²
@@ -837,11 +850,20 @@
                     if (!DataEntryProcess()) return;
                 }
 
+                // ç”»é�¢ã�Œã�‚ã�£ã�¦å·¥äº‹ã�Œé�•ã�†å ´å�ˆã�¯ãƒ•ã‚©ãƒ¼ãƒ ã‚¯ãƒ­ãƒ¼ã‚º
+                if (bFormDown)
+                {
+                    m_FrmLedger.Close();
+                    frm.Dispose();
+                    frm = null;
+                }
+
                 // å·¥äº‹è©³ç´°å�°å¸³å…¥åŠ›èµ·å‹•
                 frm = new FrmConstructionLedger();
+                m_FrmLedger = frm;
                 ClsExcute.SubFormHandleList[ProcessNo].ProcessNo = s_CurrentProcessNo;
                 ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle = (Form)frm;
-                frm.ConstructionCode = ClsProcessExist.GetParentConstrCode(m_ConstructionCode);
+                frm.ConstructionCode = nConstrCode;
                 frm.EditLock = m_EditLock;
                 frm.SubForm = true;
                 frm.ShowInTaskbar = true;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/TAndPCosts/FrmTAndPCosts.Designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/TAndPCosts/FrmTAndPCosts.Designer.cs	(revision 316)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/TAndPCosts/FrmTAndPCosts.Designer.cs	(revision 317)
@@ -28,90 +28,90 @@
         /// </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 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();
-            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();
-            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 dataGridViewCellStyle72 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle73 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle74 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle75 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle76 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle77 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle78 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle79 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle80 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle81 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle82 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle83 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle84 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle85 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle86 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle87 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle88 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle89 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle90 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle91 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle92 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle93 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle94 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle95 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle96 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle97 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle98 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle99 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle100 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle101 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle102 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle103 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle104 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle105 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle106 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle107 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle108 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle109 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle110 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle111 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle112 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle113 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle114 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle115 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle116 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle117 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle118 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle119 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle120 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle121 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle122 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle123 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle124 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle125 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle126 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle127 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle128 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle129 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle130 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle131 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle132 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle133 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle134 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle135 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle136 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle137 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle138 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle139 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle140 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle141 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle142 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle143 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle144 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle145 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle146 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle147 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle148 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle149 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle150 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle151 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle152 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle153 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle154 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle155 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle156 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle157 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle158 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle159 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle160 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle161 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle162 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle163 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle164 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle165 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle166 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle167 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle168 = new System.Windows.Forms.DataGridViewCellStyle();
             this.label1 = new System.Windows.Forms.Label();
             this.btnEnd = new System.Windows.Forms.Button();
             this.TabControl1 = new System.Windows.Forms.TabControl();
@@ -125,87 +125,6 @@
             this.label56 = new System.Windows.Forms.Label();
             this.label55 = new System.Windows.Forms.Label();
             this.label40 = new System.Windows.Forms.Label();
-            this.btnTab1LineDel = new System.Windows.Forms.Button();
-            this.btnTab1LineNew = new System.Windows.Forms.Button();
-            this.tabPage2 = new System.Windows.Forms.TabPage();
-            this.label61 = new System.Windows.Forms.Label();
-            this.label62 = new System.Windows.Forms.Label();
-            this.label63 = new System.Windows.Forms.Label();
-            this.label64 = new System.Windows.Forms.Label();
-            this.label65 = new System.Windows.Forms.Label();
-            this.btnTab2LineNew = new System.Windows.Forms.Button();
-            this.label66 = new System.Windows.Forms.Label();
-            this.label67 = new System.Windows.Forms.Label();
-            this.label68 = new System.Windows.Forms.Label();
-            this.label41 = new System.Windows.Forms.Label();
-            this.btnTab2LineDel = new System.Windows.Forms.Button();
-            this.tabPage3 = new System.Windows.Forms.TabPage();
-            this.label73 = new System.Windows.Forms.Label();
-            this.label74 = new System.Windows.Forms.Label();
-            this.label75 = new System.Windows.Forms.Label();
-            this.label76 = new System.Windows.Forms.Label();
-            this.label77 = new System.Windows.Forms.Label();
-            this.btnTab3LineNew = new System.Windows.Forms.Button();
-            this.label78 = new System.Windows.Forms.Label();
-            this.label79 = new System.Windows.Forms.Label();
-            this.label80 = new System.Windows.Forms.Label();
-            this.label42 = new System.Windows.Forms.Label();
-            this.btnTab3LineDel = new System.Windows.Forms.Button();
-            this.tabPage4 = new System.Windows.Forms.TabPage();
-            this.label85 = new System.Windows.Forms.Label();
-            this.label86 = new System.Windows.Forms.Label();
-            this.label87 = new System.Windows.Forms.Label();
-            this.label88 = new System.Windows.Forms.Label();
-            this.label89 = new System.Windows.Forms.Label();
-            this.btnTab4LineNew = new System.Windows.Forms.Button();
-            this.label90 = new System.Windows.Forms.Label();
-            this.label91 = new System.Windows.Forms.Label();
-            this.label92 = new System.Windows.Forms.Label();
-            this.label43 = new System.Windows.Forms.Label();
-            this.btnTab4LineDel = new System.Windows.Forms.Button();
-            this.tabPage5 = new System.Windows.Forms.TabPage();
-            this.label97 = new System.Windows.Forms.Label();
-            this.label98 = new System.Windows.Forms.Label();
-            this.label99 = new System.Windows.Forms.Label();
-            this.label100 = new System.Windows.Forms.Label();
-            this.label101 = new System.Windows.Forms.Label();
-            this.btnTab5LineNew = new System.Windows.Forms.Button();
-            this.label102 = new System.Windows.Forms.Label();
-            this.label103 = new System.Windows.Forms.Label();
-            this.label104 = new System.Windows.Forms.Label();
-            this.label44 = new System.Windows.Forms.Label();
-            this.btnTab5LineDel = new System.Windows.Forms.Button();
-            this.tabPage6 = new System.Windows.Forms.TabPage();
-            this.label5 = new System.Windows.Forms.Label();
-            this.label6 = new System.Windows.Forms.Label();
-            this.label7 = new System.Windows.Forms.Label();
-            this.label8 = new System.Windows.Forms.Label();
-            this.label9 = new System.Windows.Forms.Label();
-            this.btnTab6LineNew = new System.Windows.Forms.Button();
-            this.label10 = new System.Windows.Forms.Label();
-            this.label11 = new System.Windows.Forms.Label();
-            this.label12 = new System.Windows.Forms.Label();
-            this.label13 = new System.Windows.Forms.Label();
-            this.btnTab6LineDel = new System.Windows.Forms.Button();
-            this.panel3 = new System.Windows.Forms.Panel();
-            this.label2 = new System.Windows.Forms.Label();
-            this.label3 = new System.Windows.Forms.Label();
-            this.label4 = new System.Windows.Forms.Label();
-            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.btnDataDelete = new System.Windows.Forms.Button();
-            this.btnDataEntry = new System.Windows.Forms.Button();
-            this.lblCellTotal = new System.Windows.Forms.Label();
-            this.btnTest = new System.Windows.Forms.Button();
-            this.cmbDepartment = new ProcessManagement.Forms.CustomControls.ComboBoxEX();
-            this.cmbConstructionPerson = new ProcessManagement.Forms.CustomControls.ComboBoxEX();
-            this.comboBox1 = new ProcessManagement.Forms.CustomControls.ComboBoxEX();
             this.dgvPage1 = new ProcessManagement.Forms.CustomControls.DataGridViewEX();
             this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -225,6 +144,9 @@
             this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column14 = new System.Windows.Forms.DataGridViewButtonColumn();
             this.Column20 = new System.Windows.Forms.DataGridViewButtonColumn();
+            this.btnTab1LineDel = new System.Windows.Forms.Button();
+            this.btnTab1LineNew = new System.Windows.Forms.Button();
+            this.tabPage2 = new System.Windows.Forms.TabPage();
             this.dgvPage2 = new ProcessManagement.Forms.CustomControls.DataGridViewEX();
             this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -244,6 +166,18 @@
             this.dataGridViewTextBoxColumn49 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column15 = new System.Windows.Forms.DataGridViewButtonColumn();
             this.Column21 = new System.Windows.Forms.DataGridViewButtonColumn();
+            this.label61 = new System.Windows.Forms.Label();
+            this.label62 = new System.Windows.Forms.Label();
+            this.label63 = new System.Windows.Forms.Label();
+            this.label64 = new System.Windows.Forms.Label();
+            this.label65 = new System.Windows.Forms.Label();
+            this.btnTab2LineNew = new System.Windows.Forms.Button();
+            this.label66 = new System.Windows.Forms.Label();
+            this.label67 = new System.Windows.Forms.Label();
+            this.label68 = new System.Windows.Forms.Label();
+            this.label41 = new System.Windows.Forms.Label();
+            this.btnTab2LineDel = new System.Windows.Forms.Button();
+            this.tabPage3 = new System.Windows.Forms.TabPage();
             this.dgvPage3 = new ProcessManagement.Forms.CustomControls.DataGridViewEX();
             this.dataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.dataGridViewTextBoxColumn12 = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -263,6 +197,18 @@
             this.dataGridViewTextBoxColumn51 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column16 = new System.Windows.Forms.DataGridViewButtonColumn();
             this.Column22 = new System.Windows.Forms.DataGridViewButtonColumn();
+            this.label73 = new System.Windows.Forms.Label();
+            this.label74 = new System.Windows.Forms.Label();
+            this.label75 = new System.Windows.Forms.Label();
+            this.label76 = new System.Windows.Forms.Label();
+            this.label77 = new System.Windows.Forms.Label();
+            this.btnTab3LineNew = new System.Windows.Forms.Button();
+            this.label78 = new System.Windows.Forms.Label();
+            this.label79 = new System.Windows.Forms.Label();
+            this.label80 = new System.Windows.Forms.Label();
+            this.label42 = new System.Windows.Forms.Label();
+            this.btnTab3LineDel = new System.Windows.Forms.Button();
+            this.tabPage4 = new System.Windows.Forms.TabPage();
             this.dgvPage4 = new ProcessManagement.Forms.CustomControls.DataGridViewEX();
             this.dataGridViewTextBoxColumn19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.dataGridViewTextBoxColumn21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -282,6 +228,18 @@
             this.dataGridViewTextBoxColumn53 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column17 = new System.Windows.Forms.DataGridViewButtonColumn();
             this.Column23 = new System.Windows.Forms.DataGridViewButtonColumn();
+            this.label85 = new System.Windows.Forms.Label();
+            this.label86 = new System.Windows.Forms.Label();
+            this.label87 = new System.Windows.Forms.Label();
+            this.label88 = new System.Windows.Forms.Label();
+            this.label89 = new System.Windows.Forms.Label();
+            this.btnTab4LineNew = new System.Windows.Forms.Button();
+            this.label90 = new System.Windows.Forms.Label();
+            this.label91 = new System.Windows.Forms.Label();
+            this.label92 = new System.Windows.Forms.Label();
+            this.label43 = new System.Windows.Forms.Label();
+            this.btnTab4LineDel = new System.Windows.Forms.Button();
+            this.tabPage5 = new System.Windows.Forms.TabPage();
             this.dgvPage5 = new ProcessManagement.Forms.CustomControls.DataGridViewEX();
             this.dataGridViewTextBoxColumn27 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.dataGridViewTextBoxColumn29 = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -301,6 +259,29 @@
             this.dataGridViewTextBoxColumn55 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column18 = new System.Windows.Forms.DataGridViewButtonColumn();
             this.Column24 = new System.Windows.Forms.DataGridViewButtonColumn();
+            this.label97 = new System.Windows.Forms.Label();
+            this.label98 = new System.Windows.Forms.Label();
+            this.label99 = new System.Windows.Forms.Label();
+            this.label100 = new System.Windows.Forms.Label();
+            this.label101 = new System.Windows.Forms.Label();
+            this.btnTab5LineNew = new System.Windows.Forms.Button();
+            this.label102 = new System.Windows.Forms.Label();
+            this.label103 = new System.Windows.Forms.Label();
+            this.label104 = new System.Windows.Forms.Label();
+            this.label44 = new System.Windows.Forms.Label();
+            this.btnTab5LineDel = new System.Windows.Forms.Button();
+            this.tabPage6 = new System.Windows.Forms.TabPage();
+            this.label5 = new System.Windows.Forms.Label();
+            this.label6 = new System.Windows.Forms.Label();
+            this.label7 = new System.Windows.Forms.Label();
+            this.label8 = new System.Windows.Forms.Label();
+            this.label9 = new System.Windows.Forms.Label();
+            this.btnTab6LineNew = new System.Windows.Forms.Button();
+            this.label10 = new System.Windows.Forms.Label();
+            this.label11 = new System.Windows.Forms.Label();
+            this.label12 = new System.Windows.Forms.Label();
+            this.label13 = new System.Windows.Forms.Label();
+            this.btnTab6LineDel = new System.Windows.Forms.Button();
             this.dgvPage6 = new ProcessManagement.Forms.CustomControls.DataGridViewEX();
             this.dataGridViewTextBoxColumn56 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.dataGridViewTextBoxColumn57 = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -320,22 +301,41 @@
             this.dataGridViewTextBoxColumn68 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column19 = new System.Windows.Forms.DataGridViewButtonColumn();
             this.Column25 = new System.Windows.Forms.DataGridViewButtonColumn();
+            this.panel3 = new System.Windows.Forms.Panel();
+            this.cmbDepartment = new ProcessManagement.Forms.CustomControls.ComboBoxEX();
+            this.label2 = new System.Windows.Forms.Label();
+            this.cmbConstructionPerson = new ProcessManagement.Forms.CustomControls.ComboBoxEX();
+            this.label3 = new System.Windows.Forms.Label();
+            this.label4 = new System.Windows.Forms.Label();
+            this.comboBox1 = new ProcessManagement.Forms.CustomControls.ComboBoxEX();
+            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.btnDataDelete = new System.Windows.Forms.Button();
+            this.btnDataEntry = new System.Windows.Forms.Button();
+            this.lblCellTotal = new System.Windows.Forms.Label();
+            this.btnTest = new System.Windows.Forms.Button();
             this.TabControl1.SuspendLayout();
             this.tabPage1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.dgvPage1)).BeginInit();
             this.tabPage2.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.dgvPage2)).BeginInit();
             this.tabPage3.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.dgvPage3)).BeginInit();
             this.tabPage4.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.dgvPage4)).BeginInit();
             this.tabPage5.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.dgvPage5)).BeginInit();
             this.tabPage6.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.dgvPage6)).BeginInit();
             this.panel3.SuspendLayout();
             this.pnlApproval.SuspendLayout();
             this.pnlApprovalButton.SuspendLayout();
-            ((System.ComponentModel.ISupportInitialize)(this.dgvPage1)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.dgvPage2)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.dgvPage3)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.dgvPage4)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.dgvPage5)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.dgvPage6)).BeginInit();
             this.SuspendLayout();
             // 
             // label1
@@ -412,7 +412,7 @@
             this.label49.BackColor = System.Drawing.Color.White;
             this.label49.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
             this.label49.ForeColor = System.Drawing.Color.Black;
-            this.label49.Location = new System.Drawing.Point(906, 436);
+            this.label49.Location = new System.Drawing.Point(906, 492);
             this.label49.Name = "label49";
             this.label49.Size = new System.Drawing.Size(30, 27);
             this.label49.TabIndex = 126;
@@ -425,7 +425,7 @@
             this.label50.BackColor = System.Drawing.Color.Beige;
             this.label50.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
             this.label50.ForeColor = System.Drawing.Color.Black;
-            this.label50.Location = new System.Drawing.Point(626, 436);
+            this.label50.Location = new System.Drawing.Point(626, 492);
             this.label50.Name = "label50";
             this.label50.Size = new System.Drawing.Size(130, 27);
             this.label50.TabIndex = 127;
@@ -438,7 +438,7 @@
             this.label51.BackColor = System.Drawing.Color.White;
             this.label51.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
             this.label51.ForeColor = System.Drawing.Color.Black;
-            this.label51.Location = new System.Drawing.Point(596, 436);
+            this.label51.Location = new System.Drawing.Point(596, 492);
             this.label51.Name = "label51";
             this.label51.Size = new System.Drawing.Size(30, 27);
             this.label51.TabIndex = 123;
@@ -451,7 +451,7 @@
             this.label52.BackColor = System.Drawing.Color.Beige;
             this.label52.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
             this.label52.ForeColor = System.Drawing.Color.Black;
-            this.label52.Location = new System.Drawing.Point(316, 436);
+            this.label52.Location = new System.Drawing.Point(316, 492);
             this.label52.Name = "label52";
             this.label52.Size = new System.Drawing.Size(130, 27);
             this.label52.TabIndex = 124;
@@ -464,7 +464,7 @@
             this.label53.BackColor = System.Drawing.Color.White;
             this.label53.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
             this.label53.ForeColor = System.Drawing.Color.Black;
-            this.label53.Location = new System.Drawing.Point(286, 436);
+            this.label53.Location = new System.Drawing.Point(286, 492);
             this.label53.Name = "label53";
             this.label53.Size = new System.Drawing.Size(30, 27);
             this.label53.TabIndex = 120;
@@ -477,7 +477,7 @@
             this.label54.BackColor = System.Drawing.Color.Beige;
             this.label54.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
             this.label54.ForeColor = System.Drawing.Color.Black;
-            this.label54.Location = new System.Drawing.Point(6, 436);
+            this.label54.Location = new System.Drawing.Point(6, 492);
             this.label54.Name = "label54";
             this.label54.Size = new System.Drawing.Size(130, 27);
             this.label54.TabIndex = 121;
@@ -490,7 +490,7 @@
             this.label56.BackColor = System.Drawing.Color.White;
             this.label56.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
             this.label56.Font = new System.Drawing.Font("Century", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            this.label56.Location = new System.Drawing.Point(756, 436);
+            this.label56.Location = new System.Drawing.Point(756, 492);
             this.label56.Name = "label56";
             this.label56.Size = new System.Drawing.Size(150, 27);
             this.label56.TabIndex = 117;
@@ -502,7 +502,7 @@
             this.label55.BackColor = System.Drawing.Color.White;
             this.label55.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
             this.label55.Font = new System.Drawing.Font("Century", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            this.label55.Location = new System.Drawing.Point(446, 436);
+            this.label55.Location = new System.Drawing.Point(446, 492);
             this.label55.Name = "label55";
             this.label55.Size = new System.Drawing.Size(150, 27);
             this.label55.TabIndex = 117;
@@ -514,1097 +514,12 @@
             this.label40.BackColor = System.Drawing.Color.White;
             this.label40.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
             this.label40.Font = new System.Drawing.Font("Century", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            this.label40.Location = new System.Drawing.Point(136, 436);
+            this.label40.Location = new System.Drawing.Point(136, 492);
             this.label40.Name = "label40";
             this.label40.Size = new System.Drawing.Size(150, 27);
             this.label40.TabIndex = 117;
             this.label40.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
             // 
-            // btnTab1LineDel
-            // 
-            this.btnTab1LineDel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
-            this.btnTab1LineDel.BackColor = System.Drawing.Color.Red;
-            this.btnTab1LineDel.ForeColor = System.Drawing.Color.White;
-            this.btnTab1LineDel.Location = new System.Drawing.Point(1191, 434);
-            this.btnTab1LineDel.Name = "btnTab1LineDel";
-            this.btnTab1LineDel.Size = new System.Drawing.Size(130, 30);
-            this.btnTab1LineDel.TabIndex = 102;
-            this.btnTab1LineDel.TabStop = false;
-            this.btnTab1LineDel.Text = "è¡Œã€€å‰Šã€€é™¤";
-            this.btnTab1LineDel.UseVisualStyleBackColor = false;
-            this.btnTab1LineDel.Click += new System.EventHandler(this.btnTabLineDel_Click);
-            // 
-            // btnTab1LineNew
-            // 
-            this.btnTab1LineNew.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
-            this.btnTab1LineNew.BackColor = System.Drawing.Color.DarkSlateGray;
-            this.btnTab1LineNew.ForeColor = System.Drawing.Color.White;
-            this.btnTab1LineNew.Location = new System.Drawing.Point(1053, 434);
-            this.btnTab1LineNew.Name = "btnTab1LineNew";
-            this.btnTab1LineNew.Size = new System.Drawing.Size(130, 30);
-            this.btnTab1LineNew.TabIndex = 101;
-            this.btnTab1LineNew.TabStop = false;
-            this.btnTab1LineNew.Text = "è¡Œæ–°è¦�ä½œæˆ�";
-            this.btnTab1LineNew.UseVisualStyleBackColor = false;
-            this.btnTab1LineNew.Click += new System.EventHandler(this.btnTabLineNew_Click);
-            // 
-            // tabPage2
-            // 
-            this.tabPage2.BackColor = System.Drawing.Color.LightGreen;
-            this.tabPage2.Controls.Add(this.dgvPage2);
-            this.tabPage2.Controls.Add(this.label61);
-            this.tabPage2.Controls.Add(this.label62);
-            this.tabPage2.Controls.Add(this.label63);
-            this.tabPage2.Controls.Add(this.label64);
-            this.tabPage2.Controls.Add(this.label65);
-            this.tabPage2.Controls.Add(this.btnTab2LineNew);
-            this.tabPage2.Controls.Add(this.label66);
-            this.tabPage2.Controls.Add(this.label67);
-            this.tabPage2.Controls.Add(this.label68);
-            this.tabPage2.Controls.Add(this.label41);
-            this.tabPage2.Controls.Add(this.btnTab2LineDel);
-            this.tabPage2.Location = new System.Drawing.Point(4, 26);
-            this.tabPage2.Name = "tabPage2";
-            this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
-            this.tabPage2.Size = new System.Drawing.Size(1326, 524);
-            this.tabPage2.TabIndex = 1;
-            this.tabPage2.Text = "è³¼ã€€å…¥ã€€å“�ã€€è²»";
-            // 
-            // label61
-            // 
-            this.label61.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.label61.BackColor = System.Drawing.Color.White;
-            this.label61.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label61.ForeColor = System.Drawing.Color.Black;
-            this.label61.Location = new System.Drawing.Point(906, 492);
-            this.label61.Name = "label61";
-            this.label61.Size = new System.Drawing.Size(30, 27);
-            this.label61.TabIndex = 134;
-            this.label61.Text = "å††";
-            this.label61.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // label62
-            // 
-            this.label62.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.label62.BackColor = System.Drawing.Color.Beige;
-            this.label62.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label62.ForeColor = System.Drawing.Color.Black;
-            this.label62.Location = new System.Drawing.Point(626, 492);
-            this.label62.Name = "label62";
-            this.label62.Size = new System.Drawing.Size(130, 27);
-            this.label62.TabIndex = 135;
-            this.label62.Text = "æ³•äººã‚¯ãƒ¬ã‚¸ãƒƒãƒˆ";
-            this.label62.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // label63
-            // 
-            this.label63.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.label63.BackColor = System.Drawing.Color.White;
-            this.label63.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label63.ForeColor = System.Drawing.Color.Black;
-            this.label63.Location = new System.Drawing.Point(596, 492);
-            this.label63.Name = "label63";
-            this.label63.Size = new System.Drawing.Size(30, 27);
-            this.label63.TabIndex = 132;
-            this.label63.Text = "å††";
-            this.label63.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // label64
-            // 
-            this.label64.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.label64.BackColor = System.Drawing.Color.Beige;
-            this.label64.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label64.ForeColor = System.Drawing.Color.Black;
-            this.label64.Location = new System.Drawing.Point(316, 492);
-            this.label64.Name = "label64";
-            this.label64.Size = new System.Drawing.Size(130, 27);
-            this.label64.TabIndex = 133;
-            this.label64.Text = "ç�¾ã€€ã€€é‡‘";
-            this.label64.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // label65
-            // 
-            this.label65.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.label65.BackColor = System.Drawing.Color.White;
-            this.label65.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label65.ForeColor = System.Drawing.Color.Black;
-            this.label65.Location = new System.Drawing.Point(286, 492);
-            this.label65.Name = "label65";
-            this.label65.Size = new System.Drawing.Size(30, 27);
-            this.label65.TabIndex = 130;
-            this.label65.Text = "å††";
-            this.label65.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // btnTab2LineNew
-            // 
-            this.btnTab2LineNew.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
-            this.btnTab2LineNew.BackColor = System.Drawing.Color.DarkSlateGray;
-            this.btnTab2LineNew.ForeColor = System.Drawing.Color.White;
-            this.btnTab2LineNew.Location = new System.Drawing.Point(1053, 490);
-            this.btnTab2LineNew.Name = "btnTab2LineNew";
-            this.btnTab2LineNew.Size = new System.Drawing.Size(130, 30);
-            this.btnTab2LineNew.TabIndex = 114;
-            this.btnTab2LineNew.TabStop = false;
-            this.btnTab2LineNew.Text = "è¡Œæ–°è¦�ä½œæˆ�";
-            this.btnTab2LineNew.UseVisualStyleBackColor = false;
-            this.btnTab2LineNew.Click += new System.EventHandler(this.btnTabLineNew_Click);
-            // 
-            // label66
-            // 
-            this.label66.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.label66.BackColor = System.Drawing.Color.Beige;
-            this.label66.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label66.ForeColor = System.Drawing.Color.Black;
-            this.label66.Location = new System.Drawing.Point(6, 492);
-            this.label66.Name = "label66";
-            this.label66.Size = new System.Drawing.Size(130, 27);
-            this.label66.TabIndex = 131;
-            this.label66.Text = "å€‹äººã‚¯ãƒ¬ã‚¸ãƒƒãƒˆ";
-            this.label66.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // label67
-            // 
-            this.label67.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.label67.BackColor = System.Drawing.Color.White;
-            this.label67.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label67.Font = new System.Drawing.Font("Century", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            this.label67.Location = new System.Drawing.Point(756, 492);
-            this.label67.Name = "label67";
-            this.label67.Size = new System.Drawing.Size(150, 27);
-            this.label67.TabIndex = 128;
-            this.label67.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
-            // 
-            // label68
-            // 
-            this.label68.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.label68.BackColor = System.Drawing.Color.White;
-            this.label68.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label68.Font = new System.Drawing.Font("Century", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            this.label68.Location = new System.Drawing.Point(446, 492);
-            this.label68.Name = "label68";
-            this.label68.Size = new System.Drawing.Size(150, 27);
-            this.label68.TabIndex = 129;
-            this.label68.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
-            // 
-            // label41
-            // 
-            this.label41.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.label41.BackColor = System.Drawing.Color.White;
-            this.label41.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label41.Font = new System.Drawing.Font("Century", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            this.label41.Location = new System.Drawing.Point(136, 492);
-            this.label41.Name = "label41";
-            this.label41.Size = new System.Drawing.Size(150, 27);
-            this.label41.TabIndex = 118;
-            this.label41.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
-            // 
-            // btnTab2LineDel
-            // 
-            this.btnTab2LineDel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
-            this.btnTab2LineDel.BackColor = System.Drawing.Color.Red;
-            this.btnTab2LineDel.ForeColor = System.Drawing.Color.White;
-            this.btnTab2LineDel.Location = new System.Drawing.Point(1191, 490);
-            this.btnTab2LineDel.Name = "btnTab2LineDel";
-            this.btnTab2LineDel.Size = new System.Drawing.Size(130, 30);
-            this.btnTab2LineDel.TabIndex = 102;
-            this.btnTab2LineDel.TabStop = false;
-            this.btnTab2LineDel.Text = "è¡Œã€€å‰Šã€€é™¤";
-            this.btnTab2LineDel.UseVisualStyleBackColor = false;
-            this.btnTab2LineDel.Click += new System.EventHandler(this.btnTabLineDel_Click);
-            // 
-            // tabPage3
-            // 
-            this.tabPage3.BackColor = System.Drawing.Color.LightBlue;
-            this.tabPage3.Controls.Add(this.dgvPage3);
-            this.tabPage3.Controls.Add(this.label73);
-            this.tabPage3.Controls.Add(this.label74);
-            this.tabPage3.Controls.Add(this.label75);
-            this.tabPage3.Controls.Add(this.label76);
-            this.tabPage3.Controls.Add(this.label77);
-            this.tabPage3.Controls.Add(this.btnTab3LineNew);
-            this.tabPage3.Controls.Add(this.label78);
-            this.tabPage3.Controls.Add(this.label79);
-            this.tabPage3.Controls.Add(this.label80);
-            this.tabPage3.Controls.Add(this.label42);
-            this.tabPage3.Controls.Add(this.btnTab3LineDel);
-            this.tabPage3.Location = new System.Drawing.Point(4, 26);
-            this.tabPage3.Name = "tabPage3";
-            this.tabPage3.Size = new System.Drawing.Size(1326, 524);
-            this.tabPage3.TabIndex = 2;
-            this.tabPage3.Text = "è»Šä¸¡ãƒªãƒ¼ã‚¹ä»£";
-            // 
-            // label73
-            // 
-            this.label73.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.label73.BackColor = System.Drawing.Color.White;
-            this.label73.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label73.ForeColor = System.Drawing.Color.Black;
-            this.label73.Location = new System.Drawing.Point(906, 492);
-            this.label73.Name = "label73";
-            this.label73.Size = new System.Drawing.Size(30, 27);
-            this.label73.TabIndex = 142;
-            this.label73.Text = "å††";
-            this.label73.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // label74
-            // 
-            this.label74.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.label74.BackColor = System.Drawing.Color.Beige;
-            this.label74.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label74.ForeColor = System.Drawing.Color.Black;
-            this.label74.Location = new System.Drawing.Point(626, 492);
-            this.label74.Name = "label74";
-            this.label74.Size = new System.Drawing.Size(130, 27);
-            this.label74.TabIndex = 143;
-            this.label74.Text = "æ³•äººã‚¯ãƒ¬ã‚¸ãƒƒãƒˆ";
-            this.label74.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // label75
-            // 
-            this.label75.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.label75.BackColor = System.Drawing.Color.White;
-            this.label75.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label75.ForeColor = System.Drawing.Color.Black;
-            this.label75.Location = new System.Drawing.Point(596, 492);
-            this.label75.Name = "label75";
-            this.label75.Size = new System.Drawing.Size(30, 27);
-            this.label75.TabIndex = 140;
-            this.label75.Text = "å††";
-            this.label75.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // label76
-            // 
-            this.label76.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.label76.BackColor = System.Drawing.Color.Beige;
-            this.label76.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label76.ForeColor = System.Drawing.Color.Black;
-            this.label76.Location = new System.Drawing.Point(316, 492);
-            this.label76.Name = "label76";
-            this.label76.Size = new System.Drawing.Size(130, 27);
-            this.label76.TabIndex = 141;
-            this.label76.Text = "ç�¾ã€€ã€€é‡‘";
-            this.label76.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // label77
-            // 
-            this.label77.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.label77.BackColor = System.Drawing.Color.White;
-            this.label77.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label77.ForeColor = System.Drawing.Color.Black;
-            this.label77.Location = new System.Drawing.Point(286, 492);
-            this.label77.Name = "label77";
-            this.label77.Size = new System.Drawing.Size(30, 27);
-            this.label77.TabIndex = 138;
-            this.label77.Text = "å††";
-            this.label77.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // btnTab3LineNew
-            // 
-            this.btnTab3LineNew.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
-            this.btnTab3LineNew.BackColor = System.Drawing.Color.DarkSlateGray;
-            this.btnTab3LineNew.ForeColor = System.Drawing.Color.White;
-            this.btnTab3LineNew.Location = new System.Drawing.Point(1053, 490);
-            this.btnTab3LineNew.Name = "btnTab3LineNew";
-            this.btnTab3LineNew.Size = new System.Drawing.Size(130, 30);
-            this.btnTab3LineNew.TabIndex = 114;
-            this.btnTab3LineNew.TabStop = false;
-            this.btnTab3LineNew.Text = "è¡Œæ–°è¦�ä½œæˆ�";
-            this.btnTab3LineNew.UseVisualStyleBackColor = false;
-            this.btnTab3LineNew.Click += new System.EventHandler(this.btnTabLineNew_Click);
-            // 
-            // label78
-            // 
-            this.label78.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.label78.BackColor = System.Drawing.Color.Beige;
-            this.label78.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label78.ForeColor = System.Drawing.Color.Black;
-            this.label78.Location = new System.Drawing.Point(6, 492);
-            this.label78.Name = "label78";
-            this.label78.Size = new System.Drawing.Size(130, 27);
-            this.label78.TabIndex = 139;
-            this.label78.Text = "å€‹äººã‚¯ãƒ¬ã‚¸ãƒƒãƒˆ";
-            this.label78.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // label79
-            // 
-            this.label79.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.label79.BackColor = System.Drawing.Color.White;
-            this.label79.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label79.Font = new System.Drawing.Font("Century", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            this.label79.Location = new System.Drawing.Point(756, 492);
-            this.label79.Name = "label79";
-            this.label79.Size = new System.Drawing.Size(150, 27);
-            this.label79.TabIndex = 136;
-            this.label79.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
-            // 
-            // label80
-            // 
-            this.label80.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.label80.BackColor = System.Drawing.Color.White;
-            this.label80.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label80.Font = new System.Drawing.Font("Century", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            this.label80.Location = new System.Drawing.Point(446, 492);
-            this.label80.Name = "label80";
-            this.label80.Size = new System.Drawing.Size(150, 27);
-            this.label80.TabIndex = 137;
-            this.label80.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
-            // 
-            // label42
-            // 
-            this.label42.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.label42.BackColor = System.Drawing.Color.White;
-            this.label42.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label42.Font = new System.Drawing.Font("Century", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            this.label42.Location = new System.Drawing.Point(136, 492);
-            this.label42.Name = "label42";
-            this.label42.Size = new System.Drawing.Size(150, 27);
-            this.label42.TabIndex = 118;
-            this.label42.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
-            // 
-            // btnTab3LineDel
-            // 
-            this.btnTab3LineDel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
-            this.btnTab3LineDel.BackColor = System.Drawing.Color.Red;
-            this.btnTab3LineDel.ForeColor = System.Drawing.Color.White;
-            this.btnTab3LineDel.Location = new System.Drawing.Point(1191, 490);
-            this.btnTab3LineDel.Name = "btnTab3LineDel";
-            this.btnTab3LineDel.Size = new System.Drawing.Size(130, 30);
-            this.btnTab3LineDel.TabIndex = 102;
-            this.btnTab3LineDel.TabStop = false;
-            this.btnTab3LineDel.Text = "è¡Œã€€å‰Šã€€é™¤";
-            this.btnTab3LineDel.UseVisualStyleBackColor = false;
-            this.btnTab3LineDel.Click += new System.EventHandler(this.btnTabLineDel_Click);
-            // 
-            // tabPage4
-            // 
-            this.tabPage4.BackColor = System.Drawing.Color.Khaki;
-            this.tabPage4.Controls.Add(this.dgvPage4);
-            this.tabPage4.Controls.Add(this.label85);
-            this.tabPage4.Controls.Add(this.label86);
-            this.tabPage4.Controls.Add(this.label87);
-            this.tabPage4.Controls.Add(this.label88);
-            this.tabPage4.Controls.Add(this.label89);
-            this.tabPage4.Controls.Add(this.btnTab4LineNew);
-            this.tabPage4.Controls.Add(this.label90);
-            this.tabPage4.Controls.Add(this.label91);
-            this.tabPage4.Controls.Add(this.label92);
-            this.tabPage4.Controls.Add(this.label43);
-            this.tabPage4.Controls.Add(this.btnTab4LineDel);
-            this.tabPage4.Location = new System.Drawing.Point(4, 26);
-            this.tabPage4.Name = "tabPage4";
-            this.tabPage4.Size = new System.Drawing.Size(1326, 524);
-            this.tabPage4.TabIndex = 3;
-            this.tabPage4.Text = "é§�è»Šå ´ãƒ»è³‡æ��ç½®ã��å ´";
-            // 
-            // label85
-            // 
-            this.label85.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.label85.BackColor = System.Drawing.Color.White;
-            this.label85.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label85.ForeColor = System.Drawing.Color.Black;
-            this.label85.Location = new System.Drawing.Point(906, 492);
-            this.label85.Name = "label85";
-            this.label85.Size = new System.Drawing.Size(30, 27);
-            this.label85.TabIndex = 150;
-            this.label85.Text = "å††";
-            this.label85.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // label86
-            // 
-            this.label86.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.label86.BackColor = System.Drawing.Color.Beige;
-            this.label86.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label86.ForeColor = System.Drawing.Color.Black;
-            this.label86.Location = new System.Drawing.Point(626, 492);
-            this.label86.Name = "label86";
-            this.label86.Size = new System.Drawing.Size(130, 27);
-            this.label86.TabIndex = 151;
-            this.label86.Text = "æ³•äººã‚¯ãƒ¬ã‚¸ãƒƒãƒˆ";
-            this.label86.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // label87
-            // 
-            this.label87.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.label87.BackColor = System.Drawing.Color.White;
-            this.label87.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label87.ForeColor = System.Drawing.Color.Black;
-            this.label87.Location = new System.Drawing.Point(596, 492);
-            this.label87.Name = "label87";
-            this.label87.Size = new System.Drawing.Size(30, 27);
-            this.label87.TabIndex = 148;
-            this.label87.Text = "å††";
-            this.label87.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // label88
-            // 
-            this.label88.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.label88.BackColor = System.Drawing.Color.Beige;
-            this.label88.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label88.ForeColor = System.Drawing.Color.Black;
-            this.label88.Location = new System.Drawing.Point(316, 492);
-            this.label88.Name = "label88";
-            this.label88.Size = new System.Drawing.Size(130, 27);
-            this.label88.TabIndex = 149;
-            this.label88.Text = "ç�¾ã€€ã€€é‡‘";
-            this.label88.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // label89
-            // 
-            this.label89.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.label89.BackColor = System.Drawing.Color.White;
-            this.label89.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label89.ForeColor = System.Drawing.Color.Black;
-            this.label89.Location = new System.Drawing.Point(286, 492);
-            this.label89.Name = "label89";
-            this.label89.Size = new System.Drawing.Size(30, 27);
-            this.label89.TabIndex = 146;
-            this.label89.Text = "å††";
-            this.label89.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // btnTab4LineNew
-            // 
-            this.btnTab4LineNew.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
-            this.btnTab4LineNew.BackColor = System.Drawing.Color.DarkSlateGray;
-            this.btnTab4LineNew.ForeColor = System.Drawing.Color.White;
-            this.btnTab4LineNew.Location = new System.Drawing.Point(1053, 490);
-            this.btnTab4LineNew.Name = "btnTab4LineNew";
-            this.btnTab4LineNew.Size = new System.Drawing.Size(130, 30);
-            this.btnTab4LineNew.TabIndex = 114;
-            this.btnTab4LineNew.TabStop = false;
-            this.btnTab4LineNew.Text = "è¡Œæ–°è¦�ä½œæˆ�";
-            this.btnTab4LineNew.UseVisualStyleBackColor = false;
-            this.btnTab4LineNew.Click += new System.EventHandler(this.btnTabLineNew_Click);
-            // 
-            // label90
-            // 
-            this.label90.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.label90.BackColor = System.Drawing.Color.Beige;
-            this.label90.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label90.ForeColor = System.Drawing.Color.Black;
-            this.label90.Location = new System.Drawing.Point(6, 492);
-            this.label90.Name = "label90";
-            this.label90.Size = new System.Drawing.Size(130, 27);
-            this.label90.TabIndex = 147;
-            this.label90.Text = "å€‹äººã‚¯ãƒ¬ã‚¸ãƒƒãƒˆ";
-            this.label90.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // label91
-            // 
-            this.label91.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.label91.BackColor = System.Drawing.Color.White;
-            this.label91.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label91.Font = new System.Drawing.Font("Century", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            this.label91.Location = new System.Drawing.Point(756, 492);
-            this.label91.Name = "label91";
-            this.label91.Size = new System.Drawing.Size(150, 27);
-            this.label91.TabIndex = 144;
-            this.label91.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
-            // 
-            // label92
-            // 
-            this.label92.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.label92.BackColor = System.Drawing.Color.White;
-            this.label92.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label92.Font = new System.Drawing.Font("Century", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            this.label92.Location = new System.Drawing.Point(446, 492);
-            this.label92.Name = "label92";
-            this.label92.Size = new System.Drawing.Size(150, 27);
-            this.label92.TabIndex = 145;
-            this.label92.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
-            // 
-            // label43
-            // 
-            this.label43.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.label43.BackColor = System.Drawing.Color.White;
-            this.label43.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label43.Font = new System.Drawing.Font("Century", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            this.label43.Location = new System.Drawing.Point(136, 492);
-            this.label43.Name = "label43";
-            this.label43.Size = new System.Drawing.Size(150, 27);
-            this.label43.TabIndex = 118;
-            this.label43.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
-            // 
-            // btnTab4LineDel
-            // 
-            this.btnTab4LineDel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
-            this.btnTab4LineDel.BackColor = System.Drawing.Color.Red;
-            this.btnTab4LineDel.ForeColor = System.Drawing.Color.White;
-            this.btnTab4LineDel.Location = new System.Drawing.Point(1191, 490);
-            this.btnTab4LineDel.Name = "btnTab4LineDel";
-            this.btnTab4LineDel.Size = new System.Drawing.Size(130, 30);
-            this.btnTab4LineDel.TabIndex = 102;
-            this.btnTab4LineDel.TabStop = false;
-            this.btnTab4LineDel.Text = "è¡Œã€€å‰Šã€€é™¤";
-            this.btnTab4LineDel.UseVisualStyleBackColor = false;
-            this.btnTab4LineDel.Click += new System.EventHandler(this.btnTabLineDel_Click);
-            // 
-            // tabPage5
-            // 
-            this.tabPage5.BackColor = System.Drawing.Color.LemonChiffon;
-            this.tabPage5.Controls.Add(this.dgvPage5);
-            this.tabPage5.Controls.Add(this.label97);
-            this.tabPage5.Controls.Add(this.label98);
-            this.tabPage5.Controls.Add(this.label99);
-            this.tabPage5.Controls.Add(this.label100);
-            this.tabPage5.Controls.Add(this.label101);
-            this.tabPage5.Controls.Add(this.btnTab5LineNew);
-            this.tabPage5.Controls.Add(this.label102);
-            this.tabPage5.Controls.Add(this.label103);
-            this.tabPage5.Controls.Add(this.label104);
-            this.tabPage5.Controls.Add(this.label44);
-            this.tabPage5.Controls.Add(this.btnTab5LineDel);
-            this.tabPage5.Location = new System.Drawing.Point(4, 26);
-            this.tabPage5.Name = "tabPage5";
-            this.tabPage5.Size = new System.Drawing.Size(1326, 524);
-            this.tabPage5.TabIndex = 4;
-            this.tabPage5.Text = "å®¿ã€€ã€€æ³Šã€€ã€€è²»";
-            // 
-            // label97
-            // 
-            this.label97.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.label97.BackColor = System.Drawing.Color.White;
-            this.label97.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label97.ForeColor = System.Drawing.Color.Black;
-            this.label97.Location = new System.Drawing.Point(906, 492);
-            this.label97.Name = "label97";
-            this.label97.Size = new System.Drawing.Size(30, 27);
-            this.label97.TabIndex = 158;
-            this.label97.Text = "å††";
-            this.label97.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // label98
-            // 
-            this.label98.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.label98.BackColor = System.Drawing.Color.Beige;
-            this.label98.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label98.ForeColor = System.Drawing.Color.Black;
-            this.label98.Location = new System.Drawing.Point(626, 492);
-            this.label98.Name = "label98";
-            this.label98.Size = new System.Drawing.Size(130, 27);
-            this.label98.TabIndex = 159;
-            this.label98.Text = "æ³•äººã‚¯ãƒ¬ã‚¸ãƒƒãƒˆ";
-            this.label98.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // label99
-            // 
-            this.label99.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.label99.BackColor = System.Drawing.Color.White;
-            this.label99.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label99.ForeColor = System.Drawing.Color.Black;
-            this.label99.Location = new System.Drawing.Point(596, 492);
-            this.label99.Name = "label99";
-            this.label99.Size = new System.Drawing.Size(30, 27);
-            this.label99.TabIndex = 156;
-            this.label99.Text = "å††";
-            this.label99.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // label100
-            // 
-            this.label100.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.label100.BackColor = System.Drawing.Color.Beige;
-            this.label100.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label100.ForeColor = System.Drawing.Color.Black;
-            this.label100.Location = new System.Drawing.Point(316, 492);
-            this.label100.Name = "label100";
-            this.label100.Size = new System.Drawing.Size(130, 27);
-            this.label100.TabIndex = 157;
-            this.label100.Text = "ç�¾ã€€ã€€é‡‘";
-            this.label100.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // label101
-            // 
-            this.label101.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.label101.BackColor = System.Drawing.Color.White;
-            this.label101.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label101.ForeColor = System.Drawing.Color.Black;
-            this.label101.Location = new System.Drawing.Point(286, 492);
-            this.label101.Name = "label101";
-            this.label101.Size = new System.Drawing.Size(30, 27);
-            this.label101.TabIndex = 154;
-            this.label101.Text = "å††";
-            this.label101.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // btnTab5LineNew
-            // 
-            this.btnTab5LineNew.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
-            this.btnTab5LineNew.BackColor = System.Drawing.Color.DarkSlateGray;
-            this.btnTab5LineNew.ForeColor = System.Drawing.Color.White;
-            this.btnTab5LineNew.Location = new System.Drawing.Point(1053, 490);
-            this.btnTab5LineNew.Name = "btnTab5LineNew";
-            this.btnTab5LineNew.Size = new System.Drawing.Size(130, 30);
-            this.btnTab5LineNew.TabIndex = 114;
-            this.btnTab5LineNew.TabStop = false;
-            this.btnTab5LineNew.Text = "è¡Œæ–°è¦�ä½œæˆ�";
-            this.btnTab5LineNew.UseVisualStyleBackColor = false;
-            this.btnTab5LineNew.Click += new System.EventHandler(this.btnTabLineNew_Click);
-            // 
-            // label102
-            // 
-            this.label102.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.label102.BackColor = System.Drawing.Color.Beige;
-            this.label102.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label102.ForeColor = System.Drawing.Color.Black;
-            this.label102.Location = new System.Drawing.Point(6, 492);
-            this.label102.Name = "label102";
-            this.label102.Size = new System.Drawing.Size(130, 27);
-            this.label102.TabIndex = 155;
-            this.label102.Text = "å€‹äººã‚¯ãƒ¬ã‚¸ãƒƒãƒˆ";
-            this.label102.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // label103
-            // 
-            this.label103.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.label103.BackColor = System.Drawing.Color.White;
-            this.label103.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label103.Font = new System.Drawing.Font("Century", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            this.label103.Location = new System.Drawing.Point(756, 492);
-            this.label103.Name = "label103";
-            this.label103.Size = new System.Drawing.Size(150, 27);
-            this.label103.TabIndex = 152;
-            this.label103.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
-            // 
-            // label104
-            // 
-            this.label104.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.label104.BackColor = System.Drawing.Color.White;
-            this.label104.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label104.Font = new System.Drawing.Font("Century", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            this.label104.Location = new System.Drawing.Point(446, 492);
-            this.label104.Name = "label104";
-            this.label104.Size = new System.Drawing.Size(150, 27);
-            this.label104.TabIndex = 153;
-            this.label104.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
-            // 
-            // label44
-            // 
-            this.label44.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.label44.BackColor = System.Drawing.Color.White;
-            this.label44.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label44.Font = new System.Drawing.Font("Century", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            this.label44.Location = new System.Drawing.Point(136, 492);
-            this.label44.Name = "label44";
-            this.label44.Size = new System.Drawing.Size(150, 27);
-            this.label44.TabIndex = 118;
-            this.label44.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
-            // 
-            // btnTab5LineDel
-            // 
-            this.btnTab5LineDel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
-            this.btnTab5LineDel.BackColor = System.Drawing.Color.Red;
-            this.btnTab5LineDel.ForeColor = System.Drawing.Color.White;
-            this.btnTab5LineDel.Location = new System.Drawing.Point(1191, 490);
-            this.btnTab5LineDel.Name = "btnTab5LineDel";
-            this.btnTab5LineDel.Size = new System.Drawing.Size(130, 30);
-            this.btnTab5LineDel.TabIndex = 102;
-            this.btnTab5LineDel.TabStop = false;
-            this.btnTab5LineDel.Text = "è¡Œã€€å‰Šã€€é™¤";
-            this.btnTab5LineDel.UseVisualStyleBackColor = false;
-            this.btnTab5LineDel.Click += new System.EventHandler(this.btnTabLineDel_Click);
-            // 
-            // tabPage6
-            // 
-            this.tabPage6.BackColor = System.Drawing.Color.LightGray;
-            this.tabPage6.Controls.Add(this.label5);
-            this.tabPage6.Controls.Add(this.label6);
-            this.tabPage6.Controls.Add(this.label7);
-            this.tabPage6.Controls.Add(this.label8);
-            this.tabPage6.Controls.Add(this.label9);
-            this.tabPage6.Controls.Add(this.btnTab6LineNew);
-            this.tabPage6.Controls.Add(this.label10);
-            this.tabPage6.Controls.Add(this.label11);
-            this.tabPage6.Controls.Add(this.label12);
-            this.tabPage6.Controls.Add(this.label13);
-            this.tabPage6.Controls.Add(this.btnTab6LineDel);
-            this.tabPage6.Controls.Add(this.dgvPage6);
-            this.tabPage6.Location = new System.Drawing.Point(4, 26);
-            this.tabPage6.Name = "tabPage6";
-            this.tabPage6.Size = new System.Drawing.Size(1326, 524);
-            this.tabPage6.TabIndex = 5;
-            this.tabPage6.Text = "å‡¦ã€€ã€€åˆ†ã€€ã€€è²»";
-            // 
-            // label5
-            // 
-            this.label5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.label5.BackColor = System.Drawing.Color.White;
-            this.label5.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label5.ForeColor = System.Drawing.Color.Black;
-            this.label5.Location = new System.Drawing.Point(906, 492);
-            this.label5.Name = "label5";
-            this.label5.Size = new System.Drawing.Size(30, 27);
-            this.label5.TabIndex = 171;
-            this.label5.Text = "å††";
-            this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // label6
-            // 
-            this.label6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.label6.BackColor = System.Drawing.Color.Beige;
-            this.label6.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label6.ForeColor = System.Drawing.Color.Black;
-            this.label6.Location = new System.Drawing.Point(626, 492);
-            this.label6.Name = "label6";
-            this.label6.Size = new System.Drawing.Size(130, 27);
-            this.label6.TabIndex = 172;
-            this.label6.Text = "æ³•äººã‚¯ãƒ¬ã‚¸ãƒƒãƒˆ";
-            this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // label7
-            // 
-            this.label7.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.label7.BackColor = System.Drawing.Color.White;
-            this.label7.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label7.ForeColor = System.Drawing.Color.Black;
-            this.label7.Location = new System.Drawing.Point(596, 492);
-            this.label7.Name = "label7";
-            this.label7.Size = new System.Drawing.Size(30, 27);
-            this.label7.TabIndex = 169;
-            this.label7.Text = "å††";
-            this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // label8
-            // 
-            this.label8.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.label8.BackColor = System.Drawing.Color.Beige;
-            this.label8.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label8.ForeColor = System.Drawing.Color.Black;
-            this.label8.Location = new System.Drawing.Point(316, 492);
-            this.label8.Name = "label8";
-            this.label8.Size = new System.Drawing.Size(130, 27);
-            this.label8.TabIndex = 170;
-            this.label8.Text = "ç�¾ã€€ã€€é‡‘";
-            this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // label9
-            // 
-            this.label9.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.label9.BackColor = System.Drawing.Color.White;
-            this.label9.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label9.ForeColor = System.Drawing.Color.Black;
-            this.label9.Location = new System.Drawing.Point(286, 492);
-            this.label9.Name = "label9";
-            this.label9.Size = new System.Drawing.Size(30, 27);
-            this.label9.TabIndex = 167;
-            this.label9.Text = "å††";
-            this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // btnTab6LineNew
-            // 
-            this.btnTab6LineNew.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
-            this.btnTab6LineNew.BackColor = System.Drawing.Color.DarkSlateGray;
-            this.btnTab6LineNew.ForeColor = System.Drawing.Color.White;
-            this.btnTab6LineNew.Location = new System.Drawing.Point(1053, 490);
-            this.btnTab6LineNew.Name = "btnTab6LineNew";
-            this.btnTab6LineNew.Size = new System.Drawing.Size(130, 30);
-            this.btnTab6LineNew.TabIndex = 163;
-            this.btnTab6LineNew.TabStop = false;
-            this.btnTab6LineNew.Text = "è¡Œæ–°è¦�ä½œæˆ�";
-            this.btnTab6LineNew.UseVisualStyleBackColor = false;
-            this.btnTab6LineNew.Click += new System.EventHandler(this.btnTabLineNew_Click);
-            // 
-            // label10
-            // 
-            this.label10.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.label10.BackColor = System.Drawing.Color.Beige;
-            this.label10.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label10.ForeColor = System.Drawing.Color.Black;
-            this.label10.Location = new System.Drawing.Point(6, 492);
-            this.label10.Name = "label10";
-            this.label10.Size = new System.Drawing.Size(130, 27);
-            this.label10.TabIndex = 168;
-            this.label10.Text = "å€‹äººã‚¯ãƒ¬ã‚¸ãƒƒãƒˆ";
-            this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // label11
-            // 
-            this.label11.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.label11.BackColor = System.Drawing.Color.White;
-            this.label11.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label11.Font = new System.Drawing.Font("Century", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            this.label11.Location = new System.Drawing.Point(756, 492);
-            this.label11.Name = "label11";
-            this.label11.Size = new System.Drawing.Size(150, 27);
-            this.label11.TabIndex = 165;
-            this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
-            // 
-            // label12
-            // 
-            this.label12.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.label12.BackColor = System.Drawing.Color.White;
-            this.label12.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label12.Font = new System.Drawing.Font("Century", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            this.label12.Location = new System.Drawing.Point(446, 492);
-            this.label12.Name = "label12";
-            this.label12.Size = new System.Drawing.Size(150, 27);
-            this.label12.TabIndex = 166;
-            this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
-            // 
-            // label13
-            // 
-            this.label13.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.label13.BackColor = System.Drawing.Color.White;
-            this.label13.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label13.Font = new System.Drawing.Font("Century", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            this.label13.Location = new System.Drawing.Point(136, 492);
-            this.label13.Name = "label13";
-            this.label13.Size = new System.Drawing.Size(150, 27);
-            this.label13.TabIndex = 164;
-            this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
-            // 
-            // btnTab6LineDel
-            // 
-            this.btnTab6LineDel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
-            this.btnTab6LineDel.BackColor = System.Drawing.Color.Red;
-            this.btnTab6LineDel.ForeColor = System.Drawing.Color.White;
-            this.btnTab6LineDel.Location = new System.Drawing.Point(1191, 490);
-            this.btnTab6LineDel.Name = "btnTab6LineDel";
-            this.btnTab6LineDel.Size = new System.Drawing.Size(130, 30);
-            this.btnTab6LineDel.TabIndex = 162;
-            this.btnTab6LineDel.TabStop = false;
-            this.btnTab6LineDel.Text = "è¡Œã€€å‰Šã€€é™¤";
-            this.btnTab6LineDel.UseVisualStyleBackColor = false;
-            this.btnTab6LineDel.Click += new System.EventHandler(this.btnTabLineDel_Click);
-            // 
-            // panel3
-            // 
-            this.panel3.Anchor = System.Windows.Forms.AnchorStyles.Top;
-            this.panel3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(255)))));
-            this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.panel3.Controls.Add(this.cmbDepartment);
-            this.panel3.Controls.Add(this.label2);
-            this.panel3.Controls.Add(this.cmbConstructionPerson);
-            this.panel3.Controls.Add(this.label3);
-            this.panel3.Controls.Add(this.label4);
-            this.panel3.Controls.Add(this.comboBox1);
-            this.panel3.Location = new System.Drawing.Point(6, 40);
-            this.panel3.Name = "panel3";
-            this.panel3.Size = new System.Drawing.Size(1325, 44);
-            this.panel3.TabIndex = 0;
-            // 
-            // label2
-            // 
-            this.label2.BackColor = System.Drawing.Color.SandyBrown;
-            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(309, 5);
-            this.label2.Name = "label2";
-            this.label2.Size = new System.Drawing.Size(120, 27);
-            this.label2.TabIndex = 108;
-            this.label2.Text = "æ‹…å½“éƒ¨ç½²";
-            this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // label3
-            // 
-            this.label3.BackColor = System.Drawing.Color.SandyBrown;
-            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(713, 5);
-            this.label3.Name = "label3";
-            this.label3.Size = new System.Drawing.Size(120, 27);
-            this.label3.TabIndex = 106;
-            this.label3.Text = "æ‹…ã€€å½“ã€€è€…";
-            this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // label4
-            // 
-            this.label4.BackColor = System.Drawing.Color.SandyBrown;
-            this.label4.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label4.Location = new System.Drawing.Point(5, 5);
-            this.label4.Name = "label4";
-            this.label4.Size = new System.Drawing.Size(120, 27);
-            this.label4.TabIndex = 104;
-            this.label4.Text = "å¯¾è±¡å¹´æœˆ";
-            this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // 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(1069, 3);
-            this.pnlApproval.Name = "pnlApproval";
-            this.pnlApproval.Size = new System.Drawing.Size(262, 34);
-            this.pnlApproval.TabIndex = 109;
-            this.pnlApproval.Visible = false;
-            // 
-            // 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;
-            // 
-            // 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;
-            // 
-            // 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(1069, 3);
-            this.pnlApprovalButton.Name = "pnlApprovalButton";
-            this.pnlApprovalButton.Size = new System.Drawing.Size(262, 34);
-            this.pnlApprovalButton.TabIndex = 110;
-            this.pnlApprovalButton.Visible = false;
-            // 
-            // btnOnApproval
-            // 
-            this.btnOnApproval.BackColor = System.Drawing.Color.MediumSpringGreen;
-            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;
-            // 
-            // btnNotApproval
-            // 
-            this.btnNotApproval.BackColor = System.Drawing.Color.Red;
-            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;
-            // 
-            // btnOnHold
-            // 
-            this.btnOnHold.BackColor = System.Drawing.Color.Yellow;
-            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;
-            // 
-            // btnDataDelete
-            // 
-            this.btnDataDelete.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
-            this.btnDataDelete.BackColor = System.Drawing.Color.Red;
-            this.btnDataDelete.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.btnDataDelete.ForeColor = System.Drawing.Color.White;
-            this.btnDataDelete.Location = new System.Drawing.Point(1089, 654);
-            this.btnDataDelete.Name = "btnDataDelete";
-            this.btnDataDelete.Size = new System.Drawing.Size(120, 30);
-            this.btnDataDelete.TabIndex = 104;
-            this.btnDataDelete.Text = "å‰Šã€€é™¤";
-            this.btnDataDelete.UseVisualStyleBackColor = false;
-            this.btnDataDelete.Visible = false;
-            this.btnDataDelete.Click += new System.EventHandler(this.btnDataDelete_Click);
-            // 
-            // 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(963, 654);
-            this.btnDataEntry.Name = "btnDataEntry";
-            this.btnDataEntry.Size = new System.Drawing.Size(120, 30);
-            this.btnDataEntry.TabIndex = 103;
-            this.btnDataEntry.Text = "ç™»ã€€éŒ²";
-            this.btnDataEntry.UseVisualStyleBackColor = false;
-            this.btnDataEntry.Click += new System.EventHandler(this.btnDataEntry_Click);
-            // 
-            // 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.White;
-            this.lblCellTotal.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.lblCellTotal.ForeColor = System.Drawing.Color.Black;
-            this.lblCellTotal.Location = new System.Drawing.Point(60, 650);
-            this.lblCellTotal.Name = "lblCellTotal";
-            this.lblCellTotal.Size = new System.Drawing.Size(0, 16);
-            this.lblCellTotal.TabIndex = 105;
-            // 
-            // btnTest
-            // 
-            this.btnTest.Location = new System.Drawing.Point(6, 654);
-            this.btnTest.Name = "btnTest";
-            this.btnTest.Size = new System.Drawing.Size(100, 23);
-            this.btnTest.TabIndex = 111;
-            this.btnTest.Text = "button1";
-            this.btnTest.UseVisualStyleBackColor = true;
-            this.btnTest.Visible = false;
-            this.btnTest.Click += new System.EventHandler(this.btnTest_Click);
-            // 
-            // 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.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 15.75F, System.Drawing.FontStyle.Bold);
-            this.cmbDepartment.FormattingEnabled = true;
-            this.cmbDepartment.Location = new System.Drawing.Point(437, 4);
-            this.cmbDepartment.Name = "cmbDepartment";
-            this.cmbDepartment.Size = new System.Drawing.Size(260, 29);
-            this.cmbDepartment.TabIndex = 1;
-            // 
-            // cmbConstructionPerson
-            // 
-            this.cmbConstructionPerson.BackColor = System.Drawing.Color.White;
-            this.cmbConstructionPerson.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
-            this.cmbConstructionPerson.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
-            this.cmbConstructionPerson.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.cmbConstructionPerson.FormattingEnabled = true;
-            this.cmbConstructionPerson.Location = new System.Drawing.Point(841, 4);
-            this.cmbConstructionPerson.Name = "cmbConstructionPerson";
-            this.cmbConstructionPerson.Size = new System.Drawing.Size(200, 29);
-            this.cmbConstructionPerson.TabIndex = 2;
-            // 
-            // comboBox1
-            // 
-            this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
-            this.comboBox1.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
-            this.comboBox1.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.comboBox1.FormattingEnabled = true;
-            this.comboBox1.Location = new System.Drawing.Point(133, 4);
-            this.comboBox1.Name = "comboBox1";
-            this.comboBox1.Size = new System.Drawing.Size(160, 29);
-            this.comboBox1.TabIndex = 0;
-            // 
             // dgvPage1
             // 
             this.dgvPage1.AllowUserToAddRows = false;
@@ -1616,14 +531,14 @@
             | System.Windows.Forms.AnchorStyles.Right)));
             this.dgvPage1.BackgroundColor = System.Drawing.Color.White;
             this.dgvPage1.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.dgvPage1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
+            dataGridViewCellStyle85.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle85.BackColor = System.Drawing.SystemColors.Control;
+            dataGridViewCellStyle85.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            dataGridViewCellStyle85.ForeColor = System.Drawing.SystemColors.WindowText;
+            dataGridViewCellStyle85.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+            dataGridViewCellStyle85.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle85.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvPage1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle85;
             this.dgvPage1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
             this.dgvPage1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
             this.dataGridViewTextBoxColumn3,
@@ -1653,7 +568,7 @@
             this.dgvPage1.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
             this.dgvPage1.RowTemplate.Height = 24;
             this.dgvPage1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
-            this.dgvPage1.Size = new System.Drawing.Size(1315, 426);
+            this.dgvPage1.Size = new System.Drawing.Size(1315, 482);
             this.dgvPage1.TabIndex = 116;
             this.dgvPage1.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvPage_CellContentClick);
             this.dgvPage1.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvPage_CellDoubleClick);
@@ -1664,9 +579,9 @@
             // 
             // dataGridViewTextBoxColumn3
             // 
-            dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle2.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn3.DefaultCellStyle = dataGridViewCellStyle2;
+            dataGridViewCellStyle86.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle86.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn3.DefaultCellStyle = dataGridViewCellStyle86;
             this.dataGridViewTextBoxColumn3.Frozen = true;
             this.dataGridViewTextBoxColumn3.HeaderText = "æ—¥ä»˜";
             this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
@@ -1697,9 +612,9 @@
             // 
             // dataGridViewTextBoxColumn41
             // 
-            dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            dataGridViewCellStyle3.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn41.DefaultCellStyle = dataGridViewCellStyle3;
+            dataGridViewCellStyle87.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle87.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn41.DefaultCellStyle = dataGridViewCellStyle87;
             this.dataGridViewTextBoxColumn41.Frozen = true;
             this.dataGridViewTextBoxColumn41.HeaderText = "å·¥ã€€äº‹ã€€å��ã€€ç§°";
             this.dataGridViewTextBoxColumn41.Name = "dataGridViewTextBoxColumn41";
@@ -1710,9 +625,9 @@
             // 
             // dataGridViewTextBoxColumn42
             // 
-            dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            dataGridViewCellStyle4.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn42.DefaultCellStyle = dataGridViewCellStyle4;
+            dataGridViewCellStyle88.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle88.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn42.DefaultCellStyle = dataGridViewCellStyle88;
             this.dataGridViewTextBoxColumn42.Frozen = true;
             this.dataGridViewTextBoxColumn42.HeaderText = "æ”¯ã€€æ‰•ã€€å†…ã€€å®¹";
             this.dataGridViewTextBoxColumn42.Name = "dataGridViewTextBoxColumn42";
@@ -1722,10 +637,10 @@
             // 
             // Column6
             // 
-            dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle5.SelectionBackColor = System.Drawing.Color.Transparent;
-            this.Column6.DefaultCellStyle = dataGridViewCellStyle5;
+            dataGridViewCellStyle89.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle89.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle89.SelectionBackColor = System.Drawing.Color.Transparent;
+            this.Column6.DefaultCellStyle = dataGridViewCellStyle89;
             this.Column6.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.Column6.Frozen = true;
             this.Column6.HeaderText = "å€‹";
@@ -1734,10 +649,10 @@
             // 
             // Column7
             // 
-            dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle6.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle6.SelectionBackColor = System.Drawing.Color.Transparent;
-            this.Column7.DefaultCellStyle = dataGridViewCellStyle6;
+            dataGridViewCellStyle90.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle90.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle90.SelectionBackColor = System.Drawing.Color.Transparent;
+            this.Column7.DefaultCellStyle = dataGridViewCellStyle90;
             this.Column7.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.Column7.Frozen = true;
             this.Column7.HeaderText = "ç�¾";
@@ -1746,10 +661,10 @@
             // 
             // Column8
             // 
-            dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle7.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle7.SelectionBackColor = System.Drawing.Color.Transparent;
-            this.Column8.DefaultCellStyle = dataGridViewCellStyle7;
+            dataGridViewCellStyle91.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle91.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle91.SelectionBackColor = System.Drawing.Color.Transparent;
+            this.Column8.DefaultCellStyle = dataGridViewCellStyle91;
             this.Column8.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.Column8.Frozen = true;
             this.Column8.HeaderText = "æ³•";
@@ -1768,8 +683,8 @@
             // 
             // Column4
             // 
-            dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.Column4.DefaultCellStyle = dataGridViewCellStyle8;
+            dataGridViewCellStyle92.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.Column4.DefaultCellStyle = dataGridViewCellStyle92;
             this.Column4.Frozen = true;
             this.Column4.HeaderText = "æ”¯æ‰•æ–¹æ³•";
             this.Column4.Name = "Column4";
@@ -1779,10 +694,10 @@
             // 
             // dataGridViewTextBoxColumn43
             // 
-            dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle9.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            dataGridViewCellStyle9.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn43.DefaultCellStyle = dataGridViewCellStyle9;
+            dataGridViewCellStyle93.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle93.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            dataGridViewCellStyle93.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn43.DefaultCellStyle = dataGridViewCellStyle93;
             this.dataGridViewTextBoxColumn43.Frozen = true;
             this.dataGridViewTextBoxColumn43.HeaderText = "ç¨ŽæŠœæ”¯æ‰•é‡‘é¡�";
             this.dataGridViewTextBoxColumn43.Name = "dataGridViewTextBoxColumn43";
@@ -1792,10 +707,10 @@
             // 
             // Column9
             // 
-            dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle10.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            dataGridViewCellStyle10.ForeColor = System.Drawing.Color.Black;
-            this.Column9.DefaultCellStyle = dataGridViewCellStyle10;
+            dataGridViewCellStyle94.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle94.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            dataGridViewCellStyle94.ForeColor = System.Drawing.Color.Black;
+            this.Column9.DefaultCellStyle = dataGridViewCellStyle94;
             this.Column9.Frozen = true;
             this.Column9.HeaderText = "ç¨Žè¾¼æ”¯æ‰•é‡‘é¡�";
             this.Column9.Name = "Column9";
@@ -1815,9 +730,9 @@
             // 
             // dataGridViewTextBoxColumn45
             // 
-            dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            dataGridViewCellStyle11.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn45.DefaultCellStyle = dataGridViewCellStyle11;
+            dataGridViewCellStyle95.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle95.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn45.DefaultCellStyle = dataGridViewCellStyle95;
             this.dataGridViewTextBoxColumn45.Frozen = true;
             this.dataGridViewTextBoxColumn45.HeaderText = "æ”¯æ‰•å…ˆå��ç§°";
             this.dataGridViewTextBoxColumn45.Name = "dataGridViewTextBoxColumn45";
@@ -1837,10 +752,10 @@
             // 
             // Column3
             // 
-            dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle12.Font = new System.Drawing.Font("Century", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            dataGridViewCellStyle12.ForeColor = System.Drawing.Color.Black;
-            this.Column3.DefaultCellStyle = dataGridViewCellStyle12;
+            dataGridViewCellStyle96.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle96.Font = new System.Drawing.Font("Century", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            dataGridViewCellStyle96.ForeColor = System.Drawing.Color.Black;
+            this.Column3.DefaultCellStyle = dataGridViewCellStyle96;
             this.Column3.Frozen = true;
             this.Column3.HeaderText = "ä¼�ç¥¨ç•ªå�·";
             this.Column3.Name = "Column3";
@@ -1850,11 +765,11 @@
             // 
             // Column14
             // 
-            dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle13.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle13.ForeColor = System.Drawing.Color.Transparent;
-            dataGridViewCellStyle13.SelectionForeColor = System.Drawing.Color.Transparent;
-            this.Column14.DefaultCellStyle = dataGridViewCellStyle13;
+            dataGridViewCellStyle97.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle97.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle97.ForeColor = System.Drawing.Color.Transparent;
+            dataGridViewCellStyle97.SelectionForeColor = System.Drawing.Color.Transparent;
+            this.Column14.DefaultCellStyle = dataGridViewCellStyle97;
             this.Column14.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.Column14.Frozen = true;
             this.Column14.HeaderText = "ç¢º";
@@ -1863,11 +778,11 @@
             // 
             // Column20
             // 
-            dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle14.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle14.ForeColor = System.Drawing.Color.Transparent;
-            dataGridViewCellStyle14.SelectionForeColor = System.Drawing.Color.Transparent;
-            this.Column20.DefaultCellStyle = dataGridViewCellStyle14;
+            dataGridViewCellStyle98.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle98.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle98.ForeColor = System.Drawing.Color.Transparent;
+            dataGridViewCellStyle98.SelectionForeColor = System.Drawing.Color.Transparent;
+            this.Column20.DefaultCellStyle = dataGridViewCellStyle98;
             this.Column20.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.Column20.Frozen = true;
             this.Column20.HeaderText = "ç¢º";
@@ -1874,6 +789,56 @@
             this.Column20.Name = "Column20";
             this.Column20.Width = 20;
             // 
+            // btnTab1LineDel
+            // 
+            this.btnTab1LineDel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.btnTab1LineDel.BackColor = System.Drawing.Color.Red;
+            this.btnTab1LineDel.ForeColor = System.Drawing.Color.White;
+            this.btnTab1LineDel.Location = new System.Drawing.Point(1191, 490);
+            this.btnTab1LineDel.Name = "btnTab1LineDel";
+            this.btnTab1LineDel.Size = new System.Drawing.Size(130, 30);
+            this.btnTab1LineDel.TabIndex = 102;
+            this.btnTab1LineDel.TabStop = false;
+            this.btnTab1LineDel.Text = "è¡Œã€€å‰Šã€€é™¤";
+            this.btnTab1LineDel.UseVisualStyleBackColor = false;
+            this.btnTab1LineDel.Click += new System.EventHandler(this.btnTabLineDel_Click);
+            // 
+            // btnTab1LineNew
+            // 
+            this.btnTab1LineNew.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.btnTab1LineNew.BackColor = System.Drawing.Color.DarkSlateGray;
+            this.btnTab1LineNew.ForeColor = System.Drawing.Color.White;
+            this.btnTab1LineNew.Location = new System.Drawing.Point(1053, 490);
+            this.btnTab1LineNew.Name = "btnTab1LineNew";
+            this.btnTab1LineNew.Size = new System.Drawing.Size(130, 30);
+            this.btnTab1LineNew.TabIndex = 101;
+            this.btnTab1LineNew.TabStop = false;
+            this.btnTab1LineNew.Text = "è¡Œæ–°è¦�ä½œæˆ�";
+            this.btnTab1LineNew.UseVisualStyleBackColor = false;
+            this.btnTab1LineNew.Click += new System.EventHandler(this.btnTabLineNew_Click);
+            // 
+            // tabPage2
+            // 
+            this.tabPage2.BackColor = System.Drawing.Color.LightGreen;
+            this.tabPage2.Controls.Add(this.dgvPage2);
+            this.tabPage2.Controls.Add(this.label61);
+            this.tabPage2.Controls.Add(this.label62);
+            this.tabPage2.Controls.Add(this.label63);
+            this.tabPage2.Controls.Add(this.label64);
+            this.tabPage2.Controls.Add(this.label65);
+            this.tabPage2.Controls.Add(this.btnTab2LineNew);
+            this.tabPage2.Controls.Add(this.label66);
+            this.tabPage2.Controls.Add(this.label67);
+            this.tabPage2.Controls.Add(this.label68);
+            this.tabPage2.Controls.Add(this.label41);
+            this.tabPage2.Controls.Add(this.btnTab2LineDel);
+            this.tabPage2.Location = new System.Drawing.Point(4, 26);
+            this.tabPage2.Name = "tabPage2";
+            this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
+            this.tabPage2.Size = new System.Drawing.Size(1326, 524);
+            this.tabPage2.TabIndex = 1;
+            this.tabPage2.Text = "è³¼ã€€å…¥ã€€å“�ã€€è²»";
+            // 
             // dgvPage2
             // 
             this.dgvPage2.AllowUserToAddRows = false;
@@ -1885,14 +850,14 @@
             | System.Windows.Forms.AnchorStyles.Right)));
             this.dgvPage2.BackgroundColor = System.Drawing.Color.White;
             this.dgvPage2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            dataGridViewCellStyle15.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle15.BackColor = System.Drawing.SystemColors.Control;
-            dataGridViewCellStyle15.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            dataGridViewCellStyle15.ForeColor = System.Drawing.SystemColors.WindowText;
-            dataGridViewCellStyle15.SelectionBackColor = System.Drawing.SystemColors.Highlight;
-            dataGridViewCellStyle15.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
-            dataGridViewCellStyle15.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
-            this.dgvPage2.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle15;
+            dataGridViewCellStyle99.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle99.BackColor = System.Drawing.SystemColors.Control;
+            dataGridViewCellStyle99.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            dataGridViewCellStyle99.ForeColor = System.Drawing.SystemColors.WindowText;
+            dataGridViewCellStyle99.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+            dataGridViewCellStyle99.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle99.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvPage2.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle99;
             this.dgvPage2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
             this.dgvPage2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
             this.dataGridViewTextBoxColumn1,
@@ -1933,9 +898,9 @@
             // 
             // dataGridViewTextBoxColumn1
             // 
-            dataGridViewCellStyle16.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle16.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle16;
+            dataGridViewCellStyle100.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle100.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle100;
             this.dataGridViewTextBoxColumn1.Frozen = true;
             this.dataGridViewTextBoxColumn1.HeaderText = "æ—¥ä»˜";
             this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
@@ -1966,9 +931,9 @@
             // 
             // dataGridViewTextBoxColumn5
             // 
-            dataGridViewCellStyle17.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            dataGridViewCellStyle17.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn5.DefaultCellStyle = dataGridViewCellStyle17;
+            dataGridViewCellStyle101.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle101.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn5.DefaultCellStyle = dataGridViewCellStyle101;
             this.dataGridViewTextBoxColumn5.Frozen = true;
             this.dataGridViewTextBoxColumn5.HeaderText = "å·¥ã€€äº‹ã€€å��ã€€ç§°";
             this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
@@ -1979,9 +944,9 @@
             // 
             // dataGridViewTextBoxColumn6
             // 
-            dataGridViewCellStyle18.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            dataGridViewCellStyle18.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn6.DefaultCellStyle = dataGridViewCellStyle18;
+            dataGridViewCellStyle102.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle102.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn6.DefaultCellStyle = dataGridViewCellStyle102;
             this.dataGridViewTextBoxColumn6.Frozen = true;
             this.dataGridViewTextBoxColumn6.HeaderText = "æ”¯ã€€æ‰•ã€€å†…ã€€å®¹";
             this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
@@ -1991,10 +956,10 @@
             // 
             // dataGridViewButtonColumn1
             // 
-            dataGridViewCellStyle19.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle19.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle19.SelectionBackColor = System.Drawing.Color.Transparent;
-            this.dataGridViewButtonColumn1.DefaultCellStyle = dataGridViewCellStyle19;
+            dataGridViewCellStyle103.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle103.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle103.SelectionBackColor = System.Drawing.Color.Transparent;
+            this.dataGridViewButtonColumn1.DefaultCellStyle = dataGridViewCellStyle103;
             this.dataGridViewButtonColumn1.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.dataGridViewButtonColumn1.Frozen = true;
             this.dataGridViewButtonColumn1.HeaderText = "å€‹";
@@ -2003,10 +968,10 @@
             // 
             // dataGridViewButtonColumn2
             // 
-            dataGridViewCellStyle20.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle20.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle20.SelectionBackColor = System.Drawing.Color.Transparent;
-            this.dataGridViewButtonColumn2.DefaultCellStyle = dataGridViewCellStyle20;
+            dataGridViewCellStyle104.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle104.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle104.SelectionBackColor = System.Drawing.Color.Transparent;
+            this.dataGridViewButtonColumn2.DefaultCellStyle = dataGridViewCellStyle104;
             this.dataGridViewButtonColumn2.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.dataGridViewButtonColumn2.Frozen = true;
             this.dataGridViewButtonColumn2.HeaderText = "ç�¾";
@@ -2015,10 +980,10 @@
             // 
             // dataGridViewButtonColumn3
             // 
-            dataGridViewCellStyle21.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle21.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle21.SelectionBackColor = System.Drawing.Color.Transparent;
-            this.dataGridViewButtonColumn3.DefaultCellStyle = dataGridViewCellStyle21;
+            dataGridViewCellStyle105.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle105.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle105.SelectionBackColor = System.Drawing.Color.Transparent;
+            this.dataGridViewButtonColumn3.DefaultCellStyle = dataGridViewCellStyle105;
             this.dataGridViewButtonColumn3.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.dataGridViewButtonColumn3.Frozen = true;
             this.dataGridViewButtonColumn3.HeaderText = "æ³•";
@@ -2037,8 +1002,8 @@
             // 
             // dataGridViewTextBoxColumn8
             // 
-            dataGridViewCellStyle22.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dataGridViewTextBoxColumn8.DefaultCellStyle = dataGridViewCellStyle22;
+            dataGridViewCellStyle106.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.dataGridViewTextBoxColumn8.DefaultCellStyle = dataGridViewCellStyle106;
             this.dataGridViewTextBoxColumn8.Frozen = true;
             this.dataGridViewTextBoxColumn8.HeaderText = "æ”¯æ‰•æ–¹æ³•";
             this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
@@ -2048,10 +1013,10 @@
             // 
             // dataGridViewTextBoxColumn9
             // 
-            dataGridViewCellStyle23.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle23.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            dataGridViewCellStyle23.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn9.DefaultCellStyle = dataGridViewCellStyle23;
+            dataGridViewCellStyle107.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle107.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            dataGridViewCellStyle107.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn9.DefaultCellStyle = dataGridViewCellStyle107;
             this.dataGridViewTextBoxColumn9.Frozen = true;
             this.dataGridViewTextBoxColumn9.HeaderText = "ç¨ŽæŠœæ”¯æ‰•é‡‘é¡�";
             this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9";
@@ -2061,10 +1026,10 @@
             // 
             // Column10
             // 
-            dataGridViewCellStyle24.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle24.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            dataGridViewCellStyle24.ForeColor = System.Drawing.Color.Black;
-            this.Column10.DefaultCellStyle = dataGridViewCellStyle24;
+            dataGridViewCellStyle108.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle108.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            dataGridViewCellStyle108.ForeColor = System.Drawing.Color.Black;
+            this.Column10.DefaultCellStyle = dataGridViewCellStyle108;
             this.Column10.Frozen = true;
             this.Column10.HeaderText = "ç¨Žè¾¼æ”¯æ‰•é‡‘é¡�";
             this.Column10.Name = "Column10";
@@ -2084,9 +1049,9 @@
             // 
             // dataGridViewTextBoxColumn38
             // 
-            dataGridViewCellStyle25.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            dataGridViewCellStyle25.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn38.DefaultCellStyle = dataGridViewCellStyle25;
+            dataGridViewCellStyle109.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle109.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn38.DefaultCellStyle = dataGridViewCellStyle109;
             this.dataGridViewTextBoxColumn38.Frozen = true;
             this.dataGridViewTextBoxColumn38.HeaderText = "æ”¯æ‰•å…ˆå��ç§°";
             this.dataGridViewTextBoxColumn38.Name = "dataGridViewTextBoxColumn38";
@@ -2106,10 +1071,10 @@
             // 
             // dataGridViewTextBoxColumn49
             // 
-            dataGridViewCellStyle26.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle26.Font = new System.Drawing.Font("Century", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            dataGridViewCellStyle26.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn49.DefaultCellStyle = dataGridViewCellStyle26;
+            dataGridViewCellStyle110.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle110.Font = new System.Drawing.Font("Century", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            dataGridViewCellStyle110.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn49.DefaultCellStyle = dataGridViewCellStyle110;
             this.dataGridViewTextBoxColumn49.Frozen = true;
             this.dataGridViewTextBoxColumn49.HeaderText = "ä¼�ç¥¨ç•ªå�·";
             this.dataGridViewTextBoxColumn49.Name = "dataGridViewTextBoxColumn49";
@@ -2119,11 +1084,11 @@
             // 
             // Column15
             // 
-            dataGridViewCellStyle27.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle27.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle27.ForeColor = System.Drawing.Color.Transparent;
-            dataGridViewCellStyle27.SelectionForeColor = System.Drawing.Color.Transparent;
-            this.Column15.DefaultCellStyle = dataGridViewCellStyle27;
+            dataGridViewCellStyle111.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle111.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle111.ForeColor = System.Drawing.Color.Transparent;
+            dataGridViewCellStyle111.SelectionForeColor = System.Drawing.Color.Transparent;
+            this.Column15.DefaultCellStyle = dataGridViewCellStyle111;
             this.Column15.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.Column15.Frozen = true;
             this.Column15.HeaderText = "ç¢º";
@@ -2132,11 +1097,11 @@
             // 
             // Column21
             // 
-            dataGridViewCellStyle28.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle28.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle28.ForeColor = System.Drawing.Color.Transparent;
-            dataGridViewCellStyle28.SelectionForeColor = System.Drawing.Color.Transparent;
-            this.Column21.DefaultCellStyle = dataGridViewCellStyle28;
+            dataGridViewCellStyle112.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle112.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle112.ForeColor = System.Drawing.Color.Transparent;
+            dataGridViewCellStyle112.SelectionForeColor = System.Drawing.Color.Transparent;
+            this.Column21.DefaultCellStyle = dataGridViewCellStyle112;
             this.Column21.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.Column21.Frozen = true;
             this.Column21.HeaderText = "ç¢º";
@@ -2143,6 +1108,169 @@
             this.Column21.Name = "Column21";
             this.Column21.Width = 20;
             // 
+            // label61
+            // 
+            this.label61.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.label61.BackColor = System.Drawing.Color.White;
+            this.label61.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label61.ForeColor = System.Drawing.Color.Black;
+            this.label61.Location = new System.Drawing.Point(906, 492);
+            this.label61.Name = "label61";
+            this.label61.Size = new System.Drawing.Size(30, 27);
+            this.label61.TabIndex = 134;
+            this.label61.Text = "å††";
+            this.label61.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // label62
+            // 
+            this.label62.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.label62.BackColor = System.Drawing.Color.Beige;
+            this.label62.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label62.ForeColor = System.Drawing.Color.Black;
+            this.label62.Location = new System.Drawing.Point(626, 492);
+            this.label62.Name = "label62";
+            this.label62.Size = new System.Drawing.Size(130, 27);
+            this.label62.TabIndex = 135;
+            this.label62.Text = "æ³•äººã‚¯ãƒ¬ã‚¸ãƒƒãƒˆ";
+            this.label62.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // label63
+            // 
+            this.label63.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.label63.BackColor = System.Drawing.Color.White;
+            this.label63.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label63.ForeColor = System.Drawing.Color.Black;
+            this.label63.Location = new System.Drawing.Point(596, 492);
+            this.label63.Name = "label63";
+            this.label63.Size = new System.Drawing.Size(30, 27);
+            this.label63.TabIndex = 132;
+            this.label63.Text = "å††";
+            this.label63.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // label64
+            // 
+            this.label64.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.label64.BackColor = System.Drawing.Color.Beige;
+            this.label64.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label64.ForeColor = System.Drawing.Color.Black;
+            this.label64.Location = new System.Drawing.Point(316, 492);
+            this.label64.Name = "label64";
+            this.label64.Size = new System.Drawing.Size(130, 27);
+            this.label64.TabIndex = 133;
+            this.label64.Text = "ç�¾ã€€ã€€é‡‘";
+            this.label64.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // label65
+            // 
+            this.label65.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.label65.BackColor = System.Drawing.Color.White;
+            this.label65.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label65.ForeColor = System.Drawing.Color.Black;
+            this.label65.Location = new System.Drawing.Point(286, 492);
+            this.label65.Name = "label65";
+            this.label65.Size = new System.Drawing.Size(30, 27);
+            this.label65.TabIndex = 130;
+            this.label65.Text = "å††";
+            this.label65.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // btnTab2LineNew
+            // 
+            this.btnTab2LineNew.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.btnTab2LineNew.BackColor = System.Drawing.Color.DarkSlateGray;
+            this.btnTab2LineNew.ForeColor = System.Drawing.Color.White;
+            this.btnTab2LineNew.Location = new System.Drawing.Point(1053, 490);
+            this.btnTab2LineNew.Name = "btnTab2LineNew";
+            this.btnTab2LineNew.Size = new System.Drawing.Size(130, 30);
+            this.btnTab2LineNew.TabIndex = 114;
+            this.btnTab2LineNew.TabStop = false;
+            this.btnTab2LineNew.Text = "è¡Œæ–°è¦�ä½œæˆ�";
+            this.btnTab2LineNew.UseVisualStyleBackColor = false;
+            this.btnTab2LineNew.Click += new System.EventHandler(this.btnTabLineNew_Click);
+            // 
+            // label66
+            // 
+            this.label66.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.label66.BackColor = System.Drawing.Color.Beige;
+            this.label66.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label66.ForeColor = System.Drawing.Color.Black;
+            this.label66.Location = new System.Drawing.Point(6, 492);
+            this.label66.Name = "label66";
+            this.label66.Size = new System.Drawing.Size(130, 27);
+            this.label66.TabIndex = 131;
+            this.label66.Text = "å€‹äººã‚¯ãƒ¬ã‚¸ãƒƒãƒˆ";
+            this.label66.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // label67
+            // 
+            this.label67.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.label67.BackColor = System.Drawing.Color.White;
+            this.label67.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label67.Font = new System.Drawing.Font("Century", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.label67.Location = new System.Drawing.Point(756, 492);
+            this.label67.Name = "label67";
+            this.label67.Size = new System.Drawing.Size(150, 27);
+            this.label67.TabIndex = 128;
+            this.label67.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+            // 
+            // label68
+            // 
+            this.label68.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.label68.BackColor = System.Drawing.Color.White;
+            this.label68.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label68.Font = new System.Drawing.Font("Century", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.label68.Location = new System.Drawing.Point(446, 492);
+            this.label68.Name = "label68";
+            this.label68.Size = new System.Drawing.Size(150, 27);
+            this.label68.TabIndex = 129;
+            this.label68.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+            // 
+            // label41
+            // 
+            this.label41.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.label41.BackColor = System.Drawing.Color.White;
+            this.label41.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label41.Font = new System.Drawing.Font("Century", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.label41.Location = new System.Drawing.Point(136, 492);
+            this.label41.Name = "label41";
+            this.label41.Size = new System.Drawing.Size(150, 27);
+            this.label41.TabIndex = 118;
+            this.label41.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+            // 
+            // btnTab2LineDel
+            // 
+            this.btnTab2LineDel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.btnTab2LineDel.BackColor = System.Drawing.Color.Red;
+            this.btnTab2LineDel.ForeColor = System.Drawing.Color.White;
+            this.btnTab2LineDel.Location = new System.Drawing.Point(1191, 490);
+            this.btnTab2LineDel.Name = "btnTab2LineDel";
+            this.btnTab2LineDel.Size = new System.Drawing.Size(130, 30);
+            this.btnTab2LineDel.TabIndex = 102;
+            this.btnTab2LineDel.TabStop = false;
+            this.btnTab2LineDel.Text = "è¡Œã€€å‰Šã€€é™¤";
+            this.btnTab2LineDel.UseVisualStyleBackColor = false;
+            this.btnTab2LineDel.Click += new System.EventHandler(this.btnTabLineDel_Click);
+            // 
+            // tabPage3
+            // 
+            this.tabPage3.BackColor = System.Drawing.Color.LightBlue;
+            this.tabPage3.Controls.Add(this.dgvPage3);
+            this.tabPage3.Controls.Add(this.label73);
+            this.tabPage3.Controls.Add(this.label74);
+            this.tabPage3.Controls.Add(this.label75);
+            this.tabPage3.Controls.Add(this.label76);
+            this.tabPage3.Controls.Add(this.label77);
+            this.tabPage3.Controls.Add(this.btnTab3LineNew);
+            this.tabPage3.Controls.Add(this.label78);
+            this.tabPage3.Controls.Add(this.label79);
+            this.tabPage3.Controls.Add(this.label80);
+            this.tabPage3.Controls.Add(this.label42);
+            this.tabPage3.Controls.Add(this.btnTab3LineDel);
+            this.tabPage3.Location = new System.Drawing.Point(4, 26);
+            this.tabPage3.Name = "tabPage3";
+            this.tabPage3.Size = new System.Drawing.Size(1326, 524);
+            this.tabPage3.TabIndex = 2;
+            this.tabPage3.Text = "è»Šä¸¡ãƒªãƒ¼ã‚¹ä»£";
+            // 
             // dgvPage3
             // 
             this.dgvPage3.AllowUserToAddRows = false;
@@ -2154,14 +1282,14 @@
             | System.Windows.Forms.AnchorStyles.Right)));
             this.dgvPage3.BackgroundColor = System.Drawing.Color.White;
             this.dgvPage3.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            dataGridViewCellStyle29.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle29.BackColor = System.Drawing.SystemColors.Control;
-            dataGridViewCellStyle29.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            dataGridViewCellStyle29.ForeColor = System.Drawing.SystemColors.WindowText;
-            dataGridViewCellStyle29.SelectionBackColor = System.Drawing.SystemColors.Highlight;
-            dataGridViewCellStyle29.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
-            dataGridViewCellStyle29.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
-            this.dgvPage3.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle29;
+            dataGridViewCellStyle113.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle113.BackColor = System.Drawing.SystemColors.Control;
+            dataGridViewCellStyle113.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            dataGridViewCellStyle113.ForeColor = System.Drawing.SystemColors.WindowText;
+            dataGridViewCellStyle113.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+            dataGridViewCellStyle113.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle113.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvPage3.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle113;
             this.dgvPage3.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
             this.dgvPage3.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
             this.dataGridViewTextBoxColumn11,
@@ -2202,9 +1330,9 @@
             // 
             // dataGridViewTextBoxColumn11
             // 
-            dataGridViewCellStyle30.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle30.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn11.DefaultCellStyle = dataGridViewCellStyle30;
+            dataGridViewCellStyle114.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle114.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn11.DefaultCellStyle = dataGridViewCellStyle114;
             this.dataGridViewTextBoxColumn11.Frozen = true;
             this.dataGridViewTextBoxColumn11.HeaderText = "æ—¥ä»˜";
             this.dataGridViewTextBoxColumn11.Name = "dataGridViewTextBoxColumn11";
@@ -2235,9 +1363,9 @@
             // 
             // dataGridViewTextBoxColumn14
             // 
-            dataGridViewCellStyle31.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            dataGridViewCellStyle31.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn14.DefaultCellStyle = dataGridViewCellStyle31;
+            dataGridViewCellStyle115.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle115.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn14.DefaultCellStyle = dataGridViewCellStyle115;
             this.dataGridViewTextBoxColumn14.Frozen = true;
             this.dataGridViewTextBoxColumn14.HeaderText = "å·¥ã€€äº‹ã€€å��ã€€ç§°";
             this.dataGridViewTextBoxColumn14.Name = "dataGridViewTextBoxColumn14";
@@ -2248,9 +1376,9 @@
             // 
             // dataGridViewTextBoxColumn15
             // 
-            dataGridViewCellStyle32.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            dataGridViewCellStyle32.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn15.DefaultCellStyle = dataGridViewCellStyle32;
+            dataGridViewCellStyle116.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle116.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn15.DefaultCellStyle = dataGridViewCellStyle116;
             this.dataGridViewTextBoxColumn15.Frozen = true;
             this.dataGridViewTextBoxColumn15.HeaderText = "æ”¯ã€€æ‰•ã€€å†…ã€€å®¹";
             this.dataGridViewTextBoxColumn15.Name = "dataGridViewTextBoxColumn15";
@@ -2260,10 +1388,10 @@
             // 
             // dataGridViewButtonColumn4
             // 
-            dataGridViewCellStyle33.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle33.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle33.SelectionBackColor = System.Drawing.Color.Transparent;
-            this.dataGridViewButtonColumn4.DefaultCellStyle = dataGridViewCellStyle33;
+            dataGridViewCellStyle117.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle117.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle117.SelectionBackColor = System.Drawing.Color.Transparent;
+            this.dataGridViewButtonColumn4.DefaultCellStyle = dataGridViewCellStyle117;
             this.dataGridViewButtonColumn4.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.dataGridViewButtonColumn4.Frozen = true;
             this.dataGridViewButtonColumn4.HeaderText = "å€‹";
@@ -2272,10 +1400,10 @@
             // 
             // dataGridViewButtonColumn5
             // 
-            dataGridViewCellStyle34.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle34.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle34.SelectionBackColor = System.Drawing.Color.Transparent;
-            this.dataGridViewButtonColumn5.DefaultCellStyle = dataGridViewCellStyle34;
+            dataGridViewCellStyle118.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle118.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle118.SelectionBackColor = System.Drawing.Color.Transparent;
+            this.dataGridViewButtonColumn5.DefaultCellStyle = dataGridViewCellStyle118;
             this.dataGridViewButtonColumn5.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.dataGridViewButtonColumn5.Frozen = true;
             this.dataGridViewButtonColumn5.HeaderText = "ç�¾";
@@ -2284,10 +1412,10 @@
             // 
             // dataGridViewButtonColumn6
             // 
-            dataGridViewCellStyle35.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle35.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle35.SelectionBackColor = System.Drawing.Color.Transparent;
-            this.dataGridViewButtonColumn6.DefaultCellStyle = dataGridViewCellStyle35;
+            dataGridViewCellStyle119.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle119.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle119.SelectionBackColor = System.Drawing.Color.Transparent;
+            this.dataGridViewButtonColumn6.DefaultCellStyle = dataGridViewCellStyle119;
             this.dataGridViewButtonColumn6.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.dataGridViewButtonColumn6.Frozen = true;
             this.dataGridViewButtonColumn6.HeaderText = "æ³•";
@@ -2306,8 +1434,8 @@
             // 
             // dataGridViewTextBoxColumn17
             // 
-            dataGridViewCellStyle36.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dataGridViewTextBoxColumn17.DefaultCellStyle = dataGridViewCellStyle36;
+            dataGridViewCellStyle120.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.dataGridViewTextBoxColumn17.DefaultCellStyle = dataGridViewCellStyle120;
             this.dataGridViewTextBoxColumn17.Frozen = true;
             this.dataGridViewTextBoxColumn17.HeaderText = "æ”¯æ‰•æ–¹æ³•";
             this.dataGridViewTextBoxColumn17.Name = "dataGridViewTextBoxColumn17";
@@ -2317,10 +1445,10 @@
             // 
             // dataGridViewTextBoxColumn18
             // 
-            dataGridViewCellStyle37.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle37.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            dataGridViewCellStyle37.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn18.DefaultCellStyle = dataGridViewCellStyle37;
+            dataGridViewCellStyle121.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle121.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            dataGridViewCellStyle121.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn18.DefaultCellStyle = dataGridViewCellStyle121;
             this.dataGridViewTextBoxColumn18.Frozen = true;
             this.dataGridViewTextBoxColumn18.HeaderText = "ç¨ŽæŠœæ”¯æ‰•é‡‘é¡�";
             this.dataGridViewTextBoxColumn18.Name = "dataGridViewTextBoxColumn18";
@@ -2330,10 +1458,10 @@
             // 
             // Column11
             // 
-            dataGridViewCellStyle38.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle38.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            dataGridViewCellStyle38.ForeColor = System.Drawing.Color.Black;
-            this.Column11.DefaultCellStyle = dataGridViewCellStyle38;
+            dataGridViewCellStyle122.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle122.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            dataGridViewCellStyle122.ForeColor = System.Drawing.Color.Black;
+            this.Column11.DefaultCellStyle = dataGridViewCellStyle122;
             this.Column11.Frozen = true;
             this.Column11.HeaderText = "ç¨Žè¾¼æ”¯æ‰•é‡‘é¡�";
             this.Column11.Name = "Column11";
@@ -2353,9 +1481,9 @@
             // 
             // dataGridViewTextBoxColumn39
             // 
-            dataGridViewCellStyle39.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            dataGridViewCellStyle39.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn39.DefaultCellStyle = dataGridViewCellStyle39;
+            dataGridViewCellStyle123.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle123.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn39.DefaultCellStyle = dataGridViewCellStyle123;
             this.dataGridViewTextBoxColumn39.Frozen = true;
             this.dataGridViewTextBoxColumn39.HeaderText = "æ”¯æ‰•å…ˆå��ç§°";
             this.dataGridViewTextBoxColumn39.Name = "dataGridViewTextBoxColumn39";
@@ -2375,9 +1503,9 @@
             // 
             // dataGridViewTextBoxColumn51
             // 
-            dataGridViewCellStyle40.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle40.Font = new System.Drawing.Font("Century", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            this.dataGridViewTextBoxColumn51.DefaultCellStyle = dataGridViewCellStyle40;
+            dataGridViewCellStyle124.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle124.Font = new System.Drawing.Font("Century", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.dataGridViewTextBoxColumn51.DefaultCellStyle = dataGridViewCellStyle124;
             this.dataGridViewTextBoxColumn51.Frozen = true;
             this.dataGridViewTextBoxColumn51.HeaderText = "ä¼�ç¥¨ç•ªå�·";
             this.dataGridViewTextBoxColumn51.Name = "dataGridViewTextBoxColumn51";
@@ -2387,11 +1515,11 @@
             // 
             // Column16
             // 
-            dataGridViewCellStyle41.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle41.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle41.ForeColor = System.Drawing.Color.Transparent;
-            dataGridViewCellStyle41.SelectionForeColor = System.Drawing.Color.Transparent;
-            this.Column16.DefaultCellStyle = dataGridViewCellStyle41;
+            dataGridViewCellStyle125.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle125.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle125.ForeColor = System.Drawing.Color.Transparent;
+            dataGridViewCellStyle125.SelectionForeColor = System.Drawing.Color.Transparent;
+            this.Column16.DefaultCellStyle = dataGridViewCellStyle125;
             this.Column16.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.Column16.Frozen = true;
             this.Column16.HeaderText = "ç¢º";
@@ -2400,11 +1528,11 @@
             // 
             // Column22
             // 
-            dataGridViewCellStyle42.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle42.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle42.ForeColor = System.Drawing.Color.Transparent;
-            dataGridViewCellStyle42.SelectionForeColor = System.Drawing.Color.Transparent;
-            this.Column22.DefaultCellStyle = dataGridViewCellStyle42;
+            dataGridViewCellStyle126.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle126.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle126.ForeColor = System.Drawing.Color.Transparent;
+            dataGridViewCellStyle126.SelectionForeColor = System.Drawing.Color.Transparent;
+            this.Column22.DefaultCellStyle = dataGridViewCellStyle126;
             this.Column22.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.Column22.Frozen = true;
             this.Column22.HeaderText = "ç¢º";
@@ -2412,6 +1540,169 @@
             this.Column22.Resizable = System.Windows.Forms.DataGridViewTriState.True;
             this.Column22.Width = 20;
             // 
+            // label73
+            // 
+            this.label73.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.label73.BackColor = System.Drawing.Color.White;
+            this.label73.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label73.ForeColor = System.Drawing.Color.Black;
+            this.label73.Location = new System.Drawing.Point(906, 492);
+            this.label73.Name = "label73";
+            this.label73.Size = new System.Drawing.Size(30, 27);
+            this.label73.TabIndex = 142;
+            this.label73.Text = "å††";
+            this.label73.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // label74
+            // 
+            this.label74.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.label74.BackColor = System.Drawing.Color.Beige;
+            this.label74.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label74.ForeColor = System.Drawing.Color.Black;
+            this.label74.Location = new System.Drawing.Point(626, 492);
+            this.label74.Name = "label74";
+            this.label74.Size = new System.Drawing.Size(130, 27);
+            this.label74.TabIndex = 143;
+            this.label74.Text = "æ³•äººã‚¯ãƒ¬ã‚¸ãƒƒãƒˆ";
+            this.label74.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // label75
+            // 
+            this.label75.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.label75.BackColor = System.Drawing.Color.White;
+            this.label75.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label75.ForeColor = System.Drawing.Color.Black;
+            this.label75.Location = new System.Drawing.Point(596, 492);
+            this.label75.Name = "label75";
+            this.label75.Size = new System.Drawing.Size(30, 27);
+            this.label75.TabIndex = 140;
+            this.label75.Text = "å††";
+            this.label75.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // label76
+            // 
+            this.label76.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.label76.BackColor = System.Drawing.Color.Beige;
+            this.label76.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label76.ForeColor = System.Drawing.Color.Black;
+            this.label76.Location = new System.Drawing.Point(316, 492);
+            this.label76.Name = "label76";
+            this.label76.Size = new System.Drawing.Size(130, 27);
+            this.label76.TabIndex = 141;
+            this.label76.Text = "ç�¾ã€€ã€€é‡‘";
+            this.label76.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // label77
+            // 
+            this.label77.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.label77.BackColor = System.Drawing.Color.White;
+            this.label77.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label77.ForeColor = System.Drawing.Color.Black;
+            this.label77.Location = new System.Drawing.Point(286, 492);
+            this.label77.Name = "label77";
+            this.label77.Size = new System.Drawing.Size(30, 27);
+            this.label77.TabIndex = 138;
+            this.label77.Text = "å††";
+            this.label77.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // btnTab3LineNew
+            // 
+            this.btnTab3LineNew.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.btnTab3LineNew.BackColor = System.Drawing.Color.DarkSlateGray;
+            this.btnTab3LineNew.ForeColor = System.Drawing.Color.White;
+            this.btnTab3LineNew.Location = new System.Drawing.Point(1053, 490);
+            this.btnTab3LineNew.Name = "btnTab3LineNew";
+            this.btnTab3LineNew.Size = new System.Drawing.Size(130, 30);
+            this.btnTab3LineNew.TabIndex = 114;
+            this.btnTab3LineNew.TabStop = false;
+            this.btnTab3LineNew.Text = "è¡Œæ–°è¦�ä½œæˆ�";
+            this.btnTab3LineNew.UseVisualStyleBackColor = false;
+            this.btnTab3LineNew.Click += new System.EventHandler(this.btnTabLineNew_Click);
+            // 
+            // label78
+            // 
+            this.label78.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.label78.BackColor = System.Drawing.Color.Beige;
+            this.label78.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label78.ForeColor = System.Drawing.Color.Black;
+            this.label78.Location = new System.Drawing.Point(6, 492);
+            this.label78.Name = "label78";
+            this.label78.Size = new System.Drawing.Size(130, 27);
+            this.label78.TabIndex = 139;
+            this.label78.Text = "å€‹äººã‚¯ãƒ¬ã‚¸ãƒƒãƒˆ";
+            this.label78.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // label79
+            // 
+            this.label79.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.label79.BackColor = System.Drawing.Color.White;
+            this.label79.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label79.Font = new System.Drawing.Font("Century", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.label79.Location = new System.Drawing.Point(756, 492);
+            this.label79.Name = "label79";
+            this.label79.Size = new System.Drawing.Size(150, 27);
+            this.label79.TabIndex = 136;
+            this.label79.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+            // 
+            // label80
+            // 
+            this.label80.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.label80.BackColor = System.Drawing.Color.White;
+            this.label80.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label80.Font = new System.Drawing.Font("Century", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.label80.Location = new System.Drawing.Point(446, 492);
+            this.label80.Name = "label80";
+            this.label80.Size = new System.Drawing.Size(150, 27);
+            this.label80.TabIndex = 137;
+            this.label80.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+            // 
+            // label42
+            // 
+            this.label42.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.label42.BackColor = System.Drawing.Color.White;
+            this.label42.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label42.Font = new System.Drawing.Font("Century", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.label42.Location = new System.Drawing.Point(136, 492);
+            this.label42.Name = "label42";
+            this.label42.Size = new System.Drawing.Size(150, 27);
+            this.label42.TabIndex = 118;
+            this.label42.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+            // 
+            // btnTab3LineDel
+            // 
+            this.btnTab3LineDel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.btnTab3LineDel.BackColor = System.Drawing.Color.Red;
+            this.btnTab3LineDel.ForeColor = System.Drawing.Color.White;
+            this.btnTab3LineDel.Location = new System.Drawing.Point(1191, 490);
+            this.btnTab3LineDel.Name = "btnTab3LineDel";
+            this.btnTab3LineDel.Size = new System.Drawing.Size(130, 30);
+            this.btnTab3LineDel.TabIndex = 102;
+            this.btnTab3LineDel.TabStop = false;
+            this.btnTab3LineDel.Text = "è¡Œã€€å‰Šã€€é™¤";
+            this.btnTab3LineDel.UseVisualStyleBackColor = false;
+            this.btnTab3LineDel.Click += new System.EventHandler(this.btnTabLineDel_Click);
+            // 
+            // tabPage4
+            // 
+            this.tabPage4.BackColor = System.Drawing.Color.Khaki;
+            this.tabPage4.Controls.Add(this.dgvPage4);
+            this.tabPage4.Controls.Add(this.label85);
+            this.tabPage4.Controls.Add(this.label86);
+            this.tabPage4.Controls.Add(this.label87);
+            this.tabPage4.Controls.Add(this.label88);
+            this.tabPage4.Controls.Add(this.label89);
+            this.tabPage4.Controls.Add(this.btnTab4LineNew);
+            this.tabPage4.Controls.Add(this.label90);
+            this.tabPage4.Controls.Add(this.label91);
+            this.tabPage4.Controls.Add(this.label92);
+            this.tabPage4.Controls.Add(this.label43);
+            this.tabPage4.Controls.Add(this.btnTab4LineDel);
+            this.tabPage4.Location = new System.Drawing.Point(4, 26);
+            this.tabPage4.Name = "tabPage4";
+            this.tabPage4.Size = new System.Drawing.Size(1326, 524);
+            this.tabPage4.TabIndex = 3;
+            this.tabPage4.Text = "é§�è»Šå ´ãƒ»è³‡æ��ç½®ã��å ´";
+            // 
             // dgvPage4
             // 
             this.dgvPage4.AllowUserToAddRows = false;
@@ -2423,14 +1714,14 @@
             | System.Windows.Forms.AnchorStyles.Right)));
             this.dgvPage4.BackgroundColor = System.Drawing.Color.White;
             this.dgvPage4.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            dataGridViewCellStyle43.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle43.BackColor = System.Drawing.SystemColors.Control;
-            dataGridViewCellStyle43.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            dataGridViewCellStyle43.ForeColor = System.Drawing.SystemColors.WindowText;
-            dataGridViewCellStyle43.SelectionBackColor = System.Drawing.SystemColors.Highlight;
-            dataGridViewCellStyle43.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
-            dataGridViewCellStyle43.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
-            this.dgvPage4.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle43;
+            dataGridViewCellStyle127.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle127.BackColor = System.Drawing.SystemColors.Control;
+            dataGridViewCellStyle127.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            dataGridViewCellStyle127.ForeColor = System.Drawing.SystemColors.WindowText;
+            dataGridViewCellStyle127.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+            dataGridViewCellStyle127.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle127.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvPage4.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle127;
             this.dgvPage4.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
             this.dgvPage4.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
             this.dataGridViewTextBoxColumn19,
@@ -2471,9 +1762,9 @@
             // 
             // dataGridViewTextBoxColumn19
             // 
-            dataGridViewCellStyle44.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle44.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn19.DefaultCellStyle = dataGridViewCellStyle44;
+            dataGridViewCellStyle128.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle128.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn19.DefaultCellStyle = dataGridViewCellStyle128;
             this.dataGridViewTextBoxColumn19.Frozen = true;
             this.dataGridViewTextBoxColumn19.HeaderText = "æ—¥ä»˜";
             this.dataGridViewTextBoxColumn19.Name = "dataGridViewTextBoxColumn19";
@@ -2504,9 +1795,9 @@
             // 
             // dataGridViewTextBoxColumn23
             // 
-            dataGridViewCellStyle45.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            dataGridViewCellStyle45.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn23.DefaultCellStyle = dataGridViewCellStyle45;
+            dataGridViewCellStyle129.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle129.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn23.DefaultCellStyle = dataGridViewCellStyle129;
             this.dataGridViewTextBoxColumn23.Frozen = true;
             this.dataGridViewTextBoxColumn23.HeaderText = "å·¥ã€€äº‹ã€€å��ã€€ç§°";
             this.dataGridViewTextBoxColumn23.Name = "dataGridViewTextBoxColumn23";
@@ -2517,9 +1808,9 @@
             // 
             // dataGridViewTextBoxColumn24
             // 
-            dataGridViewCellStyle46.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            dataGridViewCellStyle46.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn24.DefaultCellStyle = dataGridViewCellStyle46;
+            dataGridViewCellStyle130.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle130.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn24.DefaultCellStyle = dataGridViewCellStyle130;
             this.dataGridViewTextBoxColumn24.Frozen = true;
             this.dataGridViewTextBoxColumn24.HeaderText = "æ”¯ã€€æ‰•ã€€å†…ã€€å®¹";
             this.dataGridViewTextBoxColumn24.Name = "dataGridViewTextBoxColumn24";
@@ -2529,10 +1820,10 @@
             // 
             // dataGridViewButtonColumn7
             // 
-            dataGridViewCellStyle47.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle47.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle47.SelectionBackColor = System.Drawing.Color.Transparent;
-            this.dataGridViewButtonColumn7.DefaultCellStyle = dataGridViewCellStyle47;
+            dataGridViewCellStyle131.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle131.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle131.SelectionBackColor = System.Drawing.Color.Transparent;
+            this.dataGridViewButtonColumn7.DefaultCellStyle = dataGridViewCellStyle131;
             this.dataGridViewButtonColumn7.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.dataGridViewButtonColumn7.Frozen = true;
             this.dataGridViewButtonColumn7.HeaderText = "å€‹";
@@ -2541,10 +1832,10 @@
             // 
             // dataGridViewButtonColumn8
             // 
-            dataGridViewCellStyle48.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle48.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle48.SelectionBackColor = System.Drawing.Color.Transparent;
-            this.dataGridViewButtonColumn8.DefaultCellStyle = dataGridViewCellStyle48;
+            dataGridViewCellStyle132.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle132.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle132.SelectionBackColor = System.Drawing.Color.Transparent;
+            this.dataGridViewButtonColumn8.DefaultCellStyle = dataGridViewCellStyle132;
             this.dataGridViewButtonColumn8.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.dataGridViewButtonColumn8.Frozen = true;
             this.dataGridViewButtonColumn8.HeaderText = "ç�¾";
@@ -2553,10 +1844,10 @@
             // 
             // dataGridViewButtonColumn9
             // 
-            dataGridViewCellStyle49.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle49.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle49.SelectionBackColor = System.Drawing.Color.Transparent;
-            this.dataGridViewButtonColumn9.DefaultCellStyle = dataGridViewCellStyle49;
+            dataGridViewCellStyle133.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle133.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle133.SelectionBackColor = System.Drawing.Color.Transparent;
+            this.dataGridViewButtonColumn9.DefaultCellStyle = dataGridViewCellStyle133;
             this.dataGridViewButtonColumn9.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.dataGridViewButtonColumn9.Frozen = true;
             this.dataGridViewButtonColumn9.HeaderText = "æ³•";
@@ -2575,8 +1866,8 @@
             // 
             // dataGridViewTextBoxColumn26
             // 
-            dataGridViewCellStyle50.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dataGridViewTextBoxColumn26.DefaultCellStyle = dataGridViewCellStyle50;
+            dataGridViewCellStyle134.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.dataGridViewTextBoxColumn26.DefaultCellStyle = dataGridViewCellStyle134;
             this.dataGridViewTextBoxColumn26.Frozen = true;
             this.dataGridViewTextBoxColumn26.HeaderText = "æ”¯æ‰•æ–¹æ³•";
             this.dataGridViewTextBoxColumn26.Name = "dataGridViewTextBoxColumn26";
@@ -2586,10 +1877,10 @@
             // 
             // dataGridViewTextBoxColumn28
             // 
-            dataGridViewCellStyle51.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle51.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            dataGridViewCellStyle51.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn28.DefaultCellStyle = dataGridViewCellStyle51;
+            dataGridViewCellStyle135.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle135.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            dataGridViewCellStyle135.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn28.DefaultCellStyle = dataGridViewCellStyle135;
             this.dataGridViewTextBoxColumn28.Frozen = true;
             this.dataGridViewTextBoxColumn28.HeaderText = "ç¨ŽæŠœæ”¯æ‰•é‡‘é¡�";
             this.dataGridViewTextBoxColumn28.Name = "dataGridViewTextBoxColumn28";
@@ -2599,10 +1890,10 @@
             // 
             // Column12
             // 
-            dataGridViewCellStyle52.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle52.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            dataGridViewCellStyle52.ForeColor = System.Drawing.Color.Black;
-            this.Column12.DefaultCellStyle = dataGridViewCellStyle52;
+            dataGridViewCellStyle136.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle136.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            dataGridViewCellStyle136.ForeColor = System.Drawing.Color.Black;
+            this.Column12.DefaultCellStyle = dataGridViewCellStyle136;
             this.Column12.Frozen = true;
             this.Column12.HeaderText = "ç¨Žè¾¼æ”¯æ‰•é‡‘é¡�";
             this.Column12.Name = "Column12";
@@ -2621,9 +1912,9 @@
             // 
             // dataGridViewTextBoxColumn46
             // 
-            dataGridViewCellStyle53.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            dataGridViewCellStyle53.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn46.DefaultCellStyle = dataGridViewCellStyle53;
+            dataGridViewCellStyle137.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle137.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn46.DefaultCellStyle = dataGridViewCellStyle137;
             this.dataGridViewTextBoxColumn46.Frozen = true;
             this.dataGridViewTextBoxColumn46.HeaderText = "æ”¯æ‰•å…ˆå��ç§°";
             this.dataGridViewTextBoxColumn46.Name = "dataGridViewTextBoxColumn46";
@@ -2643,10 +1934,10 @@
             // 
             // dataGridViewTextBoxColumn53
             // 
-            dataGridViewCellStyle54.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle54.Font = new System.Drawing.Font("Century", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            dataGridViewCellStyle54.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn53.DefaultCellStyle = dataGridViewCellStyle54;
+            dataGridViewCellStyle138.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle138.Font = new System.Drawing.Font("Century", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            dataGridViewCellStyle138.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn53.DefaultCellStyle = dataGridViewCellStyle138;
             this.dataGridViewTextBoxColumn53.Frozen = true;
             this.dataGridViewTextBoxColumn53.HeaderText = "ä¼�ç¥¨ç•ªå�·";
             this.dataGridViewTextBoxColumn53.Name = "dataGridViewTextBoxColumn53";
@@ -2656,11 +1947,11 @@
             // 
             // Column17
             // 
-            dataGridViewCellStyle55.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle55.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle55.ForeColor = System.Drawing.Color.Transparent;
-            dataGridViewCellStyle55.SelectionForeColor = System.Drawing.Color.Transparent;
-            this.Column17.DefaultCellStyle = dataGridViewCellStyle55;
+            dataGridViewCellStyle139.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle139.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle139.ForeColor = System.Drawing.Color.Transparent;
+            dataGridViewCellStyle139.SelectionForeColor = System.Drawing.Color.Transparent;
+            this.Column17.DefaultCellStyle = dataGridViewCellStyle139;
             this.Column17.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.Column17.Frozen = true;
             this.Column17.HeaderText = "ç¢º";
@@ -2669,11 +1960,11 @@
             // 
             // Column23
             // 
-            dataGridViewCellStyle56.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle56.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle56.ForeColor = System.Drawing.Color.Transparent;
-            dataGridViewCellStyle56.SelectionForeColor = System.Drawing.Color.Transparent;
-            this.Column23.DefaultCellStyle = dataGridViewCellStyle56;
+            dataGridViewCellStyle140.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle140.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle140.ForeColor = System.Drawing.Color.Transparent;
+            dataGridViewCellStyle140.SelectionForeColor = System.Drawing.Color.Transparent;
+            this.Column23.DefaultCellStyle = dataGridViewCellStyle140;
             this.Column23.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.Column23.Frozen = true;
             this.Column23.HeaderText = "ç¢º";
@@ -2680,6 +1971,169 @@
             this.Column23.Name = "Column23";
             this.Column23.Width = 20;
             // 
+            // label85
+            // 
+            this.label85.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.label85.BackColor = System.Drawing.Color.White;
+            this.label85.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label85.ForeColor = System.Drawing.Color.Black;
+            this.label85.Location = new System.Drawing.Point(906, 492);
+            this.label85.Name = "label85";
+            this.label85.Size = new System.Drawing.Size(30, 27);
+            this.label85.TabIndex = 150;
+            this.label85.Text = "å††";
+            this.label85.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // label86
+            // 
+            this.label86.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.label86.BackColor = System.Drawing.Color.Beige;
+            this.label86.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label86.ForeColor = System.Drawing.Color.Black;
+            this.label86.Location = new System.Drawing.Point(626, 492);
+            this.label86.Name = "label86";
+            this.label86.Size = new System.Drawing.Size(130, 27);
+            this.label86.TabIndex = 151;
+            this.label86.Text = "æ³•äººã‚¯ãƒ¬ã‚¸ãƒƒãƒˆ";
+            this.label86.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // label87
+            // 
+            this.label87.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.label87.BackColor = System.Drawing.Color.White;
+            this.label87.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label87.ForeColor = System.Drawing.Color.Black;
+            this.label87.Location = new System.Drawing.Point(596, 492);
+            this.label87.Name = "label87";
+            this.label87.Size = new System.Drawing.Size(30, 27);
+            this.label87.TabIndex = 148;
+            this.label87.Text = "å††";
+            this.label87.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // label88
+            // 
+            this.label88.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.label88.BackColor = System.Drawing.Color.Beige;
+            this.label88.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label88.ForeColor = System.Drawing.Color.Black;
+            this.label88.Location = new System.Drawing.Point(316, 492);
+            this.label88.Name = "label88";
+            this.label88.Size = new System.Drawing.Size(130, 27);
+            this.label88.TabIndex = 149;
+            this.label88.Text = "ç�¾ã€€ã€€é‡‘";
+            this.label88.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // label89
+            // 
+            this.label89.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.label89.BackColor = System.Drawing.Color.White;
+            this.label89.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label89.ForeColor = System.Drawing.Color.Black;
+            this.label89.Location = new System.Drawing.Point(286, 492);
+            this.label89.Name = "label89";
+            this.label89.Size = new System.Drawing.Size(30, 27);
+            this.label89.TabIndex = 146;
+            this.label89.Text = "å††";
+            this.label89.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // btnTab4LineNew
+            // 
+            this.btnTab4LineNew.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.btnTab4LineNew.BackColor = System.Drawing.Color.DarkSlateGray;
+            this.btnTab4LineNew.ForeColor = System.Drawing.Color.White;
+            this.btnTab4LineNew.Location = new System.Drawing.Point(1053, 490);
+            this.btnTab4LineNew.Name = "btnTab4LineNew";
+            this.btnTab4LineNew.Size = new System.Drawing.Size(130, 30);
+            this.btnTab4LineNew.TabIndex = 114;
+            this.btnTab4LineNew.TabStop = false;
+            this.btnTab4LineNew.Text = "è¡Œæ–°è¦�ä½œæˆ�";
+            this.btnTab4LineNew.UseVisualStyleBackColor = false;
+            this.btnTab4LineNew.Click += new System.EventHandler(this.btnTabLineNew_Click);
+            // 
+            // label90
+            // 
+            this.label90.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.label90.BackColor = System.Drawing.Color.Beige;
+            this.label90.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label90.ForeColor = System.Drawing.Color.Black;
+            this.label90.Location = new System.Drawing.Point(6, 492);
+            this.label90.Name = "label90";
+            this.label90.Size = new System.Drawing.Size(130, 27);
+            this.label90.TabIndex = 147;
+            this.label90.Text = "å€‹äººã‚¯ãƒ¬ã‚¸ãƒƒãƒˆ";
+            this.label90.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // label91
+            // 
+            this.label91.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.label91.BackColor = System.Drawing.Color.White;
+            this.label91.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label91.Font = new System.Drawing.Font("Century", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.label91.Location = new System.Drawing.Point(756, 492);
+            this.label91.Name = "label91";
+            this.label91.Size = new System.Drawing.Size(150, 27);
+            this.label91.TabIndex = 144;
+            this.label91.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+            // 
+            // label92
+            // 
+            this.label92.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.label92.BackColor = System.Drawing.Color.White;
+            this.label92.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label92.Font = new System.Drawing.Font("Century", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.label92.Location = new System.Drawing.Point(446, 492);
+            this.label92.Name = "label92";
+            this.label92.Size = new System.Drawing.Size(150, 27);
+            this.label92.TabIndex = 145;
+            this.label92.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+            // 
+            // label43
+            // 
+            this.label43.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.label43.BackColor = System.Drawing.Color.White;
+            this.label43.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label43.Font = new System.Drawing.Font("Century", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.label43.Location = new System.Drawing.Point(136, 492);
+            this.label43.Name = "label43";
+            this.label43.Size = new System.Drawing.Size(150, 27);
+            this.label43.TabIndex = 118;
+            this.label43.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+            // 
+            // btnTab4LineDel
+            // 
+            this.btnTab4LineDel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.btnTab4LineDel.BackColor = System.Drawing.Color.Red;
+            this.btnTab4LineDel.ForeColor = System.Drawing.Color.White;
+            this.btnTab4LineDel.Location = new System.Drawing.Point(1191, 490);
+            this.btnTab4LineDel.Name = "btnTab4LineDel";
+            this.btnTab4LineDel.Size = new System.Drawing.Size(130, 30);
+            this.btnTab4LineDel.TabIndex = 102;
+            this.btnTab4LineDel.TabStop = false;
+            this.btnTab4LineDel.Text = "è¡Œã€€å‰Šã€€é™¤";
+            this.btnTab4LineDel.UseVisualStyleBackColor = false;
+            this.btnTab4LineDel.Click += new System.EventHandler(this.btnTabLineDel_Click);
+            // 
+            // tabPage5
+            // 
+            this.tabPage5.BackColor = System.Drawing.Color.LemonChiffon;
+            this.tabPage5.Controls.Add(this.dgvPage5);
+            this.tabPage5.Controls.Add(this.label97);
+            this.tabPage5.Controls.Add(this.label98);
+            this.tabPage5.Controls.Add(this.label99);
+            this.tabPage5.Controls.Add(this.label100);
+            this.tabPage5.Controls.Add(this.label101);
+            this.tabPage5.Controls.Add(this.btnTab5LineNew);
+            this.tabPage5.Controls.Add(this.label102);
+            this.tabPage5.Controls.Add(this.label103);
+            this.tabPage5.Controls.Add(this.label104);
+            this.tabPage5.Controls.Add(this.label44);
+            this.tabPage5.Controls.Add(this.btnTab5LineDel);
+            this.tabPage5.Location = new System.Drawing.Point(4, 26);
+            this.tabPage5.Name = "tabPage5";
+            this.tabPage5.Size = new System.Drawing.Size(1326, 524);
+            this.tabPage5.TabIndex = 4;
+            this.tabPage5.Text = "å®¿ã€€ã€€æ³Šã€€ã€€è²»";
+            // 
             // dgvPage5
             // 
             this.dgvPage5.AllowUserToAddRows = false;
@@ -2691,14 +2145,14 @@
             | System.Windows.Forms.AnchorStyles.Right)));
             this.dgvPage5.BackgroundColor = System.Drawing.Color.White;
             this.dgvPage5.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            dataGridViewCellStyle57.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle57.BackColor = System.Drawing.SystemColors.Control;
-            dataGridViewCellStyle57.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            dataGridViewCellStyle57.ForeColor = System.Drawing.SystemColors.WindowText;
-            dataGridViewCellStyle57.SelectionBackColor = System.Drawing.SystemColors.Highlight;
-            dataGridViewCellStyle57.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
-            dataGridViewCellStyle57.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
-            this.dgvPage5.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle57;
+            dataGridViewCellStyle141.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle141.BackColor = System.Drawing.SystemColors.Control;
+            dataGridViewCellStyle141.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            dataGridViewCellStyle141.ForeColor = System.Drawing.SystemColors.WindowText;
+            dataGridViewCellStyle141.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+            dataGridViewCellStyle141.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle141.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvPage5.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle141;
             this.dgvPage5.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
             this.dgvPage5.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
             this.dataGridViewTextBoxColumn27,
@@ -2739,9 +2193,9 @@
             // 
             // dataGridViewTextBoxColumn27
             // 
-            dataGridViewCellStyle58.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle58.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn27.DefaultCellStyle = dataGridViewCellStyle58;
+            dataGridViewCellStyle142.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle142.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn27.DefaultCellStyle = dataGridViewCellStyle142;
             this.dataGridViewTextBoxColumn27.Frozen = true;
             this.dataGridViewTextBoxColumn27.HeaderText = "æ—¥ä»˜";
             this.dataGridViewTextBoxColumn27.Name = "dataGridViewTextBoxColumn27";
@@ -2772,9 +2226,9 @@
             // 
             // dataGridViewTextBoxColumn31
             // 
-            dataGridViewCellStyle59.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            dataGridViewCellStyle59.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn31.DefaultCellStyle = dataGridViewCellStyle59;
+            dataGridViewCellStyle143.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle143.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn31.DefaultCellStyle = dataGridViewCellStyle143;
             this.dataGridViewTextBoxColumn31.Frozen = true;
             this.dataGridViewTextBoxColumn31.HeaderText = "å·¥ã€€äº‹ã€€å��ã€€ç§°";
             this.dataGridViewTextBoxColumn31.Name = "dataGridViewTextBoxColumn31";
@@ -2785,9 +2239,9 @@
             // 
             // dataGridViewTextBoxColumn32
             // 
-            dataGridViewCellStyle60.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            dataGridViewCellStyle60.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn32.DefaultCellStyle = dataGridViewCellStyle60;
+            dataGridViewCellStyle144.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle144.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn32.DefaultCellStyle = dataGridViewCellStyle144;
             this.dataGridViewTextBoxColumn32.Frozen = true;
             this.dataGridViewTextBoxColumn32.HeaderText = "æ”¯ã€€æ‰•ã€€å†…ã€€å®¹";
             this.dataGridViewTextBoxColumn32.Name = "dataGridViewTextBoxColumn32";
@@ -2797,10 +2251,10 @@
             // 
             // dataGridViewButtonColumn10
             // 
-            dataGridViewCellStyle61.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle61.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle61.SelectionBackColor = System.Drawing.Color.Transparent;
-            this.dataGridViewButtonColumn10.DefaultCellStyle = dataGridViewCellStyle61;
+            dataGridViewCellStyle145.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle145.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle145.SelectionBackColor = System.Drawing.Color.Transparent;
+            this.dataGridViewButtonColumn10.DefaultCellStyle = dataGridViewCellStyle145;
             this.dataGridViewButtonColumn10.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.dataGridViewButtonColumn10.Frozen = true;
             this.dataGridViewButtonColumn10.HeaderText = "å€‹";
@@ -2809,10 +2263,10 @@
             // 
             // dataGridViewButtonColumn11
             // 
-            dataGridViewCellStyle62.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle62.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle62.SelectionBackColor = System.Drawing.Color.Transparent;
-            this.dataGridViewButtonColumn11.DefaultCellStyle = dataGridViewCellStyle62;
+            dataGridViewCellStyle146.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle146.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle146.SelectionBackColor = System.Drawing.Color.Transparent;
+            this.dataGridViewButtonColumn11.DefaultCellStyle = dataGridViewCellStyle146;
             this.dataGridViewButtonColumn11.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.dataGridViewButtonColumn11.Frozen = true;
             this.dataGridViewButtonColumn11.HeaderText = "ç�¾";
@@ -2821,10 +2275,10 @@
             // 
             // dataGridViewButtonColumn12
             // 
-            dataGridViewCellStyle63.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle63.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle63.SelectionBackColor = System.Drawing.Color.Transparent;
-            this.dataGridViewButtonColumn12.DefaultCellStyle = dataGridViewCellStyle63;
+            dataGridViewCellStyle147.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle147.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle147.SelectionBackColor = System.Drawing.Color.Transparent;
+            this.dataGridViewButtonColumn12.DefaultCellStyle = dataGridViewCellStyle147;
             this.dataGridViewButtonColumn12.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.dataGridViewButtonColumn12.Frozen = true;
             this.dataGridViewButtonColumn12.HeaderText = "æ³•";
@@ -2843,8 +2297,8 @@
             // 
             // dataGridViewTextBoxColumn34
             // 
-            dataGridViewCellStyle64.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dataGridViewTextBoxColumn34.DefaultCellStyle = dataGridViewCellStyle64;
+            dataGridViewCellStyle148.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.dataGridViewTextBoxColumn34.DefaultCellStyle = dataGridViewCellStyle148;
             this.dataGridViewTextBoxColumn34.Frozen = true;
             this.dataGridViewTextBoxColumn34.HeaderText = "æ”¯æ‰•æ–¹æ³•";
             this.dataGridViewTextBoxColumn34.Name = "dataGridViewTextBoxColumn34";
@@ -2854,10 +2308,10 @@
             // 
             // dataGridViewTextBoxColumn36
             // 
-            dataGridViewCellStyle65.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle65.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            dataGridViewCellStyle65.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn36.DefaultCellStyle = dataGridViewCellStyle65;
+            dataGridViewCellStyle149.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle149.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            dataGridViewCellStyle149.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn36.DefaultCellStyle = dataGridViewCellStyle149;
             this.dataGridViewTextBoxColumn36.Frozen = true;
             this.dataGridViewTextBoxColumn36.HeaderText = "ç¨ŽæŠœæ”¯æ‰•é‡‘é¡�";
             this.dataGridViewTextBoxColumn36.Name = "dataGridViewTextBoxColumn36";
@@ -2867,10 +2321,10 @@
             // 
             // Column13
             // 
-            dataGridViewCellStyle66.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle66.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            dataGridViewCellStyle66.ForeColor = System.Drawing.Color.Black;
-            this.Column13.DefaultCellStyle = dataGridViewCellStyle66;
+            dataGridViewCellStyle150.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle150.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            dataGridViewCellStyle150.ForeColor = System.Drawing.Color.Black;
+            this.Column13.DefaultCellStyle = dataGridViewCellStyle150;
             this.Column13.Frozen = true;
             this.Column13.HeaderText = "ç¨Žè¾¼æ”¯æ‰•é‡‘é¡�";
             this.Column13.Name = "Column13";
@@ -2890,9 +2344,9 @@
             // 
             // dataGridViewTextBoxColumn47
             // 
-            dataGridViewCellStyle67.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            dataGridViewCellStyle67.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn47.DefaultCellStyle = dataGridViewCellStyle67;
+            dataGridViewCellStyle151.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle151.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn47.DefaultCellStyle = dataGridViewCellStyle151;
             this.dataGridViewTextBoxColumn47.Frozen = true;
             this.dataGridViewTextBoxColumn47.HeaderText = "æ”¯æ‰•å…ˆå��ç§°";
             this.dataGridViewTextBoxColumn47.Name = "dataGridViewTextBoxColumn47";
@@ -2912,10 +2366,10 @@
             // 
             // dataGridViewTextBoxColumn55
             // 
-            dataGridViewCellStyle68.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle68.Font = new System.Drawing.Font("Century", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            dataGridViewCellStyle68.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn55.DefaultCellStyle = dataGridViewCellStyle68;
+            dataGridViewCellStyle152.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle152.Font = new System.Drawing.Font("Century", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            dataGridViewCellStyle152.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn55.DefaultCellStyle = dataGridViewCellStyle152;
             this.dataGridViewTextBoxColumn55.Frozen = true;
             this.dataGridViewTextBoxColumn55.HeaderText = "ä¼�ç¥¨ç•ªå�·";
             this.dataGridViewTextBoxColumn55.Name = "dataGridViewTextBoxColumn55";
@@ -2925,11 +2379,11 @@
             // 
             // Column18
             // 
-            dataGridViewCellStyle69.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle69.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle69.ForeColor = System.Drawing.Color.Transparent;
-            dataGridViewCellStyle69.SelectionForeColor = System.Drawing.Color.Transparent;
-            this.Column18.DefaultCellStyle = dataGridViewCellStyle69;
+            dataGridViewCellStyle153.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle153.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle153.ForeColor = System.Drawing.Color.Transparent;
+            dataGridViewCellStyle153.SelectionForeColor = System.Drawing.Color.Transparent;
+            this.Column18.DefaultCellStyle = dataGridViewCellStyle153;
             this.Column18.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.Column18.Frozen = true;
             this.Column18.HeaderText = "ç¢º";
@@ -2938,11 +2392,11 @@
             // 
             // Column24
             // 
-            dataGridViewCellStyle70.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle70.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle70.ForeColor = System.Drawing.Color.Transparent;
-            dataGridViewCellStyle70.SelectionForeColor = System.Drawing.Color.Transparent;
-            this.Column24.DefaultCellStyle = dataGridViewCellStyle70;
+            dataGridViewCellStyle154.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle154.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle154.ForeColor = System.Drawing.Color.Transparent;
+            dataGridViewCellStyle154.SelectionForeColor = System.Drawing.Color.Transparent;
+            this.Column24.DefaultCellStyle = dataGridViewCellStyle154;
             this.Column24.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.Column24.Frozen = true;
             this.Column24.HeaderText = "ç¢º";
@@ -2949,6 +2403,311 @@
             this.Column24.Name = "Column24";
             this.Column24.Width = 20;
             // 
+            // label97
+            // 
+            this.label97.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.label97.BackColor = System.Drawing.Color.White;
+            this.label97.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label97.ForeColor = System.Drawing.Color.Black;
+            this.label97.Location = new System.Drawing.Point(906, 492);
+            this.label97.Name = "label97";
+            this.label97.Size = new System.Drawing.Size(30, 27);
+            this.label97.TabIndex = 158;
+            this.label97.Text = "å††";
+            this.label97.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // label98
+            // 
+            this.label98.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.label98.BackColor = System.Drawing.Color.Beige;
+            this.label98.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label98.ForeColor = System.Drawing.Color.Black;
+            this.label98.Location = new System.Drawing.Point(626, 492);
+            this.label98.Name = "label98";
+            this.label98.Size = new System.Drawing.Size(130, 27);
+            this.label98.TabIndex = 159;
+            this.label98.Text = "æ³•äººã‚¯ãƒ¬ã‚¸ãƒƒãƒˆ";
+            this.label98.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // label99
+            // 
+            this.label99.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.label99.BackColor = System.Drawing.Color.White;
+            this.label99.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label99.ForeColor = System.Drawing.Color.Black;
+            this.label99.Location = new System.Drawing.Point(596, 492);
+            this.label99.Name = "label99";
+            this.label99.Size = new System.Drawing.Size(30, 27);
+            this.label99.TabIndex = 156;
+            this.label99.Text = "å††";
+            this.label99.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // label100
+            // 
+            this.label100.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.label100.BackColor = System.Drawing.Color.Beige;
+            this.label100.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label100.ForeColor = System.Drawing.Color.Black;
+            this.label100.Location = new System.Drawing.Point(316, 492);
+            this.label100.Name = "label100";
+            this.label100.Size = new System.Drawing.Size(130, 27);
+            this.label100.TabIndex = 157;
+            this.label100.Text = "ç�¾ã€€ã€€é‡‘";
+            this.label100.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // label101
+            // 
+            this.label101.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.label101.BackColor = System.Drawing.Color.White;
+            this.label101.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label101.ForeColor = System.Drawing.Color.Black;
+            this.label101.Location = new System.Drawing.Point(286, 492);
+            this.label101.Name = "label101";
+            this.label101.Size = new System.Drawing.Size(30, 27);
+            this.label101.TabIndex = 154;
+            this.label101.Text = "å††";
+            this.label101.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // btnTab5LineNew
+            // 
+            this.btnTab5LineNew.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.btnTab5LineNew.BackColor = System.Drawing.Color.DarkSlateGray;
+            this.btnTab5LineNew.ForeColor = System.Drawing.Color.White;
+            this.btnTab5LineNew.Location = new System.Drawing.Point(1053, 490);
+            this.btnTab5LineNew.Name = "btnTab5LineNew";
+            this.btnTab5LineNew.Size = new System.Drawing.Size(130, 30);
+            this.btnTab5LineNew.TabIndex = 114;
+            this.btnTab5LineNew.TabStop = false;
+            this.btnTab5LineNew.Text = "è¡Œæ–°è¦�ä½œæˆ�";
+            this.btnTab5LineNew.UseVisualStyleBackColor = false;
+            this.btnTab5LineNew.Click += new System.EventHandler(this.btnTabLineNew_Click);
+            // 
+            // label102
+            // 
+            this.label102.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.label102.BackColor = System.Drawing.Color.Beige;
+            this.label102.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label102.ForeColor = System.Drawing.Color.Black;
+            this.label102.Location = new System.Drawing.Point(6, 492);
+            this.label102.Name = "label102";
+            this.label102.Size = new System.Drawing.Size(130, 27);
+            this.label102.TabIndex = 155;
+            this.label102.Text = "å€‹äººã‚¯ãƒ¬ã‚¸ãƒƒãƒˆ";
+            this.label102.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // label103
+            // 
+            this.label103.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.label103.BackColor = System.Drawing.Color.White;
+            this.label103.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label103.Font = new System.Drawing.Font("Century", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.label103.Location = new System.Drawing.Point(756, 492);
+            this.label103.Name = "label103";
+            this.label103.Size = new System.Drawing.Size(150, 27);
+            this.label103.TabIndex = 152;
+            this.label103.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+            // 
+            // label104
+            // 
+            this.label104.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.label104.BackColor = System.Drawing.Color.White;
+            this.label104.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label104.Font = new System.Drawing.Font("Century", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.label104.Location = new System.Drawing.Point(446, 492);
+            this.label104.Name = "label104";
+            this.label104.Size = new System.Drawing.Size(150, 27);
+            this.label104.TabIndex = 153;
+            this.label104.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+            // 
+            // label44
+            // 
+            this.label44.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.label44.BackColor = System.Drawing.Color.White;
+            this.label44.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label44.Font = new System.Drawing.Font("Century", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.label44.Location = new System.Drawing.Point(136, 492);
+            this.label44.Name = "label44";
+            this.label44.Size = new System.Drawing.Size(150, 27);
+            this.label44.TabIndex = 118;
+            this.label44.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+            // 
+            // btnTab5LineDel
+            // 
+            this.btnTab5LineDel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.btnTab5LineDel.BackColor = System.Drawing.Color.Red;
+            this.btnTab5LineDel.ForeColor = System.Drawing.Color.White;
+            this.btnTab5LineDel.Location = new System.Drawing.Point(1191, 490);
+            this.btnTab5LineDel.Name = "btnTab5LineDel";
+            this.btnTab5LineDel.Size = new System.Drawing.Size(130, 30);
+            this.btnTab5LineDel.TabIndex = 102;
+            this.btnTab5LineDel.TabStop = false;
+            this.btnTab5LineDel.Text = "è¡Œã€€å‰Šã€€é™¤";
+            this.btnTab5LineDel.UseVisualStyleBackColor = false;
+            this.btnTab5LineDel.Click += new System.EventHandler(this.btnTabLineDel_Click);
+            // 
+            // tabPage6
+            // 
+            this.tabPage6.BackColor = System.Drawing.Color.LightGray;
+            this.tabPage6.Controls.Add(this.label5);
+            this.tabPage6.Controls.Add(this.label6);
+            this.tabPage6.Controls.Add(this.label7);
+            this.tabPage6.Controls.Add(this.label8);
+            this.tabPage6.Controls.Add(this.label9);
+            this.tabPage6.Controls.Add(this.btnTab6LineNew);
+            this.tabPage6.Controls.Add(this.label10);
+            this.tabPage6.Controls.Add(this.label11);
+            this.tabPage6.Controls.Add(this.label12);
+            this.tabPage6.Controls.Add(this.label13);
+            this.tabPage6.Controls.Add(this.btnTab6LineDel);
+            this.tabPage6.Controls.Add(this.dgvPage6);
+            this.tabPage6.Location = new System.Drawing.Point(4, 26);
+            this.tabPage6.Name = "tabPage6";
+            this.tabPage6.Size = new System.Drawing.Size(1326, 524);
+            this.tabPage6.TabIndex = 5;
+            this.tabPage6.Text = "å‡¦ã€€ã€€åˆ†ã€€ã€€è²»";
+            // 
+            // label5
+            // 
+            this.label5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.label5.BackColor = System.Drawing.Color.White;
+            this.label5.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label5.ForeColor = System.Drawing.Color.Black;
+            this.label5.Location = new System.Drawing.Point(906, 492);
+            this.label5.Name = "label5";
+            this.label5.Size = new System.Drawing.Size(30, 27);
+            this.label5.TabIndex = 171;
+            this.label5.Text = "å††";
+            this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // label6
+            // 
+            this.label6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.label6.BackColor = System.Drawing.Color.Beige;
+            this.label6.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label6.ForeColor = System.Drawing.Color.Black;
+            this.label6.Location = new System.Drawing.Point(626, 492);
+            this.label6.Name = "label6";
+            this.label6.Size = new System.Drawing.Size(130, 27);
+            this.label6.TabIndex = 172;
+            this.label6.Text = "æ³•äººã‚¯ãƒ¬ã‚¸ãƒƒãƒˆ";
+            this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // label7
+            // 
+            this.label7.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.label7.BackColor = System.Drawing.Color.White;
+            this.label7.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label7.ForeColor = System.Drawing.Color.Black;
+            this.label7.Location = new System.Drawing.Point(596, 492);
+            this.label7.Name = "label7";
+            this.label7.Size = new System.Drawing.Size(30, 27);
+            this.label7.TabIndex = 169;
+            this.label7.Text = "å††";
+            this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // label8
+            // 
+            this.label8.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.label8.BackColor = System.Drawing.Color.Beige;
+            this.label8.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label8.ForeColor = System.Drawing.Color.Black;
+            this.label8.Location = new System.Drawing.Point(316, 492);
+            this.label8.Name = "label8";
+            this.label8.Size = new System.Drawing.Size(130, 27);
+            this.label8.TabIndex = 170;
+            this.label8.Text = "ç�¾ã€€ã€€é‡‘";
+            this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // label9
+            // 
+            this.label9.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.label9.BackColor = System.Drawing.Color.White;
+            this.label9.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label9.ForeColor = System.Drawing.Color.Black;
+            this.label9.Location = new System.Drawing.Point(286, 492);
+            this.label9.Name = "label9";
+            this.label9.Size = new System.Drawing.Size(30, 27);
+            this.label9.TabIndex = 167;
+            this.label9.Text = "å††";
+            this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // btnTab6LineNew
+            // 
+            this.btnTab6LineNew.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.btnTab6LineNew.BackColor = System.Drawing.Color.DarkSlateGray;
+            this.btnTab6LineNew.ForeColor = System.Drawing.Color.White;
+            this.btnTab6LineNew.Location = new System.Drawing.Point(1053, 490);
+            this.btnTab6LineNew.Name = "btnTab6LineNew";
+            this.btnTab6LineNew.Size = new System.Drawing.Size(130, 30);
+            this.btnTab6LineNew.TabIndex = 163;
+            this.btnTab6LineNew.TabStop = false;
+            this.btnTab6LineNew.Text = "è¡Œæ–°è¦�ä½œæˆ�";
+            this.btnTab6LineNew.UseVisualStyleBackColor = false;
+            this.btnTab6LineNew.Click += new System.EventHandler(this.btnTabLineNew_Click);
+            // 
+            // label10
+            // 
+            this.label10.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.label10.BackColor = System.Drawing.Color.Beige;
+            this.label10.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label10.ForeColor = System.Drawing.Color.Black;
+            this.label10.Location = new System.Drawing.Point(6, 492);
+            this.label10.Name = "label10";
+            this.label10.Size = new System.Drawing.Size(130, 27);
+            this.label10.TabIndex = 168;
+            this.label10.Text = "å€‹äººã‚¯ãƒ¬ã‚¸ãƒƒãƒˆ";
+            this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // label11
+            // 
+            this.label11.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.label11.BackColor = System.Drawing.Color.White;
+            this.label11.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label11.Font = new System.Drawing.Font("Century", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.label11.Location = new System.Drawing.Point(756, 492);
+            this.label11.Name = "label11";
+            this.label11.Size = new System.Drawing.Size(150, 27);
+            this.label11.TabIndex = 165;
+            this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+            // 
+            // label12
+            // 
+            this.label12.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.label12.BackColor = System.Drawing.Color.White;
+            this.label12.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label12.Font = new System.Drawing.Font("Century", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.label12.Location = new System.Drawing.Point(446, 492);
+            this.label12.Name = "label12";
+            this.label12.Size = new System.Drawing.Size(150, 27);
+            this.label12.TabIndex = 166;
+            this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+            // 
+            // label13
+            // 
+            this.label13.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.label13.BackColor = System.Drawing.Color.White;
+            this.label13.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label13.Font = new System.Drawing.Font("Century", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.label13.Location = new System.Drawing.Point(136, 492);
+            this.label13.Name = "label13";
+            this.label13.Size = new System.Drawing.Size(150, 27);
+            this.label13.TabIndex = 164;
+            this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+            // 
+            // btnTab6LineDel
+            // 
+            this.btnTab6LineDel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.btnTab6LineDel.BackColor = System.Drawing.Color.Red;
+            this.btnTab6LineDel.ForeColor = System.Drawing.Color.White;
+            this.btnTab6LineDel.Location = new System.Drawing.Point(1191, 490);
+            this.btnTab6LineDel.Name = "btnTab6LineDel";
+            this.btnTab6LineDel.Size = new System.Drawing.Size(130, 30);
+            this.btnTab6LineDel.TabIndex = 162;
+            this.btnTab6LineDel.TabStop = false;
+            this.btnTab6LineDel.Text = "è¡Œã€€å‰Šã€€é™¤";
+            this.btnTab6LineDel.UseVisualStyleBackColor = false;
+            this.btnTab6LineDel.Click += new System.EventHandler(this.btnTabLineDel_Click);
+            // 
             // dgvPage6
             // 
             this.dgvPage6.AllowUserToAddRows = false;
@@ -2960,14 +2719,14 @@
             | System.Windows.Forms.AnchorStyles.Right)));
             this.dgvPage6.BackgroundColor = System.Drawing.Color.White;
             this.dgvPage6.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            dataGridViewCellStyle71.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle71.BackColor = System.Drawing.SystemColors.Control;
-            dataGridViewCellStyle71.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            dataGridViewCellStyle71.ForeColor = System.Drawing.SystemColors.WindowText;
-            dataGridViewCellStyle71.SelectionBackColor = System.Drawing.SystemColors.Highlight;
-            dataGridViewCellStyle71.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
-            dataGridViewCellStyle71.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
-            this.dgvPage6.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle71;
+            dataGridViewCellStyle155.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle155.BackColor = System.Drawing.SystemColors.Control;
+            dataGridViewCellStyle155.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            dataGridViewCellStyle155.ForeColor = System.Drawing.SystemColors.WindowText;
+            dataGridViewCellStyle155.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+            dataGridViewCellStyle155.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle155.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvPage6.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle155;
             this.dgvPage6.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
             this.dgvPage6.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
             this.dataGridViewTextBoxColumn56,
@@ -3008,9 +2767,9 @@
             // 
             // dataGridViewTextBoxColumn56
             // 
-            dataGridViewCellStyle72.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle72.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn56.DefaultCellStyle = dataGridViewCellStyle72;
+            dataGridViewCellStyle156.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle156.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn56.DefaultCellStyle = dataGridViewCellStyle156;
             this.dataGridViewTextBoxColumn56.Frozen = true;
             this.dataGridViewTextBoxColumn56.HeaderText = "æ—¥ä»˜";
             this.dataGridViewTextBoxColumn56.Name = "dataGridViewTextBoxColumn56";
@@ -3041,9 +2800,9 @@
             // 
             // dataGridViewTextBoxColumn59
             // 
-            dataGridViewCellStyle73.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            dataGridViewCellStyle73.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn59.DefaultCellStyle = dataGridViewCellStyle73;
+            dataGridViewCellStyle157.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle157.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn59.DefaultCellStyle = dataGridViewCellStyle157;
             this.dataGridViewTextBoxColumn59.Frozen = true;
             this.dataGridViewTextBoxColumn59.HeaderText = "å·¥ã€€äº‹ã€€å��ã€€ç§°";
             this.dataGridViewTextBoxColumn59.Name = "dataGridViewTextBoxColumn59";
@@ -3054,9 +2813,9 @@
             // 
             // dataGridViewTextBoxColumn60
             // 
-            dataGridViewCellStyle74.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            dataGridViewCellStyle74.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn60.DefaultCellStyle = dataGridViewCellStyle74;
+            dataGridViewCellStyle158.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle158.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn60.DefaultCellStyle = dataGridViewCellStyle158;
             this.dataGridViewTextBoxColumn60.Frozen = true;
             this.dataGridViewTextBoxColumn60.HeaderText = "æ”¯ã€€æ‰•ã€€å†…ã€€å®¹";
             this.dataGridViewTextBoxColumn60.Name = "dataGridViewTextBoxColumn60";
@@ -3066,10 +2825,10 @@
             // 
             // dataGridViewButtonColumn13
             // 
-            dataGridViewCellStyle75.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle75.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle75.SelectionBackColor = System.Drawing.Color.Transparent;
-            this.dataGridViewButtonColumn13.DefaultCellStyle = dataGridViewCellStyle75;
+            dataGridViewCellStyle159.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle159.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle159.SelectionBackColor = System.Drawing.Color.Transparent;
+            this.dataGridViewButtonColumn13.DefaultCellStyle = dataGridViewCellStyle159;
             this.dataGridViewButtonColumn13.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.dataGridViewButtonColumn13.Frozen = true;
             this.dataGridViewButtonColumn13.HeaderText = "å€‹";
@@ -3078,10 +2837,10 @@
             // 
             // dataGridViewButtonColumn14
             // 
-            dataGridViewCellStyle76.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle76.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle76.SelectionBackColor = System.Drawing.Color.Transparent;
-            this.dataGridViewButtonColumn14.DefaultCellStyle = dataGridViewCellStyle76;
+            dataGridViewCellStyle160.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle160.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle160.SelectionBackColor = System.Drawing.Color.Transparent;
+            this.dataGridViewButtonColumn14.DefaultCellStyle = dataGridViewCellStyle160;
             this.dataGridViewButtonColumn14.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.dataGridViewButtonColumn14.Frozen = true;
             this.dataGridViewButtonColumn14.HeaderText = "ç�¾";
@@ -3090,10 +2849,10 @@
             // 
             // dataGridViewButtonColumn15
             // 
-            dataGridViewCellStyle77.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle77.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle77.SelectionBackColor = System.Drawing.Color.Transparent;
-            this.dataGridViewButtonColumn15.DefaultCellStyle = dataGridViewCellStyle77;
+            dataGridViewCellStyle161.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle161.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle161.SelectionBackColor = System.Drawing.Color.Transparent;
+            this.dataGridViewButtonColumn15.DefaultCellStyle = dataGridViewCellStyle161;
             this.dataGridViewButtonColumn15.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.dataGridViewButtonColumn15.Frozen = true;
             this.dataGridViewButtonColumn15.HeaderText = "æ³•";
@@ -3112,8 +2871,8 @@
             // 
             // dataGridViewTextBoxColumn62
             // 
-            dataGridViewCellStyle78.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dataGridViewTextBoxColumn62.DefaultCellStyle = dataGridViewCellStyle78;
+            dataGridViewCellStyle162.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.dataGridViewTextBoxColumn62.DefaultCellStyle = dataGridViewCellStyle162;
             this.dataGridViewTextBoxColumn62.Frozen = true;
             this.dataGridViewTextBoxColumn62.HeaderText = "æ”¯æ‰•æ–¹æ³•";
             this.dataGridViewTextBoxColumn62.Name = "dataGridViewTextBoxColumn62";
@@ -3123,10 +2882,10 @@
             // 
             // dataGridViewTextBoxColumn63
             // 
-            dataGridViewCellStyle79.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle79.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            dataGridViewCellStyle79.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn63.DefaultCellStyle = dataGridViewCellStyle79;
+            dataGridViewCellStyle163.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle163.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            dataGridViewCellStyle163.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn63.DefaultCellStyle = dataGridViewCellStyle163;
             this.dataGridViewTextBoxColumn63.Frozen = true;
             this.dataGridViewTextBoxColumn63.HeaderText = "ç¨ŽæŠœæ”¯æ‰•é‡‘é¡�";
             this.dataGridViewTextBoxColumn63.Name = "dataGridViewTextBoxColumn63";
@@ -3136,10 +2895,10 @@
             // 
             // dataGridViewTextBoxColumn64
             // 
-            dataGridViewCellStyle80.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle80.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            dataGridViewCellStyle80.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn64.DefaultCellStyle = dataGridViewCellStyle80;
+            dataGridViewCellStyle164.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle164.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            dataGridViewCellStyle164.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn64.DefaultCellStyle = dataGridViewCellStyle164;
             this.dataGridViewTextBoxColumn64.Frozen = true;
             this.dataGridViewTextBoxColumn64.HeaderText = "ç¨Žè¾¼æ”¯æ‰•é‡‘é¡�";
             this.dataGridViewTextBoxColumn64.Name = "dataGridViewTextBoxColumn64";
@@ -3159,9 +2918,9 @@
             // 
             // dataGridViewTextBoxColumn66
             // 
-            dataGridViewCellStyle81.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            dataGridViewCellStyle81.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn66.DefaultCellStyle = dataGridViewCellStyle81;
+            dataGridViewCellStyle165.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle165.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn66.DefaultCellStyle = dataGridViewCellStyle165;
             this.dataGridViewTextBoxColumn66.Frozen = true;
             this.dataGridViewTextBoxColumn66.HeaderText = "æ”¯æ‰•å…ˆå��ç§°";
             this.dataGridViewTextBoxColumn66.Name = "dataGridViewTextBoxColumn66";
@@ -3181,10 +2940,10 @@
             // 
             // dataGridViewTextBoxColumn68
             // 
-            dataGridViewCellStyle82.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle82.Font = new System.Drawing.Font("Century", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            dataGridViewCellStyle82.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn68.DefaultCellStyle = dataGridViewCellStyle82;
+            dataGridViewCellStyle166.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle166.Font = new System.Drawing.Font("Century", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            dataGridViewCellStyle166.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn68.DefaultCellStyle = dataGridViewCellStyle166;
             this.dataGridViewTextBoxColumn68.Frozen = true;
             this.dataGridViewTextBoxColumn68.HeaderText = "ä¼�ç¥¨ç•ªå�·";
             this.dataGridViewTextBoxColumn68.Name = "dataGridViewTextBoxColumn68";
@@ -3194,11 +2953,11 @@
             // 
             // Column19
             // 
-            dataGridViewCellStyle83.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle83.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle83.ForeColor = System.Drawing.Color.Transparent;
-            dataGridViewCellStyle83.SelectionForeColor = System.Drawing.Color.Transparent;
-            this.Column19.DefaultCellStyle = dataGridViewCellStyle83;
+            dataGridViewCellStyle167.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle167.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle167.ForeColor = System.Drawing.Color.Transparent;
+            dataGridViewCellStyle167.SelectionForeColor = System.Drawing.Color.Transparent;
+            this.Column19.DefaultCellStyle = dataGridViewCellStyle167;
             this.Column19.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.Column19.Frozen = true;
             this.Column19.HeaderText = "ç¢º";
@@ -3207,11 +2966,11 @@
             // 
             // Column25
             // 
-            dataGridViewCellStyle84.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle84.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle84.ForeColor = System.Drawing.Color.Transparent;
-            dataGridViewCellStyle84.SelectionForeColor = System.Drawing.Color.Transparent;
-            this.Column25.DefaultCellStyle = dataGridViewCellStyle84;
+            dataGridViewCellStyle168.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle168.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle168.ForeColor = System.Drawing.Color.Transparent;
+            dataGridViewCellStyle168.SelectionForeColor = System.Drawing.Color.Transparent;
+            this.Column25.DefaultCellStyle = dataGridViewCellStyle168;
             this.Column25.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.Column25.Frozen = true;
             this.Column25.HeaderText = "ç¢º";
@@ -3218,6 +2977,247 @@
             this.Column25.Name = "Column25";
             this.Column25.Width = 20;
             // 
+            // panel3
+            // 
+            this.panel3.Anchor = System.Windows.Forms.AnchorStyles.Top;
+            this.panel3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(255)))));
+            this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.panel3.Controls.Add(this.cmbDepartment);
+            this.panel3.Controls.Add(this.label2);
+            this.panel3.Controls.Add(this.cmbConstructionPerson);
+            this.panel3.Controls.Add(this.label3);
+            this.panel3.Controls.Add(this.label4);
+            this.panel3.Controls.Add(this.comboBox1);
+            this.panel3.Location = new System.Drawing.Point(6, 40);
+            this.panel3.Name = "panel3";
+            this.panel3.Size = new System.Drawing.Size(1325, 44);
+            this.panel3.TabIndex = 0;
+            // 
+            // 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.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 15.75F, System.Drawing.FontStyle.Bold);
+            this.cmbDepartment.FormattingEnabled = true;
+            this.cmbDepartment.Location = new System.Drawing.Point(437, 4);
+            this.cmbDepartment.Name = "cmbDepartment";
+            this.cmbDepartment.Size = new System.Drawing.Size(260, 29);
+            this.cmbDepartment.TabIndex = 1;
+            // 
+            // label2
+            // 
+            this.label2.BackColor = System.Drawing.Color.SandyBrown;
+            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(309, 5);
+            this.label2.Name = "label2";
+            this.label2.Size = new System.Drawing.Size(120, 27);
+            this.label2.TabIndex = 108;
+            this.label2.Text = "æ‹…å½“éƒ¨ç½²";
+            this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // cmbConstructionPerson
+            // 
+            this.cmbConstructionPerson.BackColor = System.Drawing.Color.White;
+            this.cmbConstructionPerson.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+            this.cmbConstructionPerson.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
+            this.cmbConstructionPerson.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.cmbConstructionPerson.FormattingEnabled = true;
+            this.cmbConstructionPerson.Location = new System.Drawing.Point(841, 4);
+            this.cmbConstructionPerson.Name = "cmbConstructionPerson";
+            this.cmbConstructionPerson.Size = new System.Drawing.Size(200, 29);
+            this.cmbConstructionPerson.TabIndex = 2;
+            // 
+            // label3
+            // 
+            this.label3.BackColor = System.Drawing.Color.SandyBrown;
+            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(713, 5);
+            this.label3.Name = "label3";
+            this.label3.Size = new System.Drawing.Size(120, 27);
+            this.label3.TabIndex = 106;
+            this.label3.Text = "æ‹…ã€€å½“ã€€è€…";
+            this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // label4
+            // 
+            this.label4.BackColor = System.Drawing.Color.SandyBrown;
+            this.label4.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label4.Location = new System.Drawing.Point(5, 5);
+            this.label4.Name = "label4";
+            this.label4.Size = new System.Drawing.Size(120, 27);
+            this.label4.TabIndex = 104;
+            this.label4.Text = "å¯¾è±¡å¹´æœˆ";
+            this.label4.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("ï¼­ï¼³ æ˜Žæœ�", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.comboBox1.FormattingEnabled = true;
+            this.comboBox1.Location = new System.Drawing.Point(133, 4);
+            this.comboBox1.Name = "comboBox1";
+            this.comboBox1.Size = new System.Drawing.Size(160, 29);
+            this.comboBox1.TabIndex = 0;
+            // 
+            // 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(1069, 3);
+            this.pnlApproval.Name = "pnlApproval";
+            this.pnlApproval.Size = new System.Drawing.Size(262, 34);
+            this.pnlApproval.TabIndex = 109;
+            this.pnlApproval.Visible = false;
+            // 
+            // 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;
+            // 
+            // 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;
+            // 
+            // 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(1069, 3);
+            this.pnlApprovalButton.Name = "pnlApprovalButton";
+            this.pnlApprovalButton.Size = new System.Drawing.Size(262, 34);
+            this.pnlApprovalButton.TabIndex = 110;
+            this.pnlApprovalButton.Visible = false;
+            // 
+            // btnOnApproval
+            // 
+            this.btnOnApproval.BackColor = System.Drawing.Color.MediumSpringGreen;
+            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;
+            // 
+            // btnNotApproval
+            // 
+            this.btnNotApproval.BackColor = System.Drawing.Color.Red;
+            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;
+            // 
+            // btnOnHold
+            // 
+            this.btnOnHold.BackColor = System.Drawing.Color.Yellow;
+            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;
+            // 
+            // btnDataDelete
+            // 
+            this.btnDataDelete.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.btnDataDelete.BackColor = System.Drawing.Color.Red;
+            this.btnDataDelete.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.btnDataDelete.ForeColor = System.Drawing.Color.White;
+            this.btnDataDelete.Location = new System.Drawing.Point(1089, 654);
+            this.btnDataDelete.Name = "btnDataDelete";
+            this.btnDataDelete.Size = new System.Drawing.Size(120, 30);
+            this.btnDataDelete.TabIndex = 104;
+            this.btnDataDelete.Text = "å‰Šã€€é™¤";
+            this.btnDataDelete.UseVisualStyleBackColor = false;
+            this.btnDataDelete.Visible = false;
+            this.btnDataDelete.Click += new System.EventHandler(this.btnDataDelete_Click);
+            // 
+            // 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(963, 654);
+            this.btnDataEntry.Name = "btnDataEntry";
+            this.btnDataEntry.Size = new System.Drawing.Size(120, 30);
+            this.btnDataEntry.TabIndex = 103;
+            this.btnDataEntry.Text = "ç™»ã€€éŒ²";
+            this.btnDataEntry.UseVisualStyleBackColor = false;
+            this.btnDataEntry.Click += new System.EventHandler(this.btnDataEntry_Click);
+            // 
+            // 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.White;
+            this.lblCellTotal.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.lblCellTotal.ForeColor = System.Drawing.Color.Black;
+            this.lblCellTotal.Location = new System.Drawing.Point(100, 650);
+            this.lblCellTotal.Name = "lblCellTotal";
+            this.lblCellTotal.Size = new System.Drawing.Size(0, 16);
+            this.lblCellTotal.TabIndex = 105;
+            // 
+            // btnTest
+            // 
+            this.btnTest.Location = new System.Drawing.Point(6, 654);
+            this.btnTest.Name = "btnTest";
+            this.btnTest.Size = new System.Drawing.Size(80, 23);
+            this.btnTest.TabIndex = 111;
+            this.btnTest.Text = "button1";
+            this.btnTest.UseVisualStyleBackColor = true;
+            this.btnTest.Visible = false;
+            this.btnTest.Click += new System.EventHandler(this.btnTest_Click);
+            // 
             // FrmTAndPCosts
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
@@ -3246,20 +3246,20 @@
             this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.FrmTAndPCosts_KeyDown);
             this.TabControl1.ResumeLayout(false);
             this.tabPage1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.dgvPage1)).EndInit();
             this.tabPage2.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.dgvPage2)).EndInit();
             this.tabPage3.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.dgvPage3)).EndInit();
             this.tabPage4.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.dgvPage4)).EndInit();
             this.tabPage5.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.dgvPage5)).EndInit();
             this.tabPage6.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.dgvPage6)).EndInit();
             this.panel3.ResumeLayout(false);
             this.pnlApproval.ResumeLayout(false);
             this.pnlApprovalButton.ResumeLayout(false);
-            ((System.ComponentModel.ISupportInitialize)(this.dgvPage1)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.dgvPage2)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.dgvPage3)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.dgvPage4)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.dgvPage5)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.dgvPage6)).EndInit();
             this.ResumeLayout(false);
             this.PerformLayout();
 
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/TAndPCosts/FrmTAndPCosts.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/TAndPCosts/FrmTAndPCosts.cs	(revision 316)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/TAndPCosts/FrmTAndPCosts.cs	(revision 317)
@@ -1161,7 +1161,7 @@
 
         private void btnTest_Click(object sender, EventArgs e)
         {
-            LedgerReCalc();
+            LedgerReCalc2();
         }
 
     }
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/TAndPCosts/FrmTAndPCostsAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/TAndPCosts/FrmTAndPCostsAuxiliary.cs	(revision 316)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/TAndPCosts/FrmTAndPCostsAuxiliary.cs	(revision 317)
@@ -1972,6 +1972,7 @@
         #endregion
 
         // ----- Debug Logic
+        #region Debug Logic
         private void LedgerReCalc()
         {
             IOCostDataOfPerson CostDB = new IOCostDataOfPerson();
@@ -2041,5 +2042,102 @@
                 LedgerExcuteDB.rollback();
             }
         }
+
+        private void LedgerReCalc2()
+        {
+            IOCostDataOfPerson CostDB = new IOCostDataOfPerson();
+            IOConstructionLedger LedgerDB = new IOConstructionLedger();
+            IOConstructionLedgerDetail LedgerDetailDB = new IOConstructionLedgerDetail();
+            IOConstructionLedgerExcute LedgerExcuteDB = new IOConstructionLedgerExcute();
+            try
+            {
+                LedgerExcuteDB.connect(); LedgerExcuteDB.beginTran();
+
+                StringBuilder strSQL = new StringBuilder();
+                strSQL.Append("update constructionledgerExcute set ColumnCount = ColumnCount + 100");
+                if (!LedgerExcuteDB.ExecuteNonQuery(strSQL.ToString(), false))
+                {
+                    LedgerExcuteDB.rollback();
+                    MessageBox.Show("ä¸€æ‹¬æ›´æ–°å‡¦ç�†ã‚¨ãƒ©ãƒ¼");
+                    return;
+                }
+
+                int DefaultCol = ClsChangeLedgerData.GetLedgerColumnCount();
+
+                strSQL.Clear();
+                strSQL.Append("select * From");
+                strSQL.Append(" (Select");
+                strSQL.Append(" Excute.ConstructionCode");                                          // 0
+                strSQL.Append(", Excute.GroupCount");                                               // 1
+                strSQL.Append(", Excute.LineCount");                                                // 2
+                strSQL.Append(", Excute.ColumnCount");                                              // 3
+                strSQL.Append(", DATE_FORMAT(Excute.TargetMonth, '%Y%m') As TargetMonth");          // 4
+                strSQL.Append(", DATE_FORMAT(Ledger.ConstructionStart, '%Y%m') As StartMonth");     // 5
+                strSQL.Append(", PERIOD_DIFF(");                                                    // 6
+                strSQL.Append("  DATE_FORMAT(Excute.TargetMonth, '%Y%m')");
+                strSQL.Append(", DATE_FORMAT(Ledger.ConstructionStart, '%Y%m')");
+                strSQL.AppendFormat(") + {0} AS ColPoint", DefaultCol);
+                strSQL.Append(" From");
+                strSQL.Append(" constructionledgerExcute As Excute");
+                strSQL.Append(" Inner Join ConstructionLedger as Ledger");
+                strSQL.Append(" on Ledger.ConstructionCode = Excute.ConstructionCode");
+                strSQL.Append(") As DataA");
+                //strSQL.Append(" Where");
+                //strSQL.Append(" DataA.ColumnCount <> DataA.ColPoint");
+                strSQL.Append(" order by");
+                strSQL.Append(" ConstructionCode");
+                strSQL.Append(", GroupCount");
+                strSQL.Append(", LineCount");
+                strSQL.Append(", ColumnCount");
+
+                ArrayList arList = new ArrayList();
+                if (!LedgerExcuteDB.ExecuteReader(strSQL.ToString(), ref arList, false))
+                {
+                    LedgerExcuteDB.rollback();
+                    MessageBox.Show("ä¸€æ‹¬èª­è¾¼å‡¦ç�†ã‚¨ãƒ©ãƒ¼");
+                    return;
+                }
+
+                int[] Key = new int[4];
+                ConstructionLedgerExcute UpRec = new ConstructionLedgerExcute();
+                foreach (object[] objRec in arList)
+                {
+                    strSQL.Clear();
+                    Array.Clear(Key, 0, Key.Length);
+                    Key[0] = CommonMotions.cnvInt(objRec[0]);
+                    Key[1] = CommonMotions.cnvInt(objRec[1]);
+                    Key[2] = CommonMotions.cnvInt(objRec[2]);
+                    Key[3] = CommonMotions.cnvInt(objRec[3]);
+                    strSQL.Append(LedgerExcuteDB.CreatePrimarykeyString(Key[0], Key[1], Key[2], Key[3]));
+
+                    if (!LedgerExcuteDB.SelectAction(strSQL.ToString(), ref UpRec, false))
+                    {
+                        LedgerExcuteDB.rollback();
+                        MessageBox.Show("èª­è¾¼å‡¦ç�†ã‚¨ãƒ©ãƒ¼");
+                        return;
+                    }
+                    UpRec.ColumnCount = CommonMotions.cnvInt(objRec[6]);
+                    if(!LedgerExcuteDB.UpdateAction(strSQL.ToString(),UpRec, false))
+                    {
+                        LedgerExcuteDB.rollback();
+                        MessageBox.Show("æ›´æ–°å‡¦ç�†ã‚¨ãƒ©ãƒ¼");
+                        return;
+                    }
+                }
+
+                LedgerExcuteDB.commit();
+
+                MessageBox.Show("å‡¦ç�†çµ‚äº†");
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+                CostDB.rollback();
+                LedgerDB.rollback();
+                LedgerDetailDB.rollback();
+                LedgerExcuteDB.rollback();
+            }
+        }
+        #endregion
     }
 }
Index: branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmSubconstractorDiag.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmSubconstractorDiag.cs	(revision 316)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmSubconstractorDiag.cs	(revision 317)
@@ -856,7 +856,7 @@
                 List<InputSearchLogData> isdList = new List<InputSearchLogData>();
                 // SQLä½œæˆ�å¢—æ¸›å·¥äº‹ã‚’å�«ã‚€å±¥æ­´ã‚’è¡¨ç¤ºã�™ã‚‹
                 StringBuilder strSQL = new StringBuilder();
-                strSQL.AppendFormat(" Where  TRUNCATE((ConstructionCode / 100), 0) = {0}", CommonMotions.cnvTruncate(ConstructionCode / 100));
+                strSQL.AppendFormat(" Where TRUNCATE((ConstructionCode / 100), 0) = {0}", CommonMotions.cnvTruncate(m_ConstructionCode / 100));
                 strSQL.AppendFormat(" And UsedProcessNo = {0}", m_UsedProcessNo);
 
                 strSQL.Append(" Group By Inputcode");
Index: branches/src/ProcessManagement/ProcessManagement/ProcessManage.xlsx
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: branches/src/ProcessManagement/ProcessManagement/Properties/AssemblyInfo.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Properties/AssemblyInfo.cs	(revision 316)
+++ branches/src/ProcessManagement/ProcessManagement/Properties/AssemblyInfo.cs	(revision 317)
@@ -32,7 +32,7 @@
 // ã�™ã�¹ã�¦ã�®å€¤ã‚’æŒ‡å®šã�™ã‚‹ã�‹ã€�ä¸‹ã�®ã‚ˆã�†ã�« '*' ã‚’ä½¿ã�£ã�¦ãƒ“ãƒ«ãƒ‰ã�Šã‚ˆã�³ãƒªãƒ“ã‚¸ãƒ§ãƒ³ç•ªå�·ã‚’ 
 // æ—¢å®šå€¤ã�«ã�™ã‚‹ã�“ã�¨ã�Œã�§ã��ã�¾ã�™:
 // [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.1.37")]
-[assembly: AssemblyFileVersion("1.0.1.37")]
+[assembly: AssemblyVersion("1.0.1.39")]
+[assembly: AssemblyFileVersion("1.0.1.39")]
 // Log4netã‚’ä½¿ç”¨ã�™ã‚‹
 [assembly: log4net.Config.XmlConfigurator(ConfigFile = @"log4net.config", Watch = true)]
\ No newline at end of file
