Index: branches/src/ProcessManagement/ProcessManagement/Common/CommonVersion.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Common/CommonVersion.cs	(revision 328)
+++ branches/src/ProcessManagement/ProcessManagement/Common/CommonVersion.cs	(revision 329)
@@ -14,7 +14,7 @@
         /// <summary>
         /// æœ¬ä½“ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³
         /// </summary>
-        public static int s_SystemVersion = 153;
+        public static int s_SystemVersion = 154;
 
         /// <summary>
         /// ã‚³ãƒ”ãƒ¼ãƒ»ç’°å¢ƒãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³
Index: branches/src/ProcessManagement/ProcessManagement/Common/Process/ClsExcute.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Common/Process/ClsExcute.cs	(revision 328)
+++ branches/src/ProcessManagement/ProcessManagement/Common/Process/ClsExcute.cs	(revision 329)
@@ -83,12 +83,13 @@
             SubConstrRegist = 36,               // 36:å�”åŠ›ä¼šç¤¾ç™»éŒ²ç”³è«‹
             PriceOfBudget = 37,                 // 37:å�°å¸³çŠ¶æ³�ç¢ºèª�ç”»é�¢
             MaterialEntrylList = 38,            // 38:è³‡æ��é�¸æŠžä¸€è¦§
-            BillingEntrylList = 39,             // 39:è«‹æ±‚é�¸æŠžä¸€è¦§
+            RequestInputlList = 39,             // 39:è«‹æ±‚é�¸æŠžä¸€è¦§
             PurchaseStatusInput = 40,           // 40:æ³¨æ–‡æ›¸çŠ¶æ³�å…¥åŠ›
             ReqBillingStatus = 41,              // 41:è«‹æ±‚æ›¸ç™ºçµ¦ä¸€è¦§
             ReqBillingStatInput = 42,           // 42:è«‹æ±‚æ›¸çŠ¶æ³�å…¥åŠ›
             SafetyPatrol = 43,                  // 43:å®‰å…¨ãƒ‘ãƒˆãƒ­ãƒ¼ãƒ«ç”³è«‹
             ReqSumTotalList = 44,               // 44:æ‰‹é–“ãƒ»é€šå¸¸æ¥­è€…ä¸€è¦§
+            RequestPrintList = 45,              // 45:è«‹æ±‚æ›¸å�°åˆ·ä¸€è¦§
         }
         #endregion
 
@@ -186,7 +187,7 @@
                                                                                 { (int)ProcessExecuteNo.MaterialSelect,         "è³‡æ��é�¸æŠžï¼�å…¥åŠ›"},
                                                                                 { (int)ProcessExecuteNo.RequestSummaryList,     "è«‹æ±‚ã�¾ã�¨ã‚�ï¼�å…¥åŠ›"},
                                                                                 { (int)ProcessExecuteNo.PaymentConfirmation,    "å…¥é‡‘ç¢ºèª�ï¼�å…¥åŠ›"},
-                                                                                { (int)ProcessExecuteNo.RequestInput,           "è«‹æ±‚ãƒ‡ãƒ¼ã‚¿ä½œæˆ�ï¼�å…¥åŠ›"},
+                                                                                { (int)ProcessExecuteNo.RequestInput,           "è«‹æ±‚ä½œæˆ�ãƒ‡ãƒ¼ã‚¿ï¼�å…¥åŠ›"},
                                                                                 { (int)ProcessExecuteNo.RequestPrint,           "è«‹æ±‚æ›¸ï¼�å�°åˆ·"},
                                                                                 { (int)ProcessExecuteNo.CostomerRegistList,     "ç™ºæ³¨è€…ç™»éŒ²ç”³è«‹ä¸€è¦§ï¼�è¡¨ç¤º"},
                                                                                 { (int)ProcessExecuteNo.CostomerRegist,         "ç™ºæ³¨è€…ç™»éŒ²ç”³è«‹ï¼�å…¥åŠ›"},
@@ -194,12 +195,14 @@
                                                                                 { (int)ProcessExecuteNo.SubConstrRegist,        "å�”åŠ›ä¼šç¤¾ç™»éŒ²ç”³è«‹ï¼�å…¥åŠ›"},
                                                                                 { (int)ProcessExecuteNo.PriceOfBudget,          "å·¥äº‹å�°å¸³çŠ¶æ…‹ç¢ºèª�ï¼�è¡¨ç¤º"},
                                                                                 { (int)ProcessExecuteNo.MaterialEntrylList,     "è³‡æ��ãƒ‡ãƒ¼ã‚¿ä¸€è¦§ï¼�è¡¨ç¤º"},
-                                                                                { (int)ProcessExecuteNo.BillingEntrylList,      "è«‹æ±‚ãƒ‡ãƒ¼ã‚¿ä¸€è¦§ï¼�è¡¨ç¤º"},
+                                                                                { (int)ProcessExecuteNo.RequestInputlList,      "è«‹æ±‚ä½œæˆ�ä¸€è¦§ï¼�è¡¨ç¤º"},
                                                                                 { (int)ProcessExecuteNo.PurchaseStatusInput,    "æ³¨æ–‡æ›¸çŠ¶æ³�ï¼�å…¥åŠ›"},
                                                                                 { (int)ProcessExecuteNo.ReqBillingStatus,       "è«‹æ±‚æ›¸ç™ºçµ¦ä¸€è¦§ï¼�è¡¨ç¤º"},
                                                                                 { (int)ProcessExecuteNo.ReqBillingStatInput,    "è«‹æ±‚æ›¸çŠ¶æ³�ï¼�å…¥åŠ›"},
                                                                                 { (int)ProcessExecuteNo.SafetyPatrol,           "å®‰å…¨ãƒ‘ãƒˆãƒ­ãƒ¼ãƒ«ç”³è«‹"},
                                                                                 { (int)ProcessExecuteNo.ReqSumTotalList,        "æ‰‹é–“ãƒ»é€šå¸¸æ¥­è€…ä¸€è¦§ï¼�è¡¨ç¤º"},
+                                                                                { (int)ProcessExecuteNo.RequestPrintList,       "è«‹æ±‚æ›¸å�°åˆ·ä¸€è¦§ï¼�è¡¨ç¤º"},
+
         };
 
         #endregion
@@ -655,8 +658,8 @@
                             ProcessExecuteNo_MaterialEntrylList(m_ProcControlPara[NowPoint]);
                             break;
 
-                        case (int)ProcessExecuteNo.BillingEntrylList:                   // 39:è«‹æ±‚é�¸æŠžä¸€è¦§
-                            ProcessExecuteNo_BillingEntrylList(m_ProcControlPara[NowPoint]);
+                        case (int)ProcessExecuteNo.RequestInputlList:                   // 39:è«‹æ±‚é�¸æŠžä¸€è¦§
+                            ProcessExecuteNo_RequestInputlList(m_ProcControlPara[NowPoint]);
                             break;
 
                         case (int)ProcessExecuteNo.PurchaseStatusInput:                 // 40:æ³¨æ–‡æ›¸çŠ¶æ³�æ—¥ä»˜å…¥åŠ›
@@ -677,6 +680,11 @@
 
                         case (int)ProcessExecuteNo.ReqSumTotalList:                     // 44:æ‰‹é–“ãƒ»é€šå¸¸æ¥­è€…ä¸€è¦§
                             break;
+
+                        case (int)ProcessExecuteNo.RequestPrintList:                    // 45:è«‹æ±‚æ›¸å�°åˆ·ä¸€è¦§
+                            ProcessExecuteNo_RequestPrintList(m_ProcControlPara[NowPoint]);
+                            break;
+
                         #endregion
 
                         #region ãƒžã‚¹ã‚¿ãƒ¡ãƒ³ãƒ†
@@ -2279,11 +2287,11 @@
         /// <param name="CurrentPara"></param>
         public static void ProcessExecuteNo_RequestPrint(ProcessParameter CurrentPara)
         {
-            //ã€€å…¥é‡‘ç¢ºèª�
-            FrmEntryReqSelOrderer frm = new FrmEntryReqSelOrderer();
+            //ã€€è«‹æ±‚æ›¸ä½œæˆ�
+            FrmRequestPrintSel frm = new FrmRequestPrintSel();
             try
             {
-                int ProcessNo = (int)ProcessExecuteNo.PaymentConfirmation;
+                int ProcessNo = (int)ProcessExecuteNo.RequestPrint;
 
                 // èµ·å‹•ãƒ»ç·¨é›†ãƒ•ãƒ©ã‚°
                 int EditFlg = (int)CommonDefine.ProcessDataEdit.Reference;
@@ -2293,6 +2301,16 @@
                     return;
                 }
 
+                // æ¬¡èµ·å‹•ãƒ—ãƒ­ã‚»ã‚¹ã‚»ãƒƒãƒˆ
+                frm.ExecuteFlg = CurrentPara.IntExecParameter[0];
+                frm.ExecuteSubFlg = CurrentPara.IntExecParameter[1];
+
+                frm.EditFlg = true;
+                frm.RequestMonth = CurrentPara.IntExecParameter[2];
+                frm.OrderersDivision = CurrentPara.IntExecParameter[3];
+                frm.OrderersCode = CurrentPara.IntExecParameter[4];
+                frm.OrderersName = CurrentPara.StringExecParameter[0];
+
                 // ãƒ•ã‚©ãƒ¼ãƒ è¡¨ç¤º
                 frm.ShowDialog();
             }
@@ -2503,15 +2521,15 @@
         }
         #endregion
 
-        #region è«‹æ±‚é�¸æŠžä¸€è¦§
+        #region è«‹æ±‚å…¥åŠ›é�¸æŠžä¸€è¦§
         /// <summary>
-        /// è«‹æ±‚é�¸æŠžä¸€è¦§
+        /// è«‹æ±‚å…¥åŠ›é�¸æŠžä¸€è¦§
         /// </summary>
         /// <returns></returns>
-        public static void ProcessExecuteNo_BillingEntrylList(ProcessParameter CurrentPara)
+        public static void ProcessExecuteNo_RequestInputlList(ProcessParameter CurrentPara)
         {
-            //ã€€è«‹æ±‚é�¸æŠžä¸€è¦§
-            FrmConstrReqList frm = new FrmConstrReqList();
+            //ã€€è«‹æ±‚å…¥åŠ›é�¸æŠžä¸€è¦§
+            FrmReqInputList frm = new FrmReqInputList();
             try
             {
                 // æ¬¡èµ·å‹•ãƒ—ãƒ­ã‚»ã‚¹ã�Œè¨­å®šã�•ã‚Œã�¦ã�„ã�ªã�„å ´å�ˆã�¯çµ‚äº†
@@ -2670,7 +2688,46 @@
         }
         #endregion
 
+        #region è«‹æ±‚å�°åˆ·é�¸æŠžä¸€è¦§
+        /// <summary>
+        /// è«‹æ±‚å�°åˆ·é�¸æŠžä¸€è¦§
+        /// </summary>
+        /// <param name="CurrentPara"></param>
+        public static void ProcessExecuteNo_RequestPrintList(ProcessParameter CurrentPara)
+        {
+            //ã€€è«‹æ±‚å�°åˆ·é�¸æŠžä¸€è¦§
+            //FrmEntryReqSelOrderer frm = new FrmEntryReqSelOrderer();
+            FrmReqEntryList frm = new FrmReqEntryList();
+            try
+            {
+                // æ¬¡èµ·å‹•ãƒ—ãƒ­ã‚»ã‚¹ã�Œè¨­å®šã�•ã‚Œã�¦ã�„ã�ªã�„å ´å�ˆã�¯çµ‚äº†
+                if (CurrentPara.IntExecParameter[0] == 0)
+                {
+                    // å‰�ãƒ—ãƒ­ã‚»ã‚¹ã�«æˆ»ã‚‹
+                    BackProcess();
+                    return;
+                }
+
+                // æ¬¡èµ·å‹•ãƒ—ãƒ­ã‚»ã‚¹ã‚»ãƒƒãƒˆ
+                frm.ExecuteFlg = CurrentPara.IntExecParameter[0];
+                frm.ExecuteSubFlg = CurrentPara.IntExecParameter[1];
+
+                // ãƒ•ã‚©ãƒ¼ãƒ è¡¨ç¤º
+                frm.ShowDialog();
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+                BackProcess();
+            }
+            finally
+            {
+                frm.Dispose(); frm = null;
+            }
+        }
         #endregion
+        #endregion
 
         #region ãƒžã‚¹ã‚¿ãƒ¡ãƒ³ãƒ†ãƒŠãƒ³ã‚¹
         // ----------------- ãƒ¡ãƒ³ãƒ†ãƒŠãƒ³ã‚¹èµ·å‹•
Index: branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOMOrderers.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOMOrderers.cs	(revision 328)
+++ branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOMOrderers.cs	(revision 329)
@@ -543,36 +543,5 @@
             return iRet;
         }
         #endregion
-
-        #region æŒ‡å®šãƒ¬ã‚³ãƒ¼ãƒ‰ã�®è¡¨ç¤ºé †ã‚’æ›´æ–°ã�™ã‚‹
-        /// <summary>
-        /// æŒ‡å®šãƒ¬ã‚³ãƒ¼ãƒ‰ã�®è¡¨ç¤ºé †ã‚’æ›´æ–°ã�™ã‚‹
-        /// </summary>
-        /// <param name="AddSQLString"></param>
-        /// <param name="bConnect"></param>
-        /// <returns></returns>
-        public bool SetDisplayOrder(string AddSQLString, bool bConnect = true)
-        {
-            // ã‚¤ãƒ³ã‚¿ãƒ¼ãƒ•ã‚§ãƒ¼ã‚¹
-            StringBuilder strcmd = new StringBuilder();
-            ArrayList arData = new ArrayList();
-            try
-            {
-                // SQLä½œæˆ�
-                strcmd.Append("UPDATE ORDERERSMASTER SET DisplayOrder = ROWNUM");
-                strcmd.Append(AddSQLString);
-
-                // SQLå®Ÿè¡Œ
-                if (!ExecuteNonQuery(strcmd.ToString(), bConnect)) return false;
-
-                return true;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}ï¼š{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd.ToString());
-                return false;
-            }
-        }
-        #endregion
     }
 }
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBudget/FrmConstructionBudget.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBudget/FrmConstructionBudget.cs	(revision 328)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBudget/FrmConstructionBudget.cs	(revision 329)
@@ -1101,7 +1101,7 @@
                     if (CommonMotions.chkObjectIsNull(dgv.Rows[c.RowIndex].Cells[c.ColumnIndex])) continue;
                     if (CommonMotions.chkCellBlank(dgv.Rows[c.RowIndex].Cells[c.ColumnIndex].Value)) continue;
 
-                    Console.WriteLine("{0}, {1}", c.ColumnIndex, c.RowIndex);
+                    //Console.WriteLine("{0}, {1}", c.ColumnIndex, c.RowIndex);
                     DataCnt++;
                     dTotal += CommonMotions.cnvDouble(dgv.Rows[c.RowIndex].Cells[c.ColumnIndex].Value);
                     if (CommonMotions.chkNumeric(dgv.Rows[c.RowIndex].Cells[c.ColumnIndex].Value)) NumericCnt++;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedgerAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedgerAuxiliary.cs	(revision 328)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedgerAuxiliary.cs	(revision 329)
@@ -4692,10 +4692,7 @@
 
                     // ç©ºç™½è¡Œã�¯å‡¦ç�†ã�—ã�ªã�„
                     if (BlankLine(wrkRow.Index)) continue;
-                    if (wrkRow.Index == 40)
-                    {
-                        Console.WriteLine("Debug");
-                    }
+
                     DataGridViewTextBoxCell workCell = null;
                     // é …ç›®å��ç§°ãƒ¬ãƒ³ã‚°ã‚¹ãƒ�ã‚§ãƒƒã‚¯
                     workCell = (DataGridViewTextBoxCell)wrkRow.Cells[(int)GridColumn.ItemName];
@@ -7826,7 +7823,7 @@
                 DataGridViewRow SelectRow = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[(int)GridColumn.CompanyCode].Value) == m_ReqSumCompany
                                                                                 && CommonMotions.cnvInt(x.Cells[(int)GridColumn.DetailNo].Value) == m_TargetDetailNo)
                                                                             .First();
-                SelectRow.Cells[m_TargetColumn].Value = m_AddingRequestPrice.ToString("0,0");
+                SelectRow.Cells[m_TargetColumn].Value = m_AddingRequestPrice.ToString("#,0");
 
                 // å†�è¨ˆç®—å‡¦ç�†
                 RowReCalculate(SelectRow, SelectRow.Index, m_TargetColumn);
@@ -8143,7 +8140,7 @@
                     DataGridViewRow SelectRow = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[(int)GridColumn.CompanyCode].Value) == DataCurRec.CompanyCode
                                                                                     && CommonMotions.cnvInt(x.Cells[(int)GridColumn.DetailNo].Value) == DataCurRec.ConstructionRowCnt)
                                                                                 .First();
-                    SelectRow.Cells[nSetColumn].Value = DataCurRec.BillPrice.ToString("0,0");
+                    SelectRow.Cells[nSetColumn].Value = DataCurRec.BillPrice.ToString("#,0");
                 }
             }
             catch (System.Exception ex)
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedgerList/FrmConstructionLedgerList.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedgerList/FrmConstructionLedgerList.cs	(revision 328)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedgerList/FrmConstructionLedgerList.cs	(revision 329)
@@ -713,7 +713,7 @@
                     if (CommonMotions.chkObjectIsNull(dgv.Rows[c.RowIndex].Cells[c.ColumnIndex])) continue;
                     if (CommonMotions.chkCellBlank(dgv.Rows[c.RowIndex].Cells[c.ColumnIndex].Value)) continue;
 
-                    Console.WriteLine("{0}, {1}", c.ColumnIndex, c.RowIndex);
+                    //Console.WriteLine("{0}, {1}", c.ColumnIndex, c.RowIndex);
                     DataCnt++;
                     dTotal += CommonMotions.cnvDouble(dgv.Rows[c.RowIndex].Cells[c.ColumnIndex].Value);
                     if (CommonMotions.chkNumeric(dgv.Rows[c.RowIndex].Cells[c.ColumnIndex].Value)) NumericCnt++;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DepExpenssList/FrmDepExpenssList.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DepExpenssList/FrmDepExpenssList.cs	(revision 328)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DepExpenssList/FrmDepExpenssList.cs	(revision 329)
@@ -426,7 +426,7 @@
                     if (CommonMotions.chkObjectIsNull(dgv.Rows[c.RowIndex].Cells[c.ColumnIndex])) continue;
                     if (CommonMotions.chkCellBlank(dgv.Rows[c.RowIndex].Cells[c.ColumnIndex].Value)) continue;
 
-                    Console.WriteLine("{0}, {1}", c.ColumnIndex, c.RowIndex);
+                    //Console.WriteLine("{0}, {1}", c.ColumnIndex, c.RowIndex);
                     DataCnt++;
                     dTotal += CommonMotions.cnvDouble(dgv.Rows[c.RowIndex].Cells[c.ColumnIndex].Value);
                     if (CommonMotions.chkNumeric(dgv.Rows[c.RowIndex].Cells[c.ColumnIndex].Value)) NumericCnt++;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateBudget/FrmEstimateBudget.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateBudget/FrmEstimateBudget.cs	(revision 328)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateBudget/FrmEstimateBudget.cs	(revision 329)
@@ -742,7 +742,7 @@
                     if (CommonMotions.chkObjectIsNull(dgv.Rows[c.RowIndex].Cells[c.ColumnIndex])) continue;
                     if (CommonMotions.chkCellBlank(dgv.Rows[c.RowIndex].Cells[c.ColumnIndex].Value)) continue;
 
-                    Console.WriteLine("{0}, {1}", c.ColumnIndex, c.RowIndex);
+                    //Console.WriteLine("{0}, {1}", c.ColumnIndex, c.RowIndex);
                     DataCnt++;
                     dTotal += CommonMotions.cnvDouble(dgv.Rows[c.RowIndex].Cells[c.ColumnIndex].Value);
                     if (CommonMotions.chkNumeric(dgv.Rows[c.RowIndex].Cells[c.ColumnIndex].Value)) NumericCnt++;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PriceOfBudget/FrmPriceOfBudget.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PriceOfBudget/FrmPriceOfBudget.cs	(revision 328)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PriceOfBudget/FrmPriceOfBudget.cs	(revision 329)
@@ -328,7 +328,7 @@
                     if (CommonMotions.chkObjectIsNull(dgv.Rows[c.RowIndex].Cells[c.ColumnIndex])) continue;
                     if (CommonMotions.chkCellBlank(dgv.Rows[c.RowIndex].Cells[c.ColumnIndex].Value)) continue;
 
-                    Console.WriteLine("{0}, {1}", c.ColumnIndex, c.RowIndex);
+                    //Console.WriteLine("{0}, {1}", c.ColumnIndex, c.RowIndex);
                     DataCnt++;
                     dTotal += CommonMotions.cnvDouble(dgv.Rows[c.RowIndex].Cells[c.ColumnIndex].Value);
                     if (CommonMotions.chkNumeric(dgv.Rows[c.RowIndex].Cells[c.ColumnIndex].Value)) NumericCnt++;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/FrmPOConvert.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/FrmPOConvert.cs	(revision 328)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/FrmPOConvert.cs	(revision 329)
@@ -170,7 +170,7 @@
                 List<ConstructionLedgerDetail> DetailList = new List<ConstructionLedgerDetail>();
                 LedgerDDB.SelectAction(strSQL.ToString(), ref DetailList, false);
                 if (DetailList.Count < 1) return false;
-                lblCount01.Text = DetailList.Count.ToString("0,0");
+                lblCount01.Text = DetailList.Count.ToString("#,0");
                 this.Refresh();
 
                 int nDcnt = 0;
@@ -197,7 +197,7 @@
                     nDcnt++;
                     nAllcnt++;
                 }
-                lblCount02.Text = nAllcnt.ToString("0,0");
+                lblCount02.Text = nAllcnt.ToString("#,0");
                 this.Refresh();
 
                 strSQL.Clear();
@@ -233,7 +233,7 @@
                     OrederCnt++;
                 }
 
-                lblCount03.Text = OrederCnt.ToString("0,0");
+                lblCount03.Text = OrederCnt.ToString("#,0");
                 this.Refresh();
 
                 return true;
@@ -277,7 +277,7 @@
                     nCnt++;
                 }
 
-                lblCount04.Text = nCnt.ToString("0,0");
+                lblCount04.Text = nCnt.ToString("#,0");
                 this.Refresh();
 
                 strSQL.Clear();
@@ -301,7 +301,7 @@
                     }
                     nCnt++;
                 }
-                lblCount05.Text = nCnt.ToString("0,0");
+                lblCount05.Text = nCnt.ToString("#,0");
                 this.Refresh();
 
 
@@ -326,7 +326,7 @@
                     }
                     nCnt++;
                 }
-                lblCount06.Text = nCnt.ToString("0,0");
+                lblCount06.Text = nCnt.ToString("#,0");
                 this.Refresh();
 
                 return true;
@@ -392,7 +392,7 @@
                     }
                     nCnt++;
                 }
-                lblCount04.Text = nCnt.ToString("0,0");
+                lblCount04.Text = nCnt.ToString("#,0");
                 this.Refresh();
 
                 strSQL.Clear();
@@ -442,7 +442,7 @@
                 }
 
 
-                lblCount05.Text = nCnt.ToString("0,0");
+                lblCount05.Text = nCnt.ToString("#,0");
                 this.Refresh();
 
                 return true;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ReqBillingStatInput/FrmBillingStatInputAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ReqBillingStatInput/FrmBillingStatInputAuxiliary.cs	(revision 328)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ReqBillingStatInput/FrmBillingStatInputAuxiliary.cs	(revision 329)
@@ -171,7 +171,7 @@
                     dgv.Rows.Add(ino++,
                                     CommonMotions.cnvInt(objRec[InvoiceCnt + (int)IORequestHead.NameColumn.RequestNo]),
                                     CommonMotions.cnvString(objRec[InvoiceCnt + (int)IORequestHead.NameColumn.ReqConstructionName]),
-                                    (TotalVal - TaxVal).ToString("0,0"),
+                                    (TotalVal - TaxVal).ToString("#,0"),
                                     CommonMotions.cnvDate(objRec[InvoiceCnt + ReqHeadCnt + (int)IOProcessApproval.ColumnName.PetitionApprovalDate]).ToShortDateString(),
                                     CommonMotions.cnvInt(objRec[InvoiceCnt + (int)IORequestHead.NameColumn.ReqConstructionCode])
                         );
@@ -205,7 +205,7 @@
                 lblLabel03.Text = string.Format("{0}/{1}", CalYear, CalMonth.ToString("00"));
                 lblLabel04.Text = HeaderRec.CretateDate.ToShortDateString();
                 lblLabel05.Text = HeaderRec.RequestDate.ToShortDateString();
-                lblLabel06.Text = (HeaderRec.TotalAmount - HeaderRec.TaxAmount).ToString("0,0");
+                lblLabel06.Text = (HeaderRec.TotalAmount - HeaderRec.TaxAmount).ToString("#,0");
 
                 textBox1.Text = "";
                 if (dtSend.Date == DateTime.MinValue) return;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ReqbillingStatus/FrmReqBillingStatus.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ReqbillingStatus/FrmReqBillingStatus.cs	(revision 328)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ReqbillingStatus/FrmReqBillingStatus.cs	(revision 329)
@@ -415,7 +415,7 @@
                     if (CommonMotions.chkObjectIsNull(dgv.Rows[c.RowIndex].Cells[c.ColumnIndex])) continue;
                     if (CommonMotions.chkCellBlank(dgv.Rows[c.RowIndex].Cells[c.ColumnIndex].Value)) continue;
 
-                    Console.WriteLine("{0}, {1}", c.ColumnIndex, c.RowIndex);
+                    //Console.WriteLine("{0}, {1}", c.ColumnIndex, c.RowIndex);
                     DataCnt++;
                     dTotal += CommonMotions.cnvDouble(dgv.Rows[c.RowIndex].Cells[c.ColumnIndex].Value);
                     if (CommonMotions.chkNumeric(dgv.Rows[c.RowIndex].Cells[c.ColumnIndex].Value)) NumericCnt++;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ReqbillingStatus/FrmReqBillingStatusAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ReqbillingStatus/FrmReqBillingStatusAuxiliary.cs	(revision 328)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ReqbillingStatus/FrmReqBillingStatusAuxiliary.cs	(revision 329)
@@ -446,7 +446,7 @@
                                         , CommonMotions.cnvString(objwrk[(int)GetData.PERSONNAME])
                                         , strOrderName
                                         , strConstrName
-                                        , CommonMotions.cnvInt(objwrk[(int)GetData.REQUESTAMOUNT]).ToString("0,0")
+                                        , CommonMotions.cnvInt(objwrk[(int)GetData.REQUESTAMOUNT]).ToString("#,0")
                                         , CommonMotions.cnvInt(objwrk[(int)GetData.MAINCONSTRUCTIONCODE])
                                         , DspDate[0]
                                         , DspDate[1]
@@ -498,7 +498,7 @@
                                     , ""
                                     , strOrderName
                                     , ""
-                                    , CommonMotions.cnvInt(objwrk[(int)GetData.TOTALAMOUNT]).ToString("0,0")
+                                    , CommonMotions.cnvInt(objwrk[(int)GetData.TOTALAMOUNT]).ToString("#,0")
                                     , CommonMotions.cnvInt(objwrk[(int)GetData.MAINCONSTRUCTIONCODE])
                                     , ""
                                     , DspDate[1]
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/ConstrReqList/FrmConstrReqListAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/ConstrReqList/FrmConstrReqListAuxiliary.cs	(revision 328)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/ConstrReqList/FrmConstrReqListAuxiliary.cs	(nonexistent)
@@ -1,1084 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
-using System.Drawing;
-using System.Linq;
-using System.Text;
-using System.Windows.Forms;
-using System.Collections;
-using System.Diagnostics;
-using System.Threading;
-
-using log4net;
-using log4net.Appender;
-using log4net.Repository.Hierarchy;
-
-using ProcessManagement.Common;
-using ProcessManagement.DB.IOAccess;
-using ProcessManagement.DataModel;
-using ProcessManagement.DB.Core;
-using ProcessManagement.Forms.CustomControls;
-using ProcessManagement.Forms.ControlsAction;
-using ProcessManagement.Forms.SubForms;
-
-namespace ProcessManagement.Forms.DataEntry
-{
-    partial class FrmConstrReqList
-    {
-        #region ’è�”
-       
-        #region Žæ“¾—ñ’è‹`
-        /// <summary>
-        /// Žæ“¾—ñ’è‹`
-        /// </summary>
-        private enum GetData
-        {
-            ConstructionCode,
-            ConstructionPeriod,
-            ConstructionName,
-            ConstructionStatusFlg,
-            SalesCode,
-            SalesName,
-            SalesDepCode,
-            SalesDepName,
-            SalesManDispOrder,
-            SalesDepDispOrder,
-            ConstCode,
-            ConstName,
-            ConstDepCode,
-            ConstDepName,
-            ConstManDispOrder,
-            ConstDepDispOrder,
-            MainConstructionCode,
-        }
-        #endregion
-
-        #endregion
-
-        #region •Ï�”
-        #endregion
-
-        #region ƒvƒ�ƒpƒeƒB
-        #endregion
-
-        #region ŽŸƒvƒ�ƒZƒX‹N“®
-        /// <summary>
-        /// �HŽ–ˆê——‚æ‚è‹N“®‚·‚éƒvƒ�ƒZƒX‘I‘ð�ˆ—�
-        /// </summary>
-        /// <param name="para_ConstructionCode"></param>
-        private void SubProcessExecute(int para_ConstructionCode = 0, int para_OrderNo = 0)
-        {
-            try
-            {
-                DataGridView dgv = dgvEntry;
-
-                int NowPoint = ClsExcute.GetNowProcessPoint();
-                // Œ»�Ý�Ý’è’lƒNƒŠƒA
-                ClsExcute.ClearSaveParameter(NowPoint);
-                // ----- ‰æ–Ê�î•ñ‘Þ”ð
-                // ŒŸ�õ”N
-                ClsExcute.ProcControlPara[NowPoint].StringSaveParameter.Add(numUDConstPro.Value.ToString());
-                // ’S“–ŽÒ‘I‘ð‹æ•ª‘Þ”ð
-                if (radioButton2.Checked) ClsExcute.ProcControlPara[NowPoint].BoolSaveParameter.Add(true);
-                // ŒŸ�õ•”��
-                ClsExcute.ProcControlPara[NowPoint].IntSaveParameter.Add(CommonMotions.cnvInt(cmbDepartment.SelectedValue));
-                // ŒŸ�õ’S“–ŽÒ
-                ClsExcute.ProcControlPara[NowPoint].IntSaveParameter.Add(CommonMotions.cnvInt(cmbConstructionPerson.SelectedValue));
-
-                // •\Ž¦�æ“ª�s
-                ClsExcute.ProcControlPara[NowPoint].IntSaveParameter.Add(dgv.FirstDisplayedScrollingRowIndex);
-
-                // Œ»�Ý“ª�s
-                ClsExcute.ProcControlPara[NowPoint].IntSaveParameter.Add(dgv.CurrentRow.Index);
-
-                // ƒ\�[ƒg�ó‘Ô
-                if (dgv.SortedColumn != null)
-                {
-                    ClsExcute.ProcControlPara[NowPoint].IntSaveParameter.Add((int)dgv.SortedColumn.Index);
-                    ClsExcute.ProcControlPara[NowPoint].IntSaveParameter.Add((int)dgv.SortOrder);
-                }
-
-                // ŽŸ‹N“®ƒvƒ�ƒZƒXƒZƒbƒg
-                NowPoint = ClsExcute.NextProcess(m_ExecuteFlg);
-                // ‘I‘ð�HŽ–”Ô�†ƒZƒbƒg
-                ClsExcute.ProcControlPara[NowPoint].IntExecParameter.Add(para_ConstructionCode);
-                // Žó•t”Ô�†ƒZƒbƒg
-                ClsExcute.ProcControlPara[NowPoint].IntExecParameter.Add(para_OrderNo);
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-            finally
-            {
-                // ƒNƒ��[ƒY�ˆ—�‚ðOFF‚É‚·‚é�B
-                m_CloseingProcessOff = true;
-                // ‰æ–ÊƒNƒ��[ƒY
-                this.Close();
-            }
-        }
-        #endregion
-
-        #region ŒŸ�õSQL‚ÌƒZƒLƒ…ƒŠƒeƒB”»’è•”•ª‚ð�ì�¬‚·‚é
-        /// <summary>
-        /// ŒŸ�õSQL‚ÌƒZƒLƒ…ƒŠƒeƒB”»’è•”•ª‚ð�ì�¬‚·‚é
-        /// </summary>
-        /// <param name="strSQL"></param>
-        private void CreateSecuritySQL(ref StringBuilder strSQL)
-        {
-            try
-            {
-                // ƒL�[’lŽæ“¾
-                int AllPath = (int)CommonDefine.SecurityRangePos.AllPath;           // ‘S•”��
-                int Multiple = (int)CommonDefine.SecurityRangePos.Multiple;         // •¡�”•”��
-                int Only = (int)CommonDefine.SecurityRangePos.Only;                 // Ž©•”��‚Ì‚Ý
-                int None = (int)CommonDefine.SecurityRangePos.None;                 // Ž©’S“–ŽÒ‚Ì‚Ý
-
-                int iStatus = CommonDefine.ProjectsStatus.First(x => x.Value.Equals("ˆË—ŠŽó‚¯’†")).Key;
-                int iStatus2 = CommonDefine.ProjectsStatus.First(x => x.Value.Equals("•”��ˆøŒp")).Key;
-
-                // ƒf�[ƒ^ƒAƒNƒZƒX‚ÉŒ ŒÀ‚É‚æ‚è�§ŒÀ‚ª‚ ‚é
-                if (CommonMotions.LoginUserData.PersonCode == CommonDefine.AdminCode
-                || CommonMotions.LoginUserSecurity.SecRange == CommonDefine.SecurityRangeList[AllPath].Key)
-                {
-                    // ‚·‚×‚Ä‘Î�Û�i�§ŒÀSQL–³�j
-                }
-                else if (CommonMotions.LoginUserSecurity.SecRange == CommonDefine.SecurityRangeList[Multiple].Key
-                        || CommonMotions.LoginUserSecurity.SecRange == CommonDefine.SecurityRangeList[Only].Key)
-                {
-                    // ˆê•”�§ŒÀ—L
-                    // ‹@–§ŠÇ—�ŽÒ�iŽ©•”��‚Ì‚Ý�j
-
-                    strSQL.Append(" And (A.SalesPersonCode IN (Select A1.PersonCode From PersonInChargeMaster A1");
-                    strSQL.AppendFormat(" Where A1.DepartmentCode IN (SELECT A2.DEPARTMENTCODE FROM PERSONDEPARTMENTMASTER A2 WHERE A2.PERSONCODE = {0}))", CommonMotions.LoginUserData.PersonCode);
-
-                    strSQL.AppendFormat(" Or (A.ConstructionStatusFlg >= {0}", iStatus);
-
-                    strSQL.Append(" And (A.ConstructionPersonCode IN (Select A3.PersonCode From PersonInChargeMaster A3");
-                    strSQL.AppendFormat(" Where A3.DepartmentCode IN (SELECT A4.DEPARTMENTCODE FROM PERSONDEPARTMENTMASTER A4 WHERE A4.PERSONCODE = {0}))", CommonMotions.LoginUserData.PersonCode);
-
-                    strSQL.Append(" Or A.CONSTRSUBPERSONCODE IN (Select A5.PersonCode From PersonInChargeMaster A5");
-                    strSQL.AppendFormat(" Where A5.DepartmentCode IN (SELECT A6.DEPARTMENTCODE FROM PERSONDEPARTMENTMASTER A6 WHERE A6.PERSONCODE = {0}))", CommonMotions.LoginUserData.PersonCode);
-
-                    strSQL.Append(" Or A.ConstructionInstructor IN (Select A7.PersonCode From PersonInChargeMaster A7");
-                    strSQL.AppendFormat(" Where A7.DepartmentCode IN (SELECT A8.DEPARTMENTCODE FROM PERSONDEPARTMENTMASTER A8 WHERE A8.PERSONCODE = {0}))))", CommonMotions.LoginUserData.PersonCode);
-
-                    strSQL.AppendFormat(" Or (A.ConstructionStatusFlg >= {0} And A.ConstructionPersonCode = 0)", iStatus);          // �Š‘®’·‚ÍŒ©�Ï’ñ�oŒã‚Å�HŽ–’S“–ŽÒ‚ª“ü‚Á‚Ä‚¢‚È‚¢�ê�‡•\Ž¦
-                    strSQL.AppendFormat(" Or (A.ConstructionStatusFlg = {0}", iStatus2);                                            // •”��ˆøŒpŽž‚ÍˆøŒp•”��‚Ì‚à‚Ì‚ÍŒ©‚¦‚é
-                    strSQL.AppendFormat(" And A.TransferConstruction = {0}))", CommonMotions.LoginUserData.DepartmentCode);
-                }
-                else if (CommonMotions.LoginUserSecurity.SecRange == CommonDefine.SecurityRangeList[None].Key)
-                {
-                    // ˆê”ÊŽg—pŽÒ
-                    strSQL.AppendFormat(" And (A.SalesPersonCode = {0}", CommonMotions.LoginUserData.PersonCode);
-
-                    strSQL.AppendFormat(" Or (A.ConstructionStatusFlg >= {0}", iStatus);
-
-                    strSQL.AppendFormat(" And (A.ConstructionPersonCode = {0}", CommonMotions.LoginUserData.PersonCode);
-
-                    strSQL.AppendFormat(" Or A.CONSTRSUBPERSONCODE = {0}", CommonMotions.LoginUserData.PersonCode);
-
-                    strSQL.AppendFormat(" Or A.ConstructionInstructor = {0})))", CommonMotions.LoginUserData.PersonCode);
-                }
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", ex.Message, strSQL);
-            }
-        }
-        #endregion
-
-        #region ’S“–ŽÒ‚ª‘I‘ð‚³‚ê‚Ä‚¢‚é�ê�‡
-        /// <summary>
-        /// ’S“–ŽÒ‚ª‘I‘ð‚³‚ê‚Ä‚¢‚é�ê�‡
-        /// </summary>
-        /// <returns></returns>
-        private string GetPersonString()
-        {
-            try
-            {
-                string strRet = string.Empty;
-
-                // ‰c‹Æ’S“–ŽÒ‚ª‘I‘ð‚³‚ê‚Ä‚¢‚é�ê�‡
-                int PersonCode = GetConstructionPersonCode();
-                if (PersonCode == 0) return strRet;
-
-                if (radioButton1.Visible)
-                {
-                    if (radioButton1.Checked)
-                        strRet = string.Format(" AND A.SalesPersonCode = {0}", PersonCode);
-                    else
-                        strRet = string.Format(" AND (A.ConstructionPersonCode = {0} OR A.ConstrSubPersonCode = {0} OR A.ConstructionInstructor = {0})", PersonCode);
-                }
-                return strRet;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                return string.Empty;
-            }
-        }
-        #endregion
-
-        #region •”��‚ª‘I‘ð‚³‚ê‚Ä‚¢‚é�ê�‡
-        /// <summary>
-        /// •”��‚ª‘I‘ð‚³‚ê‚Ä‚¢‚é�ê�‡
-        /// </summary>
-        /// <returns></returns>
-        private string GetDepartmentString()
-        {
-            try
-            {
-                string strRet = string.Empty;
-
-                int DepartmentCode = GetDepartmentCode();
-                if (DepartmentCode == 0) return strRet;
-                    
-                strRet += string.Format(" AND (C.DEPARTMENTCODE = {0} OR D.DEPARTMENTCODE = {0})", DepartmentCode);
-
-                return strRet;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                return string.Empty;
-            }
-        }
-        #endregion
-
-        #region �¿‹�ˆê——SQL�ì�¬
-        /// <summary>
-        /// �¿‹�ˆê——SQL�ì�¬
-        /// </summary>
-        /// <param name="strSQL"></param>
-        private void CreateInitSQL(ref StringBuilder strSQL)
-        {
-            try
-            {
-                int Status1 = CommonDefine.ProjectsStatus.First(x => x.Value.Equals("�¿‹��€”õ")).Key;
-                int Status2 = CommonDefine.ProjectsStatus.First(x => x.Value.Equals("Žó�@�@’�")).Key;
-                int Status3 = CommonDefine.ProjectsStatus.First(x => x.Value.Equals("”ñ Žó ’�")).Key;
-
-                strSQL.Append("SELECT * FROM (");
-                for (int i = 0; i < 2; i++)
-                {
-                    switch (i)
-                    {
-                        case 0:
-                            strSQL.Append("SELECT");
-                            break;
-                        case 1:
-                            strSQL.Append(" UNION SELECT");
-                            break;
-                    }
-
-                    strSQL.Append(" DISTINCT A.CONSTRUCTIONCODE,");
-                    strSQL.Append(" A.CONSTRUCTIONPERIOD,");
-                    strSQL.Append(" B.DETAILSTRING,");
-                    strSQL.Append(" A.CONSTRUCTIONSTATUSFLG,");
-                    strSQL.Append(" C.PERSONCODE AS SALESMANCODE,");
-                    strSQL.Append(" C.PERSONNAME AS SALESMANNAME,");
-                    strSQL.Append(" C.DEPARTMENTCODE AS SALESDEPCODE,");
-                    strSQL.Append(" C.DEPARTMENTNAME AS SALESDEPNAME,");
-                    strSQL.Append(" C.MANDISPORDER AS SALESMANORDER,");
-                    strSQL.Append(" C.DEPDISPORDER AS SALESDEPORDER,");
-                    strSQL.Append(" D.PERSONCODE,");
-                    strSQL.Append(" D.PERSONNAME,");
-                    strSQL.Append(" D.DEPARTMENTCODE,");
-                    strSQL.Append(" D.DEPARTMENTNAME,");
-                    strSQL.Append(" D.MANDISPORDER,");
-                    strSQL.Append(" D.DEPDISPORDER,");
-                    strSQL.Append(" E.MAINCONSTRUCTIONCODE");
-
-                    strSQL.Append(" FROM CONSTRUCTIONBASEINFO A");
-
-                    strSQL.Append(" LEFT JOIN (SELECT CA.CONSTRUCTIONCODE, CA.SALESPERSONCODE PERSONCODE, CB.PERSONNAME PERSONNAME,");
-                    strSQL.Append(" CB.DEPARTMENTCODE DEPARTMENTCODE, CC.DEPARTMENTSTRING DEPARTMENTNAME,");
-                    strSQL.Append(" CB.DISPLAYORDER MANDISPORDER, CC.DISPLAYORDER DEPDISPORDER");
-                    strSQL.Append(" FROM CONSTRUCTIONBASEINFO CA");
-                    strSQL.Append(" LEFT JOIN PERSONINCHARGEMASTER CB ON CA.SALESPERSONCODE = CB.PERSONCODE");
-                    strSQL.Append(" LEFT JOIN DEPARTMENTMASTER CC ON CB.DEPARTMENTCODE = CC.DEPARTMENTCODE");
-                    strSQL.AppendFormat(" WHERE CA.CONSTRUCTIONPERIOD = {0}) C ON A.CONSTRUCTIONCODE = C.CONSTRUCTIONCODE", numUDConstPro.Value);
-
-                    strSQL.Append(" LEFT JOIN (SELECT DA.CONSTRUCTIONCODE, DA.CONSTRUCTIONPERSONCODE PERSONCODE, DB.PERSONNAME PERSONNAME,");
-                    strSQL.Append(" DB.DEPARTMENTCODE DEPARTMENTCODE, DC.DEPARTMENTSTRING DEPARTMENTNAME,");
-                    strSQL.Append(" DB.DISPLAYORDER MANDISPORDER, DC.DISPLAYORDER DEPDISPORDER");
-                    strSQL.Append(" FROM CONSTRUCTIONBASEINFO DA");
-                    strSQL.Append(" LEFT JOIN PERSONINCHARGEMASTER DB ON DA.CONSTRUCTIONPERSONCODE = DB.PERSONCODE");
-                    strSQL.Append(" LEFT JOIN DEPARTMENTMASTER DC ON DB.DEPARTMENTCODE = DC.DEPARTMENTCODE");
-
-                    strSQL.AppendFormat(" WHERE DA.CONSTRUCTIONPERIOD = {0}) D ON A.CONSTRUCTIONCODE = D.CONSTRUCTIONCODE", numUDConstPro.Value);
-                    switch (i)
-                    {
-                        case 0:
-                            strSQL.Append(", CONSTRUCTIONBASEINFODETAIL B");
-                            strSQL.Append(" LEFT JOIN REQUESTDATA E ON E.MAINCONSTRUCTIONCODE = B.CONSTRUCTIONCODE");
-                            break;
-                        case 1:
-                            strSQL.Append(", CONSTRUCTIONBASEINFODETAIL B, REQUESTDATA E");
-                            break;
-                    }
-
-                    strSQL.AppendFormat(" WHERE A.CONSTRUCTIONPERIOD = {0}", numUDConstPro.Value);
-                    strSQL.AppendFormat(" AND A.JOINFLG != {0}", (int)ConstructionBaseInfo.JoinFlgDef.JoinChildren);
-                    strSQL.AppendFormat(" AND A.TYINGFLG != {0}", (int)ConstructionBaseInfo.TyingFlgDef.Tying);
-
-                    strSQL.AppendFormat(" AND A.BILLINGSPLITFLG = {0}", m_ExecuteSubFlg);
-
-                    strSQL.Append(" AND A.CONSTRUCTIONCODE = B.CONSTRUCTIONCODE");
-                    strSQL.AppendFormat(" AND B.DETAILNO = {0}", (int)ConstructionBaseInfoDetail.DataNoDef.ConstructionName);
-
-                    strSQL.AppendFormat(" AND A.CONSTRUCTIONSTATUSFLG != {0}", Status3);
-                    switch (i)
-                    {
-                        case 0:
-                            switch (m_ExecuteSubFlg)
-                            {
-                                case (int)ConstructionBaseInfo.BillingSplitFlgDef.AllOnBilling:
-                                    // �¿‹�ˆêŠ‡“ü—Í
-                                    strSQL.AppendFormat(" AND {0} <= A.CONSTRUCTIONSTATUSFLG", Status1);
-                                    break;
-                                case (int)ConstructionBaseInfo.BillingSplitFlgDef.SplitBilling:
-                                    // �¿‹�•ªŠ„“ü—Í
-                                    strSQL.AppendFormat(" AND {0} <= A.CONSTRUCTIONSTATUSFLG", Status2);
-                                    break;
-                                default:
-                                    break;
-                            }
-                            break;
-                        case 1:
-                            strSQL.Append(" AND E.MAINCONSTRUCTIONCODE = B.CONSTRUCTIONCODE");
-                            break;
-                    }
-
-                    // •”��‚ª‘I‘ð‚³‚ê‚Ä‚¢‚é�ê�‡
-                    strSQL.Append(GetDepartmentString());
-
-                    // ’S“–ŽÒ‚ª‘I‘ð‚³‚ê‚Ä‚¢‚é�ê�‡
-                    strSQL.Append(GetPersonString());
-
-                    // ƒZƒLƒ…ƒŠƒeƒB•¶Žš—ñŽæ“¾
-                    StringBuilder wrkBuff = new StringBuilder();
-                    CreateSecuritySQL(ref wrkBuff);
-                    strSQL.Append(wrkBuff);
-                }
-
-                strSQL.Append(") AS UNI");
-                // ORDER BY ’Ç‰Á
-                strSQL.Append(" ORDER BY 4 ASC, 10 ASC, 9 ASC, 16 ASC, 15 ASC, 1 DESC");
-
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region ƒOƒŠƒbƒh‚Öƒf�[ƒ^‚ðƒZƒbƒg‚·‚é
-        /// <summary>
-        /// ƒOƒŠƒbƒh‚Öƒf�[ƒ^‚ðƒZƒbƒg‚·‚é
-        /// </summary>
-        /// <param name="arData"></param>
-        private void SetToGridData(ArrayList arData)
-        {
-            IOPurchaseOrder OrderDB = new IOPurchaseOrder();
-            try
-            {
-                DataGridView dgv = dgvEntry;
-
-                // ƒf�[ƒ^•\Ž¦
-                int ino = 1;
-                int StatusFlg = -1;
-                bool initFlg = true;
-                string strSalesDepName = string.Empty;
-                string strSalesName = string.Empty;
-                string strConstDepName = string.Empty;
-                string strConstName = string.Empty;
-                string strStatus = string.Empty;
-                string strConstrName = string.Empty;
-                int ConstrCode = 0;
-                int OrderNo = 0;
-                string MarkCode = string.Empty;
-                foreach (object[] objwrk in arData)
-                {
-                    ConstrCode = CommonMotions.cnvInt(objwrk[(int)GetData.ConstructionCode]);
-                    strConstrName = CommonMotions.cnvString(objwrk[(int)GetData.ConstructionName]);
-
-                    MarkCode = string.Empty;
-                    if (CommonMotions.cnvInt(objwrk[(int)GetData.MainConstructionCode]) != 0) MarkCode = "�ì�¬�Ï";
-
-                    // ƒXƒe�[ƒ^ƒXƒtƒ‰ƒO‚ªˆá‚¦‚Î1�sŠJ‚¯‚é
-                    if (StatusFlg != CommonMotions.cnvInt(objwrk[(int)GetData.ConstructionStatusFlg]))
-                    {
-                        StatusFlg = CommonMotions.cnvInt(objwrk[(int)GetData.ConstructionStatusFlg]);
-                        strStatus = CommonDefine.ProjectsStatus[StatusFlg];
-                        if (!initFlg) dgv.Rows.Add(1);
-                        initFlg = false;
-                    }
-
-                    strSalesDepName = CommonMotions.cnvString(objwrk[(int)GetData.SalesDepName]);
-                    strSalesName = CommonMotions.cnvString(objwrk[(int)GetData.SalesName]);
-                    strConstDepName = CommonMotions.cnvString(objwrk[(int)GetData.ConstDepName]);
-                    strConstName = CommonMotions.cnvString(objwrk[(int)GetData.ConstName]);
-
-                    dgv.Rows.Add((ino++)
-                                        , strSalesDepName
-                                        , strSalesName
-                                        , strConstDepName
-                                        , strConstName
-                                        , strConstrName
-                                        , strStatus
-                                        , CommonMotions.cnvInt(objwrk[(int)GetData.ConstructionPeriod])
-                                        , ConstrCode
-                                        , OrderNo
-                                        , MarkCode
-                                        );
-
-                }
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-            finally
-            {
-                OrderDB.close(); OrderDB = null;
-            }
-        }
-        #endregion
-
-        #region ‘Î�Û”N“x�‰ŠúƒZƒbƒg
-        /// <summary>
-        /// ‘Î�Û”N“x�‰ŠúƒZƒbƒg
-        /// </summary>
-        private void SetInitnumUDConstPro()
-        {
-            try
-            {
-                // ŒŸ�õ”N“xƒZƒbƒg
-                // ƒf�[ƒ^‚É‚ ‚éŽ–‹ÆŠú‚ÆŒ»�Ý‚ÌŽ–‹ÆƒZƒbƒg
-                int minval = 0;
-                int maxval = 0;
-                CommonMotions.GetPeriodYear(ref minval, ref maxval);
-                numUDConstPro.Minimum = minval;
-                numUDConstPro.Maximum = maxval;
-                numUDConstPro.Value = CommonMotions.SystemMasterData.BusinessPeriod;
-
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region �‰ŠúŽž‚Éƒ�ƒOƒCƒ“’S“–ŽÒ‚ðƒZƒbƒg‚·‚é
-        /// <summary>
-        /// �‰ŠúŽž‚Éƒ�ƒOƒCƒ“’S“–ŽÒ‚ðƒZƒbƒg‚·‚é
-        /// </summary>
-        private void InitDepPersonCode()
-        {
-            try
-            {
-                // ŒŸ�õ”N“xƒZƒbƒg
-                // ƒf�[ƒ^‚É‚ ‚éŽ–‹ÆŠú‚ÆŒ»�Ý‚ÌŽ–‹ÆƒZƒbƒg
-                int minval = 0;
-                int maxval = 0;
-                CommonMotions.GetPeriodYear(ref minval, ref maxval);
-                numUDConstPro.Minimum = minval;
-                numUDConstPro.Maximum = maxval;
-                numUDConstPro.Value = CommonMotions.SystemMasterData.BusinessPeriod;
-
-                // ----- ‘Þ”ðŒŸ�õƒf�[ƒ^‚ª‚ ‚Á‚½�ê�‡‚ÍƒZƒbƒg‚·‚é
-                int NowPoint = ClsExcute.GetNowProcessPoint();
-                //�@”N“x
-                if (ClsExcute.ProcControlPara[NowPoint].StringSaveParameter.Count > 0)
-                {
-                    numUDConstPro.Value = CommonMotions.cnvInt(ClsExcute.ProcControlPara[NowPoint].StringSaveParameter[0]);
-                    // ’S“–ŽÒ‘I‘ð‹æ•ª‘Þ”ð
-                    if (ClsExcute.ProcControlPara[NowPoint].BoolSaveParameter.Count > 0)
-                        if (ClsExcute.ProcControlPara[NowPoint].BoolSaveParameter[0]) radioButton2.Checked = true;
-
-                    // •”���E’S“–ŽÒ
-                    if (ClsExcute.ProcControlPara[NowPoint].IntSaveParameter.Count > 0)
-                        cmbDepartment.SelectedValue = ClsExcute.ProcControlPara[NowPoint].IntSaveParameter[0];
-                    SetcmbPersons();
-                    if (ClsExcute.ProcControlPara[NowPoint].IntSaveParameter.Count > 1)
-                        cmbConstructionPerson.SelectedValue = ClsExcute.ProcControlPara[NowPoint].IntSaveParameter[1];
-                }
-                else
-                {
-                    // ‘I‘ð•”��‚ª•¡�”‚ÌŽÒ‚ÍƒZƒbƒg‚µ‚È‚¢
-                    if (cmbDepartment.Items.Count > 2) return;
-                    cmbDepartment.SelectedValue = CommonMotions.LoginUserData.DepartmentCode;
-                    SetcmbPersons();
-                    cmbConstructionPerson.SelectedValue = CommonMotions.LoginUserData.PersonCode;
-                }
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region ƒf�[ƒ^•\Ž¦�ˆ—�
-        /// <summary>
-        /// ˆê——ƒf�[ƒ^•\Ž¦�ˆ—�
-        /// </summary>
-        private void DataDisplay()
-        {
-            IOConstructionBaseInfo cbiDB = new IOConstructionBaseInfo();
-            try
-            {
-                foreach (DataGridViewColumn wrkCol in dgvEntry.Columns) wrkCol.SortMode = DataGridViewColumnSortMode.NotSortable;
-                dgvEntry.Rows.Clear();
-                StringBuilder strSQL = new StringBuilder();
-                // SQL�ì�¬
-                CreateInitSQL(ref strSQL);
-                ArrayList arData = new ArrayList();
-                // �HŽ–Šî–{�î•ñŽæ“¾
-                if (cbiDB.ExecuteReader(strSQL.ToString(), ref arData))
-                {
-                    // ƒOƒŠƒbƒh‚ÖƒZƒbƒg‚Æ‚·‚é
-                    SetToGridData(arData);
-                }
-
-                // ƒf�[ƒ^‚ª‘½‚­‚È‚ê‚Îƒ\�[ƒg‚Å‚«‚é
-                if (CommonDefine.s_MaxInitLineCount < arData.Count)
-                {
-                    foreach (DataGridViewColumn wrkCol in dgvEntry.Columns)
-                        wrkCol.SortMode = DataGridViewColumnSortMode.Automatic;
-                }
-                else
-                {
-                    // Žb’è‚Åƒ\�[ƒg‚ð“ü‚ê‚é
-                    foreach (DataGridViewColumn wrkCol in dgvEntry.Columns)
-                        wrkCol.SortMode = DataGridViewColumnSortMode.Automatic;
-                }
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-            finally
-            {
-                cbiDB.close(); cbiDB = null;
-                if (CommonDefine.s_MaxInitLineCount > dgvEntry.RowCount)
-                    dgvEntry.RowCount += (CommonDefine.s_MaxInitLineCount - dgvEntry.RowCount);
-            }
-        }
-        #endregion
-
-        #region �‰ŠúŽžƒf�[ƒ^Žæ“¾
-        /// <summary>
-        /// �‰ŠúŽžƒf�[ƒ^Žæ“¾
-        /// </summary>
-        private void InitDataLoad()
-        {
-            try
-            {
-                DataGridView dgv = dgvEntry;
-
-                int NowPoint = ClsExcute.GetNowProcessPoint();
-
-                string strSubTitle = string.Empty;
-                switch (m_ExecuteSubFlg)
-                {
-                    case (int)ConstructionBaseInfo.BillingSplitFlgDef.SplitBilling:
-                        strSubTitle = "�i�o—ˆ�‚�j";
-                        break;
-                    case (int)ConstructionBaseInfo.BillingSplitFlgDef.AllOnBilling:
-                        strSubTitle = "�iŠ®—¹Œã�j";
-                        break;
-                }
-                // �ˆ—�–¼�Ì•\Ž¦
-                lblProcessTitil.Text = string.Format("{0}{1}", ClsExcute.ProcessExecuteName[m_ExecuteFlg].Replace("�|", ""), strSubTitle);
-
-                // ƒOƒŠƒbƒh‚Ì�s‚ð0‚É–ß‚·
-                dgv.Rows.Clear();
-
-                // ƒf�[ƒ^•\Ž¦
-                DataDisplay();
-
-                // •\Ž¦�æ“ª�s
-                if (ClsExcute.ProcControlPara[NowPoint].IntSaveParameter.Count > 3)
-                {
-                    dgv.FirstDisplayedScrollingRowIndex = ClsExcute.ProcControlPara[NowPoint].IntSaveParameter[2];
-
-                    // Œ»�Ý“ª�s
-                    dgv.Rows[ClsExcute.ProcControlPara[NowPoint].IntSaveParameter[3]].Selected = true;
-                }
-                // ƒ\�[ƒg�ó‘Ô
-                if (ClsExcute.ProcControlPara[NowPoint].IntSaveParameter.Count > 4)
-                {
-                    // ƒJƒ‰ƒ€Žæ“¾
-                    DataGridViewColumn wrksortcolumn = dgv.Columns[ClsExcute.ProcControlPara[NowPoint].IntSaveParameter[4]];
-                    // ƒ\�[ƒgƒI�[ƒ_�[Žæ“¾
-                    ListSortDirection sortDirection = ((SortOrder)ClsExcute.ProcControlPara[NowPoint].IntSaveParameter[5]) == SortOrder.Ascending ?
-                                                                        ListSortDirection.Ascending : ListSortDirection.Descending;
-                    dgv.Sort(wrksortcolumn, sortDirection);
-                }
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region �‰Šú•\Ž¦‚ÌƒXƒ^ƒCƒ‹‚ð•Ï�X
-        /// <summary>
-        /// �‰Šú•\Ž¦‚ÌƒXƒ^ƒCƒ‹‚ð•Ï�X‚·‚é
-        /// </summary>
-        private void InitDisplayStyle()
-        {
-            try
-            {
-                // ƒtƒH�[ƒ€ƒTƒCƒYŽæ“¾
-                m_FormWidthSize = this.Width;
-
-                DataGridView dgv = dgvEntry;
-                // ƒOƒŠƒbƒh‚Ì�î•ñ‚ðŽæ“¾‚·‚é
-                m_GridWidthSize = dgv.Width;
-
-                int CellCount = dgv.ColumnCount;
-                m_CellSize = new int[CellCount];
-                foreach (DataGridViewColumn col in dgv.Columns)
-                {
-                    if (col.Visible)
-                        m_CellSize[col.Index] = col.Width;
-                }
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region ‰æ–ÊƒTƒCƒY•Ï�XŽž‚ÌƒZƒ‹ƒTƒCƒY•Ï�X
-        /// <summary>
-        /// ‰æ–ÊƒTƒCƒY•Ï�XŽž‚ÌƒZƒ‹ƒTƒCƒY•Ï�X
-        /// </summary>
-        private void CellSizeChangesWhenChangingScreenSize(bool bNormal)
-        {
-            try
-            {
-                DataGridView dgv = dgvEntry;
-                int idifference = 0;
-                // �Å‘å‰»‚Ì�ê�‡
-                if (!bNormal)
-                {
-                    // ƒJƒ‰ƒ€‚ÌƒTƒCƒY‚ð‹�‚ß‚é
-                    int ColumnCount = 0;
-                    int TotalWidth = 0;
-                    int NotVisibleSize = 0;
-                    for (int i = 0; i < m_CellSize.Length; i++)
-                    {
-                        TotalWidth += m_CellSize[i];
-                        if (dgv.Columns[i].Visible)
-                        {
-                            ColumnCount++;
-                        }
-                        else
-                        {
-                            NotVisibleSize += m_CellSize[i];
-                        }
-                    }
-
-                    // ‘å‚«‚­‚È‚Á‚½ƒTƒCƒY
-                    int formdiff = (dgv.Width - (m_GridWidthSize - NotVisibleSize));
-
-                    idifference = formdiff / ColumnCount;
-                }
-
-                for (int i = 0; i < dgv.ColumnCount; i++)
-                {
-                    DataGridViewColumn wrkCol = dgv.Columns[i];
-                    wrkCol.Width = m_CellSize[i] + idifference;
-                }
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region •”��ƒRƒ“ƒ{‚æ‚è’S“–ŽÒƒR�[ƒh‚ðŽæ“¾‚·‚é
-        /// <summary>
-        /// •”��ƒRƒ“ƒ{‚æ‚è’S“–ŽÒƒR�[ƒh‚ðŽæ“¾‚·‚é
-        /// </summary>
-        /// <returns></returns>
-        private int GetDepartmentCode()
-        {
-            try
-            {
-                // •\Ž¦‚³‚ê‚Ä‚¢‚È‚¢�ê�‡‚Í‘I‘ð–³
-                //if (!cmbDepartment.Visible) return 0;
-
-                return CommonMotions.cnvInt(cmbDepartment.SelectedValue);
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}", ex.Message);
-                return 0;
-            }
-        }
-        #endregion
-
-        #region ’S“–ŽÒƒRƒ“ƒ{‚æ‚è’S“–ŽÒƒR�[ƒh‚ðŽæ“¾‚·‚é
-        /// <summary>
-        /// ’S“–ŽÒƒRƒ“ƒ{‚æ‚è’S“–ŽÒƒR�[ƒh‚ðŽæ“¾‚·‚é
-        /// </summary>
-        /// <returns></returns>
-        private int GetConstructionPersonCode()
-        {
-            try
-            {
-                // •\Ž¦‚³‚ê‚Ä‚¢‚È‚¢�ê�‡‚Í‘I‘ð–³
-                //if (!cmbConstructionPerson.Visible) return 0;
-
-                return CommonMotions.cnvInt(cmbConstructionPerson.SelectedValue);
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}", ex.Message);
-                return 0;
-            }
-        }
-        #endregion
-
-        #region ƒRƒ“ƒ{ƒ{ƒbƒNƒX�‰Šú•\Ž¦
-        /// <summary>
-        /// ƒRƒ“ƒ{ƒ{ƒbƒNƒX�‰Šú•\Ž¦
-        /// </summary>
-        private void InitCombBox()
-        {
-            try
-            {
-                int AllPath = (int)CommonDefine.SecurityRangePos.AllPath;           // ‘S•”��
-                int Multiple = (int)CommonDefine.SecurityRangePos.Multiple;         // •¡�”•”��
-                int Only = (int)CommonDefine.SecurityRangePos.Only;                 // Ž©•”��‚Ì‚Ý
-                int None = (int)CommonDefine.SecurityRangePos.None;                 // Ž©’S“–ŽÒ‚Ì‚Ý
-
-                if (CommonMotions.LoginUserData.PersonCode == CommonDefine.AdminCode
-                    || CommonMotions.LoginUserSecurity.SecRange == CommonDefine.SecurityRangeList[AllPath].Key)
-                {
-                    // •”���E’S“–ŽÒƒRƒ“ƒ{•\Ž¦
-                    DispAllCombBoxControl(true);
-                }
-                else
-                {
-                    if (CommonMotions.LoginUserSecurity.SecRange == (int)CommonDefine.SecurityRangeList[Multiple].Key)
-                    {
-                        // •”���E’S“–ŽÒƒRƒ“ƒ{•\Ž¦
-                        DispAllCombBoxControl(true);
-                    }
-                    else if (CommonMotions.LoginUserSecurity.SecRange == (int)CommonDefine.SecurityRangeList[Only].Key)
-                    {
-                        // •”��ƒRƒ“ƒ{”ñ•\Ž¦
-                        NonDispDepCombBox();
-                    }
-                    else if (CommonMotions.LoginUserSecurity.SecRange == (int)CommonDefine.SecurityRangeList[None].Key)
-                    {
-                        // •”���E’S“–ŽÒƒRƒ“ƒ{•\Ž¦–³
-                        DispAllCombBoxControl(false);
-                    }
-                }
-
-                // ‘�–±‹Æ–±Žg—pŽÒ‚ªƒ�ƒOƒCƒ“‚µ‚Ä‚¢‚é�ê�‡‚ÍƒRƒ“ƒ{‚ð‹ó”’‚É‚·‚é
-                if (CommonMotions.LoginUserSecurity.GeneralAffairs == (int)SecurityMaster.GeneAffDef.GeneralDep) return;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region •”��ƒRƒ“ƒ{ƒ{ƒbƒNƒX‚Ì”ñ•\Ž¦�ˆ—�
-        /// <summary>
-        /// •”��ƒRƒ“ƒ{ƒ{ƒbƒNƒX‚Ì”ñ•\Ž¦�ˆ—�
-        /// </summary>
-        private void NonDispDepCombBox()
-        {
-            try
-            {
-                // •”��ƒRƒ“ƒ{”ñ•\Ž¦
-                label2.Visible = false;
-                cmbDepartment.Visible = false;
-
-                // •\Ž¦ˆÊ’u‚ÌƒZƒbƒg
-                Point loc1 = radioButton1.Location;
-                Point loc2 = radioButton2.Location;
-                loc1.X = label2.Location.X;
-                loc2.X = label2.Location.X;
-                radioButton1.Location = loc1;
-                radioButton2.Location = loc2;
-                
-                Point loc3 = label3.Location;
-                loc3.X = loc1.X + radioButton1.Width + 10;
-                label3.Location = loc3;
-                
-                Point loc4 = cmbConstructionPerson.Location;
-                loc4.X = label3.Location.X + label3.Width + 10;
-                cmbConstructionPerson.Location = loc4;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region ‘SƒRƒ“ƒ{ƒ{ƒbƒNƒX•\Ž¦‚ðON/OFF‚·‚é
-        /// <summary>
-        /// ‘SƒRƒ“ƒ{ƒ{ƒbƒNƒX•\Ž¦‚ðON/OFF‚·‚é
-        /// </summary>
-        private void DispAllCombBoxControl(bool bDsp)
-        {
-            try
-            {
-                // •”���E’S“–ŽÒƒRƒ“ƒ{”ñ•\Ž¦
-                radioButton1.Visible = bDsp;
-                radioButton2.Visible = bDsp;
-                label2.Visible = bDsp;
-                cmbDepartment.Visible = bDsp;
-                label3.Visible = bDsp;
-                cmbConstructionPerson.Visible = bDsp;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region •”��ƒRƒ“ƒ{ƒ{ƒbƒNƒX‚ðƒZƒbƒg‚·‚é
-        /// <summary>
-        /// •”��ƒRƒ“ƒ{ƒ{ƒbƒNƒX‚Ö•¶Žš‚ðƒZƒbƒg‚·‚é
-        /// </summary>
-        private void SetcmbDepartment()
-        {
-            IOMDepartment depDB = new IOMDepartment();
-            bool bSave = m_initDataLoad;
-            m_initDataLoad = true;
-            try
-            {
-
-                cmbDepartment.DataSource = null;
-                cmbDepartment.Items.Clear();
-                cmbDepartment.Text = "";
-
-                StringBuilder strSQL = new StringBuilder();
-                // •”��ƒ}ƒXƒ^‚ðŒŸ�õ‚·‚é
-                strSQL.AppendFormat("SELECT A.DEPARTMENTCODE, A.DEPARTMENTSTRING, A.DISPLAYORDER, COUNT(*)");
-                strSQL.Append(" FROM DEPARTMENTMASTER A, PERSONINCHARGEMASTER B, CONSTRUCTIONBASEINFO C");
-                strSQL.Append(" WHERE A.DELETEFLG = 0");
-
-                if (CommonMotions.LoginUserData.PersonCode != CommonDefine.AdminCode)
-                {
-                    // ŽQ�Æ•”��ƒ}ƒXƒ^‚æ‚èŽæ“¾‚·‚é
-                    strSQL.Append(" AND A.DEPARTMENTCODE IN (SELECT A1.DEPARTMENTCODE FROM PERSONDEPARTMENTMASTER A1");
-                    strSQL.AppendFormat(" WHERE A1.PERSONCODE = {0})", CommonMotions.LoginUserData.PersonCode);
-                }
-
-                strSQL.Append(" AND A.DEPARTMENTCODE = B.DEPARTMENTCODE");
-                strSQL.Append(" AND B.PERSONCODE = C.CONSTRUCTIONPERSONCODE");
-                strSQL.Append(" GROUP BY A.DEPARTMENTCODE, A.DEPARTMENTSTRING, A.DISPLAYORDER");
-                strSQL.Append(" ORDER BY A.DISPLAYORDER ASC");
-
-                // •”��ƒ}ƒXƒ^“Ç�ž
-                ArrayList arList = new ArrayList();
-                if (!depDB.ExecuteReader(strSQL.ToString(), ref arList)) return;
-
-                List<KeyValuePair<int, string>> ConstructionDataList = new List<KeyValuePair<int, string>>();
-                ConstructionDataList.Add(new KeyValuePair<int, string>(0, ""));
-
-                foreach (object[] work in arList)
-                {
-                    KeyValuePair<int, string> keyval = new KeyValuePair<int, string>(CommonMotions.cnvInt(work[0])
-                                                                                    , CommonMotions.cnvString(work[1]));
-
-                    ConstructionDataList.Add(keyval);
-                }
-
-                // ƒRƒ“ƒ{ƒ{ƒbƒNƒX�‰Šú•\Ž¦
-                ComboBoxAction.InitDataSetCombBox(cmbDepartment, ConstructionDataList);
-
-                return;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-            finally
-            {
-                depDB.close(); depDB = null;
-                m_initDataLoad = bSave;
-            }
-        }
-        #endregion
-
-        #region ’S“–ŽÒƒRƒ“ƒ{ƒ{ƒbƒNƒX‚ðƒZƒbƒg‚·‚é
-        /// <summary>
-        /// ’S“–ŽÒƒRƒ“ƒ{ƒ{ƒbƒNƒX‚Ö•¶Žš‚ðƒZƒbƒg‚·‚é
-        /// </summary>
-        private void SetcmbPersons()
-        {
-            IOMPersonInCharge picDB = new IOMPersonInCharge();
-            List<PersonInChargeMaster> workList = new List<PersonInChargeMaster>();
-            bool bSave = m_initDataLoad;
-            m_initDataLoad = true;
-            try
-            {
-                cmbConstructionPerson.DataSource = null;
-                cmbConstructionPerson.Items.Clear();
-                cmbConstructionPerson.Text = "";
-
-                int DepartmentCode = GetDepartmentCode();
-                StringBuilder strSQL = new StringBuilder();
-                // ŒŸ�õ�ðŒ�
-                strSQL.AppendFormat(" WHERE LEDGERFLG = {0}", (int)PersonInChargeMaster.LedgerDivNoDef.CalcTarget);
-                strSQL.Append(" AND (DEPARTMENTCODE");
-                StringBuilder strSubSQL = new StringBuilder();
-                if (DepartmentCode == 0)
-                {
-                    // ŽQ�Æ•”��ƒ}ƒXƒ^‚æ‚èŽæ“¾‚·‚é
-                    strSubSQL.AppendFormat(" IN (SELECT AA.DEPARTMENTCODE FROM PERSONDEPARTMENTMASTER AA WHERE AA.PERSONCODE = {0})"
-                                            , CommonMotions.LoginUserData.PersonCode);
-                }
-                else
-                {
-                    strSubSQL.AppendFormat(" = {0}", DepartmentCode);
-                }
-                strSQL.Append(strSubSQL.ToString());
-                strSQL.Append(")");
-
-                // “–ŠúŠúŽñ“ú�EŠú––“ú‚ðŽæ“¾
-                DateTime dtDefaultStart = DateTime.MinValue;
-                DateTime dtDefaultEnd = DateTime.MinValue;
-                CreateDefaultStartAndEndDate(ref dtDefaultStart, ref dtDefaultEnd);
-
-                strSQL.AppendFormat(" AND (DATE(STARTDATE) <= STR_TO_DATE('{0}','%Y/%m/%d')", dtDefaultEnd.ToShortDateString());
-                strSQL.AppendFormat(" AND (STR_TO_DATE('{0}','%Y/%m/%d') <= DATE(ENDDATE)", dtDefaultStart.ToShortDateString());
-                strSQL.AppendFormat(" OR STR_TO_DATE('{0}','%Y/%m/%d') = DATE(ENDDATE)))", DateTime.MinValue.ToShortDateString());
-
-                strSQL.Append(" Order By DeleteFlg ASC, EmployeeClassFlg ASC, DisplayOrder ASC");
-                // ’S“–ŽÒƒ}ƒXƒ^“Ç�ž
-                if (!picDB.SelectAction(strSQL.ToString(), ref workList)) return;
-
-                List<KeyValuePair<int, string>> ConstructionDataList = new List<KeyValuePair<int, string>>();
-                ConstructionDataList.Add(new KeyValuePair<int, string>(0, ""));
-
-                foreach (PersonInChargeMaster work in workList)
-                {
-                    KeyValuePair<int, string> keyval = new KeyValuePair<int, string>(work.PersonCode, work.PersonName);
-
-                    ConstructionDataList.Add(keyval);
-                }
-
-                // ƒRƒ“ƒ{ƒ{ƒbƒNƒX�‰Šú•\Ž¦
-                ComboBoxAction.InitDataSetCombBox(cmbConstructionPerson, ConstructionDataList);
-
-                return;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-            finally
-            {
-                picDB.close(); picDB = null;
-                m_initDataLoad = bSave;
-            }
-        }
-        #endregion
-
-        #region ƒfƒtƒHƒ‹ƒg‚ÌŠúŽñ“ú�EŠú––“ú‚ð‹�‚ß‚é
-        /// <summary>
-        /// ƒfƒtƒHƒ‹ƒg‚ÌŠúŽñ“ú�EŠú––“ú‚ð‹�‚ß‚é
-        /// </summary>
-        /// <param name="dtStart"></param>
-        /// <param name="dtEnd"></param>
-        private void CreateDefaultStartAndEndDate(ref DateTime dtStart, ref DateTime dtEnd)
-        {
-            try
-            {
-                // “–ŠúŠúŽñ”NŒŽ“ú‚ðŽæ“¾
-                int iYear = 0;
-                int month = 0;
-                int day = 0;
-                bool bPeriod = false;
-                if (CommonMotions.SystemMasterData.ConstructionNoBase == (int)SystemMaster.ConstrNoBaseDef.BusinessPeriod)
-                {   // ‰c‹ÆŠú
-                    iYear = CommonMotions.PeriodCountToYear(CommonMotions.cnvInt(numUDConstPro.Value));
-                    bPeriod = true;
-                }
-                else
-                {   // �HŽ–”N“x
-                    iYear = CommonMotions.SystemMasterData.ConstrYear;
-                }
-                CommonMotions.GetNowBeginMonthDay(bPeriod, ref month, ref day);
-                dtStart = new DateTime(iYear, month, day);
-                dtEnd = dtStart.AddYears(1).AddDays(-1);     // �I—¹‚Í�{1”N�|1“ú
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region ’S“–ŽÒƒRƒ“ƒ{ƒ{ƒbƒNƒXƒZƒbƒgŽž•”��‚ðƒZƒbƒg‚·‚é
-        /// <summary>
-        /// ’S“–ŽÒƒRƒ“ƒ{ƒ{ƒbƒNƒXƒZƒbƒgŽž•”��‚ðƒZƒbƒg‚·‚é
-        /// </summary>
-        /// <returns></returns>
-        private bool SetPerosonToDepartment()
-        {
-            IOMPersonInCharge PersonDB = new IOMPersonInCharge();
-            try
-            {
-                // ƒRƒ“ƒ{ƒ{ƒbƒNƒX‚æ‚è‘I‘ð’S“–ŽÒ‚ðŽæ“¾‚·‚é
-                int PersonCode = GetConstructionPersonCode();
-                if (PersonCode < 1) return false;
-
-                int DepartmentCode = GetDepartmentCode();
-
-                StringBuilder strSQL = new StringBuilder();
-                strSQL.Append(PersonDB.CreatePrimarykeyString(PersonCode));
-                PersonInChargeMaster PersonRec = new PersonInChargeMaster();
-                PersonDB.SelectAction(strSQL.ToString(), ref PersonRec);
-
-                // •”��ƒRƒ“ƒ{ƒ{ƒbƒNƒX‚Ö•”��ƒR�[ƒhƒZƒbƒg
-                if (PersonRec.DepartmentCode > 0 && DepartmentCode != PersonRec.DepartmentCode)
-                {
-                    bool bSave = m_initDataLoad;
-                    m_initDataLoad = true;
-                    cmbDepartment.SelectedValue = PersonRec.DepartmentCode;
-                    SetcmbPersons();    // ’S“–ŽÒƒRƒ“ƒ{ƒ{ƒbƒNƒX•Ï�X
-                    cmbConstructionPerson.SelectedValue = PersonCode;
-                    m_initDataLoad = bSave;
-                }
-
-                return true;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                return false;
-            }
-            finally
-            {
-                PersonDB.close(); PersonDB = null;
-            }
-        }
-        #endregion
-
-    }
-}
\ No newline at end of file
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/ConstrReqList/FrmConstrReqList.resx
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/ConstrReqList/FrmConstrReqList.resx	(revision 328)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/ConstrReqList/FrmConstrReqList.resx	(nonexistent)
@@ -1,153 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<root>
-  <!-- 
-    Microsoft ResX Schema 
-    
-    Version 2.0
-    
-    The primary goals of this format is to allow a simple XML format 
-    that is mostly human readable. The generation and parsing of the 
-    various data types are done through the TypeConverter classes 
-    associated with the data types.
-    
-    Example:
-    
-    ... ado.net/XML headers & schema ...
-    <resheader name="resmimetype">text/microsoft-resx</resheader>
-    <resheader name="version">2.0</resheader>
-    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
-    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
-    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
-    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
-    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
-        <value>[base64 mime encoded serialized .NET Framework object]</value>
-    </data>
-    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
-        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
-        <comment>This is a comment</comment>
-    </data>
-                
-    There are any number of "resheader" rows that contain simple 
-    name/value pairs.
-    
-    Each data row contains a name, and value. The row also contains a 
-    type or mimetype. Type corresponds to a .NET class that support 
-    text/value conversion through the TypeConverter architecture. 
-    Classes that don't support this are serialized and stored with the 
-    mimetype set.
-    
-    The mimetype is used for serialized objects, and tells the 
-    ResXResourceReader how to depersist the object. This is currently not 
-    extensible. For a given mimetype the value must be set accordingly:
-    
-    Note - application/x-microsoft.net.object.binary.base64 is the format 
-    that the ResXResourceWriter will generate, however the reader can 
-    read any of the formats listed below.
-    
-    mimetype: application/x-microsoft.net.object.binary.base64
-    value   : The object must be serialized with 
-            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
-            : and then encoded with base64 encoding.
-    
-    mimetype: application/x-microsoft.net.object.soap.base64
-    value   : The object must be serialized with 
-            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
-            : and then encoded with base64 encoding.
-
-    mimetype: application/x-microsoft.net.object.bytearray.base64
-    value   : The object must be serialized into a byte array 
-            : using a System.ComponentModel.TypeConverter
-            : and then encoded with base64 encoding.
-    -->
-  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
-    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
-    <xsd:element name="root" msdata:IsDataSet="true">
-      <xsd:complexType>
-        <xsd:choice maxOccurs="unbounded">
-          <xsd:element name="metadata">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" />
-              </xsd:sequence>
-              <xsd:attribute name="name" use="required" type="xsd:string" />
-              <xsd:attribute name="type" type="xsd:string" />
-              <xsd:attribute name="mimetype" type="xsd:string" />
-              <xsd:attribute ref="xml:space" />
-            </xsd:complexType>
-          </xsd:element>
-          <xsd:element name="assembly">
-            <xsd:complexType>
-              <xsd:attribute name="alias" type="xsd:string" />
-              <xsd:attribute name="name" type="xsd:string" />
-            </xsd:complexType>
-          </xsd:element>
-          <xsd:element name="data">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
-                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
-              </xsd:sequence>
-              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
-              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
-              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
-              <xsd:attribute ref="xml:space" />
-            </xsd:complexType>
-          </xsd:element>
-          <xsd:element name="resheader">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
-              </xsd:sequence>
-              <xsd:attribute name="name" type="xsd:string" use="required" />
-            </xsd:complexType>
-          </xsd:element>
-        </xsd:choice>
-      </xsd:complexType>
-    </xsd:element>
-  </xsd:schema>
-  <resheader name="resmimetype">
-    <value>text/microsoft-resx</value>
-  </resheader>
-  <resheader name="version">
-    <value>2.0</value>
-  </resheader>
-  <resheader name="reader">
-    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </resheader>
-  <resheader name="writer">
-    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </resheader>
-  <metadata name="Column1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="Column9.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="Column5.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="Column10.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="Column6.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="Column4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="Column7.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="Column3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="Column2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="Column11.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="Column8.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-</root>
\ No newline at end of file
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/ConstrReqList/FrmConstrReqList.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/ConstrReqList/FrmConstrReqList.designer.cs	(revision 328)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/ConstrReqList/FrmConstrReqList.designer.cs	(nonexistent)
@@ -1,504 +0,0 @@
-ï»¿namespace ProcessManagement.Forms.DataEntry
-{
-    partial class FrmConstrReqList
-    {
-        /// <summary>
-        /// å¿…è¦�ã�ªãƒ‡ã‚¶ã‚¤ãƒŠå¤‰æ•°ã�§ã�™ã€‚
-        /// </summary>
-        private System.ComponentModel.IContainer components = null;
-
-        /// <summary>
-        /// ä½¿ç”¨ä¸­ã�®ãƒªã‚½ãƒ¼ã‚¹ã‚’ã�™ã�¹ã�¦ã‚¯ãƒªãƒ¼ãƒ³ã‚¢ãƒƒãƒ—ã�—ã�¾ã�™ã€‚
-        /// </summary>
-        /// <param name="disposing">ãƒžãƒ�ãƒ¼ã‚¸ ãƒªã‚½ãƒ¼ã‚¹ã�Œç ´æ£„ã�•ã‚Œã‚‹å ´å�ˆ trueã€�ç ´æ£„ã�•ã‚Œã�ªã�„å ´å�ˆã�¯ false ã�§ã�™ã€‚</param>
-        protected override void Dispose(bool disposing)
-        {
-            if (disposing && (components != null))
-            {
-                components.Dispose();
-            }
-            base.Dispose(disposing);
-        }
-
-        #region Windows ãƒ•ã‚©ãƒ¼ãƒ  ãƒ‡ã‚¶ã‚¤ãƒŠã�§ç”Ÿæˆ�ã�•ã‚Œã�Ÿã‚³ãƒ¼ãƒ‰
-
-        /// <summary>
-        /// ãƒ‡ã‚¶ã‚¤ãƒŠ ã‚µãƒ�ãƒ¼ãƒˆã�«å¿…è¦�ã�ªãƒ¡ã‚½ãƒƒãƒ‰ã�§ã�™ã€‚ã�“ã�®ãƒ¡ã‚½ãƒƒãƒ‰ã�®å†…å®¹ã‚’
-        /// ã‚³ãƒ¼ãƒ‰ ã‚¨ãƒ‡ã‚£ã‚¿ã�§å¤‰æ›´ã�—ã�ªã�„ã�§ã��ã� ã�•ã�„ã€‚
-        /// </summary>
-        private void InitializeComponent()
-        {
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle26 = 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();
-            this.btnEnd = new System.Windows.Forms.Button();
-            this.label1 = new System.Windows.Forms.Label();
-            this.groupBox1 = new ProcessManagement.Forms.CustomControls.GroupBoxEx();
-            this.label3 = new System.Windows.Forms.Label();
-            this.radioButton2 = new System.Windows.Forms.RadioButton();
-            this.radioButton1 = new System.Windows.Forms.RadioButton();
-            this.label4 = new System.Windows.Forms.Label();
-            this.numUDConstPro = new System.Windows.Forms.NumericUpDown();
-            this.label5 = new System.Windows.Forms.Label();
-            this.label7 = new System.Windows.Forms.Label();
-            this.cmbConstructionPerson = new System.Windows.Forms.ComboBox();
-            this.cmbDepartment = new System.Windows.Forms.ComboBox();
-            this.label2 = new System.Windows.Forms.Label();
-            this.lblProcessTitil = new System.Windows.Forms.Label();
-            this.btnDataUpDate = new System.Windows.Forms.Button();
-            this.dgvEntry = new ProcessManagement.Forms.CustomControls.DataGridViewEX();
-            this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Column9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Column5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Column10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Column6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Column7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Column11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Column8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.groupBox1.SuspendLayout();
-            ((System.ComponentModel.ISupportInitialize)(this.numUDConstPro)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.dgvEntry)).BeginInit();
-            this.SuspendLayout();
-            // 
-            // btnEnd
-            // 
-            this.btnEnd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
-            this.btnEnd.BackColor = System.Drawing.Color.Blue;
-            this.btnEnd.ForeColor = System.Drawing.Color.White;
-            this.btnEnd.Location = new System.Drawing.Point(1150, 619);
-            this.btnEnd.Name = "btnEnd";
-            this.btnEnd.Size = new System.Drawing.Size(120, 30);
-            this.btnEnd.TabIndex = 8;
-            this.btnEnd.Text = "çµ‚ã€€äº†";
-            this.btnEnd.UseVisualStyleBackColor = false;
-            this.btnEnd.Click += new System.EventHandler(this.btnEnd_Click);
-            // 
-            // label1
-            // 
-            this.label1.Anchor = System.Windows.Forms.AnchorStyles.Top;
-            this.label1.BackColor = System.Drawing.Color.White;
-            this.label1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label1.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.label1.ForeColor = System.Drawing.Color.Black;
-            this.label1.Location = new System.Drawing.Point(440, 10);
-            this.label1.Name = "label1";
-            this.label1.Size = new System.Drawing.Size(400, 20);
-            this.label1.TabIndex = 6;
-            this.label1.Text = "å·¥ã€€äº‹ã€€æƒ…ã€€å ±ã€€ä¸€ã€€è¦§";
-            this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // groupBox1
-            // 
-            this.groupBox1.Anchor = System.Windows.Forms.AnchorStyles.Top;
-            this.groupBox1.BackColor = System.Drawing.Color.Aquamarine;
-            this.groupBox1.BorderColor = System.Drawing.Color.White;
-            this.groupBox1.Controls.Add(this.label3);
-            this.groupBox1.Controls.Add(this.radioButton2);
-            this.groupBox1.Controls.Add(this.radioButton1);
-            this.groupBox1.Controls.Add(this.label4);
-            this.groupBox1.Controls.Add(this.numUDConstPro);
-            this.groupBox1.Controls.Add(this.label5);
-            this.groupBox1.Controls.Add(this.label7);
-            this.groupBox1.Controls.Add(this.cmbConstructionPerson);
-            this.groupBox1.Controls.Add(this.cmbDepartment);
-            this.groupBox1.Controls.Add(this.label2);
-            this.groupBox1.ForeColor = System.Drawing.Color.White;
-            this.groupBox1.Location = new System.Drawing.Point(10, 40);
-            this.groupBox1.Name = "groupBox1";
-            this.groupBox1.Size = new System.Drawing.Size(1260, 55);
-            this.groupBox1.TabIndex = 0;
-            this.groupBox1.TabStop = false;
-            // 
-            // label3
-            // 
-            this.label3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
-            this.label3.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label3.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.label3.ForeColor = System.Drawing.Color.Black;
-            this.label3.Location = new System.Drawing.Point(747, 19);
-            this.label3.Name = "label3";
-            this.label3.Size = new System.Drawing.Size(120, 25);
-            this.label3.TabIndex = 4;
-            this.label3.Text = "æ‹…ã€€å½“ã€€è€…";
-            this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // radioButton2
-            // 
-            this.radioButton2.AutoSize = true;
-            this.radioButton2.BackColor = System.Drawing.Color.Transparent;
-            this.radioButton2.Checked = true;
-            this.radioButton2.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.radioButton2.ForeColor = System.Drawing.Color.Black;
-            this.radioButton2.Location = new System.Drawing.Point(662, 32);
-            this.radioButton2.Name = "radioButton2";
-            this.radioButton2.Size = new System.Drawing.Size(77, 20);
-            this.radioButton2.TabIndex = 44;
-            this.radioButton2.TabStop = true;
-            this.radioButton2.Text = "å·¥ã€€äº‹";
-            this.radioButton2.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
-            this.radioButton2.UseVisualStyleBackColor = false;
-            this.radioButton2.CheckedChanged += new System.EventHandler(this.radioButton_CheckedChanged);
-            // 
-            // radioButton1
-            // 
-            this.radioButton1.AutoSize = true;
-            this.radioButton1.BackColor = System.Drawing.Color.Transparent;
-            this.radioButton1.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.radioButton1.ForeColor = System.Drawing.Color.Black;
-            this.radioButton1.Location = new System.Drawing.Point(662, 12);
-            this.radioButton1.Name = "radioButton1";
-            this.radioButton1.Size = new System.Drawing.Size(77, 20);
-            this.radioButton1.TabIndex = 43;
-            this.radioButton1.Text = "å–¶ã€€æ¥­";
-            this.radioButton1.TextAlign = System.Drawing.ContentAlignment.TopCenter;
-            this.radioButton1.UseVisualStyleBackColor = false;
-            this.radioButton1.CheckedChanged += new System.EventHandler(this.radioButton_CheckedChanged);
-            // 
-            // label4
-            // 
-            this.label4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
-            this.label4.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label4.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.label4.ForeColor = System.Drawing.Color.Black;
-            this.label4.Location = new System.Drawing.Point(20, 19);
-            this.label4.Name = "label4";
-            this.label4.Size = new System.Drawing.Size(120, 25);
-            this.label4.TabIndex = 42;
-            this.label4.Text = "å–¶æ¥­æœŸ";
-            this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // numUDConstPro
-            // 
-            this.numUDConstPro.BackColor = System.Drawing.Color.White;
-            this.numUDConstPro.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.numUDConstPro.ForeColor = System.Drawing.Color.Black;
-            this.numUDConstPro.Location = new System.Drawing.Point(173, 20);
-            this.numUDConstPro.Name = "numUDConstPro";
-            this.numUDConstPro.ReadOnly = true;
-            this.numUDConstPro.Size = new System.Drawing.Size(80, 23);
-            this.numUDConstPro.TabIndex = 0;
-            this.numUDConstPro.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
-            this.numUDConstPro.ValueChanged += new System.EventHandler(this.numUDConstPro_ValueChanged);
-            // 
-            // label5
-            // 
-            this.label5.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.label5.ForeColor = System.Drawing.Color.Black;
-            this.label5.Location = new System.Drawing.Point(253, 23);
-            this.label5.Name = "label5";
-            this.label5.Size = new System.Drawing.Size(25, 16);
-            this.label5.TabIndex = 39;
-            this.label5.Text = "æœŸ";
-            this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // label7
-            // 
-            this.label7.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.label7.ForeColor = System.Drawing.Color.Black;
-            this.label7.Location = new System.Drawing.Point(148, 23);
-            this.label7.Name = "label7";
-            this.label7.Size = new System.Drawing.Size(25, 16);
-            this.label7.TabIndex = 40;
-            this.label7.Text = "ç¬¬";
-            this.label7.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.FormattingEnabled = true;
-            this.cmbConstructionPerson.Location = new System.Drawing.Point(875, 20);
-            this.cmbConstructionPerson.Name = "cmbConstructionPerson";
-            this.cmbConstructionPerson.Size = new System.Drawing.Size(200, 23);
-            this.cmbConstructionPerson.TabIndex = 2;
-            this.cmbConstructionPerson.TextChanged += new System.EventHandler(this.cmbConstructionPerson_TextChanged);
-            // 
-            // cmbDepartment
-            // 
-            this.cmbDepartment.BackColor = System.Drawing.Color.White;
-            this.cmbDepartment.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
-            this.cmbDepartment.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
-            this.cmbDepartment.FormattingEnabled = true;
-            this.cmbDepartment.Location = new System.Drawing.Point(422, 20);
-            this.cmbDepartment.Name = "cmbDepartment";
-            this.cmbDepartment.Size = new System.Drawing.Size(200, 23);
-            this.cmbDepartment.TabIndex = 1;
-            this.cmbDepartment.TextChanged += new System.EventHandler(this.cmbDepartment_TextChanged);
-            // 
-            // label2
-            // 
-            this.label2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
-            this.label2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label2.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.label2.ForeColor = System.Drawing.Color.Black;
-            this.label2.Location = new System.Drawing.Point(294, 19);
-            this.label2.Name = "label2";
-            this.label2.Size = new System.Drawing.Size(120, 25);
-            this.label2.TabIndex = 4;
-            this.label2.Text = "éƒ¨ã€€ã€€ç½²";
-            this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lblProcessTitil
-            // 
-            this.lblProcessTitil.BackColor = System.Drawing.Color.White;
-            this.lblProcessTitil.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.lblProcessTitil.Location = new System.Drawing.Point(10, 10);
-            this.lblProcessTitil.Name = "lblProcessTitil";
-            this.lblProcessTitil.Size = new System.Drawing.Size(300, 20);
-            this.lblProcessTitil.TabIndex = 9;
-            this.lblProcessTitil.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // btnDataUpDate
-            // 
-            this.btnDataUpDate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
-            this.btnDataUpDate.BackColor = System.Drawing.Color.Aquamarine;
-            this.btnDataUpDate.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.btnDataUpDate.ForeColor = System.Drawing.Color.Black;
-            this.btnDataUpDate.Location = new System.Drawing.Point(1150, 4);
-            this.btnDataUpDate.Name = "btnDataUpDate";
-            this.btnDataUpDate.Size = new System.Drawing.Size(120, 30);
-            this.btnDataUpDate.TabIndex = 7;
-            this.btnDataUpDate.Text = "æœ€æ–°çŠ¶æ…‹ã�«æ›´æ–°";
-            this.btnDataUpDate.UseVisualStyleBackColor = false;
-            this.btnDataUpDate.Click += new System.EventHandler(this.btnDataUpDate_Click);
-            // 
-            // dgvEntry
-            // 
-            this.dgvEntry.AllowUserToAddRows = false;
-            this.dgvEntry.AllowUserToDeleteRows = false;
-            this.dgvEntry.AllowUserToResizeColumns = false;
-            this.dgvEntry.AllowUserToResizeRows = false;
-            dataGridViewCellStyle14.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
-            this.dgvEntry.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle14;
-            this.dgvEntry.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.dgvEntry.BackgroundColor = System.Drawing.Color.White;
-            this.dgvEntry.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("ï¼­ï¼³ æ˜Žæœ�", 11.25F, 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.dgvEntry.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle15;
-            this.dgvEntry.ColumnHeadersHeight = 24;
-            this.dgvEntry.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
-            this.dgvEntry.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
-            this.Column1,
-            this.Column9,
-            this.Column5,
-            this.Column10,
-            this.Column6,
-            this.Column4,
-            this.Column7,
-            this.Column3,
-            this.Column2,
-            this.Column11,
-            this.Column8});
-            dataGridViewCellStyle26.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            dataGridViewCellStyle26.BackColor = System.Drawing.SystemColors.Window;
-            dataGridViewCellStyle26.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            dataGridViewCellStyle26.ForeColor = System.Drawing.SystemColors.ControlText;
-            dataGridViewCellStyle26.SelectionBackColor = System.Drawing.Color.LightSeaGreen;
-            dataGridViewCellStyle26.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
-            dataGridViewCellStyle26.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvEntry.DefaultCellStyle = dataGridViewCellStyle26;
-            this.dgvEntry.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter;
-            this.dgvEntry.EnableHeadersVisualStyles = false;
-            this.dgvEntry.Location = new System.Drawing.Point(10, 103);
-            this.dgvEntry.MultiSelect = false;
-            this.dgvEntry.Name = "dgvEntry";
-            this.dgvEntry.RowHeadersVisible = false;
-            this.dgvEntry.RowHeadersWidth = 20;
-            this.dgvEntry.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
-            this.dgvEntry.RowTemplate.Height = 24;
-            this.dgvEntry.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
-            this.dgvEntry.Size = new System.Drawing.Size(1260, 508);
-            this.dgvEntry.TabIndex = 5;
-            this.dgvEntry.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvMaster_CellDoubleClick);
-            // 
-            // Column1
-            // 
-            dataGridViewCellStyle16.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.Column1.DefaultCellStyle = dataGridViewCellStyle16;
-            this.Column1.HeaderText = "â„–";
-            this.Column1.Name = "Column1";
-            this.Column1.ReadOnly = true;
-            this.Column1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.Column1.Width = 50;
-            // 
-            // Column9
-            // 
-            dataGridViewCellStyle17.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.Column9.DefaultCellStyle = dataGridViewCellStyle17;
-            this.Column9.HeaderText = "å–¶æ¥­éƒ¨ç½²";
-            this.Column9.Name = "Column9";
-            this.Column9.ReadOnly = true;
-            this.Column9.Width = 135;
-            // 
-            // Column5
-            // 
-            dataGridViewCellStyle18.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.Column5.DefaultCellStyle = dataGridViewCellStyle18;
-            this.Column5.HeaderText = "å–¶æ¥­æ‹…å½“è€…";
-            this.Column5.Name = "Column5";
-            this.Column5.ReadOnly = true;
-            this.Column5.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.Column5.Width = 135;
-            // 
-            // Column10
-            // 
-            dataGridViewCellStyle19.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.Column10.DefaultCellStyle = dataGridViewCellStyle19;
-            this.Column10.HeaderText = "å·¥äº‹éƒ¨ç½²";
-            this.Column10.Name = "Column10";
-            this.Column10.ReadOnly = true;
-            this.Column10.Width = 135;
-            // 
-            // Column6
-            // 
-            dataGridViewCellStyle20.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.Column6.DefaultCellStyle = dataGridViewCellStyle20;
-            this.Column6.HeaderText = "å·¥äº‹æ‹…å½“è€…";
-            this.Column6.Name = "Column6";
-            this.Column6.ReadOnly = true;
-            this.Column6.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.Column6.Width = 135;
-            // 
-            // Column4
-            // 
-            dataGridViewCellStyle21.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            this.Column4.DefaultCellStyle = dataGridViewCellStyle21;
-            this.Column4.HeaderText = "å·¥ã€€äº‹ã€€å��ã€€ç§°";
-            this.Column4.Name = "Column4";
-            this.Column4.ReadOnly = true;
-            this.Column4.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.Column4.Width = 440;
-            // 
-            // Column7
-            // 
-            dataGridViewCellStyle22.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.Column7.DefaultCellStyle = dataGridViewCellStyle22;
-            this.Column7.HeaderText = "æ–½å·¥çŠ¶æ…‹";
-            this.Column7.Name = "Column7";
-            this.Column7.ReadOnly = true;
-            this.Column7.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.Column7.Width = 150;
-            // 
-            // Column3
-            // 
-            dataGridViewCellStyle23.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.Column3.DefaultCellStyle = dataGridViewCellStyle23;
-            this.Column3.HeaderText = "å–¶æ¥­æœŸ";
-            this.Column3.Name = "Column3";
-            this.Column3.ReadOnly = true;
-            this.Column3.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.Column3.Visible = false;
-            // 
-            // Column2
-            // 
-            dataGridViewCellStyle24.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.Column2.DefaultCellStyle = dataGridViewCellStyle24;
-            this.Column2.HeaderText = "å·¥äº‹ã‚³ãƒ¼ãƒ‰";
-            this.Column2.Name = "Column2";
-            this.Column2.ReadOnly = true;
-            this.Column2.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.Column2.Visible = false;
-            // 
-            // Column11
-            // 
-            this.Column11.HeaderText = "ç”³è«‹å�—ä»˜ç•ªå�·";
-            this.Column11.Name = "Column11";
-            this.Column11.ReadOnly = true;
-            this.Column11.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.Column11.Visible = false;
-            // 
-            // Column8
-            // 
-            dataGridViewCellStyle25.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.Column8.DefaultCellStyle = dataGridViewCellStyle25;
-            this.Column8.HeaderText = "ä½œæˆ�";
-            this.Column8.Name = "Column8";
-            this.Column8.ReadOnly = true;
-            this.Column8.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.Column8.Width = 60;
-            // 
-            // FrmConstrReqList
-            // 
-            this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
-            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
-            this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
-            this.BackColor = System.Drawing.Color.Black;
-            this.ClientSize = new System.Drawing.Size(1280, 657);
-            this.Controls.Add(this.lblProcessTitil);
-            this.Controls.Add(this.groupBox1);
-            this.Controls.Add(this.label1);
-            this.Controls.Add(this.btnDataUpDate);
-            this.Controls.Add(this.btnEnd);
-            this.Controls.Add(this.dgvEntry);
-            this.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
-            this.KeyPreview = true;
-            this.MinimizeBox = false;
-            this.Name = "FrmConstrReqList";
-            this.ShowIcon = false;
-            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
-            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmConstructionList_FormClosing);
-            this.Load += new System.EventHandler(this.FrmConstructionList_Load);
-            this.SizeChanged += new System.EventHandler(this.FrmConstructionList_SizeChanged);
-            this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.FrmConstructionBaseInfoList_KeyDown);
-            this.groupBox1.ResumeLayout(false);
-            this.groupBox1.PerformLayout();
-            ((System.ComponentModel.ISupportInitialize)(this.numUDConstPro)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.dgvEntry)).EndInit();
-            this.ResumeLayout(false);
-
-        }
-
-        #endregion
-
-        private System.Windows.Forms.Button btnEnd;
-        private System.Windows.Forms.Label label1;
-        private ProcessManagement.Forms.CustomControls.GroupBoxEx groupBox1;
-        private System.Windows.Forms.Label label2;
-        private System.Windows.Forms.ComboBox cmbDepartment;
-        private ProcessManagement.Forms.CustomControls.DataGridViewEX dgvEntry;
-        private System.Windows.Forms.Label lblProcessTitil;
-        private System.Windows.Forms.ComboBox cmbConstructionPerson;
-        private System.Windows.Forms.Label label3;
-        private System.Windows.Forms.Button btnDataUpDate;
-        private System.Windows.Forms.Label label4;
-        private System.Windows.Forms.NumericUpDown numUDConstPro;
-        private System.Windows.Forms.Label label5;
-        private System.Windows.Forms.Label label7;
-        private System.Windows.Forms.RadioButton radioButton2;
-        private System.Windows.Forms.RadioButton radioButton1;
-        private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
-        private System.Windows.Forms.DataGridViewTextBoxColumn Column9;
-        private System.Windows.Forms.DataGridViewTextBoxColumn Column5;
-        private System.Windows.Forms.DataGridViewTextBoxColumn Column10;
-        private System.Windows.Forms.DataGridViewTextBoxColumn Column6;
-        private System.Windows.Forms.DataGridViewTextBoxColumn Column4;
-        private System.Windows.Forms.DataGridViewTextBoxColumn Column7;
-        private System.Windows.Forms.DataGridViewTextBoxColumn Column3;
-        private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
-        private System.Windows.Forms.DataGridViewTextBoxColumn Column11;
-        private System.Windows.Forms.DataGridViewTextBoxColumn Column8;
-    }
-}
\ No newline at end of file
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/ConstrReqList/FrmConstrReqList.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/ConstrReqList/FrmConstrReqList.cs	(revision 328)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/ConstrReqList/FrmConstrReqList.cs	(nonexistent)
@@ -1,371 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
-using System.Drawing;
-using System.Text;
-using System.Windows.Forms;
-using System.Collections;
-
-using log4net;
-using log4net.Appender;
-using log4net.Repository.Hierarchy;
-
-using ProcessManagement.Common;
-using ProcessManagement.DB.IOAccess;
-using ProcessManagement.DataModel;
-using ProcessManagement.DB.Core;
-using ProcessManagement.Forms.CustomControls;
-using ProcessManagement.Forms.ControlsAction;
-//*---------------------------- �¿‹��HŽ–�î•ñˆê——‰æ–Ê --------------------------*
-//  2017/05/25  Ver1.0.0.0      Create Source           
-//
-//
-//
-//*----------------------------------------------------------------------------*
-namespace ProcessManagement.Forms.DataEntry
-{
-    public partial class FrmConstrReqList : Form
-    {
-        #region Žg—p’è‹`
-        //log4netƒ�ƒO‚ðŽg—p‚·‚é
-        private static readonly log4net.ILog logger = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
-        #endregion
-
-        #region ’è�”
-        /// <summary>
-        /// •\Ž¦ƒJƒ‰ƒ€
-        /// </summary>
-        private enum DispColumn
-        {
-            No = 0,
-            SalesDepartment,
-            SalesPerson,
-            ConstructionDepartment,
-            ConstructionPerson,
-            ConstructionName,
-            Status,
-            ConstructionPeriod,
-            ConstructionCode,
-            OrderNo,
-            BillingMark,
-        }
-
-        #endregion
-
-        #region •Ï�”
-
-        /// <summary>
-        /// �‰ŠúŽžƒtƒ‰ƒO
-        /// </summary>
-        private bool m_initDataLoad = true;
-
-        /// <summary>
-        /// ‹N“®ƒtƒ‰ƒO
-        /// </summary>
-        private int m_ExecuteFlg = 0;
-
-        /// <summary>
-        /// ‹N“®Žž•â�•ƒtƒ‰ƒO
-        /// </summary>
-        private int m_ExecuteSubFlg = 0;
-
-        /// <summary>
-        /// ƒf�[ƒ^’Ç‰Áƒ{ƒ^ƒ“•\Ž¦ƒtƒ‰ƒO
-        /// </summary>
-        private bool m_DataAddtionButton = false;
-        /// <summary>
-        /// �I—¹ƒ{ƒ^ƒ“‰Ÿ‰ºƒtƒ‰ƒO
-        /// </summary>
-        private bool m_CloseingProcessOff = false;
-
-        /// <summary>
-        /// Cell•�ƒTƒCƒY
-        /// </summary>
-        private int[] m_CellSize;
-
-        #region ƒtƒH�[ƒ€•�
-        /// <summary>
-        /// ƒtƒH�[ƒ€•�
-        /// </summary>
-        private int m_FormWidthSize = 0;
-        #endregion
-
-        #region ƒOƒŠƒbƒh•�ƒTƒCƒY
-        /// <summary>
-        /// ƒOƒŠƒbƒh•�ƒTƒCƒY
-        /// </summary>
-        private int m_GridWidthSize = 0;
-        #endregion
-
-        /// <summary>
-        /// ŒŸ�õ�HŽ–”Ô�†
-        /// </summary>
-        private int m_ConstructionCode = 0;
-        #endregion
-
-        #region ƒvƒ�ƒpƒeƒB
-        /// <summary>
-        /// ‹N“®ƒtƒ‰ƒO
-        /// </summary>
-        public int ExecuteFlg
-        {
-            get { return m_ExecuteFlg; }
-            set { m_ExecuteFlg = value; }
-        }
-        /// <summary>
-        /// ƒf�[ƒ^’Ç‰Áƒ{ƒ^ƒ“•\Ž¦
-        /// </summary>
-        public bool DataAddtionButton
-        {
-            get { return m_DataAddtionButton; }
-            set { m_DataAddtionButton = value; }
-        }
-        /// <summary>
-        /// ŒŸ�õ�HŽ–”Ô�†
-        /// </summary>
-        public int ConstructionCode
-        {
-            get { return m_ConstructionCode; }
-        }
-        /// <summary>
-        /// ‹N“®Žž•â�•ƒtƒ‰ƒO
-        /// </summary>
-        public int ExecuteSubFlg
-        {
-            get { return m_ExecuteSubFlg; }
-            set { m_ExecuteSubFlg = value; }
-        }
-
-        #endregion
-
-        #region ƒRƒ“ƒXƒgƒ‰ƒNƒ^
-        public FrmConstrReqList()
-        {
-            InitializeComponent();
-        }
-        #endregion
-        #region ƒfƒXƒgƒ‰ƒNƒ^
-        ~FrmConstrReqList()
-        {
-            try
-            {
-                GC.Collect();
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region �~ƒ{ƒ^ƒ“
-        /// <summary>
-        /// �~ƒ{ƒ^ƒ“‰Ÿ‰º�ˆ—�
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void FrmConstructionList_FormClosing(object sender, FormClosingEventArgs e)
-        {
-            if (m_CloseingProcessOff) return;
-
-            // ‘Oƒvƒ�ƒZƒX‚É–ß‚é
-            ClsExcute.BackProcess();
-        }
-        #endregion
-
-        #region �I—¹ƒ{ƒ^ƒ“
-        /// <summary>
-        /// �I—¹ƒ{ƒ^ƒ“ƒNƒŠƒbƒN
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void btnEnd_Click(object sender, EventArgs e)
-        {
-            // ‘Oƒvƒ�ƒZƒX‚É–ß‚é
-            ClsExcute.BackProcess();
-
-            m_CloseingProcessOff = true;
-            
-            this.Close();
-        }
-        #endregion
-
-        #region �X�Vƒ{ƒ^ƒ“
-        /// <summary>
-        /// ƒf�[ƒ^�X�Vƒ{ƒ^ƒ“‰Ÿ‰º
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void btnDataUpDate_Click(object sender, EventArgs e)
-        {
-            if (m_initDataLoad) return;
-            // •\Ž¦ƒf�[ƒ^�X�V
-            DataDisplay();
-        }
-        #endregion
-
-        #region ƒtƒH�[ƒ€ƒ��[ƒh
-        /// <summary>
-        /// �‰ŠúƒtƒH�[ƒ€ƒ��[ƒh
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void FrmConstructionList_Load(object sender, EventArgs e)
-        {
-            SetInitnumUDConstPro();
-            // ƒRƒ“ƒ{ƒ{ƒbƒNƒXƒZƒbƒg
-            SetcmbDepartment();
-            SetcmbPersons();
-
-            // ƒRƒ“ƒ{ƒ{ƒbƒNƒX�‰Šú•\Ž¦
-            InitCombBox();
-
-            // •\Ž¦ƒXƒ^ƒCƒ‹‚Ì•Ï�X
-            InitDisplayStyle();
-
-            // ƒ�ƒOƒCƒ“ŽÒ‚ÌƒZƒbƒg
-            InitDepPersonCode();
-
-            // �‰Šú•\Ž¦
-            InitDataLoad();
-
-            m_initDataLoad = false;
-        }
-        #endregion
-
-        #region ƒZƒ‹ƒ_ƒuƒ‹ƒNƒŠƒbƒN
-        /// <summary>
-        /// ƒZƒ‹ƒ_ƒuƒ‹ƒNƒŠƒbƒN
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void dgvMaster_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
-        {
-            if (e.RowIndex < 0) return;
-            // ƒf�[ƒ^‚ª‚È‚¢�ê�‡‚Í”²‚¯‚é
-            if (dgvEntry.RowCount == 0) return;
-            if (CommonMotions.chkCellBlank(dgvEntry.CurrentRow.Cells[(int)DispColumn.ConstructionName].Value)) return;
-
-            // Še�ˆ—�‹N“®
-            int ConstrCode = CommonMotions.cnvIntFromStringCode(dgvEntry.CurrentRow.Cells[(int)DispColumn.ConstructionCode].Value.ToString(), "-");
-            int OrderNo = CommonMotions.cnvInt(dgvEntry.CurrentRow.Cells[(int)DispColumn.OrderNo].Value);
-            SubProcessExecute(ConstrCode, OrderNo);
-        }
-        #endregion
-
-        #region ƒtƒH�[ƒ€KeyDown
-        /// <summary>
-        /// EntryƒL�[‚Å‚ÌˆÚ“®�ˆ—�
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void FrmConstructionBaseInfoList_KeyDown(object sender, KeyEventArgs e)
-        {
-            //EnterƒL�[‚ª‰Ÿ‚³‚ê‚Ä‚¢‚é‚©Šm”F
-            //Alt‚©CtrlƒL�[‚ª‰Ÿ‚³‚ê‚Ä‚¢‚éŽž‚Í–³Ž‹‚·‚é
-            if ((e.KeyCode == Keys.Enter) && !e.Alt && !e.Control)
-            {
-                //‚ ‚½‚©‚àTabƒL�[‚ª‰Ÿ‚³‚ê‚½‚©‚Ì‚æ‚¤‚É‚·‚é
-                //Shift‚ª‰Ÿ‚³‚ê‚Ä‚¢‚éŽž‚Í‘O‚ÌƒRƒ“ƒgƒ��[ƒ‹‚ÌƒtƒH�[ƒJƒX‚ðˆÚ“®
-                this.ProcessTabKey(!e.Shift);
-
-                e.Handled = true;
-                //.NET Framework 2.0ˆÈ�~
-                e.SuppressKeyPress = true;
-            }
-        }
-        #endregion
-
-        #region ‰c‹ÆŠúƒRƒ“ƒ{ƒ{ƒbƒNƒX•Ï�X
-        /// <summary>
-        /// ‰c‹ÆŠú•Ï�X
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void numUDConstPro_ValueChanged(object sender, EventArgs e)
-        {
-            if (m_initDataLoad) return;
-
-            // ƒf�[ƒ^•\Ž¦
-            DataDisplay();
-        }
-        #endregion
-
-        #region •”��ƒRƒ“ƒ{ƒ{ƒbƒNƒX•Ï�X
-        /// <summary>
-        /// •”��ƒRƒ“ƒ{ƒ{ƒbƒNƒX•Ï�X
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void cmbDepartment_TextChanged(object sender, EventArgs e)
-        {
-            if (m_initDataLoad) return;
-
-            // ’S“–ŽÒƒRƒ“ƒ{ƒ{ƒbƒNƒX•Ï�X
-            SetcmbPersons();
-
-            // ƒf�[ƒ^•\Ž¦
-            DataDisplay();
-        }
-        #endregion
-
-        #region ’S“–ŽÒƒRƒ“ƒ{ƒ{ƒbƒNƒX•Ï�X
-        /// <summary>
-        /// ’S“–ŽÒ•Ï�X
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void cmbConstructionPerson_TextChanged(object sender, EventArgs e)
-        {
-            if (m_initDataLoad) return;
-
-            // ’S“–ŽÒ‘I‘ðŽž•”��‘I‘ð‚ð�Ý’è‚·‚é
-            SetPerosonToDepartment();
-
-            // ƒf�[ƒ^•\Ž¦
-            DataDisplay();
-        }
-        #endregion
-
-        #region ƒtƒH�[ƒ€ƒTƒCƒY•Ï�X
-        /// <summary>
-        /// ƒtƒH�[ƒ€ƒTƒCƒY•Ï�X
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void FrmConstructionList_SizeChanged(object sender, EventArgs e)
-        {
-            if (this.WindowState == FormWindowState.Minimized)
-            {
-                // �Å�¬‰»
-            }
-            else if (this.WindowState == FormWindowState.Maximized)
-            {
-                // �Å‘å‰»
-                CellSizeChangesWhenChangingScreenSize(false);
-            }
-            else if (this.WindowState == FormWindowState.Normal)
-            {
-                // •W�€‰»
-                CellSizeChangesWhenChangingScreenSize(true);
-            }
-        }
-        #endregion
-
-        #region ‰c‹Æ�E�HŽ–’S“–ŽÒ�Ø‚è‘Ö‚¦
-        /// <summary>
-        /// ‰c‹Æ�E�HŽ–’S“–ŽÒ�Ø‚è‘Ö‚¦
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void radioButton_CheckedChanged(object sender, EventArgs e)
-        {
-            if (m_initDataLoad) return;
-
-            // ƒf�[ƒ^•\Ž¦
-            DataDisplay();
-        }
-        #endregion
-    }
-}
\ No newline at end of file
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntry/FrmEntryReqSelOrderer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntry/FrmEntryReqSelOrderer.cs	(revision 328)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntry/FrmEntryReqSelOrderer.cs	(revision 329)
@@ -244,7 +244,7 @@
                 return;
             }
 
-            FrmEntryReqSelRequest frmEntry = new FrmEntryReqSelRequest();
+            FrmRequestPrintSel frmEntry = new FrmRequestPrintSel();
 
             frmEntry.EditFlg = true;
             frmEntry.RequestMonth = CommonMotions.cnvInt(cbReqMonth.SelectedValue);
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntry/FrmReqEntPrtOut.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntry/FrmReqEntPrtOut.cs	(nonexistent)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntry/FrmReqEntPrtOut.cs	(revision 329)
@@ -0,0 +1,1643 @@
+ï»¿using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+using ProcessManagement.Common;
+using ProcessManagement.DataModel;
+using ProcessManagement.DB;
+using ProcessManagement.DB.IOAccess;
+using ProcessManagement.Forms.SubForms;
+using ProcessManagement.Forms.ControlsAction;
+
+
+namespace ProcessManagement.Forms.DataEntry
+{
+    public partial class FrmRequestPrintSel
+    {
+        #region å®šæ•°
+
+        /// <summary>
+        /// Excelãƒ†ãƒ³ãƒ—ãƒ¬ãƒ¼ãƒˆãƒ•ã‚¡ã‚¤ãƒ«å��
+        /// </summary>
+        //private static string s_ExcelRequestSheetFileName = @"\RequestSheet.xlsx";
+        private static string s_ExcelRequestSheetFileName = CommonDefine.s_ExcelOriginalFileName;
+
+        /// <summary>
+        /// ãƒ‡ã‚¹ã‚¯ãƒˆãƒƒãƒ—ãƒ•ã‚©ãƒ«ãƒ€å��
+        /// </summary>
+        private static string s_ExecCurrentDirName = System.Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory);
+
+        /// <summary>
+        /// ã‚·ãƒ¼ãƒˆå��ç§°ã‚«ã‚¦ãƒ³ãƒˆ
+        /// </summary>
+        enum enumSheetName
+        {
+            Cover = 0,
+            List,
+            Detail,
+        }
+
+        /// <summary>
+        /// Excel ã‚·ãƒ¼ãƒˆå��ç§°
+        /// </summary>
+        private static readonly Dictionary<enumSheetName, string> s_DicSheetName = new Dictionary<enumSheetName, string>()
+        {
+            { enumSheetName.Cover, "è«‹æ±‚æ›¸ï¼ˆè¡¨ç´™ï¼‰" },
+            { enumSheetName.List, "è«‹æ±‚æ›¸ï¼ˆä¸€è¦§ï¼‰" },
+            { enumSheetName.Detail, "è«‹æ±‚æ›¸ï¼ˆå†…è¨³ï¼‰" },
+        };
+
+        /// <summary>
+        /// å›³å½¢ç½®ã��å ´ã‚·ãƒ¼ãƒˆ
+        /// </summary>
+        private const string s_shapeSheetName = "å›³å½¢ã‚·ãƒ¼ãƒˆ";
+        /// <summary>
+        /// å›³å½¢å��ç§°
+        /// </summary>
+        private const string s_shapeName = "EstimateSeal1";                                    // ç©�ç®—è¦‹ç©�è¡¨ç´™åˆ¤å­�
+        /// <summary>
+        /// å›³å½¢ã‚µã‚¤ã‚ºã€�ç¸¦ãƒ»æ¨ªã€‘ï¼ˆå›³å½¢å��ç§°é †ï¼‰
+        /// </summary>
+        private static float[,] s_ShapeSize = new float[1, 2] { { 25.51f, 25.51f } };         // ç©�ç®—è¦‹ç©�è¡¨ç´™åˆ¤å­�
+        /// <summary>
+        /// ç©�ç®—è¦‹ç©�è¡¨ç´™åˆ¤å­�ãƒ•ã‚©ãƒ³ãƒˆã‚µã‚¤ã‚º
+        /// </summary>
+        private static float[] s_EstimateSeal1FontSize = { 16f, 8f, 8f, 8f, 6f };
+        /// <summary>
+        /// è¡¨ç´™åˆ¤å­�ä½�ç½®(Key:X Value:Y)
+        /// </summary>
+        private static float[,] s_CoverSealPoint = new float[4, 2] {{592.50f, 555.25f},    // ç¤¾é•·
+                                                                    {657.25f, 555.25f},    // æ‰€å±žé•·
+                                                                    {721.00f, 555.25f},    // å–¶æ¥­
+                                                                    {784.00f, 555.25f} };  // æ‹…å½“
+
+        #endregion
+
+        #region å¤‰æ•°
+
+        /// <summary>
+        /// Excelå�°åˆ·ã‚¯ãƒ©ã‚¹ã‚ªãƒ–ã‚¸ã‚§ã‚¯ãƒˆ
+        /// </summary>
+        private UsedExcel m_UsedExcel = null;
+
+        /// <summary>
+        /// ä¿�å­˜æ™‚Excelãƒ‘ã‚¹
+        /// </summary>
+        private string m_SelectSaveExcel = "";
+
+        /// <summary>
+        /// è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿
+        /// </summary>
+        private InvoiceData m_InvData = new InvoiceData();
+
+        /// <summary>
+        /// è«‹æ±‚ãƒ‡ãƒ¼ã‚¿
+        /// </summary>
+        private Dictionary<int, List<RequestData>> m_dicReqData = new Dictionary<int, List<RequestData>>();
+
+        /// <summary>
+        /// å·¥äº‹åŸºæœ¬æƒ…å ±ãƒ‡ãƒ¼ã‚¿
+        /// </summary>
+        private Dictionary<int, ConstructionBaseInfo> m_dicConstructionBaseInfo = new Dictionary<int, ConstructionBaseInfo>();
+
+        /// <summary>
+        /// æ—¥ä»˜å�°åˆ·
+        /// </summary>
+        private bool m_bDatePrintFlg = true;
+
+        /// <summary>
+        /// å�°åˆ·æ—¥ä»˜
+        /// </summary>
+        private DateTime m_bDatePrintOut = DateTime.Now;
+
+        #endregion
+
+        #region ãƒ—ãƒ­ãƒ‘ãƒ†ã‚£
+
+        /// <summary>
+        /// æ—¥ä»˜å�°åˆ·ãƒ•ãƒ©ã‚°
+        /// </summary>
+        public bool DatePrintFlg
+        {
+            get { return m_bDatePrintFlg; }
+            set { m_bDatePrintFlg = value; }
+        }
+
+        /// <summary>
+        /// å�°åˆ·æ—¥ä»˜
+        /// </summary>
+        public DateTime bDatePrintOut
+        {
+            get { return m_bDatePrintOut; }
+            set { m_bDatePrintOut = value; }
+        }
+
+        #endregion
+
+        #region è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿ã�®å�–å¾—
+        /// <summary>
+        /// è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿ã�®å�–å¾—
+        /// </summary>
+        private bool GetInvoiceData()
+        {
+            IOInvoiceData ioInvData = new IOInvoiceData();
+            IORequestHead ioReqHead = new IORequestHead();
+            IORequestData ioReqData = new IORequestData();
+
+            try
+            {
+                string sql = "";
+
+                // è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿ã�®å�–å¾—
+                sql = ioInvData.CreatePrimarykeyString(m_nInvoiceNo);
+                if (ioInvData.SelectAction(sql, ref m_InvData) == false)
+                {
+                    return false;
+                }
+
+                // è«‹æ±‚ãƒ˜ãƒƒãƒ€ã�®å�–å¾—
+                m_lstReqHead.Clear();
+                sql = string.Format(" WHERE InvoiceNo = {0} ORDER BY ReqConstructionCode", m_nInvoiceNo);
+                if (ioReqHead.SelectAction(sql, ref m_lstReqHead) == false)
+                {
+                    return false;
+                }
+
+                foreach (RequestHead ReqHead in m_lstReqHead)
+                {
+                    // è«‹æ±‚ãƒ˜ãƒƒãƒ€ã�®å�–å¾—
+                    sql = string.Format(" WHERE RequestNo = {0} ORDER BY MainConstructionCode", ReqHead.RequestNo);
+                    List<RequestData> lstReqData = new List<RequestData>();
+                    if (ioReqData.SelectAction(sql, ref lstReqData) == false)
+                    {
+                        return false;
+                    }
+
+                    m_dicReqData.Add(ReqHead.RequestNo, lstReqData);
+
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+
+                return false;
+            }
+            finally
+            {
+                ioInvData.close();
+                ioInvData = null;
+                ioReqHead.close();
+                ioReqHead = null;
+                ioReqData.close();
+                ioReqData = null;
+            }
+
+        }
+        #endregion
+
+        #region å·¥äº‹åŸºæœ¬æƒ…å ±ã�®è¿½åŠ 
+        private void AddConstructionBaseInfoDic(ConstructionBaseInfo Info)
+        {
+            ConstructionBaseInfo wrk = null;
+
+            if (m_dicConstructionBaseInfo.TryGetValue(Info.ConstructionCode, out wrk) == false)
+            {
+                m_dicConstructionBaseInfo.Add(Info.ConstructionCode, Info);
+            }
+        }
+        #endregion
+
+        #region å·¥äº‹åŸºæœ¬æƒ…å ±ã�®å�–å¾—
+        /// <summary>
+        /// å·¥äº‹åŸºæœ¬æƒ…å ±ã�®å�–å¾—
+        /// </summary>
+        private bool GetMainConstructionBaseInfo()
+        {
+            IOConstructionBaseInfo ioInfo = new IOConstructionBaseInfo();
+
+            foreach (RequestHead ReqHead in m_lstReqHead)
+            {
+                string sql = ioInfo.CreatePrimarykeyString(ReqHead.ReqConstructionCode);
+                ConstructionBaseInfo info = new ConstructionBaseInfo();
+                if (ioInfo.SelectAction(sql, ref info) == false)
+                {
+                    return false;
+                }
+
+                AddConstructionBaseInfoDic(info);
+            }
+
+            List<int> lstKey = new List<int>(m_dicReqData.Keys);
+            try
+            {
+                foreach (int nRequestNo in lstKey)
+                {
+                    List<RequestData> lstReqData = null;
+
+                    if (m_dicReqData.TryGetValue(nRequestNo, out lstReqData) == false)
+                    {
+                        return false;
+                    }
+
+                    foreach (RequestData ReqData in lstReqData)
+                    {
+                        string sql = ioInfo.CreatePrimarykeyString(ReqData.MainConstructionCode);
+                        ConstructionBaseInfo info = new ConstructionBaseInfo();
+                        if (ioInfo.SelectAction(sql, ref info) == false)
+                        {
+                            return false;
+                        }
+
+                        AddConstructionBaseInfoDic(info);
+                    }
+
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+
+                return false;
+            }
+            finally
+            {
+                ioInfo.close();
+                ioInfo = null;
+            }
+
+        }
+        #endregion
+
+        #region è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿ã�®å��æ˜ 
+        /// <summary>
+        /// è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿ã�®å��æ˜ 
+        /// </summary>
+        private void EntryInvoiceData()
+        {
+            //long lTotalAmount = 0;
+            //long lTaxAmount = 0;
+
+            //foreach (RequestHead ReqHead in m_lstReqHead)
+            //{
+            //    lTotalAmount += ReqHead.RequestTotalAmount;
+            //    lTaxAmount += ReqHead.TaxAmount;
+            //}
+
+            //m_InvData.TotalAmount = lTotalAmount;
+            //m_InvData.TaxAmount = lTaxAmount;
+
+            //m_InvData.RequestDate = m_ExcuteDate;
+
+            //m_InvData.Comment1 = txtComment1.Text;
+            //m_InvData.Comment2 = txtComment2.Text;
+            //m_InvData.Comment3 = txtComment3.Text;
+            //m_InvData.Comment4 = txtComment4.Text;
+            //m_InvData.Comment5 = txtComment5.Text;
+
+            //m_InvData.CompleteFlg = 1;
+
+            //if (UpdateInvoiceData() == false)
+            //{
+            //    return;
+            //}
+        }
+        #endregion
+
+        #region è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿æ›´æ–°
+        private bool UpdateInvoiceData()
+        {
+            IOInvoiceData ioInvData = new IOInvoiceData();
+
+            try
+            {
+                string sql = ioInvData.CreatePrimarykeyString(m_InvData.InvoiceNo);
+                if (ioInvData.UpdateAction(sql, m_InvData) == false)
+                {
+                    return false;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+
+                return false;
+            }
+            finally
+            {
+                ioInvData.close();
+                ioInvData = null;
+            }
+
+        }
+
+        #endregion
+
+        #region å·¥äº‹ãƒ‡ãƒ¼ã‚¿æ›´æ–°
+        /// <summary>
+        /// å·¥äº‹åŸºæœ¬æƒ…å ±ã‚’æ›´æ–°ã�™ã‚‹
+        /// </summary>
+        /// <returns></returns>
+        private bool UpdateConstructionBaseInfo()
+        {
+
+            IOConstructionBaseInfo ioInfo = new IOConstructionBaseInfo();
+            IOConstructionProgressDate ioPrgDate = new IOConstructionProgressDate();
+
+            List<int> lstKeyInfo = new List<int>(m_dicConstructionBaseInfo.Keys);
+
+            Dictionary<int, int> dicCodeWork = new Dictionary<int, int>();
+
+            // ãƒˆãƒ©ãƒ³ã‚¶ã‚¯ã‚·ãƒ§ãƒ³é–‹å§‹
+            ioInfo.beginTran();
+            ioPrgDate.beginTran();
+
+            string sql = "";
+
+            try
+            {
+                foreach (int nConstructionCode in lstKeyInfo)
+                {
+                    int nOldStatus = 0;
+                    ConstructionBaseInfo Info = null;
+
+                    // å·¥äº‹åŸºæœ¬æƒ…å ±ã�®å�–å¾—
+                    if (m_dicConstructionBaseInfo.TryGetValue(nConstructionCode, out Info) == false)
+                    {
+                        ioInfo.rollback();
+                        ioPrgDate.rollback();
+                        return false;
+                    }
+
+                    nOldStatus = Info.ConstructionStatusFlg;
+
+                    // å·¥äº‹çŠ¶æ…‹ã�Œã€Œè«‹æ±‚æº–å‚™ã€�ã�§ã�¯ã�ªã�„å ´å�ˆã�¯å¯¾è±¡å¤–
+                    if (nOldStatus != (int)CommonDefine.StatNumArray.Status9)
+                    {
+                        continue;
+                    }
+
+                    // å·¥äº‹åŸºæœ¬æƒ…å ±ã�§è«‹æ±‚ä¸€æ‹¬ã�§ã�ªã�„å ´å�ˆã�¯å¯¾è±¡å¤–
+                    if (Info.BillingSplitFlg != (int)ConstructionBaseInfo.BillingSplitFlgDef.AllOnBilling)
+                    {
+                        continue;
+                    }
+
+                    // å·¥äº‹çŠ¶æ…‹ãƒ•ãƒ©ã‚°ã‚’ã€Œè«‹æ±‚ç¢ºèª�ã€�ã�«å¤‰æ›´
+                    Info.ConstructionStatusFlg = (int)CommonDefine.StatNumArray.Status10;
+
+                    // å·¥äº‹åŸºæœ¬æƒ…å ±ã‚’æ›´æ–°
+                    sql = ioInfo.CreatePrimarykeyString(nConstructionCode);
+                    if (ioInfo.UpdateAction(sql, Info) == false)
+                    {
+                        ioInfo.rollback();
+                        ioPrgDate.rollback();
+                        return false;
+                    }
+
+                    // æ—¢ã�«ãƒ‡ãƒ¼ã‚¿ã�Œå­˜åœ¨ã�—ã�ªã�„ã�‹ä¸€åº¦æ¤œç´¢ã�—ã�¦ã�Šã��
+                    sql = ioPrgDate.CreatePrimarykeyString(nConstructionCode, Info.ConstructionStatusFlg);
+                    List<ConstructionProgressDate> lstPrgDate = new List<ConstructionProgressDate>();
+                    if (ioPrgDate.SelectAction(sql, ref lstPrgDate) == false)
+                    {
+                        ioInfo.rollback();
+                        ioPrgDate.rollback();
+                        return false;
+                    }
+
+                    // ãƒ‡ãƒ¼ã‚¿ã�Œã�‚ã‚‹å ´å�ˆã�¯ã€�å½“è©²ãƒ‡ãƒ¼ã‚¿ã‚’å‰Šé™¤ã�™ã‚‹
+                    if (lstPrgDate.Count > 0)
+                    {
+                        // è©²å½“ãƒ‡ãƒ¼ã‚¿ã‚’å‰Šé™¤
+                        sql = ioPrgDate.CreatePrimarykeyString(nConstructionCode, Info.ConstructionStatusFlg);
+                        if (ioPrgDate.DeleteAction(sql) == false)
+                        {
+                            ioInfo.rollback();
+                            ioPrgDate.rollback();
+                            return false;
+                        }
+                    }
+
+                    // æ¡ˆä»¶é€²æ�—æ—¥ä»˜ãƒ‡ãƒ¼ã‚¿ã�®æ§‹ç¯‰
+                    ConstructionProgressDate PrgDate = new ConstructionProgressDate();
+
+                    // æ¡ˆä»¶é€²æ�—æ—¥ä»˜ãƒ‡ãƒ¼ã‚¿ã�®è¨­å®š
+                    PrgDate.ConstructionCode = nConstructionCode;
+                    PrgDate.ConstructionStatusFlg = (int)CommonDefine.StatNumArray.Status10;
+                    PrgDate.PreviousStatusFlg = nOldStatus;
+                    PrgDate.ChangeDate = DateTime.Now;
+                    PrgDate.ChangePersonCode = CommonMotions.LoginUserData.PersonCode;
+
+                    // æ¡ˆä»¶é€²æ�—æ—¥ä»˜ãƒ‡ãƒ¼ã‚¿ã‚’æŒ¿å…¥
+                    if (ioPrgDate.InsertAction(PrgDate) == false)
+                    {
+                        ioInfo.rollback();
+                        ioPrgDate.rollback();
+                        return false;
+                    }
+
+                    // å¯¾è±¡å·¥äº‹ã�Œçµ�å�ˆï¼ˆå­�ï¼‰å·¥äº‹ã�®å ´å�ˆ
+                    if (Info.JoinFlg == (int)ConstructionBaseInfo.JoinFlgDef.JoinChildren)
+                    {
+                        // çµ�å�ˆï¼ˆè¦ªï¼‰å·¥äº‹ç•ªå�·ã�®å�–å¾—
+                        int nParentCode = GetJoinParentConstructionCode(nConstructionCode);
+
+                        int nChildCode = 0;
+
+                        // è¦ªå·¥äº‹ç•ªå�·ã�Œç™»éŒ²ã�•ã‚Œã�¦ã�„ã�ªã�„å ´å�ˆã�¯ç™»éŒ²ã�™ã‚‹
+                        if (dicCodeWork.TryGetValue(nParentCode, out nChildCode) == false)
+                        {
+                            // çµ�å�ˆï¼ˆè¦ªï¼‰ã�®å·¥äº‹çŠ¶æ…‹ã‚’æ›´æ–°ã�™ã‚‹ã�Ÿã‚�ã�«å·¥äº‹ç•ªå�·ã‚’é€€é�¿
+                            dicCodeWork.Add(nParentCode, nConstructionCode);
+                        }
+                    }
+
+                }
+
+                List<int> lstKeyLink = new List<int>(dicCodeWork.Keys);
+
+                foreach (int nParentCode in lstKeyLink)
+                {
+                    int nChildCode = 0;
+
+                    if (dicCodeWork.TryGetValue(nParentCode, out nChildCode) == true)
+                    {
+                        // çµ�å�ˆï¼ˆè¦ªï¼‰ã�®å·¥äº‹çŠ¶æ…‹ã‚’å¤‰æ›´
+                        ClsChangeBaseInfoData.SetParentConstrStatus(ioInfo, nChildCode);
+                    }
+                }
+
+                // DBã‚³ãƒŸãƒƒãƒˆ
+                ioInfo.commit();
+                ioPrgDate.commit();
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                ioInfo.close();
+                ioInfo = null;
+                ioPrgDate.close();
+                ioPrgDate = null;
+            }
+        }
+
+        #endregion
+
+        #region DBã‚¢ã‚¯ã‚»ã‚¹å‡¦ç�†
+        #region è«‹æ±‚ãƒ‡ãƒ¼ã‚¿å�–å¾—
+        /// <summary>
+        /// è«‹æ±‚ãƒ‡ãƒ¼ã‚¿å�–å¾—
+        /// </summary>
+        /// <param name="constCode">æœ¬å·¥äº‹ç•ªå�·</param>
+        /// <param name="data"></param>
+        /// <returns></returns>
+        private bool GetRequestData(int constCode, ref RequestData data)
+        {
+            //var cbDB = new IORequestData();
+            try
+            {
+                //// è«‹æ±‚ãƒ‡ãƒ¼ã‚¿å�–å¾—ã‚¯ãƒ©ã‚¹é ˜åŸŸ
+                //var wrk = new List<RequestData>();
+
+                //// è«‹æ±‚ãƒ‡ãƒ¼ã‚¿å�–å¾—SQL
+                //string strSQL = cbDB.CreateSubkeyString(constCode);
+
+                //// è«‹æ±‚ãƒ‡ãƒ¼ã‚¿å�–å¾—
+                //if (!cbDB.SelectAction(strSQL, ref wrk)) return false;
+
+                //if (wrk.Count != 1) return false;
+
+                //data = wrk[0];
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                //cbDB.close(); cbDB = null;
+            }
+
+            return true;
+        }
+        #endregion
+
+        #region è«‹æ±‚æ›¸å�ˆè¨ˆãƒ‡ãƒ¼ã‚¿å�–å¾—
+        /// <summary>
+        /// è«‹æ±‚æ›¸å�ˆè¨ˆãƒ‡ãƒ¼ã‚¿å�–å¾—
+        /// </summary>
+        /// <param name="requestNo"></param>
+        /// <param name="datas"></param>
+        /// <returns></returns>
+        //private bool GetRequestTotalData(int requestNo, ref List<RequestTotalData> datas)
+        //{
+        //    var cbDB = new IORequestTotalData();
+        //    try
+        //    {
+        //        // è«‹æ±‚æ›¸å�ˆè¨ˆãƒ‡ãƒ¼ã‚¿å�–å¾—ã‚¯ãƒ©ã‚¹é ˜åŸŸ
+        //        var wrk = new List<RequestTotalData>();
+
+        //        // è«‹æ±‚æ›¸å�ˆè¨ˆãƒ‡ãƒ¼ã‚¿å�–å¾—SQL
+        //        string strSQL = cbDB.CreatePrimarykeyString(requestNo);
+
+        //        // ã‚½ãƒ¼ãƒˆæ�¡ä»¶è¿½åŠ 
+        //        strSQL += " ORDER BY REQUESTNO, ORDERNO";
+
+        //        // è«‹æ±‚æ›¸å�ˆè¨ˆãƒ‡ãƒ¼ã‚¿å�–å¾—
+        //        if (!cbDB.SelectAction(strSQL, ref wrk)) return false;
+
+        //        // è«‹æ±‚æ›¸å�ˆè¨ˆãƒ‡ãƒ¼ã‚¿å�–å¾—ã‚¯ãƒ©ã‚¹é ˜åŸŸ
+        //        datas = wrk;
+
+        //    }
+        //    catch (Exception ex)
+        //    {
+        //        logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+        //        return false;
+        //    }
+        //    finally
+        //    {
+        //        cbDB.close(); cbDB = null;
+        //    }
+        //    return true;
+        //}
+
+        #endregion
+
+        #region è«‹æ±‚æ˜Žç´°ãƒ‡ãƒ¼ã‚¿å�–å¾—
+        /// <summary>
+        /// è«‹æ±‚æ˜Žç´°ãƒ‡ãƒ¼ã‚¿å�–å¾—
+        /// </summary>
+        /// <param name="requestNo"></param>
+        /// <param name="datas"></param>
+        /// <returns></returns>
+        private bool GetRequestDataDetail(int requestNo, ref Dictionary<int, Dictionary<int, RequestDataDetail>> datas)
+        {
+            var cbDB = new IORequestDataDetail();
+            try
+            {
+                //// è«‹æ±‚æ˜Žç´°ãƒ‡ãƒ¼ã‚¿å�–å¾—ã‚¯ãƒ©ã‚¹é ˜åŸŸ
+                //var wrk = new List<RequestDataDetail>();
+
+                //// è«‹æ±‚æ˜Žç´°ãƒ‡ãƒ¼ã‚¿å�–å¾—SQL
+                //string strSQL = cbDB.CreatePrimarykeyString(requestNo);
+
+                //// è«‹æ±‚æ˜Žç´°ãƒ‡ãƒ¼ã‚¿å�–å¾—
+                //if (!cbDB.SelectAction(strSQL, ref wrk)) return false;
+
+                //foreach (var record in wrk)
+                //{
+                //    if (!datas.ContainsKey(record.ConstructionCode))
+                //        datas[record.ConstructionCode] = new Dictionary<int, RequestDataDetail>();
+                //    datas[record.ConstructionCode][record.OrderNo] = record;
+                //}
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                cbDB.close(); cbDB = null;
+            }
+            return true;
+        }
+        #endregion
+
+        #region å·¥äº‹åŸºæœ¬æƒ…å ±å�–å¾—
+        /// <summary>
+        /// å·¥äº‹åŸºæœ¬æƒ…å ±å�–å¾—
+        /// </summary>
+        /// <param name="constructionCode"></param>
+        /// <param name="data"></param>
+        /// <returns></returns>
+        private bool GetConstructionBaseInfo(int constructionCode, ref ConstructionBaseInfo data)
+        {
+            var cbDB = new IOConstructionBaseInfo();
+            try
+            {
+                // å·¥äº‹åŸºæœ¬æƒ…å ±å�–å¾—ã‚¯ãƒ©ã‚¹é ˜åŸŸ
+                var wrk = new ConstructionBaseInfo();
+
+                // å·¥äº‹åŸºæœ¬æƒ…å ±å�–å¾—SQL
+                string strSQL = cbDB.CreatePrimarykeyString(constructionCode);
+
+                // å·¥äº‹åŸºæœ¬æƒ…å ±å�–å¾—
+                if (!cbDB.SelectAction(strSQL, ref wrk)) return false;
+
+                // å·¥äº‹åŸºæœ¬æƒ…å ±å�–å¾—ã‚¯ãƒ©ã‚¹é ˜åŸŸ
+                data = wrk;
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                cbDB.close(); cbDB = null;
+            }
+            return true;
+        }
+        #endregion
+
+        #region çµ�å�ˆè¦ªå·¥äº‹ç•ªå�·ã�®å�–å¾—
+        private int GetJoinParentConstructionCode(int nConstructionCode)
+        {
+            int nParentCode = -1;
+            IOConstructionLink ioLink = new IOConstructionLink();
+
+            try
+            {
+                string sql = string.Format(" WHERE FluctuationCode = {0} AND LinkType = 1 ", nConstructionCode);
+                List<ConstructionLink> lstWork = new List<ConstructionLink>();
+
+                if (ioLink.SelectAction(sql, ref lstWork) == false)
+                {
+                    return nParentCode;
+                }
+
+                foreach (ConstructionLink Link in lstWork)
+                {
+                    nParentCode = Link.ConstructionCode;
+                    break;
+                }
+                return nParentCode;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+                return -1;
+            }
+            finally
+            {
+                ioLink.close();
+                ioLink = null;
+            }
+
+        }
+        #endregion
+
+        #region å·¥äº‹åŸºæœ¬æƒ…å ±æ˜Žç´°
+        /// <summary>
+        /// å·¥äº‹åŸºæœ¬æƒ…å ±æ˜Žç´°ã‚’å·¥äº‹åŸºæœ¬æƒ…å ±æ˜Žç´°ãƒ†ãƒ¼ãƒ–ãƒ«ã�‹ã‚‰å·¥äº‹ç•ªå�·ã‚’ã‚­ãƒ¼ã�«å�–å¾—ã�™ã‚‹é–¢æ•°
+        /// </summary>
+        /// <param name="datas"></param>
+        /// <returns></returns>
+        private bool GetConstructionBaseInfoDetail(List<int> lstConstCode, ref Dictionary<int, Dictionary<int, string>> datas)
+        {
+            var sbDB = new IOConstructionBaseInfoDetail();
+            try
+            {
+                // å·¥äº‹åŸºæœ¬æƒ…å ±æ˜Žç´°å�–å¾—ã‚¯ãƒ©ã‚¹é ˜åŸŸ
+                var wrk = new List<ConstructionBaseInfoDetail>();
+
+                // å·¥äº‹åŸºæœ¬æƒ…å ±æ˜Žç´°å�–å¾—SQL
+                string strSQL = " Where ConstructionCode in ( ";
+                foreach (int constCode in lstConstCode)
+                {
+                    strSQL += string.Format((lstConstCode.IndexOf(constCode) == 0) ? " {0}" : ", {0}", constCode);
+                }
+                strSQL += " )";
+
+                // å·¥äº‹åŸºæœ¬æƒ…å ±æ˜Žç´°å�–å¾—
+                if (!sbDB.SelectAction(strSQL, ref wrk)) return false;
+
+                datas.Clear();
+
+                foreach (var record in wrk)
+                {
+                    if (!datas.ContainsKey(record.ConstructionCode))
+                        datas[record.ConstructionCode] = new Dictionary<int, string>();
+                    datas[record.ConstructionCode][record.DetailNo] = record.DetailString;
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                sbDB.close();
+                sbDB = null;
+            }
+
+            return true;
+        }
+        #endregion
+
+        #region å·¥äº‹å¢—æ¸›æƒ…å ±å�–å¾—
+        /// <summary>
+        /// å·¥äº‹å¢—æ¸›æƒ…å ±å�–å¾—
+        /// </summary>
+        /// <param name="constructionCode"></param>
+        /// <param name="datas"></param>
+        /// <returns></returns>
+        private bool GetConstructionLink(int constructionCode, ref List<int> datas)
+        {
+            var sbDB = new IOConstructionLink();
+            try
+            {
+                // å·¥äº‹å¢—æ¸›æƒ…å ±å�–å¾—ã‚¯ãƒ©ã‚¹é ˜åŸŸ
+                var wrk = new List<ConstructionLink>();
+
+                // å·¥äº‹å¢—æ¸›æƒ…å ±å�–å¾—SQL
+                string strSQL = sbDB.CreatePrimarykeyString(constructionCode);
+
+                // ã‚½ãƒ¼ãƒˆæ�¡ä»¶è¿½åŠ 
+                strSQL += " ORDER BY FLUCTUATIONCODE";
+
+                // å·¥äº‹å¢—æ¸›æƒ…å ±å�–å¾—
+                if (!sbDB.SelectAction(strSQL, ref wrk)) return false;
+
+                foreach (var record in wrk)
+                {
+                    datas.Add(record.FluctuationCode);
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                sbDB.close();
+                sbDB = null;
+            }
+
+            return true;
+        }
+        #endregion
+
+        #region å·¥äº‹è©³ç´°å�°å¸³ãƒ‡ãƒ¼ã‚¿å�–å¾—
+        /// <summary>
+        /// å·¥äº‹è©³ç´°å�°å¸³ãƒ‡ãƒ¼ã‚¿å�–å¾—
+        /// </summary>
+        /// <param name="constructionCode"></param>
+        /// <param name="data"></param>
+        /// <returns></returns>
+        private bool GetConstructionLedger(int constructionCode, ref ConstructionLedger data)
+        {
+            var sbDB = new IOConstructionLedger();
+            try
+            {
+                // å·¥äº‹è©³ç´°å�°å¸³ãƒ‡ãƒ¼ã‚¿å�–å¾—ã‚¯ãƒ©ã‚¹é ˜åŸŸ
+                var wrk = new ConstructionLedger();
+
+                // å·¥äº‹è©³ç´°å�°å¸³ãƒ‡ãƒ¼ã‚¿å�–å¾—SQL
+                string strSQL = sbDB.CreatePrimarykeyString(constructionCode);
+
+                // å·¥äº‹è©³ç´°å�°å¸³ãƒ‡ãƒ¼ã‚¿å�–å¾—
+                if (!sbDB.SelectAction(strSQL, ref wrk)) return false;
+
+                data = wrk;
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                sbDB.close();
+                sbDB = null;
+            }
+
+            return true;
+        }
+        #endregion
+        #endregion
+
+        #region å�°åˆ·ãƒ¡ã‚¤ãƒ³
+        /// <summary>
+        /// å�°åˆ·ãƒ¡ã‚¤ãƒ³
+        /// </summary>
+        /// <param name="bPrint">true:å�°åˆ·ã�®ã�¿,false:ä¿�å­˜ã�®ã�¿</param>
+        public void PrintMain(bool bPrint)
+        {
+            try
+            {
+                // å�°åˆ·ã‚¯ãƒ©ã‚¹
+                m_UsedExcel = new UsedExcel();
+
+                // ã‚¨ã‚¯ã‚»ãƒ«ãƒ–ãƒƒã‚¯ã‚ªãƒ¼ãƒ—ãƒ³
+                if (!m_UsedExcel.ExcelBookOpen(System.Environment.CurrentDirectory + s_ExcelRequestSheetFileName))
+                {
+                    return;
+                }
+
+                // è¡¨ç´™å�°åˆ·
+                CommonDefine.RetunAnswer rtAns = PrintCover();
+                if (rtAns != CommonDefine.RetunAnswer.Answer0)
+                {
+                    return;
+                }
+
+                // ä¸€è¦§å�°åˆ·
+                rtAns = PrintList();
+                if (rtAns != CommonDefine.RetunAnswer.Answer0)
+                {
+                    return;
+                }
+
+                int no = 1;
+                foreach (RequestHead ReqHead in m_lstReqHead)
+                {
+                    List<RequestData> lstReqData = null;
+                    if (m_dicReqData.TryGetValue(ReqHead.RequestNo, out lstReqData) == false)
+                    {
+                        return;
+                    }
+
+                    foreach (RequestData ReqData in lstReqData)
+                    {
+                        ConstructionBaseInfo Info = null;
+
+                        if (m_dicConstructionBaseInfo.TryGetValue(ReqData.MainConstructionCode, out Info) == false)
+                        {
+                            return;
+                        }
+
+                        long lRequestAmount = ReqData.RequestAmount0;
+                        lRequestAmount += ReqData.RequestAmount1;
+                        lRequestAmount += ReqData.RequestAmount2;
+                        lRequestAmount += ReqData.RequestAmount3;
+                        lRequestAmount += ReqData.RequestAmount4;
+                        lRequestAmount += ReqData.RequestAmount5;
+                        lRequestAmount += ReqData.RequestAmount6;
+                        lRequestAmount += ReqData.UnpaidAmount;
+
+                        if (lRequestAmount == 0)
+                        {
+                            continue;
+                        }
+
+                        rtAns = PrintDetail(no, ReqHead, ReqData, Info);
+                        if (rtAns != CommonDefine.RetunAnswer.Answer0)
+                        {
+                            return;
+                        }
+                    }
+
+                }
+
+                if (bPrint)
+                {
+                    // å�°åˆ·å‡¦ç�†
+                    m_UsedExcel.ExcelSheetPrint();
+                }
+                else
+                {
+                    // ä¿�å­˜å‡¦ç�†
+                    SaveExcelFile();
+                }
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+            finally
+            {
+                // Excelé–‹æ”¾
+                if (m_UsedExcel != null)
+                {
+                    m_UsedExcel.ExcelBookClose();
+                }
+                m_UsedExcel = null;
+
+                // ã‚¬ãƒ¼ãƒ™ãƒ¼ã‚¸ã‚³ãƒ¬ã‚¯ãƒˆ
+                GC.Collect();
+            }
+
+        }
+        #endregion
+
+        #region Excelãƒ•ã‚¡ã‚¤ãƒ«ä¿�å­˜å‡¦ç�†
+        /// <summary>
+        /// Excelãƒ•ã‚¡ã‚¤ãƒ«ä¿�å­˜å‡¦ç�†
+        /// </summary>
+        private void SaveExcelFile()
+        {
+            try
+            {
+                string filePath = @m_SelectSaveExcel;
+
+                // ãƒ•ã‚¡ã‚¤ãƒ«ãƒ‘ã‚¹ã�®å­˜åœ¨ã‚’ãƒ�ã‚§ãƒƒã‚¯
+                if (CommonMotions.ChkDirPath(filePath, true))
+                {
+                    // ãƒ•ã‚¡ã‚¤ãƒ«å��ã‚’ä½œæˆ�
+                    string wrkFile = m_InvData.RequestName + "æ§˜ è«‹æ±‚æ›¸";
+
+                    // ãƒ•ã‚¡ã‚¤ãƒ«å��ã�«ä½¿ç”¨ã�§ã��ã�ªã�„æ–‡å­—ã‚’å�–ã‚Šé™¤ã��
+                    foreach (var badCh in m_UsedExcel.ExcelBadCharcter)
+                    {
+                        wrkFile = wrkFile.Replace(badCh, "");
+                    }
+
+                    // ãƒ•ã‚¡ã‚¤ãƒ«å��ä½œæˆ�
+                    filePath += @"\" + @wrkFile;
+
+                    // ãƒ•ã‚¡ã‚¤ãƒ«ä¿�å­˜
+                    m_UsedExcel.SaveSwitch = true;
+                    m_UsedExcel.ExcelSaveBook(filePath);
+
+                }
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+
+        }
+        #endregion
+
+        #region ã‚¨ãƒªã‚¢ã‚¹ã‚’ä»˜ã�‘ã�Ÿæ‹…å½“è€…ãƒžã‚¹ã‚¿ã�®ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰æ–‡ã‚’ä½œæˆ�ã�™ã‚‹
+        /// <summary>
+        /// ã‚¨ãƒªã‚¢ã‚¹ã‚’ä»˜ã�‘ã�Ÿæ‹…å½“è€…ãƒžã‚¹ã‚¿ã�®ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰æ–‡ã‚’ä½œæˆ�ã�™ã‚‹
+        /// </summary>
+        /// <param name="Alias"></param>
+        /// <param name="strSQL"></param>
+        private string CreatePersonSQL(string Alias)
+        {
+            try
+            {
+                StringBuilder strcmd = new StringBuilder();
+
+                bool bColFirst = true;
+                string strWork = string.Empty;
+                foreach (var gender in Enum.GetValues(typeof(IOMPersonInCharge.ColumnCnt)))
+                {
+                    strWork = gender.ToString();
+                    if (!bColFirst) strcmd.Append(", ");
+                    if (strWork.Equals("StartDate") || strWork.Equals("EndDate"))
+                    {
+                        strcmd.AppendFormat(" DATE_FORMAT({0}{1}, '%Y/%m/%d')", Alias, strWork);
+                    }
+                    else if (strWork.Equals("EntryDate") || strWork.Equals("UpdateDate"))
+                    {
+                        strcmd.AppendFormat(" DATE_FORMAT({0}{1}, '%Y/%m/%d %H:%i:%s')", Alias, strWork);
+                    }
+                    else
+                    {
+                        strcmd.AppendFormat(" {0}{1}", Alias, strWork);
+                    }
+                    bColFirst = false;
+                }
+
+                return strcmd.ToString();
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+                return string.Empty;
+            }
+        }
+        #endregion
+
+        #region è¡¨ç´™å�°é‘‘è¡¨ç¤º
+        /// <summary>
+        ///  è¡¨ç´™å�°é‘‘è¡¨ç¤º
+        /// </summary>
+        private void PrintCoverSeal(int PersonCode)
+        {
+            IOMPersonInCharge picDB = new IOMPersonInCharge();
+            IOProcessApproval paDB = new IOProcessApproval();
+            try
+            {
+                ArrayList arlist = new ArrayList();
+
+                // æ‰¿èª�ãƒ‡ãƒ¼ã‚¿èª­è¾¼
+                StringBuilder strSQLSeal = new StringBuilder();
+                strSQLSeal.Append("SELECT");
+                strSQLSeal.Append(CreatePersonSQL("B."));
+                strSQLSeal.Append(", C.SECRANK FROM PROCESSAPPROVAL A, PERSONINCHARGEMASTER B, SECURITYMASTER C");
+                strSQLSeal.Append(paDB.CreatePrimarykeyString(m_lstReqHead[0].ReqConstructionCode, (int)ClsExcute.ApprovalListNo.OrderBillingApproval, m_lstReqHead[0].OrderNo));
+                strSQLSeal.Append(" AND A.PERSONCODE = B.PERSONCODE");
+                strSQLSeal.Append(" AND C.SECCODE = B.SECCODE");
+                strSQLSeal.Append(" Order By C.SecRank ASC");
+                if (!paDB.ExecuteReader(strSQLSeal.ToString(), ref arlist)) return;
+
+                // å�°åˆ·ãƒ†ãƒ¼ãƒ–ãƒ«ä½œæˆ�
+                int[] PorsonCode = new int[4] { 0, 0, 0, 0 };
+                List<string> NameTable = new List<string>();
+                for (int i = 0; i < PorsonCode.Length; i++) NameTable.Add("");
+                string[] OrderOfPrecedenceTable = new string[4];
+
+                int PersonDataCnt = Enum.GetNames(typeof(IOMPersonInCharge.ColumnCnt)).Length;
+                // æ‰¿èª�ãƒ‡ãƒ¼ã‚¿ã‚ˆã‚Šæ‹…å½“è€…ã��ã�®ä»–ã‚’å�–å¾—ã�™ã‚‹
+                for (int i = 0; i < arlist.Count; i++)
+                {
+                    // ã‚¨ã‚¯ã‚»ãƒ«ã�®æž ã‚ˆã‚Šå¤šã�„å ´å�ˆã�¯å‡¦ç�†ã‚’æŠœã�‘ã‚‹
+                    if (i > 3) break;
+
+                    object[] readObj = (object[])arlist[i];
+                    PersonInChargeMaster PersonRec = new PersonInChargeMaster();
+                    picDB.Reader2Struct(readObj, ref PersonRec);
+
+                    // ã‚»ã‚­ãƒ¥ãƒªãƒ†ã‚£ãƒ‡ãƒ¼ã‚¿ãƒ�ã‚§ãƒƒã‚¯
+                    int SecRank = CommonMotions.cnvInt(readObj[PersonDataCnt]);
+                    int SRank = (int)CommonDefine.SecurityRankPos.SpecialAuthority;     // ç‰¹åˆ¥æ¨©é™�
+                    int FRank = (int)CommonDefine.SecurityRankPos.FreeAuthority;        // çµ±æ‹¬è€…æ¨©é™�
+                    int LRank = (int)CommonDefine.SecurityRankPos.LimitedAuthority;     // æ‰€å±žé•·æ¨©é™�
+
+                    // æ‹…å½“è€…ä»¥å¤–ã�¯å½¹è�·ã�Œã�‚ã‚‹
+                    if (SecRank == CommonDefine.SecurityRankList[SRank].Key
+                        || SecRank == CommonDefine.SecurityRankList[FRank].Key
+                        || SecRank == CommonDefine.SecurityRankList[LRank].Key)
+                    {
+                        // ã‚³ãƒ¼ãƒ‰ã�¨å��å‰�ã�¨å½¹è�·ã‚’å�–å¾—ã�™ã‚‹
+                        PorsonCode[i] = PersonRec.PersonCode;
+                        NameTable[i] = PersonRec.SealPrintName;
+                        // 7æ–‡å­—ä»¥ä¸Šã�¯æ–‡å­—ã�Œè¦‹ã�ˆã�ªã�„ã�®ã�§çœ�ç•¥
+                        if (PersonRec.DisplayString.Length > 7)
+                        {
+                            OrderOfPrecedenceTable[i] = PersonRec.DisplayString.Substring(0, 7);
+                        }
+                        else if (PersonRec.DisplayString.Length < 1)
+                        {
+                            OrderOfPrecedenceTable[i] = "æ‹…ã€€å½“";
+                        }
+                        else
+                        {
+                            OrderOfPrecedenceTable[i] = PersonRec.DisplayString;
+                        }
+                    }
+                    else
+                    {   // æ‹…å½“è€…
+                        // ã‚³ãƒ¼ãƒ‰ã�¨å��å‰�ã‚’å�–å¾—ã�™ã‚‹
+                        PorsonCode[3] = PersonRec.PersonCode;
+                        NameTable[3] = PersonRec.SealPrintName;
+                        OrderOfPrecedenceTable[3] = "æ‹…ã€€å½“";
+                    }
+                }
+                // ãƒ†ãƒ¼ãƒ–ãƒ«å†…ã�«å�Œã�˜ã‚³ãƒ¼ãƒ‰ã�Œç„¡ã�„ã�‹å¾Œã�‹ã‚‰èª¿ã�¹ã‚‹
+                for (int i = 0; i < PorsonCode.Length - 1; i++)
+                {
+                    if (PorsonCode[i] == 0) continue;
+                    for (int ii = 0; ii < PorsonCode.Length; ii++)
+                    {
+                        if (i == ii) continue;
+                        if (PorsonCode[i] != PorsonCode[ii]) continue;
+
+                        PorsonCode[ii] = 0;
+                        NameTable[ii] = string.Empty;
+                        OrderOfPrecedenceTable[ii] = string.Empty;
+                        break;
+                    }
+                }
+
+                // å�°é‘‘ã‚’æ��ç”»ã�™ã‚‹
+                OfficeShapeDefine shapedef = new OfficeShapeDefine();
+                shapedef.ShapeSheetName = s_shapeSheetName;     // å›³å½¢ã‚·ãƒ¼ãƒˆå��ç§°
+                shapedef.ShapeName = s_shapeName;               // å›³å½¢å��ç§°
+                shapedef.ShapeWidth = s_ShapeSize[0, 0];        // å›³å½¢æ��ç”»ã‚µã‚¤ã‚º Width
+                shapedef.ShapeHeight = s_ShapeSize[0, 1];       // å›³å½¢æ��ç”»ã‚µã‚¤ã‚º Height
+
+                for (int i = 0; i < 4; i++)
+                {
+                    // 
+                    if (PorsonCode[i] != 0)
+                    {
+                        shapedef.ShapeDrowPointX = s_CoverSealPoint[i, 0];          // å›³å½¢æ��ç”»ä½�ç½® X
+                        shapedef.ShapeDrowPointY = s_CoverSealPoint[i, 1];          // å›³å½¢æ��ç”»ä½�ç½® Y
+                        shapedef.DrowText = NameTable[i];                           // æ��ç”»æ–‡å­—åˆ—
+                        int ifontSize = NameTable[i].Length - 1;
+                        if (ifontSize > 4) ifontSize = 4;
+                        shapedef.FontSize = s_EstimateSeal1FontSize[ifontSize];     // ãƒ•ã‚©ãƒ³ãƒˆã‚µã‚¤ã‚º
+                        // å›³å½¢æ��ç”»
+                        m_UsedExcel.ExcelCopyShape(shapedef);
+                    }
+                    // å½¹è�·ã‚’å�°å­—ã�™ã‚‹(Mï½ž)
+                    int orgNumber = 11 + i;
+                    string strAlpha = CommonMotions.cnvNumberToAlphaCharacter(orgNumber);
+                    m_UsedExcel.ExcelCellSet(string.Format("{0}25", strAlpha), OrderOfPrecedenceTable[i]);
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+            finally
+            {
+                paDB.close(); paDB = null;
+                picDB.close(); picDB = null;
+            }
+        }
+        #endregion
+
+        #region è«‹æ±‚æ›¸(è¡¨ç´™)ä½œæˆ�
+        /// <summary>
+        /// è«‹æ±‚æ›¸(è¡¨ç´™)ä½œæˆ�
+        /// </summary>
+        /// <returns></returns>
+        private CommonDefine.RetunAnswer PrintCover()
+        {
+            try
+            {
+                //// è«‹æ±‚æ›¸è¡¨ç´™ã‚·ãƒ¼ãƒˆã�®å�–å¾—
+                m_UsedExcel.ExcelSheetGet(s_DicSheetName[enumSheetName.Cover]);
+
+                //// è«‹æ±‚æ›¸No(4è¡Œç›® Nåˆ—)
+                string strInvNo = (m_InvData.InvoiceNo / 1000).ToString();
+                strInvNo += "-";
+                strInvNo += (m_InvData.InvoiceNo % 1000).ToString("00");
+
+                ExcelPrintData InvNoData = new ExcelPrintData();
+                InvNoData.AddPrintData("N", 3, strInvNo).ExcelCellSet(m_UsedExcel);
+
+
+                //// â‘¢ è«‹æ±‚æ—¥(5è¡Œç›® Måˆ—)
+                if (m_bDatePrintFlg == true)
+                {
+                    ExcelPrintData reqDate = new ExcelPrintData();
+                    reqDate.AddPrintData("M", 4, m_bDatePrintOut.ToString("yyyy/MM/dd")).ExcelCellSet(m_UsedExcel);
+                }
+                else
+                {
+                    ExcelPrintData reqDate = new ExcelPrintData();
+                    reqDate.AddPrintData("M", 4, "ã€€ã€€å¹´ã€€ã€€æœˆã€€ã€€æ—¥").ExcelCellSet(m_UsedExcel);
+                }
+
+                //// â‘£ è«‹æ±‚å…ˆå��ç§°(9è¡Œç›® Cåˆ—)
+                ExcelPrintData nameData = new ExcelPrintData();
+                string str = m_InvData.RequestName + "ã€€æ§˜";
+                nameData.AddPrintData("C", 8, str).ExcelCellSet(m_UsedExcel);
+
+                //// â‘¤ è«‹æ±‚é‡‘é¡�(13è¡Œç›® Cåˆ—)
+                ExcelPrintData priceData = new ExcelPrintData();
+                priceData.AddPrintData("C", 12, m_InvData.TotalAmount.ToString("#,0")).ExcelCellSet(m_UsedExcel);
+
+                //// â‘¥ æ¶ˆè²»ç¨Ž(14è¡Œç›® Cåˆ—)
+                ExcelPrintData taxData = new ExcelPrintData();
+                taxData.AddPrintData("C", 13, m_InvData.TaxAmount.ToString("#,0")).ExcelCellSet(m_UsedExcel);
+
+                //// å·¥äº‹å��(16è¡Œç›® Dåˆ—)
+                //                ExcelPrintData cnstnameData = new ExcelPrintData();
+                //                cnstnameData.AddPrintData("D", 15, m_lstReqHead[0].ReqConstructionName).ExcelCellSet(m_UsedExcel);
+
+                //// ä¼šç¤¾å��
+                string strCompany = CommonMotions.SystemMasterData.CompanyName1;
+                if (CommonMotions.SystemMasterData.CompanyName2 != string.Empty)
+                {
+                    strCompany += "ã€€" + CommonMotions.SystemMasterData.CompanyName2;
+                }
+
+                // ä»£è¡¨è€…å��
+                string strPresident = string.Format("{0} {1}", CommonMotions.SystemMasterData.CEOPositionName.Trim()
+                                                                , CommonMotions.SystemMasterData.CEOName.Trim());
+
+                //// éƒµä¾¿ç•ªå�·
+                string strZip = "ã€’" + CommonMotions.SystemMasterData.ZipCode;
+
+                //// ä½�æ‰€
+                string strAddr = CommonMotions.SystemMasterData.Address1;
+                if (CommonMotions.SystemMasterData.Address2 != string.Empty)
+                {
+                    strAddr += CommonMotions.SystemMasterData.Address2;
+                }
+                if (CommonMotions.SystemMasterData.Address3 != string.Empty)
+                {
+                    strAddr += CommonMotions.SystemMasterData.Address3;
+                }
+
+                //// TEL/FAX
+
+                string strTelFax = "";
+
+                if (CommonMotions.SystemMasterData.PhoneNumber != string.Empty)
+                {
+                    strTelFax = "TEL " + CommonMotions.SystemMasterData.PhoneNumber + "(ä»£)";
+                }
+                if (CommonMotions.SystemMasterData.FaxNumber != string.Empty)
+                {
+                    if (strTelFax.Length > 0)
+                    {
+                        strTelFax += " ";
+                    }
+                    strTelFax += "FAX " + CommonMotions.SystemMasterData.FaxNumber;
+                }
+                //// URL
+                string strUrl = CommonMotions.SystemMasterData.HomePageURL;
+
+                ExcelPrintData companyData = new ExcelPrintData();
+                companyData.AddPrintData("L", 17, strCompany);                              // ä¼šç¤¾å��(18è¡Œç›® Låˆ—)           
+                companyData.AddPrintData("L", 18, strPresident);                            // ä»£è¡¨è€…å��(19è¡Œç›® Låˆ—)           
+                companyData.AddPrintData("L", 19, strZip);                                  // éƒµä¾¿ç•ªå�·(20è¡Œç›® Låˆ—) 
+                companyData.AddPrintData("L", 20, strAddr);                                 // ä½�æ‰€(21è¡Œç›® Låˆ—)           
+                companyData.AddPrintData("L", 21, strTelFax);                               // TEL/FAX(22è¡Œç›® Låˆ—)           
+                companyData.AddPrintData("L", 22, strUrl);                                  // URL(23è¡Œç›® Låˆ—)           
+                companyData.ExcelCellSet(m_UsedExcel);
+
+                ExcelPrintData commentData = new ExcelPrintData();
+                commentData.AddPrintData("C", 17, m_InvData.Comment1);                              // ã‚³ãƒ¡ãƒ³ãƒˆ1(18è¡Œç›® Cåˆ—)           
+                commentData.AddPrintData("C", 18, m_InvData.Comment2);                              // ã‚³ãƒ¡ãƒ³ãƒˆ2(19è¡Œç›® Cåˆ—)           
+                commentData.AddPrintData("C", 19, m_InvData.Comment3);                              // ã‚³ãƒ¡ãƒ³ãƒˆ3(20è¡Œç›® Cåˆ—)           
+                commentData.AddPrintData("C", 20, m_InvData.Comment4);                              // ã‚³ãƒ¡ãƒ³ãƒˆ4(21è¡Œç›® Cåˆ—)           
+                commentData.AddPrintData("C", 21, m_InvData.Comment5);                              // ã‚³ãƒ¡ãƒ³ãƒˆ5(22è¡Œç›® Cåˆ—)           
+                commentData.ExcelCellSet(m_UsedExcel);
+
+                ConstructionBaseInfo Info = null;
+                m_dicConstructionBaseInfo.TryGetValue(m_lstReqHead[0].ReqConstructionCode, out Info);
+
+                // å�°é‘‘æ��ç”»
+                PrintCoverSeal(Info.ConstructionPersonCode);
+
+                return CommonDefine.RetunAnswer.Answer0;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+                return CommonDefine.RetunAnswer.Answer1;
+            }
+        }
+        #endregion
+
+        #region è«‹æ±‚æ›¸(ä¸€è¦§)ä½œæˆ�
+        /// <summary>
+        /// è«‹æ±‚æ›¸(ä¸€è¦§)ä½œæˆ�
+        /// </summary>
+        /// <returns></returns>
+        private CommonDefine.RetunAnswer PrintList()
+        {
+            try
+            {
+                int trow = 4;
+                ExcelPrintData ExcelPrnData = null;
+
+                //// è«‹æ±‚æ›¸è¡¨ç´™ã‚·ãƒ¼ãƒˆã�®å�–å¾—
+                m_UsedExcel.ExcelSheetGet(s_DicSheetName[enumSheetName.List]);
+
+                List<int> lstKey = new List<int>(m_dicReqData.Keys);
+
+                foreach (int nReqNo in lstKey)
+                {
+                    List<RequestData> lstData = null;
+
+                    if (m_dicReqData.TryGetValue(nReqNo, out lstData) == false)
+                    {
+                        continue;
+                    }
+
+                    foreach (RequestData ReqData in lstData)
+                    {
+                        ConstructionBaseInfo Info = null;
+
+                        if (m_dicConstructionBaseInfo.TryGetValue(ReqData.MainConstructionCode, out Info) == false)
+                        {
+                            continue;
+                        }
+
+                        string strname = (ReqData.MainConstructionCode / 100).ToString();
+                        strname += "-";
+                        strname += (ReqData.MainConstructionCode % 100).ToString("00");
+                        strname += "\r\n";
+                        strname += ReqData.ConstructionName;
+
+                        ExcelPrnData = new ExcelPrintData();
+                        ExcelPrnData.AddPrintData("B", trow, strname);             // å·¥äº‹ä»¶å��
+                        ExcelPrnData.AddPrintData("C", trow, string.Format("{0}å¹´{1}æœˆ{2}æ—¥"
+                                                                        , Info.ConstructionPeriodStart.Year
+                                                                        , Info.ConstructionPeriodStart.Month.ToString("00")
+                                                                        , Info.ConstructionPeriodStart.Day.ToString("00")));    // å·¥æœŸé–‹å§‹
+
+                        string EndDate = string.Empty;
+                        string DateDescription = string.Empty;
+                        if (Info.RevCompleteDate != DateTime.MinValue)
+                        {   // æ¤œæŸ»æ˜¯æ­£å®Œäº†æ—¥
+                            EndDate = string.Format("{0}å¹´{1}æœˆ{2}æ—¥"
+                                                                    , Info.RevCompleteDate.Year
+                                                                    , Info.RevCompleteDate.Month.ToString("00")
+                                                                    , Info.RevCompleteDate.Day.ToString("00"));
+                            DateDescription = "ï¼ˆç�¾å ´æ˜¯æ­£å®Œäº†æ—¥ï¼‰";
+                        }
+                        else
+                        {   // è«‹æ±‚ç¢ºèª�æ—¥
+                            EndDate = string.Format("{0}å¹´{1}æœˆ{2}æ—¥"
+                                                                    , Info.BillingDate.Year
+                                                                    , Info.BillingDate.Month.ToString("00")
+                                                                    , Info.BillingDate.Day.ToString("00"));
+                            DateDescription = "ï¼ˆè«‹æ±‚æ›¸ç¢ºèª�æ—¥ï¼‰";
+                        }
+                        ExcelPrnData.AddPrintData("C", trow + 1, string.Format("ï½ž {0}", EndDate));                 // å·¥æœŸçµ‚äº†
+                        ExcelPrnData.AddPrintData("C", trow + 2, DateDescription);                                  // çµ‚äº†æ—¥èª¬æ˜Ž
+
+                        long lAmount = ReqData.RequestAmount0;
+                        lAmount += ReqData.RequestAmount1;
+                        lAmount += ReqData.RequestAmount2;
+                        lAmount += ReqData.RequestAmount3;
+                        lAmount += ReqData.RequestAmount4;
+                        lAmount += ReqData.RequestAmount5;
+                        lAmount += ReqData.RequestAmount6;
+                        lAmount += ReqData.TaxAmount;
+                        lAmount += ReqData.UnpaidAmount;
+
+                        ExcelPrnData.AddPrintData("D", trow, lAmount.ToString("#,0"));                                  // è«‹æ±‚é‡‘é¡�
+
+                        ExcelPrnData.AddPrintData("E", trow, ReqData.Note);                                             // å‚™è€ƒ
+                        ExcelPrnData.ExcelCellSet(m_UsedExcel);
+
+                        trow += 3;
+
+                    }
+                }
+
+                return CommonDefine.RetunAnswer.Answer0;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+                return CommonDefine.RetunAnswer.Answer1;
+            }
+        }
+        #endregion
+
+        #region è«‹æ±‚æ›¸(å†…è¨³)ä½œæˆ�
+        /// <summary>
+        /// è«‹æ±‚æ›¸(å†…è¨³)ä½œæˆ�
+        /// </summary>
+        /// <param name="dicReqDetail"></param>
+        /// <param name="constLedger"></param>
+        /// <param name="lstConstLink"></param>
+        /// <returns></returns>
+        private CommonDefine.RetunAnswer PrintDetail(int no, RequestHead ReqHead, RequestData ReqData, ConstructionBaseInfo Info)
+        {
+            try
+            {
+                // è«‹æ±‚æ›¸å†…è¨³ã‚·ãƒ¼ãƒˆã�®å�–å¾—
+                m_UsedExcel.ExcelSheetGet(s_DicSheetName[enumSheetName.Detail]);
+
+                ExcelPrintData ExcelPrnData = null;
+
+                // ------------------------------- å·¥äº‹å�� -------------------------------
+                // â‘  å·¥äº‹ä»¶å��
+                ExcelPrnData = new ExcelPrintData();
+                ExcelPrnData.AddPrintData("C", 2, ReqData.ConstructionName).ExcelCellSet(m_UsedExcel);
+
+                // ------------------------------- è«‹è² é‡‘é¡� -------------------------------
+                ExcelPrnData = new ExcelPrintData();
+                ExcelPrnData.AddPrintData("A", 5, no.ToString());
+                ExcelPrnData.AddPrintData("G", 5, ReqData.ContractAmount.ToString("#,0"));
+                ExcelPrnData.ExcelCellSet(m_UsedExcel);
+
+                // ------------------------------- å‰�å›žã�”è«‹æ±‚åˆ† -------------------------------
+                // åˆ†å‰²æ‰•ã�„ã�®å ´å�ˆ
+                if (Info.BillingSplitFlg == (int)ConstructionBaseInfo.BillingSplitFlgDef.SplitBilling)
+                {
+                    ExcelPrnData = new ExcelPrintData();
+                    ExcelPrnData.AddPrintData("B", 7, "å‰�å›žã�”è«‹æ±‚æ¸ˆåˆ†");
+                    ExcelPrnData.AddPrintData("C", 7, "å‰�å›žè«‹æ±‚æ›¸å�‚ç…§â€»å¢—æ¸›è£œæ­£æ¸ˆã�¿");
+                    ExcelPrnData.AddPrintData("D", 7, "1");
+                    ExcelPrnData.AddPrintData("E", 7, "å¼�");
+                    ExcelPrnData.AddPrintData("G", 7, ReqData.PaidAmount.ToString("#,0"));
+                    ExcelPrnData.ExcelCellSet(m_UsedExcel);
+                }
+
+                long lTotalAmount = 0;
+
+                // ------------------------------- è¦‹ç©�é‡‘é¡�ï¼ˆæœ¬å·¥äº‹ï¼‰ -------------------------------
+                ExcelPrnData = new ExcelPrintData();
+                ExcelPrnData.AddPrintData("G", 9, ReqData.RequestAmount0.ToString("#,0"));
+                ExcelPrnData.ExcelCellSet(m_UsedExcel);
+
+                lTotalAmount += ReqData.RequestAmount0;
+
+                // ------------------------------- è¦‹ç©�é‡‘é¡�ï¼ˆå¢—æ¸›å·¥äº‹ï¼‰ -------------------------------
+                long[] lAmount = new long[] { ReqData.RequestAmount1, ReqData.RequestAmount2, ReqData.RequestAmount3, ReqData.RequestAmount4, ReqData.RequestAmount5, ReqData.RequestAmount6 };
+                string[] strTitle = new string[] { "å¢—æ¸›å·¥äº‹ï¼‘", "å¢—æ¸›å·¥äº‹ï¼’", "å¢—æ¸›å·¥äº‹ï¼“", "å¢—æ¸›å·¥äº‹ï¼”", "å¢—æ¸›å·¥äº‹ï¼•", "å¢—æ¸›å·¥äº‹ï¼–" };
+
+                for (int i = 0; i < 6; i++)
+                {
+                    if (lAmount[i] > 0)
+                    {
+                        ExcelPrnData = new ExcelPrintData();
+                        ExcelPrnData.AddPrintData("B", 10 + i, strTitle[i]);
+                        ExcelPrnData.AddPrintData("C", 10 + i, "è¿½åŠ å¢—æ¸›è¦‹ç©�ã‚‚ã‚Šå�‚ç…§");
+                        ExcelPrnData.AddPrintData("D", 10 + i, "1");
+                        ExcelPrnData.AddPrintData("E", 10 + i, "å¼�");
+                        ExcelPrnData.AddPrintData("G", 10 + i, lAmount[i].ToString("#,0"));
+                        ExcelPrnData.ExcelCellSet(m_UsedExcel);
+
+                        lTotalAmount += lAmount[i];
+                    }
+                }
+
+                // ------------------------------- ä»Šå›žã�”è«‹æ±‚åˆ† -------------------------------
+                ExcelPrnData = new ExcelPrintData();
+                ExcelPrnData.AddPrintData("G", 17, lTotalAmount.ToString("#,0"));
+                ExcelPrnData.ExcelCellSet(m_UsedExcel);
+
+                // ------------------------------- è«‹è² é‡‘é¡�æ®‹é‡‘ -------------------------------
+                // åˆ†å‰²æ‰•ã�„ã�®å ´å�ˆ
+                if (Info.BillingSplitFlg == (int)ConstructionBaseInfo.BillingSplitFlgDef.SplitBilling)
+                {
+                    ExcelPrnData = new ExcelPrintData();
+                    ExcelPrnData.AddPrintData("B", 19, "è«‹è² é‡‘é¡�æ®‹é‡‘");
+                    ExcelPrnData.AddPrintData("D", 19, "1");
+                    ExcelPrnData.AddPrintData("E", 19, "å¼�");
+                    ExcelPrnData.AddPrintData("G", 19, ReqData.UnclaimedAmount.ToString("#,0"));
+                    ExcelPrnData.ExcelCellSet(m_UsedExcel);
+                }
+
+                // ------------------------------- æœªå…¥é‡‘åˆ† -------------------------------
+                if (ReqData.UnpaidAmount > 0)
+                {
+                    ExcelPrnData = new ExcelPrintData();
+                    ExcelPrnData.AddPrintData("B", 21, "æœªå…¥é‡‘åˆ†");
+                    ExcelPrnData.AddPrintData("G", 21, ReqData.UnpaidAmount.ToString("#,0"));
+                    ExcelPrnData.ExcelCellSet(m_UsedExcel);
+
+                    lTotalAmount += ReqData.UnpaidAmount;
+                }
+
+                // ------------------------------- å°�è¨ˆ -------------------------------
+                ExcelPrnData = new ExcelPrintData();
+                ExcelPrnData.AddPrintData("G", 23, lTotalAmount.ToString("#,0"));
+                ExcelPrnData.ExcelCellSet(m_UsedExcel);
+
+                // ------------------------------- æ¶ˆè²»ç¨Ž -------------------------------
+                ExcelPrnData = new ExcelPrintData();
+                ExcelPrnData.AddPrintData("C", 24, string.Format("{0}%", CommonMotions.SystemMasterData.ConsumptionTax));
+                ExcelPrnData.AddPrintData("G", 24, ReqData.TaxAmount.ToString("#,0"));
+                ExcelPrnData.ExcelCellSet(m_UsedExcel);
+                lTotalAmount += ReqData.TaxAmount;
+
+                // ------------------------------- ç¨Žè¾¼é‡‘é¡�å�ˆè¨ˆ -------------------------------
+                ExcelPrnData = new ExcelPrintData();
+                ExcelPrnData.AddPrintData("G", 25, lTotalAmount.ToString("#,0"));
+                ExcelPrnData.ExcelCellSet(m_UsedExcel);
+
+                return CommonDefine.RetunAnswer.Answer0;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+                return CommonDefine.RetunAnswer.Answer1;
+            }
+
+        }
+        #endregion
+
+        #region Excelãƒ‡ãƒ¼ã‚¿å‡ºåŠ›ç”¨å†…éƒ¨ã‚¯ãƒ©ã‚¹å®šç¾©
+        /// <summary>
+        /// Excelãƒ‡ãƒ¼ã‚¿å‡ºåŠ›ç”¨å†…éƒ¨ã‚¯ãƒ©ã‚¹å®šç¾©
+        /// </summary>
+        private class ExcelPrintData
+        {
+            // Excelãƒ‡ãƒ¼ã‚¿ä¿�æŒ�ç”¨ç”¨ãƒ‡ã‚£ã‚¯ã‚·ãƒ§ãƒŠãƒª
+            private Dictionary<int, Dictionary<int, object>> m_DicPrintData = new Dictionary<int, Dictionary<int, object>>();
+
+            // Excelã‚«ãƒ©ãƒ å��å�–å¾—ç”¨
+            private static char[] s_Asc = { 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z' };
+
+            private int m_RowMin = int.MaxValue;
+            private int m_RowMax = int.MinValue;
+            private int m_ColMin = int.MaxValue;
+            private int m_ColMax = int.MinValue;
+
+            /// <summary>
+            /// ã‚¨ã‚¯ã‚»ãƒ«ã‚«ãƒ©ãƒ å��ã�¨ã‚¤ãƒ³ãƒ‡ãƒƒã‚¯ã‚¹ç•ªå�·ã�®ãƒ‡ã‚£ã‚¯ã‚·ãƒ§ãƒŠãƒª
+            /// </summary>
+            private static Dictionary<string, int> s_IndexOfExcelColumn = InitDicColumnIndex();
+
+            /// <summary>
+            /// Excelã‚«ãƒ©ãƒ ã‚¤ãƒ³ãƒ‡ãƒƒã‚¯ã‚¹ãƒ‡ã‚£ã‚¯ã‚·ãƒ§ãƒŠãƒªä½œæˆ�ãƒ¡ã‚½ãƒƒãƒ‰
+            /// </summary>
+            /// <returns></returns>
+            private static Dictionary<string, int> InitDicColumnIndex()
+            {
+                var result = new Dictionary<string, int>();
+
+                for (int indx = 0; indx < 256; indx++)
+                {
+                    string res = GetColumnString(indx);
+
+                    result.Add(res, indx);
+
+                }
+                return result;
+            }
+
+            /// <summary>
+            /// ã‚«ãƒ©ãƒ è‹±å­—å��ã‚’å�–å¾—
+            /// </summary>
+            /// <param name="colIndex"></param>
+            /// <returns></returns>
+            private static string GetColumnString(int colIndex)
+            {
+                string res = "";
+
+                int court = colIndex;
+                while (court >= s_Asc.Count())
+                {
+                    res = s_Asc[court % s_Asc.Count()] + res;
+                    court = (int)Math.Truncate((double)court / (double)s_Asc.Count() - 1);
+                }
+                res = s_Asc[court % s_Asc.Count()] + res;
+
+                return res;
+            }
+
+            #region ãƒ‡ãƒ¼ã‚¿è¿½åŠ 
+            /// <summary>
+            /// ãƒ‡ãƒ¼ã‚¿è¿½åŠ 
+            /// </summary>
+            /// <param name="colName">ã‚«ãƒ©ãƒ å��æ–‡å­—(â€» "A", "B", ç­‰...</param>
+            /// <param name="rowNo">è¡Œã‚¤ãƒ³ãƒ‡ãƒƒã‚¯ã‚¹ç•ªå�· 0ã‚ªãƒªã‚¸ãƒ³</param>
+            /// <param name="data">å‡ºåŠ›ãƒ‡ãƒ¼ã‚¿ã‚ªãƒ–ã‚¸ã‚§ã‚¯ãƒˆ</param>
+            /// <returns></returns>
+            public ExcelPrintData AddPrintData(string colName, int rowNo, object data)
+            {
+                return AddPrintData(s_IndexOfExcelColumn[colName], rowNo, data);
+            }
+            #endregion
+
+            #region ãƒ‡ãƒ¼ã‚¿è¿½åŠ 
+            /// <summary>
+            /// ãƒ‡ãƒ¼ã‚¿è¿½åŠ 
+            /// </summary>
+            /// <param name="colIndex">ã‚«ãƒ©ãƒ ã‚¤ãƒ³ãƒ‡ãƒƒã‚¯ã‚¹ 0ã‚ªãƒªã‚¸ãƒ³</param>
+            /// <param name="rowNo">è¡Œã‚¤ãƒ³ãƒ‡ãƒƒã‚¯ã‚¹ç•ªå�· 0ã‚ªãƒªã‚¸ãƒ³</param>
+            /// <param name="data">å‡ºåŠ›ãƒ‡ãƒ¼ã‚¿ã‚ªãƒ–ã‚¸ã‚§ã‚¯ãƒˆ</param>
+            /// <returns></returns>
+            public ExcelPrintData AddPrintData(int colIndex, int rowNo, object data)
+            {
+                if (!m_DicPrintData.ContainsKey(rowNo))
+                    m_DicPrintData[rowNo] = new Dictionary<int, object>();
+
+                m_DicPrintData[rowNo][colIndex] = data;
+
+                if (m_RowMin > rowNo) m_RowMin = rowNo;
+                if (m_RowMax < rowNo) m_RowMax = rowNo;
+                if (m_ColMin > colIndex) m_ColMin = colIndex;
+                if (m_ColMax < colIndex) m_ColMax = colIndex;
+
+                return this;
+            }
+            #endregion
+
+            #region UsedExcelã‚ªãƒ–ã‚¸ã‚§ã‚¯ãƒˆã�«ãƒ‡ãƒ¼ã‚¿ã‚’ã‚»ãƒƒãƒˆã�™ã‚‹
+            /// <summary>
+            /// UsedExcelã‚ªãƒ–ã‚¸ã‚§ã‚¯ãƒˆã�«ãƒ‡ãƒ¼ã‚¿ã‚’ã‚»ãƒƒãƒˆã�™ã‚‹
+            /// </summary>
+            /// <param name="usedExcel">UsedExcelã‚ªãƒ–ã‚¸ã‚§ã‚¯ãƒˆ(ã‚·ãƒ¼ãƒˆå�–å¾—æ¸ˆã�¿ã�§ã�‚ã‚‹ã�“ã�¨)</param>
+            public void ExcelCellSet(UsedExcel usedExcel)
+            {
+                if (m_RowMin == int.MaxValue ||
+                    m_RowMax == int.MinValue ||
+                    m_ColMin == int.MaxValue ||
+                    m_ColMax == int.MinValue)
+                {
+                    return;
+                }
+
+                // ã‚ªãƒ–ã‚¸ã‚§ã‚¯ãƒˆé…�åˆ—ã‚’å®£è¨€
+                object[,] objCells = new object[m_RowMax - m_RowMin + 1, m_ColMax - m_ColMin + 1];
+
+                // é…�åˆ—ã�«ãƒ‡ãƒ¼ã‚¿ã‚’ç§»ã�—æ›¿ã�ˆã‚‹
+                foreach (int row in m_DicPrintData.Keys)
+                {
+                    foreach (int col in m_DicPrintData[row].Keys)
+                    {
+                        objCells[row - m_RowMin, col - m_ColMin] = m_DicPrintData[row][col];
+                    }
+                }
+
+                // ã‚»ãƒ«å��ã‚’å�–å¾—
+                string startCell = GetColumnString(m_ColMin) + string.Format("{0}", m_RowMin + 1);
+                string endCell = GetColumnString(m_ColMax) + string.Format("{0}", m_RowMax + 1);
+
+                // ã‚»ãƒ«ã�«ã‚»ãƒƒãƒˆ
+                usedExcel.ExcelCellSet(startCell, objCells, endCell);
+
+            }
+            #endregion
+        }
+        #endregion
+    }
+}
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntry/FrmRequestPrint.Designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntry/FrmRequestPrint.Designer.cs	(nonexistent)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntry/FrmRequestPrint.Designer.cs	(revision 329)
@@ -0,0 +1,292 @@
+ï»¿namespace ProcessManagement.Forms.DataEntry
+{
+    partial class FrmRequestPrint
+    {
+        /// <summary>
+        /// Required designer variable.
+        /// </summary>
+        private System.ComponentModel.IContainer components = null;
+
+        /// <summary>
+        /// Clean up any resources being used.
+        /// </summary>
+        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
+        protected override void Dispose(bool disposing)
+        {
+            if (disposing && (components != null))
+            {
+                components.Dispose();
+            }
+            base.Dispose(disposing);
+        }
+
+        #region Windows Form Designer generated code
+
+        /// <summary>
+        /// Required method for Designer support - do not modify
+        /// the contents of this method with the code editor.
+        /// </summary>
+        private void InitializeComponent()
+        {
+            this.btnExecProc1 = new System.Windows.Forms.Button();
+            this.btnCancel = new System.Windows.Forms.Button();
+            this.btnExecProc2 = new System.Windows.Forms.Button();
+            this.panel1 = new System.Windows.Forms.Panel();
+            this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker();
+            this.groupBox2 = new System.Windows.Forms.GroupBox();
+            this.rdNoPrint = new System.Windows.Forms.RadioButton();
+            this.rdPrint = new System.Windows.Forms.RadioButton();
+            this.groupBox3 = new System.Windows.Forms.GroupBox();
+            this.txtComment5 = new System.Windows.Forms.TextBox();
+            this.txtComment4 = new System.Windows.Forms.TextBox();
+            this.txtComment3 = new System.Windows.Forms.TextBox();
+            this.txtComment2 = new System.Windows.Forms.TextBox();
+            this.txtComment1 = new System.Windows.Forms.TextBox();
+            this.groupBox4 = new System.Windows.Forms.GroupBox();
+            this.lblOrderersName = new System.Windows.Forms.Label();
+            this.label1 = new System.Windows.Forms.Label();
+            this.panel1.SuspendLayout();
+            this.groupBox2.SuspendLayout();
+            this.groupBox3.SuspendLayout();
+            this.groupBox4.SuspendLayout();
+            this.SuspendLayout();
+            // 
+            // btnExecProc1
+            // 
+            this.btnExecProc1.BackColor = System.Drawing.Color.Green;
+            this.btnExecProc1.FlatStyle = System.Windows.Forms.FlatStyle.System;
+            this.btnExecProc1.ForeColor = System.Drawing.Color.White;
+            this.btnExecProc1.Location = new System.Drawing.Point(185, 10);
+            this.btnExecProc1.Name = "btnExecProc1";
+            this.btnExecProc1.Size = new System.Drawing.Size(140, 40);
+            this.btnExecProc1.TabIndex = 0;
+            this.btnExecProc1.Text = "å�°åˆ·ã�®ã�¿";
+            this.btnExecProc1.UseVisualStyleBackColor = false;
+            this.btnExecProc1.Click += new System.EventHandler(this.btnExecProc1_Click);
+            // 
+            // btnCancel
+            // 
+            this.btnCancel.BackColor = System.Drawing.Color.Red;
+            this.btnCancel.FlatStyle = System.Windows.Forms.FlatStyle.System;
+            this.btnCancel.ForeColor = System.Drawing.Color.White;
+            this.btnCancel.Location = new System.Drawing.Point(477, 10);
+            this.btnCancel.Name = "btnCancel";
+            this.btnCancel.Size = new System.Drawing.Size(140, 40);
+            this.btnCancel.TabIndex = 3;
+            this.btnCancel.Text = "ã‚­ãƒ£ãƒ³ã‚»ãƒ«";
+            this.btnCancel.UseVisualStyleBackColor = false;
+            this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
+            // 
+            // btnExecProc2
+            // 
+            this.btnExecProc2.BackColor = System.Drawing.Color.Green;
+            this.btnExecProc2.FlatStyle = System.Windows.Forms.FlatStyle.System;
+            this.btnExecProc2.ForeColor = System.Drawing.Color.White;
+            this.btnExecProc2.Location = new System.Drawing.Point(331, 10);
+            this.btnExecProc2.Name = "btnExecProc2";
+            this.btnExecProc2.Size = new System.Drawing.Size(140, 40);
+            this.btnExecProc2.TabIndex = 1;
+            this.btnExecProc2.Text = "ä¿�å­˜ã�®ã�¿";
+            this.btnExecProc2.UseVisualStyleBackColor = false;
+            this.btnExecProc2.Click += new System.EventHandler(this.btnExecProc2_Click);
+            // 
+            // panel1
+            // 
+            this.panel1.BackColor = System.Drawing.Color.WhiteSmoke;
+            this.panel1.Controls.Add(this.btnCancel);
+            this.panel1.Controls.Add(this.btnExecProc1);
+            this.panel1.Controls.Add(this.btnExecProc2);
+            this.panel1.Location = new System.Drawing.Point(16, 429);
+            this.panel1.Name = "panel1";
+            this.panel1.Size = new System.Drawing.Size(620, 60);
+            this.panel1.TabIndex = 3;
+            // 
+            // dateTimePicker1
+            // 
+            this.dateTimePicker1.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.dateTimePicker1.Location = new System.Drawing.Point(312, 18);
+            this.dateTimePicker1.Name = "dateTimePicker1";
+            this.dateTimePicker1.Size = new System.Drawing.Size(179, 28);
+            this.dateTimePicker1.TabIndex = 5;
+            this.dateTimePicker1.TabStop = false;
+            // 
+            // groupBox2
+            // 
+            this.groupBox2.BackColor = System.Drawing.Color.WhiteSmoke;
+            this.groupBox2.Controls.Add(this.rdNoPrint);
+            this.groupBox2.Controls.Add(this.rdPrint);
+            this.groupBox2.Controls.Add(this.dateTimePicker1);
+            this.groupBox2.Location = new System.Drawing.Point(16, 67);
+            this.groupBox2.Name = "groupBox2";
+            this.groupBox2.Size = new System.Drawing.Size(620, 101);
+            this.groupBox2.TabIndex = 7;
+            this.groupBox2.TabStop = false;
+            this.groupBox2.Text = "è«‹æ±‚æ—¥";
+            // 
+            // rdNoPrint
+            // 
+            this.rdNoPrint.AutoSize = true;
+            this.rdNoPrint.Location = new System.Drawing.Point(175, 58);
+            this.rdNoPrint.Name = "rdNoPrint";
+            this.rdNoPrint.Size = new System.Drawing.Size(363, 23);
+            this.rdNoPrint.TabIndex = 14;
+            this.rdNoPrint.Text = "å�°å­—ã�—ã�ªã�„ï¼ˆã€€ã€€å¹´ã€€ã€€æœˆã€€ã€€æ—¥ï¼‰";
+            this.rdNoPrint.UseVisualStyleBackColor = true;
+            this.rdNoPrint.CheckedChanged += new System.EventHandler(this.radioButton3_CheckedChanged);
+            // 
+            // rdPrint
+            // 
+            this.rdPrint.AutoSize = true;
+            this.rdPrint.Checked = true;
+            this.rdPrint.Location = new System.Drawing.Point(175, 22);
+            this.rdPrint.Name = "rdPrint";
+            this.rdPrint.Size = new System.Drawing.Size(111, 23);
+            this.rdPrint.TabIndex = 15;
+            this.rdPrint.TabStop = true;
+            this.rdPrint.Text = "å�°å­—ã�™ã‚‹";
+            this.rdPrint.UseVisualStyleBackColor = true;
+            // 
+            // groupBox3
+            // 
+            this.groupBox3.BackColor = System.Drawing.Color.WhiteSmoke;
+            this.groupBox3.Controls.Add(this.txtComment5);
+            this.groupBox3.Controls.Add(this.txtComment4);
+            this.groupBox3.Controls.Add(this.txtComment3);
+            this.groupBox3.Controls.Add(this.txtComment2);
+            this.groupBox3.Controls.Add(this.txtComment1);
+            this.groupBox3.Location = new System.Drawing.Point(15, 179);
+            this.groupBox3.Name = "groupBox3";
+            this.groupBox3.Size = new System.Drawing.Size(621, 200);
+            this.groupBox3.TabIndex = 14;
+            this.groupBox3.TabStop = false;
+            this.groupBox3.Text = "ã‚³ãƒ¡ãƒ³ãƒˆ";
+            // 
+            // txtComment5
+            // 
+            this.txtComment5.ImeMode = System.Windows.Forms.ImeMode.On;
+            this.txtComment5.Location = new System.Drawing.Point(17, 161);
+            this.txtComment5.MaxLength = 60;
+            this.txtComment5.Name = "txtComment5";
+            this.txtComment5.Size = new System.Drawing.Size(587, 26);
+            this.txtComment5.TabIndex = 4;
+            // 
+            // txtComment4
+            // 
+            this.txtComment4.ImeMode = System.Windows.Forms.ImeMode.On;
+            this.txtComment4.Location = new System.Drawing.Point(17, 127);
+            this.txtComment4.MaxLength = 60;
+            this.txtComment4.Name = "txtComment4";
+            this.txtComment4.Size = new System.Drawing.Size(587, 26);
+            this.txtComment4.TabIndex = 3;
+            // 
+            // txtComment3
+            // 
+            this.txtComment3.ImeMode = System.Windows.Forms.ImeMode.On;
+            this.txtComment3.Location = new System.Drawing.Point(17, 94);
+            this.txtComment3.MaxLength = 60;
+            this.txtComment3.Name = "txtComment3";
+            this.txtComment3.Size = new System.Drawing.Size(587, 26);
+            this.txtComment3.TabIndex = 2;
+            // 
+            // txtComment2
+            // 
+            this.txtComment2.ImeMode = System.Windows.Forms.ImeMode.On;
+            this.txtComment2.Location = new System.Drawing.Point(17, 61);
+            this.txtComment2.MaxLength = 60;
+            this.txtComment2.Name = "txtComment2";
+            this.txtComment2.Size = new System.Drawing.Size(587, 26);
+            this.txtComment2.TabIndex = 1;
+            // 
+            // txtComment1
+            // 
+            this.txtComment1.ImeMode = System.Windows.Forms.ImeMode.On;
+            this.txtComment1.Location = new System.Drawing.Point(17, 27);
+            this.txtComment1.MaxLength = 60;
+            this.txtComment1.Name = "txtComment1";
+            this.txtComment1.Size = new System.Drawing.Size(587, 26);
+            this.txtComment1.TabIndex = 0;
+            // 
+            // groupBox4
+            // 
+            this.groupBox4.BackColor = System.Drawing.Color.WhiteSmoke;
+            this.groupBox4.Controls.Add(this.lblOrderersName);
+            this.groupBox4.Controls.Add(this.label1);
+            this.groupBox4.Location = new System.Drawing.Point(16, 0);
+            this.groupBox4.Name = "groupBox4";
+            this.groupBox4.Size = new System.Drawing.Size(620, 60);
+            this.groupBox4.TabIndex = 17;
+            this.groupBox4.TabStop = false;
+            // 
+            // lblOrderersName
+            // 
+            this.lblOrderersName.BackColor = System.Drawing.Color.White;
+            this.lblOrderersName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
+            this.lblOrderersName.Location = new System.Drawing.Point(112, 21);
+            this.lblOrderersName.Name = "lblOrderersName";
+            this.lblOrderersName.Size = new System.Drawing.Size(485, 26);
+            this.lblOrderersName.TabIndex = 17;
+            this.lblOrderersName.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+            // 
+            // label1
+            // 
+            this.label1.AutoSize = true;
+            this.label1.Location = new System.Drawing.Point(15, 25);
+            this.label1.Name = "label1";
+            this.label1.Size = new System.Drawing.Size(93, 19);
+            this.label1.TabIndex = 16;
+            this.label1.Text = "è«‹æ±‚å…ˆå��";
+            // 
+            // FrmRequestPrint
+            // 
+            this.AcceptButton = this.btnExecProc1;
+            this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
+            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
+            this.BackColor = System.Drawing.Color.White;
+            this.ClientSize = new System.Drawing.Size(652, 502);
+            this.Controls.Add(this.groupBox4);
+            this.Controls.Add(this.groupBox3);
+            this.Controls.Add(this.groupBox2);
+            this.Controls.Add(this.panel1);
+            this.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
+            this.KeyPreview = true;
+            this.MaximizeBox = false;
+            this.MinimizeBox = false;
+            this.Name = "FrmRequestPrint";
+            this.ShowIcon = false;
+            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+            this.Text = "å®Ÿã€€è¡Œã€€ç¢ºã€€èª�";
+            this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.FrmStatusAndDate_FormClosed);
+            this.Load += new System.EventHandler(this.FrmCostStructureDiag_Load);
+            this.panel1.ResumeLayout(false);
+            this.groupBox2.ResumeLayout(false);
+            this.groupBox2.PerformLayout();
+            this.groupBox3.ResumeLayout(false);
+            this.groupBox3.PerformLayout();
+            this.groupBox4.ResumeLayout(false);
+            this.groupBox4.PerformLayout();
+            this.ResumeLayout(false);
+
+        }
+
+        #endregion
+
+        private System.Windows.Forms.Button btnExecProc1;
+        private System.Windows.Forms.Button btnCancel;
+        private System.Windows.Forms.Button btnExecProc2;
+        private System.Windows.Forms.Panel panel1;
+        private System.Windows.Forms.DateTimePicker dateTimePicker1;
+        private System.Windows.Forms.GroupBox groupBox2;
+        private System.Windows.Forms.RadioButton rdNoPrint;
+        private System.Windows.Forms.RadioButton rdPrint;
+        private System.Windows.Forms.GroupBox groupBox3;
+        private System.Windows.Forms.TextBox txtComment5;
+        private System.Windows.Forms.TextBox txtComment4;
+        private System.Windows.Forms.TextBox txtComment3;
+        private System.Windows.Forms.TextBox txtComment2;
+        private System.Windows.Forms.TextBox txtComment1;
+        private System.Windows.Forms.GroupBox groupBox4;
+        private System.Windows.Forms.Label lblOrderersName;
+        private System.Windows.Forms.Label label1;
+    }
+}
\ No newline at end of file
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntry/FrmRequestPrint.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntry/FrmRequestPrint.cs	(nonexistent)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntry/FrmRequestPrint.cs	(revision 329)
@@ -0,0 +1,2079 @@
+ï»¿using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+using System.Threading.Tasks;
+
+using ProcessManagement.Common;
+using ProcessManagement.DB.IOAccess;
+using ProcessManagement.DataModel;
+using ProcessManagement.Forms.CustomControls;
+using ProcessManagement.Forms.ControlsAction;
+using ProcessManagement.Forms.SubForms;
+
+namespace ProcessManagement.Forms.DataEntry
+{
+    public partial class FrmRequestPrint : Form
+    {
+        #region ãƒ­ã‚°ä½¿ç”¨å®šç¾©
+        //log4netãƒ­ã‚°ã‚’ä½¿ç”¨ã�™ã‚‹
+        private static readonly log4net.ILog logger = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region å®šæ•°
+        private enum Dispcount
+        {
+            ExeCuteDate = 0,
+            radioButtonA1,
+            radioButtonA2,
+            radioButtonB1,
+            radioButtonB2,
+            radioButtonC1,
+            radioButtonC2,
+        }
+
+        /// <summary>
+        /// Excelãƒ†ãƒ³ãƒ—ãƒ¬ãƒ¼ãƒˆãƒ•ã‚¡ã‚¤ãƒ«å��
+        /// </summary>
+        //private static string s_ExcelRequestSheetFileName = @"\RequestSheet.xlsx";
+        private static string s_ExcelRequestSheetFileName = CommonDefine.s_ExcelOriginalFileName;
+
+        /// <summary>
+        /// ãƒ‡ã‚¹ã‚¯ãƒˆãƒƒãƒ—ãƒ•ã‚©ãƒ«ãƒ€å��
+        /// </summary>
+        private static string s_ExecCurrentDirName = System.Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory);
+
+        /// <summary>
+        /// ã‚·ãƒ¼ãƒˆå��ç§°ã‚«ã‚¦ãƒ³ãƒˆ
+        /// </summary>
+        enum enumSheetName
+        {
+            Cover = 0,
+            List,
+            Detail,
+        }
+
+        /// <summary>
+        /// Excel ã‚·ãƒ¼ãƒˆå��ç§°
+        /// </summary>
+        private static readonly Dictionary<enumSheetName,string> s_DicSheetName = new Dictionary<enumSheetName, string>()
+        {
+            { enumSheetName.Cover, "è«‹æ±‚æ›¸ï¼ˆè¡¨ç´™ï¼‰" },
+            { enumSheetName.List, "è«‹æ±‚æ›¸ï¼ˆä¸€è¦§ï¼‰" },
+            { enumSheetName.Detail, "è«‹æ±‚æ›¸ï¼ˆå†…è¨³ï¼‰" },
+        };
+        #endregion
+
+        #region å¤‰æ•°
+
+        // ãƒ¦ãƒ¼ã‚¶ãƒ¼æƒ…å ±
+        private ClsSecurityPermission.UserInfo m_UserInfo = new ClsSecurityPermission.UserInfo()
+        {
+            m_Type = CommonDefine.SecurityRankPos.NormalAuthority,
+            m_GeneralAffairsFlg = (int)SecurityMaster.GeneAffDef.OtherDep,
+            m_SecRange = ClsSecurityPermission.SecRangeType.InCharge
+        };
+
+        /// <summary>
+        /// çµ‚äº†çŠ¶æ…‹ãƒ•ãƒ©ã‚°
+        /// </summary>
+        private DialogResult m_EndButton = DialogResult.None;
+
+        /// <summary>
+        /// å·¥äº‹ç•ªå�·
+        /// </summary>
+        private int m_ConstructionCode = 0;
+
+        /// <summary>
+        /// è«‹æ±‚ç•ªå�·
+        /// </summary>
+        private int m_RequestNo = 0;
+
+        /// <summary>
+        /// å®Ÿè¡Œæ™‚æ—¥ä»˜
+        /// </summary>
+        private DateTime m_ExcuteDate = DateTime.Now;
+        
+        /// <summary>
+        /// æ—¥ä»˜å�°åˆ·
+        /// </summary>
+        private bool m_bDatePrintFlg = true;
+        
+        /// <summary>
+        /// ã‚³ãƒ³ãƒ­ãƒ¼ãƒ«ã‚ªãƒ–ã‚¸ã‚§ã‚¯ãƒˆ
+        /// </summary>
+        private Control[] m_dispControl = new Control[9];
+
+        /// <summary>
+        /// å·¥äº‹åŸºæœ¬æƒ…å ±
+        /// </summary>
+        private ConstructionBaseInfo m_ConstructionBaseInfo = new ConstructionBaseInfo();
+
+        /// <summary>
+        /// å·¥äº‹åŸºæœ¬æƒ…å ±æ˜Žç´°
+        /// </summary>
+        private Dictionary<int, Dictionary<int, string>> m_DicConstructionBaseInfoDetail = new Dictionary<int, Dictionary<int, string>>();
+
+        /// <summary>
+        /// å¢—æ¸›å·¥äº‹æƒ…å ±
+        /// </summary>
+        private List<int> m_LstConstructionLink = new List<int>();
+
+        /// <summary>
+        /// è«‹æ±‚ãƒ‡ãƒ¼ã‚¿
+        /// </summary>
+        private RequestData m_RequestData = new RequestData();
+
+        /// <summary>
+        /// è«‹æ±‚å�ˆè¨ˆãƒ‡ãƒ¼ã‚¿
+        /// </summary>
+//        private List<RequestTotalData> m_LstRequestTotalData = new List<RequestTotalData>();
+
+        /// <summary>
+        /// ãƒ„ãƒ¼ãƒ«ãƒ�ãƒƒãƒ—
+        /// </summary>
+        private ToolTip ToolTip1 = new ToolTip();
+
+        /// <summary>
+        /// Excelå�°åˆ·ã‚¯ãƒ©ã‚¹ã‚ªãƒ–ã‚¸ã‚§ã‚¯ãƒˆ
+        /// </summary>
+        private UsedExcel m_UsedExcel = null;
+
+        /// <summary>
+        /// ä¿�å­˜æ™‚Excelãƒ‘ã‚¹
+        /// </summary>
+        private string m_SelectSaveExcel = "";
+
+        /// <summary>
+        /// è«‹æ±‚æ›¸No
+        /// </summary>
+        private int m_nInvoiceNo = 0;
+
+        /// <summary>
+        /// è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿
+        /// </summary>
+        private InvoiceData m_InvData = new InvoiceData();
+
+        /// <summary>
+        /// è«‹æ±‚æ›¸ãƒ˜ãƒƒãƒ€
+        /// </summary>
+        private List<RequestHead> m_lstReqHead = new List<RequestHead>();
+
+        /// <summary>
+        /// è«‹æ±‚ãƒ‡ãƒ¼ã‚¿
+        /// </summary>
+        private Dictionary<int, List<RequestData>> m_dicReqData = new Dictionary<int, List<RequestData>>();
+
+        /// <summary>
+        /// å·¥äº‹åŸºæœ¬æƒ…å ±ãƒ‡ãƒ¼ã‚¿
+        /// </summary>
+        private Dictionary<int, ConstructionBaseInfo> m_dicConstructionBaseInfo = new Dictionary<int, ConstructionBaseInfo>();
+        
+        // *-----* å…±é€šå‡¦ç�†è¨­å®š *-----*
+        /// <summary>
+        /// ã‚µãƒ–ãƒ•ã‚©ãƒ¼ãƒ ãƒ•ãƒ©ã‚°
+        /// </summary>
+        private bool m_SubForm = false;
+        /// <summary>
+        /// å‘¼å‡ºå…ƒçµ‚äº†ãƒ•ãƒ©ã‚°
+        /// </summary>
+        private bool m_ParentEnd = false;
+        // *-----* å…±é€šå‡¦ç�†è¨­å®š *-----*
+
+        /// <summary>
+        /// å›³å½¢ç½®ã��å ´ã‚·ãƒ¼ãƒˆ
+        /// </summary>
+        private const string s_shapeSheetName = "å›³å½¢ã‚·ãƒ¼ãƒˆ";
+        /// <summary>
+        /// å›³å½¢å��ç§°
+        /// </summary>
+        private const string s_shapeName = "EstimateSeal1";                                    // ç©�ç®—è¦‹ç©�è¡¨ç´™åˆ¤å­�
+        /// <summary>
+        /// å›³å½¢ã‚µã‚¤ã‚ºã€�ç¸¦ãƒ»æ¨ªã€‘ï¼ˆå›³å½¢å��ç§°é †ï¼‰
+        /// </summary>
+        private static float[,] s_ShapeSize = new float[1, 2] { { 25.51f, 25.51f } };         // ç©�ç®—è¦‹ç©�è¡¨ç´™åˆ¤å­�
+        /// <summary>
+        /// ç©�ç®—è¦‹ç©�è¡¨ç´™åˆ¤å­�ãƒ•ã‚©ãƒ³ãƒˆã‚µã‚¤ã‚º
+        /// </summary>
+        private static float[] s_EstimateSeal1FontSize = { 16f, 8f, 8f, 8f, 6f };
+        /// <summary>
+        /// è¡¨ç´™åˆ¤å­�ä½�ç½®(Key:X Value:Y)
+        /// </summary>
+        private static float[,] s_CoverSealPoint = new float[4, 2] {{592.50f, 555.25f},    // ç¤¾é•·
+                                                                    {657.25f, 555.25f},    // æ‰€å±žé•·
+                                                                    {721.00f, 555.25f},    // å–¶æ¥­
+                                                                    {784.00f, 555.25f} };  // æ‹…å½“
+        #endregion
+
+        #region ãƒ—ãƒ­ãƒ‘ãƒ†ã‚£
+        /// <summary>
+        /// å·¥äº‹ç•ªå�·
+        /// </summary>
+        public int ConstructionCode
+        {
+            get { return m_ConstructionCode; }
+            set { m_ConstructionCode = value; }
+        }
+
+        public int RequestNo
+        {
+            get { return m_RequestNo; }
+            set { m_RequestNo = value; }
+        }
+
+        /// <summary>
+        /// å®Ÿè¡Œæ™‚æ™‚é–“
+        /// </summary>
+        public DateTime ExcuteDate
+        {
+            get { return m_ExcuteDate; }
+            set { m_ExcuteDate = value; }
+        }
+        /// <summary>
+        /// çµ‚äº†ãƒœã‚¿ãƒ³çŠ¶æ…‹
+        /// </summary>
+        public DialogResult EndButton
+        {
+            get { return m_EndButton; }
+        }
+        /// <summary>
+        /// æ—¥ä»˜å�°åˆ·ãƒ•ãƒ©ã‚°
+        /// </summary>
+        public bool DatePrintFlg
+        {
+            get { return m_bDatePrintFlg; }
+            set { m_bDatePrintFlg = value; }
+        }
+
+        /// <summary>
+        /// è¨­è¨ˆæ›¸No
+        /// </summary>
+        public int InvoiceNo
+        {
+            get { return m_nInvoiceNo; }
+            set { m_nInvoiceNo = value; }
+        }
+
+        // *-----* å…±é€šå‡¦ç�†è¨­å®š *-----*
+        /// <summary>
+        /// ã‚µãƒ–ãƒ•ã‚©ãƒ¼ãƒ ãƒ•ãƒ©ã‚°
+        /// </summary>
+        public bool SubForm
+        {
+            get { return m_SubForm; }
+            set { m_SubForm = value; }
+        }
+        /// <summary>
+        /// å‘¼å‡ºå…ƒçµ‚äº†ãƒ•ãƒ©ã‚°
+        /// </summary>
+        public bool ParentEnd
+        {
+            get { return m_ParentEnd; }
+            set { m_ParentEnd = value; }
+        }
+
+        // *-----* å…±é€šå‡¦ç�†è¨­å®š *-----*        
+        
+        #endregion
+
+        #region Ã—ãƒœã‚¿ãƒ³
+        /// <summary>
+        /// Ã—ãƒœã‚¿ãƒ³æŠ¼ä¸‹å‡¦ç�†
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void FrmStatusAndDate_FormClosed(object sender, FormClosedEventArgs e)
+        {
+            if (m_EndButton == DialogResult.None) m_EndButton = DialogResult.Cancel;
+        }
+        #endregion
+
+        #region ã‚³ãƒ³ã‚¹ãƒˆãƒ©ã‚¯ã‚¿
+        /// <summary>
+        /// ãƒ•ã‚©ãƒ¼ãƒ åˆ�æœŸåŒ–
+        /// </summary>
+        public FrmRequestPrint()
+        {
+            InitializeComponent();
+        }
+        #endregion
+
+        #region ãƒ•ã‚©ãƒ¼ãƒ ãƒ­ãƒ¼ãƒ‰
+        /// <summary>
+        /// ãƒ•ã‚©ãƒ¼ãƒ ãƒ­ãƒ¼ãƒ‰
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void FrmCostStructureDiag_Load(object sender, EventArgs e)
+        {
+            // ãƒ•ã‚©ãƒ¼ãƒ ã‚µã‚¤ã‚ºå›ºå®š
+            this.MaximizedBounds = new Rectangle(this.Left, this.Top, this.Width, this.Height);
+
+            // ãƒ¦ãƒ¼ã‚¶æ¨©é™�è¨­å®š
+            ClsSecurityPermission.SetUserType(m_UserInfo);
+
+            // ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã�®ã‚»ãƒƒãƒˆ
+            SetDisplayObject();
+            
+            // åˆ�æœŸè¡¨ç¤º
+            InitDataLoad();
+        }
+        #endregion
+
+        #region ã‚­ãƒ£ãƒ³ã‚»ãƒ«ãƒœã‚¿ãƒ³
+        /// <summary>
+        /// ã‚­ãƒ£ãƒ³ã‚»ãƒ«ãƒœã‚¿ãƒ³è¿½åŠ 
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void btnCancel_Click(object sender, EventArgs e)
+        {
+            m_EndButton = DialogResult.Cancel;
+            this.Close();
+        }
+        #endregion
+
+        #region å�°åˆ·ã�®ã�¿ãƒœã‚¿ãƒ³
+        /// <summary>
+        /// å�°åˆ·ã�®ã�¿ãƒœã‚¿ãƒ³æŠ¼ä¸‹
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private async void btnExecProc1_Click(object sender, EventArgs e)
+        {
+            // çŠ¶æ…‹ç¢ºèª�
+            if (!StatusChange()) return;
+
+            // æ—¥ä»˜å�°åˆ·ã‚’ã�—ã�ªã�„
+            if (rdNoPrint.Checked) m_bDatePrintFlg = false;
+
+            // é�¸æŠžæ—¥ä»˜å�–å¾—
+            m_ExcuteDate = dateTimePicker1.Value;
+
+            // è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿ã�®å��æ˜ 
+            EntryInvoiceData();
+
+            // å·¥äº‹åŸºæœ¬æƒ…å ±ã‚’æ›´æ–°ã�™ã‚‹
+            UpdateConstructionBaseInfo();
+
+            await Task.Run(() =>
+            {
+                // å�°åˆ·å‡¦ç�†
+                PrintMain(true);
+            });
+
+            m_EndButton = DialogResult.Yes;
+            this.Close();
+        }
+        #endregion
+
+        #region ä¿�å­˜ã�®ã�¿ãƒœã‚¿ãƒ³
+        /// <summary>
+        /// ä¿�å­˜ã�®ã�¿ãƒœã‚¿ãƒ³æŠ¼ä¸‹
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private async void btnExecProc2_Click(object sender, EventArgs e)
+        {
+            // ä¿�å­˜å…ˆæŒ‡å®šãƒ€ã‚¤ã‚¢ãƒ­ã‚°ã�®è¡¨ç¤º
+            FrmSaveFilePath frm = new FrmSaveFilePath();
+            frm.SaveType = (int)CommonDefine.SaveFileType.ExcelFile;
+            frm.ShowDialog(this);
+            if (frm.EndButton == DialogResult.Cancel)
+            {
+                return;
+            }
+            m_SelectSaveExcel = frm.SelectPath;
+
+            // çŠ¶æ…‹ç¢ºèª�
+            if (!StatusChange()) return;
+
+            // æ—¥ä»˜å�°åˆ·ã‚’ã�—ã�ªã�„
+            if (rdNoPrint.Checked) m_bDatePrintFlg = false;
+            
+            // é�¸æŠžæ—¥ä»˜å�–å¾—
+            m_ExcuteDate = dateTimePicker1.Value;
+
+            // è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿ã�®å��æ˜ 
+            EntryInvoiceData();
+
+            // å·¥äº‹åŸºæœ¬æƒ…å ±ã‚’æ›´æ–°ã�™ã‚‹
+            UpdateConstructionBaseInfo();
+
+            // é�žå�ŒæœŸã�§å�°åˆ·å‡¦ç�†ã‚’å®Ÿè¡Œã�™ã‚‹
+            await Task.Run(() =>
+            {
+                // å�°åˆ·å‡¦ç�†
+                PrintMain(false);
+            });
+
+            m_EndButton = DialogResult.No;
+            this.Close();
+        }
+        #endregion
+
+        #region æ��å‡ºæ™‚ãƒ©ã‚¸ã‚ªãƒœã‚¿ãƒ³ãƒ�ã‚§ãƒƒã‚¯
+        /// <summary>
+        /// æ��å‡ºæ—¥å�°å­—ãƒ©ã‚¸ã‚ªãƒœã‚¿ãƒ³
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void radioButton3_CheckedChanged(object sender, EventArgs e)
+        {
+            if (rdNoPrint.Checked)
+            {
+                dateTimePicker1.Visible = false;
+            }
+            else
+            {
+                dateTimePicker1.Visible = true;
+            }
+        }
+        #endregion
+
+        #region ã‚ªãƒ–ã‚¸ã‚§ã‚¯ãƒˆã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã‚»ãƒƒãƒˆ
+        /// <summary>
+        /// è¡¨ç¤ºã‚ªãƒ–ã‚¸ã‚§ã‚¯ãƒˆã�®å�–å¾—
+        /// </summary>
+        private void SetDisplayObject()
+        {
+            m_dispControl[(int)Dispcount.ExeCuteDate] = dateTimePicker1;
+            m_dispControl[(int)Dispcount.radioButtonB1] = rdPrint;
+            m_dispControl[(int)Dispcount.radioButtonB2] = rdNoPrint;
+            btnExecProc2.Visible = false;
+            if (m_UserInfo.m_Type == CommonDefine.SecurityRankPos.SpecialAuthority)
+            {
+                btnExecProc2.Visible = true;
+            }
+            if (m_UserInfo.m_Type == CommonDefine.SecurityRankPos.FreeAuthority)
+            {
+                btnExecProc2.Visible = true;
+            }
+
+        }
+        #endregion
+
+        #region ã‚¹ãƒ†ãƒ¼ã‚¿ã‚¹ãƒ�ã‚§ãƒƒã‚¯
+        /// <summary>
+        /// å·¥äº‹æ¡ˆä»¶ã�®é€²æ�—çŠ¶æ…‹å¤‰æ›´ã�®ç¢ºèª�
+        /// </summary>
+        /// <returns></returns>
+        private bool StatusChange()
+        {
+            try
+            {
+                if (MessageBox.Show("è«‹æ±‚æ›¸ã‚’å‡ºåŠ›ã�—ã�¾ã�™ã€�ã‚ˆã‚�ã�—ã�„ã�§ã�™ã�‹ï¼Ÿ",
+                                    "å‡ºåŠ›ç¢ºèª�",
+                                    MessageBoxButtons.OKCancel, 
+                                    MessageBoxIcon.Question) == DialogResult.Cancel)
+                {
+                    return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+        }
+        
+        #endregion
+
+        #region è¡¨ç¤ºé–¢é€£
+        /// <summary>
+        /// åˆ�æœŸè¡¨ç¤ºå‡¦ç�†
+        /// </summary>
+        private void InitDataLoad()
+        {
+            try
+            {
+                if (!DisplayData())
+                {
+                    m_EndButton = DialogResult.Cancel;
+                    this.Close();
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region ãƒ‡ãƒ¼ã‚¿è¡¨ç¤ºå‡¦ç�†
+        /// <summary>
+        /// ãƒ‡ãƒ¼ã‚¿è¡¨ç¤º
+        /// </summary>
+        /// <returns></returns>
+        private bool DisplayData()
+        {
+            try
+            {
+                bool bRet = true;
+
+                // è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿ã�®å�–å¾—
+                if( GetInvoiceData() == false){
+                    return false;
+                }
+
+                // æœ¬å·¥äº‹ã�®å·¥äº‹æƒ…å ±ã�®å�–å¾—
+                if( GetMainConstructionBaseInfo() == false){
+                    return false;
+                }
+
+                if (m_InvData.RequestDate == DateTime.MinValue)
+                {
+                    // åˆ�æœŸæ™‚é–“ã‚»ãƒƒãƒˆ
+                    dateTimePicker1.Value = m_ExcuteDate;
+                }
+                else
+                {
+                    dateTimePicker1.Value = m_InvData.RequestDate;
+                }
+
+                lblOrderersName.Text = m_InvData.RequestName;
+
+                txtComment1.Text = m_InvData.Comment1;
+                txtComment2.Text = m_InvData.Comment2;
+                txtComment3.Text = m_InvData.Comment3;
+                txtComment4.Text = m_InvData.Comment4;
+                txtComment5.Text = m_InvData.Comment5;
+
+                // ToolTipã�®è¨­å®š
+                SetToolTip();
+
+                return bRet;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+        }
+        #endregion
+
+        #region ToolTipã�®è¨­å®š
+        private void SetToolTip()
+        {
+            // ToolTipã�Œè¡¨ç¤ºã�•ã‚Œã‚‹ã�¾ã�§ã�®æ™‚é–“
+            ToolTip1.InitialDelay = 0;
+            // ToolTipã�Œè¡¨ç¤ºã�•ã‚Œã�¦ã�„ã‚‹æ™‚ã�«ã€�åˆ¥ã�®ToolTipã‚’è¡¨ç¤ºã�™ã‚‹ã�¾ã�§ã�®æ™‚é–“
+            ToolTip1.ReshowDelay = 1000;
+            // ToolTipã‚’è¡¨ç¤ºã�™ã‚‹æ™‚é–“
+            ToolTip1.AutoPopDelay = 10000;
+            // ãƒ•ã‚©ãƒ¼ãƒ ã�Œã‚¢ã‚¯ãƒ†ã‚£ãƒ–ã�§ã�ªã�„æ™‚ã�¯ToolTipã‚’è¡¨ç¤ºã�—ã�ªã�„
+            ToolTip1.ShowAlways = false;
+
+            // æ–‡å­—ã‚»ãƒƒãƒˆ
+            ToolTip1.SetToolTip(dateTimePicker1, "è«‹æ±‚æ—¥ã�Œè¡¨ç¤ºã�•ã‚Œã�¦ã�„ã‚‹æ—¥ä»˜ã�¨é�•ã�†å ´å�ˆã�¯ã€�å¤‰æ›´ã�—ã�¦ã��ã� ã�•ã�„ã€‚");
+            ToolTip1.SetToolTip(rdPrint, "è«‹æ±‚æ—¥ã‚’è«‹æ±‚æ›¸ã�¸ã€Œå�°åˆ·ã�™ã‚‹ã€�å ´å�ˆã�¯ã€�ã�“ã�¡ã‚‰ã‚’é�¸æŠžã�—ã�¦ã��ã� ã�•ã�„ã€‚");
+            ToolTip1.SetToolTip(rdNoPrint, "è«‹æ±‚æ—¥ã‚’è«‹æ±‚æ›¸ã�¸ã€Œå�°åˆ·ã�›ã�šã�«ç©ºç™½ã€�ã�§å�°åˆ·ã�™ã‚‹å ´å�ˆã�¯ã€�ã�“ã�¡ã‚‰ã‚’é�¸æŠžã�—ã�¦ã��ã� ã�•ã�„ã€‚");
+
+            //ToolTip1.SetToolTip(rdChange, "å·¥äº‹é€²æ�—çŠ¶æ…‹ã‚’å¤‰æ›´ã�—ã�¦æ¬¡ã�®å‡¦ç�†ã�¸é€²ã‚€å ´å�ˆã�¯ã€�ã�“ã�¡ã‚‰ã‚’é�¸æŠžã�—ã�¦ã��ã� ã�•ã�„ã€‚");
+            //ToolTip1.SetToolTip(rdNoChange, "å·¥äº‹é€²æ�—é€²æ�—ã‚’ç�¾åœ¨ã�®çŠ¶æ…‹ã�‹ã‚‰å¤‰æ›´ã�—ã�ªã�„å ´å�ˆã�¯ã€�ã�“ã�¡ã‚‰ã‚’é�¸æŠžã�—ã�¦ã��ã� ã�•ã�„ã€‚");
+        }
+        #endregion
+
+        #region è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿ã�®å�–å¾—
+        /// <summary>
+        /// è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿ã�®å�–å¾—
+        /// </summary>
+        private bool GetInvoiceData()
+        {
+            IOInvoiceData ioInvData = new IOInvoiceData();
+            IORequestHead ioReqHead = new IORequestHead();
+            IORequestData ioReqData = new IORequestData();
+
+            try
+            {
+                string sql = "";
+
+                // è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿ã�®å�–å¾—
+                sql = ioInvData.CreatePrimarykeyString(m_nInvoiceNo);
+                if (ioInvData.SelectAction(sql, ref m_InvData) == false)
+                {
+                    return false;
+                }
+
+                // è«‹æ±‚ãƒ˜ãƒƒãƒ€ã�®å�–å¾—
+                sql = string.Format(" WHERE InvoiceNo = {0} ORDER BY ReqConstructionCode", m_nInvoiceNo);
+                if (ioReqHead.SelectAction(sql, ref m_lstReqHead) == false)
+                {
+                    return false;
+                }
+
+                foreach (RequestHead ReqHead in m_lstReqHead)
+                {
+                    // è«‹æ±‚ãƒ˜ãƒƒãƒ€ã�®å�–å¾—
+                    sql = string.Format(" WHERE RequestNo = {0} ORDER BY MainConstructionCode", ReqHead.RequestNo);
+                    List<RequestData> lstReqData = new List<RequestData>();
+                    if (ioReqData.SelectAction(sql, ref lstReqData) == false)
+                    {
+                        return false;
+                    }
+
+                    m_dicReqData.Add(ReqHead.RequestNo, lstReqData);
+
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+
+                return false;
+            }
+            finally
+            {
+                ioInvData.close();
+                ioInvData = null;
+                ioReqHead.close();
+                ioReqHead = null;
+                ioReqData.close();
+                ioReqData = null;
+            }
+
+        }
+        #endregion
+
+        #region å·¥äº‹åŸºæœ¬æƒ…å ±ã�®è¿½åŠ 
+        private void AddConstructionBaseInfoDic(ConstructionBaseInfo Info)
+        {
+            ConstructionBaseInfo wrk = null;
+
+            if (m_dicConstructionBaseInfo.TryGetValue(Info.ConstructionCode, out wrk) == false)
+            {
+                m_dicConstructionBaseInfo.Add(Info.ConstructionCode, Info);
+            }
+        }
+        #endregion
+
+        #region å·¥äº‹åŸºæœ¬æƒ…å ±ã�®å�–å¾—
+        /// <summary>
+        /// å·¥äº‹åŸºæœ¬æƒ…å ±ã�®å�–å¾—
+        /// </summary>
+        private bool GetMainConstructionBaseInfo()
+        {
+            IOConstructionBaseInfo ioInfo = new IOConstructionBaseInfo();
+
+            foreach (RequestHead ReqHead in m_lstReqHead)
+            {
+                string sql = ioInfo.CreatePrimarykeyString(ReqHead.ReqConstructionCode);
+                ConstructionBaseInfo info = new ConstructionBaseInfo();
+                if (ioInfo.SelectAction(sql, ref info) == false)
+                {
+                    return false;
+                }
+
+                AddConstructionBaseInfoDic(info);
+            }
+
+            List<int> lstKey = new List<int>(m_dicReqData.Keys);
+            try
+            {
+                foreach (int nRequestNo in lstKey)
+                {
+                    List<RequestData> lstReqData = null;
+
+                    if (m_dicReqData.TryGetValue(nRequestNo, out lstReqData) == false)
+                    {
+                        return false;
+                    }
+
+                    foreach (RequestData ReqData in lstReqData)
+                    {
+                        string sql = ioInfo.CreatePrimarykeyString(ReqData.MainConstructionCode);
+                        ConstructionBaseInfo info = new ConstructionBaseInfo();
+                        if (ioInfo.SelectAction(sql, ref info) == false)
+                        {
+                            return false;
+                        }
+
+                        AddConstructionBaseInfoDic(info);
+                    }
+
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+
+                return false;
+            }
+            finally
+            {
+                ioInfo.close();
+                ioInfo = null;
+            }
+
+        }
+        #endregion
+
+        #region è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿ã�®å��æ˜ 
+        private void EntryInvoiceData()
+        {
+            long lTotalAmount = 0;
+            long lTaxAmount = 0;
+
+            foreach (RequestHead ReqHead in m_lstReqHead)
+            {
+                lTotalAmount += ReqHead.RequestTotalAmount;
+                lTaxAmount += ReqHead.TaxAmount;
+            }
+
+            m_InvData.TotalAmount = lTotalAmount;
+            m_InvData.TaxAmount = lTaxAmount;
+
+            m_InvData.RequestDate = m_ExcuteDate;
+
+            m_InvData.Comment1 = txtComment1.Text;
+            m_InvData.Comment2 = txtComment2.Text;
+            m_InvData.Comment3 = txtComment3.Text;
+            m_InvData.Comment4 = txtComment4.Text;
+            m_InvData.Comment5 = txtComment5.Text;
+
+            m_InvData.CompleteFlg = 1;
+
+            if (UpdateInvoiceData() == false)
+            {
+                return;
+            }
+        }
+        #endregion
+
+        #region è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿æ›´æ–°
+        private bool UpdateInvoiceData()
+        {
+            IOInvoiceData ioInvData = new IOInvoiceData();
+
+            try
+            {
+                string sql = ioInvData.CreatePrimarykeyString( m_InvData.InvoiceNo );
+                if (ioInvData.UpdateAction(sql, m_InvData) == false)
+                {
+                    return false;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+
+                return false;
+            }
+            finally
+            {
+                ioInvData.close();
+                ioInvData = null;
+            }
+
+        }
+        
+        #endregion
+
+        #region å·¥äº‹ãƒ‡ãƒ¼ã‚¿æ›´æ–°
+        /// <summary>
+        /// å·¥äº‹åŸºæœ¬æƒ…å ±ã‚’æ›´æ–°ã�™ã‚‹
+        /// </summary>
+        /// <returns></returns>
+        private bool UpdateConstructionBaseInfo()
+        {
+
+            IOConstructionBaseInfo ioInfo = new IOConstructionBaseInfo();
+            IOConstructionProgressDate ioPrgDate = new IOConstructionProgressDate();
+
+            List<int> lstKeyInfo = new List<int>(m_dicConstructionBaseInfo.Keys);
+
+            Dictionary<int, int> dicCodeWork = new Dictionary<int, int>();
+
+            // ãƒˆãƒ©ãƒ³ã‚¶ã‚¯ã‚·ãƒ§ãƒ³é–‹å§‹
+            ioInfo.beginTran();
+            ioPrgDate.beginTran();
+
+            string sql = "";
+
+            try
+            {
+                foreach (int nConstructionCode in lstKeyInfo)
+                {
+                    int nOldStatus = 0;
+                    ConstructionBaseInfo Info = null;
+
+                    // å·¥äº‹åŸºæœ¬æƒ…å ±ã�®å�–å¾—
+                    if (m_dicConstructionBaseInfo.TryGetValue(nConstructionCode, out Info) == false)
+                    {
+                        ioInfo.rollback();
+                        ioPrgDate.rollback();
+                        return false;
+                    }
+
+                    nOldStatus = Info.ConstructionStatusFlg;
+
+                    // å·¥äº‹çŠ¶æ…‹ã�Œã€Œè«‹æ±‚æº–å‚™ã€�ã�§ã�¯ã�ªã�„å ´å�ˆã�¯å¯¾è±¡å¤–
+                    if (nOldStatus != (int)CommonDefine.StatNumArray.Status9)
+                    {
+                        continue;
+                    }
+
+                    // å·¥äº‹åŸºæœ¬æƒ…å ±ã�§è«‹æ±‚ä¸€æ‹¬ã�§ã�ªã�„å ´å�ˆã�¯å¯¾è±¡å¤–
+                    if (Info.BillingSplitFlg != (int)ConstructionBaseInfo.BillingSplitFlgDef.AllOnBilling)
+                    {
+                        continue;
+                    }
+
+                    // å·¥äº‹çŠ¶æ…‹ãƒ•ãƒ©ã‚°ã‚’ã€Œè«‹æ±‚ç¢ºèª�ã€�ã�«å¤‰æ›´
+                    Info.ConstructionStatusFlg = (int)CommonDefine.StatNumArray.Status10;
+
+                    // å·¥äº‹åŸºæœ¬æƒ…å ±ã‚’æ›´æ–°
+                    sql = ioInfo.CreatePrimarykeyString(nConstructionCode);
+                    if (ioInfo.UpdateAction(sql, Info) == false)
+                    {
+                        ioInfo.rollback();
+                        ioPrgDate.rollback();
+                        return false;
+                    }
+
+                    // æ—¢ã�«ãƒ‡ãƒ¼ã‚¿ã�Œå­˜åœ¨ã�—ã�ªã�„ã�‹ä¸€åº¦æ¤œç´¢ã�—ã�¦ã�Šã��
+                    sql = ioPrgDate.CreatePrimarykeyString(nConstructionCode, Info.ConstructionStatusFlg);
+                    List<ConstructionProgressDate> lstPrgDate = new List<ConstructionProgressDate>();
+                    if (ioPrgDate.SelectAction(sql, ref lstPrgDate) == false)
+                    {
+                        ioInfo.rollback();
+                        ioPrgDate.rollback();
+                        return false;
+                    }
+
+                    // ãƒ‡ãƒ¼ã‚¿ã�Œã�‚ã‚‹å ´å�ˆã�¯ã€�å½“è©²ãƒ‡ãƒ¼ã‚¿ã‚’å‰Šé™¤ã�™ã‚‹
+                    if (lstPrgDate.Count > 0)
+                    {
+                        // è©²å½“ãƒ‡ãƒ¼ã‚¿ã‚’å‰Šé™¤
+                        sql = ioPrgDate.CreatePrimarykeyString(nConstructionCode, Info.ConstructionStatusFlg);
+                        if (ioPrgDate.DeleteAction(sql) == false)
+                        {
+                            ioInfo.rollback();
+                            ioPrgDate.rollback();
+                            return false;
+                        }
+                    }
+
+                    // æ¡ˆä»¶é€²æ�—æ—¥ä»˜ãƒ‡ãƒ¼ã‚¿ã�®æ§‹ç¯‰
+                    ConstructionProgressDate PrgDate = new ConstructionProgressDate();
+
+                    // æ¡ˆä»¶é€²æ�—æ—¥ä»˜ãƒ‡ãƒ¼ã‚¿ã�®è¨­å®š
+                    PrgDate.ConstructionCode = nConstructionCode;
+                    PrgDate.ConstructionStatusFlg = (int)CommonDefine.StatNumArray.Status10;
+                    PrgDate.PreviousStatusFlg = nOldStatus;
+                    PrgDate.ChangeDate = DateTime.Now;
+                    PrgDate.ChangePersonCode = CommonMotions.LoginUserData.PersonCode;
+
+                    // æ¡ˆä»¶é€²æ�—æ—¥ä»˜ãƒ‡ãƒ¼ã‚¿ã‚’æŒ¿å…¥
+                    if (ioPrgDate.InsertAction(PrgDate) == false)
+                    {
+                        ioInfo.rollback();
+                        ioPrgDate.rollback();
+                        return false;
+                    }
+
+                    // å¯¾è±¡å·¥äº‹ã�Œçµ�å�ˆï¼ˆå­�ï¼‰å·¥äº‹ã�®å ´å�ˆ
+                    if (Info.JoinFlg == (int)ConstructionBaseInfo.JoinFlgDef.JoinChildren)
+                    {
+                        // çµ�å�ˆï¼ˆè¦ªï¼‰å·¥äº‹ç•ªå�·ã�®å�–å¾—
+                        int nParentCode = GetJoinParentConstructionCode(nConstructionCode);
+
+                        int nChildCode = 0;
+
+                        // è¦ªå·¥äº‹ç•ªå�·ã�Œç™»éŒ²ã�•ã‚Œã�¦ã�„ã�ªã�„å ´å�ˆã�¯ç™»éŒ²ã�™ã‚‹
+                        if (dicCodeWork.TryGetValue(nParentCode, out nChildCode) == false)
+                        {
+                            // çµ�å�ˆï¼ˆè¦ªï¼‰ã�®å·¥äº‹çŠ¶æ…‹ã‚’æ›´æ–°ã�™ã‚‹ã�Ÿã‚�ã�«å·¥äº‹ç•ªå�·ã‚’é€€é�¿
+                            dicCodeWork.Add(nParentCode, nConstructionCode);
+                        }
+                    }
+
+                }
+
+                List<int> lstKeyLink = new List<int>(dicCodeWork.Keys);
+
+                foreach (int nParentCode in lstKeyLink)
+                {
+                    int nChildCode = 0;
+
+                    if (dicCodeWork.TryGetValue(nParentCode, out nChildCode) == true)
+                    {
+                        // çµ�å�ˆï¼ˆè¦ªï¼‰ã�®å·¥äº‹çŠ¶æ…‹ã‚’å¤‰æ›´
+                        ClsChangeBaseInfoData.SetParentConstrStatus(ioInfo, nChildCode);
+                    }
+                }
+
+                // DBã‚³ãƒŸãƒƒãƒˆ
+                ioInfo.commit();
+                ioPrgDate.commit();
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                ioInfo.close(); 
+                ioInfo = null;
+                ioPrgDate.close();
+                ioPrgDate = null;
+            }
+        }
+
+        #endregion
+
+        #region DBã‚¢ã‚¯ã‚»ã‚¹å‡¦ç�†
+        #region è«‹æ±‚ãƒ‡ãƒ¼ã‚¿å�–å¾—
+        /// <summary>
+        /// è«‹æ±‚ãƒ‡ãƒ¼ã‚¿å�–å¾—
+        /// </summary>
+        /// <param name="constCode">æœ¬å·¥äº‹ç•ªå�·</param>
+        /// <param name="data"></param>
+        /// <returns></returns>
+        private bool GetRequestData(int constCode, ref RequestData data)
+        {
+            //var cbDB = new IORequestData();
+            try
+            {
+                //// è«‹æ±‚ãƒ‡ãƒ¼ã‚¿å�–å¾—ã‚¯ãƒ©ã‚¹é ˜åŸŸ
+                //var wrk = new List<RequestData>();
+
+                //// è«‹æ±‚ãƒ‡ãƒ¼ã‚¿å�–å¾—SQL
+                //string strSQL = cbDB.CreateSubkeyString(constCode);
+
+                //// è«‹æ±‚ãƒ‡ãƒ¼ã‚¿å�–å¾—
+                //if (!cbDB.SelectAction(strSQL, ref wrk)) return false;
+
+                //if (wrk.Count != 1) return false;
+
+                //data = wrk[0];
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                //cbDB.close(); cbDB = null;
+            }
+
+            return true;
+        }
+        #endregion
+
+        #region è«‹æ±‚æ›¸å�ˆè¨ˆãƒ‡ãƒ¼ã‚¿å�–å¾—
+        /// <summary>
+        /// è«‹æ±‚æ›¸å�ˆè¨ˆãƒ‡ãƒ¼ã‚¿å�–å¾—
+        /// </summary>
+        /// <param name="requestNo"></param>
+        /// <param name="datas"></param>
+        /// <returns></returns>
+        //private bool GetRequestTotalData(int requestNo, ref List<RequestTotalData> datas)
+        //{
+        //    var cbDB = new IORequestTotalData();
+        //    try
+        //    {
+        //        // è«‹æ±‚æ›¸å�ˆè¨ˆãƒ‡ãƒ¼ã‚¿å�–å¾—ã‚¯ãƒ©ã‚¹é ˜åŸŸ
+        //        var wrk = new List<RequestTotalData>();
+
+        //        // è«‹æ±‚æ›¸å�ˆè¨ˆãƒ‡ãƒ¼ã‚¿å�–å¾—SQL
+        //        string strSQL = cbDB.CreatePrimarykeyString(requestNo);
+
+        //        // ã‚½ãƒ¼ãƒˆæ�¡ä»¶è¿½åŠ 
+        //        strSQL += " ORDER BY REQUESTNO, ORDERNO";
+
+        //        // è«‹æ±‚æ›¸å�ˆè¨ˆãƒ‡ãƒ¼ã‚¿å�–å¾—
+        //        if (!cbDB.SelectAction(strSQL, ref wrk)) return false;
+
+        //        // è«‹æ±‚æ›¸å�ˆè¨ˆãƒ‡ãƒ¼ã‚¿å�–å¾—ã‚¯ãƒ©ã‚¹é ˜åŸŸ
+        //        datas = wrk;
+
+        //    }
+        //    catch (Exception ex)
+        //    {
+        //        logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+        //        return false;
+        //    }
+        //    finally
+        //    {
+        //        cbDB.close(); cbDB = null;
+        //    }
+        //    return true;
+        //}
+
+        #endregion
+
+        #region è«‹æ±‚æ˜Žç´°ãƒ‡ãƒ¼ã‚¿å�–å¾—
+        /// <summary>
+        /// è«‹æ±‚æ˜Žç´°ãƒ‡ãƒ¼ã‚¿å�–å¾—
+        /// </summary>
+        /// <param name="requestNo"></param>
+        /// <param name="datas"></param>
+        /// <returns></returns>
+        private bool GetRequestDataDetail(int requestNo, ref Dictionary<int, Dictionary<int, RequestDataDetail>> datas)
+        {
+            var cbDB = new IORequestDataDetail();
+            try
+            {
+                //// è«‹æ±‚æ˜Žç´°ãƒ‡ãƒ¼ã‚¿å�–å¾—ã‚¯ãƒ©ã‚¹é ˜åŸŸ
+                //var wrk = new List<RequestDataDetail>();
+
+                //// è«‹æ±‚æ˜Žç´°ãƒ‡ãƒ¼ã‚¿å�–å¾—SQL
+                //string strSQL = cbDB.CreatePrimarykeyString(requestNo);
+
+                //// è«‹æ±‚æ˜Žç´°ãƒ‡ãƒ¼ã‚¿å�–å¾—
+                //if (!cbDB.SelectAction(strSQL, ref wrk)) return false;
+
+                //foreach (var record in wrk)
+                //{
+                //    if (!datas.ContainsKey(record.ConstructionCode))
+                //        datas[record.ConstructionCode] = new Dictionary<int, RequestDataDetail>();
+                //    datas[record.ConstructionCode][record.OrderNo] = record;
+                //}
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                cbDB.close(); cbDB = null;
+            }
+            return true;
+        }
+        #endregion
+
+        #region å·¥äº‹åŸºæœ¬æƒ…å ±å�–å¾—
+        /// <summary>
+        /// å·¥äº‹åŸºæœ¬æƒ…å ±å�–å¾—
+        /// </summary>
+        /// <param name="constructionCode"></param>
+        /// <param name="data"></param>
+        /// <returns></returns>
+        private bool GetConstructionBaseInfo(int constructionCode, ref ConstructionBaseInfo data)
+        {
+            var cbDB = new IOConstructionBaseInfo();
+            try
+            {
+                // å·¥äº‹åŸºæœ¬æƒ…å ±å�–å¾—ã‚¯ãƒ©ã‚¹é ˜åŸŸ
+                var wrk = new ConstructionBaseInfo();
+
+                // å·¥äº‹åŸºæœ¬æƒ…å ±å�–å¾—SQL
+                string strSQL = cbDB.CreatePrimarykeyString(constructionCode);
+
+                // å·¥äº‹åŸºæœ¬æƒ…å ±å�–å¾—
+                if (!cbDB.SelectAction(strSQL, ref wrk)) return false;
+
+                // å·¥äº‹åŸºæœ¬æƒ…å ±å�–å¾—ã‚¯ãƒ©ã‚¹é ˜åŸŸ
+                data = wrk;
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                cbDB.close(); cbDB = null;
+            }
+            return true;
+        }
+        #endregion
+
+        #region çµ�å�ˆè¦ªå·¥äº‹ç•ªå�·ã�®å�–å¾—
+        private int GetJoinParentConstructionCode(int nConstructionCode)
+        {
+            int nParentCode = -1;
+            IOConstructionLink ioLink = new IOConstructionLink();
+
+            try
+            {
+                string sql = string.Format(" WHERE FluctuationCode = {0} AND LinkType = 1 ", nConstructionCode);
+                List<ConstructionLink> lstWork = new List<ConstructionLink>();
+
+                if (ioLink.SelectAction(sql, ref lstWork) == false)
+                {
+                    return nParentCode;
+                }
+
+                foreach (ConstructionLink Link in lstWork)
+                {
+                    nParentCode = Link.ConstructionCode;
+                    break;
+                }
+                return nParentCode;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+                return -1;
+            }
+            finally
+            {
+                ioLink.close(); 
+                ioLink = null;
+            }
+
+        }
+        #endregion
+
+        #region å·¥äº‹åŸºæœ¬æƒ…å ±æ˜Žç´°
+        /// <summary>
+        /// å·¥äº‹åŸºæœ¬æƒ…å ±æ˜Žç´°ã‚’å·¥äº‹åŸºæœ¬æƒ…å ±æ˜Žç´°ãƒ†ãƒ¼ãƒ–ãƒ«ã�‹ã‚‰å·¥äº‹ç•ªå�·ã‚’ã‚­ãƒ¼ã�«å�–å¾—ã�™ã‚‹é–¢æ•°
+        /// </summary>
+        /// <param name="datas"></param>
+        /// <returns></returns>
+        private bool GetConstructionBaseInfoDetail(List<int> lstConstCode, ref Dictionary<int,Dictionary<int,string>> datas)
+        {
+            var sbDB = new IOConstructionBaseInfoDetail();
+            try
+            {
+                // å·¥äº‹åŸºæœ¬æƒ…å ±æ˜Žç´°å�–å¾—ã‚¯ãƒ©ã‚¹é ˜åŸŸ
+                var wrk = new List<ConstructionBaseInfoDetail>();
+
+                // å·¥äº‹åŸºæœ¬æƒ…å ±æ˜Žç´°å�–å¾—SQL
+                string strSQL = " Where ConstructionCode in ( ";
+                foreach (int constCode in lstConstCode)
+                {
+                    strSQL += string.Format((lstConstCode.IndexOf(constCode) == 0) ? " {0}" : ", {0}", constCode);
+                }
+                strSQL += " )";
+
+                // å·¥äº‹åŸºæœ¬æƒ…å ±æ˜Žç´°å�–å¾—
+                if (!sbDB.SelectAction(strSQL, ref wrk)) return false;
+
+                datas.Clear();
+
+                foreach (var record in wrk)
+                {
+                    if (!datas.ContainsKey(record.ConstructionCode))
+                        datas[record.ConstructionCode] = new Dictionary<int, string>();
+                    datas[record.ConstructionCode][record.DetailNo] = record.DetailString;
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                sbDB.close();
+                sbDB = null;
+            }
+
+            return true;
+        }
+        #endregion
+
+        #region å·¥äº‹å¢—æ¸›æƒ…å ±å�–å¾—
+        /// <summary>
+        /// å·¥äº‹å¢—æ¸›æƒ…å ±å�–å¾—
+        /// </summary>
+        /// <param name="constructionCode"></param>
+        /// <param name="datas"></param>
+        /// <returns></returns>
+        private bool GetConstructionLink(int constructionCode, ref List<int> datas)
+        {
+            var sbDB = new IOConstructionLink();
+            try
+            {
+                // å·¥äº‹å¢—æ¸›æƒ…å ±å�–å¾—ã‚¯ãƒ©ã‚¹é ˜åŸŸ
+                var wrk = new List<ConstructionLink>();
+
+                // å·¥äº‹å¢—æ¸›æƒ…å ±å�–å¾—SQL
+                string strSQL = sbDB.CreatePrimarykeyString(constructionCode);
+
+                // ã‚½ãƒ¼ãƒˆæ�¡ä»¶è¿½åŠ 
+                strSQL += " ORDER BY FLUCTUATIONCODE";
+
+                // å·¥äº‹å¢—æ¸›æƒ…å ±å�–å¾—
+                if (!sbDB.SelectAction(strSQL, ref wrk)) return false;
+
+                foreach (var record in wrk)
+                {
+                    datas.Add(record.FluctuationCode);
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                sbDB.close();
+                sbDB = null;
+            }
+
+            return true;
+        }
+        #endregion
+
+        #region å·¥äº‹è©³ç´°å�°å¸³ãƒ‡ãƒ¼ã‚¿å�–å¾—
+        /// <summary>
+        /// å·¥äº‹è©³ç´°å�°å¸³ãƒ‡ãƒ¼ã‚¿å�–å¾—
+        /// </summary>
+        /// <param name="constructionCode"></param>
+        /// <param name="data"></param>
+        /// <returns></returns>
+        private bool GetConstructionLedger(int constructionCode, ref ConstructionLedger data)
+        {
+            var sbDB = new IOConstructionLedger();
+            try
+            {
+                // å·¥äº‹è©³ç´°å�°å¸³ãƒ‡ãƒ¼ã‚¿å�–å¾—ã‚¯ãƒ©ã‚¹é ˜åŸŸ
+                var wrk = new ConstructionLedger();
+
+                // å·¥äº‹è©³ç´°å�°å¸³ãƒ‡ãƒ¼ã‚¿å�–å¾—SQL
+                string strSQL = sbDB.CreatePrimarykeyString(constructionCode);
+
+                // å·¥äº‹è©³ç´°å�°å¸³ãƒ‡ãƒ¼ã‚¿å�–å¾—
+                if (!sbDB.SelectAction(strSQL, ref wrk)) return false;
+
+                data = wrk;
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                sbDB.close();
+                sbDB = null;
+            }
+
+            return true;
+        }
+        #endregion
+        #endregion
+
+        #region å�°åˆ·ãƒ¡ã‚¤ãƒ³
+        /// <summary>
+        /// å�°åˆ·ãƒ¡ã‚¤ãƒ³
+        /// </summary>
+        /// <param name="bPrint">true:å�°åˆ·ã�®ã�¿,false:ä¿�å­˜ã�®ã�¿</param>
+        public void PrintMain(bool bPrint)
+        {
+            try
+            {
+                // å�°åˆ·ã‚¯ãƒ©ã‚¹
+                m_UsedExcel = new UsedExcel();
+
+                // ã‚¨ã‚¯ã‚»ãƒ«ãƒ–ãƒƒã‚¯ã‚ªãƒ¼ãƒ—ãƒ³
+                if (!m_UsedExcel.ExcelBookOpen(System.Environment.CurrentDirectory + s_ExcelRequestSheetFileName))
+                {
+                    return;
+                }
+
+                // è¡¨ç´™å�°åˆ·
+                CommonDefine.RetunAnswer rtAns = PrintCover();
+                if (rtAns != CommonDefine.RetunAnswer.Answer0)
+                {
+                    return;
+                }
+
+                // ä¸€è¦§å�°åˆ·
+                rtAns = PrintList();
+                if (rtAns != CommonDefine.RetunAnswer.Answer0)
+                {
+                    return;
+                }
+
+                int no = 1;
+                foreach (RequestHead ReqHead in m_lstReqHead)
+                {
+                    List<RequestData> lstReqData = null;
+                    if (m_dicReqData.TryGetValue(ReqHead.RequestNo, out lstReqData) == false)
+                    {
+                        return;
+                    }
+
+                    foreach (RequestData ReqData in lstReqData)
+                    {
+                        ConstructionBaseInfo Info = null;
+
+                        if (m_dicConstructionBaseInfo.TryGetValue(ReqData.MainConstructionCode, out Info) == false)
+                        {
+                            return;
+                        }
+
+                        long lRequestAmount = ReqData.RequestAmount0;
+                        lRequestAmount += ReqData.RequestAmount1;
+                        lRequestAmount += ReqData.RequestAmount2;
+                        lRequestAmount += ReqData.RequestAmount3;
+                        lRequestAmount += ReqData.RequestAmount4;
+                        lRequestAmount += ReqData.RequestAmount5;
+                        lRequestAmount += ReqData.RequestAmount6;
+                        lRequestAmount += ReqData.UnpaidAmount;
+
+                        if (lRequestAmount == 0)
+                        {
+                            continue;
+                        }
+
+                        rtAns = PrintDetail( no, ReqHead, ReqData, Info );
+                        if (rtAns != CommonDefine.RetunAnswer.Answer0)
+                        {
+                            return;
+                        }
+                    }
+
+                }
+
+                if (bPrint)
+                {
+                    // å�°åˆ·å‡¦ç�†
+                    m_UsedExcel.ExcelSheetPrint();
+                }
+                else
+                {
+                    // ä¿�å­˜å‡¦ç�†
+                    SaveExcelFile();
+                }
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+            finally
+            {
+                // Excelé–‹æ”¾
+                if (m_UsedExcel != null)
+                {
+                    m_UsedExcel.ExcelBookClose();
+                }
+                m_UsedExcel = null;
+
+                // ã‚¬ãƒ¼ãƒ™ãƒ¼ã‚¸ã‚³ãƒ¬ã‚¯ãƒˆ
+                GC.Collect();
+            }
+
+        }
+        #endregion
+
+        #region Excelãƒ•ã‚¡ã‚¤ãƒ«ä¿�å­˜å‡¦ç�†
+        /// <summary>
+        /// Excelãƒ•ã‚¡ã‚¤ãƒ«ä¿�å­˜å‡¦ç�†
+        /// </summary>
+        private void SaveExcelFile()
+        {
+            try
+            {
+                string filePath = @m_SelectSaveExcel;
+
+                // ãƒ•ã‚¡ã‚¤ãƒ«ãƒ‘ã‚¹ã�®å­˜åœ¨ã‚’ãƒ�ã‚§ãƒƒã‚¯
+                if (CommonMotions.ChkDirPath(filePath, true))
+                {
+                    // ãƒ•ã‚¡ã‚¤ãƒ«å��ã‚’ä½œæˆ�
+                    string wrkFile = m_InvData.RequestName + "æ§˜ è«‹æ±‚æ›¸";
+
+                    // ãƒ•ã‚¡ã‚¤ãƒ«å��ã�«ä½¿ç”¨ã�§ã��ã�ªã�„æ–‡å­—ã‚’å�–ã‚Šé™¤ã��
+                    foreach (var badCh in m_UsedExcel.ExcelBadCharcter)
+                    {
+                        wrkFile = wrkFile.Replace(badCh, "");
+                    }
+
+                    // ãƒ•ã‚¡ã‚¤ãƒ«å��ä½œæˆ�
+                    filePath += @"\" + @wrkFile;
+
+                    // ãƒ•ã‚¡ã‚¤ãƒ«ä¿�å­˜
+                    m_UsedExcel.SaveSwitch = true;
+                    m_UsedExcel.ExcelSaveBook(filePath);
+
+                }
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+
+        }
+        #endregion
+
+        #region ã‚¨ãƒªã‚¢ã‚¹ã‚’ä»˜ã�‘ã�Ÿæ‹…å½“è€…ãƒžã‚¹ã‚¿ã�®ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰æ–‡ã‚’ä½œæˆ�ã�™ã‚‹
+        /// <summary>
+        /// ã‚¨ãƒªã‚¢ã‚¹ã‚’ä»˜ã�‘ã�Ÿæ‹…å½“è€…ãƒžã‚¹ã‚¿ã�®ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰æ–‡ã‚’ä½œæˆ�ã�™ã‚‹
+        /// </summary>
+        /// <param name="Alias"></param>
+        /// <param name="strSQL"></param>
+        private string CreatePersonSQL(string Alias)
+        {
+            try
+            {
+                StringBuilder strcmd = new StringBuilder();
+
+                bool bColFirst = true;
+                string strWork = string.Empty;
+                foreach (var gender in Enum.GetValues(typeof(IOMPersonInCharge.ColumnCnt)))
+                {
+                    strWork = gender.ToString();
+                    if (!bColFirst) strcmd.Append(", ");
+                    if (strWork.Equals("StartDate") || strWork.Equals("EndDate"))
+                    {
+                        strcmd.AppendFormat(" DATE_FORMAT({0}{1}, '%Y/%m/%d')", Alias, strWork);
+                    }
+                    else if (strWork.Equals("EntryDate") || strWork.Equals("UpdateDate"))
+                    {
+                        strcmd.AppendFormat(" DATE_FORMAT({0}{1}, '%Y/%m/%d %H:%i:%s')", Alias, strWork);
+                    }
+                    else
+                    {
+                        strcmd.AppendFormat(" {0}{1}", Alias, strWork);
+                    }
+                    bColFirst = false;
+                }
+
+                return strcmd.ToString();
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+                return string.Empty;
+            }
+        }
+        #endregion
+
+        #region è¡¨ç´™å�°é‘‘è¡¨ç¤º
+        /// <summary>
+        ///  è¡¨ç´™å�°é‘‘è¡¨ç¤º
+        /// </summary>
+        private void PrintCoverSeal(int PersonCode)
+        {
+            IOMPersonInCharge picDB = new IOMPersonInCharge();
+            IOProcessApproval paDB = new IOProcessApproval();
+            try
+            {
+                ArrayList arlist = new ArrayList();
+
+                // æ‰¿èª�ãƒ‡ãƒ¼ã‚¿èª­è¾¼
+                StringBuilder strSQLSeal = new StringBuilder();
+                strSQLSeal.Append("SELECT");
+                strSQLSeal.Append(CreatePersonSQL("B."));
+                strSQLSeal.Append(", C.SECRANK FROM PROCESSAPPROVAL A, PERSONINCHARGEMASTER B, SECURITYMASTER C");
+                strSQLSeal.Append(paDB.CreatePrimarykeyString(m_lstReqHead[0].ReqConstructionCode, (int)ClsExcute.ApprovalListNo.OrderBillingApproval, m_lstReqHead[0].OrderNo));
+                strSQLSeal.Append(" AND A.PERSONCODE = B.PERSONCODE");
+                strSQLSeal.Append(" AND C.SECCODE = B.SECCODE");
+                strSQLSeal.Append(" Order By C.SecRank ASC");
+                if (!paDB.ExecuteReader(strSQLSeal.ToString(), ref arlist)) return;
+
+                // å�°åˆ·ãƒ†ãƒ¼ãƒ–ãƒ«ä½œæˆ�
+                int[] PorsonCode = new int[4] { 0, 0, 0, 0 };
+                List<string> NameTable = new List<string>();
+                for (int i = 0; i < PorsonCode.Length; i++) NameTable.Add("");
+                string[] OrderOfPrecedenceTable = new string[4];
+
+                int PersonDataCnt = Enum.GetNames(typeof(IOMPersonInCharge.ColumnCnt)).Length;
+                // æ‰¿èª�ãƒ‡ãƒ¼ã‚¿ã‚ˆã‚Šæ‹…å½“è€…ã��ã�®ä»–ã‚’å�–å¾—ã�™ã‚‹
+                for (int i = 0; i < arlist.Count; i++)
+                {
+                    // ã‚¨ã‚¯ã‚»ãƒ«ã�®æž ã‚ˆã‚Šå¤šã�„å ´å�ˆã�¯å‡¦ç�†ã‚’æŠœã�‘ã‚‹
+                    if (i > 3) break;
+
+                    object[] readObj = (object[])arlist[i];
+                    PersonInChargeMaster PersonRec = new PersonInChargeMaster();
+                    picDB.Reader2Struct(readObj, ref PersonRec);
+
+                    // ã‚»ã‚­ãƒ¥ãƒªãƒ†ã‚£ãƒ‡ãƒ¼ã‚¿ãƒ�ã‚§ãƒƒã‚¯
+                    int SecRank = CommonMotions.cnvInt(readObj[PersonDataCnt]);
+                    int SRank = (int)CommonDefine.SecurityRankPos.SpecialAuthority;     // ç‰¹åˆ¥æ¨©é™�
+                    int FRank = (int)CommonDefine.SecurityRankPos.FreeAuthority;        // çµ±æ‹¬è€…æ¨©é™�
+                    int LRank = (int)CommonDefine.SecurityRankPos.LimitedAuthority;     // æ‰€å±žé•·æ¨©é™�
+
+                    // æ‹…å½“è€…ä»¥å¤–ã�¯å½¹è�·ã�Œã�‚ã‚‹
+                    if (SecRank == CommonDefine.SecurityRankList[SRank].Key
+                        || SecRank == CommonDefine.SecurityRankList[FRank].Key
+                        || SecRank == CommonDefine.SecurityRankList[LRank].Key)
+                    {
+                        // ã‚³ãƒ¼ãƒ‰ã�¨å��å‰�ã�¨å½¹è�·ã‚’å�–å¾—ã�™ã‚‹
+                        PorsonCode[i] = PersonRec.PersonCode;
+                        NameTable[i] = PersonRec.SealPrintName;
+                        // 7æ–‡å­—ä»¥ä¸Šã�¯æ–‡å­—ã�Œè¦‹ã�ˆã�ªã�„ã�®ã�§çœ�ç•¥
+                        if (PersonRec.DisplayString.Length > 7)
+                        {
+                            OrderOfPrecedenceTable[i] = PersonRec.DisplayString.Substring(0, 7);
+                        }
+                        else if (PersonRec.DisplayString.Length < 1)
+                        {
+                            OrderOfPrecedenceTable[i] = "æ‹…ã€€å½“";
+                        }
+                        else
+                        {
+                            OrderOfPrecedenceTable[i] = PersonRec.DisplayString;
+                        }
+                    }
+                    else
+                    {   // æ‹…å½“è€…
+                        // ã‚³ãƒ¼ãƒ‰ã�¨å��å‰�ã‚’å�–å¾—ã�™ã‚‹
+                        PorsonCode[3] = PersonRec.PersonCode;
+                        NameTable[3] = PersonRec.SealPrintName;
+                        OrderOfPrecedenceTable[3] = "æ‹…ã€€å½“";
+                    }
+                }
+                // ãƒ†ãƒ¼ãƒ–ãƒ«å†…ã�«å�Œã�˜ã‚³ãƒ¼ãƒ‰ã�Œç„¡ã�„ã�‹å¾Œã�‹ã‚‰èª¿ã�¹ã‚‹
+                for (int i = 0; i < PorsonCode.Length - 1; i++)
+                {
+                    if (PorsonCode[i] == 0) continue;
+                    for (int ii = 0; ii < PorsonCode.Length; ii++)
+                    {
+                        if (i == ii) continue;
+                        if (PorsonCode[i] != PorsonCode[ii]) continue;
+
+                        PorsonCode[ii] = 0;
+                        NameTable[ii] = string.Empty;
+                        OrderOfPrecedenceTable[ii] = string.Empty;
+                        break;
+                    }
+                }
+
+                // å�°é‘‘ã‚’æ��ç”»ã�™ã‚‹
+                OfficeShapeDefine shapedef = new OfficeShapeDefine();
+                shapedef.ShapeSheetName = s_shapeSheetName;     // å›³å½¢ã‚·ãƒ¼ãƒˆå��ç§°
+                shapedef.ShapeName = s_shapeName;               // å›³å½¢å��ç§°
+                shapedef.ShapeWidth = s_ShapeSize[0, 0];        // å›³å½¢æ��ç”»ã‚µã‚¤ã‚º Width
+                shapedef.ShapeHeight = s_ShapeSize[0, 1];       // å›³å½¢æ��ç”»ã‚µã‚¤ã‚º Height
+
+                for (int i = 0; i < 4; i++)
+                {
+                    // 
+                    if (PorsonCode[i] != 0)
+                    {
+                        shapedef.ShapeDrowPointX = s_CoverSealPoint[i, 0];          // å›³å½¢æ��ç”»ä½�ç½® X
+                        shapedef.ShapeDrowPointY = s_CoverSealPoint[i, 1];          // å›³å½¢æ��ç”»ä½�ç½® Y
+                        shapedef.DrowText = NameTable[i];                           // æ��ç”»æ–‡å­—åˆ—
+                        int ifontSize = NameTable[i].Length - 1;
+                        if (ifontSize > 4) ifontSize = 4;
+                        shapedef.FontSize = s_EstimateSeal1FontSize[ifontSize];     // ãƒ•ã‚©ãƒ³ãƒˆã‚µã‚¤ã‚º
+                        // å›³å½¢æ��ç”»
+                        m_UsedExcel.ExcelCopyShape(shapedef);
+                    }
+                    // å½¹è�·ã‚’å�°å­—ã�™ã‚‹(Mï½ž)
+                    int orgNumber = 11 + i;
+                    string strAlpha = CommonMotions.cnvNumberToAlphaCharacter(orgNumber);
+                    m_UsedExcel.ExcelCellSet(string.Format("{0}25", strAlpha), OrderOfPrecedenceTable[i]);
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+            finally
+            {
+                paDB.close(); paDB = null;
+                picDB.close(); picDB = null;
+            }
+        }
+        #endregion
+
+        #region è«‹æ±‚æ›¸(è¡¨ç´™)ä½œæˆ�
+        /// <summary>
+        /// è«‹æ±‚æ›¸(è¡¨ç´™)ä½œæˆ�
+        /// </summary>
+        /// <returns></returns>
+        private CommonDefine.RetunAnswer PrintCover()
+        {
+            try
+            {
+                //// è«‹æ±‚æ›¸è¡¨ç´™ã‚·ãƒ¼ãƒˆã�®å�–å¾—
+                m_UsedExcel.ExcelSheetGet(s_DicSheetName[enumSheetName.Cover]);
+
+                //// è«‹æ±‚æ›¸No(4è¡Œç›® Nåˆ—)
+                string strInvNo = (m_InvData.InvoiceNo / 1000).ToString();
+                strInvNo += "-";
+                strInvNo += (m_InvData.InvoiceNo % 1000).ToString("00");
+
+                ExcelPrintData InvNoData = new ExcelPrintData();
+                InvNoData.AddPrintData("N", 3, strInvNo).ExcelCellSet(m_UsedExcel);
+
+
+                //// â‘¢ è«‹æ±‚æ—¥(5è¡Œç›® Måˆ—)
+                if (m_bDatePrintFlg == true)
+                {
+                    ExcelPrintData reqDate = new ExcelPrintData();
+                    reqDate.AddPrintData("M", 4, dateTimePicker1.Value.ToString("yyyy/MM/dd")).ExcelCellSet(m_UsedExcel);
+                }
+                else
+                {
+                    ExcelPrintData reqDate = new ExcelPrintData();
+                    reqDate.AddPrintData("M", 4, "ã€€ã€€å¹´ã€€ã€€æœˆã€€ã€€æ—¥").ExcelCellSet(m_UsedExcel);
+                }
+
+                //// â‘£ è«‹æ±‚å…ˆå��ç§°(9è¡Œç›® Cåˆ—)
+                ExcelPrintData nameData = new ExcelPrintData();
+                string str = m_InvData.RequestName + "ã€€æ§˜";
+                nameData.AddPrintData("C", 8, str).ExcelCellSet(m_UsedExcel);
+
+                //// â‘¤ è«‹æ±‚é‡‘é¡�(13è¡Œç›® Cåˆ—)
+                ExcelPrintData priceData = new ExcelPrintData();
+                priceData.AddPrintData("C", 12, m_InvData.TotalAmount.ToString("#,0")).ExcelCellSet(m_UsedExcel);
+
+                //// â‘¥ æ¶ˆè²»ç¨Ž(14è¡Œç›® Cåˆ—)
+                ExcelPrintData taxData = new ExcelPrintData();
+                taxData.AddPrintData("C", 13, m_InvData.TaxAmount.ToString("#,0")).ExcelCellSet(m_UsedExcel);
+
+                //// å·¥äº‹å��(16è¡Œç›® Dåˆ—)
+//                ExcelPrintData cnstnameData = new ExcelPrintData();
+//                cnstnameData.AddPrintData("D", 15, m_lstReqHead[0].ReqConstructionName).ExcelCellSet(m_UsedExcel);
+
+                //// ä¼šç¤¾å��
+                string strCompany = CommonMotions.SystemMasterData.CompanyName1;
+                if( CommonMotions.SystemMasterData.CompanyName2 != string.Empty )
+                {
+                    strCompany += "ã€€"ã€€+ CommonMotions.SystemMasterData.CompanyName2;
+                }
+
+                // ä»£è¡¨è€…å��
+                string strPresident = string.Format("{0} {1}", CommonMotions.SystemMasterData.CEOPositionName.Trim()
+                                                                , CommonMotions.SystemMasterData.CEOName.Trim());
+
+                //// éƒµä¾¿ç•ªå�·
+                string strZip = "ã€’" + CommonMotions.SystemMasterData.ZipCode;
+
+                //// ä½�æ‰€
+                string strAddr = CommonMotions.SystemMasterData.Address1;
+                if( CommonMotions.SystemMasterData.Address2 != string.Empty)
+                {
+                    strAddr += CommonMotions.SystemMasterData.Address2;
+                }
+                if( CommonMotions.SystemMasterData.Address3 != string.Empty){
+                    strAddr += CommonMotions.SystemMasterData.Address3;
+                }
+
+                //// TEL/FAX
+
+                string strTelFax = "";
+
+                if( CommonMotions.SystemMasterData.PhoneNumber != string.Empty )
+                {
+                    strTelFax = "TEL " + CommonMotions.SystemMasterData.PhoneNumber + "(ä»£)";
+                }
+                if( CommonMotions.SystemMasterData.FaxNumber !=  string.Empty )
+                {
+                    if( strTelFax.Length > 0 )
+                    {
+                        strTelFax += " ";
+                    }
+                    strTelFax += "FAX " + CommonMotions.SystemMasterData.FaxNumber;
+                }
+                //// URL
+                string strUrl = CommonMotions.SystemMasterData.HomePageURL;
+
+                ExcelPrintData companyData = new ExcelPrintData();
+                companyData.AddPrintData("L", 17, strCompany);                              // ä¼šç¤¾å��(18è¡Œç›® Låˆ—)           
+                companyData.AddPrintData("L", 18, strPresident);                            // ä»£è¡¨è€…å��(19è¡Œç›® Låˆ—)           
+                companyData.AddPrintData("L", 19, strZip);                                  // éƒµä¾¿ç•ªå�·(20è¡Œç›® Låˆ—) 
+                companyData.AddPrintData("L", 20, strAddr);                                 // ä½�æ‰€(21è¡Œç›® Låˆ—)           
+                companyData.AddPrintData("L", 21, strTelFax);                               // TEL/FAX(22è¡Œç›® Låˆ—)           
+                companyData.AddPrintData("L", 22, strUrl);                                  // URL(23è¡Œç›® Låˆ—)           
+                companyData.ExcelCellSet(m_UsedExcel);
+
+                ExcelPrintData commentData = new ExcelPrintData();
+                commentData.AddPrintData("C", 17, m_InvData.Comment1);                              // ã‚³ãƒ¡ãƒ³ãƒˆ1(18è¡Œç›® Cåˆ—)           
+                commentData.AddPrintData("C", 18, m_InvData.Comment2);                              // ã‚³ãƒ¡ãƒ³ãƒˆ2(19è¡Œç›® Cåˆ—)           
+                commentData.AddPrintData("C", 19, m_InvData.Comment3);                              // ã‚³ãƒ¡ãƒ³ãƒˆ3(20è¡Œç›® Cåˆ—)           
+                commentData.AddPrintData("C", 20, m_InvData.Comment4);                              // ã‚³ãƒ¡ãƒ³ãƒˆ4(21è¡Œç›® Cåˆ—)           
+                commentData.AddPrintData("C", 21, m_InvData.Comment5);                              // ã‚³ãƒ¡ãƒ³ãƒˆ5(22è¡Œç›® Cåˆ—)           
+                commentData.ExcelCellSet(m_UsedExcel);
+
+                ConstructionBaseInfo Info = null;
+                m_dicConstructionBaseInfo.TryGetValue(m_lstReqHead[0].ReqConstructionCode, out Info);
+
+                // å�°é‘‘æ��ç”»
+                PrintCoverSeal(Info.ConstructionPersonCode);
+
+                return CommonDefine.RetunAnswer.Answer0;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+                return CommonDefine.RetunAnswer.Answer1;
+            }
+        }
+        #endregion
+
+        #region è«‹æ±‚æ›¸(ä¸€è¦§)ä½œæˆ�
+        /// <summary>
+        /// è«‹æ±‚æ›¸(ä¸€è¦§)ä½œæˆ�
+        /// </summary>
+        /// <returns></returns>
+        private CommonDefine.RetunAnswer PrintList()
+        {
+            try
+            {
+                int trow = 4;
+                ExcelPrintData ExcelPrnData = null;
+
+                //// è«‹æ±‚æ›¸è¡¨ç´™ã‚·ãƒ¼ãƒˆã�®å�–å¾—
+                m_UsedExcel.ExcelSheetGet(s_DicSheetName[enumSheetName.List]);
+
+                List<int> lstKey = new List<int>(m_dicReqData.Keys);
+
+                foreach (int nReqNo in lstKey)
+                {
+                    List<RequestData> lstData = null;
+
+                    if (m_dicReqData.TryGetValue(nReqNo, out lstData) == false)
+                    {
+                        continue;
+                    }
+
+                    foreach (RequestData ReqData in lstData)
+                    {
+                        ConstructionBaseInfo Info = null;
+
+                        if (m_dicConstructionBaseInfo.TryGetValue(ReqData.MainConstructionCode, out Info) == false)
+                        {
+                            continue;
+                        }
+
+                        string strname = (ReqData.MainConstructionCode / 100).ToString();
+                        strname += "-";
+                        strname += (ReqData.MainConstructionCode % 100).ToString("00");
+                        strname += "\r\n";
+                        strname += ReqData.ConstructionName;
+
+                        ExcelPrnData = new ExcelPrintData();
+                        ExcelPrnData.AddPrintData("B", trow, strname);             // å·¥äº‹ä»¶å��
+                        ExcelPrnData.AddPrintData("C", trow, string.Format("{0}å¹´{1}æœˆ{2}æ—¥"
+                                                                        , Info.ConstructionPeriodStart.Year
+                                                                        , Info.ConstructionPeriodStart.Month.ToString("00")
+                                                                        , Info.ConstructionPeriodStart.Day.ToString("00")));    // å·¥æœŸé–‹å§‹
+
+                        string EndDate = string.Empty;
+                        string DateDescription = string.Empty;
+                        if (Info.RevCompleteDate != DateTime.MinValue)
+                        {   // æ¤œæŸ»æ˜¯æ­£å®Œäº†æ—¥
+                            EndDate = string.Format("{0}å¹´{1}æœˆ{2}æ—¥"
+                                                                    , Info.RevCompleteDate.Year
+                                                                    , Info.RevCompleteDate.Month.ToString("00")
+                                                                    , Info.RevCompleteDate.Day.ToString("00"));
+                            DateDescription = "ï¼ˆç�¾å ´æ˜¯æ­£å®Œäº†æ—¥ï¼‰";
+                        }
+                        else
+                        {   // è«‹æ±‚ç¢ºèª�æ—¥
+                            EndDate = string.Format("{0}å¹´{1}æœˆ{2}æ—¥"
+                                                                    , Info.BillingDate.Year
+                                                                    , Info.BillingDate.Month.ToString("00")
+                                                                    , Info.BillingDate.Day.ToString("00"));
+                            DateDescription = "ï¼ˆè«‹æ±‚æ›¸ç¢ºèª�æ—¥ï¼‰";
+                        }
+                        ExcelPrnData.AddPrintData("C", trow + 1, string.Format("ï½ž {0}", EndDate));                 // å·¥æœŸçµ‚äº†
+                        ExcelPrnData.AddPrintData("C", trow + 2, DateDescription);                                  // çµ‚äº†æ—¥èª¬æ˜Ž
+
+                        long lAmount = ReqData.RequestAmount0;
+                        lAmount += ReqData.RequestAmount1;
+                        lAmount += ReqData.RequestAmount2;
+                        lAmount += ReqData.RequestAmount3;
+                        lAmount += ReqData.RequestAmount4;
+                        lAmount += ReqData.RequestAmount5;
+                        lAmount += ReqData.RequestAmount6;
+                        lAmount += ReqData.TaxAmount;
+                        lAmount += ReqData.UnpaidAmount;
+
+                        ExcelPrnData.AddPrintData("D", trow, lAmount.ToString("#,0"));                                  // è«‹æ±‚é‡‘é¡�
+
+                        ExcelPrnData.AddPrintData("E", trow, ReqData.Note);                                             // å‚™è€ƒ
+                        ExcelPrnData.ExcelCellSet(m_UsedExcel);
+
+                        trow += 3;
+
+                    }
+                }
+
+                return CommonDefine.RetunAnswer.Answer0;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+                return CommonDefine.RetunAnswer.Answer1;
+            }
+        }
+        #endregion
+
+        #region è«‹æ±‚æ›¸(å†…è¨³)ä½œæˆ�
+        /// <summary>
+        /// è«‹æ±‚æ›¸(å†…è¨³)ä½œæˆ�
+        /// </summary>
+        /// <param name="dicReqDetail"></param>
+        /// <param name="constLedger"></param>
+        /// <param name="lstConstLink"></param>
+        /// <returns></returns>
+        private CommonDefine.RetunAnswer PrintDetail(int no, RequestHead ReqHead, RequestData ReqData, ConstructionBaseInfo Info)
+        {
+            try
+            {
+                // è«‹æ±‚æ›¸å†…è¨³ã‚·ãƒ¼ãƒˆã�®å�–å¾—
+                m_UsedExcel.ExcelSheetGet(s_DicSheetName[enumSheetName.Detail]);
+
+                ExcelPrintData ExcelPrnData = null;
+
+                // ------------------------------- å·¥äº‹å�� -------------------------------
+                // â‘  å·¥äº‹ä»¶å��
+                ExcelPrnData = new ExcelPrintData();
+                ExcelPrnData.AddPrintData("C", 2, ReqData.ConstructionName).ExcelCellSet(m_UsedExcel);
+
+                // ------------------------------- è«‹è² é‡‘é¡� -------------------------------
+                ExcelPrnData = new ExcelPrintData();
+                ExcelPrnData.AddPrintData("A", 5, no.ToString());
+                ExcelPrnData.AddPrintData("G", 5, ReqData.ContractAmount.ToString("#,0"));
+                ExcelPrnData.ExcelCellSet(m_UsedExcel);
+
+                // ------------------------------- å‰�å›žã�”è«‹æ±‚åˆ† -------------------------------
+                // åˆ†å‰²æ‰•ã�„ã�®å ´å�ˆ
+                if (Info.BillingSplitFlg == (int)ConstructionBaseInfo.BillingSplitFlgDef.SplitBilling)
+                {
+                    ExcelPrnData = new ExcelPrintData();
+                    ExcelPrnData.AddPrintData("B", 7, "å‰�å›žã�”è«‹æ±‚æ¸ˆåˆ†");
+                    ExcelPrnData.AddPrintData("C", 7, "å‰�å›žè«‹æ±‚æ›¸å�‚ç…§â€»å¢—æ¸›è£œæ­£æ¸ˆã�¿");
+                    ExcelPrnData.AddPrintData("D", 7, "1");
+                    ExcelPrnData.AddPrintData("E", 7, "å¼�");
+                    ExcelPrnData.AddPrintData("G", 7, ReqData.PaidAmount.ToString("#,0"));
+                    ExcelPrnData.ExcelCellSet(m_UsedExcel);
+                }
+
+                long lTotalAmount = 0;
+
+                // ------------------------------- è¦‹ç©�é‡‘é¡�ï¼ˆæœ¬å·¥äº‹ï¼‰ -------------------------------
+                ExcelPrnData = new ExcelPrintData();
+                ExcelPrnData.AddPrintData("G", 9, ReqData.RequestAmount0.ToString("#,0"));
+                ExcelPrnData.ExcelCellSet(m_UsedExcel);
+
+                lTotalAmount += ReqData.RequestAmount0;
+ 
+                // ------------------------------- è¦‹ç©�é‡‘é¡�ï¼ˆå¢—æ¸›å·¥äº‹ï¼‰ -------------------------------
+                long[] lAmount = new long[] { ReqData.RequestAmount1, ReqData.RequestAmount2, ReqData.RequestAmount3, ReqData.RequestAmount4, ReqData.RequestAmount5, ReqData.RequestAmount6 };
+                string[] strTitle = new string[] { "å¢—æ¸›å·¥äº‹ï¼‘", "å¢—æ¸›å·¥äº‹ï¼’", "å¢—æ¸›å·¥äº‹ï¼“", "å¢—æ¸›å·¥äº‹ï¼”", "å¢—æ¸›å·¥äº‹ï¼•", "å¢—æ¸›å·¥äº‹ï¼–" };
+
+                for (int i = 0; i < 6; i++)
+                {
+                    if (lAmount[i] > 0)
+                    {
+                        ExcelPrnData = new ExcelPrintData();
+                        ExcelPrnData.AddPrintData("B", 10 + i, strTitle[i]);
+                        ExcelPrnData.AddPrintData("C", 10 + i, "è¿½åŠ å¢—æ¸›è¦‹ç©�ã‚‚ã‚Šå�‚ç…§");
+                        ExcelPrnData.AddPrintData("D", 10 + i, "1");
+                        ExcelPrnData.AddPrintData("E", 10 + i, "å¼�");
+                        ExcelPrnData.AddPrintData("G", 10 + i, lAmount[i].ToString("#,0"));
+                        ExcelPrnData.ExcelCellSet(m_UsedExcel);
+
+                        lTotalAmount += lAmount[i];
+                    }
+                }
+
+                // ------------------------------- ä»Šå›žã�”è«‹æ±‚åˆ† -------------------------------
+                ExcelPrnData = new ExcelPrintData();
+                ExcelPrnData.AddPrintData("G", 17, lTotalAmount.ToString("#,0"));
+                ExcelPrnData.ExcelCellSet(m_UsedExcel);
+
+                // ------------------------------- è«‹è² é‡‘é¡�æ®‹é‡‘ -------------------------------
+                // åˆ†å‰²æ‰•ã�„ã�®å ´å�ˆ
+                if (Info.BillingSplitFlg == (int)ConstructionBaseInfo.BillingSplitFlgDef.SplitBilling)
+                {
+                    ExcelPrnData = new ExcelPrintData();
+                    ExcelPrnData.AddPrintData("B", 19, "è«‹è² é‡‘é¡�æ®‹é‡‘");
+                    ExcelPrnData.AddPrintData("D", 19, "1");
+                    ExcelPrnData.AddPrintData("E", 19, "å¼�");
+                    ExcelPrnData.AddPrintData("G", 19, ReqData.UnclaimedAmount.ToString("#,0"));
+                    ExcelPrnData.ExcelCellSet(m_UsedExcel);
+                }
+
+                // ------------------------------- æœªå…¥é‡‘åˆ† -------------------------------
+                if (ReqData.UnpaidAmount > 0)
+                {
+                    ExcelPrnData = new ExcelPrintData();
+                    ExcelPrnData.AddPrintData("B", 21, "æœªå…¥é‡‘åˆ†");
+                    ExcelPrnData.AddPrintData("G", 21, ReqData.UnpaidAmount.ToString("#,0"));
+                    ExcelPrnData.ExcelCellSet(m_UsedExcel);
+
+                    lTotalAmount += ReqData.UnpaidAmount;
+                }
+
+                // ------------------------------- å°�è¨ˆ -------------------------------
+                ExcelPrnData = new ExcelPrintData();
+                ExcelPrnData.AddPrintData("G", 23, lTotalAmount.ToString("#,0"));
+                ExcelPrnData.ExcelCellSet(m_UsedExcel);
+
+                // ------------------------------- æ¶ˆè²»ç¨Ž -------------------------------
+                ExcelPrnData = new ExcelPrintData();
+                ExcelPrnData.AddPrintData("C", 24, string.Format("{0}%",CommonMotions.SystemMasterData.ConsumptionTax));
+                ExcelPrnData.AddPrintData("G", 24, ReqData.TaxAmount.ToString("#,0"));
+                ExcelPrnData.ExcelCellSet(m_UsedExcel);
+                lTotalAmount += ReqData.TaxAmount;
+
+                // ------------------------------- ç¨Žè¾¼é‡‘é¡�å�ˆè¨ˆ -------------------------------
+                ExcelPrnData = new ExcelPrintData();
+                ExcelPrnData.AddPrintData("G", 25, lTotalAmount.ToString("#,0"));
+                ExcelPrnData.ExcelCellSet(m_UsedExcel);
+
+                return CommonDefine.RetunAnswer.Answer0;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+                return CommonDefine.RetunAnswer.Answer1;
+            }
+
+        }
+        #endregion
+
+        #region Excelãƒ‡ãƒ¼ã‚¿å‡ºåŠ›ç”¨å†…éƒ¨ã‚¯ãƒ©ã‚¹å®šç¾©
+        /// <summary>
+        /// Excelãƒ‡ãƒ¼ã‚¿å‡ºåŠ›ç”¨å†…éƒ¨ã‚¯ãƒ©ã‚¹å®šç¾©
+        /// </summary>
+        private class ExcelPrintData
+        {
+            // Excelãƒ‡ãƒ¼ã‚¿ä¿�æŒ�ç”¨ç”¨ãƒ‡ã‚£ã‚¯ã‚·ãƒ§ãƒŠãƒª
+            private Dictionary<int, Dictionary<int, object>> m_DicPrintData = new Dictionary<int, Dictionary<int, object>>();
+
+            // Excelã‚«ãƒ©ãƒ å��å�–å¾—ç”¨
+            private static char[] s_Asc = { 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z' };
+
+            private int m_RowMin = int.MaxValue;
+            private int m_RowMax = int.MinValue;
+            private int m_ColMin = int.MaxValue;
+            private int m_ColMax = int.MinValue;
+
+            /// <summary>
+            /// ã‚¨ã‚¯ã‚»ãƒ«ã‚«ãƒ©ãƒ å��ã�¨ã‚¤ãƒ³ãƒ‡ãƒƒã‚¯ã‚¹ç•ªå�·ã�®ãƒ‡ã‚£ã‚¯ã‚·ãƒ§ãƒŠãƒª
+            /// </summary>
+            private static Dictionary<string, int> s_IndexOfExcelColumn = InitDicColumnIndex();
+
+            /// <summary>
+            /// Excelã‚«ãƒ©ãƒ ã‚¤ãƒ³ãƒ‡ãƒƒã‚¯ã‚¹ãƒ‡ã‚£ã‚¯ã‚·ãƒ§ãƒŠãƒªä½œæˆ�ãƒ¡ã‚½ãƒƒãƒ‰
+            /// </summary>
+            /// <returns></returns>
+            private static Dictionary<string, int> InitDicColumnIndex()
+            {
+                var result = new Dictionary<string, int>();
+
+                for (int indx = 0; indx < 256; indx++)
+                {
+                    string res = GetColumnString(indx);
+
+                    result.Add(res, indx);
+
+                }
+                return result;
+            }
+
+            /// <summary>
+            /// ã‚«ãƒ©ãƒ è‹±å­—å��ã‚’å�–å¾—
+            /// </summary>
+            /// <param name="colIndex"></param>
+            /// <returns></returns>
+            private static string GetColumnString(int colIndex)
+            {
+                string res = "";
+
+                int court = colIndex;
+                while (court >= s_Asc.Count())
+                {
+                    res = s_Asc[court % s_Asc.Count()] + res;
+                    court = (int)Math.Truncate((double)court / (double)s_Asc.Count() - 1);
+                }
+                res = s_Asc[court % s_Asc.Count()] + res;
+
+                return res;
+            }
+
+            #region ãƒ‡ãƒ¼ã‚¿è¿½åŠ 
+            /// <summary>
+            /// ãƒ‡ãƒ¼ã‚¿è¿½åŠ 
+            /// </summary>
+            /// <param name="colName">ã‚«ãƒ©ãƒ å��æ–‡å­—(â€» "A", "B", ç­‰...</param>
+            /// <param name="rowNo">è¡Œã‚¤ãƒ³ãƒ‡ãƒƒã‚¯ã‚¹ç•ªå�· 0ã‚ªãƒªã‚¸ãƒ³</param>
+            /// <param name="data">å‡ºåŠ›ãƒ‡ãƒ¼ã‚¿ã‚ªãƒ–ã‚¸ã‚§ã‚¯ãƒˆ</param>
+            /// <returns></returns>
+            public ExcelPrintData AddPrintData(string colName, int rowNo, object data)
+            {
+                return AddPrintData(s_IndexOfExcelColumn[colName], rowNo, data);
+            }
+            #endregion
+
+            #region ãƒ‡ãƒ¼ã‚¿è¿½åŠ 
+            /// <summary>
+            /// ãƒ‡ãƒ¼ã‚¿è¿½åŠ 
+            /// </summary>
+            /// <param name="colIndex">ã‚«ãƒ©ãƒ ã‚¤ãƒ³ãƒ‡ãƒƒã‚¯ã‚¹ 0ã‚ªãƒªã‚¸ãƒ³</param>
+            /// <param name="rowNo">è¡Œã‚¤ãƒ³ãƒ‡ãƒƒã‚¯ã‚¹ç•ªå�· 0ã‚ªãƒªã‚¸ãƒ³</param>
+            /// <param name="data">å‡ºåŠ›ãƒ‡ãƒ¼ã‚¿ã‚ªãƒ–ã‚¸ã‚§ã‚¯ãƒˆ</param>
+            /// <returns></returns>
+            public ExcelPrintData AddPrintData(int colIndex, int rowNo, object data)
+            {
+                if (!m_DicPrintData.ContainsKey(rowNo))
+                    m_DicPrintData[rowNo] = new Dictionary<int, object>();
+
+                m_DicPrintData[rowNo][colIndex] = data;
+
+                if (m_RowMin > rowNo) m_RowMin = rowNo;
+                if (m_RowMax < rowNo) m_RowMax = rowNo;
+                if (m_ColMin > colIndex) m_ColMin = colIndex;
+                if (m_ColMax < colIndex) m_ColMax = colIndex;
+
+                return this;
+            }
+            #endregion
+
+            #region UsedExcelã‚ªãƒ–ã‚¸ã‚§ã‚¯ãƒˆã�«ãƒ‡ãƒ¼ã‚¿ã‚’ã‚»ãƒƒãƒˆã�™ã‚‹
+            /// <summary>
+            /// UsedExcelã‚ªãƒ–ã‚¸ã‚§ã‚¯ãƒˆã�«ãƒ‡ãƒ¼ã‚¿ã‚’ã‚»ãƒƒãƒˆã�™ã‚‹
+            /// </summary>
+            /// <param name="usedExcel">UsedExcelã‚ªãƒ–ã‚¸ã‚§ã‚¯ãƒˆ(ã‚·ãƒ¼ãƒˆå�–å¾—æ¸ˆã�¿ã�§ã�‚ã‚‹ã�“ã�¨)</param>
+            public void ExcelCellSet(UsedExcel usedExcel)
+            {
+                if (m_RowMin == int.MaxValue ||
+                    m_RowMax == int.MinValue ||
+                    m_ColMin == int.MaxValue ||
+                    m_ColMax == int.MinValue)
+                {
+                    return;
+                }
+
+                // ã‚ªãƒ–ã‚¸ã‚§ã‚¯ãƒˆé…�åˆ—ã‚’å®£è¨€
+                object[,] objCells = new object[m_RowMax - m_RowMin + 1, m_ColMax - m_ColMin + 1];
+
+                // é…�åˆ—ã�«ãƒ‡ãƒ¼ã‚¿ã‚’ç§»ã�—æ›¿ã�ˆã‚‹
+                foreach (int row in m_DicPrintData.Keys)
+                {
+                    foreach (int col in m_DicPrintData[row].Keys)
+                    {
+                        objCells[row - m_RowMin, col - m_ColMin] = m_DicPrintData[row][col];
+                    }
+                }
+
+                // ã‚»ãƒ«å��ã‚’å�–å¾—
+                string startCell = GetColumnString(m_ColMin) + string.Format("{0}", m_RowMin + 1);
+                string endCell = GetColumnString(m_ColMax) + string.Format("{0}", m_RowMax + 1);
+
+                // ã‚»ãƒ«ã�«ã‚»ãƒƒãƒˆ
+                usedExcel.ExcelCellSet(startCell, objCells, endCell);
+
+            }
+            #endregion
+        }
+        #endregion
+
+
+    }
+}
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntry/FrmRequestPrint.resx
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntry/FrmRequestPrint.resx	(nonexistent)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntry/FrmRequestPrint.resx	(revision 329)
@@ -0,0 +1,120 @@
+ï»¿<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" use="required" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+</root>
\ No newline at end of file
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntry/FrmRequestPrintSel.Designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntry/FrmRequestPrintSel.Designer.cs	(nonexistent)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntry/FrmRequestPrintSel.Designer.cs	(revision 329)
@@ -0,0 +1,505 @@
+ï»¿namespace ProcessManagement.Forms.DataEntry
+{
+
+    partial class FrmRequestPrintSel
+    {
+        /// <summary>
+        /// Required designer variable.
+        /// </summary>
+        private System.ComponentModel.IContainer components = null;
+
+        /// <summary>
+        /// Clean up any resources being used.
+        /// </summary>
+        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
+        protected override void Dispose(bool disposing)
+        {
+            if (disposing && (components != null))
+            {
+                components.Dispose();
+            }
+            base.Dispose(disposing);
+        }
+
+        #region Windows Form Designer generated code
+
+        /// <summary>
+        /// Required method for Designer support - do not modify
+        /// the contents of this method with the code editor.
+        /// </summary>
+        private void InitializeComponent()
+        {
+            System.Windows.Forms.DataGridViewCellStyle 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();
+            this.label4 = new System.Windows.Forms.Label();
+            this.lbReqMonth = new System.Windows.Forms.Label();
+            this.label2 = new System.Windows.Forms.Label();
+            this.lbOrderersName = new System.Windows.Forms.Label();
+            this.btnEnd = new System.Windows.Forms.Button();
+            this.btnGenerate = new System.Windows.Forms.Button();
+            this.panel1 = new System.Windows.Forms.Panel();
+            this.lbTotalAmount = new System.Windows.Forms.Label();
+            this.dgv1 = new System.Windows.Forms.DataGridView();
+            this.label8 = new System.Windows.Forms.Label();
+            this.btnAllUnselect = new System.Windows.Forms.Button();
+            this.label7 = new System.Windows.Forms.Label();
+            this.btnAllSelect = new System.Windows.Forms.Button();
+            this.lbSelect = new System.Windows.Forms.Label();
+            this.label5 = new System.Windows.Forms.Label();
+            this.label10 = new System.Windows.Forms.Label();
+            this.cbCreateDate = new System.Windows.Forms.ComboBox();
+            this.btnDel = new System.Windows.Forms.Button();
+            this.panel2 = new System.Windows.Forms.Panel();
+            this.label1 = new System.Windows.Forms.Label();
+            this.lblProcessTitil = new System.Windows.Forms.Label();
+            this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.col1 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
+            this.col2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.col3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.col4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.col5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.col6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.panel1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.dgv1)).BeginInit();
+            this.panel2.SuspendLayout();
+            this.SuspendLayout();
+            // 
+            // label4
+            // 
+            this.label4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
+            this.label4.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label4.CausesValidation = false;
+            this.label4.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.label4.Location = new System.Drawing.Point(5, 5);
+            this.label4.Name = "label4";
+            this.label4.Size = new System.Drawing.Size(114, 25);
+            this.label4.TabIndex = 23;
+            this.label4.Text = "è«‹æ±‚æœˆ";
+            this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // lbReqMonth
+            // 
+            this.lbReqMonth.BackColor = System.Drawing.Color.White;
+            this.lbReqMonth.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.lbReqMonth.Location = new System.Drawing.Point(127, 5);
+            this.lbReqMonth.Name = "lbReqMonth";
+            this.lbReqMonth.Size = new System.Drawing.Size(103, 24);
+            this.lbReqMonth.TabIndex = 24;
+            this.lbReqMonth.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+            // 
+            // label2
+            // 
+            this.label2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
+            this.label2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label2.CausesValidation = false;
+            this.label2.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.label2.Location = new System.Drawing.Point(5, 38);
+            this.label2.Name = "label2";
+            this.label2.Size = new System.Drawing.Size(114, 25);
+            this.label2.TabIndex = 25;
+            this.label2.Text = "è«‹æ±‚å…ˆ";
+            this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // lbOrderersName
+            // 
+            this.lbOrderersName.BackColor = System.Drawing.Color.White;
+            this.lbOrderersName.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.lbOrderersName.Location = new System.Drawing.Point(127, 38);
+            this.lbOrderersName.Name = "lbOrderersName";
+            this.lbOrderersName.Size = new System.Drawing.Size(591, 24);
+            this.lbOrderersName.TabIndex = 26;
+            this.lbOrderersName.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+            // 
+            // btnEnd
+            // 
+            this.btnEnd.BackColor = System.Drawing.Color.Blue;
+            this.btnEnd.Cursor = System.Windows.Forms.Cursors.Default;
+            this.btnEnd.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.btnEnd.ForeColor = System.Drawing.Color.White;
+            this.btnEnd.Location = new System.Drawing.Point(1152, 620);
+            this.btnEnd.Name = "btnEnd";
+            this.btnEnd.Size = new System.Drawing.Size(120, 30);
+            this.btnEnd.TabIndex = 34;
+            this.btnEnd.Text = "çµ‚ã€€äº†";
+            this.btnEnd.UseVisualStyleBackColor = false;
+            this.btnEnd.Click += new System.EventHandler(this.btnEnd_Click);
+            // 
+            // btnGenerate
+            // 
+            this.btnGenerate.BackColor = System.Drawing.Color.DarkSeaGreen;
+            this.btnGenerate.Cursor = System.Windows.Forms.Cursors.Default;
+            this.btnGenerate.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.btnGenerate.ForeColor = System.Drawing.Color.Black;
+            this.btnGenerate.Location = new System.Drawing.Point(896, 620);
+            this.btnGenerate.Name = "btnGenerate";
+            this.btnGenerate.Size = new System.Drawing.Size(120, 30);
+            this.btnGenerate.TabIndex = 33;
+            this.btnGenerate.Text = "è«‹æ±‚æ›¸ä½œæˆ�";
+            this.btnGenerate.UseVisualStyleBackColor = false;
+            this.btnGenerate.Click += new System.EventHandler(this.btnGenerate_Click);
+            // 
+            // panel1
+            // 
+            this.panel1.BackColor = System.Drawing.Color.LightGray;
+            this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.panel1.Controls.Add(this.lbTotalAmount);
+            this.panel1.Controls.Add(this.dgv1);
+            this.panel1.Controls.Add(this.label8);
+            this.panel1.Controls.Add(this.btnAllUnselect);
+            this.panel1.Controls.Add(this.label7);
+            this.panel1.Controls.Add(this.btnAllSelect);
+            this.panel1.Controls.Add(this.lbSelect);
+            this.panel1.Controls.Add(this.label5);
+            this.panel1.ForeColor = System.Drawing.Color.Black;
+            this.panel1.Location = new System.Drawing.Point(12, 122);
+            this.panel1.Name = "panel1";
+            this.panel1.Size = new System.Drawing.Size(1260, 490);
+            this.panel1.TabIndex = 37;
+            // 
+            // lbTotalAmount
+            // 
+            this.lbTotalAmount.BackColor = System.Drawing.Color.White;
+            this.lbTotalAmount.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.lbTotalAmount.ForeColor = System.Drawing.Color.Black;
+            this.lbTotalAmount.Location = new System.Drawing.Point(366, 7);
+            this.lbTotalAmount.Name = "lbTotalAmount";
+            this.lbTotalAmount.Size = new System.Drawing.Size(185, 24);
+            this.lbTotalAmount.TabIndex = 42;
+            this.lbTotalAmount.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+            // 
+            // dgv1
+            // 
+            this.dgv1.AllowUserToAddRows = false;
+            this.dgv1.AllowUserToDeleteRows = false;
+            this.dgv1.AllowUserToResizeColumns = false;
+            this.dgv1.AllowUserToResizeRows = false;
+            this.dgv1.BackgroundColor = System.Drawing.Color.White;
+            dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle6.BackColor = System.Drawing.SystemColors.Control;
+            dataGridViewCellStyle6.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            dataGridViewCellStyle6.ForeColor = System.Drawing.SystemColors.WindowText;
+            dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+            dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgv1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle6;
+            this.dgv1.ColumnHeadersHeight = 28;
+            this.dgv1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
+            this.dgv1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
+            this.Column1,
+            this.col1,
+            this.col2,
+            this.col3,
+            this.col4,
+            this.col5,
+            this.col6});
+            this.dgv1.EnableHeadersVisualStyles = false;
+            this.dgv1.Location = new System.Drawing.Point(8, 36);
+            this.dgv1.Name = "dgv1";
+            this.dgv1.RowHeadersVisible = false;
+            this.dgv1.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
+            this.dgv1.RowTemplate.Height = 20;
+            this.dgv1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
+            this.dgv1.Size = new System.Drawing.Size(1240, 414);
+            this.dgv1.TabIndex = 43;
+            this.dgv1.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgv1_CellContentClick);
+            this.dgv1.CellContentDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgv1_CellContentDoubleClick);
+            // 
+            // label8
+            // 
+            this.label8.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
+            this.label8.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label8.CausesValidation = false;
+            this.label8.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.label8.ForeColor = System.Drawing.Color.Black;
+            this.label8.Location = new System.Drawing.Point(252, 6);
+            this.label8.Name = "label8";
+            this.label8.Size = new System.Drawing.Size(114, 25);
+            this.label8.TabIndex = 41;
+            this.label8.Text = "é‡‘é¡�å�ˆè¨ˆ";
+            this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // btnAllUnselect
+            // 
+            this.btnAllUnselect.BackColor = System.Drawing.Color.Lime;
+            this.btnAllUnselect.Cursor = System.Windows.Forms.Cursors.Default;
+            this.btnAllUnselect.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.btnAllUnselect.ForeColor = System.Drawing.Color.Black;
+            this.btnAllUnselect.Location = new System.Drawing.Point(134, 454);
+            this.btnAllUnselect.Name = "btnAllUnselect";
+            this.btnAllUnselect.Size = new System.Drawing.Size(120, 30);
+            this.btnAllUnselect.TabIndex = 38;
+            this.btnAllUnselect.Text = "å…¨é�¸æŠžè§£é™¤";
+            this.btnAllUnselect.UseVisualStyleBackColor = false;
+            this.btnAllUnselect.Click += new System.EventHandler(this.btnAllUnselect_Click);
+            // 
+            // label7
+            // 
+            this.label7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
+            this.label7.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label7.CausesValidation = false;
+            this.label7.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.label7.ForeColor = System.Drawing.Color.Black;
+            this.label7.Location = new System.Drawing.Point(178, 7);
+            this.label7.Name = "label7";
+            this.label7.Size = new System.Drawing.Size(42, 24);
+            this.label7.TabIndex = 40;
+            this.label7.Text = "ä»¶";
+            this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // btnAllSelect
+            // 
+            this.btnAllSelect.BackColor = System.Drawing.Color.Yellow;
+            this.btnAllSelect.Cursor = System.Windows.Forms.Cursors.Default;
+            this.btnAllSelect.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.btnAllSelect.ForeColor = System.Drawing.Color.Black;
+            this.btnAllSelect.Location = new System.Drawing.Point(8, 454);
+            this.btnAllSelect.Name = "btnAllSelect";
+            this.btnAllSelect.Size = new System.Drawing.Size(120, 30);
+            this.btnAllSelect.TabIndex = 37;
+            this.btnAllSelect.Text = "å…¨é�¸æŠž";
+            this.btnAllSelect.UseVisualStyleBackColor = false;
+            this.btnAllSelect.Click += new System.EventHandler(this.btnAllSelect_Click);
+            // 
+            // lbSelect
+            // 
+            this.lbSelect.BackColor = System.Drawing.Color.White;
+            this.lbSelect.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.lbSelect.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.lbSelect.Location = new System.Drawing.Point(123, 7);
+            this.lbSelect.Name = "lbSelect";
+            this.lbSelect.Size = new System.Drawing.Size(55, 24);
+            this.lbSelect.TabIndex = 39;
+            this.lbSelect.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+            // 
+            // label5
+            // 
+            this.label5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
+            this.label5.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label5.CausesValidation = false;
+            this.label5.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.label5.ForeColor = System.Drawing.Color.Black;
+            this.label5.Location = new System.Drawing.Point(9, 6);
+            this.label5.Name = "label5";
+            this.label5.Size = new System.Drawing.Size(114, 25);
+            this.label5.TabIndex = 38;
+            this.label5.Text = "é�¸æŠž";
+            this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // label10
+            // 
+            this.label10.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
+            this.label10.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label10.CausesValidation = false;
+            this.label10.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.label10.Location = new System.Drawing.Point(246, 5);
+            this.label10.Name = "label10";
+            this.label10.Size = new System.Drawing.Size(114, 25);
+            this.label10.TabIndex = 38;
+            this.label10.Text = "ä½œæˆ�æ—¥";
+            this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // cbCreateDate
+            // 
+            this.cbCreateDate.BackColor = System.Drawing.Color.White;
+            this.cbCreateDate.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+            this.cbCreateDate.FormattingEnabled = true;
+            this.cbCreateDate.Location = new System.Drawing.Point(368, 6);
+            this.cbCreateDate.Name = "cbCreateDate";
+            this.cbCreateDate.Size = new System.Drawing.Size(150, 23);
+            this.cbCreateDate.TabIndex = 39;
+            this.cbCreateDate.SelectedIndexChanged += new System.EventHandler(this.cbCreateDate_SelectedIndexChanged);
+            // 
+            // btnDel
+            // 
+            this.btnDel.BackColor = System.Drawing.Color.Red;
+            this.btnDel.Cursor = System.Windows.Forms.Cursors.Default;
+            this.btnDel.Enabled = false;
+            this.btnDel.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.btnDel.ForeColor = System.Drawing.Color.Black;
+            this.btnDel.Location = new System.Drawing.Point(1024, 620);
+            this.btnDel.Name = "btnDel";
+            this.btnDel.Size = new System.Drawing.Size(120, 30);
+            this.btnDel.TabIndex = 40;
+            this.btnDel.Text = "è«‹æ±‚æ›¸å‰Šé™¤";
+            this.btnDel.UseVisualStyleBackColor = false;
+            this.btnDel.Click += new System.EventHandler(this.btnDel_Click);
+            // 
+            // panel2
+            // 
+            this.panel2.BackColor = System.Drawing.Color.Olive;
+            this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.panel2.Controls.Add(this.label4);
+            this.panel2.Controls.Add(this.lbReqMonth);
+            this.panel2.Controls.Add(this.cbCreateDate);
+            this.panel2.Controls.Add(this.label2);
+            this.panel2.Controls.Add(this.label10);
+            this.panel2.Controls.Add(this.lbOrderersName);
+            this.panel2.Location = new System.Drawing.Point(12, 40);
+            this.panel2.Name = "panel2";
+            this.panel2.Size = new System.Drawing.Size(1260, 74);
+            this.panel2.TabIndex = 41;
+            // 
+            // label1
+            // 
+            this.label1.Anchor = System.Windows.Forms.AnchorStyles.Top;
+            this.label1.BackColor = System.Drawing.Color.Olive;
+            this.label1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label1.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.label1.ForeColor = System.Drawing.Color.Black;
+            this.label1.Location = new System.Drawing.Point(390, 10);
+            this.label1.Name = "label1";
+            this.label1.Size = new System.Drawing.Size(500, 20);
+            this.label1.TabIndex = 42;
+            this.label1.Text = "è«‹ã€€æ±‚ã€€æ›¸ã€€å�°ã€€åˆ·";
+            this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // lblProcessTitil
+            // 
+            this.lblProcessTitil.BackColor = System.Drawing.Color.White;
+            this.lblProcessTitil.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.lblProcessTitil.Location = new System.Drawing.Point(10, 10);
+            this.lblProcessTitil.Name = "lblProcessTitil";
+            this.lblProcessTitil.Size = new System.Drawing.Size(300, 20);
+            this.lblProcessTitil.TabIndex = 43;
+            this.lblProcessTitil.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // Column1
+            // 
+            dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle7.Font = new System.Drawing.Font("Century", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            dataGridViewCellStyle7.ForeColor = System.Drawing.Color.Black;
+            this.Column1.DefaultCellStyle = dataGridViewCellStyle7;
+            this.Column1.Frozen = true;
+            this.Column1.HeaderText = "â„–";
+            this.Column1.Name = "Column1";
+            this.Column1.ReadOnly = true;
+            this.Column1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.Column1.Width = 60;
+            // 
+            // col1
+            // 
+            dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle8.Font = new System.Drawing.Font("Century", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            dataGridViewCellStyle8.ForeColor = System.Drawing.Color.Black;
+            dataGridViewCellStyle8.NullValue = false;
+            this.col1.DefaultCellStyle = dataGridViewCellStyle8;
+            this.col1.Frozen = true;
+            this.col1.HeaderText = "";
+            this.col1.Name = "col1";
+            this.col1.ReadOnly = true;
+            this.col1.Width = 30;
+            // 
+            // col2
+            // 
+            this.col2.Frozen = true;
+            this.col2.HeaderText = "è«‹æ±‚ä»¶å��";
+            this.col2.Name = "col2";
+            this.col2.ReadOnly = true;
+            this.col2.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.col2.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.col2.Width = 370;
+            // 
+            // col3
+            // 
+            dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle9.Font = new System.Drawing.Font("Century", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            dataGridViewCellStyle9.ForeColor = System.Drawing.Color.Black;
+            this.col3.DefaultCellStyle = dataGridViewCellStyle9;
+            this.col3.Frozen = true;
+            this.col3.HeaderText = "è«‹æ±‚é‡‘é¡�";
+            this.col3.Name = "col3";
+            this.col3.ReadOnly = true;
+            this.col3.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.col3.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.col3.Width = 160;
+            // 
+            // col4
+            // 
+            dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.col4.DefaultCellStyle = dataGridViewCellStyle10;
+            this.col4.Frozen = true;
+            this.col4.HeaderText = "è«‹æ±‚æ›¸ä½œæˆ�æ—¥";
+            this.col4.Name = "col4";
+            this.col4.ReadOnly = true;
+            this.col4.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.col4.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.col4.Width = 140;
+            // 
+            // col5
+            // 
+            this.col5.HeaderText = "RequestNo";
+            this.col5.Name = "col5";
+            this.col5.ReadOnly = true;
+            this.col5.Visible = false;
+            // 
+            // col6
+            // 
+            this.col6.HeaderText = "InvoiceNo";
+            this.col6.Name = "col6";
+            this.col6.ReadOnly = true;
+            this.col6.Visible = false;
+            // 
+            // FrmRequestPrintSel
+            // 
+            this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 15F);
+            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+            this.BackColor = System.Drawing.Color.Black;
+            this.ClientSize = new System.Drawing.Size(1280, 657);
+            this.Controls.Add(this.lblProcessTitil);
+            this.Controls.Add(this.label1);
+            this.Controls.Add(this.panel2);
+            this.Controls.Add(this.btnDel);
+            this.Controls.Add(this.panel1);
+            this.Controls.Add(this.btnEnd);
+            this.Controls.Add(this.btnGenerate);
+            this.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
+            this.Margin = new System.Windows.Forms.Padding(4);
+            this.Name = "FrmRequestPrintSel";
+            this.ShowIcon = false;
+            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmRequestPrintSel_FormClosing);
+            this.Load += new System.EventHandler(this.FrmRequestPrintSel_Load);
+            this.panel1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.dgv1)).EndInit();
+            this.panel2.ResumeLayout(false);
+            this.ResumeLayout(false);
+
+        }
+
+        #endregion
+
+        private System.Windows.Forms.Label label4;
+        private System.Windows.Forms.Label lbReqMonth;
+        private System.Windows.Forms.Label label2;
+        private System.Windows.Forms.Label lbOrderersName;
+        private System.Windows.Forms.Button btnEnd;
+        private System.Windows.Forms.Button btnGenerate;
+        private System.Windows.Forms.Panel panel1;
+        private System.Windows.Forms.Button btnAllUnselect;
+        private System.Windows.Forms.Button btnAllSelect;
+        private System.Windows.Forms.Label label5;
+        private System.Windows.Forms.Label lbTotalAmount;
+        private System.Windows.Forms.Label label8;
+        private System.Windows.Forms.Label label7;
+        private System.Windows.Forms.Label lbSelect;
+        private System.Windows.Forms.DataGridView dgv1;
+        private System.Windows.Forms.Label label10;
+        private System.Windows.Forms.ComboBox cbCreateDate;
+        private System.Windows.Forms.Button btnDel;
+        private System.Windows.Forms.Panel panel2;
+        private System.Windows.Forms.Label label1;
+        private System.Windows.Forms.Label lblProcessTitil;
+        private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
+        private System.Windows.Forms.DataGridViewCheckBoxColumn col1;
+        private System.Windows.Forms.DataGridViewTextBoxColumn col2;
+        private System.Windows.Forms.DataGridViewTextBoxColumn col3;
+        private System.Windows.Forms.DataGridViewTextBoxColumn col4;
+        private System.Windows.Forms.DataGridViewTextBoxColumn col5;
+        private System.Windows.Forms.DataGridViewTextBoxColumn col6;
+    }
+}
\ No newline at end of file
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntry/FrmRequestPrintSel.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntry/FrmRequestPrintSel.cs	(nonexistent)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntry/FrmRequestPrintSel.cs	(revision 329)
@@ -0,0 +1,537 @@
+ï»¿using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+using ProcessManagement.Common;
+using ProcessManagement.DataModel;
+using ProcessManagement.DB;
+using ProcessManagement.DB.IOAccess;
+using ProcessManagement.Forms.SubForms;
+using ProcessManagement.Forms.ControlsAction;
+
+
+namespace ProcessManagement.Forms.DataEntry
+{
+    public partial class FrmRequestPrintSel : Form
+    {
+        #region ä½¿ç”¨å®šç¾©
+        //log4netãƒ­ã‚°ã‚’ä½¿ç”¨ã�™ã‚‹
+        private static readonly log4net.ILog logger = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region å®šæ•°
+
+        /// <summary>
+        /// ãƒ�ã‚§ãƒƒã‚¯çµ�æžœ
+        /// </summary>
+        private enum CheckState
+        {
+            Ok = 0,
+            Warning,
+            Error,
+        }
+
+        /// <summary>
+        /// ã‚°ãƒªãƒƒãƒ‰ã‚«ãƒ©ãƒ 
+        /// </summary>
+        private enum DispColumn
+        {
+            DataNo=0,
+            CheckFlg,
+            RequestTitle,
+            ReqValue,
+            CreateDate,
+            RequestNo,
+            InvoiceNo,
+        }
+        #endregion
+
+        #region å¤‰æ•°
+
+        /// <summary>
+        /// èµ·å‹•ãƒ•ãƒ©ã‚°
+        /// </summary>
+        private int m_ExecuteFlg = 0;
+        /// <summary>
+        /// èµ·å‹•æ™‚è£œåŠ©ãƒ•ãƒ©ã‚°
+        /// </summary>
+        private int m_ExecuteSubFlg = 0;
+
+        /// <summary>
+        /// ç·¨é›†ãƒ¢ãƒ¼ãƒ‰
+        /// </summary>
+        private bool m_bEditFlg = true;
+        /// <summary>
+        //// è«‹æ±‚æ›¸No
+        /// </summary>
+        private int m_nInvoiceNo = 0;
+        /// <summary>
+        /// è«‹æ±‚æœˆ
+        /// </summary>
+        private int m_nRequestMonth = 0;
+        /// <summary>
+        /// ç™ºæ³¨è€…åŒºåˆ†
+        /// </summary>
+        private int m_nOrderersDivision = 0;
+        /// <summary>
+        /// ç™ºæ³¨è€…ã‚³ãƒ¼ãƒ‰
+        /// </summary>
+        private int m_nOrderersCode = 0;
+        /// <summary>
+        /// ç™ºæ³¨è€…å��
+        /// </summary>
+        private string m_strOrderersName = "";
+
+        /// <summary>
+        /// è«‹æ±‚ãƒ˜ãƒƒãƒ€
+        /// </summary>
+        private List<RequestHead> m_lstReqHead = new List<RequestHead>();
+
+        /// <summary>
+        /// è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿
+        /// </summary>
+        private Dictionary<int, InvoiceData> m_dicInvData = new Dictionary<int, InvoiceData>();
+
+        /// <summary>
+        /// çµ‚äº†ãƒœã‚¿ãƒ³æŠ¼ä¸‹ãƒ•ãƒ©ã‚°
+        /// </summary>
+        private bool m_CloseingProcessOff = false;
+        #endregion
+
+        #region ãƒ—ãƒ­ãƒ‘ãƒ†ã‚£
+        /// <summary>
+        /// èµ·å‹•ãƒ•ãƒ©ã‚°
+        /// </summary>
+        public int ExecuteFlg
+        {
+            get { return m_ExecuteFlg; }
+            set { m_ExecuteFlg = value; }
+        }
+        /// <summary>
+        /// èµ·å‹•æ™‚è£œåŠ©ãƒ•ãƒ©ã‚°
+        /// </summary>
+        public int ExecuteSubFlg
+        {
+            get { return m_ExecuteSubFlg; }
+            set { m_ExecuteSubFlg = value; }
+        }
+        /// <summary>
+        /// ç·¨é›†ãƒ¢ãƒ¼ãƒ‰
+        /// </summary>
+        public bool EditFlg
+        {
+            get { return m_bEditFlg; }
+            set { m_bEditFlg = value; }
+        }
+        /// <summary>
+        //// è«‹æ±‚æ›¸No
+        /// </summary>
+        public int InvoiceNo
+        {
+            get { return m_nInvoiceNo; }
+            set { m_nInvoiceNo = value; }
+        }
+        /// <summary>
+        /// è«‹æ±‚æœˆ
+        /// </summary>
+        public int RequestMonth
+        {
+            get { return m_nRequestMonth; }
+            set { m_nRequestMonth = value; }
+        }
+        /// <summary>
+        /// ç™ºæ³¨è€…åŒºåˆ†
+        /// </summary>
+        public int OrderersDivision
+        {
+            get { return m_nOrderersDivision; }
+            set { m_nOrderersDivision = value; }
+        }
+        /// <summary>
+        /// ç™ºæ³¨è€…ã‚³ãƒ¼ãƒ‰
+        /// </summary>
+        public int OrderersCode
+        {
+            get { return m_nOrderersCode; }
+            set { m_nOrderersCode = value; }
+        }
+        /// <summary>
+        /// ç™ºæ³¨è€…å��
+        /// </summary>
+        public string OrderersName
+        {
+            get { return m_strOrderersName; }
+            set { m_strOrderersName = value; }
+        }
+
+        #endregion
+
+        #region ã‚³ãƒ³ã‚¹ãƒˆãƒ©ã‚¯ã‚¿
+        public FrmRequestPrintSel()
+        {
+            InitializeComponent();
+        }
+        #endregion
+
+        #region ãƒ•ã‚©ãƒ¼ãƒ ã�®ãƒ­ãƒ¼ãƒ‰
+        /// <summary>
+        /// ãƒ•ã‚©ãƒ¼ãƒ ã�®ãƒ­ãƒ¼ãƒ‰
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void FrmRequestPrintSel_Load(object sender, EventArgs e)
+        {
+            // ãƒ•ã‚©ãƒ¼ãƒ ã�®åˆ�æœŸã‚¹ã‚¿ã‚¤ãƒ«è¨­å®š
+            InitSetFormStyle();
+
+            // è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿å�–å¾—
+            GetInvData();
+
+            if (m_nInvoiceNo == 0)
+            {
+                // ä½œæˆ�æ—¥ã‚³ãƒ³ãƒœã�®å�–å¾—
+                SetRequestCreateDateAll();
+            }
+            else
+            {
+                // ä½œæˆ�æ—¥ã‚³ãƒ³ãƒœã�®å�–å¾—
+                SetRequestCreateDateOnly();
+            }
+
+            cbCreateDate.SelectedIndex = 0;
+
+            // è«‹æ±‚ãƒ‡ãƒ¼ã‚¿å�–å¾—
+            GetReqestData();
+
+            // è«‹æ±‚ãƒ‡ãƒ¼ã‚¿è¡¨ç¤º
+            DispRequestData();
+
+            // è«‹æ±‚æ›¸ã�ŒæŒ‡å®šã�•ã‚Œã�¦ã�„ã‚‹å ´å�ˆã�¯ã€�ãƒ�ã‚§ãƒƒã‚¯ãƒœãƒƒã‚¯ã‚¹å¤‰æ›´ã�«é–¢ã‚�ã‚‹æ“�ä½œã�¯è¨±å�¯ã�—ã�ªã�„
+            if (m_nInvoiceNo > 0)
+            {
+                btnAllSelect.Enabled = false;
+                btnAllUnselect.Enabled = false;
+            }
+            UpdateCheckValue();
+
+        }
+        #endregion
+
+        #region [å…¨é�¸æŠž]ãƒœã‚¿ãƒ³æŠ¼ä¸‹
+        /// <summary>
+        /// [å…¨é�¸æŠž]ãƒœã‚¿ãƒ³æŠ¼ä¸‹
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void btnAllSelect_Click(object sender, EventArgs e)
+        {
+            dgv1.CellContentClick -= dgv1_CellContentClick;
+            dgv1.CellContentDoubleClick -= dgv1_CellContentDoubleClick;
+
+            try
+            {
+                int nInvoiceNo = CommonMotions.cnvInt(cbCreateDate.SelectedValue);
+
+                foreach (DataGridViewRow CurRow in dgv1.Rows)
+                {
+                    // è«‹æ±‚ãƒ˜ãƒƒãƒ€ã�Œç´�ã�¥ã�„ã�¦ã�„ã�ªã�„è¡Œã�¯ãƒ€ãƒŸãƒ¼
+                    if (CurRow.Cells[(int)DispColumn.RequestNo].Value == null)
+                    {
+                        break;
+                    }
+
+                    // è«‹æ±‚æ›¸ã�Œç´�ã�¥ã�„ã�¦ã�„ã�ªã�„ã‚‚ã�®ã�¯ON
+                    if (CurRow.Cells[(int)DispColumn.InvoiceNo].Value == null)
+                    {
+                        CurRow.Cells[(int)DispColumn.CheckFlg].Value = true;
+                    }
+                    // è«‹æ±‚æ›¸ã�Œç´�ã�¥ã�„ã�¦ã�„ã�¦ã‚‚é�¸æŠžã�•ã‚Œã�¦ã�„ã‚‹è«‹æ±‚æ›¸ã�®ã‚‚ã�®ã�¯ON
+                    else if (CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.InvoiceNo].Value) == nInvoiceNo)
+                    {
+                        CurRow.Cells[(int)DispColumn.CheckFlg].Value = true;
+                    }
+                }
+
+                // é�¸æŠžæ•°ã€�é�¸æŠžé‡‘é¡�ã�®æ›´æ–°
+                UpdateCheckValue();
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+            finally
+            {
+                dgv1.CellContentClick += dgv1_CellContentClick;
+                dgv1.CellContentDoubleClick += dgv1_CellContentDoubleClick;
+            }
+        }
+        #endregion
+
+        #region [å…¨é�¸æŠžè§£é™¤]ãƒœã‚¿ãƒ³æŠ¼ä¸‹
+        /// <summary>
+        /// [å…¨é�¸æŠžè§£é™¤]ãƒœã‚¿ãƒ³æŠ¼ä¸‹
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void btnAllUnselect_Click(object sender, EventArgs e)
+        {
+            try
+            {
+                int nInvoiceNo = CommonMotions.cnvInt(cbCreateDate.SelectedValue);
+
+                foreach (DataGridViewRow CurRow in dgv1.Rows)
+                {
+                    // è«‹æ±‚ãƒ˜ãƒƒãƒ€ã�Œç´�ã�¥ã�„ã�¦ã�„ã�ªã�„è¡Œã�¯ãƒ€ãƒŸãƒ¼
+                    if (CurRow.Cells[(int)DispColumn.RequestNo].Value == null)
+                    {
+                        break;
+                    }
+
+                    // è«‹æ±‚æ›¸ã�Œç´�ã�¥ã�„ã�¦ã�„ã�ªã�„ã‚‚ã�®ã�¯OFF
+                    if (CurRow.Cells[(int)DispColumn.InvoiceNo].Value == null)
+                    {
+                        CurRow.Cells[(int)DispColumn.CheckFlg].Value = false;
+                    }
+                    // è«‹æ±‚æ›¸ã�Œç´�ã�¥ã�„ã�¦ã�„ã�¦ã‚‚é�¸æŠžã�•ã‚Œã�¦ã�„ã�ªã�„è«‹æ±‚æ›¸ã�®ã‚‚ã�®ã�¯OFF
+                    else if (CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.InvoiceNo].Value) != nInvoiceNo)
+                    {
+                        CurRow.Cells[(int)DispColumn.CheckFlg].Value = false;
+                    }
+                }
+                // é�¸æŠžæ•°ã€�é�¸æŠžé‡‘é¡�ã�®æ›´æ–°
+                UpdateCheckValue();
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region [å‰Šé™¤]ãƒœã‚¿ãƒ³æŠ¼ä¸‹
+        /// <summary>
+        /// [å‰Šé™¤]ãƒœã‚¿ãƒ³æŠ¼ä¸‹
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void btnDel_Click(object sender, EventArgs e)
+        {
+            try
+            {
+                if (MessageBox.Show("è¡¨ç¤ºã�•ã‚Œã�¦ã�„ã‚‹è«‹æ±‚æ›¸ã‚’å‰Šé™¤ã�—ã�¾ã�™ã�Œã‚ˆã‚�ã�—ã�„ã�§ã�™ã�‹ï¼Ÿ", "å‰Šé™¤ç¢ºèª�"
+                                        , MessageBoxButtons.YesNo
+                                        , MessageBoxIcon.Information) == DialogResult.No)
+                {
+                    return;
+                }
+
+                int nInvoiceNo = CommonMotions.cnvInt(cbCreateDate.SelectedValue);
+
+                // è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿ã�®å‰Šé™¤
+                if (DeleteInvoiceData(nInvoiceNo) == false)
+                {
+                    return;
+                }
+
+                foreach (RequestHead ReqHead in m_lstReqHead)
+                {
+                    if (ReqHead.InvoiceNo == nInvoiceNo)
+                    {
+                        ReqHead.InvoiceNo = 0;
+                    }
+                }
+
+                foreach (DataGridViewRow CurRow in dgv1.Rows)
+                {
+                    // è«‹æ±‚ãƒ˜ãƒƒãƒ€ã�Œç´�ã�¥ã�„ã�¦ã�„ã�ªã�„è¡Œã�¯ãƒ€ãƒŸãƒ¼
+                    if (CurRow.Cells[(int)DispColumn.RequestNo].Value == null)
+                    {
+                        break;
+                    }
+
+                    // å‰Šé™¤å¯¾è±¡ã�®è¨­è¨ˆæ›¸ãƒ‡ãƒ¼ã‚¿ã�Œç´�ã�¥ã�„ã�¦ã�„ã‚‹å ´å�ˆ
+                    if ((CurRow.Cells[(int)DispColumn.InvoiceNo].Value != null)
+                        && (CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.InvoiceNo].Value) == nInvoiceNo))
+                    {
+                        CurRow.Cells[(int)DispColumn.RequestNo].Value = null;
+                        CurRow.Cells[(int)DispColumn.CreateDate].Value = null;
+                    }
+
+                }
+
+                // è«‹æ±‚ãƒ‡ãƒ¼ã‚¿ã�‹ã‚‰è©²å½“è«‹æ±‚æ›¸ã‚’å‰Šé™¤
+                m_dicInvData.Remove(nInvoiceNo);
+
+                cbCreateDate.SelectedIndexChanged -= cbCreateDate_SelectedIndexChanged;
+
+                cbCreateDate.DataSource = null;
+                cbCreateDate.Items.Clear();
+
+                // ä½œæˆ�æ—¥ã‚³ãƒ³ãƒœã�®å�–å¾—
+                SetRequestCreateDateAll();
+
+                cbCreateDate.SelectedIndexChanged += cbCreateDate_SelectedIndexChanged;
+
+                cbCreateDate.SelectedIndex = 0;
+
+
+                RefleshRequestList(nInvoiceNo);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region [è«‹æ±‚æ›¸ä½œæˆ�]ãƒœã‚¿ãƒ³æŠ¼ä¸‹
+        /// <summary>
+        /// [è«‹æ±‚æ›¸ä½œæˆ�]ãƒœã‚¿ãƒ³æŠ¼ä¸‹
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void btnGenerate_Click(object sender, EventArgs e)
+        {
+            try
+            {
+                int ret;
+                string msg = "";
+
+                // ä½œæˆ�ãƒ�ã‚§ãƒƒã‚¯
+                ret = CheckGenerate(ref msg);
+                bool bError = false;
+                switch (ret)
+                {
+                    case (int)CheckState.Ok:
+                        if (MessageBox.Show(msg, "ç™»éŒ²ç¢ºèª�"
+                                , MessageBoxButtons.YesNo
+                                , MessageBoxIcon.Question) != DialogResult.Yes)
+                        {
+                            return;
+                        }
+                        break;
+                    case (int)CheckState.Warning:
+                        if (MessageBox.Show(msg, "ç™»éŒ²ç¢ºèª�"
+                                , MessageBoxButtons.YesNo
+                                , MessageBoxIcon.Warning) != DialogResult.Yes)
+                        {
+                            return;
+                        }
+                        break;
+                    default:
+                        MessageBox.Show(msg, "ç™»éŒ²ç¢ºèª�", MessageBoxButtons.OK, MessageBoxIcon.Error);
+                        bError = true;
+                        break;
+                }
+                if (bError) return;
+
+                // ãƒ‡ãƒ¼ã‚¿ã�®ç™»éŒ²
+                m_nInvoiceNo = EntryData();
+
+                DialogResult = DialogResult.OK;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+            finally
+            {
+                // ç”»é�¢ã‚¯ãƒ­ãƒ¼ã‚º
+                this.Close();
+            }
+        }
+        #endregion
+
+        #region Ã—ãƒœã‚¿ãƒ³
+        /// <summary>
+        /// Ã—ãƒœã‚¿ãƒ³æŠ¼ä¸‹å‡¦ç�†
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void FrmRequestPrintSel_FormClosing(object sender, FormClosingEventArgs e)
+        {
+            if (m_CloseingProcessOff) return;
+
+            // å‰�ãƒ—ãƒ­ã‚»ã‚¹ã�«æˆ»ã‚‹
+            ClsExcute.BackProcess();
+        }
+        #endregion
+
+        #region [çµ‚äº†]ãƒœã‚¿ãƒ³æŠ¼ä¸‹
+        /// <summary>
+        /// [çµ‚äº†]ãƒœã‚¿ãƒ³æŠ¼ä¸‹
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void btnEnd_Click(object sender, EventArgs e)
+        {
+            // ç”»é�¢ã‚¯ãƒ­ãƒ¼ã‚º
+            this.Close();
+        }
+        #endregion
+
+        #region ä½œæˆ�æ—¥ã‚³ãƒ³ãƒœã�®é�¸æŠžå¤‰æ›´
+        /// <summary>
+        /// ä½œæˆ�æ—¥ã‚³ãƒ³ãƒœã�®é�¸æŠžå¤‰æ›´
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private int m_nOldSelectedValue = 0;
+        private void cbCreateDate_SelectedIndexChanged(object sender, EventArgs e)
+        {
+            int nInvoiceNo = CommonMotions.cnvInt(cbCreateDate.SelectedValue);
+
+            if (m_nOldSelectedValue == nInvoiceNo)
+            {
+                return;
+            }
+
+            m_nOldSelectedValue = nInvoiceNo;
+
+            RefleshRequestList(nInvoiceNo);
+        }
+
+        #endregion
+
+        #region ã‚»ãƒ«å†…å®¹ã�®ã‚¯ãƒªãƒƒã‚¯
+        /// <summary>
+        /// ã‚»ãƒ«å†…å®¹ã�®ã‚¯ãƒªãƒƒã‚¯
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void dgv1_CellContentClick(object sender, DataGridViewCellEventArgs e)
+        {
+            dgv1_CellContentDoubleClick(sender, e);
+        }
+        #endregion
+
+        #region ã‚»ãƒ«å†…å®¹ã�®Wã‚¯ãƒªãƒƒã‚¯
+        /// <summary>
+        /// ã‚»ãƒ«å†…å®¹ã�®Wã‚¯ãƒªãƒƒã‚¯
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void dgv1_CellContentDoubleClick(object sender, DataGridViewCellEventArgs e)
+        {
+            DataGridViewRow CurRow = dgv1.CurrentRow;
+            if (CurRow.Cells[(int)DispColumn.CheckFlg].EditedFormattedValue.Equals(true) == true)
+            {
+                CurRow.Cells[(int)DispColumn.CheckFlg].Value = false;
+            }
+            else
+            {
+                CurRow.Cells[(int)DispColumn.CheckFlg].Value = true;
+            }
+
+            UpdateCheckValue();
+        }
+        #endregion
+    }
+}
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntry/FrmRequestPrintSel.resx
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntry/FrmRequestPrintSel.resx	(nonexistent)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntry/FrmRequestPrintSel.resx	(revision 329)
@@ -0,0 +1,141 @@
+ï»¿<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" use="required" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <metadata name="Column1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="col1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="col2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="col3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="col4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="col5.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="col6.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+</root>
\ No newline at end of file
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntry/FrmRequestPrintSelAux.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntry/FrmRequestPrintSelAux.cs	(nonexistent)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntry/FrmRequestPrintSelAux.cs	(revision 329)
@@ -0,0 +1,797 @@
+ï»¿using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+using ProcessManagement.Common;
+using ProcessManagement.DataModel;
+using ProcessManagement.DB;
+using ProcessManagement.DB.IOAccess;
+using ProcessManagement.Forms.SubForms;
+using ProcessManagement.Forms.ControlsAction;
+
+
+namespace ProcessManagement.Forms.DataEntry
+{
+    public partial class FrmRequestPrintSel
+    {
+        #region ãƒ•ã‚©ãƒ¼ãƒ ã�®åˆ�æœŸã‚¹ã‚¿ã‚¤ãƒ«è¨­å®š
+        /// <summary>
+        /// ãƒ•ã‚©ãƒ¼ãƒ ã�®åˆ�æœŸã‚¹ã‚¿ã‚¤ãƒ«è¨­å®š
+        /// </summary>
+        private void InitSetFormStyle()
+        {
+            try
+            {
+                dgv1.EnableHeadersVisualStyles = false;
+                dgv1.AutoGenerateColumns = false;
+                dgv1.ColumnHeadersHeight = 28;
+                dgv1.ColumnHeadersDefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter;
+                dgv1.AllowUserToAddRows = false;
+                dgv1.RowTemplate.Height = 24;
+                dgv1.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+                dgv1.ColumnHeadersDefaultCellStyle.BackColor = Color.Aquamarine;
+
+                int yyyy = CommonMotions.cnvTruncate((double)m_nRequestMonth / 100);
+                int mm = m_nRequestMonth % 100;
+                lbReqMonth.Text = string.Format("{0}/{1}", yyyy, mm.ToString("D2"));
+                lbOrderersName.Text = m_strOrderersName;
+
+                string strSubTitle = string.Empty;
+                switch (m_ExecuteSubFlg)
+                {
+                    case (int)ConstructionBaseInfo.BillingSplitFlgDef.SplitBilling:
+                        strSubTitle = "ï¼ˆå‡ºæ�¥é«˜ï¼‰";
+                        break;
+                    case (int)ConstructionBaseInfo.BillingSplitFlgDef.AllOnBilling:
+                        strSubTitle = "ï¼ˆå®Œäº†å¾Œï¼‰";
+                        break;
+                }
+                // å‡¦ç�†å��ç§°è¡¨ç¤º
+                lblProcessTitil.Text = string.Format("{0}{1}", ClsExcute.ProcessExecuteName[m_ExecuteFlg].Replace("ï¼�", ""), strSubTitle);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region ä¸€è¦§ã�®æ›´æ–°
+        /// <summary>
+        /// ä¸€è¦§ã�®æ›´æ–°
+        /// </summary>
+        /// <param name="nInvoiceNo"></param>
+        private void RefleshRequestList(int nInvoiceNo)
+        {
+            try
+            {
+                bool bEnabled = false;
+
+                // æ–°è¦�ä»¥å¤–ã�Œé�¸æŠžã�•ã‚Œã�Ÿå ´å�ˆ
+                if (nInvoiceNo != 0)
+                {
+                    InvoiceData InvData = null;
+                    if (m_dicInvData.TryGetValue(nInvoiceNo, out InvData) == true)
+                    {
+                        if (InvData.CompleteFlg == 0)
+                        {
+                            bEnabled = true;
+                        }
+                    }
+                }
+
+                btnDel.Enabled = bEnabled;
+
+                foreach (DataGridViewRow CurRow in dgv1.Rows)
+                {
+                    // è«‹æ±‚ãƒ˜ãƒƒãƒ€ã�Œç´�ã�¥ã�„ã�¦ã�„ã�ªã�„è¡Œã�¯ãƒ€ãƒŸãƒ¼
+                    if (CurRow.Cells[(int)DispColumn.RequestNo].Value == null)
+                    {
+                        break;
+                    }
+
+                    // æ–°è¦�è«‹æ±‚æ›¸ã�Œé�¸æŠžã�•ã‚Œã�Ÿå ´å�ˆã�¯å…¨OFF
+                    if (nInvoiceNo == 0)
+                    {
+                        CurRow.Cells[(int)DispColumn.CheckFlg].Value = false;
+                        CurRow.Cells[(int)DispColumn.CheckFlg].ReadOnly = false;
+                    }
+                    else
+                    {
+                        // è«‹æ±‚æ›¸ã�Œé�¸æŠžã�•ã‚Œã�Ÿå ´å�ˆã�¯è©²å½“è¨­è¨ˆæ›¸ã�®ã�¿ON
+                        if ((CurRow.Cells[(int)DispColumn.InvoiceNo].Value != null)
+                                && (CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.InvoiceNo].Value) == nInvoiceNo))
+                        {
+                            CurRow.Cells[(int)DispColumn.CheckFlg].Value = true;
+                            CurRow.Cells[(int)DispColumn.CheckFlg].ReadOnly = true;
+
+                        }
+                        else
+                        {
+                            CurRow.Cells[(int)DispColumn.CheckFlg].Value = false;
+                            CurRow.Cells[(int)DispColumn.CheckFlg].ReadOnly = false;
+                        }
+                    }
+                }
+                // é�¸æŠžæ•°ã€�é�¸æŠžé‡‘é¡�ã�®æ›´æ–°
+                UpdateCheckValue();
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region é�¸æŠžæ•°ã€�é�¸æŠžé‡‘é¡�ã�®æ›´æ–°
+        /// <summary>
+        /// é�¸æŠžæ•°ã€�é�¸æŠžé‡‘é¡�ã�®æ›´æ–°
+        /// </summary>
+        void UpdateCheckValue()
+        {
+            try
+            {
+                int cnt = 0;
+                long val;
+                long amount = 0;
+
+                foreach (DataGridViewRow CurRow in dgv1.Rows)
+                {
+                    if (CurRow.Cells[(int)DispColumn.CheckFlg].EditedFormattedValue.Equals(true) == true)
+                    {
+                        cnt++;
+
+                        if (CurRow.Cells[(int)DispColumn.ReqValue].Value != null)
+                        {
+                            val = CommonMotions.cnvLong(CurRow.Cells[(int)DispColumn.ReqValue].Value.ToString().Replace(",", string.Empty));
+                        }
+                        else
+                        {
+                            val = 0;
+                        }
+
+                        amount += val;
+                    }
+                }
+
+                lbSelect.Text = cnt.ToString("#,0");
+                lbTotalAmount.Text = amount.ToString("#,0");
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿ã�®å�–å¾—
+        /// <summary>
+        /// è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿ã�®å�–å¾—
+        /// </summary>
+        private void GetInvData()
+        {
+            IOInvoiceData ioInvData = new IOInvoiceData();
+
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                string sql = "SELECT";
+                sql += " InvData.InvoiceNo";
+                sql += " ,InvData.OrderersDivision";
+                sql += " ,InvData.OrderersCode";
+                sql += " ,InvData.RequestMonth";
+                sql += " ,InvData.SeqNo";
+                sql += " ,DATE_FORMAT(InvData.CretateDate, '%Y/%m/%d')";
+                sql += " ,DATE_FORMAT(InvData.RequestDate, '%Y/%m/%d')";
+                sql += " ,InvData.RequestName";
+                sql += " ,InvData.TotalAmount";
+                sql += " ,InvData.TaxAmount";
+                sql += " ,InvData.Comment1";
+                sql += " ,InvData.Comment2";
+                sql += " ,InvData.Comment3";
+                sql += " ,InvData.Comment4";
+                sql += " ,InvData.Comment5";
+                sql += " ,InvData.CompleteFlg";
+                sql += " ,DATE_FORMAT(InvData.EntryDate, '%Y/%m/%d %H:%i:%s')";
+                sql += " ,DATE_FORMAT(InvData.UpdateDate, '%Y/%m/%d %H:%i:%s')";
+                sql += " FROM";
+                sql += " InvoiceData InvData";
+                sql += string.Format(" WHERE InvData.OrderersDivision = {0}", m_nOrderersDivision);
+                sql += string.Format(" AND InvData.OrderersCode = {0} ", m_nOrderersCode);
+                sql += string.Format(" AND InvData.RequestMonth = {0} ", m_nRequestMonth);
+                sql += " AND EXISTS( SELECT * FROM RequestHead ReqHead WHERE ReqHead.InvoiceNo = InvData.InvoiceNo )";
+                sql += " ORDER BY InvData.CretateDate Asc, InvData.SeqNo Asc";
+
+                // SQLå®Ÿè¡Œ
+                if (!ioInvData.ExecuteReader(sql, ref arData, true)) return;
+
+                // ãƒ‡ãƒ¼ã‚¿ã‚»ãƒƒãƒˆ
+                foreach (object[] objwrk in arData)
+                {
+                    InvoiceData work = new InvoiceData();
+                    ioInvData.Reader2Struct(objwrk, ref work);
+
+                    m_dicInvData.Add(work.InvoiceNo, work);
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+            finally
+            {
+                ioInvData.close();
+                ioInvData = null;
+            }
+            return;
+        }
+        #endregion
+
+        #region è«‹æ±‚ãƒ‡ãƒ¼ã‚¿ã�®å�–å¾—
+        /// <summary>
+        /// è«‹æ±‚ãƒ‡ãƒ¼ã‚¿ã�®å�–å¾—
+        /// </summary>
+        private void GetReqestData()
+        {
+
+            IORequestHead ioReqHead = new IORequestHead();
+
+            try
+            {
+                List<RequestHead> lstWork = new List<RequestHead>();
+
+                string sql = string.Format(" Where RequestMonth = {0}", m_nRequestMonth);
+                sql += string.Format(" And OrderersDivision = {0}", m_nOrderersDivision);
+                sql += string.Format(" And OrderersCode = {0}", m_nOrderersCode);
+                //sql += string.Format(" And OrderersName = '{0}'", m_strOrderersName);
+                //sql += " And AssignedFlg = 0";
+                sql += " Order by ReqConstructionCode Asc, OrderNo Asc";
+
+                if (ioReqHead.SelectAction(sql, ref lstWork) == false)
+                {
+                    return;
+                }
+
+                m_lstReqHead.Clear();
+                foreach (RequestHead ReqHead in lstWork)
+                {
+                    // æœ€çµ‚æ‰¿èª�æ¸ˆ
+                    if (ClsApprovalPermission.CheckProcessApprovalData(ReqHead.ReqConstructionCode, (int)ClsExcute.ApprovalListNo.OrderBillingApproval, ReqHead.OrderNo) == false)
+                    {
+                        continue;
+                    }
+
+                    // è«‹æ±‚ãƒ˜ãƒƒãƒ€ã�®è¿½åŠ 
+                    m_lstReqHead.Add(ReqHead);
+
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+            finally
+            {
+                ioReqHead.close();
+                ioReqHead = null;
+            }
+        }
+        #endregion
+
+        #region è«‹æ±‚ãƒ‡ãƒ¼ã‚¿ã�®è¡¨ç¤º
+        /// <summary>
+        /// è«‹æ±‚ãƒ‡ãƒ¼ã‚¿ã�®è¡¨ç¤º
+        /// </summary>
+        private void DispRequestData()
+        {
+            try
+            {
+                int nCount = m_lstReqHead.Count;
+                if (nCount < 15) nCount = 15;
+
+                // è¡Œã‚’è¿½åŠ 
+                dgv1.Rows.Add(nCount + 1);
+
+                int trow = 0;
+                foreach (RequestHead ReqHead in m_lstReqHead)
+                {
+                    DataGridViewRow CurRow = dgv1.Rows[trow];
+                    CurRow.Cells[(int)DispColumn.DataNo].Value = (trow + 1);
+                    // è«‹æ±‚æ›¸Noã�ŒæŒ‡å®šã�•ã‚Œã�¦ã�„ã‚‹å ´å�ˆã�¯ã€�ãƒ�ã‚§ãƒƒã‚¯ãƒœãƒƒã‚¯ã‚¹ã�®å¤‰æ›´ä¸�å�¯
+                    if (m_nInvoiceNo == 0)
+                    {
+                        CurRow.Cells[(int)DispColumn.CheckFlg].ReadOnly = false;
+                    }
+
+                    CurRow.Cells[(int)DispColumn.RequestTitle].Value = ReqHead.ReqConstructionName;
+                    CurRow.Cells[(int)DispColumn.ReqValue].Value = ReqHead.RequestTotalAmount.ToString("#,0");
+                    CurRow.Cells[(int)DispColumn.RequestNo].Value = ReqHead.RequestNo;
+
+                    if (ReqHead.InvoiceNo > 0)
+                    {
+                        InvoiceData InvData = null;
+
+                        if (m_dicInvData.TryGetValue(ReqHead.InvoiceNo, out InvData) == true)
+                        {
+                            CurRow.Cells[(int)DispColumn.CreateDate].Value = InvData.CretateDate.ToString("yyyy/MM/dd");
+                            CurRow.Cells[(int)DispColumn.InvoiceNo].Value = InvData.InvoiceNo;
+                        }
+
+                    }
+                    trow++;
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region ä½œæˆ�æ—¥ã‚³ãƒ³ãƒœã�®è¨­å®šï¼ˆå¯¾è±¡å…¨ã�¦ï¼‰
+        /// <summary>
+        /// ä½œæˆ�æ—¥ã‚³ãƒ³ãƒœã�®è¨­å®šï¼ˆå¯¾è±¡å…¨ã�¦ï¼‰
+        /// </summary>
+        private void SetRequestCreateDateAll()
+        {
+            try
+            {
+                List<int> lstKeyInvNo = new List<int>(m_dicInvData.Keys);
+                Dictionary<string, List<InvoiceData>> dicWork = new Dictionary<string, List<InvoiceData>>();
+                List<KeyValuePair<int, string>> lstKeyVal = new List<KeyValuePair<int, string>>();
+
+                foreach (int nInvoiceNo in lstKeyInvNo)
+                {
+                    InvoiceData InvData = null;
+                    if (m_dicInvData.TryGetValue(nInvoiceNo, out InvData) == true)
+                    {
+                        string strDate = InvData.CretateDate.ToString("yyyy/MM/dd");
+
+                        List<InvoiceData> lstWork = null;
+
+                        if (dicWork.TryGetValue(strDate, out lstWork) == false)
+                        {
+                            lstWork = new List<InvoiceData>();
+
+                            dicWork.Add(strDate, lstWork);
+                        }
+                        lstWork.Add(InvData);
+                    }
+                }
+
+                List<string> lstKeyDate = new List<string>(dicWork.Keys);
+
+                KeyValuePair<int, string> KeyValNew = new KeyValuePair<int, string>(0, "æ–°è¦�");
+                lstKeyVal.Add(KeyValNew);
+
+                foreach (string strDate in lstKeyDate)
+                {
+                    List<InvoiceData> lstWork = null;
+
+                    if (dicWork.TryGetValue(strDate, out lstWork) == true)
+                    {
+                        for (int i = 0; i < lstWork.Count; i++)
+                        {
+                            string strValue;
+
+                            strValue = strDate;
+                            if (i > 0)
+                            {
+                                strValue += string.Format("({0})", i);
+                            }
+
+                            KeyValuePair<int, string> KeyVal = new KeyValuePair<int, string>(lstWork[i].InvoiceNo, strValue);
+
+                            lstKeyVal.Add(KeyVal);
+                        }
+                    }
+                }
+
+                cbCreateDate.ValueMember = "Key";
+                cbCreateDate.DisplayMember = "Value";
+
+                // ã‚³ãƒ³ãƒœãƒœãƒƒã‚¯ã‚¹åˆ�æœŸè¡¨ç¤º
+                ComboBoxAction.InitDataSetCombBox(cbCreateDate, lstKeyVal, false);
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region ä½œæˆ�æ—¥ã‚³ãƒ³ãƒœã�®è¨­å®šï¼ˆ1ä»¶ï¼‰
+        /// <summary>
+        /// ä½œæˆ�æ—¥ã‚³ãƒ³ãƒœã�®è¨­å®šï¼ˆ1ä»¶ï¼‰
+        /// </summary>
+        private void SetRequestCreateDateOnly()
+        {
+
+            List<KeyValuePair<int, string>> lstKeyVal = new List<KeyValuePair<int, string>>();
+            InvoiceData InvData = null;
+
+            if (m_dicInvData.TryGetValue(m_nInvoiceNo, out InvData) == true)
+            {
+                string strDate = InvData.CretateDate.ToString("yyyy/MM/dd");
+
+                KeyValuePair<int, string> KeyVal = new KeyValuePair<int, string>(InvData.InvoiceNo, strDate);
+
+                lstKeyVal.Add(KeyVal);
+            }
+
+            cbCreateDate.ValueMember = "Key";
+            cbCreateDate.DisplayMember = "Value";
+
+            // ã‚³ãƒ³ãƒœãƒœãƒƒã‚¯ã‚¹åˆ�æœŸè¡¨ç¤º
+            ComboBoxAction.InitDataSetCombBox(cbCreateDate, lstKeyVal, false);
+
+            return;
+        }
+        #endregion
+
+        #region ä½œæˆ�ãƒ�ã‚§ãƒƒã‚¯
+        /// <summary>
+        /// ä½œæˆ�ãƒ�ã‚§ãƒƒã‚¯
+        /// </summary>
+        /// <param name="msg"></param>
+        /// <returns></returns>
+        private int CheckGenerate(ref string msg)
+        {
+            try
+            {
+                int nInvoiceNo = CommonMotions.cnvInt(cbCreateDate.SelectedValue);
+
+                int nSelect = CommonMotions.cnvInt(lbSelect.Text);
+                int nRet = (int)CheckState.Ok;
+
+                // é�¸æŠžã�ªã�—
+                if (nSelect == 0)
+                {
+                    msg = "è«‹æ±‚ä»¶å��ã�Œé�¸æŠžã�•ã‚Œã�¦ã�„ã�¾ã�›ã‚“";
+
+                    return (int)CheckState.Error;
+                }
+
+                foreach (DataGridViewRow CurRow in dgv1.Rows)
+                {
+                    // è«‹æ±‚ãƒ˜ãƒƒãƒ€ã�Œç´�ã�¥ã�„ã�¦ã�„ã�ªã�„è¡Œã�¯ãƒ€ãƒŸãƒ¼
+                    if (CurRow.Cells[(int)DispColumn.RequestNo].Value == null)
+                    {
+                        break;
+                    }
+
+                    // é�¸æŠžã�•ã‚Œã�¦ã�„ã‚‹å ´å�ˆ
+                    if (CurRow.Cells[(int)DispColumn.CheckFlg].EditedFormattedValue.Equals(true) == true)
+                    {
+                        if (CurRow.Cells[(int)DispColumn.InvoiceNo].Value == null)
+                        {
+                            continue;
+                        }
+
+                        if (CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.InvoiceNo].Value) != nInvoiceNo)
+                        {
+                            nRet = (int)CheckState.Warning;
+                            break;
+                        }
+                    }
+                }
+
+                if (nRet == (int)CheckState.Warning)
+                {
+                    msg = "ä»–ã�§è«‹æ±‚ã�•ã‚Œã�¦ã�„ã‚‹è«‹æ±‚ä»¶å��ã�Œé�¸æŠžã�•ã‚Œã�¦ã�„ã�¾ã�™ã€‚\nã�“ã�®å†…å®¹ã�§è«‹æ±‚æ›¸ã‚’ä½œæˆ�ã�—ã�¦ã‚ˆã‚�ã�—ã�„ã�§ã�™ã�‹ï¼Ÿ";
+                    return nRet;
+                }
+
+                foreach (DataGridViewRow CurRow in dgv1.Rows)
+                {
+                    // è«‹æ±‚ãƒ˜ãƒƒãƒ€ã�Œç´�ã�¥ã�„ã�¦ã�„ã�ªã�„è¡Œã�¯ãƒ€ãƒŸãƒ¼
+                    if (CurRow.Cells[(int)DispColumn.RequestNo].Value == null)
+                    {
+                        break;
+                    }
+
+
+                    // é�¸æŠžã‚Œã�¦ã�„ã‚‹å ´å�ˆ
+                    if (CurRow.Cells[(int)DispColumn.CheckFlg].EditedFormattedValue.Equals(true) == true)
+                    {
+                        if (CurRow.Cells[(int)DispColumn.InvoiceNo].Value != null)
+                        {
+                            continue;
+                        }
+
+                        if (m_nInvoiceNo == 0)
+                        {
+                            msg = "æ—¢ã�«ä½œæˆ�æ¸ˆã�®è«‹æ±‚æ›¸ã�«æ–°è¦�è«‹æ±‚ä»¶å��ã‚’è¿½åŠ ã�—ã�¾ã�™ã€‚\nã�“ã�®å†…å®¹ã�§è«‹æ±‚æ›¸ã‚’ä½œæˆ�ã�—ã�¦ã‚ˆã‚�ã�—ã�„ã�§ã�™ã�‹ï¼Ÿ";
+                            nRet = (int)CheckState.Warning;
+                            break;
+                        }
+                    }
+
+                }
+
+
+                if (nRet == (int)CheckState.Ok)
+                {
+                    msg = "ã�“ã�®å†…å®¹ã�§è«‹æ±‚æ›¸ã‚’ä½œæˆ�ã�—ã�¦ã‚ˆã‚�ã�—ã�„ã�§ã�™ã�‹ï¼Ÿ";
+                }
+
+                return nRet;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+                return (int)CheckState.Error;
+            }
+        }
+        #endregion
+
+        #region è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿ç™»éŒ²
+        /// <summary>
+        /// è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿ç™»éŒ²
+        /// </summary>
+        /// <returns></returns>
+        private int EntryData()
+        {
+            try
+            {
+                int nInvoiceNo = CommonMotions.cnvInt(cbCreateDate.SelectedValue);
+
+                List<RequestHead> lstReqHead = new List<RequestHead>();
+
+                foreach (DataGridViewRow CurRow in dgv1.Rows)
+                {
+                    // è«‹æ±‚ãƒ˜ãƒƒãƒ€ã�Œç´�ã�¥ã�„ã�¦ã�„ã�ªã�„è¡Œã�¯ãƒ€ãƒŸãƒ¼
+                    if (CurRow.Cells[(int)DispColumn.RequestNo].Value == null)
+                    {
+                        break;
+                    }
+
+                    // é�¸æŠžã‚Œã�¦ã�„ã‚‹å ´å�ˆ
+                    if (CurRow.Cells[(int)DispColumn.CheckFlg].EditedFormattedValue.Equals(true) == true)
+                    {
+                        lstReqHead.Add(m_lstReqHead[CurRow.Index]);
+                    }
+                }
+
+                // è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿ã�®ç™»éŒ²
+                nInvoiceNo = AddInvoiceData(nInvoiceNo, lstReqHead);
+
+                return nInvoiceNo;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+                return -1;
+            }
+        }
+
+        #endregion
+
+        #region è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿ã�®ç™»éŒ²
+        /// <summary>
+        /// è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿ã�®ç™»éŒ²
+        /// </summary>
+        /// <param name="nInvoiceNo"></param>
+        /// <param name="lstReqHead"></param>
+        /// <returns></returns>
+        private int AddInvoiceData(int nInvoiceNo, List<RequestHead> lstReqHead)
+        {
+            IOInvoiceData ioInvData = new IOInvoiceData();
+            IORequestHead ioReqHead = new IORequestHead();
+
+            InvoiceData InvData = null;
+
+
+            ioInvData.beginTran();
+            ioReqHead.beginTran();
+
+            try
+            {
+                // è«‹æ±‚æ›¸Noã�ŒæŒ‡å®šã�•ã‚Œã�¦ã�„ã�ªã�„å ´å�ˆ
+                if (nInvoiceNo == 0)
+                {
+                    // è«‹æ±‚æ›¸Noã�®æŽ¡ç•ª
+                    nInvoiceNo = ioInvData.NumberingInvoiceNo(m_nRequestMonth);
+                    if (nInvoiceNo == -1)
+                    {
+                        // DBãƒ­ãƒ¼ãƒ«ãƒ�ãƒƒã‚¯
+                        ioInvData.rollback();
+                        ioReqHead.rollback();
+
+                        return -1;
+                    }
+
+                    // è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿æ§‹ç¯‰
+                    InvData = new InvoiceData();
+
+                    InvData.InvoiceNo = nInvoiceNo;
+                    InvData.OrderersDivision = m_nOrderersDivision;
+                    InvData.OrderersCode = m_nOrderersCode;
+                    InvData.RequestMonth = m_nRequestMonth;
+                    InvData.SeqNo = ioInvData.NumberingSeqNo(m_nOrderersDivision, m_nOrderersCode, m_nRequestMonth);
+                    InvData.CretateDate = DateTime.Now;
+                    InvData.RequestDate = DateTime.MinValue;
+                    InvData.RequestName = m_strOrderersName;
+                    InvData.TotalAmount = 0;
+                    InvData.TaxAmount = 0;
+
+                    // è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿ã�®æŒ¿å…¥
+                    if (ioInvData.InsertAction(InvData) == false)
+                    {
+                        // DBãƒ­ãƒ¼ãƒ«ãƒ�ãƒƒã‚¯
+                        ioInvData.rollback();
+                        ioReqHead.rollback();
+
+                        return -1;
+                    }
+                }
+                else
+                {
+                    // è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿ã�®å�–å¾—
+                    if (m_dicInvData.TryGetValue(nInvoiceNo, out InvData) == false)
+                    {
+                        // DBãƒ­ãƒ¼ãƒ«ãƒ�ãƒƒã‚¯
+                        ioInvData.rollback();
+                        ioReqHead.rollback();
+                        return -1;
+                    }
+
+                    // ä½œæˆ�æ—¥ã�®ã�¿æ›´æ–°
+                    InvData.CretateDate = DateTime.Now;
+                    InvData.TotalAmount = 0;
+                    InvData.TaxAmount = 0;
+
+                    // è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿ã�®æ›´æ–°
+                    string sql = string.Format(" Where InvoiceNo = {0}", nInvoiceNo);
+                    if (ioInvData.UpdateAction(sql, InvData) == false)
+                    {
+                        // DBãƒ­ãƒ¼ãƒ«ãƒ�ãƒƒã‚¯
+                        ioInvData.rollback();
+                        ioReqHead.rollback();
+
+                        return -1;
+                    }
+                }
+
+                // é�¸æŠžã�•ã‚Œã�¦ã�„ã‚‹è«‹æ±‚ãƒ˜ãƒƒãƒ€ã�®è«‹æ±‚æ›¸Noã‚’æ›´æ–°
+                foreach (RequestHead ReqHead in lstReqHead)
+                {
+                    ReqHead.InvoiceNo = nInvoiceNo;
+                }
+                if (ioReqHead.UpdateAction(lstReqHead) == false)
+                {
+                    // DBãƒ­ãƒ¼ãƒ«ãƒ�ãƒƒã‚¯
+                    ioInvData.rollback();
+                    ioReqHead.rollback();
+
+                    return -1;
+                }
+
+                // DBã‚³ãƒŸãƒƒãƒˆ
+                ioInvData.commit();
+                ioReqHead.commit();
+
+                return nInvoiceNo;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+                return -1;
+            }
+            finally
+            {
+                ioInvData.close();
+                ioInvData = null;
+                ioReqHead.close();
+                ioReqHead = null;
+            }
+        }
+        #endregion
+
+        #region è«‹æ±‚æ›¸é…�ä¸‹ã�®é‡‘é¡�ã‚’å�–å¾—
+        /// <summary>
+        /// è«‹æ±‚æ›¸é…�ä¸‹ã�®é‡‘é¡�ã‚’å�–å¾—
+        /// </summary>
+        /// <param name="lstReqHead"></param>
+        /// <param name="lTotalAmount"></param>
+        /// <param name="lTaxAmount"></param>
+        private void GetReqHeadAmount(List<RequestHead> lstReqHead, ref long lTotalAmount, ref long lTaxAmount)
+        {
+            foreach (RequestHead ReqHead in lstReqHead)
+            {
+                lTotalAmount += ReqHead.RequestTotalAmount;
+                lTaxAmount += ReqHead.TaxAmount;
+            }
+            return;
+        }
+        #endregion
+
+        #region è«‹æ±‚ãƒ‡ãƒ¼ã‚¿ã�®å‰Šé™¤
+        /// <summary>
+        /// è«‹æ±‚ãƒ‡ãƒ¼ã‚¿ã�®å‰Šé™¤
+        /// </summary>
+        /// <param name="nInvoiceNo"></param>
+        /// <returns></returns>
+        private bool DeleteInvoiceData(int nInvoiceNo)
+        {
+            string sql = "";
+
+            IOInvoiceData ioInvData = new IOInvoiceData();
+            IORequestHead ioReqHead = new IORequestHead();
+
+            ioInvData.beginTran();
+            ioReqHead.beginTran();
+
+            try
+            {
+                // è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿ã�®å‰Šé™¤
+                sql = string.Format(" Where InvoiceNo = {0}", nInvoiceNo);
+                if (!ioInvData.DeleteAction(sql))
+                {
+                    ioInvData.rollback();
+                    ioReqHead.rollback();
+
+                    return false;
+                }
+
+                List<RequestHead> lstReqHead = new List<RequestHead>();
+
+                sql = string.Format(" Where InvoiceNo = {0}", nInvoiceNo);
+                if (!ioReqHead.SelectAction(sql, ref lstReqHead))
+                {
+                    ioInvData.rollback();
+                    ioReqHead.rollback();
+
+                    return false;
+                }
+
+                // è«‹æ±‚ãƒ˜ãƒƒãƒ€ã�®è«‹æ±‚æ›¸Noã‚’ã‚¯ãƒªã‚¢
+                foreach (RequestHead ReqHead in lstReqHead)
+                {
+                    ReqHead.InvoiceNo = 0;
+                }
+
+                // è«‹æ±‚ãƒ˜ãƒƒãƒ€ã‚’æ›´æ–°
+                if (ioReqHead.UpdateAction(lstReqHead) == false)
+                {
+                    ioInvData.rollback();
+                    ioReqHead.rollback();
+
+                    return false;
+
+                }
+
+                ioInvData.commit();
+                ioReqHead.commit();
+
+                return true;
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                ioInvData.close();
+                ioInvData = null;
+                ioReqHead.close();
+                ioReqHead = null;
+            }
+
+        }
+        #endregion
+    }
+}
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntryList/FrmReqEntryList.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntryList/FrmReqEntryList.cs	(nonexistent)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntryList/FrmReqEntryList.cs	(revision 329)
@@ -0,0 +1,418 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Text;
+using System.Windows.Forms;
+using System.Collections;
+
+using log4net;
+using log4net.Appender;
+using log4net.Repository.Hierarchy;
+
+using ProcessManagement.Common;
+using ProcessManagement.DB.IOAccess;
+using ProcessManagement.DataModel;
+using ProcessManagement.DB.Core;
+using ProcessManagement.Forms.CustomControls;
+using ProcessManagement.Forms.ControlsAction;
+//*---------------------------- �¿‹��‘�ì�¬ˆê——‰æ–Ê ----------------------------*
+//  2018/03/09  Ver1.0.0.0      Create Source           
+//
+//
+//
+//*----------------------------------------------------------------------------*
+namespace ProcessManagement.Forms.DataEntry
+{
+    public partial class FrmReqEntryList : Form
+    {
+        #region Žg—p’è‹`
+        //log4netƒ�ƒO‚ðŽg—p‚·‚é
+        private static readonly log4net.ILog logger = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region ’è�”
+        /// <summary>
+        /// •\Ž¦ƒJƒ‰ƒ€
+        /// </summary>
+        private enum DispColumn
+        {
+            No = 0,
+            RequestMonth,
+            OrdererName,
+            UnReqCount,
+            ReqCount,
+            UnReqValue,
+            ReqValue,
+            RequestMonthKey,
+            DivisionCode,
+            OrdererCode,
+        }
+
+        #region �s‘I‘ð�F
+        /// <summary>
+        /// �s‘I‘ð�F
+        /// </summary>
+        private static Color s_RowSelectBackColor = Color.Blue;
+        private static Color s_RowSelectForeColor = Color.White;
+        #endregion
+
+        #endregion
+
+        #region •Ï�”
+
+        /// <summary>
+        /// �‰ŠúŽžƒtƒ‰ƒO
+        /// </summary>
+        private bool m_initDataLoad = true;
+
+        /// <summary>
+        /// ‹N“®ƒtƒ‰ƒO
+        /// </summary>
+        private int m_ExecuteFlg = 0;
+
+        /// <summary>
+        /// ‹N“®Žž•â�•ƒtƒ‰ƒO
+        /// </summary>
+        private int m_ExecuteSubFlg = 0;
+
+        /// <summary>
+        /// ƒf�[ƒ^’Ç‰Áƒ{ƒ^ƒ“•\Ž¦ƒtƒ‰ƒO
+        /// </summary>
+        private bool m_DataAddtionButton = false;
+        /// <summary>
+        /// �I—¹ƒ{ƒ^ƒ“‰Ÿ‰ºƒtƒ‰ƒO
+        /// </summary>
+        private bool m_CloseingProcessOff = false;
+
+        /// <summary>
+        /// Cell•�ƒTƒCƒY
+        /// </summary>
+        private int[] m_CellSize;
+
+        #region ƒtƒH�[ƒ€•�
+        /// <summary>
+        /// ƒtƒH�[ƒ€•�
+        /// </summary>
+        private int m_FormWidthSize = 0;
+        #endregion
+
+        #region ƒOƒŠƒbƒh•�ƒTƒCƒY
+        /// <summary>
+        /// ƒOƒŠƒbƒh•�ƒTƒCƒY
+        /// </summary>
+        private int m_GridWidthSize = 0;
+        #endregion
+
+        /// <summary>
+        /// ŒŸ�õ�HŽ–”Ô�†
+        /// </summary>
+        private int m_ConstructionCode = 0;
+        #endregion
+
+        #region ƒvƒ�ƒpƒeƒB
+        /// <summary>
+        /// ‹N“®ƒtƒ‰ƒO
+        /// </summary>
+        public int ExecuteFlg
+        {
+            get { return m_ExecuteFlg; }
+            set { m_ExecuteFlg = value; }
+        }
+        /// <summary>
+        /// ƒf�[ƒ^’Ç‰Áƒ{ƒ^ƒ“•\Ž¦
+        /// </summary>
+        public bool DataAddtionButton
+        {
+            get { return m_DataAddtionButton; }
+            set { m_DataAddtionButton = value; }
+        }
+        /// <summary>
+        /// ŒŸ�õ�HŽ–”Ô�†
+        /// </summary>
+        public int ConstructionCode
+        {
+            get { return m_ConstructionCode; }
+        }
+        /// <summary>
+        /// ‹N“®Žž•â�•ƒtƒ‰ƒO
+        /// </summary>
+        public int ExecuteSubFlg
+        {
+            get { return m_ExecuteSubFlg; }
+            set { m_ExecuteSubFlg = value; }
+        }
+
+        #endregion
+
+        #region ƒRƒ“ƒXƒgƒ‰ƒNƒ^
+        public FrmReqEntryList()
+        {
+            InitializeComponent();
+        }
+        #endregion
+        #region ƒfƒXƒgƒ‰ƒNƒ^
+        ~FrmReqEntryList()
+        {
+            try
+            {
+                GC.Collect();
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region ƒtƒH�[ƒ€ƒ��[ƒh
+        /// <summary>
+        /// �‰ŠúƒtƒH�[ƒ€ƒ��[ƒh
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void FrmReqEntryList_Load(object sender, EventArgs e)
+        {
+            SetInitnumUDConstPro();
+
+            // ƒRƒ“ƒ{ƒ{ƒbƒNƒXƒZƒbƒg
+            SetcmbReqMonth();
+            SetcmbOrderer();
+
+            // •\Ž¦ƒXƒ^ƒCƒ‹‚Ì•Ï�X
+            InitDisplayStyle();
+
+            // �‰Šú•\Ž¦
+            InitDataLoad();
+
+            m_initDataLoad = false;
+        }
+        #endregion
+
+        #region �~ƒ{ƒ^ƒ“
+        /// <summary>
+        /// �~ƒ{ƒ^ƒ“‰Ÿ‰º�ˆ—�
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void FrmReqEntryList_FormClosing(object sender, FormClosingEventArgs e)
+        {
+            if (m_CloseingProcessOff) return;
+
+            // ‘Oƒvƒ�ƒZƒX‚É–ß‚é
+            ClsExcute.BackProcess();
+        }
+        #endregion
+
+        #region �I—¹ƒ{ƒ^ƒ“
+        /// <summary>
+        /// �I—¹ƒ{ƒ^ƒ“ƒNƒŠƒbƒN
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void btnEnd_Click(object sender, EventArgs e)
+        {
+            this.Close();
+        }
+        #endregion
+
+        #region �X�Vƒ{ƒ^ƒ“
+        /// <summary>
+        /// ƒf�[ƒ^�X�Vƒ{ƒ^ƒ“‰Ÿ‰º
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void btnDataUpDate_Click(object sender, EventArgs e)
+        {
+            if (m_initDataLoad) return;
+            // •\Ž¦ƒf�[ƒ^�X�V
+            DataDisplay();
+        }
+        #endregion
+
+        #region ƒZƒ‹ƒ_ƒuƒ‹ƒNƒŠƒbƒN
+        /// <summary>
+        /// ƒZƒ‹ƒ_ƒuƒ‹ƒNƒŠƒbƒN
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void dgvEntry_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
+        {
+            if (e.RowIndex < 0) return;
+            // ƒf�[ƒ^‚ª‚È‚¢�ê�‡‚Í”²‚¯‚é
+            if (dgvEntry.RowCount == 0) return;
+            if (CommonMotions.chkCellBlank(dgvEntry.CurrentRow.Cells[(int)DispColumn.OrdererName].Value)) return;
+
+            // Še�ˆ—�‹N“®
+            SubProcessExecute();
+        }
+        #endregion
+
+        #region ƒtƒH�[ƒ€KeyDown
+        /// <summary>
+        /// EntryƒL�[‚Å‚ÌˆÚ“®�ˆ—�
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void FrmConstructionBaseInfoList_KeyDown(object sender, KeyEventArgs e)
+        {
+            //EnterƒL�[‚ª‰Ÿ‚³‚ê‚Ä‚¢‚é‚©Šm”F
+            //Alt‚©CtrlƒL�[‚ª‰Ÿ‚³‚ê‚Ä‚¢‚éŽž‚Í–³Ž‹‚·‚é
+            if ((e.KeyCode == Keys.Enter) && !e.Alt && !e.Control)
+            {
+                //‚ ‚½‚©‚àTabƒL�[‚ª‰Ÿ‚³‚ê‚½‚©‚Ì‚æ‚¤‚É‚·‚é
+                //Shift‚ª‰Ÿ‚³‚ê‚Ä‚¢‚éŽž‚Í‘O‚ÌƒRƒ“ƒgƒ��[ƒ‹‚ÌƒtƒH�[ƒJƒX‚ðˆÚ“®
+                this.ProcessTabKey(!e.Shift);
+
+                e.Handled = true;
+                //.NET Framework 2.0ˆÈ�~
+                e.SuppressKeyPress = true;
+            }
+        }
+        #endregion
+
+        #region ‰c‹ÆŠúƒRƒ“ƒ{ƒ{ƒbƒNƒX•Ï�X
+        /// <summary>
+        /// ‰c‹ÆŠú•Ï�X
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void numUDConstPro_ValueChanged(object sender, EventArgs e)
+        {
+            if (m_initDataLoad) return;
+
+            // �¿‹�ŒŽƒRƒ“ƒ{ƒ{ƒbƒNƒXƒZƒbƒg
+            SetcmbReqMonth();
+
+            // ƒf�[ƒ^•\Ž¦
+            DataDisplay();
+        }
+        #endregion
+
+        #region �¿‹�ŒŽƒRƒ“ƒ{ƒ{ƒbƒNƒX•Ï�X
+        /// <summary>
+        /// �¿‹�ŒŽƒRƒ“ƒ{ƒ{ƒbƒNƒX•Ï�X
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void cmbReqMonth_SelectedIndexChanged(object sender, EventArgs e)
+        {
+            if (m_initDataLoad) return;
+     
+            // ”­’�ŽÒƒRƒ“ƒ{ƒ{ƒbƒNƒXƒZƒbƒg
+            SetcmbOrderer();
+
+            // ƒf�[ƒ^•\Ž¦
+            DataDisplay();
+        }
+        #endregion
+
+        #region ”­’�ŽÒƒRƒ“ƒ{ƒ{ƒbƒNƒX•Ï�X
+        /// <summary>
+        /// ”­’�ŽÒƒRƒ“ƒ{ƒ{ƒbƒNƒX•Ï�X
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void cmbOrderer_SelectedIndexChanged(object sender, EventArgs e)
+        {
+            if (m_initDataLoad) return;
+     
+            // ƒf�[ƒ^•\Ž¦
+            DataDisplay();
+        }
+        #endregion
+
+        #region ƒtƒH�[ƒ€ƒTƒCƒY•Ï�X
+        /// <summary>
+        /// ƒtƒH�[ƒ€ƒTƒCƒY•Ï�X
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void FrmReqEntryList_SizeChanged(object sender, EventArgs e)
+        {
+            if (this.WindowState == FormWindowState.Minimized)
+            {
+                // �Å�¬‰»
+            }
+            else if (this.WindowState == FormWindowState.Maximized)
+            {
+                // �Å‘å‰»
+                CellSizeChangesWhenChangingScreenSize(false);
+            }
+            else if (this.WindowState == FormWindowState.Normal)
+            {
+                // •W�€‰»
+                CellSizeChangesWhenChangingScreenSize(true);
+            }
+        }
+        #endregion
+
+        // ƒZƒ‹‘I‘ð�s
+        int m_BeforeGridRow = -1;
+        #region ƒZƒ‹‘I‘ð•Ï�X
+        /// <summary>
+        /// ƒZƒ‹•Ï�XŽž�s‚Ì�F‚ð•Ï‚¦‚é
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void dgvEntry_SelectionChanged(object sender, EventArgs e)
+        {
+            DataGridView dgv = dgvEntry;
+            DataGridViewRow CurRow = dgv.CurrentRow;
+
+            // �s‘I‘ð�F‚ðŒ³‚É–ß‚·
+            if (m_BeforeGridRow >= 0) DefaultRowChangeColor(m_BeforeGridRow);
+
+            // ‘I‘ð�s�”‚ð‘Þ”ð
+            m_BeforeGridRow = dgv.CurrentRow.Index;
+            // �s‘I‘ð�F‚ð�Ý’è
+            SelectRowChangeColor(m_BeforeGridRow);
+        }
+        #endregion
+
+        #region ƒOƒŠƒbƒhƒ}ƒEƒX�WŒv�ˆ—�
+        /// <summary>
+        /// ƒOƒŠƒbƒhƒ}ƒEƒX�WŒv�ˆ—�
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void dgvEntry_MouseUp(object sender, MouseEventArgs e)
+        {
+            try
+            {
+                DataGridView dgv = (DataGridView)sender;
+
+                lblCellTotal.Text = string.Empty;
+
+                double dTotal = 0;
+                int DataCnt = 0;
+                int NumericCnt = 0;
+                foreach (DataGridViewCell c in dgv.SelectedCells)
+                {
+                    if (CommonMotions.chkObjectIsNull(dgv.Rows[c.RowIndex].Cells[c.ColumnIndex])) continue;
+                    if (CommonMotions.chkCellBlank(dgv.Rows[c.RowIndex].Cells[c.ColumnIndex].Value)) continue;
+
+                    //Console.WriteLine("{0}, {1}", c.ColumnIndex, c.RowIndex);
+                    DataCnt++;
+                    dTotal += CommonMotions.cnvDouble(dgv.Rows[c.RowIndex].Cells[c.ColumnIndex].Value);
+                    if (CommonMotions.chkNumeric(dgv.Rows[c.RowIndex].Cells[c.ColumnIndex].Value)) NumericCnt++;
+                }
+                if (DataCnt <= 1 || dTotal == 0 || NumericCnt == 0) return;
+                string strTotal = CommonMotions.cnvTruncate(dTotal).ToString("#,#");
+                if (dTotal - System.Math.Floor(dTotal) != 0) strTotal = dTotal.ToString("#,#.00");
+
+                string strwrkData = string.Format(CommonDefine.s_CalculateCellFormat,
+                                                    CommonMotions.cnvTruncate(dTotal / (double)NumericCnt).ToString("#,#"),
+                                                    DataCnt.ToString("#,#"),
+                                                    strTotal);
+                lblCellTotal.Text = strwrkData;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+    }
+}
\ No newline at end of file
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntryList/FrmReqEntryList.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntryList/FrmReqEntryList.designer.cs	(nonexistent)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntryList/FrmReqEntryList.designer.cs	(revision 329)
@@ -0,0 +1,475 @@
+ï»¿namespace ProcessManagement.Forms.DataEntry
+{
+    partial class FrmReqEntryList
+    {
+        /// <summary>
+        /// å¿…è¦�ã�ªãƒ‡ã‚¶ã‚¤ãƒŠå¤‰æ•°ã�§ã�™ã€‚
+        /// </summary>
+        private System.ComponentModel.IContainer components = null;
+
+        /// <summary>
+        /// ä½¿ç”¨ä¸­ã�®ãƒªã‚½ãƒ¼ã‚¹ã‚’ã�™ã�¹ã�¦ã‚¯ãƒªãƒ¼ãƒ³ã‚¢ãƒƒãƒ—ã�—ã�¾ã�™ã€‚
+        /// </summary>
+        /// <param name="disposing">ãƒžãƒ�ãƒ¼ã‚¸ ãƒªã‚½ãƒ¼ã‚¹ã�Œç ´æ£„ã�•ã‚Œã‚‹å ´å�ˆ trueã€�ç ´æ£„ã�•ã‚Œã�ªã�„å ´å�ˆã�¯ false ã�§ã�™ã€‚</param>
+        protected override void Dispose(bool disposing)
+        {
+            if (disposing && (components != null))
+            {
+                components.Dispose();
+            }
+            base.Dispose(disposing);
+        }
+
+        #region Windows ãƒ•ã‚©ãƒ¼ãƒ  ãƒ‡ã‚¶ã‚¤ãƒŠã�§ç”Ÿæˆ�ã�•ã‚Œã�Ÿã‚³ãƒ¼ãƒ‰
+
+        /// <summary>
+        /// ãƒ‡ã‚¶ã‚¤ãƒŠ ã‚µãƒ�ãƒ¼ãƒˆã�«å¿…è¦�ã�ªãƒ¡ã‚½ãƒƒãƒ‰ã�§ã�™ã€‚ã�“ã�®ãƒ¡ã‚½ãƒƒãƒ‰ã�®å†…å®¹ã‚’
+        /// ã‚³ãƒ¼ãƒ‰ ã‚¨ãƒ‡ã‚£ã‚¿ã�§å¤‰æ›´ã�—ã�ªã�„ã�§ã��ã� ã�•ã�„ã€‚
+        /// </summary>
+        private void InitializeComponent()
+        {
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle();
+            this.btnEnd = new System.Windows.Forms.Button();
+            this.label1 = new System.Windows.Forms.Label();
+            this.btnDataUpDate = new System.Windows.Forms.Button();
+            this.lblCellTotal = new System.Windows.Forms.Label();
+            this.groupBox1 = new ProcessManagement.Forms.CustomControls.GroupBoxEx();
+            this.label3 = new System.Windows.Forms.Label();
+            this.label4 = new System.Windows.Forms.Label();
+            this.numUDConstPro = new System.Windows.Forms.NumericUpDown();
+            this.label5 = new System.Windows.Forms.Label();
+            this.label7 = new System.Windows.Forms.Label();
+            this.cmbOrderer = new System.Windows.Forms.ComboBox();
+            this.cmbReqMonth = new System.Windows.Forms.ComboBox();
+            this.label2 = new System.Windows.Forms.Label();
+            this.dgvEntry = new ProcessManagement.Forms.CustomControls.DataGridViewEX();
+            this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.lblProcessTitil = new System.Windows.Forms.Label();
+            this.groupBox1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.numUDConstPro)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dgvEntry)).BeginInit();
+            this.SuspendLayout();
+            // 
+            // btnEnd
+            // 
+            this.btnEnd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.btnEnd.BackColor = System.Drawing.Color.Blue;
+            this.btnEnd.ForeColor = System.Drawing.Color.White;
+            this.btnEnd.Location = new System.Drawing.Point(1150, 619);
+            this.btnEnd.Name = "btnEnd";
+            this.btnEnd.Size = new System.Drawing.Size(120, 30);
+            this.btnEnd.TabIndex = 8;
+            this.btnEnd.Text = "çµ‚ã€€äº†";
+            this.btnEnd.UseVisualStyleBackColor = false;
+            this.btnEnd.Click += new System.EventHandler(this.btnEnd_Click);
+            // 
+            // label1
+            // 
+            this.label1.Anchor = System.Windows.Forms.AnchorStyles.Top;
+            this.label1.BackColor = System.Drawing.Color.White;
+            this.label1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label1.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.label1.ForeColor = System.Drawing.Color.Black;
+            this.label1.Location = new System.Drawing.Point(440, 10);
+            this.label1.Name = "label1";
+            this.label1.Size = new System.Drawing.Size(400, 20);
+            this.label1.TabIndex = 6;
+            this.label1.Text = "è«‹ã€€æ±‚ã€€æ›¸ã€€ä½œã€€æˆ�ã€€ä¸€ã€€è¦§";
+            this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // btnDataUpDate
+            // 
+            this.btnDataUpDate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+            this.btnDataUpDate.BackColor = System.Drawing.Color.Aquamarine;
+            this.btnDataUpDate.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.btnDataUpDate.ForeColor = System.Drawing.Color.Black;
+            this.btnDataUpDate.Location = new System.Drawing.Point(1150, 4);
+            this.btnDataUpDate.Name = "btnDataUpDate";
+            this.btnDataUpDate.Size = new System.Drawing.Size(120, 30);
+            this.btnDataUpDate.TabIndex = 7;
+            this.btnDataUpDate.Text = "æœ€æ–°çŠ¶æ…‹ã�«æ›´æ–°";
+            this.btnDataUpDate.UseVisualStyleBackColor = false;
+            this.btnDataUpDate.Click += new System.EventHandler(this.btnDataUpDate_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.Black;
+            this.lblCellTotal.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.lblCellTotal.ForeColor = System.Drawing.Color.White;
+            this.lblCellTotal.Location = new System.Drawing.Point(200, 628);
+            this.lblCellTotal.Name = "lblCellTotal";
+            this.lblCellTotal.Size = new System.Drawing.Size(0, 13);
+            this.lblCellTotal.TabIndex = 31;
+            // 
+            // groupBox1
+            // 
+            this.groupBox1.Anchor = System.Windows.Forms.AnchorStyles.Top;
+            this.groupBox1.BackColor = System.Drawing.Color.Olive;
+            this.groupBox1.BorderColor = System.Drawing.Color.White;
+            this.groupBox1.Controls.Add(this.label3);
+            this.groupBox1.Controls.Add(this.label4);
+            this.groupBox1.Controls.Add(this.numUDConstPro);
+            this.groupBox1.Controls.Add(this.label5);
+            this.groupBox1.Controls.Add(this.label7);
+            this.groupBox1.Controls.Add(this.cmbOrderer);
+            this.groupBox1.Controls.Add(this.cmbReqMonth);
+            this.groupBox1.Controls.Add(this.label2);
+            this.groupBox1.ForeColor = System.Drawing.Color.White;
+            this.groupBox1.Location = new System.Drawing.Point(10, 40);
+            this.groupBox1.Name = "groupBox1";
+            this.groupBox1.Size = new System.Drawing.Size(1260, 55);
+            this.groupBox1.TabIndex = 0;
+            this.groupBox1.TabStop = false;
+            // 
+            // label3
+            // 
+            this.label3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
+            this.label3.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label3.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.label3.ForeColor = System.Drawing.Color.Black;
+            this.label3.Location = new System.Drawing.Point(588, 19);
+            this.label3.Name = "label3";
+            this.label3.Size = new System.Drawing.Size(120, 25);
+            this.label3.TabIndex = 4;
+            this.label3.Text = "è«‹ã€€æ±‚ã€€å…ˆ";
+            this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // label4
+            // 
+            this.label4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
+            this.label4.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label4.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.label4.ForeColor = System.Drawing.Color.Black;
+            this.label4.Location = new System.Drawing.Point(20, 19);
+            this.label4.Name = "label4";
+            this.label4.Size = new System.Drawing.Size(120, 25);
+            this.label4.TabIndex = 42;
+            this.label4.Text = "å–¶ã€€æ¥­ã€€æœŸ";
+            this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // numUDConstPro
+            // 
+            this.numUDConstPro.BackColor = System.Drawing.Color.White;
+            this.numUDConstPro.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.numUDConstPro.ForeColor = System.Drawing.Color.Black;
+            this.numUDConstPro.Location = new System.Drawing.Point(173, 20);
+            this.numUDConstPro.Name = "numUDConstPro";
+            this.numUDConstPro.ReadOnly = true;
+            this.numUDConstPro.Size = new System.Drawing.Size(80, 23);
+            this.numUDConstPro.TabIndex = 0;
+            this.numUDConstPro.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+            this.numUDConstPro.ValueChanged += new System.EventHandler(this.numUDConstPro_ValueChanged);
+            // 
+            // label5
+            // 
+            this.label5.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.label5.ForeColor = System.Drawing.Color.Black;
+            this.label5.Location = new System.Drawing.Point(253, 23);
+            this.label5.Name = "label5";
+            this.label5.Size = new System.Drawing.Size(25, 16);
+            this.label5.TabIndex = 39;
+            this.label5.Text = "æœŸ";
+            this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // label7
+            // 
+            this.label7.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.label7.ForeColor = System.Drawing.Color.Black;
+            this.label7.Location = new System.Drawing.Point(148, 23);
+            this.label7.Name = "label7";
+            this.label7.Size = new System.Drawing.Size(25, 16);
+            this.label7.TabIndex = 40;
+            this.label7.Text = "ç¬¬";
+            this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // cmbOrderer
+            // 
+            this.cmbOrderer.BackColor = System.Drawing.Color.White;
+            this.cmbOrderer.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+            this.cmbOrderer.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
+            this.cmbOrderer.FormattingEnabled = true;
+            this.cmbOrderer.Location = new System.Drawing.Point(716, 20);
+            this.cmbOrderer.Name = "cmbOrderer";
+            this.cmbOrderer.Size = new System.Drawing.Size(530, 23);
+            this.cmbOrderer.TabIndex = 2;
+            this.cmbOrderer.SelectedIndexChanged += new System.EventHandler(this.cmbOrderer_SelectedIndexChanged);
+            // 
+            // cmbReqMonth
+            // 
+            this.cmbReqMonth.BackColor = System.Drawing.Color.White;
+            this.cmbReqMonth.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+            this.cmbReqMonth.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
+            this.cmbReqMonth.FormattingEnabled = true;
+            this.cmbReqMonth.Location = new System.Drawing.Point(422, 20);
+            this.cmbReqMonth.Name = "cmbReqMonth";
+            this.cmbReqMonth.Size = new System.Drawing.Size(150, 23);
+            this.cmbReqMonth.TabIndex = 1;
+            this.cmbReqMonth.SelectedIndexChanged += new System.EventHandler(this.cmbReqMonth_SelectedIndexChanged);
+            // 
+            // label2
+            // 
+            this.label2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
+            this.label2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label2.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.label2.ForeColor = System.Drawing.Color.Black;
+            this.label2.Location = new System.Drawing.Point(294, 19);
+            this.label2.Name = "label2";
+            this.label2.Size = new System.Drawing.Size(120, 25);
+            this.label2.TabIndex = 4;
+            this.label2.Text = "è«‹ã€€æ±‚ã€€æœˆ";
+            this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // dgvEntry
+            // 
+            this.dgvEntry.AllowUserToAddRows = false;
+            this.dgvEntry.AllowUserToDeleteRows = false;
+            this.dgvEntry.AllowUserToResizeColumns = false;
+            this.dgvEntry.AllowUserToResizeRows = false;
+            dataGridViewCellStyle11.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
+            this.dgvEntry.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle11;
+            this.dgvEntry.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.dgvEntry.BackgroundColor = System.Drawing.Color.White;
+            this.dgvEntry.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle12.BackColor = System.Drawing.SystemColors.Control;
+            dataGridViewCellStyle12.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            dataGridViewCellStyle12.ForeColor = System.Drawing.SystemColors.WindowText;
+            dataGridViewCellStyle12.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+            dataGridViewCellStyle12.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvEntry.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle12;
+            this.dgvEntry.ColumnHeadersHeight = 24;
+            this.dgvEntry.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
+            this.dgvEntry.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
+            this.Column1,
+            this.Column2,
+            this.Column3,
+            this.Column4,
+            this.Column5,
+            this.Column10,
+            this.Column6,
+            this.Column7,
+            this.Column8,
+            this.Column9});
+            dataGridViewCellStyle20.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle20.BackColor = System.Drawing.SystemColors.Window;
+            dataGridViewCellStyle20.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            dataGridViewCellStyle20.ForeColor = System.Drawing.SystemColors.ControlText;
+            dataGridViewCellStyle20.SelectionBackColor = System.Drawing.Color.LightSeaGreen;
+            dataGridViewCellStyle20.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle20.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvEntry.DefaultCellStyle = dataGridViewCellStyle20;
+            this.dgvEntry.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter;
+            this.dgvEntry.EnableHeadersVisualStyles = false;
+            this.dgvEntry.Location = new System.Drawing.Point(10, 103);
+            this.dgvEntry.Name = "dgvEntry";
+            this.dgvEntry.RowHeadersVisible = false;
+            this.dgvEntry.RowHeadersWidth = 20;
+            this.dgvEntry.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
+            this.dgvEntry.RowTemplate.Height = 24;
+            this.dgvEntry.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
+            this.dgvEntry.Size = new System.Drawing.Size(1260, 508);
+            this.dgvEntry.TabIndex = 5;
+            this.dgvEntry.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvEntry_CellDoubleClick);
+            this.dgvEntry.SelectionChanged += new System.EventHandler(this.dgvEntry_SelectionChanged);
+            this.dgvEntry.MouseUp += new System.Windows.Forms.MouseEventHandler(this.dgvEntry_MouseUp);
+            // 
+            // Column1
+            // 
+            dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle13.Font = new System.Drawing.Font("Century", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            dataGridViewCellStyle13.ForeColor = System.Drawing.Color.Black;
+            this.Column1.DefaultCellStyle = dataGridViewCellStyle13;
+            this.Column1.HeaderText = "â„–";
+            this.Column1.Name = "Column1";
+            this.Column1.ReadOnly = true;
+            this.Column1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.Column1.Width = 50;
+            // 
+            // Column2
+            // 
+            dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle14.Font = new System.Drawing.Font("Century", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            dataGridViewCellStyle14.ForeColor = System.Drawing.Color.Black;
+            this.Column2.DefaultCellStyle = dataGridViewCellStyle14;
+            this.Column2.HeaderText = "è«‹æ±‚æœˆ";
+            this.Column2.Name = "Column2";
+            this.Column2.ReadOnly = true;
+            this.Column2.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.Column2.Width = 120;
+            // 
+            // Column3
+            // 
+            dataGridViewCellStyle15.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle15.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            dataGridViewCellStyle15.ForeColor = System.Drawing.Color.Black;
+            this.Column3.DefaultCellStyle = dataGridViewCellStyle15;
+            this.Column3.HeaderText = "è«‹æ±‚å…ˆå��ç§°";
+            this.Column3.Name = "Column3";
+            this.Column3.ReadOnly = true;
+            this.Column3.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.Column3.Width = 570;
+            // 
+            // Column4
+            // 
+            dataGridViewCellStyle16.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle16.Font = new System.Drawing.Font("Century", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            dataGridViewCellStyle16.ForeColor = System.Drawing.Color.Black;
+            this.Column4.DefaultCellStyle = dataGridViewCellStyle16;
+            this.Column4.HeaderText = "æœªè«‹æ±‚";
+            this.Column4.Name = "Column4";
+            this.Column4.ReadOnly = true;
+            this.Column4.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // Column5
+            // 
+            dataGridViewCellStyle17.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle17.Font = new System.Drawing.Font("Century", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            dataGridViewCellStyle17.ForeColor = System.Drawing.Color.Black;
+            this.Column5.DefaultCellStyle = dataGridViewCellStyle17;
+            this.Column5.HeaderText = "è«‹æ±‚æ¸ˆ";
+            this.Column5.Name = "Column5";
+            this.Column5.ReadOnly = true;
+            this.Column5.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // Column10
+            // 
+            dataGridViewCellStyle18.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle18.Font = new System.Drawing.Font("Century", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            dataGridViewCellStyle18.ForeColor = System.Drawing.Color.Black;
+            this.Column10.DefaultCellStyle = dataGridViewCellStyle18;
+            this.Column10.HeaderText = "æœªè«‹æ±‚é‡‘é¡�";
+            this.Column10.Name = "Column10";
+            this.Column10.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.Column10.Width = 150;
+            // 
+            // Column6
+            // 
+            dataGridViewCellStyle19.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle19.Font = new System.Drawing.Font("Century", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            dataGridViewCellStyle19.ForeColor = System.Drawing.Color.Black;
+            this.Column6.DefaultCellStyle = dataGridViewCellStyle19;
+            this.Column6.HeaderText = "è«‹æ±‚æ¸ˆé‡‘é¡�";
+            this.Column6.Name = "Column6";
+            this.Column6.ReadOnly = true;
+            this.Column6.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.Column6.Width = 150;
+            // 
+            // Column7
+            // 
+            this.Column7.HeaderText = "è«‹æ±‚æœˆ";
+            this.Column7.Name = "Column7";
+            this.Column7.ReadOnly = true;
+            this.Column7.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.Column7.Visible = false;
+            // 
+            // Column8
+            // 
+            this.Column8.HeaderText = "ç™ºæ³¨åŒºåˆ†";
+            this.Column8.Name = "Column8";
+            this.Column8.ReadOnly = true;
+            this.Column8.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.Column8.Visible = false;
+            // 
+            // Column9
+            // 
+            this.Column9.HeaderText = "ç™ºæ³¨è€…ã‚³ãƒ¼ãƒ‰";
+            this.Column9.Name = "Column9";
+            this.Column9.ReadOnly = true;
+            this.Column9.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.Column9.Visible = false;
+            // 
+            // lblProcessTitil
+            // 
+            this.lblProcessTitil.BackColor = System.Drawing.Color.White;
+            this.lblProcessTitil.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.lblProcessTitil.Location = new System.Drawing.Point(10, 10);
+            this.lblProcessTitil.Name = "lblProcessTitil";
+            this.lblProcessTitil.Size = new System.Drawing.Size(300, 20);
+            this.lblProcessTitil.TabIndex = 32;
+            this.lblProcessTitil.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // FrmReqEntryList
+            // 
+            this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
+            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
+            this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
+            this.BackColor = System.Drawing.Color.Black;
+            this.ClientSize = new System.Drawing.Size(1280, 657);
+            this.Controls.Add(this.lblProcessTitil);
+            this.Controls.Add(this.lblCellTotal);
+            this.Controls.Add(this.groupBox1);
+            this.Controls.Add(this.label1);
+            this.Controls.Add(this.btnDataUpDate);
+            this.Controls.Add(this.btnEnd);
+            this.Controls.Add(this.dgvEntry);
+            this.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
+            this.KeyPreview = true;
+            this.MinimizeBox = false;
+            this.Name = "FrmReqEntryList";
+            this.ShowIcon = false;
+            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmReqEntryList_FormClosing);
+            this.Load += new System.EventHandler(this.FrmReqEntryList_Load);
+            this.SizeChanged += new System.EventHandler(this.FrmReqEntryList_SizeChanged);
+            this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.FrmConstructionBaseInfoList_KeyDown);
+            this.groupBox1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.numUDConstPro)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dgvEntry)).EndInit();
+            this.ResumeLayout(false);
+            this.PerformLayout();
+
+        }
+
+        #endregion
+
+        private System.Windows.Forms.Button btnEnd;
+        private System.Windows.Forms.Label label1;
+        private ProcessManagement.Forms.CustomControls.GroupBoxEx groupBox1;
+        private System.Windows.Forms.Label label2;
+        private System.Windows.Forms.ComboBox cmbReqMonth;
+        private ProcessManagement.Forms.CustomControls.DataGridViewEX dgvEntry;
+        private System.Windows.Forms.ComboBox cmbOrderer;
+        private System.Windows.Forms.Label label3;
+        private System.Windows.Forms.Button btnDataUpDate;
+        private System.Windows.Forms.Label label4;
+        private System.Windows.Forms.NumericUpDown numUDConstPro;
+        private System.Windows.Forms.Label label5;
+        private System.Windows.Forms.Label label7;
+        private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
+        private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
+        private System.Windows.Forms.DataGridViewTextBoxColumn Column3;
+        private System.Windows.Forms.DataGridViewTextBoxColumn Column4;
+        private System.Windows.Forms.DataGridViewTextBoxColumn Column5;
+        private System.Windows.Forms.DataGridViewTextBoxColumn Column10;
+        private System.Windows.Forms.DataGridViewTextBoxColumn Column6;
+        private System.Windows.Forms.DataGridViewTextBoxColumn Column7;
+        private System.Windows.Forms.DataGridViewTextBoxColumn Column8;
+        private System.Windows.Forms.DataGridViewTextBoxColumn Column9;
+        private System.Windows.Forms.Label lblCellTotal;
+        private System.Windows.Forms.Label lblProcessTitil;
+    }
+}
\ No newline at end of file
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntryList/FrmReqEntryList.resx
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntryList/FrmReqEntryList.resx	(nonexistent)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntryList/FrmReqEntryList.resx	(revision 329)
@@ -0,0 +1,153 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" use="required" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <metadata name="lblCellTotal.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="Column1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="Column2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="Column3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="Column4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="Column5.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="Column10.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="Column6.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="Column7.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="Column8.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="Column9.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+</root>
\ No newline at end of file
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntryList/FrmReqEntryListAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntryList/FrmReqEntryListAuxiliary.cs	(nonexistent)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntryList/FrmReqEntryListAuxiliary.cs	(revision 329)
@@ -0,0 +1,785 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+using System.Collections;
+using System.Diagnostics;
+using System.Threading;
+
+using log4net;
+using log4net.Appender;
+using log4net.Repository.Hierarchy;
+
+using ProcessManagement.Common;
+using ProcessManagement.DB.IOAccess;
+using ProcessManagement.DataModel;
+using ProcessManagement.DB.Core;
+using ProcessManagement.Forms.CustomControls;
+using ProcessManagement.Forms.ControlsAction;
+using ProcessManagement.Forms.SubForms;
+
+namespace ProcessManagement.Forms.DataEntry
+{
+    partial class FrmReqEntryList
+    {
+        #region ’è�”
+
+        #region Žæ“¾—ñ’è‹`
+        /// <summary>
+        /// Žæ“¾—ñ’è‹`
+        /// </summary>
+        private enum GetData
+        {
+            RequestMonth
+            , OrderersDivision
+            , OrderersCode
+            , NotCVal
+            , OnCVal
+            , TotalVal
+            , NotCreate
+            , OnCreate
+            , PeriodYear
+            , OrderersName1
+            , OrderersName2
+            , OrderDisplayOrder
+            , DivisionDisplayOrder
+            , DivisionNameString
+        }
+        #endregion
+
+        #endregion
+
+        #region •Ï�”
+        #endregion
+
+        #region ƒvƒ�ƒpƒeƒB
+        #endregion
+
+        #region ‘Î�Û”N“x�‰ŠúƒZƒbƒg
+        /// <summary>
+        /// ‘Î�Û”N“x�‰ŠúƒZƒbƒg
+        /// </summary>
+        private void SetInitnumUDConstPro()
+        {
+            numUDConstPro.ValueChanged -= new EventHandler(numUDConstPro_ValueChanged);
+            try
+            {
+                // ŒŸ�õ”N“xƒZƒbƒg
+                // ƒf�[ƒ^‚É‚ ‚éŽ–‹ÆŠú‚ÆŒ»�Ý‚ÌŽ–‹ÆƒZƒbƒg
+                int minval = 0;
+                int maxval = 0;
+                CommonMotions.GetPeriodYear(ref minval, ref maxval);
+                numUDConstPro.Minimum = minval;
+                numUDConstPro.Maximum = maxval;
+                numUDConstPro.Value = CommonMotions.SystemMasterData.BusinessPeriod;
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+            finally
+            {
+                numUDConstPro.ValueChanged += new EventHandler(numUDConstPro_ValueChanged);
+            }
+        }
+        #endregion
+
+        #region �¿‹�ŒŽƒRƒ“ƒ{ƒ{ƒbƒNƒXƒZƒbƒg
+        /// <summary>
+        /// �¿‹�ŒŽƒRƒ“ƒ{ƒ{ƒbƒNƒXƒZƒbƒg
+        /// </summary>
+        private void SetcmbReqMonth()
+        {
+            IORequestHead headDB = new IORequestHead();
+            cmbReqMonth.SelectedIndexChanged -= new EventHandler(cmbReqMonth_SelectedIndexChanged);
+            try
+            {
+
+                cmbReqMonth.DataSource = null;
+                cmbReqMonth.Items.Clear();
+                cmbReqMonth.Text = "";
+
+                StringBuilder strSQL = new StringBuilder();
+                // �¿‹�ƒwƒbƒ_�[‚ðŒŸ�õ‚·‚é
+                strSQL.Append("Select");
+                strSQL.Append(" ReqHead.REQUESTMONTH");
+                strSQL.Append(" From");
+                strSQL.Append(" requesthead as ReqHead");
+                strSQL.Append(" Inner Join constructionbaseinfo as Base");
+                strSQL.Append("    On Base.ConstructionCode = ReqHead.REQCONSTRUCTIONCODE");
+                strSQL.Append(" Where");
+                strSQL.AppendFormat(" Base.ConstructionPeriod = {0}", numUDConstPro.Value);
+                strSQL.AppendFormat(" AND Base.BILLINGSPLITFLG = {0}", m_ExecuteSubFlg);
+                strSQL.Append(" Group by ReqHead.REQUESTMONTH");
+                strSQL.Append(" Order by ReqHead.REQUESTMONTH DESC");
+
+                // �¿‹�ƒwƒbƒ_�[“Ç�ž
+                ArrayList arList = new ArrayList();
+                if (!headDB.ExecuteReader(strSQL.ToString(), ref arList)) return;
+
+                List<KeyValuePair<int, string>> DataList = new List<KeyValuePair<int, string>>();
+                DataList.Add(new KeyValuePair<int, string>(0, ""));
+
+                foreach (object[] work in arList)
+                {
+                    int wrkObjVal = CommonMotions.cnvInt(work[0]);
+                    string strDispVal = string.Format("{0}”N{1}ŒŽ", (wrkObjVal / 100), (wrkObjVal % 100).ToString("00"));
+                    KeyValuePair<int, string> keyval = new KeyValuePair<int, string>(wrkObjVal, strDispVal);
+
+                    DataList.Add(keyval);
+                }
+
+                // ƒRƒ“ƒ{ƒ{ƒbƒNƒX�‰Šú•\Ž¦
+                ComboBoxAction.InitDataSetCombBox(cmbReqMonth, DataList);
+
+                return;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+            finally
+            {
+                headDB.close(); headDB = null;
+                cmbReqMonth.SelectedIndexChanged += new EventHandler(cmbReqMonth_SelectedIndexChanged);
+            }
+        }
+        #endregion
+
+        #region ”­’�ŽÒƒRƒ“ƒ{ƒ{ƒbƒNƒXƒZƒbƒg
+        /// <summary>
+        /// ”­’�ŽÒƒRƒ“ƒ{ƒ{ƒbƒNƒXƒZƒbƒg
+        /// </summary>
+        private void SetcmbOrderer()
+        {
+            IORequestHead headDB = new IORequestHead();
+            cmbOrderer.SelectedIndexChanged -= new EventHandler(cmbOrderer_SelectedIndexChanged);
+            try
+            {
+
+                cmbOrderer.DataSource = null;
+                cmbOrderer.Items.Clear();
+                cmbOrderer.Text = "";
+
+                StringBuilder strSQL = new StringBuilder();
+                // �¿‹�ƒwƒbƒ_�[‚ðŒŸ�õ‚·‚é
+                strSQL.Append("Select");
+                strSQL.Append(" ReqHead.ORDERERSDIVISION");
+                strSQL.Append(", DivM.NameString");
+                strSQL.Append(" From");
+                strSQL.Append(" requesthead as ReqHead");
+                strSQL.Append(" Inner Join constructionbaseinfo as Base");
+                strSQL.Append(" On Base.ConstructionCode = ReqHead.REQCONSTRUCTIONCODE");
+                strSQL.Append(" Left Join divisionmaster as DivM");
+                strSQL.AppendFormat(" On DivM.DivisionCode = {0}", (int)DivisionMaster.DivisionMasterCodeDefine.OrderDivision);
+                strSQL.Append("       And DivM.NameCode = ReqHead.ORDERERSDIVISION");
+                strSQL.Append(" Where");
+                strSQL.AppendFormat(" Base.ConstructionPeriod = {0}", numUDConstPro.Value);
+                strSQL.AppendFormat(" AND Base.BILLINGSPLITFLG = {0}", m_ExecuteSubFlg);
+
+                if (CommonMotions.cnvInt(cmbReqMonth.SelectedValue) > 0)
+                    strSQL.AppendFormat(" And ReqHead.REQUESTMONTH = {0}", cmbReqMonth.SelectedValue);
+
+                strSQL.Append(" Group by ReqHead.ORDERERSDIVISION");
+                strSQL.Append(" Order by DivM.DisplayOrder");
+                
+                // �¿‹�ƒwƒbƒ_�[“Ç�ž
+                ArrayList arList = new ArrayList();
+                if (!headDB.ExecuteReader(strSQL.ToString(), ref arList)) return;
+
+                List<KeyValuePair<int, string>> DataList = new List<KeyValuePair<int, string>>();
+                DataList.Add(new KeyValuePair<int, string>(0, ""));
+
+                foreach (object[] work in arList)
+                {
+                    int wrkObjVal = CommonMotions.cnvInt(work[0]);
+                    string strDispVal = CommonMotions.cnvString(work[1]);
+                    KeyValuePair<int, string> keyval = new KeyValuePair<int, string>(wrkObjVal, strDispVal);
+
+                    DataList.Add(keyval);
+                }
+
+                // ƒRƒ“ƒ{ƒ{ƒbƒNƒX�‰Šú•\Ž¦
+                ComboBoxAction.InitDataSetCombBox(cmbOrderer, DataList);
+
+                return;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+            finally
+            {
+                headDB.close(); headDB = null;
+                cmbOrderer.SelectedIndexChanged += new EventHandler(cmbOrderer_SelectedIndexChanged);
+            }
+        }
+        #endregion
+
+        #region ŒŸ�õSQL‚ÌƒZƒLƒ…ƒŠƒeƒB”»’è•”•ª‚ð�ì�¬‚·‚é
+        /// <summary>
+        /// ŒŸ�õSQL‚ÌƒZƒLƒ…ƒŠƒeƒB”»’è•”•ª‚ð�ì�¬‚·‚é
+        /// </summary>
+        /// <param name="strSQL"></param>
+        private void CreateSecuritySQL(ref StringBuilder strSQL)
+        {
+            try
+            {
+                // ƒL�[’lŽæ“¾
+                int AllPath = (int)CommonDefine.SecurityRangePos.AllPath;           // ‘S•”��
+                int Multiple = (int)CommonDefine.SecurityRangePos.Multiple;         // •¡�”•”��
+                int Only = (int)CommonDefine.SecurityRangePos.Only;                 // Ž©•”��‚Ì‚Ý
+                int None = (int)CommonDefine.SecurityRangePos.None;                 // Ž©’S“–ŽÒ‚Ì‚Ý
+
+                int iStatus = CommonDefine.ProjectsStatus.First(x => x.Value.Equals("ˆË—ŠŽó‚¯’†")).Key;
+                int iStatus2 = CommonDefine.ProjectsStatus.First(x => x.Value.Equals("•”��ˆøŒp")).Key;
+
+                // ƒf�[ƒ^ƒAƒNƒZƒX‚ÉŒ ŒÀ‚É‚æ‚è�§ŒÀ‚ª‚ ‚é
+                if (CommonMotions.LoginUserData.PersonCode == CommonDefine.AdminCode
+                || CommonMotions.LoginUserSecurity.SecRange == CommonDefine.SecurityRangeList[AllPath].Key)
+                {
+                    // ‚·‚×‚Ä‘Î�Û�i�§ŒÀSQL–³�j
+                }
+                else if (CommonMotions.LoginUserSecurity.SecRange == CommonDefine.SecurityRangeList[Multiple].Key
+                        || CommonMotions.LoginUserSecurity.SecRange == CommonDefine.SecurityRangeList[Only].Key)
+                {
+                    // ˆê•”�§ŒÀ—L
+                    // ‹@–§ŠÇ—�ŽÒ�iŽ©•”��‚Ì‚Ý�j
+
+                    strSQL.Append(" And (A.SalesPersonCode IN (Select A1.PersonCode From PersonInChargeMaster A1");
+                    strSQL.AppendFormat(" Where A1.DepartmentCode IN (SELECT A2.DEPARTMENTCODE FROM PERSONDEPARTMENTMASTER A2 WHERE A2.PERSONCODE = {0}))", CommonMotions.LoginUserData.PersonCode);
+
+                    strSQL.AppendFormat(" Or (A.ConstructionStatusFlg >= {0}", iStatus);
+
+                    strSQL.Append(" And (A.ConstructionPersonCode IN (Select A3.PersonCode From PersonInChargeMaster A3");
+                    strSQL.AppendFormat(" Where A3.DepartmentCode IN (SELECT A4.DEPARTMENTCODE FROM PERSONDEPARTMENTMASTER A4 WHERE A4.PERSONCODE = {0}))", CommonMotions.LoginUserData.PersonCode);
+
+                    strSQL.Append(" Or A.CONSTRSUBPERSONCODE IN (Select A5.PersonCode From PersonInChargeMaster A5");
+                    strSQL.AppendFormat(" Where A5.DepartmentCode IN (SELECT A6.DEPARTMENTCODE FROM PERSONDEPARTMENTMASTER A6 WHERE A6.PERSONCODE = {0}))", CommonMotions.LoginUserData.PersonCode);
+
+                    strSQL.Append(" Or A.ConstructionInstructor IN (Select A7.PersonCode From PersonInChargeMaster A7");
+                    strSQL.AppendFormat(" Where A7.DepartmentCode IN (SELECT A8.DEPARTMENTCODE FROM PERSONDEPARTMENTMASTER A8 WHERE A8.PERSONCODE = {0}))))", CommonMotions.LoginUserData.PersonCode);
+
+                    strSQL.AppendFormat(" Or (A.ConstructionStatusFlg >= {0} And A.ConstructionPersonCode = 0)", iStatus);          // �Š‘®’·‚ÍŒ©�Ï’ñ�oŒã‚Å�HŽ–’S“–ŽÒ‚ª“ü‚Á‚Ä‚¢‚È‚¢�ê�‡•\Ž¦
+                    strSQL.AppendFormat(" Or (A.ConstructionStatusFlg = {0}", iStatus2);                                            // •”��ˆøŒpŽž‚ÍˆøŒp•”��‚Ì‚à‚Ì‚ÍŒ©‚¦‚é
+                    strSQL.AppendFormat(" And A.TransferConstruction = {0}))", CommonMotions.LoginUserData.DepartmentCode);
+                }
+                else if (CommonMotions.LoginUserSecurity.SecRange == CommonDefine.SecurityRangeList[None].Key)
+                {
+                    // ˆê”ÊŽg—pŽÒ
+                    strSQL.AppendFormat(" And (A.SalesPersonCode = {0}", CommonMotions.LoginUserData.PersonCode);
+
+                    strSQL.AppendFormat(" Or (A.ConstructionStatusFlg >= {0}", iStatus);
+
+                    strSQL.AppendFormat(" And (A.ConstructionPersonCode = {0}", CommonMotions.LoginUserData.PersonCode);
+
+                    strSQL.AppendFormat(" Or A.CONSTRSUBPERSONCODE = {0}", CommonMotions.LoginUserData.PersonCode);
+
+                    strSQL.AppendFormat(" Or A.ConstructionInstructor = {0})))", CommonMotions.LoginUserData.PersonCode);
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", ex.Message, strSQL);
+            }
+        }
+        #endregion
+
+        #region �¿‹�ˆê——SQL�ì�¬
+        /// <summary>
+        /// �¿‹�ˆê——SQL�ì�¬
+        /// </summary>
+        /// <param name="strSQL"></param>
+        private void CreateInitSQL(ref StringBuilder strSQL)
+        {
+            try
+            {
+                strSQL.Clear();
+                strSQL.Append("Select");
+                strSQL.Append(" ReqHead.REQUESTMONTH");
+                strSQL.Append(", ReqHead.ORDERERSDIVISION");
+                strSQL.Append(", ReqHead.ORDERERSCODE");
+                strSQL.Append(", SUM(CASE WHEN ReqHead.INVOICENO < 1 THEN ReqHead.REQUESTAMOUNT ELSE 0 END) AS ReqA");
+                strSQL.Append(", SUM(CASE WHEN ReqHead.INVOICENO > 0 THEN ReqHead.REQUESTAMOUNT ELSE 0 END) AS ReqB");
+                strSQL.Append(", sum(ReqHead.REQUESTAMOUNT) as Val");
+                strSQL.Append(", count(INVOICENO < 1 or null) As CntA");
+                strSQL.Append(", count(INVOICENO > 0 or null) As CntB");
+                strSQL.Append(", Base.ConstructionPeriod");
+                strSQL.Append(", OrderM.OrderersName1");
+                strSQL.Append(", OrderM.OrderersName2");
+                strSQL.Append(", OrderM.DisplayOrder");
+                strSQL.Append(", DivMas.DisplayOrder");
+                strSQL.Append(" From");
+                strSQL.Append(" requesthead as ReqHead");
+                strSQL.Append(" Inner Join constructionbaseinfo as Base");
+                strSQL.Append("    On Base.ConstructionCode = ReqHead.REQCONSTRUCTIONCODE");
+                strSQL.Append(" Inner Join orderersmaster as OrderM");
+                strSQL.Append("    On OrderM.OrderCotegory = ReqHead.ORDERERSDIVISION");
+                strSQL.Append("    And OrderM.OrderersCode = ReqHead.ORDERERSCODE");
+                strSQL.Append(" Left Join DivisionMaster as DivMas");
+                strSQL.AppendFormat(" On DivMas.DivisionCode = {0}", (int)DivisionMaster.DivisionMasterCodeDefine.OrderDivision);
+                strSQL.Append("       And DivMas.NameCode = ReqHead.ORDERERSCODE");
+                strSQL.Append(" Where");
+                strSQL.AppendFormat(" Base.ConstructionPeriod = {0}", numUDConstPro.Value);
+                strSQL.AppendFormat(" AND Base.BILLINGSPLITFLG = {0}", m_ExecuteSubFlg);
+
+                if (cmbReqMonth.Text.Length > 0)
+                {
+                    strSQL.AppendFormat(" And ReqHead.REQUESTMONTH = {0}", cmbReqMonth.SelectedValue);
+                }
+                if (cmbOrderer.Text.Length > 0)
+                {
+                    strSQL.AppendFormat(" And  ReqHead.ORDERERSDIVISION = {0}", cmbOrderer.SelectedValue);
+                }
+
+                strSQL.Append(" Group by");
+                strSQL.Append(" ReqHead.REQUESTMONTH");
+                strSQL.Append(", ReqHead.ORDERERSDIVISION");
+                strSQL.Append(", ReqHead.ORDERERSCODE");
+                strSQL.Append(" Order by");
+                strSQL.Append(" ReqHead.REQUESTMONTH DESC");
+                strSQL.Append(", DivMas.DisplayOrder ASC");
+                strSQL.Append(", OrderM.DisplayOrder ASC");
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region ƒOƒŠƒbƒh‚Öƒf�[ƒ^‚ðƒZƒbƒg‚·‚é
+        /// <summary>
+        /// ƒOƒŠƒbƒh‚Öƒf�[ƒ^‚ðƒZƒbƒg‚·‚é
+        /// </summary>
+        /// <param name="arData"></param>
+        private void SetToGridData(ArrayList arData)
+        {
+            try
+            {
+                DataGridView dgv = dgvEntry;
+
+                // ƒf�[ƒ^•\Ž¦
+                int ino = 1;
+                int nBreakMonth = 0;
+                foreach (object[] objwrk in arData)
+                {
+                    int nReqMonth = CommonMotions.cnvInt(objwrk[(int)GetData.RequestMonth]);
+                    string strOrder = string.Format("{0} {1}", CommonMotions.cnvString(objwrk[(int)GetData.OrderersName1])
+                                                                , CommonMotions.cnvString(objwrk[(int)GetData.OrderersName2]));
+                    int nNotCnt= CommonMotions.cnvInt(objwrk[(int)GetData.NotCreate]);
+                    int nOnCnt = CommonMotions.cnvInt(objwrk[(int)GetData.OnCreate]);
+                    long lNotVal = CommonMotions.cnvLong(objwrk[(int)GetData.NotCVal]);
+                    long lOnVal = CommonMotions.cnvLong(objwrk[(int)GetData.OnCVal]);
+                    int nOrderDiv = CommonMotions.cnvInt(objwrk[(int)GetData.OrderersDivision]);
+                    int nOrderCode = CommonMotions.cnvInt(objwrk[(int)GetData.OrderersCode]);
+
+                    // ”NŒŽ‚ª•Ï‚í‚ê‚Î1�sŠJ‚¯‚é
+                    if (nBreakMonth != nReqMonth)
+                    {
+                        if (ino > 1) dgv.Rows.Add(1);
+                         nBreakMonth = nReqMonth;
+                    }
+
+                    dgv.Rows.Add((ino++)
+                                , string.Format("{0}”N{1}ŒŽ", (nReqMonth / 100), (nReqMonth % 100).ToString())
+                                , strOrder
+                                , nNotCnt.ToString("#,0")
+                                , nOnCnt.ToString("#,0")
+                                , lNotVal.ToString("#,0")
+                                , lOnVal.ToString("#,0")
+                                , nReqMonth
+                                , nOrderDiv
+                                , nOrderCode
+                        );
+
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region ƒf�[ƒ^•\Ž¦�ˆ—�
+        /// <summary>
+        /// ˆê——ƒf�[ƒ^•\Ž¦�ˆ—�
+        /// </summary>
+        private void DataDisplay()
+        {
+            IOConstructionBaseInfo cbiDB = new IOConstructionBaseInfo();
+            try
+            {
+                foreach (DataGridViewColumn wrkCol in dgvEntry.Columns) wrkCol.SortMode = DataGridViewColumnSortMode.NotSortable;
+
+                dgvEntry.Rows.Clear();
+                StringBuilder strSQL = new StringBuilder();
+                // SQL�ì�¬
+                CreateInitSQL(ref strSQL);
+                ArrayList arData = new ArrayList();
+                // �HŽ–Šî–{�î•ñŽæ“¾
+                if (cbiDB.ExecuteReader(strSQL.ToString(), ref arData))
+                {
+                    // ƒOƒŠƒbƒh‚ÖƒZƒbƒg‚Æ‚·‚é
+                    SetToGridData(arData);
+                }
+
+                // ƒf�[ƒ^‚ª‘½‚­‚È‚ê‚Îƒ\�[ƒg‚Å‚«‚é
+                if (CommonDefine.s_MaxInitLineCount < arData.Count)
+                {
+                    foreach (DataGridViewColumn wrkCol in dgvEntry.Columns)
+                        wrkCol.SortMode = DataGridViewColumnSortMode.Automatic;
+                }
+                else
+                {
+                    // Žb’è‚Åƒ\�[ƒg‚ð“ü‚ê‚é
+                    foreach (DataGridViewColumn wrkCol in dgvEntry.Columns)
+                        wrkCol.SortMode = DataGridViewColumnSortMode.Automatic;
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+            finally
+            {
+                cbiDB.close(); cbiDB = null;
+                if (CommonDefine.s_MaxInitLineCount > dgvEntry.RowCount)
+                    dgvEntry.RowCount += (CommonDefine.s_MaxInitLineCount - dgvEntry.RowCount);
+            }
+        }
+        #endregion
+
+        #region �‰ŠúŽžƒf�[ƒ^Žæ“¾
+        /// <summary>
+        /// �‰ŠúŽžƒf�[ƒ^Žæ“¾
+        /// </summary>
+        private void InitDataLoad()
+        {
+            try
+            {
+                DataGridView dgv = dgvEntry;
+
+                int NowPoint = ClsExcute.GetNowProcessPoint();
+
+                string strSubTitle = string.Empty;
+                switch (m_ExecuteSubFlg)
+                {
+                    case (int)ConstructionBaseInfo.BillingSplitFlgDef.SplitBilling:
+                        strSubTitle = "�i�o—ˆ�‚�j";
+                        break;
+                    case (int)ConstructionBaseInfo.BillingSplitFlgDef.AllOnBilling:
+                        strSubTitle = "�iŠ®—¹Œã�j";
+                        break;
+                }
+                // �ˆ—�–¼�Ì•\Ž¦
+                lblProcessTitil.Text = string.Format("{0}{1}", ClsExcute.ProcessExecuteName[m_ExecuteFlg].Replace("�|", ""), strSubTitle);
+
+                // ƒOƒŠƒbƒh‚Ì�s‚ð0‚É–ß‚·
+                dgv.Rows.Clear();
+
+                // ƒf�[ƒ^•\Ž¦
+                DataDisplay();
+
+                // •\Ž¦�æ“ª�s
+                if (ClsExcute.ProcControlPara[NowPoint].IntSaveParameter.Count > 3)
+                {
+                    dgv.FirstDisplayedScrollingRowIndex = ClsExcute.ProcControlPara[NowPoint].IntSaveParameter[2];
+
+                    // Œ»�Ý“ª�s
+                    dgv.Rows[ClsExcute.ProcControlPara[NowPoint].IntSaveParameter[3]].Selected = true;
+                }
+                // ƒ\�[ƒg�ó‘Ô
+                if (ClsExcute.ProcControlPara[NowPoint].IntSaveParameter.Count > 4)
+                {
+                    // ƒJƒ‰ƒ€Žæ“¾
+                    DataGridViewColumn wrksortcolumn = dgv.Columns[ClsExcute.ProcControlPara[NowPoint].IntSaveParameter[4]];
+                    // ƒ\�[ƒgƒI�[ƒ_�[Žæ“¾
+                    ListSortDirection sortDirection = ((SortOrder)ClsExcute.ProcControlPara[NowPoint].IntSaveParameter[5]) == SortOrder.Ascending ?
+                                                                        ListSortDirection.Ascending : ListSortDirection.Descending;
+                    dgv.Sort(wrksortcolumn, sortDirection);
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region �‰Šú•\Ž¦‚ÌƒXƒ^ƒCƒ‹‚ð•Ï�X
+        /// <summary>
+        /// �‰Šú•\Ž¦‚ÌƒXƒ^ƒCƒ‹‚ð•Ï�X‚·‚é
+        /// </summary>
+        private void InitDisplayStyle()
+        {
+            try
+            {
+                // ƒtƒH�[ƒ€ƒTƒCƒYŽæ“¾
+                m_FormWidthSize = this.Width;
+
+                DataGridView dgv = dgvEntry;
+                // ƒOƒŠƒbƒh‚Ì�î•ñ‚ðŽæ“¾‚·‚é
+                m_GridWidthSize = dgv.Width;
+
+                int CellCount = dgv.ColumnCount;
+                m_CellSize = new int[CellCount];
+                foreach (DataGridViewColumn col in dgv.Columns)
+                {
+                    if (col.Visible)
+                        m_CellSize[col.Index] = col.Width;
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region ‰æ–ÊƒTƒCƒY•Ï�XŽž‚ÌƒZƒ‹ƒTƒCƒY•Ï�X
+        /// <summary>
+        /// ‰æ–ÊƒTƒCƒY•Ï�XŽž‚ÌƒZƒ‹ƒTƒCƒY•Ï�X
+        /// </summary>
+        private void CellSizeChangesWhenChangingScreenSize(bool bNormal)
+        {
+            try
+            {
+                DataGridView dgv = dgvEntry;
+                int idifference = 0;
+                // �Å‘å‰»‚Ì�ê�‡
+                if (!bNormal)
+                {
+                    // ƒJƒ‰ƒ€‚ÌƒTƒCƒY‚ð‹�‚ß‚é
+                    int ColumnCount = 0;
+                    int TotalWidth = 0;
+                    int NotVisibleSize = 0;
+                    for (int i = 0; i < m_CellSize.Length; i++)
+                    {
+                        TotalWidth += m_CellSize[i];
+                        if (dgv.Columns[i].Visible)
+                        {
+                            ColumnCount++;
+                        }
+                        else
+                        {
+                            NotVisibleSize += m_CellSize[i];
+                        }
+                    }
+
+                    // ‘å‚«‚­‚È‚Á‚½ƒTƒCƒY
+                    int formdiff = (dgv.Width - (m_GridWidthSize - NotVisibleSize));
+
+                    idifference = formdiff / ColumnCount;
+                }
+
+                for (int i = 0; i < dgv.ColumnCount; i++)
+                {
+                    DataGridViewColumn wrkCol = dgv.Columns[i];
+                    wrkCol.Width = m_CellSize[i] + idifference;
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region ƒfƒtƒHƒ‹ƒg‚ÌŠúŽñ“ú�EŠú––“ú‚ð‹�‚ß‚é
+        /// <summary>
+        /// ƒfƒtƒHƒ‹ƒg‚ÌŠúŽñ“ú�EŠú––“ú‚ð‹�‚ß‚é
+        /// </summary>
+        /// <param name="dtStart"></param>
+        /// <param name="dtEnd"></param>
+        private void CreateDefaultStartAndEndDate(ref DateTime dtStart, ref DateTime dtEnd)
+        {
+            try
+            {
+                // “–ŠúŠúŽñ”NŒŽ“ú‚ðŽæ“¾
+                int iYear = 0;
+                int month = 0;
+                int day = 0;
+                bool bPeriod = false;
+                if (CommonMotions.SystemMasterData.ConstructionNoBase == (int)SystemMaster.ConstrNoBaseDef.BusinessPeriod)
+                {   // ‰c‹ÆŠú
+                    iYear = CommonMotions.PeriodCountToYear(CommonMotions.cnvInt(numUDConstPro.Value));
+                    bPeriod = true;
+                }
+                else
+                {   // �HŽ–”N“x
+                    iYear = CommonMotions.SystemMasterData.ConstrYear;
+                }
+                CommonMotions.GetNowBeginMonthDay(bPeriod, ref month, ref day);
+                dtStart = new DateTime(iYear, month, day);
+                dtEnd = dtStart.AddYears(1).AddDays(-1);     // �I—¹‚Í�{1”N�|1“ú
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region �s�F�Ý’è
+        /// <summary>
+        /// �s‚ð‘I‘ð�F‚É‚·‚é
+        /// </summary>
+        /// <param name="CurrentRow"></param>
+        private void SetRowColor(DataGridViewRow CurRow, Color BackColor, Color ForeColor)
+        {
+            try
+            {
+                DataGridView dgv = dgvEntry;
+
+                // �s‚Ì�F‚ð•Ï‚¦‚é
+                for (int i = 0; i < dgv.ColumnCount; i++)
+                {
+                    CurRow.Cells[i].Style.BackColor = BackColor;
+                    CurRow.Cells[i].Style.ForeColor = ForeColor;
+                }
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+
+        }
+        #endregion
+
+        #region �s‘I‘ð�F
+        /// <summary>
+        /// �s‚ð‘I‘ð�F‚É‚·‚é
+        /// </summary>
+        /// <param name="CurrentRow"></param>
+        private void SelectRowChangeColor(int CurrentRow)
+        {
+            try
+            {
+                DataGridView dgv = dgvEntry;
+                DataGridViewRow CurRow = dgv.Rows[CurrentRow];
+
+                // �s‚Ì�F‚ð•Ï‚¦‚é
+                SetRowColor(CurRow, s_RowSelectBackColor, s_RowSelectForeColor);
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+
+        }
+        #endregion
+
+        #region �sƒfƒtƒHƒ‹ƒg�F
+        /// <summary>
+        /// �s‚ðƒfƒtƒHƒ‹ƒg�F‚É‚·‚é
+        /// </summary>
+        /// <param name="BeforeGridRow"></param>
+        private void DefaultRowChangeColor(int CurrentRow)
+        {
+            try
+            {
+                DataGridView dgv = dgvEntry;
+                if (CurrentRow >= dgv.RowCount) return;
+                DataGridViewRow CurRow = dgv.Rows[CurrentRow];
+
+                Color SetBackColor = Color.White;
+                Color SetForeColor = Color.Black;
+
+                if ((CurrentRow % 2) != 0)
+                {
+                    SetBackColor = dgv.AlternatingRowsDefaultCellStyle.BackColor;
+                    SetForeColor = dgv.AlternatingRowsDefaultCellStyle.ForeColor;
+                }
+                else
+                {
+                    SetBackColor = dgv.RowsDefaultCellStyle.BackColor;
+                    SetForeColor = dgv.RowsDefaultCellStyle.ForeColor;
+                }
+                // �s‚Ì�F‚ð•Ï‚¦‚é
+                // �s‚Ì�F‚ð•Ï‚¦‚é
+                SetRowColor(CurRow, SetBackColor, SetForeColor);
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region ŽŸƒvƒ�ƒZƒX‹N“®
+        /// <summary>
+        /// �HŽ–ˆê——‚æ‚è‹N“®‚·‚éƒvƒ�ƒZƒX‘I‘ð�ˆ—�
+        /// </summary>
+        /// <param name="para_ConstructionCode"></param>
+        private void SubProcessExecute(int para_ConstructionCode = 0, int para_OrderNo = 0)
+        {
+            try
+            {
+                DataGridView dgv = dgvEntry;
+
+                int NowPoint = ClsExcute.GetNowProcessPoint();
+                // Œ»�Ý�Ý’è’lƒNƒŠƒA
+                ClsExcute.ClearSaveParameter(NowPoint);
+                // ----- ‰æ–Ê�î•ñ‘Þ”ð
+                // ŒŸ�õ”N
+                ClsExcute.ProcControlPara[NowPoint].StringSaveParameter.Add(numUDConstPro.Value.ToString());
+
+                // •\Ž¦�æ“ª�s
+                ClsExcute.ProcControlPara[NowPoint].IntSaveParameter.Add(dgv.FirstDisplayedScrollingRowIndex);
+
+                // Œ»�Ý“ª�s
+                ClsExcute.ProcControlPara[NowPoint].IntSaveParameter.Add(dgv.CurrentRow.Index);
+
+                // ƒ\�[ƒg�ó‘Ô
+                if (dgv.SortedColumn != null)
+                {
+                    ClsExcute.ProcControlPara[NowPoint].IntSaveParameter.Add((int)dgv.SortedColumn.Index);
+                    ClsExcute.ProcControlPara[NowPoint].IntSaveParameter.Add((int)dgv.SortOrder);
+                }
+
+                // ‘I‘ðƒf�[ƒ^‚Ì�æ“ª‚ðŽæ“¾‚·‚é
+                DataGridViewRow CurRow = dgvEntry.CurrentRow;
+                int RequestMonth = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.RequestMonthKey].Value);
+                int nOrderersDivision = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.DivisionCode].Value);
+                int nOrderersCode = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.OrdererCode].Value);
+                string strOrderersName = CommonMotions.cnvString(CurRow.Cells[(int)DispColumn.OrdererName].Value);
+
+
+                // ŽŸ‹N“®ƒvƒ�ƒZƒXƒZƒbƒg
+                NowPoint = ClsExcute.NextProcess(m_ExecuteFlg);
+                // ƒvƒ�ƒZƒX”Ô�†ƒZƒbƒg
+                ClsExcute.ProcControlPara[NowPoint].IntExecParameter.Add(m_ExecuteFlg);
+                // ŽèŠÔ�E‹ÆŽÒ‹æ•ªƒZƒbƒg
+                ClsExcute.ProcControlPara[NowPoint].IntExecParameter.Add(m_ExecuteSubFlg);
+                // �¿‹�”NŒŽƒZƒbƒg
+                ClsExcute.ProcControlPara[NowPoint].IntExecParameter.Add(RequestMonth);
+                // ”­’�‹æ•ªƒZƒbƒg
+                ClsExcute.ProcControlPara[NowPoint].IntExecParameter.Add(nOrderersDivision);
+                // ”­’�ŽÒ”Ô�†ƒZƒbƒg
+                ClsExcute.ProcControlPara[NowPoint].IntExecParameter.Add(nOrderersCode);
+                // ”­’�ŽÒ–¼ƒZƒbƒg
+                ClsExcute.ProcControlPara[NowPoint].StringExecParameter.Add(strOrderersName);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+            finally
+            {
+                // ƒNƒ��[ƒY�ˆ—�‚ðOFF‚É‚·‚é�B
+                m_CloseingProcessOff = true;
+                // ‰æ–ÊƒNƒ��[ƒY
+                this.Close();
+            }
+        }
+        #endregion
+    }
+}
\ No newline at end of file
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestInput/FrmRequestInput.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestInput/FrmRequestInput.cs	(revision 328)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestInput/FrmRequestInput.cs	(revision 329)
@@ -622,18 +622,10 @@
             int tcol = e.ColumnIndex;
             int trow = e.RowIndex;
 
-            Debug.WriteLine(string.Format("dgv1_CellValueChanged[{0},{1}]", tcol, trow));
+            //Debug.WriteLine(string.Format("dgv1_CellValueChanged[{0},{1}]", tcol, trow));
 
-            if (trow == -1)
-            {
-                return;
-            }
+            if (trow < 0 || tcol < 0) return;
 
-            if (tcol == -1)
-            {
-                return;
-            }
-
             // æœ€æ–°è«‹æ±‚å›žæ•°åˆ—ã�®å ´å�ˆ
             if (tcol == m_nMaxOrderNo + (int)ColumnName.Sum)
             {
@@ -664,8 +656,6 @@
                  }
                 return;
             }
-
-
         }
         #endregion
 
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestInput/ProcessControl.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestInput/ProcessControl.cs	(revision 328)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestInput/ProcessControl.cs	(revision 329)
@@ -769,7 +769,7 @@
                     if (!AcceptData()) return;
                 }
 
-                // äº¤é€šè²»å�Šã�³è³¼å…¥å“�ç­‰å…¥åŠ›èµ·å‹•
+                // è«‹æ±‚æ›¸å�°åˆ·èµ·å‹•
                 frm = new FrmRequestPrint();
                 ClsExcute.SubFormHandleList[ProcessNo].ProcessNo = s_CurrentProcessNo;
                 ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle = (Form)frm;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestInputList/FrmReqInputList.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestInputList/FrmReqInputList.cs	(nonexistent)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestInputList/FrmReqInputList.cs	(revision 329)
@@ -0,0 +1,371 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Text;
+using System.Windows.Forms;
+using System.Collections;
+
+using log4net;
+using log4net.Appender;
+using log4net.Repository.Hierarchy;
+
+using ProcessManagement.Common;
+using ProcessManagement.DB.IOAccess;
+using ProcessManagement.DataModel;
+using ProcessManagement.DB.Core;
+using ProcessManagement.Forms.CustomControls;
+using ProcessManagement.Forms.ControlsAction;
+//*---------------------------- �¿‹��HŽ–�î•ñˆê——‰æ–Ê --------------------------*
+//  2017/05/25  Ver1.0.0.0      Create Source           
+//
+//
+//
+//*----------------------------------------------------------------------------*
+namespace ProcessManagement.Forms.DataEntry
+{
+    public partial class FrmReqInputList : Form
+    {
+        #region Žg—p’è‹`
+        //log4netƒ�ƒO‚ðŽg—p‚·‚é
+        private static readonly log4net.ILog logger = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region ’è�”
+        /// <summary>
+        /// •\Ž¦ƒJƒ‰ƒ€
+        /// </summary>
+        private enum DispColumn
+        {
+            No = 0,
+            SalesDepartment,
+            SalesPerson,
+            ConstructionDepartment,
+            ConstructionPerson,
+            ConstructionName,
+            Status,
+            ConstructionPeriod,
+            ConstructionCode,
+            OrderNo,
+            BillingMark,
+        }
+
+        #endregion
+
+        #region •Ï�”
+
+        /// <summary>
+        /// �‰ŠúŽžƒtƒ‰ƒO
+        /// </summary>
+        private bool m_initDataLoad = true;
+
+        /// <summary>
+        /// ‹N“®ƒtƒ‰ƒO
+        /// </summary>
+        private int m_ExecuteFlg = 0;
+
+        /// <summary>
+        /// ‹N“®Žž•â�•ƒtƒ‰ƒO
+        /// </summary>
+        private int m_ExecuteSubFlg = 0;
+
+        /// <summary>
+        /// ƒf�[ƒ^’Ç‰Áƒ{ƒ^ƒ“•\Ž¦ƒtƒ‰ƒO
+        /// </summary>
+        private bool m_DataAddtionButton = false;
+        /// <summary>
+        /// �I—¹ƒ{ƒ^ƒ“‰Ÿ‰ºƒtƒ‰ƒO
+        /// </summary>
+        private bool m_CloseingProcessOff = false;
+
+        /// <summary>
+        /// Cell•�ƒTƒCƒY
+        /// </summary>
+        private int[] m_CellSize;
+
+        #region ƒtƒH�[ƒ€•�
+        /// <summary>
+        /// ƒtƒH�[ƒ€•�
+        /// </summary>
+        private int m_FormWidthSize = 0;
+        #endregion
+
+        #region ƒOƒŠƒbƒh•�ƒTƒCƒY
+        /// <summary>
+        /// ƒOƒŠƒbƒh•�ƒTƒCƒY
+        /// </summary>
+        private int m_GridWidthSize = 0;
+        #endregion
+
+        /// <summary>
+        /// ŒŸ�õ�HŽ–”Ô�†
+        /// </summary>
+        private int m_ConstructionCode = 0;
+        #endregion
+
+        #region ƒvƒ�ƒpƒeƒB
+        /// <summary>
+        /// ‹N“®ƒtƒ‰ƒO
+        /// </summary>
+        public int ExecuteFlg
+        {
+            get { return m_ExecuteFlg; }
+            set { m_ExecuteFlg = value; }
+        }
+        /// <summary>
+        /// ƒf�[ƒ^’Ç‰Áƒ{ƒ^ƒ“•\Ž¦
+        /// </summary>
+        public bool DataAddtionButton
+        {
+            get { return m_DataAddtionButton; }
+            set { m_DataAddtionButton = value; }
+        }
+        /// <summary>
+        /// ŒŸ�õ�HŽ–”Ô�†
+        /// </summary>
+        public int ConstructionCode
+        {
+            get { return m_ConstructionCode; }
+        }
+        /// <summary>
+        /// ‹N“®Žž•â�•ƒtƒ‰ƒO
+        /// </summary>
+        public int ExecuteSubFlg
+        {
+            get { return m_ExecuteSubFlg; }
+            set { m_ExecuteSubFlg = value; }
+        }
+
+        #endregion
+
+        #region ƒRƒ“ƒXƒgƒ‰ƒNƒ^
+        public FrmReqInputList()
+        {
+            InitializeComponent();
+        }
+        #endregion
+        #region ƒfƒXƒgƒ‰ƒNƒ^
+        ~FrmReqInputList()
+        {
+            try
+            {
+                GC.Collect();
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region �~ƒ{ƒ^ƒ“
+        /// <summary>
+        /// �~ƒ{ƒ^ƒ“‰Ÿ‰º�ˆ—�
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void FrmConstructionList_FormClosing(object sender, FormClosingEventArgs e)
+        {
+            if (m_CloseingProcessOff) return;
+
+            // ‘Oƒvƒ�ƒZƒX‚É–ß‚é
+            ClsExcute.BackProcess();
+        }
+        #endregion
+
+        #region �I—¹ƒ{ƒ^ƒ“
+        /// <summary>
+        /// �I—¹ƒ{ƒ^ƒ“ƒNƒŠƒbƒN
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void btnEnd_Click(object sender, EventArgs e)
+        {
+            // ‘Oƒvƒ�ƒZƒX‚É–ß‚é
+            ClsExcute.BackProcess();
+
+            m_CloseingProcessOff = true;
+            
+            this.Close();
+        }
+        #endregion
+
+        #region �X�Vƒ{ƒ^ƒ“
+        /// <summary>
+        /// ƒf�[ƒ^�X�Vƒ{ƒ^ƒ“‰Ÿ‰º
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void btnDataUpDate_Click(object sender, EventArgs e)
+        {
+            if (m_initDataLoad) return;
+            // •\Ž¦ƒf�[ƒ^�X�V
+            DataDisplay();
+        }
+        #endregion
+
+        #region ƒtƒH�[ƒ€ƒ��[ƒh
+        /// <summary>
+        /// �‰ŠúƒtƒH�[ƒ€ƒ��[ƒh
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void FrmConstructionList_Load(object sender, EventArgs e)
+        {
+            SetInitnumUDConstPro();
+            // ƒRƒ“ƒ{ƒ{ƒbƒNƒXƒZƒbƒg
+            SetcmbDepartment();
+            SetcmbPersons();
+
+            // ƒRƒ“ƒ{ƒ{ƒbƒNƒX�‰Šú•\Ž¦
+            InitCombBox();
+
+            // •\Ž¦ƒXƒ^ƒCƒ‹‚Ì•Ï�X
+            InitDisplayStyle();
+
+            // ƒ�ƒOƒCƒ“ŽÒ‚ÌƒZƒbƒg
+            InitDepPersonCode();
+
+            // �‰Šú•\Ž¦
+            InitDataLoad();
+
+            m_initDataLoad = false;
+        }
+        #endregion
+
+        #region ƒZƒ‹ƒ_ƒuƒ‹ƒNƒŠƒbƒN
+        /// <summary>
+        /// ƒZƒ‹ƒ_ƒuƒ‹ƒNƒŠƒbƒN
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void dgvMaster_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
+        {
+            if (e.RowIndex < 0) return;
+            // ƒf�[ƒ^‚ª‚È‚¢�ê�‡‚Í”²‚¯‚é
+            if (dgvEntry.RowCount == 0) return;
+            if (CommonMotions.chkCellBlank(dgvEntry.CurrentRow.Cells[(int)DispColumn.ConstructionName].Value)) return;
+
+            // Še�ˆ—�‹N“®
+            int ConstrCode = CommonMotions.cnvIntFromStringCode(dgvEntry.CurrentRow.Cells[(int)DispColumn.ConstructionCode].Value.ToString(), "-");
+            int OrderNo = CommonMotions.cnvInt(dgvEntry.CurrentRow.Cells[(int)DispColumn.OrderNo].Value);
+            SubProcessExecute(ConstrCode, OrderNo);
+        }
+        #endregion
+
+        #region ƒtƒH�[ƒ€KeyDown
+        /// <summary>
+        /// EntryƒL�[‚Å‚ÌˆÚ“®�ˆ—�
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void FrmConstructionBaseInfoList_KeyDown(object sender, KeyEventArgs e)
+        {
+            //EnterƒL�[‚ª‰Ÿ‚³‚ê‚Ä‚¢‚é‚©Šm”F
+            //Alt‚©CtrlƒL�[‚ª‰Ÿ‚³‚ê‚Ä‚¢‚éŽž‚Í–³Ž‹‚·‚é
+            if ((e.KeyCode == Keys.Enter) && !e.Alt && !e.Control)
+            {
+                //‚ ‚½‚©‚àTabƒL�[‚ª‰Ÿ‚³‚ê‚½‚©‚Ì‚æ‚¤‚É‚·‚é
+                //Shift‚ª‰Ÿ‚³‚ê‚Ä‚¢‚éŽž‚Í‘O‚ÌƒRƒ“ƒgƒ��[ƒ‹‚ÌƒtƒH�[ƒJƒX‚ðˆÚ“®
+                this.ProcessTabKey(!e.Shift);
+
+                e.Handled = true;
+                //.NET Framework 2.0ˆÈ�~
+                e.SuppressKeyPress = true;
+            }
+        }
+        #endregion
+
+        #region ‰c‹ÆŠúƒRƒ“ƒ{ƒ{ƒbƒNƒX•Ï�X
+        /// <summary>
+        /// ‰c‹ÆŠú•Ï�X
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void numUDConstPro_ValueChanged(object sender, EventArgs e)
+        {
+            if (m_initDataLoad) return;
+
+            // ƒf�[ƒ^•\Ž¦
+            DataDisplay();
+        }
+        #endregion
+
+        #region •”��ƒRƒ“ƒ{ƒ{ƒbƒNƒX•Ï�X
+        /// <summary>
+        /// •”��ƒRƒ“ƒ{ƒ{ƒbƒNƒX•Ï�X
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void cmbDepartment_TextChanged(object sender, EventArgs e)
+        {
+            if (m_initDataLoad) return;
+
+            // ’S“–ŽÒƒRƒ“ƒ{ƒ{ƒbƒNƒX•Ï�X
+            SetcmbPersons();
+
+            // ƒf�[ƒ^•\Ž¦
+            DataDisplay();
+        }
+        #endregion
+
+        #region ’S“–ŽÒƒRƒ“ƒ{ƒ{ƒbƒNƒX•Ï�X
+        /// <summary>
+        /// ’S“–ŽÒ•Ï�X
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void cmbConstructionPerson_TextChanged(object sender, EventArgs e)
+        {
+            if (m_initDataLoad) return;
+
+            // ’S“–ŽÒ‘I‘ðŽž•”��‘I‘ð‚ð�Ý’è‚·‚é
+            SetPerosonToDepartment();
+
+            // ƒf�[ƒ^•\Ž¦
+            DataDisplay();
+        }
+        #endregion
+
+        #region ƒtƒH�[ƒ€ƒTƒCƒY•Ï�X
+        /// <summary>
+        /// ƒtƒH�[ƒ€ƒTƒCƒY•Ï�X
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void FrmConstructionList_SizeChanged(object sender, EventArgs e)
+        {
+            if (this.WindowState == FormWindowState.Minimized)
+            {
+                // �Å�¬‰»
+            }
+            else if (this.WindowState == FormWindowState.Maximized)
+            {
+                // �Å‘å‰»
+                CellSizeChangesWhenChangingScreenSize(false);
+            }
+            else if (this.WindowState == FormWindowState.Normal)
+            {
+                // •W�€‰»
+                CellSizeChangesWhenChangingScreenSize(true);
+            }
+        }
+        #endregion
+
+        #region ‰c‹Æ�E�HŽ–’S“–ŽÒ�Ø‚è‘Ö‚¦
+        /// <summary>
+        /// ‰c‹Æ�E�HŽ–’S“–ŽÒ�Ø‚è‘Ö‚¦
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void radioButton_CheckedChanged(object sender, EventArgs e)
+        {
+            if (m_initDataLoad) return;
+
+            // ƒf�[ƒ^•\Ž¦
+            DataDisplay();
+        }
+        #endregion
+    }
+}
\ No newline at end of file
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestInputList/FrmReqInputList.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestInputList/FrmReqInputList.designer.cs	(nonexistent)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestInputList/FrmReqInputList.designer.cs	(revision 329)
@@ -0,0 +1,506 @@
+ï»¿namespace ProcessManagement.Forms.DataEntry
+{
+    partial class FrmReqInputList
+    {
+        /// <summary>
+        /// å¿…è¦�ã�ªãƒ‡ã‚¶ã‚¤ãƒŠå¤‰æ•°ã�§ã�™ã€‚
+        /// </summary>
+        private System.ComponentModel.IContainer components = null;
+
+        /// <summary>
+        /// ä½¿ç”¨ä¸­ã�®ãƒªã‚½ãƒ¼ã‚¹ã‚’ã�™ã�¹ã�¦ã‚¯ãƒªãƒ¼ãƒ³ã‚¢ãƒƒãƒ—ã�—ã�¾ã�™ã€‚
+        /// </summary>
+        /// <param name="disposing">ãƒžãƒ�ãƒ¼ã‚¸ ãƒªã‚½ãƒ¼ã‚¹ã�Œç ´æ£„ã�•ã‚Œã‚‹å ´å�ˆ trueã€�ç ´æ£„ã�•ã‚Œã�ªã�„å ´å�ˆã�¯ false ã�§ã�™ã€‚</param>
+        protected override void Dispose(bool disposing)
+        {
+            if (disposing && (components != null))
+            {
+                components.Dispose();
+            }
+            base.Dispose(disposing);
+        }
+
+        #region Windows ãƒ•ã‚©ãƒ¼ãƒ  ãƒ‡ã‚¶ã‚¤ãƒŠã�§ç”Ÿæˆ�ã�•ã‚Œã�Ÿã‚³ãƒ¼ãƒ‰
+
+        /// <summary>
+        /// ãƒ‡ã‚¶ã‚¤ãƒŠ ã‚µãƒ�ãƒ¼ãƒˆã�«å¿…è¦�ã�ªãƒ¡ã‚½ãƒƒãƒ‰ã�§ã�™ã€‚ã�“ã�®ãƒ¡ã‚½ãƒƒãƒ‰ã�®å†…å®¹ã‚’
+        /// ã‚³ãƒ¼ãƒ‰ ã‚¨ãƒ‡ã‚£ã‚¿ã�§å¤‰æ›´ã�—ã�ªã�„ã�§ã��ã� ã�•ã�„ã€‚
+        /// </summary>
+        private void InitializeComponent()
+        {
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = 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();
+            this.btnEnd = new System.Windows.Forms.Button();
+            this.label1 = new System.Windows.Forms.Label();
+            this.groupBox1 = new ProcessManagement.Forms.CustomControls.GroupBoxEx();
+            this.label3 = new System.Windows.Forms.Label();
+            this.radioButton2 = new System.Windows.Forms.RadioButton();
+            this.radioButton1 = new System.Windows.Forms.RadioButton();
+            this.label4 = new System.Windows.Forms.Label();
+            this.numUDConstPro = new System.Windows.Forms.NumericUpDown();
+            this.label5 = new System.Windows.Forms.Label();
+            this.label7 = new System.Windows.Forms.Label();
+            this.cmbConstructionPerson = new System.Windows.Forms.ComboBox();
+            this.cmbDepartment = new System.Windows.Forms.ComboBox();
+            this.label2 = new System.Windows.Forms.Label();
+            this.lblProcessTitil = new System.Windows.Forms.Label();
+            this.btnDataUpDate = new System.Windows.Forms.Button();
+            this.dgvEntry = new ProcessManagement.Forms.CustomControls.DataGridViewEX();
+            this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.groupBox1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.numUDConstPro)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dgvEntry)).BeginInit();
+            this.SuspendLayout();
+            // 
+            // btnEnd
+            // 
+            this.btnEnd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.btnEnd.BackColor = System.Drawing.Color.Blue;
+            this.btnEnd.ForeColor = System.Drawing.Color.White;
+            this.btnEnd.Location = new System.Drawing.Point(1150, 619);
+            this.btnEnd.Name = "btnEnd";
+            this.btnEnd.Size = new System.Drawing.Size(120, 30);
+            this.btnEnd.TabIndex = 8;
+            this.btnEnd.Text = "çµ‚ã€€äº†";
+            this.btnEnd.UseVisualStyleBackColor = false;
+            this.btnEnd.Click += new System.EventHandler(this.btnEnd_Click);
+            // 
+            // label1
+            // 
+            this.label1.Anchor = System.Windows.Forms.AnchorStyles.Top;
+            this.label1.BackColor = System.Drawing.Color.White;
+            this.label1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label1.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.label1.ForeColor = System.Drawing.Color.Black;
+            this.label1.Location = new System.Drawing.Point(440, 10);
+            this.label1.Name = "label1";
+            this.label1.Size = new System.Drawing.Size(400, 20);
+            this.label1.TabIndex = 6;
+            this.label1.Text = "å·¥ã€€äº‹ã€€æƒ…ã€€å ±ã€€ä¸€ã€€è¦§";
+            this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // groupBox1
+            // 
+            this.groupBox1.Anchor = System.Windows.Forms.AnchorStyles.Top;
+            this.groupBox1.BackColor = System.Drawing.Color.Aquamarine;
+            this.groupBox1.BorderColor = System.Drawing.Color.White;
+            this.groupBox1.Controls.Add(this.label3);
+            this.groupBox1.Controls.Add(this.radioButton2);
+            this.groupBox1.Controls.Add(this.radioButton1);
+            this.groupBox1.Controls.Add(this.label4);
+            this.groupBox1.Controls.Add(this.numUDConstPro);
+            this.groupBox1.Controls.Add(this.label5);
+            this.groupBox1.Controls.Add(this.label7);
+            this.groupBox1.Controls.Add(this.cmbConstructionPerson);
+            this.groupBox1.Controls.Add(this.cmbDepartment);
+            this.groupBox1.Controls.Add(this.label2);
+            this.groupBox1.ForeColor = System.Drawing.Color.White;
+            this.groupBox1.Location = new System.Drawing.Point(10, 40);
+            this.groupBox1.Name = "groupBox1";
+            this.groupBox1.Size = new System.Drawing.Size(1260, 55);
+            this.groupBox1.TabIndex = 0;
+            this.groupBox1.TabStop = false;
+            // 
+            // label3
+            // 
+            this.label3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
+            this.label3.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label3.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.label3.ForeColor = System.Drawing.Color.Black;
+            this.label3.Location = new System.Drawing.Point(747, 19);
+            this.label3.Name = "label3";
+            this.label3.Size = new System.Drawing.Size(120, 25);
+            this.label3.TabIndex = 4;
+            this.label3.Text = "æ‹…ã€€å½“ã€€è€…";
+            this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // radioButton2
+            // 
+            this.radioButton2.AutoSize = true;
+            this.radioButton2.BackColor = System.Drawing.Color.Transparent;
+            this.radioButton2.Checked = true;
+            this.radioButton2.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.radioButton2.ForeColor = System.Drawing.Color.Black;
+            this.radioButton2.Location = new System.Drawing.Point(662, 32);
+            this.radioButton2.Name = "radioButton2";
+            this.radioButton2.Size = new System.Drawing.Size(77, 20);
+            this.radioButton2.TabIndex = 44;
+            this.radioButton2.TabStop = true;
+            this.radioButton2.Text = "å·¥ã€€äº‹";
+            this.radioButton2.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
+            this.radioButton2.UseVisualStyleBackColor = false;
+            this.radioButton2.CheckedChanged += new System.EventHandler(this.radioButton_CheckedChanged);
+            // 
+            // radioButton1
+            // 
+            this.radioButton1.AutoSize = true;
+            this.radioButton1.BackColor = System.Drawing.Color.Transparent;
+            this.radioButton1.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.radioButton1.ForeColor = System.Drawing.Color.Black;
+            this.radioButton1.Location = new System.Drawing.Point(662, 12);
+            this.radioButton1.Name = "radioButton1";
+            this.radioButton1.Size = new System.Drawing.Size(77, 20);
+            this.radioButton1.TabIndex = 43;
+            this.radioButton1.Text = "å–¶ã€€æ¥­";
+            this.radioButton1.TextAlign = System.Drawing.ContentAlignment.TopCenter;
+            this.radioButton1.UseVisualStyleBackColor = false;
+            this.radioButton1.CheckedChanged += new System.EventHandler(this.radioButton_CheckedChanged);
+            // 
+            // label4
+            // 
+            this.label4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
+            this.label4.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label4.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.label4.ForeColor = System.Drawing.Color.Black;
+            this.label4.Location = new System.Drawing.Point(20, 19);
+            this.label4.Name = "label4";
+            this.label4.Size = new System.Drawing.Size(120, 25);
+            this.label4.TabIndex = 42;
+            this.label4.Text = "å–¶æ¥­æœŸ";
+            this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // numUDConstPro
+            // 
+            this.numUDConstPro.BackColor = System.Drawing.Color.White;
+            this.numUDConstPro.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.numUDConstPro.ForeColor = System.Drawing.Color.Black;
+            this.numUDConstPro.Location = new System.Drawing.Point(173, 20);
+            this.numUDConstPro.Name = "numUDConstPro";
+            this.numUDConstPro.ReadOnly = true;
+            this.numUDConstPro.Size = new System.Drawing.Size(80, 23);
+            this.numUDConstPro.TabIndex = 0;
+            this.numUDConstPro.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+            this.numUDConstPro.ValueChanged += new System.EventHandler(this.numUDConstPro_ValueChanged);
+            // 
+            // label5
+            // 
+            this.label5.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.label5.ForeColor = System.Drawing.Color.Black;
+            this.label5.Location = new System.Drawing.Point(253, 23);
+            this.label5.Name = "label5";
+            this.label5.Size = new System.Drawing.Size(25, 16);
+            this.label5.TabIndex = 39;
+            this.label5.Text = "æœŸ";
+            this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // label7
+            // 
+            this.label7.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.label7.ForeColor = System.Drawing.Color.Black;
+            this.label7.Location = new System.Drawing.Point(148, 23);
+            this.label7.Name = "label7";
+            this.label7.Size = new System.Drawing.Size(25, 16);
+            this.label7.TabIndex = 40;
+            this.label7.Text = "ç¬¬";
+            this.label7.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.FormattingEnabled = true;
+            this.cmbConstructionPerson.Location = new System.Drawing.Point(875, 20);
+            this.cmbConstructionPerson.Name = "cmbConstructionPerson";
+            this.cmbConstructionPerson.Size = new System.Drawing.Size(200, 23);
+            this.cmbConstructionPerson.TabIndex = 2;
+            this.cmbConstructionPerson.TextChanged += new System.EventHandler(this.cmbConstructionPerson_TextChanged);
+            // 
+            // cmbDepartment
+            // 
+            this.cmbDepartment.BackColor = System.Drawing.Color.White;
+            this.cmbDepartment.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+            this.cmbDepartment.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
+            this.cmbDepartment.FormattingEnabled = true;
+            this.cmbDepartment.Location = new System.Drawing.Point(422, 20);
+            this.cmbDepartment.Name = "cmbDepartment";
+            this.cmbDepartment.Size = new System.Drawing.Size(200, 23);
+            this.cmbDepartment.TabIndex = 1;
+            this.cmbDepartment.TextChanged += new System.EventHandler(this.cmbDepartment_TextChanged);
+            // 
+            // label2
+            // 
+            this.label2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
+            this.label2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label2.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.label2.ForeColor = System.Drawing.Color.Black;
+            this.label2.Location = new System.Drawing.Point(294, 19);
+            this.label2.Name = "label2";
+            this.label2.Size = new System.Drawing.Size(120, 25);
+            this.label2.TabIndex = 4;
+            this.label2.Text = "éƒ¨ã€€ã€€ç½²";
+            this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // lblProcessTitil
+            // 
+            this.lblProcessTitil.BackColor = System.Drawing.Color.White;
+            this.lblProcessTitil.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.lblProcessTitil.Location = new System.Drawing.Point(10, 10);
+            this.lblProcessTitil.Name = "lblProcessTitil";
+            this.lblProcessTitil.Size = new System.Drawing.Size(300, 20);
+            this.lblProcessTitil.TabIndex = 9;
+            this.lblProcessTitil.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // btnDataUpDate
+            // 
+            this.btnDataUpDate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+            this.btnDataUpDate.BackColor = System.Drawing.Color.Aquamarine;
+            this.btnDataUpDate.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.btnDataUpDate.ForeColor = System.Drawing.Color.Black;
+            this.btnDataUpDate.Location = new System.Drawing.Point(1150, 4);
+            this.btnDataUpDate.Name = "btnDataUpDate";
+            this.btnDataUpDate.Size = new System.Drawing.Size(120, 30);
+            this.btnDataUpDate.TabIndex = 7;
+            this.btnDataUpDate.Text = "æœ€æ–°çŠ¶æ…‹ã�«æ›´æ–°";
+            this.btnDataUpDate.UseVisualStyleBackColor = false;
+            this.btnDataUpDate.Click += new System.EventHandler(this.btnDataUpDate_Click);
+            // 
+            // dgvEntry
+            // 
+            this.dgvEntry.AllowUserToAddRows = false;
+            this.dgvEntry.AllowUserToDeleteRows = false;
+            this.dgvEntry.AllowUserToResizeColumns = false;
+            this.dgvEntry.AllowUserToResizeRows = false;
+            dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
+            this.dgvEntry.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
+            this.dgvEntry.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.dgvEntry.BackgroundColor = System.Drawing.Color.White;
+            this.dgvEntry.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
+            dataGridViewCellStyle2.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
+            dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+            dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvEntry.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
+            this.dgvEntry.ColumnHeadersHeight = 24;
+            this.dgvEntry.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
+            this.dgvEntry.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
+            this.Column1,
+            this.Column9,
+            this.Column5,
+            this.Column10,
+            this.Column6,
+            this.Column4,
+            this.Column7,
+            this.Column3,
+            this.Column2,
+            this.Column11,
+            this.Column8});
+            dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle13.BackColor = System.Drawing.SystemColors.Window;
+            dataGridViewCellStyle13.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            dataGridViewCellStyle13.ForeColor = System.Drawing.SystemColors.ControlText;
+            dataGridViewCellStyle13.SelectionBackColor = System.Drawing.Color.LightSeaGreen;
+            dataGridViewCellStyle13.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle13.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvEntry.DefaultCellStyle = dataGridViewCellStyle13;
+            this.dgvEntry.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter;
+            this.dgvEntry.EnableHeadersVisualStyles = false;
+            this.dgvEntry.Location = new System.Drawing.Point(10, 103);
+            this.dgvEntry.MultiSelect = false;
+            this.dgvEntry.Name = "dgvEntry";
+            this.dgvEntry.RowHeadersVisible = false;
+            this.dgvEntry.RowHeadersWidth = 20;
+            this.dgvEntry.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
+            this.dgvEntry.RowTemplate.Height = 24;
+            this.dgvEntry.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
+            this.dgvEntry.Size = new System.Drawing.Size(1260, 508);
+            this.dgvEntry.TabIndex = 5;
+            this.dgvEntry.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvMaster_CellDoubleClick);
+            // 
+            // Column1
+            // 
+            dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.Column1.DefaultCellStyle = dataGridViewCellStyle3;
+            this.Column1.HeaderText = "â„–";
+            this.Column1.Name = "Column1";
+            this.Column1.ReadOnly = true;
+            this.Column1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.Column1.Width = 50;
+            // 
+            // Column9
+            // 
+            dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.Column9.DefaultCellStyle = dataGridViewCellStyle4;
+            this.Column9.HeaderText = "å–¶æ¥­éƒ¨ç½²";
+            this.Column9.Name = "Column9";
+            this.Column9.ReadOnly = true;
+            this.Column9.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.Column9.Width = 135;
+            // 
+            // Column5
+            // 
+            dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.Column5.DefaultCellStyle = dataGridViewCellStyle5;
+            this.Column5.HeaderText = "å–¶æ¥­æ‹…å½“è€…";
+            this.Column5.Name = "Column5";
+            this.Column5.ReadOnly = true;
+            this.Column5.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.Column5.Width = 135;
+            // 
+            // Column10
+            // 
+            dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.Column10.DefaultCellStyle = dataGridViewCellStyle6;
+            this.Column10.HeaderText = "å·¥äº‹éƒ¨ç½²";
+            this.Column10.Name = "Column10";
+            this.Column10.ReadOnly = true;
+            this.Column10.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.Column10.Width = 135;
+            // 
+            // Column6
+            // 
+            dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.Column6.DefaultCellStyle = dataGridViewCellStyle7;
+            this.Column6.HeaderText = "å·¥äº‹æ‹…å½“è€…";
+            this.Column6.Name = "Column6";
+            this.Column6.ReadOnly = true;
+            this.Column6.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.Column6.Width = 135;
+            // 
+            // Column4
+            // 
+            dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            this.Column4.DefaultCellStyle = dataGridViewCellStyle8;
+            this.Column4.HeaderText = "å·¥ã€€äº‹ã€€å��ã€€ç§°";
+            this.Column4.Name = "Column4";
+            this.Column4.ReadOnly = true;
+            this.Column4.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.Column4.Width = 440;
+            // 
+            // Column7
+            // 
+            dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.Column7.DefaultCellStyle = dataGridViewCellStyle9;
+            this.Column7.HeaderText = "æ–½å·¥çŠ¶æ…‹";
+            this.Column7.Name = "Column7";
+            this.Column7.ReadOnly = true;
+            this.Column7.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.Column7.Width = 150;
+            // 
+            // Column3
+            // 
+            dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.Column3.DefaultCellStyle = dataGridViewCellStyle10;
+            this.Column3.HeaderText = "å–¶æ¥­æœŸ";
+            this.Column3.Name = "Column3";
+            this.Column3.ReadOnly = true;
+            this.Column3.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.Column3.Visible = false;
+            // 
+            // Column2
+            // 
+            dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.Column2.DefaultCellStyle = dataGridViewCellStyle11;
+            this.Column2.HeaderText = "å·¥äº‹ã‚³ãƒ¼ãƒ‰";
+            this.Column2.Name = "Column2";
+            this.Column2.ReadOnly = true;
+            this.Column2.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.Column2.Visible = false;
+            // 
+            // Column11
+            // 
+            this.Column11.HeaderText = "ç”³è«‹å�—ä»˜ç•ªå�·";
+            this.Column11.Name = "Column11";
+            this.Column11.ReadOnly = true;
+            this.Column11.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.Column11.Visible = false;
+            // 
+            // Column8
+            // 
+            dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.Column8.DefaultCellStyle = dataGridViewCellStyle12;
+            this.Column8.HeaderText = "ä½œæˆ�";
+            this.Column8.Name = "Column8";
+            this.Column8.ReadOnly = true;
+            this.Column8.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.Column8.Width = 60;
+            // 
+            // FrmReqInputList
+            // 
+            this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
+            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
+            this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
+            this.BackColor = System.Drawing.Color.Black;
+            this.ClientSize = new System.Drawing.Size(1280, 657);
+            this.Controls.Add(this.lblProcessTitil);
+            this.Controls.Add(this.groupBox1);
+            this.Controls.Add(this.label1);
+            this.Controls.Add(this.btnDataUpDate);
+            this.Controls.Add(this.btnEnd);
+            this.Controls.Add(this.dgvEntry);
+            this.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
+            this.KeyPreview = true;
+            this.MinimizeBox = false;
+            this.Name = "FrmReqInputList";
+            this.ShowIcon = false;
+            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmConstructionList_FormClosing);
+            this.Load += new System.EventHandler(this.FrmConstructionList_Load);
+            this.SizeChanged += new System.EventHandler(this.FrmConstructionList_SizeChanged);
+            this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.FrmConstructionBaseInfoList_KeyDown);
+            this.groupBox1.ResumeLayout(false);
+            this.groupBox1.PerformLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.numUDConstPro)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dgvEntry)).EndInit();
+            this.ResumeLayout(false);
+
+        }
+
+        #endregion
+
+        private System.Windows.Forms.Button btnEnd;
+        private System.Windows.Forms.Label label1;
+        private ProcessManagement.Forms.CustomControls.GroupBoxEx groupBox1;
+        private System.Windows.Forms.Label label2;
+        private System.Windows.Forms.ComboBox cmbDepartment;
+        private ProcessManagement.Forms.CustomControls.DataGridViewEX dgvEntry;
+        private System.Windows.Forms.Label lblProcessTitil;
+        private System.Windows.Forms.ComboBox cmbConstructionPerson;
+        private System.Windows.Forms.Label label3;
+        private System.Windows.Forms.Button btnDataUpDate;
+        private System.Windows.Forms.Label label4;
+        private System.Windows.Forms.NumericUpDown numUDConstPro;
+        private System.Windows.Forms.Label label5;
+        private System.Windows.Forms.Label label7;
+        private System.Windows.Forms.RadioButton radioButton2;
+        private System.Windows.Forms.RadioButton radioButton1;
+        private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
+        private System.Windows.Forms.DataGridViewTextBoxColumn Column9;
+        private System.Windows.Forms.DataGridViewTextBoxColumn Column5;
+        private System.Windows.Forms.DataGridViewTextBoxColumn Column10;
+        private System.Windows.Forms.DataGridViewTextBoxColumn Column6;
+        private System.Windows.Forms.DataGridViewTextBoxColumn Column4;
+        private System.Windows.Forms.DataGridViewTextBoxColumn Column7;
+        private System.Windows.Forms.DataGridViewTextBoxColumn Column3;
+        private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
+        private System.Windows.Forms.DataGridViewTextBoxColumn Column11;
+        private System.Windows.Forms.DataGridViewTextBoxColumn Column8;
+    }
+}
\ No newline at end of file
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestInputList/FrmReqInputList.resx
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestInputList/FrmReqInputList.resx	(nonexistent)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestInputList/FrmReqInputList.resx	(revision 329)
@@ -0,0 +1,153 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" use="required" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <metadata name="Column1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="Column9.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="Column5.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="Column10.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="Column6.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="Column4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="Column7.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="Column3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="Column2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="Column11.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="Column8.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+</root>
\ No newline at end of file
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestInputList/FrmReqInputListAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestInputList/FrmReqInputListAuxiliary.cs	(nonexistent)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestInputList/FrmReqInputListAuxiliary.cs	(revision 329)
@@ -0,0 +1,1084 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+using System.Collections;
+using System.Diagnostics;
+using System.Threading;
+
+using log4net;
+using log4net.Appender;
+using log4net.Repository.Hierarchy;
+
+using ProcessManagement.Common;
+using ProcessManagement.DB.IOAccess;
+using ProcessManagement.DataModel;
+using ProcessManagement.DB.Core;
+using ProcessManagement.Forms.CustomControls;
+using ProcessManagement.Forms.ControlsAction;
+using ProcessManagement.Forms.SubForms;
+
+namespace ProcessManagement.Forms.DataEntry
+{
+    partial class FrmReqInputList
+    {
+        #region ’è�”
+       
+        #region Žæ“¾—ñ’è‹`
+        /// <summary>
+        /// Žæ“¾—ñ’è‹`
+        /// </summary>
+        private enum GetData
+        {
+            ConstructionCode,
+            ConstructionPeriod,
+            ConstructionName,
+            ConstructionStatusFlg,
+            SalesCode,
+            SalesName,
+            SalesDepCode,
+            SalesDepName,
+            SalesManDispOrder,
+            SalesDepDispOrder,
+            ConstCode,
+            ConstName,
+            ConstDepCode,
+            ConstDepName,
+            ConstManDispOrder,
+            ConstDepDispOrder,
+            MainConstructionCode,
+        }
+        #endregion
+
+        #endregion
+
+        #region •Ï�”
+        #endregion
+
+        #region ƒvƒ�ƒpƒeƒB
+        #endregion
+
+        #region ŽŸƒvƒ�ƒZƒX‹N“®
+        /// <summary>
+        /// �HŽ–ˆê——‚æ‚è‹N“®‚·‚éƒvƒ�ƒZƒX‘I‘ð�ˆ—�
+        /// </summary>
+        /// <param name="para_ConstructionCode"></param>
+        private void SubProcessExecute(int para_ConstructionCode = 0, int para_OrderNo = 0)
+        {
+            try
+            {
+                DataGridView dgv = dgvEntry;
+
+                int NowPoint = ClsExcute.GetNowProcessPoint();
+                // Œ»�Ý�Ý’è’lƒNƒŠƒA
+                ClsExcute.ClearSaveParameter(NowPoint);
+                // ----- ‰æ–Ê�î•ñ‘Þ”ð
+                // ŒŸ�õ”N
+                ClsExcute.ProcControlPara[NowPoint].StringSaveParameter.Add(numUDConstPro.Value.ToString());
+                // ’S“–ŽÒ‘I‘ð‹æ•ª‘Þ”ð
+                if (radioButton2.Checked) ClsExcute.ProcControlPara[NowPoint].BoolSaveParameter.Add(true);
+                // ŒŸ�õ•”��
+                ClsExcute.ProcControlPara[NowPoint].IntSaveParameter.Add(CommonMotions.cnvInt(cmbDepartment.SelectedValue));
+                // ŒŸ�õ’S“–ŽÒ
+                ClsExcute.ProcControlPara[NowPoint].IntSaveParameter.Add(CommonMotions.cnvInt(cmbConstructionPerson.SelectedValue));
+
+                // •\Ž¦�æ“ª�s
+                ClsExcute.ProcControlPara[NowPoint].IntSaveParameter.Add(dgv.FirstDisplayedScrollingRowIndex);
+
+                // Œ»�Ý“ª�s
+                ClsExcute.ProcControlPara[NowPoint].IntSaveParameter.Add(dgv.CurrentRow.Index);
+
+                // ƒ\�[ƒg�ó‘Ô
+                if (dgv.SortedColumn != null)
+                {
+                    ClsExcute.ProcControlPara[NowPoint].IntSaveParameter.Add((int)dgv.SortedColumn.Index);
+                    ClsExcute.ProcControlPara[NowPoint].IntSaveParameter.Add((int)dgv.SortOrder);
+                }
+
+                // ŽŸ‹N“®ƒvƒ�ƒZƒXƒZƒbƒg
+                NowPoint = ClsExcute.NextProcess(m_ExecuteFlg);
+                // ‘I‘ð�HŽ–”Ô�†ƒZƒbƒg
+                ClsExcute.ProcControlPara[NowPoint].IntExecParameter.Add(para_ConstructionCode);
+                // Žó•t”Ô�†ƒZƒbƒg
+                ClsExcute.ProcControlPara[NowPoint].IntExecParameter.Add(para_OrderNo);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+            finally
+            {
+                // ƒNƒ��[ƒY�ˆ—�‚ðOFF‚É‚·‚é�B
+                m_CloseingProcessOff = true;
+                // ‰æ–ÊƒNƒ��[ƒY
+                this.Close();
+            }
+        }
+        #endregion
+
+        #region ŒŸ�õSQL‚ÌƒZƒLƒ…ƒŠƒeƒB”»’è•”•ª‚ð�ì�¬‚·‚é
+        /// <summary>
+        /// ŒŸ�õSQL‚ÌƒZƒLƒ…ƒŠƒeƒB”»’è•”•ª‚ð�ì�¬‚·‚é
+        /// </summary>
+        /// <param name="strSQL"></param>
+        private void CreateSecuritySQL(ref StringBuilder strSQL)
+        {
+            try
+            {
+                // ƒL�[’lŽæ“¾
+                int AllPath = (int)CommonDefine.SecurityRangePos.AllPath;           // ‘S•”��
+                int Multiple = (int)CommonDefine.SecurityRangePos.Multiple;         // •¡�”•”��
+                int Only = (int)CommonDefine.SecurityRangePos.Only;                 // Ž©•”��‚Ì‚Ý
+                int None = (int)CommonDefine.SecurityRangePos.None;                 // Ž©’S“–ŽÒ‚Ì‚Ý
+
+                int iStatus = CommonDefine.ProjectsStatus.First(x => x.Value.Equals("ˆË—ŠŽó‚¯’†")).Key;
+                int iStatus2 = CommonDefine.ProjectsStatus.First(x => x.Value.Equals("•”��ˆøŒp")).Key;
+
+                // ƒf�[ƒ^ƒAƒNƒZƒX‚ÉŒ ŒÀ‚É‚æ‚è�§ŒÀ‚ª‚ ‚é
+                if (CommonMotions.LoginUserData.PersonCode == CommonDefine.AdminCode
+                || CommonMotions.LoginUserSecurity.SecRange == CommonDefine.SecurityRangeList[AllPath].Key)
+                {
+                    // ‚·‚×‚Ä‘Î�Û�i�§ŒÀSQL–³�j
+                }
+                else if (CommonMotions.LoginUserSecurity.SecRange == CommonDefine.SecurityRangeList[Multiple].Key
+                        || CommonMotions.LoginUserSecurity.SecRange == CommonDefine.SecurityRangeList[Only].Key)
+                {
+                    // ˆê•”�§ŒÀ—L
+                    // ‹@–§ŠÇ—�ŽÒ�iŽ©•”��‚Ì‚Ý�j
+
+                    strSQL.Append(" And (A.SalesPersonCode IN (Select A1.PersonCode From PersonInChargeMaster A1");
+                    strSQL.AppendFormat(" Where A1.DepartmentCode IN (SELECT A2.DEPARTMENTCODE FROM PERSONDEPARTMENTMASTER A2 WHERE A2.PERSONCODE = {0}))", CommonMotions.LoginUserData.PersonCode);
+
+                    strSQL.AppendFormat(" Or (A.ConstructionStatusFlg >= {0}", iStatus);
+
+                    strSQL.Append(" And (A.ConstructionPersonCode IN (Select A3.PersonCode From PersonInChargeMaster A3");
+                    strSQL.AppendFormat(" Where A3.DepartmentCode IN (SELECT A4.DEPARTMENTCODE FROM PERSONDEPARTMENTMASTER A4 WHERE A4.PERSONCODE = {0}))", CommonMotions.LoginUserData.PersonCode);
+
+                    strSQL.Append(" Or A.CONSTRSUBPERSONCODE IN (Select A5.PersonCode From PersonInChargeMaster A5");
+                    strSQL.AppendFormat(" Where A5.DepartmentCode IN (SELECT A6.DEPARTMENTCODE FROM PERSONDEPARTMENTMASTER A6 WHERE A6.PERSONCODE = {0}))", CommonMotions.LoginUserData.PersonCode);
+
+                    strSQL.Append(" Or A.ConstructionInstructor IN (Select A7.PersonCode From PersonInChargeMaster A7");
+                    strSQL.AppendFormat(" Where A7.DepartmentCode IN (SELECT A8.DEPARTMENTCODE FROM PERSONDEPARTMENTMASTER A8 WHERE A8.PERSONCODE = {0}))))", CommonMotions.LoginUserData.PersonCode);
+
+                    strSQL.AppendFormat(" Or (A.ConstructionStatusFlg >= {0} And A.ConstructionPersonCode = 0)", iStatus);          // �Š‘®’·‚ÍŒ©�Ï’ñ�oŒã‚Å�HŽ–’S“–ŽÒ‚ª“ü‚Á‚Ä‚¢‚È‚¢�ê�‡•\Ž¦
+                    strSQL.AppendFormat(" Or (A.ConstructionStatusFlg = {0}", iStatus2);                                            // •”��ˆøŒpŽž‚ÍˆøŒp•”��‚Ì‚à‚Ì‚ÍŒ©‚¦‚é
+                    strSQL.AppendFormat(" And A.TransferConstruction = {0}))", CommonMotions.LoginUserData.DepartmentCode);
+                }
+                else if (CommonMotions.LoginUserSecurity.SecRange == CommonDefine.SecurityRangeList[None].Key)
+                {
+                    // ˆê”ÊŽg—pŽÒ
+                    strSQL.AppendFormat(" And (A.SalesPersonCode = {0}", CommonMotions.LoginUserData.PersonCode);
+
+                    strSQL.AppendFormat(" Or (A.ConstructionStatusFlg >= {0}", iStatus);
+
+                    strSQL.AppendFormat(" And (A.ConstructionPersonCode = {0}", CommonMotions.LoginUserData.PersonCode);
+
+                    strSQL.AppendFormat(" Or A.CONSTRSUBPERSONCODE = {0}", CommonMotions.LoginUserData.PersonCode);
+
+                    strSQL.AppendFormat(" Or A.ConstructionInstructor = {0})))", CommonMotions.LoginUserData.PersonCode);
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", ex.Message, strSQL);
+            }
+        }
+        #endregion
+
+        #region ’S“–ŽÒ‚ª‘I‘ð‚³‚ê‚Ä‚¢‚é�ê�‡
+        /// <summary>
+        /// ’S“–ŽÒ‚ª‘I‘ð‚³‚ê‚Ä‚¢‚é�ê�‡
+        /// </summary>
+        /// <returns></returns>
+        private string GetPersonString()
+        {
+            try
+            {
+                string strRet = string.Empty;
+
+                // ‰c‹Æ’S“–ŽÒ‚ª‘I‘ð‚³‚ê‚Ä‚¢‚é�ê�‡
+                int PersonCode = GetConstructionPersonCode();
+                if (PersonCode == 0) return strRet;
+
+                if (radioButton1.Visible)
+                {
+                    if (radioButton1.Checked)
+                        strRet = string.Format(" AND A.SalesPersonCode = {0}", PersonCode);
+                    else
+                        strRet = string.Format(" AND (A.ConstructionPersonCode = {0} OR A.ConstrSubPersonCode = {0} OR A.ConstructionInstructor = {0})", PersonCode);
+                }
+                return strRet;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+                return string.Empty;
+            }
+        }
+        #endregion
+
+        #region •”��‚ª‘I‘ð‚³‚ê‚Ä‚¢‚é�ê�‡
+        /// <summary>
+        /// •”��‚ª‘I‘ð‚³‚ê‚Ä‚¢‚é�ê�‡
+        /// </summary>
+        /// <returns></returns>
+        private string GetDepartmentString()
+        {
+            try
+            {
+                string strRet = string.Empty;
+
+                int DepartmentCode = GetDepartmentCode();
+                if (DepartmentCode == 0) return strRet;
+                    
+                strRet += string.Format(" AND (C.DEPARTMENTCODE = {0} OR D.DEPARTMENTCODE = {0})", DepartmentCode);
+
+                return strRet;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+                return string.Empty;
+            }
+        }
+        #endregion
+
+        #region �¿‹�ˆê——SQL�ì�¬
+        /// <summary>
+        /// �¿‹�ˆê——SQL�ì�¬
+        /// </summary>
+        /// <param name="strSQL"></param>
+        private void CreateInitSQL(ref StringBuilder strSQL)
+        {
+            try
+            {
+                int Status1 = CommonDefine.ProjectsStatus.First(x => x.Value.Equals("�¿‹��€”õ")).Key;
+                int Status2 = CommonDefine.ProjectsStatus.First(x => x.Value.Equals("Žó�@�@’�")).Key;
+                int Status3 = CommonDefine.ProjectsStatus.First(x => x.Value.Equals("”ñ Žó ’�")).Key;
+
+                strSQL.Append("SELECT * FROM (");
+                for (int i = 0; i < 2; i++)
+                {
+                    switch (i)
+                    {
+                        case 0:
+                            strSQL.Append("SELECT");
+                            break;
+                        case 1:
+                            strSQL.Append(" UNION SELECT");
+                            break;
+                    }
+
+                    strSQL.Append(" DISTINCT A.CONSTRUCTIONCODE,");
+                    strSQL.Append(" A.CONSTRUCTIONPERIOD,");
+                    strSQL.Append(" B.DETAILSTRING,");
+                    strSQL.Append(" A.CONSTRUCTIONSTATUSFLG,");
+                    strSQL.Append(" C.PERSONCODE AS SALESMANCODE,");
+                    strSQL.Append(" C.PERSONNAME AS SALESMANNAME,");
+                    strSQL.Append(" C.DEPARTMENTCODE AS SALESDEPCODE,");
+                    strSQL.Append(" C.DEPARTMENTNAME AS SALESDEPNAME,");
+                    strSQL.Append(" C.MANDISPORDER AS SALESMANORDER,");
+                    strSQL.Append(" C.DEPDISPORDER AS SALESDEPORDER,");
+                    strSQL.Append(" D.PERSONCODE,");
+                    strSQL.Append(" D.PERSONNAME,");
+                    strSQL.Append(" D.DEPARTMENTCODE,");
+                    strSQL.Append(" D.DEPARTMENTNAME,");
+                    strSQL.Append(" D.MANDISPORDER,");
+                    strSQL.Append(" D.DEPDISPORDER,");
+                    strSQL.Append(" E.MAINCONSTRUCTIONCODE");
+
+                    strSQL.Append(" FROM CONSTRUCTIONBASEINFO A");
+
+                    strSQL.Append(" LEFT JOIN (SELECT CA.CONSTRUCTIONCODE, CA.SALESPERSONCODE PERSONCODE, CB.PERSONNAME PERSONNAME,");
+                    strSQL.Append(" CB.DEPARTMENTCODE DEPARTMENTCODE, CC.DEPARTMENTSTRING DEPARTMENTNAME,");
+                    strSQL.Append(" CB.DISPLAYORDER MANDISPORDER, CC.DISPLAYORDER DEPDISPORDER");
+                    strSQL.Append(" FROM CONSTRUCTIONBASEINFO CA");
+                    strSQL.Append(" LEFT JOIN PERSONINCHARGEMASTER CB ON CA.SALESPERSONCODE = CB.PERSONCODE");
+                    strSQL.Append(" LEFT JOIN DEPARTMENTMASTER CC ON CB.DEPARTMENTCODE = CC.DEPARTMENTCODE");
+                    strSQL.AppendFormat(" WHERE CA.CONSTRUCTIONPERIOD = {0}) C ON A.CONSTRUCTIONCODE = C.CONSTRUCTIONCODE", numUDConstPro.Value);
+
+                    strSQL.Append(" LEFT JOIN (SELECT DA.CONSTRUCTIONCODE, DA.CONSTRUCTIONPERSONCODE PERSONCODE, DB.PERSONNAME PERSONNAME,");
+                    strSQL.Append(" DB.DEPARTMENTCODE DEPARTMENTCODE, DC.DEPARTMENTSTRING DEPARTMENTNAME,");
+                    strSQL.Append(" DB.DISPLAYORDER MANDISPORDER, DC.DISPLAYORDER DEPDISPORDER");
+                    strSQL.Append(" FROM CONSTRUCTIONBASEINFO DA");
+                    strSQL.Append(" LEFT JOIN PERSONINCHARGEMASTER DB ON DA.CONSTRUCTIONPERSONCODE = DB.PERSONCODE");
+                    strSQL.Append(" LEFT JOIN DEPARTMENTMASTER DC ON DB.DEPARTMENTCODE = DC.DEPARTMENTCODE");
+
+                    strSQL.AppendFormat(" WHERE DA.CONSTRUCTIONPERIOD = {0}) D ON A.CONSTRUCTIONCODE = D.CONSTRUCTIONCODE", numUDConstPro.Value);
+                    switch (i)
+                    {
+                        case 0:
+                            strSQL.Append(", CONSTRUCTIONBASEINFODETAIL B");
+                            strSQL.Append(" LEFT JOIN REQUESTDATA E ON E.MAINCONSTRUCTIONCODE = B.CONSTRUCTIONCODE");
+                            break;
+                        case 1:
+                            strSQL.Append(", CONSTRUCTIONBASEINFODETAIL B, REQUESTDATA E");
+                            break;
+                    }
+
+                    strSQL.AppendFormat(" WHERE A.CONSTRUCTIONPERIOD = {0}", numUDConstPro.Value);
+                    strSQL.AppendFormat(" AND A.JOINFLG != {0}", (int)ConstructionBaseInfo.JoinFlgDef.JoinChildren);
+                    strSQL.AppendFormat(" AND A.TYINGFLG != {0}", (int)ConstructionBaseInfo.TyingFlgDef.Tying);
+
+                    strSQL.AppendFormat(" AND A.BILLINGSPLITFLG = {0}", m_ExecuteSubFlg);
+
+                    strSQL.Append(" AND A.CONSTRUCTIONCODE = B.CONSTRUCTIONCODE");
+                    strSQL.AppendFormat(" AND B.DETAILNO = {0}", (int)ConstructionBaseInfoDetail.DataNoDef.ConstructionName);
+
+                    strSQL.AppendFormat(" AND A.CONSTRUCTIONSTATUSFLG != {0}", Status3);
+                    switch (i)
+                    {
+                        case 0:
+                            switch (m_ExecuteSubFlg)
+                            {
+                                case (int)ConstructionBaseInfo.BillingSplitFlgDef.AllOnBilling:
+                                    // �¿‹�ˆêŠ‡“ü—Í
+                                    strSQL.AppendFormat(" AND {0} <= A.CONSTRUCTIONSTATUSFLG", Status1);
+                                    break;
+                                case (int)ConstructionBaseInfo.BillingSplitFlgDef.SplitBilling:
+                                    // �¿‹�•ªŠ„“ü—Í
+                                    strSQL.AppendFormat(" AND {0} <= A.CONSTRUCTIONSTATUSFLG", Status2);
+                                    break;
+                                default:
+                                    break;
+                            }
+                            break;
+                        case 1:
+                            strSQL.Append(" AND E.MAINCONSTRUCTIONCODE = B.CONSTRUCTIONCODE");
+                            break;
+                    }
+
+                    // •”��‚ª‘I‘ð‚³‚ê‚Ä‚¢‚é�ê�‡
+                    strSQL.Append(GetDepartmentString());
+
+                    // ’S“–ŽÒ‚ª‘I‘ð‚³‚ê‚Ä‚¢‚é�ê�‡
+                    strSQL.Append(GetPersonString());
+
+                    // ƒZƒLƒ…ƒŠƒeƒB•¶Žš—ñŽæ“¾
+                    StringBuilder wrkBuff = new StringBuilder();
+                    CreateSecuritySQL(ref wrkBuff);
+                    strSQL.Append(wrkBuff);
+                }
+
+                strSQL.Append(") AS UNI");
+                // ORDER BY ’Ç‰Á
+                strSQL.Append(" ORDER BY 4 ASC, 10 ASC, 9 ASC, 16 ASC, 15 ASC, 1 DESC");
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region ƒOƒŠƒbƒh‚Öƒf�[ƒ^‚ðƒZƒbƒg‚·‚é
+        /// <summary>
+        /// ƒOƒŠƒbƒh‚Öƒf�[ƒ^‚ðƒZƒbƒg‚·‚é
+        /// </summary>
+        /// <param name="arData"></param>
+        private void SetToGridData(ArrayList arData)
+        {
+            IOPurchaseOrder OrderDB = new IOPurchaseOrder();
+            try
+            {
+                DataGridView dgv = dgvEntry;
+
+                // ƒf�[ƒ^•\Ž¦
+                int ino = 1;
+                int StatusFlg = -1;
+                bool initFlg = true;
+                string strSalesDepName = string.Empty;
+                string strSalesName = string.Empty;
+                string strConstDepName = string.Empty;
+                string strConstName = string.Empty;
+                string strStatus = string.Empty;
+                string strConstrName = string.Empty;
+                int ConstrCode = 0;
+                int OrderNo = 0;
+                string MarkCode = string.Empty;
+                foreach (object[] objwrk in arData)
+                {
+                    ConstrCode = CommonMotions.cnvInt(objwrk[(int)GetData.ConstructionCode]);
+                    strConstrName = CommonMotions.cnvString(objwrk[(int)GetData.ConstructionName]);
+
+                    MarkCode = string.Empty;
+                    if (CommonMotions.cnvInt(objwrk[(int)GetData.MainConstructionCode]) != 0) MarkCode = "�ì�¬�Ï";
+
+                    // ƒXƒe�[ƒ^ƒXƒtƒ‰ƒO‚ªˆá‚¦‚Î1�sŠJ‚¯‚é
+                    if (StatusFlg != CommonMotions.cnvInt(objwrk[(int)GetData.ConstructionStatusFlg]))
+                    {
+                        StatusFlg = CommonMotions.cnvInt(objwrk[(int)GetData.ConstructionStatusFlg]);
+                        strStatus = CommonDefine.ProjectsStatus[StatusFlg];
+                        if (!initFlg) dgv.Rows.Add(1);
+                        initFlg = false;
+                    }
+
+                    strSalesDepName = CommonMotions.cnvString(objwrk[(int)GetData.SalesDepName]);
+                    strSalesName = CommonMotions.cnvString(objwrk[(int)GetData.SalesName]);
+                    strConstDepName = CommonMotions.cnvString(objwrk[(int)GetData.ConstDepName]);
+                    strConstName = CommonMotions.cnvString(objwrk[(int)GetData.ConstName]);
+
+                    dgv.Rows.Add((ino++)
+                                        , strSalesDepName
+                                        , strSalesName
+                                        , strConstDepName
+                                        , strConstName
+                                        , strConstrName
+                                        , strStatus
+                                        , CommonMotions.cnvInt(objwrk[(int)GetData.ConstructionPeriod])
+                                        , ConstrCode
+                                        , OrderNo
+                                        , MarkCode
+                                        );
+
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+            finally
+            {
+                OrderDB.close(); OrderDB = null;
+            }
+        }
+        #endregion
+
+        #region ‘Î�Û”N“x�‰ŠúƒZƒbƒg
+        /// <summary>
+        /// ‘Î�Û”N“x�‰ŠúƒZƒbƒg
+        /// </summary>
+        private void SetInitnumUDConstPro()
+        {
+            try
+            {
+                // ŒŸ�õ”N“xƒZƒbƒg
+                // ƒf�[ƒ^‚É‚ ‚éŽ–‹ÆŠú‚ÆŒ»�Ý‚ÌŽ–‹ÆƒZƒbƒg
+                int minval = 0;
+                int maxval = 0;
+                CommonMotions.GetPeriodYear(ref minval, ref maxval);
+                numUDConstPro.Minimum = minval;
+                numUDConstPro.Maximum = maxval;
+                numUDConstPro.Value = CommonMotions.SystemMasterData.BusinessPeriod;
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region �‰ŠúŽž‚Éƒ�ƒOƒCƒ“’S“–ŽÒ‚ðƒZƒbƒg‚·‚é
+        /// <summary>
+        /// �‰ŠúŽž‚Éƒ�ƒOƒCƒ“’S“–ŽÒ‚ðƒZƒbƒg‚·‚é
+        /// </summary>
+        private void InitDepPersonCode()
+        {
+            try
+            {
+                // ŒŸ�õ”N“xƒZƒbƒg
+                // ƒf�[ƒ^‚É‚ ‚éŽ–‹ÆŠú‚ÆŒ»�Ý‚ÌŽ–‹ÆƒZƒbƒg
+                int minval = 0;
+                int maxval = 0;
+                CommonMotions.GetPeriodYear(ref minval, ref maxval);
+                numUDConstPro.Minimum = minval;
+                numUDConstPro.Maximum = maxval;
+                numUDConstPro.Value = CommonMotions.SystemMasterData.BusinessPeriod;
+
+                // ----- ‘Þ”ðŒŸ�õƒf�[ƒ^‚ª‚ ‚Á‚½�ê�‡‚ÍƒZƒbƒg‚·‚é
+                int NowPoint = ClsExcute.GetNowProcessPoint();
+                //�@”N“x
+                if (ClsExcute.ProcControlPara[NowPoint].StringSaveParameter.Count > 0)
+                {
+                    numUDConstPro.Value = CommonMotions.cnvInt(ClsExcute.ProcControlPara[NowPoint].StringSaveParameter[0]);
+                    // ’S“–ŽÒ‘I‘ð‹æ•ª‘Þ”ð
+                    if (ClsExcute.ProcControlPara[NowPoint].BoolSaveParameter.Count > 0)
+                        if (ClsExcute.ProcControlPara[NowPoint].BoolSaveParameter[0]) radioButton2.Checked = true;
+
+                    // •”���E’S“–ŽÒ
+                    if (ClsExcute.ProcControlPara[NowPoint].IntSaveParameter.Count > 0)
+                        cmbDepartment.SelectedValue = ClsExcute.ProcControlPara[NowPoint].IntSaveParameter[0];
+                    SetcmbPersons();
+                    if (ClsExcute.ProcControlPara[NowPoint].IntSaveParameter.Count > 1)
+                        cmbConstructionPerson.SelectedValue = ClsExcute.ProcControlPara[NowPoint].IntSaveParameter[1];
+                }
+                else
+                {
+                    // ‘I‘ð•”��‚ª•¡�”‚ÌŽÒ‚ÍƒZƒbƒg‚µ‚È‚¢
+                    if (cmbDepartment.Items.Count > 2) return;
+                    cmbDepartment.SelectedValue = CommonMotions.LoginUserData.DepartmentCode;
+                    SetcmbPersons();
+                    cmbConstructionPerson.SelectedValue = CommonMotions.LoginUserData.PersonCode;
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region ƒf�[ƒ^•\Ž¦�ˆ—�
+        /// <summary>
+        /// ˆê——ƒf�[ƒ^•\Ž¦�ˆ—�
+        /// </summary>
+        private void DataDisplay()
+        {
+            IOConstructionBaseInfo cbiDB = new IOConstructionBaseInfo();
+            try
+            {
+                foreach (DataGridViewColumn wrkCol in dgvEntry.Columns) wrkCol.SortMode = DataGridViewColumnSortMode.NotSortable;
+                dgvEntry.Rows.Clear();
+                StringBuilder strSQL = new StringBuilder();
+                // SQL�ì�¬
+                CreateInitSQL(ref strSQL);
+                ArrayList arData = new ArrayList();
+                // �HŽ–Šî–{�î•ñŽæ“¾
+                if (cbiDB.ExecuteReader(strSQL.ToString(), ref arData))
+                {
+                    // ƒOƒŠƒbƒh‚ÖƒZƒbƒg‚Æ‚·‚é
+                    SetToGridData(arData);
+                }
+
+                // ƒf�[ƒ^‚ª‘½‚­‚È‚ê‚Îƒ\�[ƒg‚Å‚«‚é
+                if (CommonDefine.s_MaxInitLineCount < arData.Count)
+                {
+                    foreach (DataGridViewColumn wrkCol in dgvEntry.Columns)
+                        wrkCol.SortMode = DataGridViewColumnSortMode.Automatic;
+                }
+                else
+                {
+                    // Žb’è‚Åƒ\�[ƒg‚ð“ü‚ê‚é
+                    foreach (DataGridViewColumn wrkCol in dgvEntry.Columns)
+                        wrkCol.SortMode = DataGridViewColumnSortMode.Automatic;
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+            finally
+            {
+                cbiDB.close(); cbiDB = null;
+                if (CommonDefine.s_MaxInitLineCount > dgvEntry.RowCount)
+                    dgvEntry.RowCount += (CommonDefine.s_MaxInitLineCount - dgvEntry.RowCount);
+            }
+        }
+        #endregion
+
+        #region �‰ŠúŽžƒf�[ƒ^Žæ“¾
+        /// <summary>
+        /// �‰ŠúŽžƒf�[ƒ^Žæ“¾
+        /// </summary>
+        private void InitDataLoad()
+        {
+            try
+            {
+                DataGridView dgv = dgvEntry;
+
+                int NowPoint = ClsExcute.GetNowProcessPoint();
+
+                string strSubTitle = string.Empty;
+                switch (m_ExecuteSubFlg)
+                {
+                    case (int)ConstructionBaseInfo.BillingSplitFlgDef.SplitBilling:
+                        strSubTitle = "�i�o—ˆ�‚�j";
+                        break;
+                    case (int)ConstructionBaseInfo.BillingSplitFlgDef.AllOnBilling:
+                        strSubTitle = "�iŠ®—¹Œã�j";
+                        break;
+                }
+                // �ˆ—�–¼�Ì•\Ž¦
+                lblProcessTitil.Text = string.Format("{0}{1}", ClsExcute.ProcessExecuteName[m_ExecuteFlg].Replace("�|", ""), strSubTitle);
+
+                // ƒOƒŠƒbƒh‚Ì�s‚ð0‚É–ß‚·
+                dgv.Rows.Clear();
+
+                // ƒf�[ƒ^•\Ž¦
+                DataDisplay();
+
+                // •\Ž¦�æ“ª�s
+                if (ClsExcute.ProcControlPara[NowPoint].IntSaveParameter.Count > 3)
+                {
+                    dgv.FirstDisplayedScrollingRowIndex = ClsExcute.ProcControlPara[NowPoint].IntSaveParameter[2];
+
+                    // Œ»�Ý“ª�s
+                    dgv.Rows[ClsExcute.ProcControlPara[NowPoint].IntSaveParameter[3]].Selected = true;
+                }
+                // ƒ\�[ƒg�ó‘Ô
+                if (ClsExcute.ProcControlPara[NowPoint].IntSaveParameter.Count > 4)
+                {
+                    // ƒJƒ‰ƒ€Žæ“¾
+                    DataGridViewColumn wrksortcolumn = dgv.Columns[ClsExcute.ProcControlPara[NowPoint].IntSaveParameter[4]];
+                    // ƒ\�[ƒgƒI�[ƒ_�[Žæ“¾
+                    ListSortDirection sortDirection = ((SortOrder)ClsExcute.ProcControlPara[NowPoint].IntSaveParameter[5]) == SortOrder.Ascending ?
+                                                                        ListSortDirection.Ascending : ListSortDirection.Descending;
+                    dgv.Sort(wrksortcolumn, sortDirection);
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region �‰Šú•\Ž¦‚ÌƒXƒ^ƒCƒ‹‚ð•Ï�X
+        /// <summary>
+        /// �‰Šú•\Ž¦‚ÌƒXƒ^ƒCƒ‹‚ð•Ï�X‚·‚é
+        /// </summary>
+        private void InitDisplayStyle()
+        {
+            try
+            {
+                // ƒtƒH�[ƒ€ƒTƒCƒYŽæ“¾
+                m_FormWidthSize = this.Width;
+
+                DataGridView dgv = dgvEntry;
+                // ƒOƒŠƒbƒh‚Ì�î•ñ‚ðŽæ“¾‚·‚é
+                m_GridWidthSize = dgv.Width;
+
+                int CellCount = dgv.ColumnCount;
+                m_CellSize = new int[CellCount];
+                foreach (DataGridViewColumn col in dgv.Columns)
+                {
+                    if (col.Visible)
+                        m_CellSize[col.Index] = col.Width;
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region ‰æ–ÊƒTƒCƒY•Ï�XŽž‚ÌƒZƒ‹ƒTƒCƒY•Ï�X
+        /// <summary>
+        /// ‰æ–ÊƒTƒCƒY•Ï�XŽž‚ÌƒZƒ‹ƒTƒCƒY•Ï�X
+        /// </summary>
+        private void CellSizeChangesWhenChangingScreenSize(bool bNormal)
+        {
+            try
+            {
+                DataGridView dgv = dgvEntry;
+                int idifference = 0;
+                // �Å‘å‰»‚Ì�ê�‡
+                if (!bNormal)
+                {
+                    // ƒJƒ‰ƒ€‚ÌƒTƒCƒY‚ð‹�‚ß‚é
+                    int ColumnCount = 0;
+                    int TotalWidth = 0;
+                    int NotVisibleSize = 0;
+                    for (int i = 0; i < m_CellSize.Length; i++)
+                    {
+                        TotalWidth += m_CellSize[i];
+                        if (dgv.Columns[i].Visible)
+                        {
+                            ColumnCount++;
+                        }
+                        else
+                        {
+                            NotVisibleSize += m_CellSize[i];
+                        }
+                    }
+
+                    // ‘å‚«‚­‚È‚Á‚½ƒTƒCƒY
+                    int formdiff = (dgv.Width - (m_GridWidthSize - NotVisibleSize));
+
+                    idifference = formdiff / ColumnCount;
+                }
+
+                for (int i = 0; i < dgv.ColumnCount; i++)
+                {
+                    DataGridViewColumn wrkCol = dgv.Columns[i];
+                    wrkCol.Width = m_CellSize[i] + idifference;
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region •”��ƒRƒ“ƒ{‚æ‚è’S“–ŽÒƒR�[ƒh‚ðŽæ“¾‚·‚é
+        /// <summary>
+        /// •”��ƒRƒ“ƒ{‚æ‚è’S“–ŽÒƒR�[ƒh‚ðŽæ“¾‚·‚é
+        /// </summary>
+        /// <returns></returns>
+        private int GetDepartmentCode()
+        {
+            try
+            {
+                // •\Ž¦‚³‚ê‚Ä‚¢‚È‚¢�ê�‡‚Í‘I‘ð–³
+                //if (!cmbDepartment.Visible) return 0;
+
+                return CommonMotions.cnvInt(cmbDepartment.SelectedValue);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}", ex.Message);
+                return 0;
+            }
+        }
+        #endregion
+
+        #region ’S“–ŽÒƒRƒ“ƒ{‚æ‚è’S“–ŽÒƒR�[ƒh‚ðŽæ“¾‚·‚é
+        /// <summary>
+        /// ’S“–ŽÒƒRƒ“ƒ{‚æ‚è’S“–ŽÒƒR�[ƒh‚ðŽæ“¾‚·‚é
+        /// </summary>
+        /// <returns></returns>
+        private int GetConstructionPersonCode()
+        {
+            try
+            {
+                // •\Ž¦‚³‚ê‚Ä‚¢‚È‚¢�ê�‡‚Í‘I‘ð–³
+                //if (!cmbConstructionPerson.Visible) return 0;
+
+                return CommonMotions.cnvInt(cmbConstructionPerson.SelectedValue);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}", ex.Message);
+                return 0;
+            }
+        }
+        #endregion
+
+        #region ƒRƒ“ƒ{ƒ{ƒbƒNƒX�‰Šú•\Ž¦
+        /// <summary>
+        /// ƒRƒ“ƒ{ƒ{ƒbƒNƒX�‰Šú•\Ž¦
+        /// </summary>
+        private void InitCombBox()
+        {
+            try
+            {
+                int AllPath = (int)CommonDefine.SecurityRangePos.AllPath;           // ‘S•”��
+                int Multiple = (int)CommonDefine.SecurityRangePos.Multiple;         // •¡�”•”��
+                int Only = (int)CommonDefine.SecurityRangePos.Only;                 // Ž©•”��‚Ì‚Ý
+                int None = (int)CommonDefine.SecurityRangePos.None;                 // Ž©’S“–ŽÒ‚Ì‚Ý
+
+                if (CommonMotions.LoginUserData.PersonCode == CommonDefine.AdminCode
+                    || CommonMotions.LoginUserSecurity.SecRange == CommonDefine.SecurityRangeList[AllPath].Key)
+                {
+                    // •”���E’S“–ŽÒƒRƒ“ƒ{•\Ž¦
+                    DispAllCombBoxControl(true);
+                }
+                else
+                {
+                    if (CommonMotions.LoginUserSecurity.SecRange == (int)CommonDefine.SecurityRangeList[Multiple].Key)
+                    {
+                        // •”���E’S“–ŽÒƒRƒ“ƒ{•\Ž¦
+                        DispAllCombBoxControl(true);
+                    }
+                    else if (CommonMotions.LoginUserSecurity.SecRange == (int)CommonDefine.SecurityRangeList[Only].Key)
+                    {
+                        // •”��ƒRƒ“ƒ{”ñ•\Ž¦
+                        NonDispDepCombBox();
+                    }
+                    else if (CommonMotions.LoginUserSecurity.SecRange == (int)CommonDefine.SecurityRangeList[None].Key)
+                    {
+                        // •”���E’S“–ŽÒƒRƒ“ƒ{•\Ž¦–³
+                        DispAllCombBoxControl(false);
+                    }
+                }
+
+                // ‘�–±‹Æ–±Žg—pŽÒ‚ªƒ�ƒOƒCƒ“‚µ‚Ä‚¢‚é�ê�‡‚ÍƒRƒ“ƒ{‚ð‹ó”’‚É‚·‚é
+                if (CommonMotions.LoginUserSecurity.GeneralAffairs == (int)SecurityMaster.GeneAffDef.GeneralDep) return;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region •”��ƒRƒ“ƒ{ƒ{ƒbƒNƒX‚Ì”ñ•\Ž¦�ˆ—�
+        /// <summary>
+        /// •”��ƒRƒ“ƒ{ƒ{ƒbƒNƒX‚Ì”ñ•\Ž¦�ˆ—�
+        /// </summary>
+        private void NonDispDepCombBox()
+        {
+            try
+            {
+                // •”��ƒRƒ“ƒ{”ñ•\Ž¦
+                label2.Visible = false;
+                cmbDepartment.Visible = false;
+
+                // •\Ž¦ˆÊ’u‚ÌƒZƒbƒg
+                Point loc1 = radioButton1.Location;
+                Point loc2 = radioButton2.Location;
+                loc1.X = label2.Location.X;
+                loc2.X = label2.Location.X;
+                radioButton1.Location = loc1;
+                radioButton2.Location = loc2;
+                
+                Point loc3 = label3.Location;
+                loc3.X = loc1.X + radioButton1.Width + 10;
+                label3.Location = loc3;
+                
+                Point loc4 = cmbConstructionPerson.Location;
+                loc4.X = label3.Location.X + label3.Width + 10;
+                cmbConstructionPerson.Location = loc4;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region ‘SƒRƒ“ƒ{ƒ{ƒbƒNƒX•\Ž¦‚ðON/OFF‚·‚é
+        /// <summary>
+        /// ‘SƒRƒ“ƒ{ƒ{ƒbƒNƒX•\Ž¦‚ðON/OFF‚·‚é
+        /// </summary>
+        private void DispAllCombBoxControl(bool bDsp)
+        {
+            try
+            {
+                // •”���E’S“–ŽÒƒRƒ“ƒ{”ñ•\Ž¦
+                radioButton1.Visible = bDsp;
+                radioButton2.Visible = bDsp;
+                label2.Visible = bDsp;
+                cmbDepartment.Visible = bDsp;
+                label3.Visible = bDsp;
+                cmbConstructionPerson.Visible = bDsp;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region •”��ƒRƒ“ƒ{ƒ{ƒbƒNƒX‚ðƒZƒbƒg‚·‚é
+        /// <summary>
+        /// •”��ƒRƒ“ƒ{ƒ{ƒbƒNƒX‚Ö•¶Žš‚ðƒZƒbƒg‚·‚é
+        /// </summary>
+        private void SetcmbDepartment()
+        {
+            IOMDepartment depDB = new IOMDepartment();
+            bool bSave = m_initDataLoad;
+            m_initDataLoad = true;
+            try
+            {
+
+                cmbDepartment.DataSource = null;
+                cmbDepartment.Items.Clear();
+                cmbDepartment.Text = "";
+
+                StringBuilder strSQL = new StringBuilder();
+                // •”��ƒ}ƒXƒ^‚ðŒŸ�õ‚·‚é
+                strSQL.AppendFormat("SELECT A.DEPARTMENTCODE, A.DEPARTMENTSTRING, A.DISPLAYORDER, COUNT(*)");
+                strSQL.Append(" FROM DEPARTMENTMASTER A, PERSONINCHARGEMASTER B, CONSTRUCTIONBASEINFO C");
+                strSQL.Append(" WHERE A.DELETEFLG = 0");
+
+                if (CommonMotions.LoginUserData.PersonCode != CommonDefine.AdminCode)
+                {
+                    // ŽQ�Æ•”��ƒ}ƒXƒ^‚æ‚èŽæ“¾‚·‚é
+                    strSQL.Append(" AND A.DEPARTMENTCODE IN (SELECT A1.DEPARTMENTCODE FROM PERSONDEPARTMENTMASTER A1");
+                    strSQL.AppendFormat(" WHERE A1.PERSONCODE = {0})", CommonMotions.LoginUserData.PersonCode);
+                }
+
+                strSQL.Append(" AND A.DEPARTMENTCODE = B.DEPARTMENTCODE");
+                strSQL.Append(" AND B.PERSONCODE = C.CONSTRUCTIONPERSONCODE");
+                strSQL.Append(" GROUP BY A.DEPARTMENTCODE, A.DEPARTMENTSTRING, A.DISPLAYORDER");
+                strSQL.Append(" ORDER BY A.DISPLAYORDER ASC");
+
+                // •”��ƒ}ƒXƒ^“Ç�ž
+                ArrayList arList = new ArrayList();
+                if (!depDB.ExecuteReader(strSQL.ToString(), ref arList)) return;
+
+                List<KeyValuePair<int, string>> ConstructionDataList = new List<KeyValuePair<int, string>>();
+                ConstructionDataList.Add(new KeyValuePair<int, string>(0, ""));
+
+                foreach (object[] work in arList)
+                {
+                    KeyValuePair<int, string> keyval = new KeyValuePair<int, string>(CommonMotions.cnvInt(work[0])
+                                                                                    , CommonMotions.cnvString(work[1]));
+
+                    ConstructionDataList.Add(keyval);
+                }
+
+                // ƒRƒ“ƒ{ƒ{ƒbƒNƒX�‰Šú•\Ž¦
+                ComboBoxAction.InitDataSetCombBox(cmbDepartment, ConstructionDataList);
+
+                return;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+            finally
+            {
+                depDB.close(); depDB = null;
+                m_initDataLoad = bSave;
+            }
+        }
+        #endregion
+
+        #region ’S“–ŽÒƒRƒ“ƒ{ƒ{ƒbƒNƒX‚ðƒZƒbƒg‚·‚é
+        /// <summary>
+        /// ’S“–ŽÒƒRƒ“ƒ{ƒ{ƒbƒNƒX‚Ö•¶Žš‚ðƒZƒbƒg‚·‚é
+        /// </summary>
+        private void SetcmbPersons()
+        {
+            IOMPersonInCharge picDB = new IOMPersonInCharge();
+            List<PersonInChargeMaster> workList = new List<PersonInChargeMaster>();
+            bool bSave = m_initDataLoad;
+            m_initDataLoad = true;
+            try
+            {
+                cmbConstructionPerson.DataSource = null;
+                cmbConstructionPerson.Items.Clear();
+                cmbConstructionPerson.Text = "";
+
+                int DepartmentCode = GetDepartmentCode();
+                StringBuilder strSQL = new StringBuilder();
+                // ŒŸ�õ�ðŒ�
+                strSQL.AppendFormat(" WHERE LEDGERFLG = {0}", (int)PersonInChargeMaster.LedgerDivNoDef.CalcTarget);
+                strSQL.Append(" AND (DEPARTMENTCODE");
+                StringBuilder strSubSQL = new StringBuilder();
+                if (DepartmentCode == 0)
+                {
+                    // ŽQ�Æ•”��ƒ}ƒXƒ^‚æ‚èŽæ“¾‚·‚é
+                    strSubSQL.AppendFormat(" IN (SELECT AA.DEPARTMENTCODE FROM PERSONDEPARTMENTMASTER AA WHERE AA.PERSONCODE = {0})"
+                                            , CommonMotions.LoginUserData.PersonCode);
+                }
+                else
+                {
+                    strSubSQL.AppendFormat(" = {0}", DepartmentCode);
+                }
+                strSQL.Append(strSubSQL.ToString());
+                strSQL.Append(")");
+
+                // “–ŠúŠúŽñ“ú�EŠú––“ú‚ðŽæ“¾
+                DateTime dtDefaultStart = DateTime.MinValue;
+                DateTime dtDefaultEnd = DateTime.MinValue;
+                CreateDefaultStartAndEndDate(ref dtDefaultStart, ref dtDefaultEnd);
+
+                strSQL.AppendFormat(" AND (DATE(STARTDATE) <= STR_TO_DATE('{0}','%Y/%m/%d')", dtDefaultEnd.ToShortDateString());
+                strSQL.AppendFormat(" AND (STR_TO_DATE('{0}','%Y/%m/%d') <= DATE(ENDDATE)", dtDefaultStart.ToShortDateString());
+                strSQL.AppendFormat(" OR STR_TO_DATE('{0}','%Y/%m/%d') = DATE(ENDDATE)))", DateTime.MinValue.ToShortDateString());
+
+                strSQL.Append(" Order By DeleteFlg ASC, EmployeeClassFlg ASC, DisplayOrder ASC");
+                // ’S“–ŽÒƒ}ƒXƒ^“Ç�ž
+                if (!picDB.SelectAction(strSQL.ToString(), ref workList)) return;
+
+                List<KeyValuePair<int, string>> ConstructionDataList = new List<KeyValuePair<int, string>>();
+                ConstructionDataList.Add(new KeyValuePair<int, string>(0, ""));
+
+                foreach (PersonInChargeMaster work in workList)
+                {
+                    KeyValuePair<int, string> keyval = new KeyValuePair<int, string>(work.PersonCode, work.PersonName);
+
+                    ConstructionDataList.Add(keyval);
+                }
+
+                // ƒRƒ“ƒ{ƒ{ƒbƒNƒX�‰Šú•\Ž¦
+                ComboBoxAction.InitDataSetCombBox(cmbConstructionPerson, ConstructionDataList);
+
+                return;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+            finally
+            {
+                picDB.close(); picDB = null;
+                m_initDataLoad = bSave;
+            }
+        }
+        #endregion
+
+        #region ƒfƒtƒHƒ‹ƒg‚ÌŠúŽñ“ú�EŠú––“ú‚ð‹�‚ß‚é
+        /// <summary>
+        /// ƒfƒtƒHƒ‹ƒg‚ÌŠúŽñ“ú�EŠú––“ú‚ð‹�‚ß‚é
+        /// </summary>
+        /// <param name="dtStart"></param>
+        /// <param name="dtEnd"></param>
+        private void CreateDefaultStartAndEndDate(ref DateTime dtStart, ref DateTime dtEnd)
+        {
+            try
+            {
+                // “–ŠúŠúŽñ”NŒŽ“ú‚ðŽæ“¾
+                int iYear = 0;
+                int month = 0;
+                int day = 0;
+                bool bPeriod = false;
+                if (CommonMotions.SystemMasterData.ConstructionNoBase == (int)SystemMaster.ConstrNoBaseDef.BusinessPeriod)
+                {   // ‰c‹ÆŠú
+                    iYear = CommonMotions.PeriodCountToYear(CommonMotions.cnvInt(numUDConstPro.Value));
+                    bPeriod = true;
+                }
+                else
+                {   // �HŽ–”N“x
+                    iYear = CommonMotions.SystemMasterData.ConstrYear;
+                }
+                CommonMotions.GetNowBeginMonthDay(bPeriod, ref month, ref day);
+                dtStart = new DateTime(iYear, month, day);
+                dtEnd = dtStart.AddYears(1).AddDays(-1);     // �I—¹‚Í�{1”N�|1“ú
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region ’S“–ŽÒƒRƒ“ƒ{ƒ{ƒbƒNƒXƒZƒbƒgŽž•”��‚ðƒZƒbƒg‚·‚é
+        /// <summary>
+        /// ’S“–ŽÒƒRƒ“ƒ{ƒ{ƒbƒNƒXƒZƒbƒgŽž•”��‚ðƒZƒbƒg‚·‚é
+        /// </summary>
+        /// <returns></returns>
+        private bool SetPerosonToDepartment()
+        {
+            IOMPersonInCharge PersonDB = new IOMPersonInCharge();
+            try
+            {
+                // ƒRƒ“ƒ{ƒ{ƒbƒNƒX‚æ‚è‘I‘ð’S“–ŽÒ‚ðŽæ“¾‚·‚é
+                int PersonCode = GetConstructionPersonCode();
+                if (PersonCode < 1) return false;
+
+                int DepartmentCode = GetDepartmentCode();
+
+                StringBuilder strSQL = new StringBuilder();
+                strSQL.Append(PersonDB.CreatePrimarykeyString(PersonCode));
+                PersonInChargeMaster PersonRec = new PersonInChargeMaster();
+                PersonDB.SelectAction(strSQL.ToString(), ref PersonRec);
+
+                // •”��ƒRƒ“ƒ{ƒ{ƒbƒNƒX‚Ö•”��ƒR�[ƒhƒZƒbƒg
+                if (PersonRec.DepartmentCode > 0 && DepartmentCode != PersonRec.DepartmentCode)
+                {
+                    bool bSave = m_initDataLoad;
+                    m_initDataLoad = true;
+                    cmbDepartment.SelectedValue = PersonRec.DepartmentCode;
+                    SetcmbPersons();    // ’S“–ŽÒƒRƒ“ƒ{ƒ{ƒbƒNƒX•Ï�X
+                    cmbConstructionPerson.SelectedValue = PersonCode;
+                    m_initDataLoad = bSave;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                PersonDB.close(); PersonDB = null;
+            }
+        }
+        #endregion
+
+    }
+}
\ No newline at end of file
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/TAndPCosts/FrmTAndPCosts.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/TAndPCosts/FrmTAndPCosts.cs	(revision 328)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/TAndPCosts/FrmTAndPCosts.cs	(revision 329)
@@ -665,7 +665,7 @@
                     if (CommonMotions.chkObjectIsNull(dgv.Rows[c.RowIndex].Cells[c.ColumnIndex])) continue;
                     if (CommonMotions.chkCellBlank(dgv.Rows[c.RowIndex].Cells[c.ColumnIndex].Value)) continue;
 
-                    Console.WriteLine("{0}, {1}", c.ColumnIndex, c.RowIndex);
+                    //Console.WriteLine("{0}, {1}", c.ColumnIndex, c.RowIndex);
                     DataCnt++;
                     dTotal += CommonMotions.cnvDouble(dgv.Rows[c.RowIndex].Cells[c.ColumnIndex].Value);
                     if (CommonMotions.chkNumeric(dgv.Rows[c.RowIndex].Cells[c.ColumnIndex].Value)) NumericCnt++;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/Material/MaterialItemsMaster/FrmMaterialItemsMaster.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/Material/MaterialItemsMaster/FrmMaterialItemsMaster.cs	(revision 328)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/Material/MaterialItemsMaster/FrmMaterialItemsMaster.cs	(revision 329)
@@ -260,8 +260,8 @@
                 // ã‚»ãƒ«æ›´æ–°
                 dgvMaster.Rows[dgvMaster.CurrentCell.RowIndex].Cells[(int)DispColumn.RowState].Value = DataRowState.Modified;
 
-                Console.Write("å ´æ‰€ {0} ", "FrmMaterialItemsEntry_KeyDown");
-                Console.WriteLine("     {0} è¡Œç›® æ›´æ–°", dgvMaster.CurrentCell.RowIndex);
+                //Console.Write("å ´æ‰€ {0} ", "FrmMaterialItemsEntry_KeyDown");
+                //Console.WriteLine("     {0} è¡Œç›® æ›´æ–°", dgvMaster.CurrentCell.RowIndex);
 
                 //// æœ€çµ‚è¡Œæ™‚ã�®å‡¦ç�†
                 //GridLastLine();
@@ -283,8 +283,8 @@
             // ã‚»ãƒ«æ›´æ–°
             dgvMaster.Rows[dgvMaster.CurrentCell.RowIndex].Cells[(int)DispColumn.RowState].Value = DataRowState.Modified;
 
-            Console.Write("å ´æ‰€ {0} ", "valueChange");
-            Console.WriteLine("     {0} è¡Œç›® æ›´æ–°", dgvMaster.CurrentCell.RowIndex);
+            //Console.Write("å ´æ‰€ {0} ", "valueChange");
+            //Console.WriteLine("     {0} è¡Œç›® æ›´æ–°", dgvMaster.CurrentCell.RowIndex);
 
         }
         #endregion
@@ -1214,8 +1214,8 @@
             m_bChengeAns = true;
             // ã‚»ãƒ«æ›´æ–°
             dgvMaster.Rows[dgvMaster.CurrentCell.RowIndex].Cells[(int)DispColumn.RowState].Value = DataRowState.Modified;
-            Console.Write("å ´æ‰€ {0} ", "dgvMaster_CellValueChanged");
-            Console.WriteLine("     {0} è¡Œç›® æ›´æ–°", dgvMaster.CurrentCell.RowIndex);
+            //Console.Write("å ´æ‰€ {0} ", "dgvMaster_CellValueChanged");
+            //Console.WriteLine("     {0} è¡Œç›® æ›´æ–°", dgvMaster.CurrentCell.RowIndex);
 
         }
 
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/Orderer/FrmOrderers.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/Orderer/FrmOrderers.cs	(revision 328)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/Orderer/FrmOrderers.cs	(revision 329)
@@ -980,7 +980,7 @@
                 if (m_dispControl[(int)DispCtrl.Note].Text.Length != 0)
                     work.Note = m_dispControl[(int)DispCtrl.Note].Text;
 
-                // 
+                // ç™ºæ³¨è€…ãƒžã‚¹ã‚¿ç�¾åœ¨ãƒ‡ãƒ¼ã‚¿å­˜åœ¨ç¢ºèª�
                 string strWhere = orDB.CreatePrimarykeyString(CommonMotions.cnvInt(cmbDivision.SelectedValue.ToString()), work.OrderersCode);
 
                 if (!orDB.SelectAction(strWhere, ref workList, false))
@@ -995,11 +995,24 @@
                 int iChange = CommonMotions.cnvInt(cmbChangeOrdersDivision.SelectedValue.ToString());
                 if (iDivision != iChange)
                 {
+                    // å¤‰æ›´å‰�ç™ºæ³¨è€…ã‚³ãƒ¼ãƒ‰å�–å¾—
+                    int[] nNameCode = new int[] { work.OrderersCode, 0 };
+
                     string strMaxCount = orDB.CreatePrimarykeyString(work.OrderCotegory);
-                    // ç§»å‹•å…ˆè¡¨ç¤ºé †
-                    orDB.SetDisplayOrder(strMaxCount, false);
+                    // ç§»å‹•å…ˆã‚­ãƒ¼ã‚»ãƒƒãƒˆ
                     work.OrderersCode = orDB.SelectMaxOrderersCodeCount(strMaxCount, false) + 1;
+                    // ç§»å‹•å…ˆè¡¨ç¤ºé †ã‚»ãƒƒãƒˆ
                     work.DisplayOrder = orDB.GetMaxDisplayOrder(strMaxCount, false) + 1;
+
+                    // ç™ºæ³¨è€…ãƒžã‚¹ã‚¿ã‚’å�‚ç…§ã�—ã�¦ã�„ã‚‹ãƒ‡ãƒ¼ã‚¿ã�®æ›´æ–°
+                    int[] nDivision = new int[] { iDivision, iChange };
+                    nNameCode[(int)DataTimeDef.NewTime] = work.OrderersCode;
+                    if (!ChangeReferDivision(nDivision, nNameCode))
+                    {
+                        orDB.rollback();
+                        MessageBox.Show("å�‚ç…§ãƒ‡ãƒ¼ã‚¿æ›´æ–°ã�«å¤±æ•—ã�—ã�¾ã�—ã�Ÿã€‚", "ç™»éŒ²ã‚¨ãƒ©ãƒ¼", MessageBoxButtons.OK, MessageBoxIcon.Error);
+                        return false;
+                    }
                 }
 
                 if (workList.Count == 0)
@@ -1011,10 +1024,6 @@
                         work.DisplayOrder = orDB.GetMaxDisplayOrder(strMaxCount, false) + 1;
                     }
 
-                    // ãƒ‡ãƒ¼ã‚¿ã�Œã�ªã�„å ´å�ˆ
-                    //workList.Clear();
-                    //workList.Add(work);
-
                     // ãƒ‡ãƒ¼ã‚¿ç™»éŒ²
                     if (!orDB.InsertAction(work, false))
                     {
@@ -1399,5 +1408,363 @@
             }
         }
         #endregion
+
+        #region ãƒ‡ãƒ¼ã‚¿æ™‚æœŸå®šç¾©
+        /// <summary>
+        /// ãƒ‡ãƒ¼ã‚¿æ™‚æœŸå®šç¾©
+        /// </summary>
+        private enum DataTimeDef
+        {
+            /// <summary>
+            /// æ—§ãƒ‡ãƒ¼ã‚¿
+            /// </summary>
+            OLDTime = 0,
+            /// <summary>
+            /// æ–°ãƒ‡ãƒ¼ã‚¿
+            /// </summary>
+            NewTime,
+        }
+        #endregion
+
+        #region ç™ºæ³¨è€…ãƒžã‚¹ã‚¿å�‚ç…§ãƒ‡ãƒ¼ã‚¿æ›´æ–°
+        /// <summary>
+        /// ç™ºæ³¨è€…ãƒžã‚¹ã‚¿å�‚ç…§ãƒ‡ãƒ¼ã‚¿æ›´æ–°
+        /// </summary>
+        /// <returns></returns>
+        private bool ChangeReferDivision(int[] nDivision, int[] nNameCode)
+        {
+            IOConstructionBaseInfo BaseDB = new IOConstructionBaseInfo();
+            IORequestHead ReqheadDB = new IORequestHead();
+            IOInvoiceData InvoiceDB = new IOInvoiceData();
+            IODepositData DepositDB = new IODepositData();
+            IODepositDataDetail DeposDetailDB = new IODepositDataDetail();
+            IODepositApprovalInfo DeposAppDB = new IODepositApprovalInfo();
+            try
+            {
+                BaseDB.connect(); BaseDB.beginTran();
+                ReqheadDB.connect(); ReqheadDB.beginTran();
+                InvoiceDB.connect(); InvoiceDB.beginTran();
+                DepositDB.connect(); DepositDB.beginTran();
+                DeposDetailDB.connect(); DeposDetailDB.beginTran();
+                DeposAppDB.connect(); DeposAppDB.beginTran();
+
+                // å·¥äº‹åŸºæœ¬æƒ…å ±æ›´æ–°
+                if (!ChangeConstructionBaseInfo(BaseDB, nDivision, nNameCode))
+                {
+                    BaseDB.rollback();
+                    return false;
+                }
+                // è«‹æ±‚ãƒ˜ãƒƒãƒ€æ›´æ–°
+                if(!ChangeRequestHead(ReqheadDB, nDivision, nNameCode))
+                {
+                    BaseDB.rollback();
+                    ReqheadDB.rollback();
+                    return false;
+                }
+                // è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿æ›´æ–°
+                if(!ChangeInvoiceData(InvoiceDB, nDivision, nNameCode))
+                {
+                    BaseDB.rollback();
+                    ReqheadDB.rollback();
+                    InvoiceDB.rollback();
+                    return false;
+                }
+                // å…¥é‡‘ãƒ‡ãƒ¼ã‚¿æ›´æ–°
+                if(!ChangeDepositData(DepositDB, nDivision, nNameCode))
+                {
+                    BaseDB.rollback();
+                    ReqheadDB.rollback();
+                    InvoiceDB.rollback();
+                    DepositDB.rollback();
+                    return false;
+                }
+                // å…¥é‡‘æ˜Žç´°ãƒ‡ãƒ¼ã‚¿æ›´æ–°
+                if(!ChangeDepositDataDetail(DeposDetailDB, nDivision, nNameCode))
+                {
+                    BaseDB.rollback();
+                    ReqheadDB.rollback();
+                    InvoiceDB.rollback();
+                    DepositDB.rollback();
+                    DeposDetailDB.rollback();
+                    return false;
+                }
+                // å…¥é‡‘ç¢ºèª�æ‰¿èª�ãƒ‡ãƒ¼ã‚¿æ›´æ–°
+                if(!ChangeDepositApprovalInfo(DeposAppDB, nDivision, nNameCode))
+                {
+                    BaseDB.rollback();
+                    ReqheadDB.rollback();
+                    InvoiceDB.rollback();
+                    DepositDB.rollback();
+                    DeposDetailDB.rollback();
+                    DeposAppDB.rollback();
+                    return false;
+                }
+
+                BaseDB.commit();
+                ReqheadDB.commit();
+                InvoiceDB.commit();
+                DepositDB.commit();
+                DeposDetailDB.commit();
+                DeposAppDB.commit();
+
+                return true;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                BaseDB.close(); BaseDB = null;
+                ReqheadDB.close(); ReqheadDB = null;
+                InvoiceDB.close(); InvoiceDB = null;
+                DepositDB.close(); DepositDB = null;
+                DeposDetailDB.close(); DeposDetailDB = null;
+                DeposAppDB.close(); DeposAppDB = null;
+            }
+        }
+        #endregion
+
+        #region å�‚ç…§ãƒ‡ãƒ¼ã‚¿æ›´æ–°æ™‚SQL
+        /// <summary>
+        /// Selectæ–‡å­—åˆ—
+        /// </summary>
+        private const string strSelect = "Select OrderersDivision, OrderersCode From {0}";
+        /// <summary>
+        /// Whereæ–‡å­—åˆ—
+        /// </summary>
+        private const string strWhere = " Where OrderersDivision = {0} And OrderersCode = {1}";
+        /// <summary>
+        /// UpDateæ–‡å­—åˆ—
+        /// </summary>
+        private const string strUpdate = "Update {0}";
+        /// <summary>
+        /// UpDate Setæ–‡å­—åˆ—
+        /// </summary>
+        private const string strUpdateSet = " Set OrderersDivision = {0}, OrderersCode = {1}, UpdateDate = Now()";
+        #endregion
+
+        #region å·¥äº‹åŸºæœ¬æƒ…å ±æ›´æ–°
+        /// <summary>
+        /// å·¥äº‹åŸºæœ¬æƒ…å ±æ›´æ–°
+        /// </summary>
+        /// <returns></returns>
+        private bool ChangeConstructionBaseInfo(IOConstructionBaseInfo BaseDB
+                                                , int[] nDivision, int[] nNameCode)
+        {
+            try
+            {
+                StringBuilder strSQL = new StringBuilder();
+
+                // ãƒ‡ãƒ¼ã‚¿å­˜åœ¨ç¢ºèª�
+                strSQL.Append(string.Format(strSelect, "ConstructionBaseInfo"));
+                strSQL.Append(string.Format(strWhere, nDivision[(int)DataTimeDef.OLDTime], nNameCode[(int)DataTimeDef.OLDTime]));
+                ArrayList arList = new ArrayList();
+                if (!BaseDB.ExecuteReader(strSQL.ToString(), ref arList, false)) return false;
+                // ãƒ‡ãƒ¼ã‚¿ã�Œç„¡ã�‘ã‚Œã�°å‡¦ç�†çµ‚äº†
+                if (arList.Count < 1) return true;
+
+                // å¯¾è±¡ãƒ‡ãƒ¼ã‚¿ã�Œã�‚ã‚Œã�°æ›´æ–°
+                strSQL.Clear();
+                strSQL.Append(string.Format(strUpdate, "ConstructionBaseInfo"));
+                strSQL.Append(string.Format(strUpdateSet, nDivision[(int)DataTimeDef.NewTime], nNameCode[(int)DataTimeDef.NewTime]));
+                strSQL.Append(string.Format(strWhere, nDivision[(int)DataTimeDef.OLDTime], nNameCode[(int)DataTimeDef.OLDTime]));
+                if (!BaseDB.ExecuteNonQuery(strSQL.ToString(), false)) return false;
+
+                return true;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+        }
+        #endregion
+
+        #region è«‹æ±‚ãƒ˜ãƒƒãƒ€æ›´æ–°
+        /// <summary>
+        /// è«‹æ±‚ãƒ˜ãƒƒãƒ€æ›´æ–°
+        /// </summary>
+        /// <returns></returns>
+        private bool ChangeRequestHead(IORequestHead ReqheadDB
+                                                , int[] nDivision, int[] nNameCode)
+        {
+            try
+            {
+                StringBuilder strSQL = new StringBuilder();
+
+                // ãƒ‡ãƒ¼ã‚¿å­˜åœ¨ç¢ºèª�
+                strSQL.Append(string.Format(strSelect, "requesthead"));
+                strSQL.Append(string.Format(strWhere, nDivision[(int)DataTimeDef.OLDTime], nNameCode[(int)DataTimeDef.OLDTime]));
+                ArrayList arList = new ArrayList();
+                if (!ReqheadDB.ExecuteReader(strSQL.ToString(), ref arList, false)) return false;
+                // ãƒ‡ãƒ¼ã‚¿ã�Œç„¡ã�‘ã‚Œã�°å‡¦ç�†çµ‚äº†
+                if (arList.Count < 1) return true;
+
+                // å¯¾è±¡ãƒ‡ãƒ¼ã‚¿ã�Œã�‚ã‚Œã�°æ›´æ–°
+                strSQL.Clear();
+                strSQL.Append(string.Format(strUpdate, "requesthead"));
+                strSQL.Append(string.Format(strUpdateSet, nDivision[(int)DataTimeDef.NewTime], nNameCode[(int)DataTimeDef.NewTime]));
+                strSQL.Append(string.Format(strWhere, nDivision[(int)DataTimeDef.OLDTime], nNameCode[(int)DataTimeDef.OLDTime]));
+                if (!ReqheadDB.ExecuteNonQuery(strSQL.ToString(), false)) return false;
+
+                return true;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+        }
+        #endregion
+
+        #region è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿æ›´æ–°
+        /// <summary>
+        /// è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿æ›´æ–°
+        /// </summary>
+        /// <returns></returns>
+        private bool ChangeInvoiceData(IOInvoiceData InvoiceDB
+                                                , int[] nDivision, int[] nNameCode)
+        {
+            try
+            {
+                StringBuilder strSQL = new StringBuilder();
+
+                // ãƒ‡ãƒ¼ã‚¿å­˜åœ¨ç¢ºèª�
+                strSQL.Append(string.Format(strSelect, "invoicedata"));
+                strSQL.Append(string.Format(strWhere, nDivision[(int)DataTimeDef.OLDTime], nNameCode[(int)DataTimeDef.OLDTime]));
+                ArrayList arList = new ArrayList();
+                if (!InvoiceDB.ExecuteReader(strSQL.ToString(), ref arList, false)) return false;
+                // ãƒ‡ãƒ¼ã‚¿ã�Œç„¡ã�‘ã‚Œã�°å‡¦ç�†çµ‚äº†
+                if (arList.Count < 1) return true;
+
+                // å¯¾è±¡ãƒ‡ãƒ¼ã‚¿ã�Œã�‚ã‚Œã�°æ›´æ–°
+                strSQL.Clear();
+                strSQL.Append(string.Format(strUpdate, "invoicedata"));
+                strSQL.Append(string.Format(strUpdateSet, nDivision[(int)DataTimeDef.NewTime], nNameCode[(int)DataTimeDef.NewTime]));
+                strSQL.Append(string.Format(strWhere, nDivision[(int)DataTimeDef.OLDTime], nNameCode[(int)DataTimeDef.OLDTime]));
+                if (!InvoiceDB.ExecuteNonQuery(strSQL.ToString(), false)) return false;
+
+                return true;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+        }
+        #endregion
+
+        #region å…¥é‡‘ãƒ‡ãƒ¼ã‚¿æ›´æ–°
+        /// <summary>
+        /// å…¥é‡‘ãƒ‡ãƒ¼ã‚¿æ›´æ–°
+        /// </summary>
+        /// <returns></returns>
+        private bool ChangeDepositData(IODepositData DepositDB
+                                                , int[] nDivision, int[] nNameCode)
+        {
+            try
+            {
+                StringBuilder strSQL = new StringBuilder();
+
+                // ãƒ‡ãƒ¼ã‚¿å­˜åœ¨ç¢ºèª�
+                strSQL.Append(string.Format(strSelect, "DepositData"));
+                strSQL.Append(string.Format(strWhere, nDivision[(int)DataTimeDef.OLDTime], nNameCode[(int)DataTimeDef.OLDTime]));
+                ArrayList arList = new ArrayList();
+                if (!DepositDB.ExecuteReader(strSQL.ToString(), ref arList, false)) return false;
+                // ãƒ‡ãƒ¼ã‚¿ã�Œç„¡ã�‘ã‚Œã�°å‡¦ç�†çµ‚äº†
+                if (arList.Count < 1) return true;
+
+                // å¯¾è±¡ãƒ‡ãƒ¼ã‚¿ã�Œã�‚ã‚Œã�°æ›´æ–°
+                strSQL.Clear();
+                strSQL.Append(string.Format(strUpdate, "DepositData"));
+                strSQL.Append(string.Format(strUpdateSet, nDivision[(int)DataTimeDef.NewTime], nNameCode[(int)DataTimeDef.NewTime]));
+                strSQL.Append(string.Format(strWhere, nDivision[(int)DataTimeDef.OLDTime], nNameCode[(int)DataTimeDef.OLDTime]));
+                if (!DepositDB.ExecuteNonQuery(strSQL.ToString(), false)) return false;
+
+                return true;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+        }
+        #endregion
+
+        #region å…¥é‡‘æ˜Žç´°ãƒ‡ãƒ¼ã‚¿æ›´æ–°
+        /// <summary>
+        /// å…¥é‡‘æ˜Žç´°ãƒ‡ãƒ¼ã‚¿æ›´æ–°
+        /// </summary>
+        /// <returns></returns>
+        private bool ChangeDepositDataDetail(IODepositDataDetail DeposDetailDB
+                                                , int[] nDivision, int[] nNameCode)
+        {
+            try
+            {
+                StringBuilder strSQL = new StringBuilder();
+
+                // ãƒ‡ãƒ¼ã‚¿å­˜åœ¨ç¢ºèª�
+                strSQL.Append(string.Format(strSelect, "depositdatadetail"));
+                strSQL.Append(string.Format(strWhere, nDivision[(int)DataTimeDef.OLDTime], nNameCode[(int)DataTimeDef.OLDTime]));
+                ArrayList arList = new ArrayList();
+                if (!DeposDetailDB.ExecuteReader(strSQL.ToString(), ref arList, false)) return false;
+                // ãƒ‡ãƒ¼ã‚¿ã�Œç„¡ã�‘ã‚Œã�°å‡¦ç�†çµ‚äº†
+                if (arList.Count < 1) return true;
+
+                // å¯¾è±¡ãƒ‡ãƒ¼ã‚¿ã�Œã�‚ã‚Œã�°æ›´æ–°
+                strSQL.Clear();
+                strSQL.Append(string.Format(strUpdate, "depositdatadetail"));
+                strSQL.Append(string.Format(strUpdateSet, nDivision[(int)DataTimeDef.NewTime], nNameCode[(int)DataTimeDef.NewTime]));
+                strSQL.Append(string.Format(strWhere, nDivision[(int)DataTimeDef.OLDTime], nNameCode[(int)DataTimeDef.OLDTime]));
+                if (!DeposDetailDB.ExecuteNonQuery(strSQL.ToString(), false)) return false;
+
+                return true;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+        }
+        #endregion
+
+        #region å…¥é‡‘ç¢ºèª�æ‰¿èª�ãƒ‡ãƒ¼ã‚¿æ›´æ–°
+        /// <summary>
+        /// å…¥é‡‘ç¢ºèª�æ‰¿èª�ãƒ‡ãƒ¼ã‚¿æ›´æ–°
+        /// </summary>
+        /// <returns></returns>
+        private bool ChangeDepositApprovalInfo(IODepositApprovalInfo DeposAppDB
+                                                , int[] nDivision, int[] nNameCode)
+        {
+            try
+            {
+                StringBuilder strSQL = new StringBuilder();
+
+                // ãƒ‡ãƒ¼ã‚¿å­˜åœ¨ç¢ºèª�
+                strSQL.Append(string.Format(strSelect, "DepositApprovalInfo"));
+                strSQL.Append(string.Format(strWhere, nDivision[(int)DataTimeDef.OLDTime], nNameCode[(int)DataTimeDef.OLDTime]));
+                ArrayList arList = new ArrayList();
+                if (!DeposAppDB.ExecuteReader(strSQL.ToString(), ref arList, false)) return false;
+                // ãƒ‡ãƒ¼ã‚¿ã�Œç„¡ã�‘ã‚Œã�°å‡¦ç�†çµ‚äº†
+                if (arList.Count < 1) return true;
+
+                // å¯¾è±¡ãƒ‡ãƒ¼ã‚¿ã�Œã�‚ã‚Œã�°æ›´æ–°
+                strSQL.Clear();
+                strSQL.Append(string.Format(strUpdate, "DepositApprovalInfo"));
+                strSQL.Append(string.Format(strUpdateSet, nDivision[(int)DataTimeDef.NewTime], nNameCode[(int)DataTimeDef.NewTime]));
+                strSQL.Append(string.Format(strWhere, nDivision[(int)DataTimeDef.OLDTime], nNameCode[(int)DataTimeDef.OLDTime]));
+                if (!DeposAppDB.ExecuteNonQuery(strSQL.ToString(), false)) return false;
+
+                return true;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+        }
+        #endregion
     }
 }
\ No newline at end of file
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/Security/FrmSecurity.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/Security/FrmSecurity.cs	(revision 328)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/Security/FrmSecurity.cs	(revision 329)
@@ -95,7 +95,8 @@
                                                     new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ConstructionList, string.Empty),          //  1:å·¥äº‹æƒ…å ±ä¸€è¦§
                                                     new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ApprovalDocumentList, string.Empty),      //  7:æ‰¿èª�ç”³è«‹ä¸€è¦§
                                                     new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ConstructionCopyList, string.Empty),      //  8:å·¥äº‹æ¡ˆä»¶ã‚³ãƒ”ãƒ¼æ©Ÿèƒ½
-                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.BillingEntrylList, string.Empty),         // 39:è«‹æ±‚é�¸æŠžä¸€è¦§
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.RequestInputlList, string.Empty),         // 39:è«‹æ±‚ä½œæˆ�é�¸æŠžä¸€è¦§
+                                                    new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.RequestPrintList, string.Empty),          // 45:è«‹æ±‚æ›¸å�°åˆ·ä¸€è¦§
 
                                                     new KeyValuePair<int, string>(-1, "å�—ã€€æ³¨ã€€ç®¡ã€€ç�†"),                                                    // ----- ã‚¿ã‚¤ãƒˆãƒ«
                                                     new KeyValuePair<int, string>((int)ClsExcute.ProcessExecuteNo.ConstructionBaseInfo, string.Empty),      //  2:å·¥äº‹æƒ…å ±å…¥åŠ›
Index: branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmRequestPrint.resx
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmRequestPrint.resx	(revision 328)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmRequestPrint.resx	(nonexistent)
@@ -1,120 +0,0 @@
-ï»¿<?xml version="1.0" encoding="utf-8"?>
-<root>
-  <!-- 
-    Microsoft ResX Schema 
-    
-    Version 2.0
-    
-    The primary goals of this format is to allow a simple XML format 
-    that is mostly human readable. The generation and parsing of the 
-    various data types are done through the TypeConverter classes 
-    associated with the data types.
-    
-    Example:
-    
-    ... ado.net/XML headers & schema ...
-    <resheader name="resmimetype">text/microsoft-resx</resheader>
-    <resheader name="version">2.0</resheader>
-    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
-    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
-    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
-    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
-    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
-        <value>[base64 mime encoded serialized .NET Framework object]</value>
-    </data>
-    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
-        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
-        <comment>This is a comment</comment>
-    </data>
-                
-    There are any number of "resheader" rows that contain simple 
-    name/value pairs.
-    
-    Each data row contains a name, and value. The row also contains a 
-    type or mimetype. Type corresponds to a .NET class that support 
-    text/value conversion through the TypeConverter architecture. 
-    Classes that don't support this are serialized and stored with the 
-    mimetype set.
-    
-    The mimetype is used for serialized objects, and tells the 
-    ResXResourceReader how to depersist the object. This is currently not 
-    extensible. For a given mimetype the value must be set accordingly:
-    
-    Note - application/x-microsoft.net.object.binary.base64 is the format 
-    that the ResXResourceWriter will generate, however the reader can 
-    read any of the formats listed below.
-    
-    mimetype: application/x-microsoft.net.object.binary.base64
-    value   : The object must be serialized with 
-            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
-            : and then encoded with base64 encoding.
-    
-    mimetype: application/x-microsoft.net.object.soap.base64
-    value   : The object must be serialized with 
-            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
-            : and then encoded with base64 encoding.
-
-    mimetype: application/x-microsoft.net.object.bytearray.base64
-    value   : The object must be serialized into a byte array 
-            : using a System.ComponentModel.TypeConverter
-            : and then encoded with base64 encoding.
-    -->
-  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
-    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
-    <xsd:element name="root" msdata:IsDataSet="true">
-      <xsd:complexType>
-        <xsd:choice maxOccurs="unbounded">
-          <xsd:element name="metadata">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" />
-              </xsd:sequence>
-              <xsd:attribute name="name" use="required" type="xsd:string" />
-              <xsd:attribute name="type" type="xsd:string" />
-              <xsd:attribute name="mimetype" type="xsd:string" />
-              <xsd:attribute ref="xml:space" />
-            </xsd:complexType>
-          </xsd:element>
-          <xsd:element name="assembly">
-            <xsd:complexType>
-              <xsd:attribute name="alias" type="xsd:string" />
-              <xsd:attribute name="name" type="xsd:string" />
-            </xsd:complexType>
-          </xsd:element>
-          <xsd:element name="data">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
-                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
-              </xsd:sequence>
-              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
-              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
-              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
-              <xsd:attribute ref="xml:space" />
-            </xsd:complexType>
-          </xsd:element>
-          <xsd:element name="resheader">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
-              </xsd:sequence>
-              <xsd:attribute name="name" type="xsd:string" use="required" />
-            </xsd:complexType>
-          </xsd:element>
-        </xsd:choice>
-      </xsd:complexType>
-    </xsd:element>
-  </xsd:schema>
-  <resheader name="resmimetype">
-    <value>text/microsoft-resx</value>
-  </resheader>
-  <resheader name="version">
-    <value>2.0</value>
-  </resheader>
-  <resheader name="reader">
-    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </resheader>
-  <resheader name="writer">
-    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </resheader>
-</root>
\ No newline at end of file
Index: branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmRequestPrint.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmRequestPrint.cs	(revision 328)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmRequestPrint.cs	(nonexistent)
@@ -1,2054 +0,0 @@
-ï»¿using System;
-using System.Collections;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
-using System.Drawing;
-using System.Linq;
-using System.Text;
-using System.Windows.Forms;
-using System.Threading.Tasks;
-
-using ProcessManagement.Common;
-using ProcessManagement.DB.IOAccess;
-using ProcessManagement.DataModel;
-using ProcessManagement.Forms.CustomControls;
-using ProcessManagement.Forms.ControlsAction;
-
-namespace ProcessManagement.Forms.SubForms
-{
-    public partial class FrmRequestPrint : Form
-    {
-        #region ãƒ­ã‚°ä½¿ç”¨å®šç¾©
-        //log4netãƒ­ã‚°ã‚’ä½¿ç”¨ã�™ã‚‹
-        private static readonly log4net.ILog logger = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
-        #endregion
-
-        #region å®šæ•°
-        private enum Dispcount
-        {
-            ExeCuteDate = 0,
-            //ProgressStatusA,
-            //ProgressStatusB,
-            radioButtonA1,
-            radioButtonA2,
-            radioButtonB1,
-            radioButtonB2,
-            radioButtonC1,
-            radioButtonC2,
-        }
-
-        /// <summary>
-        /// Excelãƒ†ãƒ³ãƒ—ãƒ¬ãƒ¼ãƒˆãƒ•ã‚¡ã‚¤ãƒ«å��
-        /// </summary>
-        //private static string s_ExcelRequestSheetFileName = @"\RequestSheet.xlsx";
-        private static string s_ExcelRequestSheetFileName = CommonDefine.s_ExcelOriginalFileName;
-
-        /// <summary>
-        /// ãƒ‡ã‚¹ã‚¯ãƒˆãƒƒãƒ—ãƒ•ã‚©ãƒ«ãƒ€å��
-        /// </summary>
-        private static string s_ExecCurrentDirName = System.Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory);
-
-        /// <summary>
-        /// ã‚·ãƒ¼ãƒˆå��ç§°ã‚«ã‚¦ãƒ³ãƒˆ
-        /// </summary>
-        enum enumSheetName
-        {
-            Cover = 0,
-            List,
-            Detail,
-        }
-
-        /// <summary>
-        /// Excel ã‚·ãƒ¼ãƒˆå��ç§°
-        /// </summary>
-        private static readonly Dictionary<enumSheetName,string> s_DicSheetName = new Dictionary<enumSheetName, string>()
-        {
-            { enumSheetName.Cover, "è«‹æ±‚æ›¸ï¼ˆè¡¨ç´™ï¼‰" },
-            { enumSheetName.List, "è«‹æ±‚æ›¸ï¼ˆä¸€è¦§ï¼‰" },
-            { enumSheetName.Detail, "è«‹æ±‚æ›¸ï¼ˆå†…è¨³ï¼‰" },
-        };
-        #endregion
-
-        #region å¤‰æ•°
-
-        // ãƒ¦ãƒ¼ã‚¶ãƒ¼æƒ…å ±
-        private ClsSecurityPermission.UserInfo m_UserInfo = new ClsSecurityPermission.UserInfo()
-        {
-            m_Type = CommonDefine.SecurityRankPos.NormalAuthority,
-            m_GeneralAffairsFlg = (int)SecurityMaster.GeneAffDef.OtherDep,
-            m_SecRange = ClsSecurityPermission.SecRangeType.InCharge
-        };
-
-        /// <summary>
-        /// çµ‚äº†çŠ¶æ…‹ãƒ•ãƒ©ã‚°
-        /// </summary>
-        private DialogResult m_EndButton = DialogResult.None;
-
-        /// <summary>
-        /// å·¥äº‹ç•ªå�·
-        /// </summary>
-        private int m_ConstructionCode = 0;
-
-        /// <summary>
-        /// è«‹æ±‚ç•ªå�·
-        /// </summary>
-        private int m_RequestNo = 0;
-
-        /// <summary>
-        /// å®Ÿè¡Œæ™‚æ—¥ä»˜
-        /// </summary>
-        private DateTime m_ExcuteDate = DateTime.Now;
-        
-        /// <summary>
-        /// æ—¥ä»˜å�°åˆ·
-        /// </summary>
-        private bool m_bDatePrintFlg = true;
-        
-        /// <summary>
-        /// ã‚³ãƒ³ãƒ­ãƒ¼ãƒ«ã‚ªãƒ–ã‚¸ã‚§ã‚¯ãƒˆ
-        /// </summary>
-        private Control[] m_dispControl = new Control[9];
-
-        /// <summary>
-        /// å·¥äº‹åŸºæœ¬æƒ…å ±
-        /// </summary>
-        private ConstructionBaseInfo m_ConstructionBaseInfo = new ConstructionBaseInfo();
-
-        /// <summary>
-        /// å·¥äº‹åŸºæœ¬æƒ…å ±æ˜Žç´°
-        /// </summary>
-        private Dictionary<int, Dictionary<int, string>> m_DicConstructionBaseInfoDetail = new Dictionary<int, Dictionary<int, string>>();
-
-        /// <summary>
-        /// å¢—æ¸›å·¥äº‹æƒ…å ±
-        /// </summary>
-        private List<int> m_LstConstructionLink = new List<int>();
-
-        /// <summary>
-        /// è«‹æ±‚ãƒ‡ãƒ¼ã‚¿
-        /// </summary>
-        private RequestData m_RequestData = new RequestData();
-
-        /// <summary>
-        /// è«‹æ±‚å�ˆè¨ˆãƒ‡ãƒ¼ã‚¿
-        /// </summary>
-//        private List<RequestTotalData> m_LstRequestTotalData = new List<RequestTotalData>();
-
-        /// <summary>
-        /// ãƒ„ãƒ¼ãƒ«ãƒ�ãƒƒãƒ—
-        /// </summary>
-        private ToolTip ToolTip1 = new ToolTip();
-
-        /// <summary>
-        /// Excelå�°åˆ·ã‚¯ãƒ©ã‚¹ã‚ªãƒ–ã‚¸ã‚§ã‚¯ãƒˆ
-        /// </summary>
-        private UsedExcel m_UsedExcel = null;
-
-        /// <summary>
-        /// ä¿�å­˜æ™‚Excelãƒ‘ã‚¹
-        /// </summary>
-        private string m_SelectSaveExcel = "";
-
-        /// <summary>
-        /// è«‹æ±‚æ›¸No
-        /// </summary>
-        private int m_nInvoiceNo = 0;
-
-        /// <summary>
-        /// è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿
-        /// </summary>
-        private InvoiceData m_InvData = new InvoiceData();
-
-        /// <summary>
-        /// è«‹æ±‚æ›¸ãƒ˜ãƒƒãƒ€
-        /// </summary>
-        private List<RequestHead> m_lstReqHead = new List<RequestHead>();
-
-        /// <summary>
-        /// è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿
-        /// </summary>
-        private Dictionary<int, List<RequestData>> m_dicReqData = new Dictionary<int, List<RequestData>>();
-
-        private Dictionary<int, ConstructionBaseInfo> m_dicConstructionBaseInfo = new Dictionary<int, ConstructionBaseInfo>();
-        
-        // *-----* å…±é€šå‡¦ç�†è¨­å®š *-----*
-        /// <summary>
-        /// ã‚µãƒ–ãƒ•ã‚©ãƒ¼ãƒ ãƒ•ãƒ©ã‚°
-        /// </summary>
-        private bool m_SubForm = false;
-        /// <summary>
-        /// å‘¼å‡ºå…ƒçµ‚äº†ãƒ•ãƒ©ã‚°
-        /// </summary>
-        private bool m_ParentEnd = false;
-        // *-----* å…±é€šå‡¦ç�†è¨­å®š *-----*
-
-        /// <summary>
-        /// å›³å½¢ç½®ã��å ´ã‚·ãƒ¼ãƒˆ
-        /// </summary>
-        private const string s_shapeSheetName = "å›³å½¢ã‚·ãƒ¼ãƒˆ";
-        /// <summary>
-        /// å›³å½¢å��ç§°
-        /// </summary>
-        private const string s_shapeName = "EstimateSeal1";                                    // ç©�ç®—è¦‹ç©�è¡¨ç´™åˆ¤å­�
-        /// <summary>
-        /// å›³å½¢ã‚µã‚¤ã‚ºã€�ç¸¦ãƒ»æ¨ªã€‘ï¼ˆå›³å½¢å��ç§°é †ï¼‰
-        /// </summary>
-        private static float[,] s_ShapeSize = new float[1, 2] { { 25.51f, 25.51f } };         // ç©�ç®—è¦‹ç©�è¡¨ç´™åˆ¤å­�
-        /// <summary>
-        /// ç©�ç®—è¦‹ç©�è¡¨ç´™åˆ¤å­�ãƒ•ã‚©ãƒ³ãƒˆã‚µã‚¤ã‚º
-        /// </summary>
-        private static float[] s_EstimateSeal1FontSize = { 16f, 8f, 8f, 8f, 6f };
-        /// <summary>
-        /// è¡¨ç´™åˆ¤å­�ä½�ç½®(Key:X Value:Y)
-        /// </summary>
-        private static float[,] s_CoverSealPoint = new float[4, 2] {{592.50f, 545.25f},    // ç¤¾é•·
-                                                                    {657.25f, 545.25f},    // æ‰€å±žé•·
-                                                                    {721.00f, 545.25f},    // å–¶æ¥­
-                                                                    {784.00f, 545.25f} };  // æ‹…å½“
-        #endregion
-
-        #region ãƒ—ãƒ­ãƒ‘ãƒ†ã‚£
-        /// <summary>
-        /// å·¥äº‹ç•ªå�·
-        /// </summary>
-        public int ConstructionCode
-        {
-            get { return m_ConstructionCode; }
-            set { m_ConstructionCode = value; }
-        }
-
-        public int RequestNo
-        {
-            get { return m_RequestNo; }
-            set { m_RequestNo = value; }
-        }
-
-        /// <summary>
-        /// å®Ÿè¡Œæ™‚æ™‚é–“
-        /// </summary>
-        public DateTime ExcuteDate
-        {
-            get { return m_ExcuteDate; }
-            set { m_ExcuteDate = value; }
-        }
-        /// <summary>
-        /// çµ‚äº†ãƒœã‚¿ãƒ³çŠ¶æ…‹
-        /// </summary>
-        public DialogResult EndButton
-        {
-            get { return m_EndButton; }
-        }
-        /// <summary>
-        /// æ—¥ä»˜å�°åˆ·ãƒ•ãƒ©ã‚°
-        /// </summary>
-        public bool DatePrintFlg
-        {
-            get { return m_bDatePrintFlg; }
-            set { m_bDatePrintFlg = value; }
-        }
-
-        /// <summary>
-        /// è¨­è¨ˆæ›¸No
-        /// </summary>
-        public int InvoiceNo
-        {
-            get { return m_nInvoiceNo; }
-            set { m_nInvoiceNo = value; }
-        }
-
-        // *-----* å…±é€šå‡¦ç�†è¨­å®š *-----*
-        /// <summary>
-        /// ã‚µãƒ–ãƒ•ã‚©ãƒ¼ãƒ ãƒ•ãƒ©ã‚°
-        /// </summary>
-        public bool SubForm
-        {
-            get { return m_SubForm; }
-            set { m_SubForm = value; }
-        }
-        /// <summary>
-        /// å‘¼å‡ºå…ƒçµ‚äº†ãƒ•ãƒ©ã‚°
-        /// </summary>
-        public bool ParentEnd
-        {
-            get { return m_ParentEnd; }
-            set { m_ParentEnd = value; }
-        }
-
-        // *-----* å…±é€šå‡¦ç�†è¨­å®š *-----*        
-        
-        #endregion
-
-        #region Ã—ãƒœã‚¿ãƒ³
-        /// <summary>
-        /// Ã—ãƒœã‚¿ãƒ³æŠ¼ä¸‹å‡¦ç�†
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void FrmStatusAndDate_FormClosed(object sender, FormClosedEventArgs e)
-        {
-            if (m_EndButton == DialogResult.None) m_EndButton = DialogResult.Cancel;
-        }
-        #endregion
-
-        #region ã‚³ãƒ³ã‚¹ãƒˆãƒ©ã‚¯ã‚¿
-        /// <summary>
-        /// ãƒ•ã‚©ãƒ¼ãƒ åˆ�æœŸåŒ–
-        /// </summary>
-        public FrmRequestPrint()
-        {
-            InitializeComponent();
-        }
-        #endregion
-
-        #region ãƒ•ã‚©ãƒ¼ãƒ ãƒ­ãƒ¼ãƒ‰
-        /// <summary>
-        /// ãƒ•ã‚©ãƒ¼ãƒ ãƒ­ãƒ¼ãƒ‰
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void FrmCostStructureDiag_Load(object sender, EventArgs e)
-        {
-            // ãƒ•ã‚©ãƒ¼ãƒ ã‚µã‚¤ã‚ºå›ºå®š
-            this.MaximizedBounds = new Rectangle(this.Left, this.Top, this.Width, this.Height);
-
-            // ãƒ¦ãƒ¼ã‚¶æ¨©é™�è¨­å®š
-            ClsSecurityPermission.SetUserType(m_UserInfo);
-
-            // ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã�®ã‚»ãƒƒãƒˆ
-            SetDisplayObject();
-            
-            // åˆ�æœŸè¡¨ç¤º
-            InitDataLoad();
-        }
-        #endregion
-
-        #region ã‚­ãƒ£ãƒ³ã‚»ãƒ«ãƒœã‚¿ãƒ³
-        /// <summary>
-        /// ã‚­ãƒ£ãƒ³ã‚»ãƒ«ãƒœã‚¿ãƒ³è¿½åŠ 
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void btnCancel_Click(object sender, EventArgs e)
-        {
-            m_EndButton = DialogResult.Cancel;
-            this.Close();
-        }
-        #endregion
-
-        #region å�°åˆ·ã�®ã�¿ãƒœã‚¿ãƒ³
-        /// <summary>
-        /// å�°åˆ·ã�®ã�¿ãƒœã‚¿ãƒ³æŠ¼ä¸‹
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private async void btnExecProc1_Click(object sender, EventArgs e)
-        {
-            // çŠ¶æ…‹ç¢ºèª�
-            if (!StatusChange()) return;
-
-            // æ—¥ä»˜å�°åˆ·ã‚’ã�—ã�ªã�„
-            if (rdNoPrint.Checked) m_bDatePrintFlg = false;
-
-            // é�¸æŠžæ—¥ä»˜å�–å¾—
-            m_ExcuteDate = dateTimePicker1.Value;
-
-            // è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿ã�®å��æ˜ 
-            EntryInvoiceData();
-
-            // å·¥äº‹åŸºæœ¬æƒ…å ±ã‚’æ›´æ–°ã�™ã‚‹
-            UpdateConstructionBaseInfo();
-
-            await Task.Run(() =>
-            {
-                // å�°åˆ·å‡¦ç�†
-                PrintMain(true);
-            });
-
-            m_EndButton = DialogResult.Yes;
-            this.Close();
-        }
-        #endregion
-
-        #region ä¿�å­˜ã�®ã�¿ãƒœã‚¿ãƒ³
-        /// <summary>
-        /// ä¿�å­˜ã�®ã�¿ãƒœã‚¿ãƒ³æŠ¼ä¸‹
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private async void btnExecProc2_Click(object sender, EventArgs e)
-        {
-            // ä¿�å­˜å…ˆæŒ‡å®šãƒ€ã‚¤ã‚¢ãƒ­ã‚°ã�®è¡¨ç¤º
-            FrmSaveFilePath frm = new FrmSaveFilePath();
-            frm.SaveType = (int)CommonDefine.SaveFileType.ExcelFile;
-            frm.ShowDialog(this);
-            if (frm.EndButton == DialogResult.Cancel)
-            {
-                return;
-            }
-            m_SelectSaveExcel = frm.SelectPath;
-
-            // çŠ¶æ…‹ç¢ºèª�
-            if (!StatusChange()) return;
-
-            // æ—¥ä»˜å�°åˆ·ã‚’ã�—ã�ªã�„
-            if (rdNoPrint.Checked) m_bDatePrintFlg = false;
-            
-            // é�¸æŠžæ—¥ä»˜å�–å¾—
-            m_ExcuteDate = dateTimePicker1.Value;
-
-            // è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿ã�®å��æ˜ 
-            EntryInvoiceData();
-
-            // å·¥äº‹åŸºæœ¬æƒ…å ±ã‚’æ›´æ–°ã�™ã‚‹
-            UpdateConstructionBaseInfo();
-
-            // é�žå�ŒæœŸã�§å�°åˆ·å‡¦ç�†ã‚’å®Ÿè¡Œã�™ã‚‹
-            await Task.Run(() =>
-            {
-                // å�°åˆ·å‡¦ç�†
-                PrintMain(false);
-            });
-
-            m_EndButton = DialogResult.No;
-            this.Close();
-        }
-        #endregion
-
-        #region æ��å‡ºæ™‚ãƒ©ã‚¸ã‚ªãƒœã‚¿ãƒ³ãƒ�ã‚§ãƒƒã‚¯
-        /// <summary>
-        /// æ��å‡ºæ—¥å�°å­—ãƒ©ã‚¸ã‚ªãƒœã‚¿ãƒ³
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void radioButton3_CheckedChanged(object sender, EventArgs e)
-        {
-            if (rdNoPrint.Checked)
-            {
-                dateTimePicker1.Visible = false;
-            }
-            else
-            {
-                dateTimePicker1.Visible = true;
-            }
-        }
-        #endregion
-
-        #region ã‚ªãƒ–ã‚¸ã‚§ã‚¯ãƒˆã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã‚»ãƒƒãƒˆ
-        /// <summary>
-        /// è¡¨ç¤ºã‚ªãƒ–ã‚¸ã‚§ã‚¯ãƒˆã�®å�–å¾—
-        /// </summary>
-        private void SetDisplayObject()
-        {
-            m_dispControl[(int)Dispcount.ExeCuteDate] = dateTimePicker1;
-            //m_dispControl[(int)Dispcount.ProgressStatusA] = lblProgressNameA;
-            //m_dispControl[(int)Dispcount.ProgressStatusB] = lblProgressNameB;
-            //m_dispControl[(int)Dispcount.radioButtonA1] = rdChange;
-            //m_dispControl[(int)Dispcount.radioButtonA2] = rdNoChange;
-            m_dispControl[(int)Dispcount.radioButtonB1] = rdPrint;
-            m_dispControl[(int)Dispcount.radioButtonB2] = rdNoPrint;
-            btnExecProc2.Visible = false;
-            if (m_UserInfo.m_Type == CommonDefine.SecurityRankPos.SpecialAuthority)
-            {
-                btnExecProc2.Visible = true;
-            }
-            if (m_UserInfo.m_Type == CommonDefine.SecurityRankPos.FreeAuthority)
-            {
-                btnExecProc2.Visible = true;
-            }
-
-        }
-        #endregion
-
-        #region ã‚¹ãƒ†ãƒ¼ã‚¿ã‚¹ãƒ�ã‚§ãƒƒã‚¯
-        /// <summary>
-        /// å·¥äº‹æ¡ˆä»¶ã�®é€²æ�—çŠ¶æ…‹å¤‰æ›´ã�®ç¢ºèª�
-        /// </summary>
-        /// <returns></returns>
-        private bool StatusChange()
-        {
-            try
-            {
-                if (MessageBox.Show("è«‹æ±‚æ›¸ã‚’å‡ºåŠ›ã�—ã�¾ã�™ã€�ã‚ˆã‚�ã�—ã�„ã�§ã�™ã�‹ï¼Ÿ",
-                                    "å‡ºåŠ›ç¢ºèª�",
-                                    MessageBoxButtons.OKCancel, 
-                                    MessageBoxIcon.Question) == DialogResult.Cancel)
-                {
-                    return false;
-                }
-                return true;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-                return false;
-            }
-        }
-        
-        #endregion
-
-        #region è¡¨ç¤ºé–¢é€£
-        /// <summary>
-        /// åˆ�æœŸè¡¨ç¤ºå‡¦ç�†
-        /// </summary>
-        private void InitDataLoad()
-        {
-            try
-            {
-                if (!DisplayData())
-                {
-                    m_EndButton = DialogResult.Cancel;
-                    this.Close();
-                }
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region ãƒ‡ãƒ¼ã‚¿è¡¨ç¤ºå‡¦ç�†
-        /// <summary>
-        /// ãƒ‡ãƒ¼ã‚¿è¡¨ç¤º
-        /// </summary>
-        /// <returns></returns>
-        private bool DisplayData()
-        {
-            try
-            {
-                bool bRet = true;
-
-                // è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿ã�®å�–å¾—
-                if( GetInvoiceData() == false){
-                    return false;
-                }
-
-                // æœ¬å·¥äº‹ã�®å·¥äº‹æƒ…å ±ã�®å�–å¾—
-                if( GetMainConstructionBaseInfo() == false){
-                    return false;
-                }
-
-                if (m_InvData.RequestDate == DateTime.MinValue)
-                {
-                    // åˆ�æœŸæ™‚é–“ã‚»ãƒƒãƒˆ
-                    dateTimePicker1.Value = m_ExcuteDate;
-                }
-                else
-                {
-                    dateTimePicker1.Value = m_InvData.RequestDate;
-                }
-
-                lblOrderersName.Text = m_InvData.RequestName;
-
-                txtComment1.Text = m_InvData.Comment1;
-                txtComment2.Text = m_InvData.Comment2;
-                txtComment3.Text = m_InvData.Comment3;
-                txtComment4.Text = m_InvData.Comment4;
-                txtComment5.Text = m_InvData.Comment5;
-
-                // ToolTipã�®è¨­å®š
-                SetToolTip();
-
-                return bRet;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-                return false;
-            }
-        }
-        #endregion
-
-        #region ToolTipã�®è¨­å®š
-        private void SetToolTip()
-        {
-            // ToolTipã�Œè¡¨ç¤ºã�•ã‚Œã‚‹ã�¾ã�§ã�®æ™‚é–“
-            ToolTip1.InitialDelay = 0;
-            // ToolTipã�Œè¡¨ç¤ºã�•ã‚Œã�¦ã�„ã‚‹æ™‚ã�«ã€�åˆ¥ã�®ToolTipã‚’è¡¨ç¤ºã�™ã‚‹ã�¾ã�§ã�®æ™‚é–“
-            ToolTip1.ReshowDelay = 1000;
-            // ToolTipã‚’è¡¨ç¤ºã�™ã‚‹æ™‚é–“
-            ToolTip1.AutoPopDelay = 10000;
-            // ãƒ•ã‚©ãƒ¼ãƒ ã�Œã‚¢ã‚¯ãƒ†ã‚£ãƒ–ã�§ã�ªã�„æ™‚ã�¯ToolTipã‚’è¡¨ç¤ºã�—ã�ªã�„
-            ToolTip1.ShowAlways = false;
-
-            // æ–‡å­—ã‚»ãƒƒãƒˆ
-            ToolTip1.SetToolTip(dateTimePicker1, "è«‹æ±‚æ—¥ã�Œè¡¨ç¤ºã�•ã‚Œã�¦ã�„ã‚‹æ—¥ä»˜ã�¨é�•ã�†å ´å�ˆã�¯ã€�å¤‰æ›´ã�—ã�¦ã��ã� ã�•ã�„ã€‚");
-            ToolTip1.SetToolTip(rdPrint, "è«‹æ±‚æ—¥ã‚’è«‹æ±‚æ›¸ã�¸ã€Œå�°åˆ·ã�™ã‚‹ã€�å ´å�ˆã�¯ã€�ã�“ã�¡ã‚‰ã‚’é�¸æŠžã�—ã�¦ã��ã� ã�•ã�„ã€‚");
-            ToolTip1.SetToolTip(rdNoPrint, "è«‹æ±‚æ—¥ã‚’è«‹æ±‚æ›¸ã�¸ã€Œå�°åˆ·ã�›ã�šã�«ç©ºç™½ã€�ã�§å�°åˆ·ã�™ã‚‹å ´å�ˆã�¯ã€�ã�“ã�¡ã‚‰ã‚’é�¸æŠžã�—ã�¦ã��ã� ã�•ã�„ã€‚");
-
-            //ToolTip1.SetToolTip(rdChange, "å·¥äº‹é€²æ�—çŠ¶æ…‹ã‚’å¤‰æ›´ã�—ã�¦æ¬¡ã�®å‡¦ç�†ã�¸é€²ã‚€å ´å�ˆã�¯ã€�ã�“ã�¡ã‚‰ã‚’é�¸æŠžã�—ã�¦ã��ã� ã�•ã�„ã€‚");
-            //ToolTip1.SetToolTip(rdNoChange, "å·¥äº‹é€²æ�—é€²æ�—ã‚’ç�¾åœ¨ã�®çŠ¶æ…‹ã�‹ã‚‰å¤‰æ›´ã�—ã�ªã�„å ´å�ˆã�¯ã€�ã�“ã�¡ã‚‰ã‚’é�¸æŠžã�—ã�¦ã��ã� ã�•ã�„ã€‚");
-        }
-        #endregion
-
-        #region è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿ã�®å�–å¾—
-        /// <summary>
-        /// è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿ã�®å�–å¾—
-        /// </summary>
-        private bool GetInvoiceData()
-        {
-            IOInvoiceData ioInvData = new IOInvoiceData();
-            IORequestHead ioReqHead = new IORequestHead();
-            IORequestData ioReqData = new IORequestData();
-
-            try
-            {
-                string sql = "";
-
-                // è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿ã�®å�–å¾—
-                sql = ioInvData.CreatePrimarykeyString(m_nInvoiceNo);
-                if (ioInvData.SelectAction(sql, ref m_InvData) == false)
-                {
-                    return false;
-                }
-
-                // è«‹æ±‚ãƒ˜ãƒƒãƒ€ã�®å�–å¾—
-                sql = string.Format(" WHERE InvoiceNo = {0} ORDER BY ReqConstructionCode", m_nInvoiceNo);
-                if (ioReqHead.SelectAction(sql, ref m_lstReqHead) == false)
-                {
-                    return false;
-                }
-
-                foreach (RequestHead ReqHead in m_lstReqHead)
-                {
-                    // è«‹æ±‚ãƒ˜ãƒƒãƒ€ã�®å�–å¾—
-                    sql = string.Format(" WHERE RequestNo = {0} ORDER BY MainConstructionCode", ReqHead.RequestNo);
-                    List<RequestData> lstReqData = new List<RequestData>();
-                    if (ioReqData.SelectAction(sql, ref lstReqData) == false)
-                    {
-                        return false;
-                    }
-
-                    m_dicReqData.Add(ReqHead.RequestNo, lstReqData);
-
-                }
-
-                return true;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-
-                return false;
-            }
-            finally
-            {
-                ioInvData.close();
-                ioInvData = null;
-                ioReqHead.close();
-                ioReqHead = null;
-                ioReqData.close();
-                ioReqData = null;
-            }
-
-        }
-        #endregion
-
-        #region å·¥äº‹åŸºæœ¬æƒ…å ±ã�®è¿½åŠ 
-        private void AddConstructionBaseInfoDic(ConstructionBaseInfo Info)
-        {
-            ConstructionBaseInfo wrk = null;
-
-            if (m_dicConstructionBaseInfo.TryGetValue(Info.ConstructionCode, out wrk) == false)
-            {
-                m_dicConstructionBaseInfo.Add(Info.ConstructionCode, Info);
-            }
-        }
-        #endregion
-
-        #region å·¥äº‹åŸºæœ¬æƒ…å ±ã�®å�–å¾—
-        /// <summary>
-        /// å·¥äº‹åŸºæœ¬æƒ…å ±ã�®å�–å¾—
-        /// </summary>
-        private bool GetMainConstructionBaseInfo()
-        {
-            IOConstructionBaseInfo ioInfo = new IOConstructionBaseInfo();
-
-            foreach (RequestHead ReqHead in m_lstReqHead)
-            {
-                string sql = ioInfo.CreatePrimarykeyString(ReqHead.ReqConstructionCode);
-                ConstructionBaseInfo info = new ConstructionBaseInfo();
-                if (ioInfo.SelectAction(sql, ref info) == false)
-                {
-                    return false;
-                }
-
-                AddConstructionBaseInfoDic(info);
-            }
-
-            List<int> lstKey = new List<int>(m_dicReqData.Keys);
-            try
-            {
-                foreach (int nRequestNo in lstKey)
-                {
-                    List<RequestData> lstReqData = null;
-
-                    if (m_dicReqData.TryGetValue(nRequestNo, out lstReqData) == false)
-                    {
-                        return false;
-                    }
-
-                    foreach (RequestData ReqData in lstReqData)
-                    {
-                        string sql = ioInfo.CreatePrimarykeyString(ReqData.MainConstructionCode);
-                        ConstructionBaseInfo info = new ConstructionBaseInfo();
-                        if (ioInfo.SelectAction(sql, ref info) == false)
-                        {
-                            return false;
-                        }
-
-                        AddConstructionBaseInfoDic(info);
-                    }
-
-                }
-
-                return true;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-
-                return false;
-            }
-            finally
-            {
-                ioInfo.close();
-                ioInfo = null;
-            }
-
-        }
-        #endregion
-
-        #region è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿ã�®å��æ˜ 
-        private void EntryInvoiceData()
-        {
-            long lTotalAmount = 0;
-            long lTaxAmount = 0;
-
-            foreach (RequestHead ReqHead in m_lstReqHead)
-            {
-                lTotalAmount += ReqHead.RequestTotalAmount;
-                lTaxAmount += ReqHead.TaxAmount;
-            }
-
-            m_InvData.TotalAmount = lTotalAmount;
-            m_InvData.TaxAmount = lTaxAmount;
-
-            m_InvData.RequestDate = m_ExcuteDate;
-
-            m_InvData.Comment1 = txtComment1.Text;
-            m_InvData.Comment2 = txtComment2.Text;
-            m_InvData.Comment3 = txtComment3.Text;
-            m_InvData.Comment4 = txtComment4.Text;
-            m_InvData.Comment5 = txtComment5.Text;
-
-            m_InvData.CompleteFlg = 1;
-
-            if (UpdateInvoiceData() == false)
-            {
-                return;
-            }
-        }
-        #endregion
-
-        #region è«‹æ±‚æ›¸ãƒ‡ãƒ¼ã‚¿æ›´æ–°
-        private bool UpdateInvoiceData()
-        {
-            IOInvoiceData ioInvData = new IOInvoiceData();
-
-            try
-            {
-                string sql = ioInvData.CreatePrimarykeyString( m_InvData.InvoiceNo );
-                if (ioInvData.UpdateAction(sql, m_InvData) == false)
-                {
-                    return false;
-                }
-
-                return true;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-
-                return false;
-            }
-            finally
-            {
-                ioInvData.close();
-                ioInvData = null;
-            }
-
-        }
-        
-        #endregion
-
-        #region å·¥äº‹ãƒ‡ãƒ¼ã‚¿æ›´æ–°
-        /// <summary>
-        /// å·¥äº‹åŸºæœ¬æƒ…å ±ã‚’æ›´æ–°ã�™ã‚‹
-        /// </summary>
-        /// <returns></returns>
-        private bool UpdateConstructionBaseInfo()
-        {
-
-            IOConstructionBaseInfo ioInfo = new IOConstructionBaseInfo();
-            IOConstructionProgressDate ioPrgDate = new IOConstructionProgressDate();
-
-            List<int> lstKeyInfo = new List<int>(m_dicConstructionBaseInfo.Keys);
-
-            Dictionary<int, int> dicCodeWork = new Dictionary<int, int>();
-
-            // ãƒˆãƒ©ãƒ³ã‚¶ã‚¯ã‚·ãƒ§ãƒ³é–‹å§‹
-            ioInfo.beginTran();
-            ioPrgDate.beginTran();
-
-            string sql = "";
-
-            try
-            {
-                foreach (int nConstructionCode in lstKeyInfo)
-                {
-                    int nOldStatus = 0;
-                    ConstructionBaseInfo Info = null;
-
-                    // å·¥äº‹åŸºæœ¬æƒ…å ±ã�®å�–å¾—
-                    if (m_dicConstructionBaseInfo.TryGetValue(nConstructionCode, out Info) == false)
-                    {
-                        ioInfo.rollback();
-                        ioPrgDate.rollback();
-                        return false;
-                    }
-
-                    nOldStatus = Info.ConstructionStatusFlg;
-
-                    // å·¥äº‹çŠ¶æ…‹ã�Œã€Œè«‹æ±‚æº–å‚™ã€�ã�§ã�¯ã�ªã�„å ´å�ˆã�¯å¯¾è±¡å¤–
-                    if (nOldStatus != (int)CommonDefine.StatNumArray.Status9)
-                    {
-                        continue;
-                    }
-
-                    // å·¥äº‹åŸºæœ¬æƒ…å ±ã�§è«‹æ±‚ä¸€æ‹¬ã�§ã�ªã�„å ´å�ˆã�¯å¯¾è±¡å¤–
-                    if (Info.BillingSplitFlg != (int)ConstructionBaseInfo.BillingSplitFlgDef.AllOnBilling)
-                    {
-                        continue;
-                    }
-
-                    // å·¥äº‹çŠ¶æ…‹ãƒ•ãƒ©ã‚°ã‚’ã€Œè«‹æ±‚ç¢ºèª�ã€�ã�«å¤‰æ›´
-                    Info.ConstructionStatusFlg = (int)CommonDefine.StatNumArray.Status10;
-
-                    // å·¥äº‹åŸºæœ¬æƒ…å ±ã‚’æ›´æ–°
-                    sql = ioInfo.CreatePrimarykeyString(nConstructionCode);
-                    if (ioInfo.UpdateAction(sql, Info) == false)
-                    {
-                        ioInfo.rollback();
-                        ioPrgDate.rollback();
-                        return false;
-                    }
-
-                    // æ—¢ã�«ãƒ‡ãƒ¼ã‚¿ã�Œå­˜åœ¨ã�—ã�ªã�„ã�‹ä¸€åº¦æ¤œç´¢ã�—ã�¦ã�Šã��
-                    sql = ioPrgDate.CreatePrimarykeyString(nConstructionCode, Info.ConstructionStatusFlg);
-                    List<ConstructionProgressDate> lstPrgDate = new List<ConstructionProgressDate>();
-                    if (ioPrgDate.SelectAction(sql, ref lstPrgDate) == false)
-                    {
-                        ioInfo.rollback();
-                        ioPrgDate.rollback();
-                        return false;
-                    }
-
-                    // ãƒ‡ãƒ¼ã‚¿ã�Œã�‚ã‚‹å ´å�ˆã�¯ã€�å½“è©²ãƒ‡ãƒ¼ã‚¿ã‚’å‰Šé™¤ã�™ã‚‹
-                    if (lstPrgDate.Count > 0)
-                    {
-                        // è©²å½“ãƒ‡ãƒ¼ã‚¿ã‚’å‰Šé™¤
-                        sql = ioPrgDate.CreatePrimarykeyString(nConstructionCode, Info.ConstructionStatusFlg);
-                        if (ioPrgDate.DeleteAction(sql) == false)
-                        {
-                            ioInfo.rollback();
-                            ioPrgDate.rollback();
-                            return false;
-                        }
-                    }
-
-                    // æ¡ˆä»¶é€²æ�—æ—¥ä»˜ãƒ‡ãƒ¼ã‚¿ã�®æ§‹ç¯‰
-                    ConstructionProgressDate PrgDate = new ConstructionProgressDate();
-
-                    // æ¡ˆä»¶é€²æ�—æ—¥ä»˜ãƒ‡ãƒ¼ã‚¿ã�®è¨­å®š
-                    PrgDate.ConstructionCode = nConstructionCode;
-                    PrgDate.ConstructionStatusFlg = (int)CommonDefine.StatNumArray.Status10;
-                    PrgDate.PreviousStatusFlg = nOldStatus;
-                    PrgDate.ChangeDate = DateTime.Now;
-                    PrgDate.ChangePersonCode = CommonMotions.LoginUserData.PersonCode;
-
-                    // æ¡ˆä»¶é€²æ�—æ—¥ä»˜ãƒ‡ãƒ¼ã‚¿ã‚’æŒ¿å…¥
-                    if (ioPrgDate.InsertAction(PrgDate) == false)
-                    {
-                        ioInfo.rollback();
-                        ioPrgDate.rollback();
-                        return false;
-                    }
-
-                    // å¯¾è±¡å·¥äº‹ã�Œçµ�å�ˆï¼ˆå­�ï¼‰å·¥äº‹ã�®å ´å�ˆ
-                    if (Info.JoinFlg == (int)ConstructionBaseInfo.JoinFlgDef.JoinChildren)
-                    {
-                        // çµ�å�ˆï¼ˆè¦ªï¼‰å·¥äº‹ç•ªå�·ã�®å�–å¾—
-                        int nParentCode = GetJoinParentConstructionCode(nConstructionCode);
-
-                        int nChildCode = 0;
-
-                        // è¦ªå·¥äº‹ç•ªå�·ã�Œç™»éŒ²ã�•ã‚Œã�¦ã�„ã�ªã�„å ´å�ˆã�¯ç™»éŒ²ã�™ã‚‹
-                        if (dicCodeWork.TryGetValue(nParentCode, out nChildCode) == false)
-                        {
-                            // çµ�å�ˆï¼ˆè¦ªï¼‰ã�®å·¥äº‹çŠ¶æ…‹ã‚’æ›´æ–°ã�™ã‚‹ã�Ÿã‚�ã�«å·¥äº‹ç•ªå�·ã‚’é€€é�¿
-                            dicCodeWork.Add(nParentCode, nConstructionCode);
-                        }
-                    }
-
-                }
-
-                List<int> lstKeyLink = new List<int>(dicCodeWork.Keys);
-
-                foreach (int nParentCode in lstKeyLink)
-                {
-                    int nChildCode = 0;
-
-                    if (dicCodeWork.TryGetValue(nParentCode, out nChildCode) == true)
-                    {
-                        // çµ�å�ˆï¼ˆè¦ªï¼‰ã�®å·¥äº‹çŠ¶æ…‹ã‚’å¤‰æ›´
-                        ClsChangeBaseInfoData.SetParentConstrStatus(ioInfo, nChildCode);
-                    }
-                }
-
-                // DBã‚³ãƒŸãƒƒãƒˆ
-                ioInfo.commit();
-                ioPrgDate.commit();
-
-                return true;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-                return false;
-            }
-            finally
-            {
-                ioInfo.close(); 
-                ioInfo = null;
-                ioPrgDate.close();
-                ioPrgDate = null;
-            }
-        }
-
-        #endregion
-
-        #region DBã‚¢ã‚¯ã‚»ã‚¹å‡¦ç�†
-        #region è«‹æ±‚ãƒ‡ãƒ¼ã‚¿å�–å¾—
-        /// <summary>
-        /// è«‹æ±‚ãƒ‡ãƒ¼ã‚¿å�–å¾—
-        /// </summary>
-        /// <param name="constCode">æœ¬å·¥äº‹ç•ªå�·</param>
-        /// <param name="data"></param>
-        /// <returns></returns>
-        private bool GetRequestData(int constCode, ref RequestData data)
-        {
-            //var cbDB = new IORequestData();
-            try
-            {
-                //// è«‹æ±‚ãƒ‡ãƒ¼ã‚¿å�–å¾—ã‚¯ãƒ©ã‚¹é ˜åŸŸ
-                //var wrk = new List<RequestData>();
-
-                //// è«‹æ±‚ãƒ‡ãƒ¼ã‚¿å�–å¾—SQL
-                //string strSQL = cbDB.CreateSubkeyString(constCode);
-
-                //// è«‹æ±‚ãƒ‡ãƒ¼ã‚¿å�–å¾—
-                //if (!cbDB.SelectAction(strSQL, ref wrk)) return false;
-
-                //if (wrk.Count != 1) return false;
-
-                //data = wrk[0];
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-                return false;
-            }
-            finally
-            {
-                //cbDB.close(); cbDB = null;
-            }
-
-            return true;
-        }
-        #endregion
-
-        #region è«‹æ±‚æ›¸å�ˆè¨ˆãƒ‡ãƒ¼ã‚¿å�–å¾—
-        /// <summary>
-        /// è«‹æ±‚æ›¸å�ˆè¨ˆãƒ‡ãƒ¼ã‚¿å�–å¾—
-        /// </summary>
-        /// <param name="requestNo"></param>
-        /// <param name="datas"></param>
-        /// <returns></returns>
-        //private bool GetRequestTotalData(int requestNo, ref List<RequestTotalData> datas)
-        //{
-        //    var cbDB = new IORequestTotalData();
-        //    try
-        //    {
-        //        // è«‹æ±‚æ›¸å�ˆè¨ˆãƒ‡ãƒ¼ã‚¿å�–å¾—ã‚¯ãƒ©ã‚¹é ˜åŸŸ
-        //        var wrk = new List<RequestTotalData>();
-
-        //        // è«‹æ±‚æ›¸å�ˆè¨ˆãƒ‡ãƒ¼ã‚¿å�–å¾—SQL
-        //        string strSQL = cbDB.CreatePrimarykeyString(requestNo);
-
-        //        // ã‚½ãƒ¼ãƒˆæ�¡ä»¶è¿½åŠ 
-        //        strSQL += " ORDER BY REQUESTNO, ORDERNO";
-
-        //        // è«‹æ±‚æ›¸å�ˆè¨ˆãƒ‡ãƒ¼ã‚¿å�–å¾—
-        //        if (!cbDB.SelectAction(strSQL, ref wrk)) return false;
-
-        //        // è«‹æ±‚æ›¸å�ˆè¨ˆãƒ‡ãƒ¼ã‚¿å�–å¾—ã‚¯ãƒ©ã‚¹é ˜åŸŸ
-        //        datas = wrk;
-
-        //    }
-        //    catch (Exception ex)
-        //    {
-        //        logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-        //        return false;
-        //    }
-        //    finally
-        //    {
-        //        cbDB.close(); cbDB = null;
-        //    }
-        //    return true;
-        //}
-
-        #endregion
-
-        #region è«‹æ±‚æ˜Žç´°ãƒ‡ãƒ¼ã‚¿å�–å¾—
-        /// <summary>
-        /// è«‹æ±‚æ˜Žç´°ãƒ‡ãƒ¼ã‚¿å�–å¾—
-        /// </summary>
-        /// <param name="requestNo"></param>
-        /// <param name="datas"></param>
-        /// <returns></returns>
-        private bool GetRequestDataDetail(int requestNo, ref Dictionary<int, Dictionary<int, RequestDataDetail>> datas)
-        {
-            var cbDB = new IORequestDataDetail();
-            try
-            {
-                //// è«‹æ±‚æ˜Žç´°ãƒ‡ãƒ¼ã‚¿å�–å¾—ã‚¯ãƒ©ã‚¹é ˜åŸŸ
-                //var wrk = new List<RequestDataDetail>();
-
-                //// è«‹æ±‚æ˜Žç´°ãƒ‡ãƒ¼ã‚¿å�–å¾—SQL
-                //string strSQL = cbDB.CreatePrimarykeyString(requestNo);
-
-                //// è«‹æ±‚æ˜Žç´°ãƒ‡ãƒ¼ã‚¿å�–å¾—
-                //if (!cbDB.SelectAction(strSQL, ref wrk)) return false;
-
-                //foreach (var record in wrk)
-                //{
-                //    if (!datas.ContainsKey(record.ConstructionCode))
-                //        datas[record.ConstructionCode] = new Dictionary<int, RequestDataDetail>();
-                //    datas[record.ConstructionCode][record.OrderNo] = record;
-                //}
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-                return false;
-            }
-            finally
-            {
-                cbDB.close(); cbDB = null;
-            }
-            return true;
-        }
-        #endregion
-
-        #region å·¥äº‹åŸºæœ¬æƒ…å ±å�–å¾—
-        /// <summary>
-        /// å·¥äº‹åŸºæœ¬æƒ…å ±å�–å¾—
-        /// </summary>
-        /// <param name="constructionCode"></param>
-        /// <param name="data"></param>
-        /// <returns></returns>
-        private bool GetConstructionBaseInfo(int constructionCode, ref ConstructionBaseInfo data)
-        {
-            var cbDB = new IOConstructionBaseInfo();
-            try
-            {
-                // å·¥äº‹åŸºæœ¬æƒ…å ±å�–å¾—ã‚¯ãƒ©ã‚¹é ˜åŸŸ
-                var wrk = new ConstructionBaseInfo();
-
-                // å·¥äº‹åŸºæœ¬æƒ…å ±å�–å¾—SQL
-                string strSQL = cbDB.CreatePrimarykeyString(constructionCode);
-
-                // å·¥äº‹åŸºæœ¬æƒ…å ±å�–å¾—
-                if (!cbDB.SelectAction(strSQL, ref wrk)) return false;
-
-                // å·¥äº‹åŸºæœ¬æƒ…å ±å�–å¾—ã‚¯ãƒ©ã‚¹é ˜åŸŸ
-                data = wrk;
-
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-                return false;
-            }
-            finally
-            {
-                cbDB.close(); cbDB = null;
-            }
-            return true;
-        }
-        #endregion
-
-        #region çµ�å�ˆè¦ªå·¥äº‹ç•ªå�·ã�®å�–å¾—
-        private int GetJoinParentConstructionCode(int nConstructionCode)
-        {
-            int nParentCode = -1;
-            IOConstructionLink ioLink = new IOConstructionLink();
-
-            try
-            {
-                string sql = string.Format(" WHERE FluctuationCode = {0} AND LinkType = 1 ", nConstructionCode);
-                List<ConstructionLink> lstWork = new List<ConstructionLink>();
-
-                if (ioLink.SelectAction(sql, ref lstWork) == false)
-                {
-                    return nParentCode;
-                }
-
-                foreach (ConstructionLink Link in lstWork)
-                {
-                    nParentCode = Link.ConstructionCode;
-                    break;
-                }
-                return nParentCode;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-                return -1;
-            }
-            finally
-            {
-                ioLink.close(); 
-                ioLink = null;
-            }
-
-        }
-        #endregion
-
-        #region å·¥äº‹åŸºæœ¬æƒ…å ±æ˜Žç´°
-        /// <summary>
-        /// å·¥äº‹åŸºæœ¬æƒ…å ±æ˜Žç´°ã‚’å·¥äº‹åŸºæœ¬æƒ…å ±æ˜Žç´°ãƒ†ãƒ¼ãƒ–ãƒ«ã�‹ã‚‰å·¥äº‹ç•ªå�·ã‚’ã‚­ãƒ¼ã�«å�–å¾—ã�™ã‚‹é–¢æ•°
-        /// </summary>
-        /// <param name="datas"></param>
-        /// <returns></returns>
-        private bool GetConstructionBaseInfoDetail(List<int> lstConstCode, ref Dictionary<int,Dictionary<int,string>> datas)
-        {
-            var sbDB = new IOConstructionBaseInfoDetail();
-            try
-            {
-                // å·¥äº‹åŸºæœ¬æƒ…å ±æ˜Žç´°å�–å¾—ã‚¯ãƒ©ã‚¹é ˜åŸŸ
-                var wrk = new List<ConstructionBaseInfoDetail>();
-
-                // å·¥äº‹åŸºæœ¬æƒ…å ±æ˜Žç´°å�–å¾—SQL
-                string strSQL = " Where ConstructionCode in ( ";
-                foreach (int constCode in lstConstCode)
-                {
-                    strSQL += string.Format((lstConstCode.IndexOf(constCode) == 0) ? " {0}" : ", {0}", constCode);
-                }
-                strSQL += " )";
-
-                // å·¥äº‹åŸºæœ¬æƒ…å ±æ˜Žç´°å�–å¾—
-                if (!sbDB.SelectAction(strSQL, ref wrk)) return false;
-
-                datas.Clear();
-
-                foreach (var record in wrk)
-                {
-                    if (!datas.ContainsKey(record.ConstructionCode))
-                        datas[record.ConstructionCode] = new Dictionary<int, string>();
-                    datas[record.ConstructionCode][record.DetailNo] = record.DetailString;
-                }
-
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-                return false;
-            }
-            finally
-            {
-                sbDB.close();
-                sbDB = null;
-            }
-
-            return true;
-        }
-        #endregion
-
-        #region å·¥äº‹å¢—æ¸›æƒ…å ±å�–å¾—
-        /// <summary>
-        /// å·¥äº‹å¢—æ¸›æƒ…å ±å�–å¾—
-        /// </summary>
-        /// <param name="constructionCode"></param>
-        /// <param name="datas"></param>
-        /// <returns></returns>
-        private bool GetConstructionLink(int constructionCode, ref List<int> datas)
-        {
-            var sbDB = new IOConstructionLink();
-            try
-            {
-                // å·¥äº‹å¢—æ¸›æƒ…å ±å�–å¾—ã‚¯ãƒ©ã‚¹é ˜åŸŸ
-                var wrk = new List<ConstructionLink>();
-
-                // å·¥äº‹å¢—æ¸›æƒ…å ±å�–å¾—SQL
-                string strSQL = sbDB.CreatePrimarykeyString(constructionCode);
-
-                // ã‚½ãƒ¼ãƒˆæ�¡ä»¶è¿½åŠ 
-                strSQL += " ORDER BY FLUCTUATIONCODE";
-
-                // å·¥äº‹å¢—æ¸›æƒ…å ±å�–å¾—
-                if (!sbDB.SelectAction(strSQL, ref wrk)) return false;
-
-                foreach (var record in wrk)
-                {
-                    datas.Add(record.FluctuationCode);
-                }
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-                return false;
-            }
-            finally
-            {
-                sbDB.close();
-                sbDB = null;
-            }
-
-            return true;
-        }
-        #endregion
-
-        #region å·¥äº‹è©³ç´°å�°å¸³ãƒ‡ãƒ¼ã‚¿å�–å¾—
-        /// <summary>
-        /// å·¥äº‹è©³ç´°å�°å¸³ãƒ‡ãƒ¼ã‚¿å�–å¾—
-        /// </summary>
-        /// <param name="constructionCode"></param>
-        /// <param name="data"></param>
-        /// <returns></returns>
-        private bool GetConstructionLedger(int constructionCode, ref ConstructionLedger data)
-        {
-            var sbDB = new IOConstructionLedger();
-            try
-            {
-                // å·¥äº‹è©³ç´°å�°å¸³ãƒ‡ãƒ¼ã‚¿å�–å¾—ã‚¯ãƒ©ã‚¹é ˜åŸŸ
-                var wrk = new ConstructionLedger();
-
-                // å·¥äº‹è©³ç´°å�°å¸³ãƒ‡ãƒ¼ã‚¿å�–å¾—SQL
-                string strSQL = sbDB.CreatePrimarykeyString(constructionCode);
-
-                // å·¥äº‹è©³ç´°å�°å¸³ãƒ‡ãƒ¼ã‚¿å�–å¾—
-                if (!sbDB.SelectAction(strSQL, ref wrk)) return false;
-
-                data = wrk;
-
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-                return false;
-            }
-            finally
-            {
-                sbDB.close();
-                sbDB = null;
-            }
-
-            return true;
-        }
-        #endregion
-        #endregion
-
-        #region å�°åˆ·ãƒ¡ã‚¤ãƒ³
-        /// <summary>
-        /// å�°åˆ·ãƒ¡ã‚¤ãƒ³
-        /// </summary>
-        /// <param name="bPrint">true:å�°åˆ·ã�®ã�¿,false:ä¿�å­˜ã�®ã�¿</param>
-        public void PrintMain(bool bPrint)
-        {
-            try
-            {
-                // å�°åˆ·ã‚¯ãƒ©ã‚¹
-                m_UsedExcel = new UsedExcel();
-
-                // ã‚¨ã‚¯ã‚»ãƒ«ãƒ–ãƒƒã‚¯ã‚ªãƒ¼ãƒ—ãƒ³
-                if (!m_UsedExcel.ExcelBookOpen(System.Environment.CurrentDirectory + s_ExcelRequestSheetFileName))
-                {
-                    return;
-                }
-
-                // è¡¨ç´™å�°åˆ·
-                CommonDefine.RetunAnswer rtAns = PrintCover();
-                if (rtAns != CommonDefine.RetunAnswer.Answer0)
-                {
-                    return;
-                }
-
-                // ä¸€è¦§å�°åˆ·
-                rtAns = PrintList();
-                if (rtAns != CommonDefine.RetunAnswer.Answer0)
-                {
-                    return;
-                }
-
-                int no = 1;
-                foreach (RequestHead ReqHead in m_lstReqHead)
-                {
-                    List<RequestData> lstReqData = null;
-                    if (m_dicReqData.TryGetValue(ReqHead.RequestNo, out lstReqData) == false)
-                    {
-                        return;
-                    }
-
-                    foreach (RequestData ReqData in lstReqData)
-                    {
-                        ConstructionBaseInfo Info = null;
-
-                        if (m_dicConstructionBaseInfo.TryGetValue(ReqData.MainConstructionCode, out Info) == false)
-                        {
-                            return;
-                        }
-
-                        long lRequestAmount = ReqData.RequestAmount0;
-                        lRequestAmount += ReqData.RequestAmount1;
-                        lRequestAmount += ReqData.RequestAmount2;
-                        lRequestAmount += ReqData.RequestAmount3;
-                        lRequestAmount += ReqData.RequestAmount4;
-                        lRequestAmount += ReqData.RequestAmount5;
-                        lRequestAmount += ReqData.RequestAmount6;
-                        lRequestAmount += ReqData.UnpaidAmount;
-
-                        if (lRequestAmount == 0)
-                        {
-                            continue;
-                        }
-
-                        rtAns = PrintDetail( no, ReqHead, ReqData, Info );
-                        if (rtAns != CommonDefine.RetunAnswer.Answer0)
-                        {
-                            return;
-                        }
-                    }
-
-                }
-
-                if (bPrint)
-                {
-                    // å�°åˆ·å‡¦ç�†
-                    m_UsedExcel.ExcelSheetPrint();
-                }
-                else
-                {
-                    // ä¿�å­˜å‡¦ç�†
-                    SaveExcelFile();
-                }
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-            finally
-            {
-                // Excelé–‹æ”¾
-                if (m_UsedExcel != null)
-                {
-                    m_UsedExcel.ExcelBookClose();
-                }
-                m_UsedExcel = null;
-
-                // ã‚¬ãƒ¼ãƒ™ãƒ¼ã‚¸ã‚³ãƒ¬ã‚¯ãƒˆ
-                GC.Collect();
-            }
-
-        }
-        #endregion
-
-        #region Excelãƒ•ã‚¡ã‚¤ãƒ«ä¿�å­˜å‡¦ç�†
-        /// <summary>
-        /// Excelãƒ•ã‚¡ã‚¤ãƒ«ä¿�å­˜å‡¦ç�†
-        /// </summary>
-        private void SaveExcelFile()
-        {
-            try
-            {
-                string filePath = @m_SelectSaveExcel;
-
-                // ãƒ•ã‚¡ã‚¤ãƒ«ãƒ‘ã‚¹ã�®å­˜åœ¨ã‚’ãƒ�ã‚§ãƒƒã‚¯
-                if (CommonMotions.ChkDirPath(filePath, true))
-                {
-                    // ãƒ•ã‚¡ã‚¤ãƒ«å��ã‚’ä½œæˆ�
-                    string wrkFile = m_InvData.RequestName + "æ§˜ è«‹æ±‚æ›¸";
-
-                    // ãƒ•ã‚¡ã‚¤ãƒ«å��ã�«ä½¿ç”¨ã�§ã��ã�ªã�„æ–‡å­—ã‚’å�–ã‚Šé™¤ã��
-                    foreach (var badCh in m_UsedExcel.ExcelBadCharcter)
-                    {
-                        wrkFile = wrkFile.Replace(badCh, "");
-                    }
-
-                    // ãƒ•ã‚¡ã‚¤ãƒ«å��ä½œæˆ�
-                    filePath += @"\" + @wrkFile;
-
-                    // ãƒ•ã‚¡ã‚¤ãƒ«ä¿�å­˜
-                    m_UsedExcel.SaveSwitch = true;
-                    m_UsedExcel.ExcelSaveBook(filePath);
-
-                }
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-
-        }
-        #endregion
-
-        #region ã‚¨ãƒªã‚¢ã‚¹ã‚’ä»˜ã�‘ã�Ÿæ‹…å½“è€…ãƒžã‚¹ã‚¿ã�®ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰æ–‡ã‚’ä½œæˆ�ã�™ã‚‹
-        /// <summary>
-        /// ã‚¨ãƒªã‚¢ã‚¹ã‚’ä»˜ã�‘ã�Ÿæ‹…å½“è€…ãƒžã‚¹ã‚¿ã�®ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰æ–‡ã‚’ä½œæˆ�ã�™ã‚‹
-        /// </summary>
-        /// <param name="Alias"></param>
-        /// <param name="strSQL"></param>
-        private string CreatePersonSQL(string Alias)
-        {
-            try
-            {
-                StringBuilder strcmd = new StringBuilder();
-
-                bool bColFirst = true;
-                string strWork = string.Empty;
-                foreach (var gender in Enum.GetValues(typeof(IOMPersonInCharge.ColumnCnt)))
-                {
-                    strWork = gender.ToString();
-                    if (!bColFirst) strcmd.Append(", ");
-                    if (strWork.Equals("StartDate") || strWork.Equals("EndDate"))
-                    {
-                        strcmd.AppendFormat(" DATE_FORMAT({0}{1}, '%Y/%m/%d')", Alias, strWork);
-                    }
-                    else if (strWork.Equals("EntryDate") || strWork.Equals("UpdateDate"))
-                    {
-                        strcmd.AppendFormat(" DATE_FORMAT({0}{1}, '%Y/%m/%d %H:%i:%s')", Alias, strWork);
-                    }
-                    else
-                    {
-                        strcmd.AppendFormat(" {0}{1}", Alias, strWork);
-                    }
-                    bColFirst = false;
-                }
-
-                return strcmd.ToString();
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-                return string.Empty;
-            }
-        }
-        #endregion
-
-        #region è¡¨ç´™å�°é‘‘è¡¨ç¤º
-        /// <summary>
-        ///  è¡¨ç´™å�°é‘‘è¡¨ç¤º
-        /// </summary>
-        private void PrintCoverSeal(int PersonCode)
-        {
-            IOMPersonInCharge picDB = new IOMPersonInCharge();
-            IOProcessApproval paDB = new IOProcessApproval();
-            try
-            {
-                ArrayList arlist = new ArrayList();
-
-                // æ‰¿èª�ãƒ‡ãƒ¼ã‚¿èª­è¾¼
-                StringBuilder strSQLSeal = new StringBuilder();
-                strSQLSeal.Append("SELECT");
-                strSQLSeal.Append(CreatePersonSQL("B."));
-                strSQLSeal.Append(", C.SECRANK FROM PROCESSAPPROVAL A, PERSONINCHARGEMASTER B, SECURITYMASTER C");
-                strSQLSeal.Append(paDB.CreatePrimarykeyString(m_lstReqHead[0].ReqConstructionCode, (int)ClsExcute.ApprovalListNo.OrderBillingApproval, m_lstReqHead[0].OrderNo));
-                strSQLSeal.Append(" AND A.PERSONCODE = B.PERSONCODE");
-                strSQLSeal.Append(" AND C.SECCODE = B.SECCODE");
-                strSQLSeal.Append(" Order By C.SecRank ASC");
-                if (!paDB.ExecuteReader(strSQLSeal.ToString(), ref arlist)) return;
-
-                // å�°åˆ·ãƒ†ãƒ¼ãƒ–ãƒ«ä½œæˆ�
-                int[] PorsonCode = new int[4] { 0, 0, 0, 0 };
-                List<string> NameTable = new List<string>();
-                for (int i = 0; i < PorsonCode.Length; i++) NameTable.Add("");
-                string[] OrderOfPrecedenceTable = new string[4];
-
-                int PersonDataCnt = Enum.GetNames(typeof(IOMPersonInCharge.ColumnCnt)).Length;
-                // æ‰¿èª�ãƒ‡ãƒ¼ã‚¿ã‚ˆã‚Šæ‹…å½“è€…ã��ã�®ä»–ã‚’å�–å¾—ã�™ã‚‹
-                for (int i = 0; i < arlist.Count; i++)
-                {
-                    // ã‚¨ã‚¯ã‚»ãƒ«ã�®æž ã‚ˆã‚Šå¤šã�„å ´å�ˆã�¯å‡¦ç�†ã‚’æŠœã�‘ã‚‹
-                    if (i > 3) break;
-
-                    object[] readObj = (object[])arlist[i];
-                    PersonInChargeMaster PersonRec = new PersonInChargeMaster();
-                    picDB.Reader2Struct(readObj, ref PersonRec);
-
-                    // ã‚»ã‚­ãƒ¥ãƒªãƒ†ã‚£ãƒ‡ãƒ¼ã‚¿ãƒ�ã‚§ãƒƒã‚¯
-                    int SecRank = CommonMotions.cnvInt(readObj[PersonDataCnt]);
-                    int SRank = (int)CommonDefine.SecurityRankPos.SpecialAuthority;     // ç‰¹åˆ¥æ¨©é™�
-                    int FRank = (int)CommonDefine.SecurityRankPos.FreeAuthority;        // çµ±æ‹¬è€…æ¨©é™�
-                    int LRank = (int)CommonDefine.SecurityRankPos.LimitedAuthority;     // æ‰€å±žé•·æ¨©é™�
-
-                    // æ‹…å½“è€…ä»¥å¤–ã�¯å½¹è�·ã�Œã�‚ã‚‹
-                    if (SecRank == CommonDefine.SecurityRankList[SRank].Key
-                        || SecRank == CommonDefine.SecurityRankList[FRank].Key
-                        || SecRank == CommonDefine.SecurityRankList[LRank].Key)
-                    {
-                        // ã‚³ãƒ¼ãƒ‰ã�¨å��å‰�ã�¨å½¹è�·ã‚’å�–å¾—ã�™ã‚‹
-                        PorsonCode[i] = PersonRec.PersonCode;
-                        NameTable[i] = PersonRec.SealPrintName;
-                        // 7æ–‡å­—ä»¥ä¸Šã�¯æ–‡å­—ã�Œè¦‹ã�ˆã�ªã�„ã�®ã�§çœ�ç•¥
-                        if (PersonRec.DisplayString.Length > 7)
-                        {
-                            OrderOfPrecedenceTable[i] = PersonRec.DisplayString.Substring(0, 7);
-                        }
-                        else if (PersonRec.DisplayString.Length < 1)
-                        {
-                            OrderOfPrecedenceTable[i] = "æ‹…ã€€å½“";
-                        }
-                        else
-                        {
-                            OrderOfPrecedenceTable[i] = PersonRec.DisplayString;
-                        }
-                    }
-                    else
-                    {   // æ‹…å½“è€…
-                        // ã‚³ãƒ¼ãƒ‰ã�¨å��å‰�ã‚’å�–å¾—ã�™ã‚‹
-                        PorsonCode[3] = PersonRec.PersonCode;
-                        NameTable[3] = PersonRec.SealPrintName;
-                        OrderOfPrecedenceTable[3] = "æ‹…ã€€å½“";
-                    }
-                }
-                // ãƒ†ãƒ¼ãƒ–ãƒ«å†…ã�«å�Œã�˜ã‚³ãƒ¼ãƒ‰ã�Œç„¡ã�„ã�‹å¾Œã�‹ã‚‰èª¿ã�¹ã‚‹
-                for (int i = 0; i < PorsonCode.Length - 1; i++)
-                {
-                    if (PorsonCode[i] == 0) continue;
-                    for (int ii = 0; ii < PorsonCode.Length; ii++)
-                    {
-                        if (i == ii) continue;
-                        if (PorsonCode[i] != PorsonCode[ii]) continue;
-
-                        PorsonCode[ii] = 0;
-                        NameTable[ii] = string.Empty;
-                        OrderOfPrecedenceTable[ii] = string.Empty;
-                        break;
-                    }
-                }
-
-                // å�°é‘‘ã‚’æ��ç”»ã�™ã‚‹
-                OfficeShapeDefine shapedef = new OfficeShapeDefine();
-                shapedef.ShapeSheetName = s_shapeSheetName;     // å›³å½¢ã‚·ãƒ¼ãƒˆå��ç§°
-                shapedef.ShapeName = s_shapeName;               // å›³å½¢å��ç§°
-                shapedef.ShapeWidth = s_ShapeSize[0, 0];        // å›³å½¢æ��ç”»ã‚µã‚¤ã‚º Width
-                shapedef.ShapeHeight = s_ShapeSize[0, 1];       // å›³å½¢æ��ç”»ã‚µã‚¤ã‚º Height
-
-                for (int i = 0; i < 4; i++)
-                {
-                    // 
-                    if (PorsonCode[i] != 0)
-                    {
-                        shapedef.ShapeDrowPointX = s_CoverSealPoint[i, 0];          // å›³å½¢æ��ç”»ä½�ç½® X
-                        shapedef.ShapeDrowPointY = s_CoverSealPoint[i, 1];          // å›³å½¢æ��ç”»ä½�ç½® Y
-                        shapedef.DrowText = NameTable[i];                           // æ��ç”»æ–‡å­—åˆ—
-                        int ifontSize = NameTable[i].Length - 1;
-                        if (ifontSize > 4) ifontSize = 4;
-                        shapedef.FontSize = s_EstimateSeal1FontSize[ifontSize];     // ãƒ•ã‚©ãƒ³ãƒˆã‚µã‚¤ã‚º
-                        // å›³å½¢æ��ç”»
-                        m_UsedExcel.ExcelCopyShape(shapedef);
-                    }
-                    // å½¹è�·ã‚’å�°å­—ã�™ã‚‹(Mï½ž)
-                    int orgNumber = 11 + i;
-                    string strAlpha = CommonMotions.cnvNumberToAlphaCharacter(orgNumber);
-                    m_UsedExcel.ExcelCellSet(string.Format("{0}25", strAlpha), OrderOfPrecedenceTable[i]);
-                }
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-            finally
-            {
-                paDB.close(); paDB = null;
-                picDB.close(); picDB = null;
-            }
-        }
-        #endregion
-
-        #region è«‹æ±‚æ›¸(è¡¨ç´™)ä½œæˆ�
-        /// <summary>
-        /// è«‹æ±‚æ›¸(è¡¨ç´™)ä½œæˆ�
-        /// </summary>
-        /// <returns></returns>
-        private CommonDefine.RetunAnswer PrintCover()
-        {
-            try
-            {
-                //// è«‹æ±‚æ›¸è¡¨ç´™ã‚·ãƒ¼ãƒˆã�®å�–å¾—
-                m_UsedExcel.ExcelSheetGet(s_DicSheetName[enumSheetName.Cover]);
-
-                //// è«‹æ±‚æ›¸No(4è¡Œç›® Nåˆ—)
-                string strInvNo = (m_InvData.InvoiceNo / 1000).ToString();
-                strInvNo += "-";
-                strInvNo += (m_InvData.InvoiceNo % 1000).ToString("00");
-
-                ExcelPrintData InvNoData = new ExcelPrintData();
-                InvNoData.AddPrintData("N", 3, strInvNo).ExcelCellSet(m_UsedExcel);
-
-
-                //// â‘¢ è«‹æ±‚æ—¥(5è¡Œç›® Måˆ—)
-                if (m_bDatePrintFlg == true)
-                {
-                    ExcelPrintData reqDate = new ExcelPrintData();
-                    reqDate.AddPrintData("M", 4, dateTimePicker1.Value.ToString("yyyy/MM/dd")).ExcelCellSet(m_UsedExcel);
-                }
-                else
-                {
-                    ExcelPrintData reqDate = new ExcelPrintData();
-                    reqDate.AddPrintData("M", 4, "ã€€ã€€å¹´ã€€ã€€æœˆã€€ã€€æ—¥").ExcelCellSet(m_UsedExcel);
-                }
-
-                //// â‘£ è«‹æ±‚å…ˆå��ç§°(9è¡Œç›® Cåˆ—)
-                ExcelPrintData nameData = new ExcelPrintData();
-                string str = m_InvData.RequestName + "ã€€æ§˜";
-                nameData.AddPrintData("C", 8, str).ExcelCellSet(m_UsedExcel);
-
-                //// â‘¤ è«‹æ±‚é‡‘é¡�(13è¡Œç›® Cåˆ—)
-                ExcelPrintData priceData = new ExcelPrintData();
-                priceData.AddPrintData("C", 12, m_InvData.TotalAmount.ToString("#,0")).ExcelCellSet(m_UsedExcel);
-
-                //// â‘¥ æ¶ˆè²»ç¨Ž(14è¡Œç›® Cåˆ—)
-                ExcelPrintData taxData = new ExcelPrintData();
-                taxData.AddPrintData("C", 13, m_InvData.TaxAmount.ToString("#,0")).ExcelCellSet(m_UsedExcel);
-
-                //// å·¥äº‹å��(16è¡Œç›® Dåˆ—)
-//                ExcelPrintData cnstnameData = new ExcelPrintData();
-//                cnstnameData.AddPrintData("D", 15, m_lstReqHead[0].ReqConstructionName).ExcelCellSet(m_UsedExcel);
-
-                //// ä¼šç¤¾å��
-                string strCompany = CommonMotions.SystemMasterData.CompanyName1;
-                if( CommonMotions.SystemMasterData.CompanyName2 != string.Empty )
-                {
-                    strCompany += "ã€€"ã€€+ CommonMotions.SystemMasterData.CompanyName2;
-                }
-
-                //// éƒµä¾¿ç•ªå�·
-                string strZip = "ã€’" + CommonMotions.SystemMasterData.ZipCode;
-
-                //// ä½�æ‰€
-                string strAddr = CommonMotions.SystemMasterData.Address1;
-                if( CommonMotions.SystemMasterData.Address2 != string.Empty)
-                {
-                    strAddr += CommonMotions.SystemMasterData.Address2;
-                }
-                if( CommonMotions.SystemMasterData.Address3 != string.Empty){
-                    strAddr += CommonMotions.SystemMasterData.Address3;
-                }
-
-                //// TEL/FAX
-
-                string strTelFax = "";
-
-                if( CommonMotions.SystemMasterData.PhoneNumber != string.Empty )
-                {
-                    strTelFax = "TEL " + CommonMotions.SystemMasterData.PhoneNumber + "(ä»£)";
-                }
-                if( CommonMotions.SystemMasterData.FaxNumber !=  string.Empty )
-                {
-                    if( strTelFax.Length > 0 )
-                    {
-                        strTelFax += " ";
-                    }
-                    strTelFax += "FAX " + CommonMotions.SystemMasterData.FaxNumber;
-                }
-                //// URL
-                string strUrl = CommonMotions.SystemMasterData.HomePageURL;
-
-                ExcelPrintData companyData = new ExcelPrintData();
-                companyData.AddPrintData("L", 17, strCompany);                              // ä¼šç¤¾å��(18è¡Œç›® Låˆ—)           
-                companyData.AddPrintData("L", 18, strZip);                                  // éƒµä¾¿ç•ªå�·(19è¡Œç›® Låˆ—) 
-                companyData.AddPrintData("L", 19, strAddr);                                 // ä½�æ‰€(20è¡Œç›® Låˆ—)           
-                companyData.AddPrintData("L", 20, strTelFax);                               // TEL/FAX(21è¡Œç›® Låˆ—)           
-                companyData.AddPrintData("L", 21, strUrl);                                  // URL(22è¡Œç›® Låˆ—)           
-                companyData.ExcelCellSet(m_UsedExcel);
-
-                ExcelPrintData commentData = new ExcelPrintData();
-                commentData.AddPrintData("C", 17, m_InvData.Comment1);                              // ã‚³ãƒ¡ãƒ³ãƒˆ1(18è¡Œç›® Cåˆ—)           
-                commentData.AddPrintData("C", 18, m_InvData.Comment2);                              // ã‚³ãƒ¡ãƒ³ãƒˆ2(19è¡Œç›® Cåˆ—)           
-                commentData.AddPrintData("C", 19, m_InvData.Comment3);                              // ã‚³ãƒ¡ãƒ³ãƒˆ3(20è¡Œç›® Cåˆ—)           
-                commentData.AddPrintData("C", 20, m_InvData.Comment4);                              // ã‚³ãƒ¡ãƒ³ãƒˆ4(21è¡Œç›® Cåˆ—)           
-                commentData.AddPrintData("C", 21, m_InvData.Comment5);                              // ã‚³ãƒ¡ãƒ³ãƒˆ5(22è¡Œç›® Cåˆ—)           
-                commentData.ExcelCellSet(m_UsedExcel);
-
-                ConstructionBaseInfo Info = null;
-                m_dicConstructionBaseInfo.TryGetValue(m_lstReqHead[0].ReqConstructionCode, out Info);
-
-                // å�°é‘‘æ��ç”»
-                PrintCoverSeal(Info.ConstructionPersonCode);
-
-                return CommonDefine.RetunAnswer.Answer0;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-                return CommonDefine.RetunAnswer.Answer1;
-            }
-        }
-        #endregion
-
-        #region è«‹æ±‚æ›¸(ä¸€è¦§)ä½œæˆ�
-        /// <summary>
-        /// è«‹æ±‚æ›¸(ä¸€è¦§)ä½œæˆ�
-        /// </summary>
-        /// <returns></returns>
-        private CommonDefine.RetunAnswer PrintList()
-        {
-            try
-            {
-                int trow = 3;
-                ExcelPrintData ExcelPrnData = null;
-
-                //// è«‹æ±‚æ›¸è¡¨ç´™ã‚·ãƒ¼ãƒˆã�®å�–å¾—
-                m_UsedExcel.ExcelSheetGet(s_DicSheetName[enumSheetName.List]);
-
-                List<int> lstKey = new List<int>(m_dicReqData.Keys);
-
-                foreach (int nReqNo in lstKey)
-                {
-                    List<RequestData> lstData = null;
-
-                    if (m_dicReqData.TryGetValue(nReqNo, out lstData) == false)
-                    {
-                        continue;
-                    }
-
-                    foreach (RequestData ReqData in lstData)
-                    {
-                        ConstructionBaseInfo Info = null;
-
-                        if (m_dicConstructionBaseInfo.TryGetValue(ReqData.MainConstructionCode, out Info) == false)
-                        {
-                            continue;
-                        }
-
-                        string strname = (ReqData.MainConstructionCode / 100).ToString();
-                        strname += "-";
-                        strname += (ReqData.MainConstructionCode % 100).ToString("00");
-                        strname += "\r\n";
-                        strname += ReqData.ConstructionName;
-
-                        ExcelPrnData = new ExcelPrintData();
-                        ExcelPrnData.AddPrintData("B", trow, strname);             // å·¥äº‹ä»¶å��
-                        ExcelPrnData.AddPrintData("C", trow, Info.ConstructionPeriodStart.ToString("yyyy/MM/dd"));        // å·¥æœŸé–‹å§‹
-                        ExcelPrnData.AddPrintData("C", trow + 1, "ï½ž");
-                        ExcelPrnData.AddPrintData("C", trow + 2, Info.ConstructionPeriodEnd.ToString("yyyy/MM/dd"));      // å·¥æœŸçµ‚äº†
-
-                        long lAmount = ReqData.RequestAmount0;
-                        lAmount += ReqData.RequestAmount1;
-                        lAmount += ReqData.RequestAmount2;
-                        lAmount += ReqData.RequestAmount3;
-                        lAmount += ReqData.RequestAmount4;
-                        lAmount += ReqData.RequestAmount5;
-                        lAmount += ReqData.RequestAmount6;
-                        lAmount += ReqData.TaxAmount;
-                        lAmount += ReqData.UnpaidAmount;
-
-                        ExcelPrnData.AddPrintData("D", trow, lAmount.ToString("#,0"));                                  // è«‹æ±‚é‡‘é¡�
-
-                        ExcelPrnData.AddPrintData("E", trow, ReqData.Note);                                             // å‚™è€ƒ
-                        ExcelPrnData.ExcelCellSet(m_UsedExcel);
-
-                        trow += 3;
-
-                    }
-                }
-
-                return CommonDefine.RetunAnswer.Answer0;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-                return CommonDefine.RetunAnswer.Answer1;
-            }
-        }
-        #endregion
-
-        #region è«‹æ±‚æ›¸(å†…è¨³)ä½œæˆ�
-        /// <summary>
-        /// è«‹æ±‚æ›¸(å†…è¨³)ä½œæˆ�
-        /// </summary>
-        /// <param name="dicReqDetail"></param>
-        /// <param name="constLedger"></param>
-        /// <param name="lstConstLink"></param>
-        /// <returns></returns>
-        private CommonDefine.RetunAnswer PrintDetail(int no, RequestHead ReqHead, RequestData ReqData, ConstructionBaseInfo Info)
-        {
-            try
-            {
-                // è«‹æ±‚æ›¸å†…è¨³ã‚·ãƒ¼ãƒˆã�®å�–å¾—
-                m_UsedExcel.ExcelSheetGet(s_DicSheetName[enumSheetName.Detail]);
-
-                ExcelPrintData ExcelPrnData = null;
-
-                // ------------------------------- å·¥äº‹å�� -------------------------------
-                // â‘  å·¥äº‹ä»¶å��
-                ExcelPrnData = new ExcelPrintData();
-                ExcelPrnData.AddPrintData("C", 2, ReqData.ConstructionName).ExcelCellSet(m_UsedExcel);
-
-                // ------------------------------- è«‹è² é‡‘é¡� -------------------------------
-                ExcelPrnData = new ExcelPrintData();
-                ExcelPrnData.AddPrintData("A", 5, no.ToString());
-                ExcelPrnData.AddPrintData("G", 5, ReqData.ContractAmount.ToString("#,0"));
-                ExcelPrnData.ExcelCellSet(m_UsedExcel);
-
-                // ------------------------------- å‰�å›žã�”è«‹æ±‚åˆ† -------------------------------
-                // åˆ†å‰²æ‰•ã�„ã�®å ´å�ˆ
-                if (Info.BillingSplitFlg == (int)ConstructionBaseInfo.BillingSplitFlgDef.SplitBilling)
-                {
-                    ExcelPrnData = new ExcelPrintData();
-                    ExcelPrnData.AddPrintData("B", 7, "å‰�å›žã�”è«‹æ±‚æ¸ˆåˆ†");
-                    ExcelPrnData.AddPrintData("C", 7, "å‰�å›žè«‹æ±‚æ›¸å�‚ç…§â€»å¢—æ¸›è£œæ­£æ¸ˆã�¿");
-                    ExcelPrnData.AddPrintData("D", 7, "1");
-                    ExcelPrnData.AddPrintData("E", 7, "å¼�");
-                    ExcelPrnData.AddPrintData("G", 7, ReqData.PaidAmount.ToString("#,0"));
-                    ExcelPrnData.ExcelCellSet(m_UsedExcel);
-                }
-
-                long lTotalAmount = 0;
-
-                // ------------------------------- è¦‹ç©�é‡‘é¡�ï¼ˆæœ¬å·¥äº‹ï¼‰ -------------------------------
-                ExcelPrnData = new ExcelPrintData();
-                ExcelPrnData.AddPrintData("G", 9, ReqData.RequestAmount0.ToString("#,0"));
-                ExcelPrnData.ExcelCellSet(m_UsedExcel);
-
-                lTotalAmount += ReqData.RequestAmount0;
- 
-                // ------------------------------- è¦‹ç©�é‡‘é¡�ï¼ˆå¢—æ¸›å·¥äº‹ï¼‰ -------------------------------
-                long[] lAmount = new long[] { ReqData.RequestAmount1, ReqData.RequestAmount2, ReqData.RequestAmount3, ReqData.RequestAmount4, ReqData.RequestAmount5, ReqData.RequestAmount6 };
-                string[] strTitle = new string[] { "å¢—æ¸›å·¥äº‹ï¼‘", "å¢—æ¸›å·¥äº‹ï¼’", "å¢—æ¸›å·¥äº‹ï¼“", "å¢—æ¸›å·¥äº‹ï¼”", "å¢—æ¸›å·¥äº‹ï¼•", "å¢—æ¸›å·¥äº‹ï¼–" };
-
-                for (int i = 0; i < 6; i++)
-                {
-                    if (lAmount[i] > 0)
-                    {
-                        ExcelPrnData = new ExcelPrintData();
-                        ExcelPrnData.AddPrintData("B", 10 + i, strTitle[i]);
-                        ExcelPrnData.AddPrintData("C", 10 + i, "è¿½åŠ å¢—æ¸›è¦‹ç©�ã‚‚ã‚Šå�‚ç…§");
-                        ExcelPrnData.AddPrintData("D", 10 + i, "1");
-                        ExcelPrnData.AddPrintData("E", 10 + i, "å¼�");
-                        ExcelPrnData.AddPrintData("G", 10 + i, lAmount[i].ToString("#,0"));
-                        ExcelPrnData.ExcelCellSet(m_UsedExcel);
-
-                        lTotalAmount += lAmount[i];
-                    }
-                }
-
-                // ------------------------------- ä»Šå›žã�”è«‹æ±‚åˆ† -------------------------------
-                ExcelPrnData = new ExcelPrintData();
-                ExcelPrnData.AddPrintData("G", 17, lTotalAmount.ToString("#,0"));
-                ExcelPrnData.ExcelCellSet(m_UsedExcel);
-
-                // ------------------------------- è«‹è² é‡‘é¡�æ®‹é‡‘ -------------------------------
-                // åˆ†å‰²æ‰•ã�„ã�®å ´å�ˆ
-                if (Info.BillingSplitFlg == (int)ConstructionBaseInfo.BillingSplitFlgDef.SplitBilling)
-                {
-                    ExcelPrnData = new ExcelPrintData();
-                    ExcelPrnData.AddPrintData("B", 19, "è«‹è² é‡‘é¡�æ®‹é‡‘");
-                    ExcelPrnData.AddPrintData("D", 19, "1");
-                    ExcelPrnData.AddPrintData("E", 19, "å¼�");
-                    ExcelPrnData.AddPrintData("G", 19, ReqData.UnclaimedAmount.ToString("#,0"));
-                    ExcelPrnData.ExcelCellSet(m_UsedExcel);
-                }
-
-                // ------------------------------- æœªå…¥é‡‘åˆ† -------------------------------
-                if (ReqData.UnpaidAmount > 0)
-                {
-                    ExcelPrnData = new ExcelPrintData();
-                    ExcelPrnData.AddPrintData("B", 21, "æœªå…¥é‡‘åˆ†");
-                    ExcelPrnData.AddPrintData("G", 21, ReqData.UnpaidAmount.ToString("#,0"));
-                    ExcelPrnData.ExcelCellSet(m_UsedExcel);
-
-                    lTotalAmount += ReqData.UnpaidAmount;
-                }
-
-                // ------------------------------- å°�è¨ˆ -------------------------------
-                ExcelPrnData = new ExcelPrintData();
-                ExcelPrnData.AddPrintData("G", 23, lTotalAmount.ToString("#,0"));
-                ExcelPrnData.ExcelCellSet(m_UsedExcel);
-
-                // ------------------------------- æ¶ˆè²»ç¨Ž -------------------------------
-                ExcelPrnData = new ExcelPrintData();
-                ExcelPrnData.AddPrintData("C", 24, string.Format("{0}%",CommonMotions.SystemMasterData.ConsumptionTax));
-                ExcelPrnData.AddPrintData("G", 24, ReqData.TaxAmount.ToString("#,0"));
-                ExcelPrnData.ExcelCellSet(m_UsedExcel);
-                lTotalAmount += ReqData.TaxAmount;
-
-                // ------------------------------- ç¨Žè¾¼é‡‘é¡�å�ˆè¨ˆ -------------------------------
-                ExcelPrnData = new ExcelPrintData();
-                ExcelPrnData.AddPrintData("G", 25, lTotalAmount.ToString("#,0"));
-                ExcelPrnData.ExcelCellSet(m_UsedExcel);
-
-                return CommonDefine.RetunAnswer.Answer0;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-                return CommonDefine.RetunAnswer.Answer1;
-            }
-
-        }
-        #endregion
-
-        #region Excelãƒ‡ãƒ¼ã‚¿å‡ºåŠ›ç”¨å†…éƒ¨ã‚¯ãƒ©ã‚¹å®šç¾©
-        /// <summary>
-        /// Excelãƒ‡ãƒ¼ã‚¿å‡ºåŠ›ç”¨å†…éƒ¨ã‚¯ãƒ©ã‚¹å®šç¾©
-        /// </summary>
-        private class ExcelPrintData
-        {
-            // Excelãƒ‡ãƒ¼ã‚¿ä¿�æŒ�ç”¨ç”¨ãƒ‡ã‚£ã‚¯ã‚·ãƒ§ãƒŠãƒª
-            private Dictionary<int, Dictionary<int, object>> m_DicPrintData = new Dictionary<int, Dictionary<int, object>>();
-
-            // Excelã‚«ãƒ©ãƒ å��å�–å¾—ç”¨
-            private static char[] s_Asc = { 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z' };
-
-            private int m_RowMin = int.MaxValue;
-            private int m_RowMax = int.MinValue;
-            private int m_ColMin = int.MaxValue;
-            private int m_ColMax = int.MinValue;
-
-            /// <summary>
-            /// ã‚¨ã‚¯ã‚»ãƒ«ã‚«ãƒ©ãƒ å��ã�¨ã‚¤ãƒ³ãƒ‡ãƒƒã‚¯ã‚¹ç•ªå�·ã�®ãƒ‡ã‚£ã‚¯ã‚·ãƒ§ãƒŠãƒª
-            /// </summary>
-            private static Dictionary<string, int> s_IndexOfExcelColumn = InitDicColumnIndex();
-
-            /// <summary>
-            /// Excelã‚«ãƒ©ãƒ ã‚¤ãƒ³ãƒ‡ãƒƒã‚¯ã‚¹ãƒ‡ã‚£ã‚¯ã‚·ãƒ§ãƒŠãƒªä½œæˆ�ãƒ¡ã‚½ãƒƒãƒ‰
-            /// </summary>
-            /// <returns></returns>
-            private static Dictionary<string, int> InitDicColumnIndex()
-            {
-                var result = new Dictionary<string, int>();
-
-                for (int indx = 0; indx < 256; indx++)
-                {
-                    string res = GetColumnString(indx);
-
-                    result.Add(res, indx);
-
-                }
-                return result;
-            }
-
-            /// <summary>
-            /// ã‚«ãƒ©ãƒ è‹±å­—å��ã‚’å�–å¾—
-            /// </summary>
-            /// <param name="colIndex"></param>
-            /// <returns></returns>
-            private static string GetColumnString(int colIndex)
-            {
-                string res = "";
-
-                int court = colIndex;
-                while (court >= s_Asc.Count())
-                {
-                    res = s_Asc[court % s_Asc.Count()] + res;
-                    court = (int)Math.Truncate((double)court / (double)s_Asc.Count() - 1);
-                }
-                res = s_Asc[court % s_Asc.Count()] + res;
-
-                return res;
-            }
-
-            #region ãƒ‡ãƒ¼ã‚¿è¿½åŠ 
-            /// <summary>
-            /// ãƒ‡ãƒ¼ã‚¿è¿½åŠ 
-            /// </summary>
-            /// <param name="colName">ã‚«ãƒ©ãƒ å��æ–‡å­—(â€» "A", "B", ç­‰...</param>
-            /// <param name="rowNo">è¡Œã‚¤ãƒ³ãƒ‡ãƒƒã‚¯ã‚¹ç•ªå�· 0ã‚ªãƒªã‚¸ãƒ³</param>
-            /// <param name="data">å‡ºåŠ›ãƒ‡ãƒ¼ã‚¿ã‚ªãƒ–ã‚¸ã‚§ã‚¯ãƒˆ</param>
-            /// <returns></returns>
-            public ExcelPrintData AddPrintData(string colName, int rowNo, object data)
-            {
-                return AddPrintData(s_IndexOfExcelColumn[colName], rowNo, data);
-            }
-            #endregion
-
-            #region ãƒ‡ãƒ¼ã‚¿è¿½åŠ 
-            /// <summary>
-            /// ãƒ‡ãƒ¼ã‚¿è¿½åŠ 
-            /// </summary>
-            /// <param name="colIndex">ã‚«ãƒ©ãƒ ã‚¤ãƒ³ãƒ‡ãƒƒã‚¯ã‚¹ 0ã‚ªãƒªã‚¸ãƒ³</param>
-            /// <param name="rowNo">è¡Œã‚¤ãƒ³ãƒ‡ãƒƒã‚¯ã‚¹ç•ªå�· 0ã‚ªãƒªã‚¸ãƒ³</param>
-            /// <param name="data">å‡ºåŠ›ãƒ‡ãƒ¼ã‚¿ã‚ªãƒ–ã‚¸ã‚§ã‚¯ãƒˆ</param>
-            /// <returns></returns>
-            public ExcelPrintData AddPrintData(int colIndex, int rowNo, object data)
-            {
-                if (!m_DicPrintData.ContainsKey(rowNo))
-                    m_DicPrintData[rowNo] = new Dictionary<int, object>();
-
-                m_DicPrintData[rowNo][colIndex] = data;
-
-                if (m_RowMin > rowNo) m_RowMin = rowNo;
-                if (m_RowMax < rowNo) m_RowMax = rowNo;
-                if (m_ColMin > colIndex) m_ColMin = colIndex;
-                if (m_ColMax < colIndex) m_ColMax = colIndex;
-
-                return this;
-            }
-            #endregion
-
-            #region UsedExcelã‚ªãƒ–ã‚¸ã‚§ã‚¯ãƒˆã�«ãƒ‡ãƒ¼ã‚¿ã‚’ã‚»ãƒƒãƒˆã�™ã‚‹
-            /// <summary>
-            /// UsedExcelã‚ªãƒ–ã‚¸ã‚§ã‚¯ãƒˆã�«ãƒ‡ãƒ¼ã‚¿ã‚’ã‚»ãƒƒãƒˆã�™ã‚‹
-            /// </summary>
-            /// <param name="usedExcel">UsedExcelã‚ªãƒ–ã‚¸ã‚§ã‚¯ãƒˆ(ã‚·ãƒ¼ãƒˆå�–å¾—æ¸ˆã�¿ã�§ã�‚ã‚‹ã�“ã�¨)</param>
-            public void ExcelCellSet(UsedExcel usedExcel)
-            {
-                if (m_RowMin == int.MaxValue ||
-                    m_RowMax == int.MinValue ||
-                    m_ColMin == int.MaxValue ||
-                    m_ColMax == int.MinValue)
-                {
-                    return;
-                }
-
-                // ã‚ªãƒ–ã‚¸ã‚§ã‚¯ãƒˆé…�åˆ—ã‚’å®£è¨€
-                object[,] objCells = new object[m_RowMax - m_RowMin + 1, m_ColMax - m_ColMin + 1];
-
-                // é…�åˆ—ã�«ãƒ‡ãƒ¼ã‚¿ã‚’ç§»ã�—æ›¿ã�ˆã‚‹
-                foreach (int row in m_DicPrintData.Keys)
-                {
-                    foreach (int col in m_DicPrintData[row].Keys)
-                    {
-                        objCells[row - m_RowMin, col - m_ColMin] = m_DicPrintData[row][col];
-                    }
-                }
-
-                // ã‚»ãƒ«å��ã‚’å�–å¾—
-                string startCell = GetColumnString(m_ColMin) + string.Format("{0}", m_RowMin + 1);
-                string endCell = GetColumnString(m_ColMax) + string.Format("{0}", m_RowMax + 1);
-
-                // ã‚»ãƒ«ã�«ã‚»ãƒƒãƒˆ
-                usedExcel.ExcelCellSet(startCell, objCells, endCell);
-
-            }
-            #endregion
-        }
-        #endregion
-
-
-    }
-}
Index: branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmRequestPrint.Designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmRequestPrint.Designer.cs	(revision 328)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmRequestPrint.Designer.cs	(nonexistent)
@@ -1,292 +0,0 @@
-ï»¿namespace ProcessManagement.Forms.SubForms
-{
-    partial class FrmRequestPrint
-    {
-        /// <summary>
-        /// Required designer variable.
-        /// </summary>
-        private System.ComponentModel.IContainer components = null;
-
-        /// <summary>
-        /// Clean up any resources being used.
-        /// </summary>
-        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
-        protected override void Dispose(bool disposing)
-        {
-            if (disposing && (components != null))
-            {
-                components.Dispose();
-            }
-            base.Dispose(disposing);
-        }
-
-        #region Windows Form Designer generated code
-
-        /// <summary>
-        /// Required method for Designer support - do not modify
-        /// the contents of this method with the code editor.
-        /// </summary>
-        private void InitializeComponent()
-        {
-            this.btnExecProc1 = new System.Windows.Forms.Button();
-            this.btnCancel = new System.Windows.Forms.Button();
-            this.btnExecProc2 = new System.Windows.Forms.Button();
-            this.panel1 = new System.Windows.Forms.Panel();
-            this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker();
-            this.groupBox2 = new System.Windows.Forms.GroupBox();
-            this.rdNoPrint = new System.Windows.Forms.RadioButton();
-            this.rdPrint = new System.Windows.Forms.RadioButton();
-            this.groupBox3 = new System.Windows.Forms.GroupBox();
-            this.txtComment5 = new System.Windows.Forms.TextBox();
-            this.txtComment4 = new System.Windows.Forms.TextBox();
-            this.txtComment3 = new System.Windows.Forms.TextBox();
-            this.txtComment2 = new System.Windows.Forms.TextBox();
-            this.txtComment1 = new System.Windows.Forms.TextBox();
-            this.groupBox4 = new System.Windows.Forms.GroupBox();
-            this.lblOrderersName = new System.Windows.Forms.Label();
-            this.label1 = new System.Windows.Forms.Label();
-            this.panel1.SuspendLayout();
-            this.groupBox2.SuspendLayout();
-            this.groupBox3.SuspendLayout();
-            this.groupBox4.SuspendLayout();
-            this.SuspendLayout();
-            // 
-            // btnExecProc1
-            // 
-            this.btnExecProc1.BackColor = System.Drawing.Color.Green;
-            this.btnExecProc1.FlatStyle = System.Windows.Forms.FlatStyle.System;
-            this.btnExecProc1.ForeColor = System.Drawing.Color.White;
-            this.btnExecProc1.Location = new System.Drawing.Point(331, 10);
-            this.btnExecProc1.Name = "btnExecProc1";
-            this.btnExecProc1.Size = new System.Drawing.Size(140, 40);
-            this.btnExecProc1.TabIndex = 0;
-            this.btnExecProc1.Text = "å�°åˆ·ã�®ã�¿";
-            this.btnExecProc1.UseVisualStyleBackColor = false;
-            this.btnExecProc1.Click += new System.EventHandler(this.btnExecProc1_Click);
-            // 
-            // btnCancel
-            // 
-            this.btnCancel.BackColor = System.Drawing.Color.Red;
-            this.btnCancel.FlatStyle = System.Windows.Forms.FlatStyle.System;
-            this.btnCancel.ForeColor = System.Drawing.Color.White;
-            this.btnCancel.Location = new System.Drawing.Point(477, 10);
-            this.btnCancel.Name = "btnCancel";
-            this.btnCancel.Size = new System.Drawing.Size(140, 40);
-            this.btnCancel.TabIndex = 3;
-            this.btnCancel.Text = "ã‚­ãƒ£ãƒ³ã‚»ãƒ«";
-            this.btnCancel.UseVisualStyleBackColor = false;
-            this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
-            // 
-            // btnExecProc2
-            // 
-            this.btnExecProc2.BackColor = System.Drawing.Color.Green;
-            this.btnExecProc2.FlatStyle = System.Windows.Forms.FlatStyle.System;
-            this.btnExecProc2.ForeColor = System.Drawing.Color.White;
-            this.btnExecProc2.Location = new System.Drawing.Point(185, 10);
-            this.btnExecProc2.Name = "btnExecProc2";
-            this.btnExecProc2.Size = new System.Drawing.Size(140, 40);
-            this.btnExecProc2.TabIndex = 1;
-            this.btnExecProc2.Text = "ä¿�å­˜ã�®ã�¿";
-            this.btnExecProc2.UseVisualStyleBackColor = false;
-            this.btnExecProc2.Click += new System.EventHandler(this.btnExecProc2_Click);
-            // 
-            // panel1
-            // 
-            this.panel1.BackColor = System.Drawing.Color.WhiteSmoke;
-            this.panel1.Controls.Add(this.btnCancel);
-            this.panel1.Controls.Add(this.btnExecProc1);
-            this.panel1.Controls.Add(this.btnExecProc2);
-            this.panel1.Location = new System.Drawing.Point(16, 429);
-            this.panel1.Name = "panel1";
-            this.panel1.Size = new System.Drawing.Size(620, 60);
-            this.panel1.TabIndex = 3;
-            // 
-            // dateTimePicker1
-            // 
-            this.dateTimePicker1.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.dateTimePicker1.Location = new System.Drawing.Point(312, 18);
-            this.dateTimePicker1.Name = "dateTimePicker1";
-            this.dateTimePicker1.Size = new System.Drawing.Size(179, 28);
-            this.dateTimePicker1.TabIndex = 5;
-            this.dateTimePicker1.TabStop = false;
-            // 
-            // groupBox2
-            // 
-            this.groupBox2.BackColor = System.Drawing.Color.WhiteSmoke;
-            this.groupBox2.Controls.Add(this.rdNoPrint);
-            this.groupBox2.Controls.Add(this.rdPrint);
-            this.groupBox2.Controls.Add(this.dateTimePicker1);
-            this.groupBox2.Location = new System.Drawing.Point(16, 67);
-            this.groupBox2.Name = "groupBox2";
-            this.groupBox2.Size = new System.Drawing.Size(620, 101);
-            this.groupBox2.TabIndex = 7;
-            this.groupBox2.TabStop = false;
-            this.groupBox2.Text = "è«‹æ±‚æ—¥";
-            // 
-            // rdNoPrint
-            // 
-            this.rdNoPrint.AutoSize = true;
-            this.rdNoPrint.Location = new System.Drawing.Point(175, 58);
-            this.rdNoPrint.Name = "rdNoPrint";
-            this.rdNoPrint.Size = new System.Drawing.Size(363, 23);
-            this.rdNoPrint.TabIndex = 14;
-            this.rdNoPrint.Text = "å�°å­—ã�—ã�ªã�„ï¼ˆã€€ã€€å¹´ã€€ã€€æœˆã€€ã€€æ—¥ï¼‰";
-            this.rdNoPrint.UseVisualStyleBackColor = true;
-            this.rdNoPrint.CheckedChanged += new System.EventHandler(this.radioButton3_CheckedChanged);
-            // 
-            // rdPrint
-            // 
-            this.rdPrint.AutoSize = true;
-            this.rdPrint.Checked = true;
-            this.rdPrint.Location = new System.Drawing.Point(175, 22);
-            this.rdPrint.Name = "rdPrint";
-            this.rdPrint.Size = new System.Drawing.Size(111, 23);
-            this.rdPrint.TabIndex = 15;
-            this.rdPrint.TabStop = true;
-            this.rdPrint.Text = "å�°å­—ã�™ã‚‹";
-            this.rdPrint.UseVisualStyleBackColor = true;
-            // 
-            // groupBox3
-            // 
-            this.groupBox3.BackColor = System.Drawing.Color.WhiteSmoke;
-            this.groupBox3.Controls.Add(this.txtComment5);
-            this.groupBox3.Controls.Add(this.txtComment4);
-            this.groupBox3.Controls.Add(this.txtComment3);
-            this.groupBox3.Controls.Add(this.txtComment2);
-            this.groupBox3.Controls.Add(this.txtComment1);
-            this.groupBox3.Location = new System.Drawing.Point(15, 179);
-            this.groupBox3.Name = "groupBox3";
-            this.groupBox3.Size = new System.Drawing.Size(621, 200);
-            this.groupBox3.TabIndex = 14;
-            this.groupBox3.TabStop = false;
-            this.groupBox3.Text = "ã‚³ãƒ¡ãƒ³ãƒˆ";
-            // 
-            // txtComment5
-            // 
-            this.txtComment5.ImeMode = System.Windows.Forms.ImeMode.On;
-            this.txtComment5.Location = new System.Drawing.Point(17, 161);
-            this.txtComment5.MaxLength = 60;
-            this.txtComment5.Name = "txtComment5";
-            this.txtComment5.Size = new System.Drawing.Size(587, 26);
-            this.txtComment5.TabIndex = 4;
-            // 
-            // txtComment4
-            // 
-            this.txtComment4.ImeMode = System.Windows.Forms.ImeMode.On;
-            this.txtComment4.Location = new System.Drawing.Point(17, 127);
-            this.txtComment4.MaxLength = 60;
-            this.txtComment4.Name = "txtComment4";
-            this.txtComment4.Size = new System.Drawing.Size(587, 26);
-            this.txtComment4.TabIndex = 3;
-            // 
-            // txtComment3
-            // 
-            this.txtComment3.ImeMode = System.Windows.Forms.ImeMode.On;
-            this.txtComment3.Location = new System.Drawing.Point(17, 94);
-            this.txtComment3.MaxLength = 60;
-            this.txtComment3.Name = "txtComment3";
-            this.txtComment3.Size = new System.Drawing.Size(587, 26);
-            this.txtComment3.TabIndex = 2;
-            // 
-            // txtComment2
-            // 
-            this.txtComment2.ImeMode = System.Windows.Forms.ImeMode.On;
-            this.txtComment2.Location = new System.Drawing.Point(17, 61);
-            this.txtComment2.MaxLength = 60;
-            this.txtComment2.Name = "txtComment2";
-            this.txtComment2.Size = new System.Drawing.Size(587, 26);
-            this.txtComment2.TabIndex = 1;
-            // 
-            // txtComment1
-            // 
-            this.txtComment1.ImeMode = System.Windows.Forms.ImeMode.On;
-            this.txtComment1.Location = new System.Drawing.Point(17, 27);
-            this.txtComment1.MaxLength = 60;
-            this.txtComment1.Name = "txtComment1";
-            this.txtComment1.Size = new System.Drawing.Size(587, 26);
-            this.txtComment1.TabIndex = 0;
-            // 
-            // groupBox4
-            // 
-            this.groupBox4.BackColor = System.Drawing.Color.WhiteSmoke;
-            this.groupBox4.Controls.Add(this.lblOrderersName);
-            this.groupBox4.Controls.Add(this.label1);
-            this.groupBox4.Location = new System.Drawing.Point(16, 0);
-            this.groupBox4.Name = "groupBox4";
-            this.groupBox4.Size = new System.Drawing.Size(620, 60);
-            this.groupBox4.TabIndex = 17;
-            this.groupBox4.TabStop = false;
-            // 
-            // lblOrderersName
-            // 
-            this.lblOrderersName.BackColor = System.Drawing.Color.White;
-            this.lblOrderersName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
-            this.lblOrderersName.Location = new System.Drawing.Point(112, 21);
-            this.lblOrderersName.Name = "lblOrderersName";
-            this.lblOrderersName.Size = new System.Drawing.Size(485, 26);
-            this.lblOrderersName.TabIndex = 17;
-            this.lblOrderersName.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
-            // 
-            // label1
-            // 
-            this.label1.AutoSize = true;
-            this.label1.Location = new System.Drawing.Point(15, 25);
-            this.label1.Name = "label1";
-            this.label1.Size = new System.Drawing.Size(93, 19);
-            this.label1.TabIndex = 16;
-            this.label1.Text = "è«‹æ±‚å…ˆå��";
-            // 
-            // FrmRequestPrint
-            // 
-            this.AcceptButton = this.btnExecProc1;
-            this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
-            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
-            this.BackColor = System.Drawing.Color.White;
-            this.ClientSize = new System.Drawing.Size(652, 502);
-            this.Controls.Add(this.groupBox4);
-            this.Controls.Add(this.groupBox3);
-            this.Controls.Add(this.groupBox2);
-            this.Controls.Add(this.panel1);
-            this.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
-            this.KeyPreview = true;
-            this.MaximizeBox = false;
-            this.MinimizeBox = false;
-            this.Name = "FrmRequestPrint";
-            this.ShowIcon = false;
-            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
-            this.Text = "å®Ÿã€€è¡Œã€€ç¢ºã€€èª�";
-            this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.FrmStatusAndDate_FormClosed);
-            this.Load += new System.EventHandler(this.FrmCostStructureDiag_Load);
-            this.panel1.ResumeLayout(false);
-            this.groupBox2.ResumeLayout(false);
-            this.groupBox2.PerformLayout();
-            this.groupBox3.ResumeLayout(false);
-            this.groupBox3.PerformLayout();
-            this.groupBox4.ResumeLayout(false);
-            this.groupBox4.PerformLayout();
-            this.ResumeLayout(false);
-
-        }
-
-        #endregion
-
-        private System.Windows.Forms.Button btnExecProc1;
-        private System.Windows.Forms.Button btnCancel;
-        private System.Windows.Forms.Button btnExecProc2;
-        private System.Windows.Forms.Panel panel1;
-        private System.Windows.Forms.DateTimePicker dateTimePicker1;
-        private System.Windows.Forms.GroupBox groupBox2;
-        private System.Windows.Forms.RadioButton rdNoPrint;
-        private System.Windows.Forms.RadioButton rdPrint;
-        private System.Windows.Forms.GroupBox groupBox3;
-        private System.Windows.Forms.TextBox txtComment5;
-        private System.Windows.Forms.TextBox txtComment4;
-        private System.Windows.Forms.TextBox txtComment3;
-        private System.Windows.Forms.TextBox txtComment2;
-        private System.Windows.Forms.TextBox txtComment1;
-        private System.Windows.Forms.GroupBox groupBox4;
-        private System.Windows.Forms.Label lblOrderersName;
-        private System.Windows.Forms.Label label1;
-    }
-}
\ No newline at end of file
Index: branches/src/ProcessManagement/ProcessManagement/Forms/ZMenu/FrmMenuAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/ZMenu/FrmMenuAuxiliary.cs	(revision 328)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/ZMenu/FrmMenuAuxiliary.cs	(revision 329)
@@ -48,7 +48,7 @@
                 GetSystemExecute(ref recordRec);
                 
                 // ã‚³ãƒ”ãƒ¼ãƒ»ç’°å¢ƒã�®æ›´æ–°ç¢ºèª�
-                if (recordRec.UpDateCopyVersion > CommonVersion.s_UpDateCopyVersion)
+                if (recordRec.UpDateCopyVersion != CommonVersion.s_UpDateCopyVersion)
                 {
                     // ã‚³ãƒ”ãƒ¼æ©Ÿèƒ½ã�®æ›´æ–°
                     ClsUpDate.UpdateAndEnvFileCopy();
@@ -63,7 +63,7 @@
                 }
 
                 // æœ¬ä½“æ›´æ–°ã�®ç¢ºèª�
-                if (recordRec.SystemVersion > CommonVersion.s_SystemVersion)
+                if (recordRec.SystemVersion != CommonVersion.s_SystemVersion)
                 {
                     // æœ¬ä½“ãƒ»ç’°å¢ƒæ›´æ–°ã‚’èµ·å‹•ã�™ã‚‹
                     string ExecProc = System.Environment.CurrentDirectory + "\\" + CommonDefine.s_UPDATECOPY_NAME;
@@ -127,16 +127,15 @@
         {
             try
             {
-                bool bVis = false;
-
                 // ã‚·ã‚¹ãƒ†ãƒ ã�®ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³ã‚’ãƒ�ã‚§ãƒƒã‚¯ã�™ã‚‹
                 // ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³èª­è¾¼
                 SystemExecute recordRec = new SystemExecute();
                 GetSystemExecute(ref recordRec);
 
-                if (recordRec.SystemVersion > CommonVersion.s_SystemVersion) bVis = true;
-                    
-                lblUpdateNotice.Visible = bVis;
+                if (recordRec.SystemVersion != CommonVersion.s_SystemVersion)
+                {
+                    lblUpdateNotice.Visible = true;
+                }
             }
             catch (Exception ex)
             {
@@ -7573,12 +7572,12 @@
                                 dgv.Rows[1].Cells[icnt].Value = "10";
                                 // æœˆå†…ã�®10æ—¥åŒºåˆ‡ã‚Šã‚’å�°åˆ·ã�™ã‚‹
                                 m_StaffAssignmentDaySplitLine[(i * 3)] = icnt;
-                                // ======= DEbug =======
-                                if (CalenderStartDate.AddMonths(i).Month == 1)
-                                {
-                                    Console.WriteLine(string.Format("iLastDays={0}", iLastDays));
-                                }
-                                // ======= DEbug =======
+                                //// ======= DEbug =======
+                                //if (CalenderStartDate.AddMonths(i).Month == 1)
+                                //{
+                                //    Console.WriteLine(string.Format("iLastDays={0}", iLastDays));
+                                //}
+                                //// ======= DEbug =======
                                 break;
 
                             case 10:
Index: branches/src/ProcessManagement/ProcessManagement/Forms/ZMenu/FrmMenuEvent.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/ZMenu/FrmMenuEvent.cs	(revision 328)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/ZMenu/FrmMenuEvent.cs	(revision 329)
@@ -435,7 +435,7 @@
                             case 1:                         // è«‹æ±‚æ›¸ä½œæˆ�
                                 #region è«‹æ±‚æ›¸å…¥åŠ›ï¼ˆå‡ºæ�¥é«˜ï¼‰
                                 // è«‹æ±‚æ›¸å…¥åŠ›ï¼ˆå‡ºæ�¥é«˜ï¼‰â†’åˆ†å‰²
-                                NowPoint = ClsExcute.NextProcess((int)ClsExcute.ProcessExecuteNo.BillingEntrylList);
+                                NowPoint = ClsExcute.NextProcess((int)ClsExcute.ProcessExecuteNo.RequestInputlList);
 
                                 // è«‹æ±‚æ›¸å…¥åŠ›ï¼ˆå‡ºæ�¥é«˜ï¼‰
                                 ClsExcute.ProcControlPara[NowPoint].IntExecParameter.Add((int)ClsExcute.ProcessExecuteNo.RequestInput);
@@ -457,7 +457,11 @@
                             case 5:                         // è«‹æ±‚æ›¸å�°åˆ·
                                 #region è«‹æ±‚æ›¸å�°åˆ·
                                 // è«‹æ±‚æ›¸å�°åˆ·
-                                NowPoint = ClsExcute.NextProcess((int)ClsExcute.ProcessExecuteNo.RequestPrint);
+                                NowPoint = ClsExcute.NextProcess((int)ClsExcute.ProcessExecuteNo.RequestPrintList);
+
+                                // è«‹æ±‚æ›¸å�°åˆ·ï¼ˆå‡ºæ�¥é«˜ï¼‰
+                                ClsExcute.ProcControlPara[NowPoint].IntExecParameter.Add((int)ClsExcute.ProcessExecuteNo.RequestPrint);
+                                ClsExcute.ProcControlPara[NowPoint].IntExecParameter.Add((int)ConstructionBaseInfo.BillingSplitFlgDef.SplitBilling);
                                 break;
                                 #endregion
                             case 7:
@@ -498,7 +502,7 @@
                             case 1:
                                 #region è«‹æ±‚æ›¸å…¥åŠ›ï¼ˆå®Œäº†å¾Œï¼‰
                                 // è«‹æ±‚æ›¸å…¥åŠ›â†’ä¸€æ‹¬
-                                NowPoint = ClsExcute.NextProcess((int)ClsExcute.ProcessExecuteNo.BillingEntrylList);
+                                NowPoint = ClsExcute.NextProcess((int)ClsExcute.ProcessExecuteNo.RequestInputlList);
 
                                 // è«‹æ±‚æ›¸å…¥åŠ›ï¼ˆå‡ºæ�¥é«˜ï¼‰
                                 ClsExcute.ProcControlPara[NowPoint].IntExecParameter.Add((int)ClsExcute.ProcessExecuteNo.RequestInput);
@@ -520,7 +524,11 @@
                             case 5:                 // è«‹æ±‚æ›¸å�°åˆ·
                                 #region è«‹æ±‚æ›¸å�°åˆ·
                                 // è«‹æ±‚æ›¸å�°åˆ·
-                                NowPoint = ClsExcute.NextProcess((int)ClsExcute.ProcessExecuteNo.RequestPrint);
+                                NowPoint = ClsExcute.NextProcess((int)ClsExcute.ProcessExecuteNo.RequestPrintList);
+
+                                // è«‹æ±‚æ›¸å…¥åŠ›ï¼ˆå‡ºæ�¥é«˜ï¼‰
+                                ClsExcute.ProcControlPara[NowPoint].IntExecParameter.Add((int)ClsExcute.ProcessExecuteNo.RequestPrint);
+                                ClsExcute.ProcControlPara[NowPoint].IntExecParameter.Add((int)ConstructionBaseInfo.BillingSplitFlgDef.AllOnBilling);
                                 break;
                                 #endregion
                             case 7:
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/ProcessManagement.csproj
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/ProcessManagement.csproj	(revision 328)
+++ branches/src/ProcessManagement/ProcessManagement/ProcessManagement.csproj	(revision 329)
@@ -647,15 +647,36 @@
     <Compile Include="Forms\DataEntry\ReqBillingStatus\FrmReqBillingStatusAuxiliary.cs">
       <SubType>Form</SubType>
     </Compile>
-    <Compile Include="Forms\DataEntry\Request\ConstrReqList\FrmConstrReqList.cs">
+    <Compile Include="Forms\DataEntry\Request\RequestEntryList\FrmReqEntryList.cs">
       <SubType>Form</SubType>
     </Compile>
-    <Compile Include="Forms\DataEntry\Request\ConstrReqList\FrmConstrReqList.designer.cs">
-      <DependentUpon>FrmConstrReqList.cs</DependentUpon>
+    <Compile Include="Forms\DataEntry\Request\RequestEntryList\FrmReqEntryList.designer.cs">
+      <DependentUpon>FrmReqEntryList.cs</DependentUpon>
     </Compile>
-    <Compile Include="Forms\DataEntry\Request\ConstrReqList\FrmConstrReqListAuxiliary.cs">
+    <Compile Include="Forms\DataEntry\Request\RequestEntryList\FrmReqEntryListAuxiliary.cs">
       <SubType>Form</SubType>
     </Compile>
+    <Compile Include="Forms\DataEntry\Request\RequestEntry\FrmReqEntPrtOut.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="Forms\DataEntry\Request\RequestEntry\FrmRequestPrintSel.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="Forms\DataEntry\Request\RequestEntry\FrmRequestPrintSel.Designer.cs">
+      <DependentUpon>FrmRequestPrintSel.cs</DependentUpon>
+    </Compile>
+    <Compile Include="Forms\DataEntry\Request\RequestEntry\FrmRequestPrintSelAux.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="Forms\DataEntry\Request\RequestInputList\FrmReqInputList.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="Forms\DataEntry\Request\RequestInputList\FrmReqInputList.designer.cs">
+      <DependentUpon>FrmReqInputList.cs</DependentUpon>
+    </Compile>
+    <Compile Include="Forms\DataEntry\Request\RequestInputList\FrmReqInputListAuxiliary.cs">
+      <SubType>Form</SubType>
+    </Compile>
     <Compile Include="Forms\DataEntry\Request\SelectPayment\FrmEntryDeposit.cs">
       <SubType>Form</SubType>
     </Compile>
@@ -860,10 +881,10 @@
     <Compile Include="Forms\SubForms\FrmPrintInfomation.Designer.cs">
       <DependentUpon>FrmPrintInfomation.cs</DependentUpon>
     </Compile>
-    <Compile Include="Forms\SubForms\FrmRequestPrint.cs">
+    <Compile Include="Forms\DataEntry\Request\RequestEntry\FrmRequestPrint.cs">
       <SubType>Form</SubType>
     </Compile>
-    <Compile Include="Forms\SubForms\FrmRequestPrint.Designer.cs">
+    <Compile Include="Forms\DataEntry\Request\RequestEntry\FrmRequestPrint.Designer.cs">
       <DependentUpon>FrmRequestPrint.cs</DependentUpon>
     </Compile>
     <Compile Include="Forms\SubForms\FrmPeriodAvoidance.cs">
@@ -1493,9 +1514,15 @@
     <EmbeddedResource Include="Forms\DataEntry\ReqBillingStatus\FrmReqBillingStatus.resx">
       <DependentUpon>FrmReqBillingStatus.cs</DependentUpon>
     </EmbeddedResource>
-    <EmbeddedResource Include="Forms\DataEntry\Request\ConstrReqList\FrmConstrReqList.resx">
-      <DependentUpon>FrmConstrReqList.cs</DependentUpon>
+    <EmbeddedResource Include="Forms\DataEntry\Request\RequestEntryList\FrmReqEntryList.resx">
+      <DependentUpon>FrmReqEntryList.cs</DependentUpon>
     </EmbeddedResource>
+    <EmbeddedResource Include="Forms\DataEntry\Request\RequestEntry\FrmRequestPrintSel.resx">
+      <DependentUpon>FrmRequestPrintSel.cs</DependentUpon>
+    </EmbeddedResource>
+    <EmbeddedResource Include="Forms\DataEntry\Request\RequestInputList\FrmReqInputList.resx">
+      <DependentUpon>FrmReqInputList.cs</DependentUpon>
+    </EmbeddedResource>
     <EmbeddedResource Include="Forms\DataEntry\Request\SelectPayment\FrmEntryDeposit.resx">
       <DependentUpon>FrmEntryDeposit.cs</DependentUpon>
     </EmbeddedResource>
@@ -1577,7 +1604,7 @@
     <EmbeddedResource Include="Forms\SubForms\FrmPrintInfomation.resx">
       <DependentUpon>FrmPrintInfomation.cs</DependentUpon>
     </EmbeddedResource>
-    <EmbeddedResource Include="Forms\SubForms\FrmRequestPrint.resx">
+    <EmbeddedResource Include="Forms\DataEntry\Request\RequestEntry\FrmRequestPrint.resx">
       <DependentUpon>FrmRequestPrint.cs</DependentUpon>
     </EmbeddedResource>
     <EmbeddedResource Include="Forms\SubForms\FrmPeriodAvoidance.resx">
Index: branches/src/ProcessManagement/ProcessManagement/Properties/AssemblyInfo.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Properties/AssemblyInfo.cs	(revision 328)
+++ branches/src/ProcessManagement/ProcessManagement/Properties/AssemblyInfo.cs	(revision 329)
@@ -32,7 +32,7 @@
 // ã�™ã�¹ã�¦ã�®å€¤ã‚’æŒ‡å®šã�™ã‚‹ã�‹ã€�ä¸‹ã�®ã‚ˆã�†ã�« '*' ã‚’ä½¿ã�£ã�¦ãƒ“ãƒ«ãƒ‰ã�Šã‚ˆã�³ãƒªãƒ“ã‚¸ãƒ§ãƒ³ç•ªå�·ã‚’ 
 // æ—¢å®šå€¤ã�«ã�™ã‚‹ã�“ã�¨ã�Œã�§ã��ã�¾ã�™:
 // [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.1.153")]
-[assembly: AssemblyFileVersion("1.0.1.153")]
+[assembly: AssemblyVersion("1.0.1.154")]
+[assembly: AssemblyFileVersion("1.0.1.154")]
 // Log4netã‚’ä½¿ç”¨ã�™ã‚‹
 [assembly: log4net.Config.XmlConfigurator(ConfigFile = @"log4net.config", Watch = true)]
\ No newline at end of file
